Archive for November, 2008

DropBox is the new FolderShare

I used to really love FolderShare as a way to keep a directory of files synchronized between a number of computers. It worked on Mac and on Windows. It was great for keep the “Documents” directory on macs synced with “My Documents” on PCs. At the time I used OpenOffice mostly, so it worked great.

FolderShare was bought by Microsoft at some point, and development completely stopped. Years went by, and the Mac version was never updated. It still worked, but was never enhanced or improved.

As I got more dependent on FolderShare, I had more and more files in it, and I would run into the file limit of the free version. I would have been happy to pay money to use a “pro” version, but there was no such thing.

Probably about a year ago, FolderShare started to get flaky on me. Maybe it was the newer versions of OS X not working well with the old, old client. Maybe there were changes on the service side that were happening. I don’t know. It’s hard to bitch about something that’s free. One day, my entire foldershare directory was erased, boom. I’m not sure what happened, but I didn’t trust it any more, and it seemed clear to me that a free file sync service for Mac/Windows users wasn’t a huge priority for Microsoft.

So I started using the iDisk in mac.com/MobileMe. I’ve had a mac.com for years, but I only used it to keep my address book synchronized. iDisk has a sync feature, where there is a disk on all your Macs that is kept in sync over the network with your MobileMe storage. It’s similar to FolderShare, except that there actually is a server storage component; FolderShare was just a reflector, and all storage was on your client computers. Unfortunately, iDisk syncing doesn’t actually work. Most of the time, it says “the last sync failed” with no reason for it. Other times, it just won’t sync at all. Occasionally, it will actually upload stuff, but you have to poke at it so much, you might as well manually maintain a disk on a server yourself.

I ended up turning off iDisk sync, and just using iDisk as a remote drive available only when I’m online. That kinda blows for obvious reasons. But at least it works, and stuff that I know I will need at home later, I can just drop onto my iDisk and get it. iDisk also only works on Mac, which is annoying.

But now I’m using DropBox. It’s like FolderShare in that you can just create a folder on your computers. But it has a server component like iDisk. It keeps some level of version history of files you upload or delete. It also supports Windows, Mac and Linux. The client is really slick and unobtrusive; and the web UI is much easier to understand than FolderShare’s was. And if you like it, you can actually buy 50GB of storage for $99/year, which is not a terrible price.

I hope they can operate profitably and stick around.

How to upgrade firmware on a Blu-Ray player.

Download the firmware image from a the manugacturer. In the case of Sony, the download is an ISO image wrapped up in a self-extracting .exe file. Why is it a .exe file? It’s not like it’s a program that has to do some proprietary shit to talk to the BD player over USB. It’s just an archive. Why not have the ISO image just plain on the site? Or in a ZIP? Guess what, geniuses: Mac has only 10% market share, but I bet if you eliminated corporate sales, it’s more like 20%. And I’ll bet if you surveyed people who have BD players, it’s even higher.

Anyway, run Windows in your VM to extract the ISO from the .EXE. Then burn a DVD from the ISO and put it in the BD player.

Now wait while the LED display of the BD player spews out incomprehensible messages for a while. Don’t bother turning on the TV, nothing will be there to indicate what the heck is going on.

After a while, the BD player will spit out the disk with another inscrutable message. Upgrade complete.

My checklist for Linux setup

Every few years or so I need to migrate this site (and others) to a new hosted server. Here is my checklist for what packages to install, and other stuff to do. At the moment, I’m using CentOS 5. So far, I haven’t decided to go the virtualization route; even though virtual hosted servers are cheaper, they don’t have the horsepower to run some of the bigger sites I host. (hint: not this blog.)

Packages (via yum):

emacs
postfix
mysql-devel
freetype-devel (for RRDtool)
libpng-devel
libart_lgpl-devel

Directories to tar/rsync over:

web document roots
/home dirs
/usr/local

Critical configs:


/etc/httpd/conf and conf.d
/etc/sysconfig/iptables
/etc/passwd
/etc/shadow
/etc/group
/etc/sudoers
/etc/ssh/sshd_config

Misc tasks:

  • disable hosting company account
  • disable webmin or other security holes
  • configure postfix for outbound
  • recompile RRDtool
  • dude, DON’T FORGET THE CRONTABS!!!!! including for users and /etc/crontab and .daily etc
  • Time zone: cp /usr/share/zoneinfo/US/Eastern /etc/localtime

Cutover procedure

1. put up global “we are moving” web page on all sites

2. dump/restore mysql data to new server

3. bring up httpd with /etc/hosts file on my machine pointing to new server

4. test

5. change DNS to point to new server