[-] traches@sh.itjust.works 44 points 1 day ago

Agreed. OP was doing well until they replaced the if statements with ‚function call || throw error’. That’s still an if statement, but obfuscated.

[-] traches@sh.itjust.works 115 points 1 week ago

Raised conservative christian, took a disgustingly long time to lose some of my shittier takes

[-] traches@sh.itjust.works 172 points 2 months ago

They didn’t even clean up the rubble

46

I have a load-bearing raspberry pi on my network - it runs a DNS server, zigbee2mqtt, unifi controller, and a restic rest server. This raspberry pi, as is tradition, boots from a microSD card. As we all know, microSD cards suck a little bit and die pretty often; I've personally had this happen not all that long ago.

I'd like to keep a reasonably up-to-date hot spare ready, so when it does give up the ghost I can just swap them out and move on with my life. I can think of a few ways to accomplish this, but I'm not really sure what's the best:

  • The simplest is probably cron + dd, but I'm worried about filesystem corruption from imaging a running system and could this also wear out the spare card?
  • recreate partition structure, create an fstab with new UUIDs, rsync everything else. Backups are incremental and we won't get filesystem corruption, but we still aren't taking a point-in-time backup which means data files could be inconsistent with each other. (honestly unlikely with the services I'm running.)
  • Migrate to BTRFS or ZFS, send/receive snapshots. This would be annoying to set up because I'd need to switch the rpi's filesystem, but once done I think this might be the best option? We get incremental updates, point-in-time backups, and even rollback on the original card if I want it.

I'm thinking out loud a little bit here, but do y'all have any thoughts? I think I'm leaning towards ZFS or BTRFS.

[-] traches@sh.itjust.works 79 points 3 months ago

Yes, “It’s us or the porn”, yes this will certainly go well for the republicans, no notes

[-] traches@sh.itjust.works 117 points 3 months ago

Honestly at this point I want to live somewhere that’s actively hostile to cars

[-] traches@sh.itjust.works 54 points 5 months ago

This meme is bullshit, they aren’t just eyeballing it. They analyze bones for muscle attachments and do modeling and shit

[-] traches@sh.itjust.works 68 points 5 months ago

Open source software maintainers, thanklessly (and often without pay) maintaining infrastructure without which the global economy would collapse immediately

[-] traches@sh.itjust.works 130 points 6 months ago

guys guys GUYS this song has lyrics in it that aren’t literally true omg

[-] traches@sh.itjust.works 54 points 10 months ago

Title text: If that doesn't fix it, git.txt contains the phone number of a friend of mine who understands git. Just wait through a few minutes of 'It's really pretty simple, just think of branches as...' and eventually you'll learn the commands that will fix everything.

14

Not sure about the artist, sorry

39
[-] traches@sh.itjust.works 56 points 1 year ago

Because @ljdawson is working on it full time and dude's gotta eat

[-] traches@sh.itjust.works 54 points 1 year ago

I post my terrible code to github so I can sabotage copilot

[-] traches@sh.itjust.works 91 points 1 year ago

PooShooter: Toilet Invaders

Oh good, I was waiting for that one

view more: next ›

traches

joined 1 year ago