Skip Navigation
Lemmy, what are some of your "oh shit" work stories?
  • in hindsight I should have just changed into the directory directly first then used chmod without needing the full path. Or run the flag that asks you to confirm each transaction or dry run. I'm a much smarter idiot nowadays.

  • Lemmy, what are some of your "oh shit" work stories?
  • This is actually my own Oh Shit story.

    Early days of being a sysadmin and making changes on a major Linux server that we have in production. Running routine commands and changing permissions on a few directories and I make a typo. "sudo chmod 777 /etc/" instead of typing the rest of the directory tree I accidentally hit return.

    It only ran for a fraction of a second before I hit CTRL + C to stop it but by then the damage had been done. I spent hours mirroring and fixing permissions by hand using a duplicate physical server. As a precaution we moved all production services off this machine and it was a good thing too as when we rebooted the server a few weeks later, it never booted again.

    For those that don't know, chmod is used to set access permissions on files and folders, the 777 stands for "Read + Write + Execute" for the owner, group, and everyone else. The /etc directory contains many of the basic system configuration files for the entire operating system and many things have very strict permissions for security reasons. Without certain permissions in place those systems will refuse to load files or boot if not properly set.

  • Why should I use rust (as a Go enthusiast)?
  • Every language is just a tool for the job. From what I understand Go is great for multithreaded web or backend applications. Now if you were a game developer you would most likely not be using Go as it is not industry standard and the support just isn’t there. Rust also intrigued me but as my current job is windows only I mostly write code in C# or Powershell.

    What I do like about Rust are things like exhaustive matching and memory safety. I dislike cargo for the same reason I don’t like other languages with package management, supply chain security risks.

    Pick the best tool for the job and use whatever language you enjoy the most.

  • JSAUX Backplate PC0106B Thermals
  • Good luck, take your time and don’t use a metal spudger if it’s your first time doing it.

    I had to replace mine while doing the atomic purple shell swap due to damage and impatience.

  • Things you wished you knew before setting up your Deck?
  • If you want a fancy replacement shell you have to de-laminate the LCD screen from the old shell first. Depending on the kit you buy DON'T use a metal spudger for removing the LCD and take your time, or you will have a bad time.

    Side note, Ifixit sells direct replacement LCD panels and the kit for doing a better job removing the LCD if you don't already have them.

  • executive dysfunction vs depression
  • Same except I am in a decent amount of debt due to ADHD impulse purchasing. I was diagnosed as a teenager but only in the last year have I started taking meds to help control ADHD as my symptoms and issues have gotten worse in the last 2 years to the point of having a full on breakdown.

    I finally created an account just to post this because OPs and other's accounts resonate with what I am also experiencing.

  • 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/)BE
    beardedmoose @lemmy.world
    Posts 0
    Comments 7