Sunrosa

joined 2 years ago
[–] Sunrosa@lemmy.world 1 points 1 week ago (1 children)

"fn" was just one example. There's also other abbreviations like "pub", "impl", "extern", "mut", "ref", "bool", "u64" And it's true that some of these keywords are only relevant in Rust, however other langues have their own specific keywords, and they tend to be longer. In languages like Java (which is the worst example I can think of), you see things like "private static boolean" as function definition. In c++, you have to type "unsigned long" or even "unsigned long long" to represent "u64" (depending on data model).

[–] Sunrosa@lemmy.world 0 points 1 week ago (2 children)

Keywords aren't variables

[–] Sunrosa@lemmy.world 9 points 1 week ago (10 children)

One of the reasons i find it so hard to use non-Rust languages is how ugly they typically are by comparison. "fn" instead of "function" is such a great example of saving key presses where they're most needed. And you get very used to seeing compact abbreviations. Idk if that's what you're talking about though.

[–] Sunrosa@lemmy.world 2 points 4 weeks ago* (last edited 4 weeks ago)

In my personal tests of jxl, it manages filesizes 1/9th that of png while remaining visually identical (unless looking VERY closely). It's a massive improvement over jpeg and honestly a replacement for png in most cases.

Like I'm saying 8MB for a 8000x6000 file at max quality (estimating from memory)

[–] Sunrosa@lemmy.world 1 points 1 month ago

This video is so fucking funny lol. I can't tell whether it's ironic or not

[–] Sunrosa@lemmy.world 9 points 2 months ago (1 children)

Yay for quaternions and beyond

[–] Sunrosa@lemmy.world 5 points 2 months ago

I am forced to look through the links in the AI answer now for basically all mildly specific queries ever because the main links are so random and nonspecific

[–] Sunrosa@lemmy.world 1 points 3 months ago

Good thing there's half of a catch point there to save them

[–] Sunrosa@lemmy.world 3 points 3 months ago* (last edited 3 months ago) (1 children)

I recommend sendme. It's a p2p file transfer system run on top of the hole-punching iroh. No port forwarding required from either side. And iroh is e2e encrypted.

[–] Sunrosa@lemmy.world 4 points 4 months ago

The same exact compounds found in food and other products can either originate from an animal or a non-animal source. Veganism is about avoiding the animal sources. The compound itself is mostly irrelevant.

[–] Sunrosa@lemmy.world 3 points 5 months ago* (last edited 5 months ago) (1 children)

Gnome largely refers to the software suite. gtk is included in the set of libraries anyone can use to make any software. So yes, anyone can use full screens when making software with gtk, but the pre-existing gnome software doesn't.

[–] Sunrosa@lemmy.world 1 points 5 months ago (1 children)

Why not nitrogen suffocation in a large enough bag to hold the co2?

view more: next ›