Lucky

joined 1 year ago
[–] Lucky 9 points 1 year ago

Specifically on Twitter and Reddit, this has led to a massive jump in federated social media. That seems like an advancement to me.

[–] Lucky 10 points 1 year ago (4 children)

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

[–] Lucky 11 points 1 year ago

They didn't say anything about "forced simplicity". Not everything is a slippery slope

[–] Lucky 2 points 1 year ago (1 children)

In my opinion, pre-designing your code is generally a good thing. Hours of planning saves weeks of coding

[–] Lucky 12 points 1 year ago

Try deleting all obj and bin folders in the repo and restart VS. Sometimes it gets stuck on an old project reference and can't clear out the cached files

[–] Lucky 3 points 1 year ago (3 children)

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

[–] Lucky 13 points 1 year ago

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

[–] Lucky 1 points 1 year ago (2 children)

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

[–] Lucky 7 points 1 year ago

Why does the way you present the data change how the memory is managed? I think you are mixing data storage with display logic.

[–] Lucky 5 points 1 year ago

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

[–] Lucky 3 points 1 year ago* (last edited 1 year ago)

Windows credential manager is also an option baked into the OS, though I don't have experience working with it to say how good or bad it is

view more: ‹ prev next ›