RustyNova

joined 1 year ago
[–] RustyNova@lemmy.world 1 points 2 days ago (2 children)

Maybe there's some kind of automated health tracker that ping Wikipedia to figure out if it's connected to the internet

[–] RustyNova@lemmy.world 2 points 2 days ago

In general, apps/bins should strive for the latest msrv and lastest dependencies

Libraries should do the reverse and try for the lowest msrv and dependencies version (That actually work! Don't put version = "1" when you need 1.4.2!)

[–] RustyNova@lemmy.world 3 points 2 days ago (2 children)

Be careful to not upgrade Libraries, as it implicitly bump the msrv ;)

[–] RustyNova@lemmy.world 5 points 1 week ago

Not horror, but great writing prompt

[–] RustyNova@lemmy.world 21 points 1 week ago

I believe science. But that doesn't stop me from not listening to it

[–] RustyNova@lemmy.world 51 points 1 week ago (14 children)

Oh really?

Then let's accelerate climate change. I won't let those green fuckers win

[–] RustyNova@lemmy.world 13 points 2 weeks ago

Don't worry. People actually throwing things in the trash instead of anywhere else is uncommon

[–] RustyNova@lemmy.world 1 points 2 weeks ago

Oh no. I thought it was going to be pain tech 2.0

[–] RustyNova@lemmy.world 11 points 2 weeks ago (1 children)

I love that ending

[–] RustyNova@lemmy.world 6 points 2 weeks ago

"We didn't start the fire"? Well then why are you spreading it?

[–] RustyNova@lemmy.world 1 points 3 weeks ago (1 children)

Good and bad use-cases for floats

Floats can be used everywhere where it doesn’t matter that you can’t store a 100% accurate base ten representations. For example positions and speeds in 3D games and animations, “analog” values like temperatures, speed of a vehicle, geo positions with longitude and latitude, a persons weight or heart pressure. In fact if you develop games there is no way around 32 bit floats because GPUs are f32 number crunching beasts. Modern 3D games wouldn’t be possible without all those fast f32 calculations.

You shouldn’t use binary floats if you need or expect accurate base ten calculations (addition, subtraction, multiplication, - note that divisions also introduce errors quickly in decimal types) and for dimensions that have a smallest unit that can’t be broken down, for example like money. If you need to handle money just store the amount of cents as integers and only divide by 100 in your display function.

This is exactly my point. Don't use floats when you need to get accurate stuff, but use it when you need a "feel" for it

[–] RustyNova@lemmy.world 47 points 3 weeks ago (11 children)
 

Don't get me wrong, it's totally my fault I messed with the rotation, but still was not expected at all

 

Is there any way to speed up the task switcher pop in animation? I find it way too slow. Ideally I'd like it to be as fast as the one on cinnamon as I switched for it to KDE

 

I got an home server that is running docker for all my self hosted apps. But sometimes I accidentally trigger Earlyoom by remotely starting expensive docker builds, which kill docker.

I don't have access to my server outside of my home network, so I can't manually restart docker in those situations.

What would be the best way to restart it automatically? I don't mind doing a full system restart if needed

 

Is there an extension that allows for automatic stashing on branch switch like GitHub desktop does?

There was an a proposal about it, but it got declined: https://github.com/microsoft/vscode/issues/86668

 

I am looking for an alternative to Easy Effects for windows. It works really well on my Linux machine, but I want something for my work machine that runs windows.

Any suggestions? I don't need all the filters, but at least something to correct the awful bass

 

I got a Zephyrus Duo laptop with Windows 10 and Linux mint dual booted. I've recently heard about Nobara, and I'd want to distro hop to it as it has all my daily apps, more recent drivers, and good Nvidia support. It would replace my linux mint partition.

Thing is, my laptop came in with windows bitlocker, and secure boot. The former isn't really an issue as both OS would be on different drives. But the latter prevents me to boot Nobara as it's a unsigned distro.

I'm wondering about whether I should sacrifice secure boot for Nobara, and if I should, how to deal with windows being bitlocked.

I don't really use windows anymore but I do still need it, so no, I won't uninstall it.

Any help and tips ?

view more: next ›