Ephera

@Ephera@lemmy.ml
4 Post – 651 Comments
Joined 4 years ago

As a German, well, I don't understand enough about the US side of things to answer to this, but I do always get spooked when I see nations pulling shit like that.

And, by the way, I do hope the USA finally get 9/11 under wraps this year: https://www.whitehouse.gov/briefing-room/presidential-actions/2023/09/07/notice-on-the-continuation-of-the-national-emergency-with-respect-to-certain-terrorist-attacks-3/

3 more...

Yeah, it's federated, meaning you can subscribe to each of them and post to whichever one you fancy. If you want to post to multiple, it's a good idea to use the cross-post feature.

Having only one singular official community would be rather bad, as then the respective server owners and moderators would have central control like on Reddit.

4 more...

I mean, these communities do get created when someone feels like there's a reason to. There's just no council or whatever regulating when and where a community gets to be created, so any user on any instance can decide to open up and promote their community.

And frankly, I have no idea what the precise effects are. When you subscribe to all of these, it won't really be much different from just one big community in that sense. It may mean, though, that someone new accidentally joining only one of the communities will not be presented all the content they want, yeah.

On the flip side, having it split is kind of cool, because you can decide to only subscribe to 2 out of 4 communities, if you only want half as much of this content in your feed. Or you can decide to subscribe to all of these, but not to the one on angry-instance.net, because you don't like the tone of the discussions in that one.

Hmm, yeah, it is a bit surprising to me, too, especially for an audio issue, but it's always possible that you had some weird configuration values in about:config for historic reasons and now some new code, that came in with a Firefox update, isn't working with that configuration.

Either way, it happens often enough that Mozilla has a troubleshooting routine for it, too, namely refreshing your profile.

If I remember correctly, it places your old profile data into a folder in your Desktop folder. But you can also separately backup your profile by closing Firefox and then copying ~/.mozilla/firefox/ onto an external hard drive or such.

Completely unrelated story: I bought a red cabbage last week and was so glad to have found a relatively small one in the shop.

...I have been eating red cabbage for the past three days and still have enough left for another two days. Just why is it so damn compressed? I can cut off the tiniest slice from that cabbage and it still fills a whole plate.

2 more...

Does it also still happen in fresh profile? It will be like a factory-reset Firefox (except that you can go back to your current profile), so then it definitely wouldn't have anything to do with your Firefox configuration.

1 more...

Huh, so Tony Hoare invented null and then Graydon Hoare invented Rust, immediately terminating the existence of null which does not have a traditional null value.

Does the problem still happen in Troubleshoot Mode?

4 more...

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.

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.

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.

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.

1 more...

With that name, I hope the guy is also a fan of Minetest: https://wiki.minetest.net/Mese_Block

🙃

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.

2 more...

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.

6 more...

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...

Excuse me, Windows is the cheap copy of KDE.

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. 🙃

Good thing that this isn't actually possible...

16 more...

What is this article talking about? That's a UX change. It has nothing to do with privacy or Mozilla's commitment to privacy.

1 more...

I still haven't released anything which is not under the AGPLv3 license, which is even more aggressive than the GPL, primarily because I know that it's prohibited to use AGPL-licensed software/libraries at Google.

I'm also hoping that because my stuff is on Codeberg, not GitHub, that its license hasn't been laundered yet by some criminal AI company, but I don't actually believe so. Certainly makes me more reluctant to publish my code.

How? You'd need to compile it down to machine code somehow, for the processor to have any clue how to run it. And you'd need some custom library with custom compile instructions, to be able to control memory allocations, memory addresses etc..

I did a quick search and found two operating systems written in JS, both of which cop out when it comes to the kernel. Did you maybe mix it up with those?

1 more...

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.

1 more...
4 more...

Google isn't exactly excited about the concept of local files. They would prefer you to keep everything in their online services.

If you need support for these, then installing a separate file manager app is your best bet.
I'm using this one: https://f-droid.org/packages/me.zhanghai.android.files/
(No idea, though, if it supports unpacking RAR archives.)

I mean, presumably there's a microcontroller in this radio. For programming that, your only real mainstream choices are C, C++ and Rust, since you can't have a language runtime without a filesystem.

But yeah, it's neither the case that Rust is overwhelmingly popular for that (C/C++ do stick around still), nor is it the only discipline where Rust shines.

Hmm, you must have misread something. It translates to "mouth bags" or more specifically "mouth-of-an-animal bags".

Can't wait for three days from now, when they roll that back in a panic.

8 more...

Pretty bad is also that it intersects with another problem: Bus factor.

Having just one person as maintainer of a library is pretty bad. All it takes is one accident and no one knows how to maintain it.
So, you're encouraged to add more maintainers to your project.

But yeah, who do you add, if it's a security-critical project? Unless you happen to have a friend that wants to get in on it, you're basically always picking a stranger.

14 more...

Nevermind simply having an OS-level clipboard manager...

22 more...

iAI

(...will always love you 🎵)

Hmm, do you mean in the web console?

I know Firefox has a bit of a reputation for being rather precise in how it handles web standards compliance. So, it'll show comparatively many warnings and errors, if you don't keep to the web standards.

This is actually quite useful for web devs, because it means, if Firefox is happy with your implementation, then it's relatively likely to run correctly on all browsers.

The GDPR enforces that data breaches are made public, so you may have seen a rise in publicly known breaches, starting in 2018.

2 more...

Nevermind using such frivolous things as a file system.

11 more...

This question actually came from another dude, but similar energy: I have a deep voice, so they asked, if it's relaxing to feel those bass vibrations in my body whenever I talk.

11 more...

Twitter dies as Musk wins war against own service

Have they considered submerging the spacecraft, to see where the bubbles come out? 🙃

3 more...

Screenshot of Firefox Nightly, from when Mozilla photoshopped the Firefox logo to have a Doge head.

Generally more than half of the rock is underground, so while it might be only one rock, you see many distinct sides of it...