back

by brandonb·12y ago·view on hn ↗
It's kind of like eating your vegetables and exercising. You know you ought to. But most people don't.

You'll never lose money betting on aggregate laziness and lack of foresight.

2 comments
Just put all your project files in Dropbox!

Seriously, it's so easy. Every time you hit save, you'd have to try to lose the file. Pair this with git going to github or bitbucket and it would take several well placed nuclear explosions to destroy your work.

If my laptop instantaneously combusted at any point in time I would, at maximum, lose approximately 6 seconds of work (or the last time I hit "save"), and could set up a new laptop and be productive on it in about an hour (to install Dropbox and give it time to sync, Sublime, iTerm, Chrome, and custom keyboard hacks). Pet peeves, man.

I used to do this, but then when compiling the project the Dropbox client would shoot to over 70% CPU usage and the fan on my laptop would go into overdrive.

Switch to GitHub/BitBucket

This is due to churn on the compiled files right? The fix would be to compile these files someplace outside of dropbox. (Because the important artifact you want to back up is source code, not binaries). Depends on your language / build tool for how complicated this would be...
CMake encourages out of tree builds. I find them superior to in tree builds in most cases. But if it is just a random utility that I'm compiling from the Internet and do not intend to dev on, in tree works fine for me.
A suggestion off the top of my head would be writing a script that pauses Dropbox syncing before running a compiler. (From a quick Google search, there seem to be a couple of scripts already written that do this.)
Dropbox has been a life saver for me. The ability to restore previous files in particular has helped me in many situations.
Well-designed backup systems (say, Dropbox) don't actually require any overcoming of laziness.
You'd need to install Dropbox and then also save your project in your Dropbox folder.

Dropbox isn't a backup solution, and you're doing two steps when you could just do one - install backup software.