With that name, I hope the guy is also a fan of Minetest: https://wiki.minetest.net/Mese_Block
🙃
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.
Fading out? With my wind band, we’ve never done it.
You can have everyone play pianissimo and also reduce how many players play each voice, but unlike a digital fade, this does change the way it sounds.
It’s also difficult to stay in tune when playing at a low volume with a wind instrument, so it starts to sound horrible before it becomes inaudible.
@Kairos@lemmy.today mentioned mic+soundboard, but for a windband, the band itself would need to be out of earshot, which is rarely possible.
So, yeah, if we ever need/want to cut a song short, we make use of a marching band signal.
Basically, the person on bass drum does two double-hits, which are out of rhythm so you can hear them, and then another hit on the first beat of the next measure, which is when everyone stops playing.
That does not always sound great either, but better than nosediving the whole orchestra. 🙃
Excuse me, Windows is the cheap copy of KDE.
I always hated that. It always felt like they just admitted defeat. They could have made an excellent song, but settled for disappointment.
Now I’m doing music myself, and goddamn, I get it. You can have a cool song going, and then you try to end it and it just sounds like disappointment every time.
“I had the best environmental numbers ever. My top environmental people gave me that statistic just before I walked on the stage actually.” (It’s unclear what Trump meant here
Yep, ‘here’. As we all know, Trump is well-known for constructing comprehensible sentences. The best comprehensible sentences.
Interesting strategy after they already advertised their most recent game, Assassin’s Creed Mirage, as going back to the roots…
In Southern Germany, we have a food roughly like a baguette, called a “Seele”, which also happens to be the German word for “soul”.
So, in my headcanon, the guy ate a baguette and they split his stomach in half. 🙃
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.
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…
Hmm, you must have misread something. It translates to “mouth bags” or more specifically “mouth-of-an-animal bags”.
What the others wrote is already pretty good. An interesting observation I made in this regard: If you take a white noise sample and cut it really short, it sounds quite a bit like a snare drum.
That’s kind of the level of randomness you can expect from various unpitched percussion instruments. They don’t just have one tone, or the tone from multiple octaves layered on top of each other, like pitched instruments typically have.
Rather they’re all over the place, with many tones layered on top of each other, and those tones change rapidly, too. So, it kind of has many pitches and therefore not really any particular one either.
The dish in question: https://en.wikipedia.org/wiki/Maultasche
But that is what I mean with it needing an extension of the language.
So, I’m not saying you could just build a library that calls existing PHP functions to make it all work. Rather I’m saying there’s certain machine code instructions, which just cannot be expressed in PHP. And we need those machine code instructions for actually managing memory. So, I am talking about reading/writing to memory not being possible, unless we resort to horrible hacks.
Since we are building our own compiler anyways, we could add our own function-stubs and tell our compiler to translate them to those missing machine code instructions. But then that is a superset of PHP. It wouldn’t be possible in PHP itself.
Again, I’m not entirely sure about the above, but my web search skills couldn’t uncover any way to actually just read from a memory address in PHP.
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.