Just a geek, finding my way in the fediverse.

  • 10 Posts
  • 343 Comments
Joined 3 years ago
cake
Cake day: June 11th, 2023

help-circle


  • I’m going to claim this one wasn’t entirely my fault and should have been coded better… But I ran it.

    I ran a script that expected to run from a bin directory, cd/chdir to a input file directory, then do a sed on every file to replace windows line endings to UNIX/Linux line endings. After that it would start loading and processing them.

    The problem was, if the directory it tried to change to didn’t exist, it silently continued and ran it on the current directory… You know, the bin directory… With all the compiled C binaries.

    So at about 16:30 on a Friday, 30 min before we started our huge weekend builds, I nuked about 70% of the binaries by randomly replacing all bytes that looked like crlf with lf. Turns out binaries didn’t like that.

    Good times.






  • I’m old but it entertains me to see people saying 7% is outrageous when I remember the rates in the early 1980s.

    Don’t get me wrong, it’s crazy, it’s just less than half of what rates were there for awhile. One of those “back in my day we walked to school in the snow, uphill both ways” type things.

    Blew my fucking mind when we got a 4% back around 2010 (year guesstimate, too lazy to look it up)









  • Time for me to add my tiny bit of semi related, but useless, knowledge : Galena can also form in cube shapes.

    The only reason I know this is because we were crawling around in some old mines in the Ozarks and back in a little offshoot I found a few small, dark cubes in the dirt so I asked some of the geologists with us. Turns out the small mines were there specifically to pull out galena.

    From wikipedia :

    Galena, also called lead glance, is the natural mineral form of lead(II) sulfide (PbS). It is the most important ore of lead and an important source of silver.

    Also, don’t go crawling around in mines from the 1800s, it’s likely a bad idea.





  • I still need to try this.

    I downloaded and started seeding it when there was a post about it a few weeks back but haven’t had time to try it.

    I assume the ISO live boots from a USB so I can poke around without installing? Surely.

    I’ve got an old laptop that I kept windows on for the once every few years I had to use windows but I don’t think it’s supported anymore and I’d actually use it occasionally if I put Linux on it ;)