Posts by m0xEE@nosh0b10.m0xee.net
 (DIR) Post #B4eQI8OEsFY1y8xq3E by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       This is example from The Rust Programming Language book demonstrating operator overloading.Okay, I get it they needed a simple structure with a couple of fields to demonstrate the… ehm, point. But operator overloading is what you do when you want to make something feel more natural and… what's the mathematical meaning of adding one point to another? AFAIR in geometry you don't do that — you can add two vectors starting in the point of origin and ending at specified coordinates, you can subtract pairs of coordinates and find the lenght of the resulting vector to learn the distance, but this makes no sense — you dont add points to each other per se!It would make more sense if it was Drink { rum: i32, cola: i32 } or Basket { mushrooms: i32, potatoes: i32 }. Of course one can figure out that Point is just a pair of coordinates here, then name it Coord or Displacement and leave x and y be — now that feels natural, adding points just feels weird 🥴
       
 (DIR) Post #B4eYdfVRk7qaOM7AZs by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @condret@fedi.absturztau.beYou're right, from the point of data they are just tuples. It's about the context: they are explaining operator overloading, plus in the example, so they should be using things adding which to one another would seem natural, mixing drinks having different ingredients would feel intuitive, but their example to me was like: adding… points, WTF? 🤔 Oh, I see…While typing my post I stumbled upon this: https://math.stackexchange.com/questions/645672/what-is-the-difference-between-a-point-and-a-vectorSome insist that in linear algebra, it would be okay to add points because they are the same from the point of data and then get into semantics.After reading that and realising that I'm not the first one to run into this, I even wanted to discard my post and then pressed submit by accident 😂But now that I think about it, even if some consider adding points okay, my point still stands: it's okay to say: "There is something behind that bush, probably a wolf",— if it turns out a dog, no one would be surprised. You can even say: "It's just a big dog",— explaining wolf to a child, but when you are using dog for wolf in a textbook explaining different concept, it still feels out of place — using broader term like "canine" would probably be better.
       
 (DIR) Post #B4ebD4lo0KEqn2mHgG by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       GCC 14.2 was released in August 2024, I'm not living in your fast lane guys!I'd expect something like this in Rust space, but Perl? Are you for real?!
       
 (DIR) Post #B4fvSAHhyZOcTi8GYa by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       What kind of twisted mind came up with the name "uring"? Am I the only one reading it every time as "urinating"? OMG, it's my twisted mind that is the problem here 😱But it was probably intentional, right? 😏
       
 (DIR) Post #B4g7NU3mDuODoQ9Nke by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       What kind of creature is this? 😹#cats #fediCats
       
 (DIR) Post #B4gAeatwLA3rodOqGW by m0xEE@nosh0b10.m0xee.net
       2 likes, 0 repeats
       
       😲 Woah, this 20 year old PowerPC MacMini is capable of hosting snac2 that federates with over a thousand instances, poor thing… 🥹…but also, impressive! 🤩
       
 (DIR) Post #B4gl4Ehz4WbCrgKktM by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       OMG, Librewolf now has JPEG XL support — complete with animation, transparency and colour management! 😲Most likely thanks to new Rust implementation in mainline Firefox 🤔Sadly, #IronFox is nothing like that and still doesn't have even the most basic support. Most likely, it's still a nightly feature.I think I have a build environment for IronFox somewhere, but I'm a lazy ass and I'm not sure I'm up to going through all that again.Can someone build an .apk with nightly switch removed?It's a very simple patch, a literal one-liner: https://codeberg.org/librewolf/source/src/branch/main/patches/JXL_enable_by_default.patch
       
 (DIR) Post #B4glsBWjAumJTbszom by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @icedquinn@blob.catCommand & Conquer 3 has Eradicator Hexapod.And it's my least favourite epic unit 😅
       
 (DIR) Post #B4hrGubLvysH9TcSzA by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @argv_minus_one@mastodon.sdf.orgOh! So this must be why I have that big box of Hello Kitty stickers 😅
       
 (DIR) Post #B4sq3mrdQZnIAtyL5c by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       Untaxed wealth hidden offshore by richest 0.1% surpasses entire wealth of the poorest half of humanity.Oxfam estimates that $3.55 trillion in untaxed wealth was stashed offshore in tax havens and unreported accounts in 2024. This sum exceeds the GDP of France and is more than twice the combined GDP of the world’s 44 least developed countries: https://www.oxfam.org/en/press-releases/untaxed-wealth-hidden-offshore-richest-01-surpasses-entire-wealth-poorest-half
       
 (DIR) Post #B5MMCZ7oi4euHtbo0G by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       Decades-old Linux UI bug fixed by dev younger than the window manager:https://www.theregister.com/2026/04/15/enlightenment_e16_bug_patched/"We keep shipping instability we don't need to ship," Szewczyk opined. For users or administrators caught chasing every new thing that ships, she says stop it — just stay on a recent or extended support release, especially of software that tends to ship with a lot of bugs, like web browsers.Surprisingly, even folk much younger than me sees what a quicksand modern software is 😌
       
 (DIR) Post #B5WChc64ecxeWMYiQq by m0xEE@nosh0b10.m0xee.net
       1 likes, 0 repeats
       
       @benlockwood@ecoevo.socialHm-m, I don't think I get this joke 😏
       
 (DIR) Post #B5xIH383t3zJX97hOC by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @mirabilos@toot.mirbsd.org @KmacNessa@mastodon.socialBurgess' A Clockwork Orange had a drink named Moloko Plus that the protagonist often indulged himself in with his friends. The drink was basically milk spiked with stimulant drugs. I believe it inspired many real world drinks and cocktails not containing illicit substances.And the name "moloko" is transliteration of молоко — milk in Russian (and maybe other Slavic languages), A Clockwork Orange's NADSAT slang almost entirely consists of transliterated Russian words, even the word NADSAT itself means "teen" in Russian 😆
       
 (DIR) Post #B6es8pvr1KCMR04bA0 by m0xEE@nosh0b10.m0xee.net
       1 likes, 0 repeats
       
       Woah, I had no idea that some parts of Newsboat the RSS reader are implemented in Rust 😲Now it makes sense that it's not available for i386 in OpenBSD.
       
 (DIR) Post #B6etoDOvFNTOPbiNHs by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @icedquinn@blob.catYeah, and it seemed to me it could be some recent development — I checked, earliest commit to Cargo.toml is from 2018! So it was happening gradually.
       
 (DIR) Post #B6exLIer1Rzw8QdOPg by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @phnt@fluffytail.org @icedquinn@blob.catThanks, looks interesting! Sections instead of tags look less versatile, but it might have its merits.I wonder if it supports having a feed in several sections at the same time, or binding a key to update all feeds belonging to a section. I'll give it a try!
       
 (DIR) Post #B7MhSREHXGUwexd5ay by m0xEE@nosh0b10.m0xee.net
       0 likes, 1 repeats
       
       Firefox 152 Now Available With JPEG-XL Support Built By Default, Modernized Settings UI: https://www.phoronix.com/news/Firefox-152-DownloadSo it seems, JPEG XL support is coming to IronFox too at long last!They seem to have also recently fixed the long-lasting and very annoying DoH bug when it was ignoring the list of exempt domains on each launch until you modify the list of exceptions.I might even consider putting my custom Mull build to rest. I wish IronFox had support for Android's "long screenshots" though, and of course the option to disable WebPee support 🤔
       
 (DIR) Post #B84bJiYliZsDklPcyu by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @prahou@merveilles.town @pita@bsd.cafeOkay, sent to my Epson LQ-100!Sorry everyone, I know it 1AM, but I just can't go against recommendations 😈
       
 (DIR) Post #B85bhNGsiKYfpuHnUW by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @evgandr@bsd.cafe @nytpu@tilde.zoneDeep black is somehow a power-saving feature in case with OLED displays, in other cases it makes little sense. Even in the pitch-dark room scenario you usually want not only darker background, but lower-contrast. Clear white background is bad in every sense though, imagine sitting in a dark room and taking a few minutes off keyboard to think of something, then pressing a key or moving a mouse and it comes back on — now it's just blinding and you can't read a thing.Proper solution would be turning on at least some light for ambience, but yeah… 😏I usually start with darker gray, like #222 or #333 as background and something like #ccc for "white" text — then people can nudge it further in the direction they like with add-ons like Dark Reader, it's not hard these days — even on mobile.
       
 (DIR) Post #B8AE8AlDuTV5kDWVe4 by m0xEE@nosh0b10.m0xee.net
       0 likes, 0 repeats
       
       @toychicken@mastodon.social @selzero@syzito.xyzNarnia isn't what it used to be 🤪