this post was submitted on 18 Dec 2024
527 points (99.3% liked)

Programmer Humor

19804 readers
932 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 

Source

Transcript:

10 things that block your Happiness

  1. Self-hatred
  2. Not being able to let go of the past.
  3. Not being able to forgive yourself.
  4. Not being able to value who you are.
  5. Assuming RAID is backup.
  6. Not making backups.
  7. Not verifying backups and finding out restore time.
  8. Needing other people to validate you.
  9. Letting other people define who you are.
  10. Trying to be perfect and to please everyone.
top 32 comments
sorted by: hot top controversial new old
[–] ByteOnBikes@slrpnk.net 7 points 11 hours ago

IT team is in charge of backups. They swore up and down that everything was fine and backups are working correctly.

For my department because I believe in Happiness, asked them to send me a backup. It was garbage data.

Then I learned how they verified the backups were working if the file size was bigger than 0kb.

[–] hperrin@lemmy.ca 10 points 12 hours ago

RAID with parity is technically a backup, just a mostly ineffective one. It’s a backup that allows you to recover from exactly one scenario, single (or double) device hardware failure.

But I definitely understand the mantra “RAID is not a backup”. It’s not what most people think of when they say “backup”.

[–] MajorHavoc@programming.dev 10 points 13 hours ago* (last edited 10 hours ago) (2 children)

Pro tip: Copying a Postgres database while live transactions are interacting with it frequently results in a corrupt backup.

Thankfully I test my Luanti backups.

Edit: I should clarify - My dangerous backup method was a naive file copy. I'm sure there's a different correct way to do a live backup. I just haven't checked into it yet, since stopping my Luanti server for a backup is no big deal.

[–] Kojichan@lemmy.world 3 points 11 hours ago

Yikes! Thanks for the tip. I'm just starting to learn about Postgres. Think I'll stick with MySQL or SQLite for now... :o

[–] FrostyCaveman@lemm.ee 2 points 10 hours ago

Seriously? Dammit

[–] FrostyCaveman@lemm.ee 3 points 10 hours ago

If only my happiness supported non-blocking I/O

[–] HeyThisIsntTheYMCA@lemmy.world 6 points 12 hours ago

excuse me but my raid is going to be a backup just to comply with rule 10.

[–] SplashJackson@lemmy.ca 14 points 15 hours ago

Don't forget being forced into the office

[–] xmunk@sh.itjust.works 39 points 18 hours ago (4 children)

RAID 0 is the best way to ensure data redundancy. It's what we use at every Fortune500 company and there's not an issue.

[–] bitcrafter@programming.dev 9 points 12 hours ago (1 children)

I prefer RAID -1, which is like RAID 0 except that you routinely yank one of the drives so that only the fittest of the bits survive, greatly improving the quality of your data!

[–] xmunk@sh.itjust.works 4 points 11 hours ago

Evolution in practice!

[–] Jesus_666@lemmy.world 38 points 18 hours ago (3 children)

But it's still not a backup strategy. You should always have a second partition on the server that you sync your data over to. For performance reasons this partition should be on the same RAID 0 array.

[–] chellomere@lemmy.world 30 points 17 hours ago (1 children)

Backing up to a different partition on the same RAID array sounds like a good way to lose all your data.

The backup should be physically separate from the original.

[–] qaz@lemmy.world 12 points 16 hours ago (2 children)

Yes, and it should use another type of media, like tape, glass, stone tablets or optical media

[–] RandomLegend@lemmy.dbzer0.com 12 points 15 hours ago* (last edited 12 hours ago) (1 children)

We have a bard travel accross the lands and carry out our data by singing epics about it.

That's a valid backup because it's a different media, correct?

[–] NeatoBuilds@mander.xyz 5 points 13 hours ago

It shall live on through the generations

NEVER test your backups. It wears out the tapes faster.

[–] Pantsofmagic@lemmy.world 11 points 17 hours ago (1 children)
[–] Sparky@lemmy.blahaj.zone 8 points 17 hours ago (3 children)
[–] andioop@programming.dev 4 points 13 hours ago

RAID: Shadow Legends™ is an immersive online experience with everything you'd expect from a brand new RPG title. It's got an amazing storyline, awesome 3D graphics, giant boss fights, PVP battles, and hundreds of never before seen champions to collect and customize. I never expected to get this level of performance out of a mobile game. Look how crazy the level of detail is on these champions! RAID: Shadow Legends™ is getting big real fast, so you should definitely get in early. Starting now will give you a huge head start. There's also an upcoming Special Launch Tournament with crazy prizes! And not to mention, this game is absolutely free! So go ahead and check out the video description to find out more about RAID: Shadow Legends™. There, you will find a link to the store page and a special code to unlock all sorts of goodies. Using the special code, you can get 50,000 Silver immediately, and a FREE Epic Level Champion as part of the new players program, courtesy of course of the RAID: Shadow Legends™ devs.

[–] CrazyLikeGollum@lemmy.world 2 points 17 hours ago

Nah, WoW. Off the company RAID.

[–] Aurenkin@sh.itjust.works 6 points 16 hours ago (1 children)

Preferably something geographically separated from the server as well in case of some kind of physically destructive event like a fire.

[–] qaz@lemmy.world 8 points 16 hours ago (1 children)

Most people don't know this but RAID6 is also a fire deterrent

[–] xmunk@sh.itjust.works 6 points 13 hours ago

It also is excellent at keeping out ants.

You rarely see ants in datacenters and its because of all the RAID.

[–] pimeys@lemmy.nauk.io 14 points 17 hours ago (1 children)

I can validate this. I work as the IT ops guy for every Fortune 500 company and we only use RAID-0 for backups.

[–] NeatoBuilds@mander.xyz 4 points 13 hours ago

A singular raid0 for all of them to make sure it's safe

[–] whyNotSquirrel@sh.itjust.works 5 points 18 hours ago

what? 🤨

You made me doubt a second

[–] marcos@lemmy.world 11 points 14 hours ago

Validate your backups, do not let them validate you!

[–] tfw_no_toiletpaper@lemmy.world 7 points 14 hours ago

I have read these bullshit self-help self-affirmation and similar posts so often, my brain refuses to read anything related anymore. Had to do like 3 takes until I noticed.

[–] MonkderVierte@lemmy.ml 11 points 15 hours ago
  1. Social media

I recently changed my hosting provider and wanted to install the new server from the backups I've been creating daily for the last four years. Well, it turned out the backup process got stuck on a lock file in July, 2021. And the email process that should have notified me was broken too. I was so happy I didn't find this out in an emergency and spent more time testing the email notification this time.