Skip to content
  • NuGet vs Write Your Own

    The Lounge visual-studio csharp wpf docker security
    28
    0 Votes
    28 Posts
    0 Views
    D
    A combination of both, including publishing my own libraries to nuget.org so I don't have to rewrite the same thing over and over, or, equally bad: copy-paste code between projects. The latter comes back to bite you when project diverge and you can't share fixes / enhancements any more (I've seen this on copy-pasted code at my work). My first nuget packages literally were so that I wouldn't have to write the same code twice - and that legacy continues. I don't think any of my packages have been used in only one place, and not having a central source of truth that can be fixed and easily propagated seems like a crazy idea to me. Libraries that I've made & found immensely useful across multiple apps include: - a duck-typer (duck-type objects or dictionaries to well-defined interfaces) - an ini file reader/writer - a management class for windows services (start/stop/restart/install/uninstall, etc) - container/manager for spinning up temporary databases for testing (mssql, mysql, sqlite, sqlce) & cleaning up once disposed - temporary http server, again for unit testing - spin up, add handlers, disposable pattern - an easy-to-use commandline arguments parser / mapper-to-an-object (because there was one that I liked, and the dev updated & broke things, and I thought "nuts, I can make that and have control over it" - miscellaneous utils like auto-deleting (via disposable pattern) temp files/folders, common reflection-based functionality, easy parallelisation, easy interaction with a sub-process (esp the I/O part), and some more For testing, I would imagine that you're either _not_ rolling your own unit test & assertion frameworks every time, or you're just not testing. I wanted smarter assertions that felt similar to JS-land ones, so I wrote NExpect. I'm happy to use nuget packages that are well-maintained & documented. I don't think anyone can do web work these days without nuget - I really don't think anyone is writing web servers from the ground up? Surely? ------------------------------------------------ If you say that getting the money is the most important thing You will spend your life completely wasting your time You will be doing things you don't like doing In order to go on living That is, to go on doing things you don't like doing Which is stupid. - Alan Watts https://www.youtube.com/watch?v=-gXTZM\_uPMY
  • 0 Votes
    3 Posts
    0 Views
    H
    I just look at templates as fancy text preprocessing with a bit of typing and deduction mixed in. Never really considered it to elevate the language to a high level language, but to each their own. To err is human. Fortune favors the monsters.
  • 0 Votes
    2 Posts
    0 Views
    R
    I wonder if anyone is using Windows Docker containers, I took a look at it but found it had too many constraints. That was a year ago, maybe things have improved by now? (deafening silence :-\ )
  • Stop with the auto-updating apps

    The Lounge design devops docker announcement
    11
    0 Votes
    11 Posts
    0 Views
    J
    Gary R. Wheeler wrote: The field service guy shows up at the appointed time, and the customer informs him that they'll be running production for the next three weeks, 24 hours/day, and can't possibly stop. That is where it helps to have a good contract in place... 'Ok but just noting that this is third time so the next service call will cost you $15,000 or you can wait til next year'
  • 0 Votes
    5 Posts
    0 Views
    L
    A round-about way of saying you need to "analyze; then design". He could have just as well said "model" instead of abstraction and more people would have understood what he was talking about. ERD diagrams, UML diagrams, etc. are all "models" / abstractions to help create the "final" abstraction (of some process) in code. "Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
  • 0 Votes
    3 Posts
    0 Views
    D
    Kent Sharkey wrote: In this case, the Docker Engine uses the same containerd container runtime as the rest of the Docker ecosystem, but instead of using runc to run the container processes, it uses the WasmEdge runtime. Oops Our Forgotten Astronomy | Object Oriented Programming with C++ | Wordle solver
  • Dodger game with eventListener

    JavaScript game-dev docker
    2
    0 Votes
    2 Posts
    3 Views
    J
    You don't have the game object being defined. You should have a const game = document.getElementById("game"); in there. There's also a syntax error of const const causing problems. Once you define game you should see it working as expected. Jeremy Falcon
  • Style question

    C / C++ / MFC question c++ docker tutorial
    10
    0 Votes
    10 Posts
    0 Views
    M
    No problem: the iterator is a pointer in a UTF-8 encoded string and the function (called next) has to advance to the next code point (1, 2, 3 or 4 char). If iterator is at end of string it doesn't advance. Although a very simple function, I had a number of design decisions to make: - How should I deal with improperly encoded UTF-8 strings? I decided to return false if the string is not properly encoded. - Should I just leave out the boundary check and just document it? I decided against as it would have been unsafe. And the last one I was asking about: For limit check, should I just pass the string or the end iterator. Mircea
  • The ever-widening world of Wasm

    The Insider News html com docker hardware
    3
    0 Votes
    3 Posts
    0 Views
    M
    Too bad he didn't get a royalty every time it was shown and if he didn't fall, absolutely NO ONE would know about him (aside from friends and family [for the pedantic]). I’ve given up trying to be calm. However, I am open to feeling slightly less agitated.
  • Why doesn't this script work as expected?

    JavaScript docker tools question lounge
    7
    0 Votes
    7 Posts
    8 Views
    C
    Script Errors are errors that the browser sends to the onerror callback when they originate from a third-party script. It usually happens when the third-party scripts are from a different origin(different domain, port, or protocol).
  • Profile image size issue

    Site Bugs / Suggestions com docker tools help tutorial
    2
    0 Votes
    2 Posts
    0 Views
    Greg UtasG
    There have been quite a few of these recently. Robust Services Core | Software Techniques for Lemmings | Articles The fox knows many things, but the hedgehog knows one big thing.
  • New Hom Page Layout card sizes

    Site Bugs / Suggestions docker
    17
    0 Votes
    17 Posts
    0 Views
    Graeme_GrantG
    I like the swapping and remembering the choice... Would it not be better to put it at the top? Maybe as well as the bottom... As for the image, maybe a faded version of the image that I suggested. Better than a blank area while you decide... Graeme "I fear not the man who has practiced ten thousand kicks one time, but I fear the man that has practiced one kick ten thousand times!" - Bruce Lee
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    1 Posts
    0 Views
    No one has replied
  • 0 Votes
    16 Posts
    0 Views
    L
    Calin Cali wrote: guess converting the object(pointer) back to it`s original form when time comes to use it somewhere works the same Yes it should do, but you need to run some tests to make sure.
  • 0 Votes
    12 Posts
    0 Views
    E
    I live in left pond, but I had plain macaroni with peanut sauce at a large company’s cafeteria in Groningen. It was similar to a cold noodle with peanut sauce that I have at a local Chinese restaurant. I did appreciate the licorice(drop?) selection in the vending machine. Most of the licorice I eat is imported from Australia because I have a choice of one brand only.😞
  • 0 Votes
    50 Posts
    4 Views
    C
    Rust might be best described as taking the traditional coding paradigm and turning it on its head. ... then chucking it into a blender and setting it on puree.
  • MS Azure Storage Explorer

    The Lounge cloud docker algorithms
    3
    0 Votes
    3 Posts
    0 Views
    Sander RosselS
    Yeah, working with blobs like that is a drag. I don't really work with blobs outside of my code anymore. I can delete all or a few manually, but for that kind of work I write a quick console application that does the work for me :~ Luckily I rarely do that kind of stuff, it's mostly a few :) Best, Sander Azure DevOps Succinctly (free eBook) Azure Serverless Succinctly (free eBook) Migrating Apps to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript
  • 0 Votes
    4 Posts
    0 Views
    N
    And here we go... getting energy from life forms... Where have I seen something like that? M.D.V. ;) If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you Rating helpful answers is nice, but saying thanks can be even nicer.
  • 0 Votes
    6 Posts
    0 Views
    J
    yeah if seen this, but forgot until you brought it up. Got kicked out of H.S. senior physics class for a day for saying "I feel good" instead of "here" at roll call. Got an A anyway. "A little time, a little trouble, your better day" Badfinger