Tweet

Maybe it was the lack of sleep, but I decided to sign up with twitter.  Aside from Linked-In, I’ve avoided mostly all of the social networking sites (fads?) thus far.  Who knows, maybe I’ll break down and get a Facebook page soon.

Living in North America, and (oh my, I”m actually going to say it..) especially people of my generation don’t tend to use text messages (SMS).  There are a few friends at work and I who do text each other, but I generally use less than a handful a month.   I’d like to change that, and I think twitter may be the catalyst.

There are lots of way to use twitter, but at the moment I see it as a way to get that hallway conversation feeling across the wire.  I’ll likely use it to give mood updates, vent my frustrations and as a place to put my half baked thoughts that I don’t feel are worth a blog posting.  You might laugh, but I tend to spend about an hour or more on each of these blog entries – I’ll probably spend about 30seconds thinking about a tweet.

While a large part of my waking day I’m in front of a computer, there are times when all I have with me is my phone – a Nokia 5310.  Sure I have internet on my phone, but without a data plan it gets expensive fast ($13 for 460kb last month).  SMS is a natural fit for twitter’s short updates, too bad the Canadian cell providers aren’t twitter friendly. [edit: see comment below, seems that Canadians can twitter vis SMS as of very recently.  This makes my plan in the next paragraph basically just a neat idea, I’ll likely not do it.]

My plan is to build my own SMS gateway to twitter.  I can use SMS to send an email and there is a way to send a text message via the web to my phone, so I’ve got a two way conduit.  Now I just need a daemon to sit on my server and respond to events.. more on this once I figure out exactly what I’ll do.

Of course, twitter is a lonely place with no friends.  It turns out many of my friends are already out there on twitter (ok, so I’m a late adopter).  What did surprise me was that I started to follow some friends, and then suddenly I had followers!?  Well it turns out [obvious] that by default you get email when someone friends you, so two way connections shouldn’t be a surprise.  What was a little odd was that a few friends found me without me friending them, within hours.  Neat, I feel popular.

Now in terms of a client – there is always the web, but I wanted to play around with some of the twitter specific apps.  On Windows I installed Twitterlicious which has some quirks, but seems to do the job – I may later try twhirl.  On Ubuntu I’ve tried and failed so far to use gTwitter but will persist.  The neatest client I’ve tried so far is DSTwitter, turning my Nintendo DS into a twitter client.

So how do you use twitter?

It’s a boy!

babyOn April 26th our second child arrived.  We knew through the miracle of modern science that we’d be having a boy, so it would have been a bigger surprise if it was a girl.  Of course, the ultrasound doesn’t tell you what you child will look like (dark skinned or fair, brown eyes or blue) – furthermore you’ve got no idea what their personality will be like.

So far things with the baby (Mark) have been good.  Many of our visitors have commented how much he looks like me.  People said the same of our daughter early on, but today my Mom was over with some pictures of me as a child and there was a strong similarity – I wonder if it will stick.

Jenn (mommy) also is doing well.  The birth of a child is an amazing event, having been there for both of our children it’s an experience I will never forget (and I’m certain many fathers feel the same way).  Remember that Sunday is Mother’s Day – do something nice for your mom, she deserves it.

Time Machine and Linux

Previously I had written about using an Ubuntu server to host Apple Time Machine backups.   Now that I’ve retired the old server, I needed to re-do some of that work to get backups running again.  This time I decided to skip Part A – which was about enabling AFP to make it as Mac friendly as possible.  My new setup simply uses Samba to expose the previously created time machine volume as described in Part B of my old post.  This seems to be working just fine.

I learned the backup lesson the hard way, losing a 20Gig drive a few years ago.  There are in my office two dis-assembled hard drives: one which is the failed drive, and the second was a working same model number drive I bought on eBay.  The plan was to swap the controller board to hopefully save some of the data (it was my old web server).  It turns out that even though the drive models were the same, the internals were different – one drive had a single platter, the other a dual platter.  If this blog posting gives you that “yeah, I should really get my backup story sorted out” feeling, then go do something about it right now.  Hindsight is 20/20.

I meant to take a picture of that pair of drives to accompany this post, but failed to get a quick picture before I left the office.  I figured that I’d use the Creative Commons material from Flickr for this post.  It turns out that giving the correct attribution to the photo is a bit of a pain via Flickr (they should really fix that) – but there is a solution: www.ImageCodr.org.  With a few clicks and a cut and paste from the Flickr photo you want to use, you get an HTML snippet to use.

I had been using rsync to do backups on my old server, backing up from the main drive to one of the data drives.  As well, a number of the machines around the house would rsync backup over the network to the server.  On my new server I’m using rsnapshot, which is based on rsync but provides some nice scripting to give you a nice set of default behaviours.  Setting it up to do local backups from the server main drive to a mounted data drive was trivial.

Using rsync you can configure incremental backups – utilizing hard links to provide multiple full directory trees, with only a small increase in disk footprint.  Rsnapshot uses this facility to provide hourly, daily, and weekly backups – very similar to Time Machine’s backup story which as the data gets older, you get less granularity.  I’ve set it up with daily, hourly and monthly backups – after a few weeks it looks like this:

drwxr-xr-x 3 root root 4096 2009-04-21 00:30 daily.0
drwxr-xr-x 3 root root 4096 2009-04-20 00:31 daily.1
drwxr-xr-x 3 root root 4096 2009-04-19 00:30 daily.2
drwxr-xr-x 3 root root 4096 2009-04-18 00:31 daily.3
drwxr-xr-x 3 root root 4096 2009-04-17 00:31 daily.4
drwxr-xr-x 3 root root 4096 2009-04-16 00:30 daily.5
drwxr-xr-x 3 root root 4096 2009-04-15 00:30 daily.6
drwxr-xr-x 3 root root 4096 2009-04-14 00:30 weekly.0
drwxr-xr-x 3 root root 4096 2009-04-07 00:30 weekly.1

So while I’ve got many full file trees, through the use of hardlinks only 4.7Gig of storage is being used to have 9 copies of a 3.7Gig file tree.