I'm not normal

By: will

1 Sep 2010

Thanks to iiNet's latest round of quota increases (read: buying capacity on PPC-1 made us drop our pants data is so cheap now), quota is now a problem again.

Being able to consume 600GB/mo of traffic opens the doors to all kind of silliness that one might not have previously thought practical. And as such, I've found that we once again have the need to schedule our downloads so we don't blow our quota during the peak/offpeak periods:

An hours worth of work with PERL and the iiNet Usage XML API, and the SabNZBD API, I have a tool which updates the download rate of my usenet weirdness.

Instead of a basic schedule which doesn't provide any guarantees your overall usage will be below schedule, this one takes into account your quota, offpeak/onpeak times and remaining data for the month - and sets SabNZBD to throttle so you'll end up hitting your target quota usage perfectly, no matter what everyone else in the household does.

Throw in some other nice bits like upper boundaries (eg: keep 250kB/s free for other traffic), etc - and this script should go down a treat. There are only two features left to implement:

  • Better 'buffer-zone' support: Currently the script will target a safe 'buffer' zone, that is - you can tell it you always want 20gb free for other use. The script should back-off the buffer (logarithmic?) at the end of the month to more efficiently use the bandwidth.

 

  • Link Speed awareness: The script uses a hardcoded link size to use for bandwidth reservation. Whilst this is really best implemented with QoS at the border, it's still a nice feature to have - and maybe it should scrape the current link speed from the modem.

In related news, I'm out of storage space. Time to up the ante on the storage project. I've had my Norco 4220 chassis sitting here for about two months waiting for me to buy an X58-based mainboard and Core i7 CPU, as well as some nice fresh new drives to sit on my LSI disk controllers. Which brings me to my final point - I'm not normal. Normal people don't do this kind of thing. Normal people turn on the TV and watch Neighbours.

But you know what? Not being normal rocks.

Ginger Wine, halp?

By: will

18 Aug 2010

Quick update on the ginger wine front, I'm having real trouble getting the yeast to do its thing on the wine.

I'm using EC1118 at the recommendation of the fine people over at Brewcraft, but it's been difficult to get it to do anything much past pitching it.

At first I thought it was temperature related, but keeping it insulated and actively heating it during the night hasn't helped any.

Now I'm beginning to think that either the pH of the ginger wine solution is too low, or that the solution is anaerobic because it's so dense... something like that, yeah.

Will have to call the good people at Brewcraft unless anyone has some advice for me?

Vroom Update

By: will

18 Aug 2010

So I've had my bike for a month now, and I'm pretty happy with it so far. I've ridden approximately 90km on it over six rides, including two commutes.

The plan, if I see it through - is to do four 12km commutes to/from work in a week, and at least one 20+ km ride on the weekend. But I'm not going to kill myself to do it, so we'll see how that goes.

I've got a bit of drama with the gears on the bike though, the chain is slipping pretty regularly some of the time. That's not too uncommon with a new bike, as you wear in the shifter cables they get some slack.

I've taken the bike for its first service (albeit a bit early), and had them tighten up the cable which has helped a lot, but it's still a bit of a problem so more investigation is required.

That aside it's great fun to get out and ride, it's been simply years since I've been for a proper ride and I'm not nearly as shitted afterwards as I thought I would be. Hooray.

Anyway, my short term goal is to crack 100km, which I'm set to do tomorrow when I do my next ride home from work, and also to get up to 20km/hr consistently on all my rides.

I'm keeping track of my rides with Bikemap.net and MyCyclingLog which is useful, but not very accurate when you're going on overpasses/etc and the elevation data is wrong - might be time to find a very cheap second hand GPS or some such, as the iPhone apps I've tried as abysmal.

Most rewarding experience of the week? Riding across this deceptively steep overpass two days in a row without stopping or feeling like I'm about to die.

Hooray.

VPS Choices & Upgrades

By: will

18 Aug 2010

For about a year or so now I've been hosting my Email, Website and other related services off Slicehost. As I don't host people's websites en masse any more, this makes sense financially - which frees up money for other projects.

When I evaluated where to put my slice originally, I looked at a few VPS providers:

  • Slicehost
  • RedWood Virtual
  • Linode
  • GANDI

Based on price and feature sets, I ended up trialling Redwood, GANDI and Slicehost to see what their service was like. From a technology point of view, I was looking for a Xen or VMWare based provider, no KVM or Virtualbox providers for me, kthx.

GANDI, being relatively new at the game - managed to irrecoverably lose my slice image in the first week. Bad luck on their part, but ruled it out for me.

Redwood's management tools weren't great, and dealing with support was a bit average, but otherwise things were okay. Not so okay was having storage not showing up as a block device. I'm not actually sure these guys were running Xen, but I'd been curious to go with them after hearing good things.

Slicehost, as well as boasting a recommendation from one of my colleagues - had some good management tools and just worked(tm). Also appreciated is that their kernel management seems to play nicely with Debian/Ubuntu package management (ie: they didn't piss over each other).

So in the last year I've had a pretty good experience, and only a few hiccups - most notably a bug in the management tool which caused my host to run a newer kernel without installing any of the loadable modules outside of the initrd. That and some really big process queues from IO wait lately.

Now I'm in the situation where I'd like to upgrade to Ubuntu/Lucid, the latest Long-Term-Support edition - so I can continue to receive security updates into the future.

Let's start by saying I'm not normal. I don't like to dist-upgrade boxes between major releases. There's something not quite right about doing an in-place upgrade on your init, really. As such, my boxes are built to be blown away and reinstalled easily.

Unfortunately, with the Slicehost management tools there just doesn't seem any easy way to create a new slice, mount the old image and copy files across whilst keeping the same IP. The only solutions are to create a new slice, and use the private interface IPs to copy between them, and set up for a new IP.

Which sucks, so I don't know what to do. I've just shot a support ticket to Slicehost to find out, but it would be nice to be able to just mount the old image on a new box.

As it turns out, this is not only possible on Linode - but downright easy. Whilst fixing someones Linode (funnily enough, from a broken dist-upgrade to Ubuntu/Lucid), I got a good chance to play with their management tools: they're awesome.

Want to create your own customised partition layout (instead of using an all-in-one layout)? No problems. Want to create multiple block devices? No worries. Want to boot into a new image with the old one available? No problems.

Oh, and it turns out that Linode have updated their plans to be more competitive for RAM and Storage. Going from a 512 slice to a 1024 slice will cost the same - and you'll get the benefits of better management tools.

Theres a lot more info on their management tools available on their site than there used to be also, so worth checking out: http://www.linode.com/features.cfm

So I've had a quick look at the bandwidth and latency from the various Linode datacentres, overall not bad at all.


11:10:07 (740.23 KB/s) - `100MB-london.bin' saved [104857600/104857600]
11:12:56 (696.35 KB/s) - `100MB-newark.bin' saved [104857600/104857600]
12:18:09 (844.26 KB/s) - `100MB-atlanta.bin' saved [104857600/104857600]
12:23:42 (987.36 KB/s) - `100MB-dallas.bin' saved [104857600/104857600]
12:27:51 (840.12 KB/s) - `100MB-fremont.bin' saved [104857600/104857600]

The Fremont DC was flapping between 750KB/s 1.2MB/s, whilst most others stayed reasonably constant.

And the round trip times are also quite good:

london: rtt min/avg/max/mdev = 348.397/349.640/363.074/1.498 ms
newark: rtt min/avg/max/mdev = 284.731/285.829/303.533/1.992 ms
atlanta: rtt min/avg/max/mdev = 268.222/269.473/296.800/2.947 ms
dallas: rtt min/avg/max/mdev = 249.007/250.088/261.556/1.603 ms
fremont: rtt min/avg/max/mdev = 211.310/212.034/213.691/0.578 ms

Packet loss was 0 or negligible on all tests, so I'll leave it out for the purposes of simplicity. Also, for a baseline, here's a test from the same network to my existing slice:


13:29:59 (808.72 KB/s) - `100MB-autodeist.bin' saved [104857600/104857600]

rtt min/avg/max/mdev = 255.246/255.970/257.267/0.723 ms

Transfer speeds from my slice also flap fairly heavily between 450KB/s and 1.3MB/s.

Whilst these tests are only useful for an indication only, the RTT times gave me pause on what DC I would choose. Originally it was a toss up between Atlanta/Dallas - but with the fairly consistent low response times from Fremont, that might just be the contender. Obviously this benefit is from being geographically closer to the cable landings in the US.

So what happens now? I'm pretty tempted about the move, so I might sign up an account on Linode to test with, and if it runs smoothly and as expected - I could be moving host soon, hopefully for the last time in a while.

I'll update soon :)

Vroom (kind of)

By: will

16 Jul 2010

Malvern Star Insight

After thinking about it for a while, I've finally bought a new bike! Hooray, now I can start being active in a way that doesn't make me want to gouge my eyes out. No really, exercising because you know you should isn't very exciting, and who says you can't enjoy it?

The last bike I bought was wayyy back in... 2004, a mountain bike that got stolen when our house got broken into - and was (suprisingly) recovered by the police in Mirrabooka, complete with damage to the rear rim, shifters and a few other things - fixing it up was going to cost a few hundred and why not get a new bike suitable for where I'd now be riding.

Enter shiney new road bike, and a bunch of accessories meaning I can actually use the bastard.

I've also already bought a set of replacement pedals with mountain bike cleats, so once I've got some skate style shoes with cleats I can ninja on and off the bike without a wardrobe change. Impressive, huh? :)

However, let it be known that I'm well aware bicycles are the gateway drug to faggy bike pants and other assorted lycra products. I pledge to you all here that I will not go down this dark and dangerous place!

Anyway, enough of that - I'm going to go for the first ride on the new bike (and first ride on a proper bike in a number of years).

... it's so cold outside *pout*

Ginger Wine?

By: will

12 Jul 2010

Whilst carefully evaluating a number of the proprieters of fermented goods at the local Good Food & Wine expo, or rather - trolling for tastings, I came across the booth for Stone's, a popular european brand of ginger based goosd - most notably their ginger wine.

If you haven't sampled their mouth candy, you must. Their alcoholic ginger beer and ginger wine is worth it - and I'm sure I'll be a regular buyer - once I find a bottle shop that stocks it nearby.

In the meantime though, I thought I'd give it a go for myself. Of course I did.

Well, it turns out there aren't that many recipes to be found. Of the several recipes I looked at, exactly zero of them used all the ingredients they specify - and don't inspire confidence. So in my usual tradition - I decided to wing it.

So, here's my recipe for ginger wine, complete with exact measurements:

  • 1 big-ass bit of ginger, thinly sliced
  • 1.5ish kg of white sugar
  • 2 lemons, zested and juiced
  • 2 oranges, juiced
  1. Boil up about 2.5L of water in a saucepan, add ginger and lemon zest.
  2. Simmer for 15 minutes.
  3. Drain off juice into a second saucepan.
  4. Bring ginger and another 2.5L of water to the boil in the saucepan.
  5. Whilst the first saucepan is coming to the boil, heat the second and stir in all the sugar until it dissolved, then remove from heat.
  6. Drain off the ginger and put the liquid into the first saucepan, stir.
  7. Cover with a teatowel and stand for 12 hours.
  8. Warm the juice up a little bit and add some activated wine yeast
  9. Covering with a teatowel, stir twice a day for 3-5 days
  10. Strain the liquid into a demijon with an airlock.
  11. After twelve weeks of fermentation, rack every 3-4 months until it is has been going for 12 months.
  12. Bottle and enjoy.

As I write, I'm only up to stage 7, so pretend I've got a bottle of Stone's, with a fresh linen covering the label - some I prepared earlier.

Updates as they come - I can't wait :)

Design/Motivation Fail

By: will

11 Jul 2010

It seems that turning 25 has put a bit of fire in my belly. Actually no, that's not true. I think that recently I've hit a point where I've realised I have spent a lot of my short adult life pandering to other people.

If you wind back the clock, as many as five or ten years - I was a lot more intellectually stimulated than I am today. Programming, digital art, design and whatnot coming out the wazoo.

These days, not so much. That's partly because I'm a little bit OCD and like to make everything perfect beyond practicality (and, not unsuprisingly past motivation) - so much so that I've backed off to avoid the stigma of not following through on things.

Get fucked, I love tinkering! So I've got other things on these days, but there are some long standing things I've been wanting to do for ages - but probably the most prominent is fixing up this site.

Back in the day I wouldn't have been caught dead with an off-the-shelf website look, but for the last five years I've been rocking it hard. I've got a plethora of designs for this site I've done over the years that have never seen the light of day.

And it's not because other people read this. This site is my muse. That's right, I said it: my muse. It might sound wanky but it's where I yell into the universe from about what I'm doing and how pleased I feel with myself for having done it.

... and if you consider yourself a creative person, as I do - stock templates just don't cut it.

Now I've been using this site more heavily on the projects I do manage to get around to (wine, spirits, cheese, tech stuff, etc) - I've got a much better idea on what kind of things I want to be sharing on here and how I want to present it.

Step 1: Get rid of the white-on-black. I hated it 10 years ago and I hate it still. Check and done. It's a template but I'm happier with it than I was with the old one.

Step 2: Get inspired

Step 3: Profit ;)

Live Linux USBKey

By: will

6 Jul 2010

For a while now I've been wanting to put together a system-on-disk, a USB stick I can use on the road which gives me a comfortable linux desktop with all the apps I might need.

It turns out that the Ubuntu Desktop LiveCDs already have a nifty persistent mode, where it will save any filesystem changes to a seperate partition with the label 'casper-rw'. That's great, and a lot of the work out of the way towards getting the project done.

There are a few guides out there for getting this going on a USB key, most notably on the PenDriveLinux website. Following this guide is pretty straightforward, and can get you up and running in no time.

Unless of course, you run certain Phoenix-based BIOS firmwares on your computer. My work Dell (the primary use for this project) runs such a BIOS, and misreports the device IDs for bootable USB keys. The good fellows who put together Syslinux have a patch in place, so if you use the latest Syslinux (newer than that which is available in Ubuntu 10.04) this is supposed to fix it.

Sadly this wasn't the case, and after a long time I ended up switching from FAT16+Syslinux to EXT2+Extlinux, which worked straight off the bat.

Now to forge ahead with the encryption side of things.

Record Keeping

By: will

8 Jun 2010

So despite my University gripes and whatnot, I've been attempting to get credit for my previous studies towards a Bachelor of Science in Computer Science (BS in CS, how appropriate).

Unfortunately for me, my previous University's online handbook does not accurately describe the subject matter of each unit. Given that this information is used by other institutions to determine course credits, one must rely on their archived copies of Unit Outlines for this purpose.

Which I don't have. Any more, at least. Meaning that the 50% of credits I have towards my degree were translated into two credits at the new institution, unless I can obtain copies of the unit outline from my old university.

After six months of speaking to my old unversity, they've stated that:

* Unit Outlines (prior to Oct 2009) have never been mandatorily kept
* The Dept of Computing does not archive these
* Only the lecturer has copies, if at all

Thankfully I was able to find someone in the University's information management team, who actually spearheaded the effort to even get unit outlines archived - who has chased up the school and made a formal request on my behalf for the information - to no avail.

Sigh, looks like I'll be doing a management degree instead.

Cheese & Wine

By: will

8 Jun 2010

Not too long ago I found myself flicking through the SixThousand site, which is supposedly covers the Perth subculture. Right, anyway. Flicking through I saw a post about making your own cheese. Awesome.

The recipe explains the very simple process of boiling milk then curdling it to seperate the curds and whey. If you take the curds away you're left with a Paneer Cheese, which is a pretty bog standard soft cheese.

As I was already trying my hand at some Chocolate Panacotta (yum), I thought I'd give this a go as well, as I've always wanted to.

First up, I decided to make the Paneer and add some Chilli flakes, to end up with something like the soft flavoured cheeses you get at the shops. The process is pretty straightforward:

  • Bring 2L of milk to the boil
  • Turn off heat
  • Add 1 cup of lemonjuice or vinegar
  • Stir the milk thoroughly to ensure maximum curdlage (yes, curdlage!)

Adding Chilli
Stirring Milk
Curd & Whey

In the end, you end up with something like this:

Yay CHEESE!

Lovely, om nommy cheese. Whilst the cheese was tasty and "dericious" (thanks Neil), it was a bit crumbly - and I suspected that I squeezed far too much liquid out of the cheese.

Ultimately I ditched this after leaving it uncovered in the fridge overnight, as it had gone rock hard (strange thing that). Not letting my feelings get hurt by cheese, I decided to give it another shot, this time opting to replace chilli with pepper and chives.

Unfortunately I don't have nommy photos of this cheese, however leaving more liquid in the cheese while it was setting gave me the desired soft cheese (essentially, a hard ricotta in texture and shape).

I served this up with a glass of my red wine (more on this in another post!) at a BBQ, and it was received pretty well, and I'm stoked.

At only around $2.80 for ~500gm, this cheese is not also unique and personalised but cheap! Cheese for everyone! The secret lies in how much liquid you leave in!

I'll play with this a bit more, but am very tempted to start getting some of the low-end cultures so I can make proper soft cheeses such as boccocini and brie/camambert at home. I'm not expecting much but like my beer, wine and spirits - it's a fun experience.

More soon, I promise :)

What is this crap?

This is the personal website of Will Dowling, a Systems Engineer hailing from Perth, Western Australia.

The signal-to-noise of this site can vary wildly, so here's a few things I'm reasonably happy with that might be of interest to other people:

The Case FOR Apple
11/08/2009
On projects and discovery
04/08/2009
Naughty Tax
18/06/2009

User login