Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)RU
Posts
3
Comments
389
Joined
2 yr. ago

  • It also happens on fedora but to a lesser extent (somehow). It's all hidden under the Wayland session process

    It's always when I'm using my dedicated GPU, so I guess it's the driver being fucky.

    I have an oddball graphic card so might happen only on it

  • Linux is super reliable, and unless you use cutting edge distro, it's pretty rare than anything breaks. Even Fedora is pretty stable from experience

    The only true problems I ever had (and still has), were with Nvidia. And switching distros ain't saving you. Linux mint? Breaks on suspend. Nobara? Memory leak. Trying newer versions to see if it fixes it? Where's my bootloader...

    I do understand that laptop RTX 3070 are not common, but still. I just want it to work, and have cuda on it. Is that too much to ask?

  • 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!)

  • 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