I'm experiencing first hand the beauty of, ahem, "legacy" code in prod. Four code blocks in a row that insert a break statement... After a return one; up to 13 levels of nested if- else if blocks (something so common my colleagues call that figure the "Doritos"); one class with a couple of thousands lines which has class declarations in the middle of pure spaghetti functions; TODO comments from a decade ago; functions with 3 (!) different declarations to perform the same exact logic... 1/2
@array I need some of that positivity cake. I'm also on a code base with nested everything , copies of variables of variables somewhere and global variables are tha bomb. :) I just can't stand it.
Wrote a little app launcher for all of my manually installed applications using Tauri in about 2 hours and with less than 100 lines of code. The .deb package it generated is just 2.8 MB in size. I added this to my startup applications using Gnome Tweak Tool.
P.S. One hour was spent fighting the borrow checker. AppImage is 164 MB.
4 TiB microSD card weighs 0.25g ⚖️. This means 16 TiB/gram. 400+ TiB of images/videos in Wikimedia Commons would weigh 25g. 217 PiB of complete archive.org is about 14 kg in microSD cards
Commuting to $newJob will be complicated. The place is close to the beach, so the public buses, at least in the hot season (so half of the year or so, and counting), will be full of tourists to the point that I'll likely miss more than one because full capacity overflow.
Every time there's a CVE affecting some fundamental part of modern computing that Rust provides a dot-release for, it seems multiple publications find out first from the Rust blog and publish titles implying that Rust is the only affected thing. It's not only mildly annoying hearing the echos of "har, har, I thought it was 'safe'", it does a complete disservice to anyone that doesn't use Rust because they won't find out they have to update or mitigate the issue too!
@ekuber True, pushing back is a good thing, not for those spreading this, but for other readers. I couldn't handle it in general (other subjects) due to it being mentally exhausting and choose to just do my thing.
AI is promising, but it should be constrained by rules that protect people, and authors specifically.
And in case anyone is still in doubt: avoid using anything made by Google, Meta and Microsoft. These companies are not in the business of helping you, but of using and abusing you. Laws and rules get in their way, which is why we should support efforts to hold them accountable.
@janbeta Thanks a lot! I do have a strap, but always attached it to the ground plane of a board (not powered) which I thought was not the way to go. :)
Well, just went through my list of people I follow and about half haven't been active for a year or more. Anyone else seeing this? I guess people value a lot of followers over content perhaps? :) #Mastodon
Do you even need threaded inserts? Let’s test CNC Kitchen's threaded inserts against no-name alternatives, or even no inserts at all! https://www.youtube.com/watch?v=eNMAFTeowFs
@layers Nice! Just had them in for the first time for a project, very nice indeed! I just bought them from CNC kitchen as it is a nice way to support a creator + I know it's likely not Chinesium soft metal. :)
So basically the 8-Bit Guy is worried about being able to live an "upper middle class" life, opening an arcade with around 90 cabinets he bought, putting his name on a new retro style system that was mostly community driven in the end, releasing his own games to a massively broad audience unheard of elsewhere in the retro community and sometimes only getting 200000 views on a YouTube video in the first couple of days. I’m usually not the person to rant about things like that but: Sorry, LOL. 💸
@janbeta Agreed there. Ofcourse it's all about context as well, his standard of living is likely higher and if you have a lot of expenses as well, it might not be enough. But that's where he needs a reality check indeed. :) I appreciate him, but don't watch him a lot anymore due to other channels (like yours) just being better imho.
@janbeta Yes it's odd, but to have a complete picture I would really need all of his financial info I guess. But again, not interested anymore. Which reminds me to become a Patreon of yours. ;)
@AmiW This reminded me of a view I had from a hotel room. Stuck with me ever since as it also made me feel like my own problems were somewhat insignificant.
I love clever uses of incentives and tech: Cities are using traffic lights near schools that start red and turn green if an approaching car isn't speeding.
If you're good, you get to keep driving. If you're bad, you have to stop and wait for the light to turn green.
The average speed on the road almost immediately dropped to the speed limit as people learned the rules.
Instead of punishing people with tickets after the fact, it creates the behavior the city wants.
@SecurityWriter@flargh@grammargirl I think that in the case of the traffic lights, we also have that system where I live, it immediately comes with a benefit for all and those speeding are immediately seen as super annoying. Plus if those that speed do run the red lights they get punished. Works a treat. I guess a nudge has to include all of this, which I don't think really happens in IT.