[-] YaBoyMax@programming.dev 8 points 11 months ago

AFAIK none of those formats include any mechanism for error correction. You'd likely need to use a separate program like zfec to generate the extra parity data. Bzip2 and Zstandard are somewhat resistant to errors since they encode in blocks, but in the event of bit rot the entire affected block may still be unrecoverable.

Alternatively, if you're especially concerned with robustness then it may be more advisable to simply maintain multiple copies across different drives or even to create an off-site backup. Parity bits are helpful but they won't do you much good if your hard drive crashes or your house catches fire.

[-] YaBoyMax@programming.dev 9 points 2 years ago* (last edited 2 years ago)

If that was how it worked then we would have all suffocated long ago under all the argon that sank to the bottom of the troposphere. The atmosphere is turbulent and extremely good at mixing gases of varying densities, and CFCs last decades before being decomposed or removed from the air.

[-] YaBoyMax@programming.dev 9 points 2 years ago

That's a pretty confusing changelog item considering async reproduction has been straight-up broken since SteamVR 2.0. That being said, I'm thrilled that Valve seems to finally be fixing some of the long-standing issues on Linux. They also recently fixed an annoying issue with the right eye mask being uninitialized, and 2.5 along with seemingly this release has fixed issues with SteamVR Home.

[-] YaBoyMax@programming.dev 8 points 2 years ago

Was that the infamous Toy Story 2 incident?

[-] YaBoyMax@programming.dev 11 points 2 years ago

I don't know about you, but my work laptop is most definitely not participating in the Steam hardware survey and I'd probably be in trouble if it did.

[-] YaBoyMax@programming.dev 10 points 2 years ago

Overall a solid game, although as other users have mentioned it's entirely linear and more of an interactive story. I personally found the story to be a bit contrived, but I still really enjoyed my playthrough.

[-] YaBoyMax@programming.dev 9 points 2 years ago

Somewhat ironically, this article reads a lot like it was written by a generative AI.

[-] YaBoyMax@programming.dev 10 points 2 years ago

What the hell is your problem?

[-] YaBoyMax@programming.dev 10 points 3 years ago

Can I parse [X]HTML with regex?

[-] YaBoyMax@programming.dev 11 points 3 years ago

The PE format used by Windows stores icons in the binary itself, so modifying them is extremely nontrivial. Compare that to Linux environments, where the icon is typically specified within a .desktop file which is literally just a text file and points to an executable and a separate image file somewhere else on the disk.

As the other commmenter mentioned though, you can do something similar to this on Windows by just adding a shortcut as a level of indirection to the actual program in much the same way as a .desktop file.

[-] YaBoyMax@programming.dev 8 points 3 years ago

It's essentially the commercial version of Wine (although I'm definitely oversimplifying). It's developed by the same company, CodeWeavers.

[-] YaBoyMax@programming.dev 10 points 3 years ago* (last edited 3 years ago)

Yes, enhanced security is pretty much the entire pitch of Rust. There wouldn't be any reason for it to result in performance enhancements, though.

view more: ‹ prev next ›

YaBoyMax

0 post score
0 comment score
joined 3 years ago