A few more exotic uses for older hardware
- 4 minutes read - 743 wordsThere are tons of posts on the internet about what to do with older computers. In general, they say some of the same things: Linux/Firewall, Media Server, and ‘BitTorrent Box’. (Incidentally, the lattermost somewhat confuses me. I guess people want to download files on a separate machine in case it has viruses or whatever… but if you’re using bit torrent so much that it’s worth having a separate box for, you’re probably still gonna be upset if a virus takes it out. Or you could just use antivirus or an alternative OS. But I digress.) Anyways, for the uses I’ll outline here I’m going to assume that you (at least roughly) fit into the prototype of ‘I have a pretty decent computer sitting around that never really gets used.’ In my case, I tend to upgrade and want to keep the old one around because it’s still a pretty decent computer, but want to use the newer one for bigger and better things. Like reading xkcd and refreshing google news over and over again. Heh.
One thing you might want to look into is SAGE. It’s a fascinating compilation of software in the spirit of Maple/Mathematica/MATLAB/Magma, but with a Python twist and a snazzy cross platform web interface. There is definitely a time for using as many of the fastest computers you can… but honestly in most computational mathematics stuff, you’re going to get 1000-1000000 speedups by using the correct algorithms, and maybe a 2x speedup by using a faster computer. So use a good algorithm on your older computer, and implement RSA. Or experiment with 4th order accurate Runge Kutta. Or whatever. Plus it’s a totally good excuse to play with Cython, which I’ve been wanting to do for about six months now. Anyways, it’s a handy play to keep all your Project Euler solutions.
Another idea is backups. While most people say something to the effect of ‘run samba or DAV’, I’m gonna step it up a notch and say, ‘Use git or rsnapshot’ The version control system Git is Linus Torvald’s latest project, meant to replace BitKeeper by being a super-cool distributed way to keep track of your source code. It’s got a lot of people talking, and there’s a lot of discussion of it’s relative merits against Mercurial, bazaar, let alone against more conventional things like the Concurrent Version System and Subversion. While a big part of the draw of distributed VCS’s are their non-reliance on a central place to store it all, it’s nice to have a copy of it somewhere you can get at it, for the time when you need to pull down a copy of your last draft from a library computer or whatever.
To grab some bonus points here, someone wrote a quick Makefile to take ReStructuredText files to nice-looking HTML, which they added to to their git post-commit scripts to push into their webroot. Cool. Here’s their page and how they pulled it off.
Rsnapshot is another really sweet idea. They basically wrote an open-source, fast, easy-to-access Time Machine. At it’s core, this project just rsyncs stuff from your home directory/root filesystem/SMB share/whatever to some backup directory on a regular time interval, giving you some number of daily/hourly/weekly/monthly backups of your files. The key improvement here is that they use symlinks instead of full copies, so you actually only have one copy of each version of the file, which drastically reduces the space requirement while still giving you the ability to go back in time. But because it’s just filesystem data and symlinks, it’s really easy to get around in it without special software.
Incidently, if you’re running a ‘server’ for any of this stuff, you might as well deck it out with firewalling, squid caching, and media serving. I usually stick to the basics with firewalls, but you can go about as complicated as you’d like. It’s been a while since I’ve run Jinzora, but it was pretty sweet years ago when it was NetJuke, and since then too–even if they are offering support in a Second Life location. Weird. If you set up squid caching and have a wireless segment, make sure to turn stranger’s images upside down. And upon some further research, some people are doing cool stuff with headless Ubuntu BitTorrent boxes
And now I think it’s time for me to go home and see if I can’t get one or more of these actually running. Wish me luck!