Huh, so Tony Hoare invented null
and then Graydon Hoare invented Rust, immediately terminating the existence of which does not have a traditional null
null
value.
Huh, so Tony Hoare invented null
and then Graydon Hoare invented Rust, immediately terminating the existence of which does not have a traditional null
null
value.
I’m using Simon Tatham’s Puzzles for nonograms.
It’s basically this webpage in app form: https://www.chiark.greenend.org.uk/~sgtatham/puzzles/js/pattern.html
It doesn’t result in a pixel art picture when you solve it, if you care for that, but the solutions do have contiguous regions.
LTT is Linus Tech Tips. It’s more of an entertainment channel with technology flavor. They’re pretty terrible when it comes to actual technological understanding.
Yeah, that is my understanding, too. Otherwise you’d only want to generate them on the database host, as even with NTP there will be small differences. This would kind of defeat the purpose of UUIDs.
If you’re saying that even without NTP, just by manually setting the time, things will be fine. I mean, maybe. But I’ve seen it far too many times already that some host shows up with 1970-01-01…
For others wondering what’s wrong with UUIDv4:
UUID versions that are not time ordered, such as UUIDv4, have poor database-index locality. This means that new values created in succession are not close to each other in the index; thus, they require inserts to be performed at random locations. The resulting negative performance effects on the common structures used for this (B-tree and its variants) can be dramatic.
I guess, this means with these new UUIDs, ideally you only create UUIDs on systems that are hooked up to NTP, though I guess, it won’t really be worse than UUIDv4 either way.
It’s certainly simpler than Forza et al, but there’s an open-source racing simulator, called Speed Dreams: https://www.speed-dreams.net/
If you watch the “Latest Release” video, there’s some engine sounds in that.
They seem to have a bunch of samples for how different car models’ engines sound: https://sourceforge.net/p/speed-dreams/code/HEAD/tree/tags/2.3.0/data/data/sound/
And then they modulate that in code, based on the car’s speed, gear, turbo etc.:
https://sourceforge.net/p/speed-dreams/code/HEAD/tree/tags/2.3.0/src/modules/sound/snddefault/CarSoundData.cpp#l171
They also do that for gear changes, tyre sounds, collisions and backfires.
From what I know about audio, I would expect AAA games to still use the same approach of recordings+modulations.
While it is possible to fully synthesize an engine sound, it doesn’t help you much with making it sound right in all different situations.
With that name, I hope the guy is also a fan of Minetest: https://wiki.minetest.net/Mese_Block
🙃
We’ve been using Leptos at work, which is a similar framework (and probably shares half the stack with Dioxus).
And yeah, it’s really good. My favorite thing about using Rust for the UI is algebraic data types.
So, in Rust when you call a function which can fail, there isn’t an exception being thrown, but rather you get a Result
-type as return value.
This Result
can either contain an Ok
with the actual return value inside. Or it can contain an Err
with an error message inside.
So, in your UI code, you just hand this Result
all the way to your display code and there you either display the value or you display the error.
No more uninitialized variables, no more separate booleans to indicate that the variable is uninitialized, no more unreadable multi-line ternaries.
It just becomes so much simpler to load something from the backend and display it, which is kind of important in frontend code.
It’s not a dual-language platform, though. You write the backend and the frontend in Rust. The frontend code is compiled to WASM to serve it to the browser.
Making the API version a feature flag is a very interesting idea.
Excuse me, Windows is the cheap copy of KDE.
Various ant species do a similar thing where their soldiers have really big, flat heads and when their nest gets attacked, the soldiers stick their head into the entrance way, so the attackers can’t come inside.
Apparently, this kind of behaviour is referred to as phragmosis.
I actually even made my own bullshit-Spotify. As in, I’ve got a server running on a single-board computer which reads my music folder and serves a small music player as a webpage.
I didn’t want to install a music player client on my work laptop, but still wanted to listen to my own songs there.
This looks like one of the color blindness filters got activated. Here on Plasma 6, it’s a Desktop Effect in the System Settings. Not quite sure, if that was also already the case in Plasma 5, but if you just type “blind” into the search bar of the System Settings, then it should show up and you can disable it.
I mean, I doubt the Windows support is particularly solid here either. Using shell commands to formulate tasks will never be great for Windows, because the shell ecosystem is simply Linux.
Your comment is perhaps a bit confusing without a link: https://just.systems/man/en/
There’s not exactly a dichotomy there…
Well, if you’re self-hosting GitLab, there might not be much of a difference. Codeberg is hosted by a non-profit organization, so you don’t have to self-host it.
The open-source software that it uses, Forgejo, is also more so developed by the community, rather than just one corporation, who could change the license for future updates at any point.