Skip Navigation
Linux and Winforms
  • Dotnet core (now just dotnet) was a full rebuild of the framework specifically for cross platform support so they could get more enterprise cloud hosting on azure, running everything on Linux

    Modern C# is built for first class Linux support for everything except UI

  • When you look at some random project's source code for the first time how do you assess time, quality, and complexity at first glance?
  • Even if you don't have a special setup, having a section telling you that is still a helpful thing to quickly assess a new project.

    I appreciate knowing that a project should Just Work with minimal setup so I don't have to guess or make assumptions

  • What keyboard you recommend for coding?
  • There are far more factors determining wrist position than the size of the keyboard

    Ergonomic keyboards are not a result of "the size of the keyboard", but the shape. The size could be identical, it is the shape that matters.

    Without any real studies on it mentioned so far you're relying on gut feeling and logic here. Well, you mention sitting with proper posture actually helps, which is putting your body into proper alignment. That makes sense, if your neck is arched and your back is crunched all day it will eventually cause damage to your discs and cause nerve pain.

    Why doesn't the same apply to your wrists? It seems logical that keeping your wrists cockeyed all day would put strain on them, and that keeping them in alignment would reduce strain.

    At the very least it seems easy to see why some people would genuinely prefer keyboards like that just for comfort. I find it hard to label as "snake oil"

  • What′s new in C# 12: overview
  • This is for custom collections, right? And you don't even have to use it, you can keep using existing ctors for your custom collections

    Worse case scenario you keep doing what we've always had to do. But for the 99% of use cases we get a much more streamlined initializer, with extensions to use our own.

    I don't see how that's a bad thing

  • Deleted
    *Permanently Deleted*
  • Vscode is beginning it's enshittification cycle. They got everyone using it, now they start locking it down. Much of the fear is what Microsoft could do, not so much what they have done so far

    The C# extension going proprietary is the smoke to the coming fire though, and highlights what could happen to other languages. The new extension cannot be installed on open source redistributions like vscodium. What happens now if the typescript extension gets a similar update? Or Python? Etc.

    They've made it so technically anyone can spin off their own extensions marketplace, and attempt to make their own C#/typescript/Python extensions, but can they truly compete with Microsoft? That is the fracture the author is talking about. They've effectively made a walled garden out of an open source platform, they've just been playing nice to hook devs and companies in before the slow enshittification

  • Fossil: Fossil Versus Git
  • They provide a link to the section where they elaborate on "commit first vs test first", here is the relevant text

    Instead of jumping straight to the commit step, Fossil applies the proposed merge to the local working directory only, requiring a separate check-in step before the change is committed to the repository. This gives you a chance to test the change first, either manually or by running your software's automatic tests. (Ideally, both!) Thus, Fossil doesn't need rebase, squashing, reset --hard, or other Git commit mutating mechanisms

  • Tabs are objectively better than spaces - gomakethings.com
  • The argument for having tabs adjust depending on your ide sounds better than it is in practice. Someone formatting code to look nice with width 4 will look horrendous for someone who uses width 8.

    Spaces makes it uniform and captures the exact style the original dev intended

  • thrown into a backend project as a backend dev with a language I don't know, how fucked am I?
  • To clarify for OP, the only time you need this at all is when the object has a reference to something that the garbage collector won't dispose of naturally. Things like an open file stream, db connection, etc.

    You won't need to dispose of an object you created if it just has properties and methods

  • What is going on with serde?
  • The second comment explains a lot. There is a build script that generated the binary, which they are using to reduce the overall build time. They mention this resulting from a limitation on cargo and this being a workaround

    It seems like you could build it all from scratch if needed with a bit of effort

  • Why is programming.dev federated with exploding heads?
  • How would a formal licensing system work for software engineering? How would they keep up with the rapid evolution in this industry?

    I believe in better education in this field, but the standard "engineer" programs from other fields don't translate to software. Having the government codify today's standards would stunt the industry as a whole and kill innovation. Imagine if they had done that in the 90s and said all programming must be waterfall, monolithic, relational dbs, and using c/Fortran/Cobol.

    Maybe I just don't understand how other countries handle it though. I know my country would absolutely screw it up

  • What's stopping WebAssembly from effectively replacing JavaScript?
  • I'd imagine one of those killer features is using a language with a solid standard library. Npm dependencies are notoriously complex because js as a language is missing basic functionality that is standard in other languages. Just a few years ago the Internet broke because "pad left" was pulled by it's maintainer, that simply doesn't happen in other languages

    From a maintenance perspective npm is a nightmare. From a security perspective it is worse. Being able to build your entire website using a language that eliminates most dependencies, and the ones you take on don't pull in a zillion dependencies either, is absolutely a killer feature

    Of course that isn't the full story and using js still has it's advantages as people have already pointed out. If wasm closes the gap in those areas then it would absolutely be worth the switch

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)LU
    Lucky @programming.dev
    Posts 0
    Comments 20