Sleep works!

Ubuntu, installed, out of the box, PowerBook 15inch 1ghz – slept and woke up. I am one impressed puppy.

Now just restoring /home

Changing to Ubuntu

The 13GB waste of space that was the unused MacOS X partition is gone. So is the very much hacked Debian Unstable (was living up to its name too much) partition. Currently am installing Ubuntu Hoary Hedgehog on my PowerBook.

I may still have to run a custom kernel (sleep support) – but that’s not going to worry me too much. It’s the fact that things are stable for six months that’s making me excited. No more worrying about if a dist-upgrade will break everything.

You can chuck in the LiveCD on PPC and get a working X configuration. Woah.

Also been playing (briefly) with f-spot on my desktop. Is pretty cool. I’m going to start using it for all my photos. Looks like it scales okay too! The import of my existing photos went pretty smoothly. Some of the dates are totally borked – but hopefully that’s an easy fix to the code. I think i might join the mailing list and make some suggestions (as well as try my hand at implementing some myself). Pulling the source from CVS and trying it out was real easy – this is a good sign.

I can’t wait until the version of Mono is upgraded so I can run Beagle! When f-spot, Beagle and Dashboard hit the pre-installed stage on linux distros, we’re going to have a real set of killer apps to bring people over from the dark side.

blogging linux.conf.au in reverse

didn’t get much time to write while at LCA. So will cover it now, possibly in reverse, but definitely after the fact.

Have slept a lot today. Which is good, really needed it. Back to work though – which should also be fun.

currently: relaxed on the couch, listening to Tool and pulling mail.

Oh, LCA rocked. It so rocked. It rocked so much that Uluru really looks like a pebble.

usb drivers and sleep

obviously don’t work well together.

Apple USB OHCI 0001:10:18.0 disabled by firmware
Apple USB OHCI 0001:10:19.0 disabled by firmware

So no photos today.

more linux.conf.au IRC fun

<bernard_> in my room the wireless works much better (and infact is only usable) if my laptop is oriented parallel to the wall.

					

gems from linux.conf.au, after the pub

* MacPlusG3 wonders wtf is happennning with is imaps connection
<bernard_> MacPlusG3: 21:59 < cef> yup.. dropping my mtu to 1478 fixed it
<bernard_> ?
<bernard_> though I'm on burgmann wireless here and pulling mail over imaps just fine.
< -- womble has quit ("ZZZzzz...")
<MacPlusG3> THAT IS FUCKED

~/bin/stat

What have you always wanted on the command line?

stat? i: hear; you cry! (insert more [silly] {punctuation} around ‘ere!)

I present, to you, my ~/bin/stat

#!/usr/bin/perl
use POSIX qw(strftime);

my $FORMAT="%H:%M %a, %e %b %y";

foreach(@ARGV)
{
  my ($dev,$ino,$mode,$nlink,$uid,$gid,$rdev,$size,
      $atime,$mtime,$ctime,$blksize,$blocks)
      = stat($_);
  print $_."\n";
  print "Dev:   $dev\n";
  print "inode: $ino\n";
  print "mode:  $mode\n";
  print "nlink: $nlink\n";
  print "uid:   $uid\n";
  print "gid:   $gid\n";
  print "rdev:  $rdev\n";
  print "size:  $size\n";
  print "atime: ".strftime($FORMAT,localtime($atime))."\n";
  print "mtime: ".strftime($FORMAT,localtime($mtime))."\n";
  print "ctime: ".strftime($FORMAT,localtime($ctime))."\n";
  print "blksz: $blksize\n";
  print "blks:  $blocks\n\n";
}

it’ll make it to junkcode sometime soon.

Yahoo Mail sucks

What Yahoo Mail does to the In-Reply-To header appears to be random. Whatever it is, it’s random and broken.

Occationally it seems to do the right thing. No bloody sense to it though.

Usually it seems to put in some random integer.

Fun.

This is why some people’s mail goes missing.

Yahoo, you should know better. Shame.

revision control

Brian Aker has blogged about BitKeeper versus CVS

no doubt this has stemmed from somebody’s rant on the BK license. Now, this is a valid rant, but, really – it’s getting[1] old.

Personally, I quite like the GNU Arch Revision control system. Unfortunately, the UI is sort of sucky and takes a bit of getting used to. Bazaar is one to watch for improvements on this front (although I haven’t made the switch, mainly due to there not being enough hours in the day).

One thing that Arch does really well is cherry picking changesets. A simple ‘tla reply’ will do the equivilent of ‘patch -p1 < foobar’, but preserving where it came from. BRILLIANT. I wish bk did this. I once looked at branching in CVS and quickly ran away.

A smaller player, Darcs is one to take a close look at too. The UI is really sweet. I’ve only used it to test/submit fixes upstream on a small project (namely xseq – a project that is way cooler than the name suggests[2].)

In the future, bazaar-ng (back online soon) will probably be the way to go. Now is the time to bombard it with ideas though :)

At least we’re not stuck with Visual Source Safe. Full on MS people bag that pile of poo.

[1] Many would, in fact, believe i should be leaving out the word ‘getting’.
[2] I’m sure Andrew would be appreciative of funky names as well.

Update: why, oh why does this edit post thing think it must fight against the will of the correct closing tags?

Update 2: it seems that wordpress doesn’t want to save an update if you’re only fixing your markup. you have to add text. the suck.

upgraded laptop memory

1.5GB is much nicer than 768MB. Makes running MySQL cluster tests a lot easier (doesn’t hit swap).

the same apps still hog memory though (and for no real good reason).

Yes, i’m looking at you Evolution.

what you don’t want to see from gdb

/build/buildd/gdb-6.3/gdb/linux-nat.c:1208: internal-error: wait_lwp: Assertion `pid == GET_LWP (lp->ptid)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) 
/build/buildd/gdb-6.3/gdb/linux-nat.c:1208: internal-error: wait_lwp: Assertion `pid == GET_LWP (lp->ptid)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) 

Westpac hasn’t changed anything

it seems. so they keep me as a customer. everything still looks the same, and seems to function the same.

maybe it was just a behind the scenes upgrade, and the support guy was just saying what’s on his screen from before?

Airshow 2005

Was at the airshow yesterday – with all the benefits of knowing people in the business :)

Mad people doing airobatics, mad guy hanging upside-down off the wing of a plane while it then barrell-rolled so he was standing up. Pretty cool to watch.

Of course, then there was the fighter jets. fast, loud, and i swear the F16 can do a u-turn in less space than half the cars on the road.

Then, of course, there’s the air force supply planes that do crazy landings, take offs and can fly a few feet above the ground while dropping supplies/releif out the back.

When the US air force guy was saying what missions some of their fighters had flown in, notably absent was Gulf War II. Hrrmm… maybe a touchy subject? Who knows.

An F111 doing a dump and burn is always pretty to see.

Install Day (Semester 1, 2005) – Monash IT Society (Clayton)

Install Day (Semester 1, 2005) – Monash IT Society (Clayton)

So, back at uni (you know, that place you’re at when you’re a student), and back with the old computer science club (but under a different name… well… ah…urrr…because… who the fuck knows why) they’re having a linux install day next week.

i’ll probably go along for a couple of hours and hand out lots of ubuntu cds that i’ve got lying around and probably get asked a lot of mysql questions.

maybe it’d be cool to have a “MySQL CD” with all mysql stuff for all platforms on it (with lots of autorun stuff). esp if we could make them cheaply enough to give away at a bunch of events (like install days).

Maybe i’ll burn a couple of CDs to take along (windows, mac, linux binaries)

1GB laptop ram sticks

are finally at a decent price! hopefully one should come in for me this afternoon. Would love an extra bunch of ram in my laptop…. should (by tonight) have 1.5GB instead of just 768MB.

FC4t1

tried FC4t1 on desktop – with SELinux. barely got anywhere. firstboot didn’t run, X config was strange (but that’s a norm, two monitors generally confuses things).

It also overwrote my MBR, despite being told not to. grr..