• 4 Posts
  • 37 Comments
Joined 9 months ago
cake
Cake day: March 28th, 2025

help-circle

  • SinTan1729@programming.devtoTechnology@lemmy.worldCloudfare outage post mortem
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    26 days ago

    I hope you’re joking. If anything, Rust makes error handling easier by returning them as values using the Result monad. As someone else pointed out, they literally used unwrap in their code, which basically means “panic if this ever returns error”. You don’t do this unless it’s impossible to handle the error inside the program, or if panicking is the behavior you want due to e.g. security reasons.

    Even as an absolute amateur, whenever I post any Rust to the public, the first thing I do is get rid of unwrap as much as possible, unless I intentionally want the application to crash. Even then, I use expect instead of unwrap to have some logging. This is definitely the work of some underpaid intern.

    Also, Python is sloooowwww.











  • I had a very similar setup at one point, and what I did was just install Linux on the SSD. I’d recommend against mounting the HDD as /home as it’ll make your file manager feel sluggish, and would be an overall bad experience.

    I used to just symlink directories from the HDD as ~/Pictures, ~/Music etc. and most software would just be able to work with those. You don’t really need to move software to your HDD since they rarely take much space, and moving to HDD will make them very slow.

    For games, Steam and Lutris will let you select the installation directory on a per-item basis so you should be just fine.

    That said, maybe you could use this opportunity to get a new larger SSD and then you won’t have to worry about this anymore. Also, you’ll be able to keep your important data on both drives, so you’ll have sort of a backup when something fails. (A more robust backup solution will be better, but hey it’s a start.)