wkk

joined 2 years ago
[–] wkk@lemmy.world 8 points 2 months ago* (last edited 2 months ago)

I saw the following meme the other day on that topic which I found amazing:

shrimps have more cones because they're dumb

On the other hand I hope my point was clear about pink being perceived as a color when it doesn't exist as a singular wavelength on the electromagnetic spectrum: something the person I was responding to was seemingly arguing that it then invalidates what we might call a "color". By his logic "pink" shouldn't be considered a color, which I disagree with!

[–] wkk@lemmy.world 4 points 2 months ago (5 children)

Did you know we only experience pink as our red and blue cell receptors being stimulated at the same time? There is no pink wavelength.

[–] wkk@lemmy.world 4 points 2 months ago

https://open-vsx.org/extension/llvm-vs-code-extensions/vscode-clangd

Maybe not as feature complete but should be a good alternative

[–] wkk@lemmy.world 13 points 8 months ago (5 children)

Python with PyPI, C# with Nuget, Docker with Dockerhub, Java with Maven Central, hell even just regular Linux packages from dodgy repositories...

Supply chain attacks concern almost everything everyone everywhere.

[–] wkk@lemmy.world 3 points 9 months ago (1 children)

Because believe it or not Twitter is still popular despite everything

[–] wkk@lemmy.world 4 points 9 months ago

You say that as if machines don't get dirty and still require a good amount of hygiene/cleaning to keep up

Don't get me wrong though because I am also in favor of automation only because I believe it will make some parts of work more bearable, minus the job displacement problem caused by our current economic model...

[–] wkk@lemmy.world 21 points 10 months ago

Just fork it 🤓

It definitely feels like a knee jerk reaction, but there would be some merit to it: The Rust language feels apt to implement a kernel with. If I remember correctly that's what Redox is trying to accomplish? https://redox-os.org/

[–] wkk@lemmy.world 4 points 1 year ago (1 children)

Some places are like that

[–] wkk@lemmy.world 3 points 1 year ago

Antagonizing the borrow checker is wrong. If it screams it does so to prevent you from writing a mistake. Eventually once you have enough experience you should write code in such a way that doesn't trip the borrow checker because you know how to properly handle your references.

Is it difficult to learn at first? Yes, but the benefits of learning this outweighs the downsides such as writing code that may use references when it shouldn't.

I'm not a Rust aficionado, but the few Rust I've written opened my eyes on issues that I have been dealing with in other languages but for which I was blind.

Lastly I tried following a Godot project tutorial that was using GDScript except I challenged myself to follow it but rewrite the examples given using Rust's bindings for Godot. It was definitely more cumbersome to work with, but I might also have been doing something wrong (such as blindly transcribing GDscript instead of writing more idiomatic Rust).

All of that to say 1) borrow checker is your friend and 2) scripting languages will always be more convenient at the cost of being way more dirty (way less safeties)

In the end you need to pick the right tool for the job. Multiple tools may be used within the same project.

[–] wkk@lemmy.world 2 points 1 year ago

If you can avoid running batch files altogether then great, amazing. But there are projects out there using Rust that still depend on running those and that's the focus of the issue... But yeah I cannot wait until the day I won't hear about cmd.exe again.

view more: next ›