There is a special hell just for programmers

in #life8 years ago

I know what the hell looks like, because I visited it today.

I have an e-commerce site due to be demo-ed to the client tomorrow. He is then going to do a presentation to a national sales conference on Friday.


image credit

I was beavering away this morning, getting stuff done. I had one bit left to do – rebuild the search results so it looks a bit better on a desktop or tablet.

Ok, so deep breath, ready to code…

Suddenly the hard drive with the site on it disappeared. No warning, no nothing. It was just no longer there. I have backups of course, but they are a couple of days old. I don’t have a couple of days to repeat the work I’ve already done.

Problem solving 101 – reboot the machine and see if the drive comes back. No worries.

The machine reboots and then hangs on the startup screen. WTF!!

By now my heart rate was in the good cardio range. That’s my new 3 terrabyte drive dead, and now my machine won’t even boot. Time to rip open the case and get in it up to my elbows, and cause some carnage.

I removed the drive and tried rebooting the machine. This time it started up. Oh the relief! When it was finished booting up, I jumped on Skype and told the boss what was up. He was very cool about it and told everyone else I was in programmer hell, so they wouldn’t bother me for a bit.

I tried putting the drive back in and rebooting. Still stuck on the startup screen, but at least I knew that if I took the drive back out, I could get back up and running. But that didn’t solve the issue of all my work being blown away. Not to mention all the photos I took over the weekend at my godson’s birthday party, or the photos and video I took of the search dogs in action last night.

I figured the hard drive was dead. It was still under warranty as I only put it in a month or so ago. So I decided to take it into the shop and see if they could recover any data from it.

Before doing that I needed a shave, as I looked like crap (and felt like it too). So I did that, and I allowed me a few moments to gather my thoughts a bit.

I had tried swapping one of the cables on the drive to see if that fixed it, but I hadn’t swapped the other cable. That was pretty much all the options I had left. So I swapped the data cable and hit the button to turn the infernal machine on.

And bugger me – it booted right up! I had my data back!

I quickly backed it all up to a removable drive, and then stopped for a cup of tea while my heart rate moved out of the fat burning zone, and down to a level that is less likely to give me a heart attack.

This whole visit to hell cost me about two hours of work time. So it was head down and fingers on the keyboard, trying to catch up and get things finished on time.

I finally got it done. It was a bit later than I had hoped, but at least we can go to the client tomorrow with a product.

So if you see a wee man, with a fed face and veins popping out, wild eyed and cursing softly over and over, you’ll know where he’s been. Be nice to him. Make him a soothing cup of tea, and don’t mind his gibberish. He’ll soon be fine. Either he’ll have a heart attack and die, or some miracle will happen to get him out of hell, singed but alive.

Sort:  

This post has been linked to from another place on Steem.

Learn more about and upvote to support linkback bot v0.5. Flag this comment if you don't want the bot to continue posting linkbacks for your posts.

Built by @ontofractal

Thanks for this story! I´m not a coder yet I still can relate very well to these ´moments of hell´ one has to go through when data seems to be lost.

Thanks for that :-)

I am a WordPress developer and trust me I can relate very well and appreciate your story, Many times I will re-write php and update only to have a dropped connection, in turn causing WP to bug out and the cache to drop all the re-written code when I refresh. Gives me the shits hahaha!

Thanks for sharing much appreciated

This is also a WordPress site. But thankfully the code was just on my dev box, not the live server.

Hello @trevor.george,

It gives us pleasure to inform you that this post have been upvoted by Project Better.

The Mission of Project Better is to reward posts have many votes from Minnows but earn pennies.
Your payout is $0.017 before we vote on your post.

Learn more about the Project Better here! ,
Want to donate your voting power to support Project Better and earn curation rewards? Click Here!

We hope to see you continuing to post some great stuff on Steemit!

Good luck!

~BETTER~

Yikes. Blood pressure down again?
Been there, done that, got the t-shirt, considering selling t-shirts. This is why I keep my code on my own server, that does a daily automatic back-up of everything and an automatic back-up of the code directory every 15 minutes. It makes me sleep better.

He @ocrdu, thanks for that. Blood pressure has normalised again. ;-)
I do my dev work in a virtual machine on my own pc. It makes backing up the entire environment super easy. I just have to copy a couple of files to my backup drive.
I should probably back up more often than I do. Lesson learned. :-)

LOL! Have you heard of source code repository with frequent check-ins. Been there, done that on more than one occasion.

I've tried using them, but they seem to cause more issues than they solve for me.
This was especially weird in that I've just rebuilt my pc with new hard drives. So you really would't expect it to fail so soon.

As I said in a previous comment, I do my dev work in Virtual Machines. I have one VM for each site I work on. That lets me set up specific environments, setting, FTP connections etc for each site and then forget about it.

So the process of changing hard disk is really no drama for my dev work. I just copy the machine image to the new disk and I can start from exactly where I left off.

It's a system that works really well for me. This was just really bad timing and a little odd that the data cable seems to be failing.

If you do TDD you might find yourself checking in more frequently into code repository. Write test-Red. Write code - Green. Check-In.

Have you tried using Azure or AWS (side question)? What languages do you use?

Hello @gutzofer I mainly work in PHP, HTML, CSS and Javascript.
I've been moving more and more into the front end over the years, using web services to pull in content.

I've tried using all sorts of code management systems in various places I've worked. They are a good idea for big teams that are distributed. But I'm now a contractor working with a small team that works really well together, and we all have our own bits we work on.

So the whole code checkin / checkout stuff is more overhead than we need.
for the most part the way I have things set up works really well for me, day to day.
I just need to remember to do daily backups. :-)

Practical low friction trumps all. Perfect is the enemy of the good. Happy coding.

Thanks ;-)
Good luck with your Steemit experience. I'll be keepiong an eye on how it progresses. ;-)

Love the title! It made me laugh. I guess we can all relate to this hell in some way or another.

If you are bad at makeing manual backups yourself. I recommended you invest and automate it.

I. Can. Relate.

What a story!

Been there, done that... Unfortunately, without the luck you had! :(
Glad it worked out for you! I love happy endings! ;)

Oh no!
I hope your data loss wasn't too bad.
I had a big bad one a few years ago. I lost all my photos and 10 years worth of writing :-(

One of the sad things is not really knowing the extent of what I lost! :(
A strong incentive to "back up, back up, BACK UP!" ;)

Coin Marketplace

STEEM 0.20
TRX 0.13
JST 0.030
BTC 64768.36
ETH 3436.88
USDT 1.00
SBD 2.51