Posts Tagged ‘software’

How not to write software

Edit: I got everything worked out. The people over at Jungle Disk helped me out.

I lost my laptop a few weeks ago. Okay, I actually left it on a train on accident. I had hope because it was the JFK AirTrain and the people on the AirTrain generally seem more trustworthy than those on the subway in NYC*.

I also wasn’t too worried because I’m a nerd. My hard drive was completely encrypted with an insane password. There was no way anyone would ever get anything off of it.

Lost data wasn’t a worry, either, as I’ve been backing up my hard drive for years. I used to backup manually on an external hard drive and then I installed Jungle Disk which lets you store files on Amazon’s S3 service. Infinity storage! You only pay for what you use, and it’s cheap! I configured Jungle Disk to automatically backup all the stuff I cared about.

So with an encrypted hard drive and backups on the intertubes, I wasn’t too worried. All it really was was a big inconvenience. I’d eventually get a new computer and get my stuff back.

Well today my new computer arrived: a brand new 24″ iMac. I’ve been a Windows user forever and people usually assume–because I’ve argued against Apple fanboys and defended Windows–that I am anti-mac. I’m not. I just preferred Windows. I still do, actually. But I figured on a Mac I can run Windows in a VM. Now I have access to both operating systems and can do what I please on either.

Anyway, so I was all excited to get my stuff back today! I installed Jungle Disk and was very happy! I knew my stuff was safe! But! I was a bit stupid. I should have immediately initiated a manual restore of all my data. Instead, I kept installing software I needed so I could get back to work (since it is the middle of a work day).

Do you see where this is going? I should have. I noticed that Jungle Disk was doing some sort of “archive clean up”, but I couldn’t tell what that meant. I let myself get distracted away, probably installing some software or something. 30 minutes later I look again and notice IT’S DELETING STUFF. I immediately cancel it, but it’s too late. The “archive cleanup” meant “all your backups were old and so we deleted them.”

Yeah. All my stuff. Gone.

The default Jungle Disk settings were to “Remove previous versions [of files] after 30 days” and “Keep at most 10 previous versions of each file”. Actually, I’m not sure if those were default settings or just my settings. I don’t know if Jungle Disk syncs settings with its servers. Either way, I don’t see why it would have deleted my stuff. My backups were NOT 30 days old. But it did delete stuff. Almost all of it (it would have had I not stopped it, but everything I wanted is gone). All my photos. Journal entries. Everything that actually mattered. Gone.

How not to write software: don’t delete my freaking stuff.

* I was wrong. Or it’s just that the people at the AirTrain lost and found are useless. I know a ton of stuff gets lost, but all I ever got on the phone was incredibly rude people who told me entertaining things like this: “we, like everyone else, use technology. call back and leave a message.”

Leave a comment ...

Share:
  • Facebook
  • Twitter
  • StumbleUpon
  • del.icio.us
  • Digg
  • Reddit

World’s Simplest Alarm Application

Several years ago (3? 4?) I wrote a tiny little Windows application that plays an MP3 file at a specified time of day. That’s all it does. Nothing fancy. You have to select an MP3 file, type the time of day precisely (eg. “6:00 AM”), and check a little checkbox. I’ve opened up to 50 instances of the little app at a time and set them all manually to play some MP3 file at different times to ensure I’ll wake up. It works.

Very Simple Alarm

There are many applications out there that do alarms much better than this little thing, but I recently got an email requesting it so I thought I’d share. Heck, notwithstanding all the fancy alarm apps out there I still use this excruciatingly simple thing. The simplest solution isn’t always the best solution, but is often the most used.

Download the self-extracting exe file – 288 KB

Leave a comment ...

Share:
  • Facebook
  • Twitter
  • StumbleUpon
  • del.icio.us
  • Digg
  • Reddit

My Anti-Anti-Microsoft Rant

Lest the visitors from my sister’s site really believe I’m in love with Microsoft

It’s really more of a dislike for Mac OS than a liking of Windows. I think Mac OS is ugly. I don’t find Windows particularly fun to look at either, but it does have the benefit of not making me want to puke.

I know it’s all just a matter of personal taste, so all of you Apple fanboys and fangirls can just let me have my personal taste, ok? Thank you. You’re so nice.

So why not Linux? Linux is cool. I’ve used Ubuntu, but as you can see in the right column of this page, I write software for Windows. Well, I should say I used to write software for Windows. I haven’t updated any of that software in a long time. I can’t bring myself to completely abandon the idea of writing more software for Windows though.

The main reason I stick with Windows is because I’m so used to it. I’m not a big fan of getting a system up and running the way I like it, especially when it’s a system I’m not already familiar with such as Linux or Mac OS. As proof, I probably need to reinstall Windows to get rid of junk*, but I don’t because it means I’d have to re-do everything. Yes, I have backups and all that, but if I were to re-do everything I’d want to do some things differently and I just don’t have the time for that.

* The speed of the machine is fine. Really. I don’t know what people do to their Windows machines that makes them run slower over time. People have to re-install Windows every 6 months?! I find that extremely hard to believe and I work my computer as hard as anyone I know. I’ve been running this installation of Windows for over 2 years now and the only time it slows down is when I’ve got gazillions of things open at once. Oh, and as new software comes out that’s been written for newer systems my computer will obviously be slower, but that’s not Windows related.

Leave a comment ...

Share:
  • Facebook
  • Twitter
  • StumbleUpon
  • del.icio.us
  • Digg
  • Reddit
More pictures