July 2007 - Posts

Growing up in the 90s, oh the memories!

Got an email from a friend about growing up in the 90s down under. Brought back some memories that made me realise just how long ago that really was. I still feel like 99 was a couple of years ago, damn! I've added several more!

You watched the ABC more than any other station. Those days are long gone.

You made worms by squeezing your Vegemite or peanut butter crackers together.

Healthy Harold day was the best because you got to miss class to sit in a tiny caravan and listen to a talking giraffe.

Super League almost ruining rugby league in Australia.

Getting the Easter Show guide from the paper and circling all the show bags you wanted.

You thought everyone in America carried a gun and you never wanted to go there because you were were scared you'd get shot.

Blinky Bill, Sesame Street and Spot.

You always used to see that dried out, white dog poo on the footpath. You never see that anymore.

SuperTed, Widget The World Watcher and Samurai Pizza Cats.

Going to the Easter Show with a big group of friends from school once you were old enough to go without Mum and Dad.

Doing research for school projects by going to the library or looking up an encyclopaedia rather than using the internet.

Paul Keating was some guy that ran the country and John Howard became the only PM you really ever knew because you were too young to care before that.

Banana Man, Bangers and Mash and The Raggy Dolls.

Game Boy.

Waking up early everyday to watch Agro's Cartoon Connection. (I watched it for Teresa!)

You watched 'Whats up Doc' because you had a crush on Karen.

Hey Hey It's Saturday.

Everyone got the Coke bag at the Easter Show and it was only $10.

Buying those 6 packs of Coco Pops, Fruit Loops, Frosties, Rice Bubbles,

Nutri-Grain and Corn Flakes so you could have a different one each day and then opening the packets really carefully and removing the cereal so you'd have a mini wardrobe afterwards. You also most probably just let your parents eat the Corn Flakes.

Trying to make the Rainbow Road shortcut on Mario Kart 64.

Postman Pat, Fireman Sam and Lift Off (that show with the dirty, blind doll named EC).

Playing GoldenEye on the Nintendo 64 and arguing over whether Oddjob was allowed to be used in multiplayer.

The original Teenage Mutant Ninja Turtles.

Super International Cricket on the SNES.

Arguing over which was better - Nintendo 64 or PlayStation.

Don't push me, push a push pop!

Nobody made not jokes... NOT!!

Who shot Mr Burns?

Watching Captain Planet and then driving your parents mad by always singing the song.

That's so funny, I forgot to laugh.

You decorated your room with glow-in-the-dark stickers.

You played marbles and could name all the different types like blue moon, oily, candy, red wine, galaxy and red devil. You never played anyone for your god marble.

Feeling sad when your Tamagotchi died.

Singing "This is the song that doesn't end, yes it goes on and on my friend, some people started singing it not knowing what it was, and they'll continue singing it forever just because this is the song that doesn't end, yes it goes..."

Dolly the sheep.

Getting up early to watch the Rage Top 50.

Friends when they were all actually just friends. Why didn't Phoebe and Joey get together?

Sonic the Hedgehog.

Watching The Simpsons back when it was funny, every night on Channel 10.

Power Rangers becoming cooler than the Ninja Turtles, even though the Turtles will always be cooler.

Watching South Park for the first time and being really excited by all the swearing.

Blowing on the Nintendo cartridge before putting it in the console to make sure it worked properly.

Smell the cheese.

Vulcan, Tower, Flame... Australian Gladiators.

Playing Mortal Kombat and trying to do a fatality but just ending up punching accidentally.

Pokemon! Gotta catch 'em all!

Watching Hey Dad! and then seeing little Arthur McArthur go on to star in that famous Sorbent ad.

Full Frontal, not Comedy Inc.

Wolfenstein, Doom and Duke Nukem.

Downloading music from Napster.

Chatting with your buddies on ICQ.

Going to see Titanic.

And the winner is Sydney.

Mighty Max and Polly Pocket. Max and Polly always got lost because they were so bloody small.

Fox Mulder and Dana Scully.

Ray Martin hosted A Current Affair.

Zoopa Doopa ice blocks were only 20c and if you couldn't afford it, you asked the canteen lady to cut it in half so you could split it with a friend.

Happy Meals were only $2.95 and the toys were simple but actually good.

Thorpe won lots of gold medals and wasn't so gay.

Opposite day.

Upsy Down town.

Playing tackle Bull Rush at lunchtime and having tackling banned. You had to resort to grab 1-2-3 or tip. Same goes for footy.

Pogs and Looney Tunes Tazos.

Yo-Ho Diablos

Nobody won Wimbledon unless their name was Pete Sampras.

Smarties were better than M&Ms...and both of them were way better than money, because you could eat them.

You tried Dr. Pepper and hated it.

Service stations didn't need space for 4 digits on their petrol prices signs.

Girl germs! Boy germs!

Germ-locks, 1,2,3,4 L-O-C-K

Goosebumps.

You had to actually call your friends rather than send them an SMS.

Hubba Bubba.

Wearing a Chicago Bulls T-shirt or cap. Wearing the cap backwards.

The feeling of wonder you got, the first time you were able to see the image in one of those Magic Eye 3D pictures.

The Secret World of Alex Mack.

Talk to the hand!

Johnson and Friends, Noddy and Humphrey B. Bear.

You wished you had enough Lego to build those amazing cities they displayed in the brochures.

Slap bracelets.

Jurassic Park and those toy dinosaurs where you could pull a piece of the skin out to see its insides.

Roger Ramjet, he's our man, hero of our nation.

We had paper money.

Good on ya Mum! Tip Top's the one!

You could buy more than enough food from the school canteen for only $2.

Begging your parents to go to McDonald's for dinner.

Rocko's Modern Life, Rugrats and Hey Arnold!

Noni, Monica and that bald guy named George on Play School.

Going to World 4 Kids to look at all the toys.

Watching The Lion King and feeling Simba's pain when Mufasa died. Disney just doesn't make them like that anymore.

Soft serve cones were only 30c and they never tried to up-sell a Flake because they didn't have it.

Wanting a Brain or Silver Bullet during the yo-yo craze.

Nesquik without the Nes.

Troll Dolls.

The Kids' Works at Pizza Hut with unlimited drink refills. You made an ice cream mountain covered in choc chips and marshmallows and could never finish it.

Thomas the Tank Engine and TUGS.

Ba-na-na-na-na! Ba-na-na-na-na! Make those bodies sing!

You had to get your photos developed.

Street Sharks and Biker Mice From Mars

Competing with your friends to see who could eat the most sour Warheads in one go.

The Channel 9 logo had dots next to it and the Channel 7 logo wasn't a folded piece of paper. No Hat, no play.

Dr. Dreadful Food Labs. Kids these days wouldn't be allowed that because its not healthy enough. We didn't give a **** about our health in the 90's.

High five! Up high, down low, too slow!

Watching Round the Twist and getting pissed off that the actors kept on changing. You still loved it though.

Cheating in Heads Down, Thumbs Up.

Watching that game show called Vidiot. Game shows didn't have to be educational back then, like That's Academic... that show sucks.

Collecting basketball cards, whether you followed basketball or not.

You always wished your parents had bought you a bigger Super Soaker for Christmas. Christmas is hot in Australia... the more water, the better.

Collecting hundreds of tickets from Timezone just so you could trade them for some crappy prize that you could have bought from Woolies for five bucks.

Playing handball with Ace, King, Queen and Dunce and making up stupid rules as you went along.

"Inside, outside, inside, on." That piece of elastic that everyone played with at lunch, except your mum wouldn't buy you the proper pink piece of elastic, so you had the kind she bought from spotlight and sewed together.

A*mazing.

Hypercolour T-shirts.

Bumbags were the only bag needed

Atari was just the Xbox 360 of its day Master System/Mega Drive

You wanted to solve the mystery with the kids on Ghostwriter

Doing 200 word reports on behind the news and it seeming like a big task.
I miss those days:-(

FIX: CHM File displays 'Page cannot be found' or 'Action Cancelled' error under certain conditions.

I promised myself I'd goto bed before 12am today, but this is something that must be posted.

Ever openned up a CHM file only to be greeted by a 'Page cannot be found' or 'Action Cancelled' error?

Action Cancelled Error from Group Policy Editor


Not only is it annoying, but some people think that the reason for the error is because of a corrupted CHM file - hold your CHM's, dont send em to the bit-bucket just yet!!! This can happen for a couple of reasons.
  • You have a hash (#) in the path filename which for some reason the Help viewer takes as an anchor. So the following paths, whilst valid may not load the help content if files are inside:
    C:\My Ebooks\Some Category\MS dotNet\C#\MyCoolCSharpBook.chm
    C:\My Ebooks\Some Category\MS dotNet\CSharp\MyCoolC#Book.chm
    SOLUTION: Remove the hash in the path directory or filename (*doh*).

  • The other is if you attempt to load a CHM file remotely from another machine (mapped-network drive for instance), the security policy will place a restriction on loading the HTML content.

    SOLUTION: How to get around it? Simple, edit the registry.

    1. Start > Run (or {WINDOWSKEY+R}), type in 'regedit'

    2. Browse your merry way to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x

    3. Here you may or may not find a subkey named 'ItssRestrictions' if you dont create it by right clicking on 1.x and selecting New > Key.

    4. Then in the 'ItssRestrictions' subkey create a new DWORD value named 'MaxAllowedZone', here we enter a value from 0 to 4 depending on how you want to restrict the content. The break down is like so:

      VALUELocal Machine
      Local intranet
      Trusted sites
      Internet
      Restricted sites

      0

      AllowedBlockedBlockedBlockedBlocked

      1

      AllowedAllowedBlockedBlockedBlocked

      2

      AllowedAllowedAllowedBlockedBlocked

      3

      AllowedAllowedAllowedAllowedBlocked

      4

      AllowedAllowedAllowedAllowedAllowed


    5. I chose option '3' in order to load CHM files on my SAMBA shares, but you may select something a little stricter.
There after you *should* be able to load the CHM files. If you want to be more stricter and offer only URLs etc, reference Microsoft KB Article 896054.

*pfft* so much for bed before the boogey man comes...

UBUNTU: Configuring Trac on Feisty fixing up the ClearSilver mess.

Last night i took a stab at installing Trac and failed. It was late (about 3am) and I needed sleep so I left it, today I've got it working but had to hop over a few hurdles to get there.

Firstly I'm trying to install the latest 'stable' version of Trac which is 0.10.4, this unfortunately requires the ClearSilver libraries which ho-hum is *not* included with Trac now. This means you have to build it from source and let me tell you that chances are (atleast on feisty) it wont work straight from the source files. So let me go through it for you:-)

Firstly we want to get ClearSilver installed and ready before we follow the TracInstall Guide and continue from there.

Building ClearSilver
Right lets get to work.
  • First thing we have to do is to get all the dependencies.
    $ sudo apt-get build-dep python-dev python-clearsilver
  • Then once thats retrieved, download the latest (as of writing 0.10.4) of ClearSilver:
    $ wget http://www.clearsilver.net/downloads/clearsilver-0.10.4.tar.gz
    $ tar xzvf clearsilver-0.10.4.tar.gz
  • Then we need to make two modifications to the configure and configure.in files. That is to add the correct version of python to the list of allowed python distro's. (v2.5). Easiest way to do this is to knock up Nano and find 'python_version=' (or goto line 6560 in configure and line 250 in configure.in. I'm too lazy so i used WhereIs (CTRL+W):
    $ nano configure
    $ nano configure.in
  • Now that we have modified the configure files lets configure and make it.
    $ ./configure --with-python=/usr/bin/python2.5
    $ make
    $ sudo make install
  • After a few minutes it should build and (for me it threw a few errors which I ignored) now its time to copy the shared file 'neo_cgi.so' to our python site packages:
    $ sudo cp -bi python/neo_cgi.so /usr/lib/python2.5/site-packages/neo_cgi.so
  • Almost there! Now its time to run the Python installation app for Trac and continue on with the TracInstall Guide:
    $ python ./setup.py install
This got Trac installed, however I got an error trying to access my SVN repo:
TracError: Unsupported version control system "svn". Check that the Python bindings for "svn" are correctly installed.
*doh* If you get a similar error simply install the Python bindings for SVN:
$ sudo apt-get install python-subversion
This will hopefully fix it!

Cool utility to mirror SVN Repo's!
If you have a remote SVN Repo you want Trac to make use of then there's no option (yet) to do that natively. However this is the open-source world and *someone* has already worked on addressing this need with the very cool app SVK. SVK can do much more than just mirroring repo's. Ubuntu users can find it in the Universe repo's as mentioned in the InstallingSVK wiki page.
$ sudo apt-get install svk
It installs alot of libraries but its funkyishly good. Then once its installed follow the guide on svk by running:
$ svk help intro
If you're planning on running a standalone server, dont forget to checkout the Wiki TracStandalone for configuration options, highly recommended you password protect it:-)

Is Trac. Is Good.

FIX DIRECTSHOW: 'Class Not Registered' 0x80040154 error code

A friend at work was having some issues with his dev box today, working in video means we're constantly messing around with DirectShow filters, capture devices etc. etc. So things break every now and then and we deal with it like normal _sane_ developers (i'll leave you to think of how thats done).

Today however when we uninstalled a certain capture card software (that shall remain nameless...) he found that almost all his filters and video decompressors were messed with. Attempting to use them in GraphEdit would give the dreaded 'Class Not Registered' error message. So being the cool people we are, we got a copy of Paul Glagla's Filmerit and had a looksy. To our surprise there were almost 50 broken filters. So naturally we went through and tried to register them manually. But no luck.

Then I had a double look at what Filmerit was trying to say (now this screen shot is a reproduction of what happend, not the exact shot from his box!):

Filmerit 3.08 Dialog showing broken filters - caused by me on purpose.
Filmerit 3.08 Dialog showing broken filters - caused by me on purpose for 'emulation'.

Notice the 'Server File' has an error, this isnt the 'filter' thats causing it but rather the container itself. The uinstaller had some how managed to unregister a core DirectShow component. Naughty naughty (now do you see why I didnt mention the company name?)!

So now I checked my machine to see which file its meant to goto, turns out its 'qcap.dll' is the culprit (which is in your system32 folder). Register this component and voilla! all those broken filters will be fixed! To be sure, unregister the component first and then force it to be registered again.
C:\>regsvr32.exe /u "C:\Windows\System32\qcap.dll"
C:\>regsvr32.exe "C:\Windows\System32\qcap.dll"
Note, that Filmerit wont fix an issue with DirectShow itself, only for broken filters.

UBUNTU: Perfect Setup for home!

I cannot recall the last time I had two whole months off uni. Simply absurd when I think about it, ofcourse this is partly thanks to the Uni Project and having only 2 subjects to really commit to studying for during exam time with the added bonus of having the exams within a 2 week period. So whats a comp-sci guy to do to fill up this 2 month void? Go out and socialise? *pffft* yeah riiight...

Background
Previously I had Ubuntu Feisty running as an intermediate server 'just for play', allowing primarily for me to SSH in home and access the internal network to grab work etc (mapped network shares via Samba), sadly this took my excuse of 'Oooops i left it at home' away. This was all good, however our electricy bills at home keep climbing and the environment is hurting. With the amount of boxes I have at home (most with 600W PSUs) I knew I had to do something about it. So these holidays, it was time to crank open that tower and get the ball rolling on a brand new install of Feisty and replace the Windows 2003 server box that had served its purpose for so long as a Fileserver and webserver.

So here goes my adventure down Feisty Lane.

System Configuration
This is an old box I had that wasnt doing much, so I threw in all the bits I found lying around to build it.
  • GA-8IPE1000 Pro2
  • Pentium 4 3Ghz (HT)
  • 2GB RAM (DDR) [ had no idea we had so much ram going to waste! ]
  • SATA 250Gb Drive, this is where the main Feisty OS will be installed.
  • 8x500Gb SATA drives (WD5000YS RE2) some of these were in RAID-0 configs on the other machines
  • ATI Radeon 9600 AGP, the last surviving AGP 8x card. I have a 9700 All In Wonder and a GeForce Ti somewhere too.
  • Dual Gigabit cards (one on the motherboard, another as a PCI card), the whole house has been Gigabit'd.
I bought a new case too, at work we've been using the V1000+ from Lian-Li with some positive awe, so I went ahead and got the Lian-Li V1000+ Black (the Lian-Li V2000+ was also a contender because of the 12x3.5 bays but at the price advertised I figured not, plus I couldnt find a black one!!!). These cases look good and have very good airflow, they're also very light and have wheels to trolley them around. Unfortunately they accomdate for _only_ 6 hard drives, so I also bought four mobile racks to help. And yes if your wondering, the floppy drive bay was removed replaced with a mobile rack.

Here's the lspci output:
00:00.0 Host bridge: Intel Corporation 82865G/PE/P DRAM Controller/Host-Hub Interface (rev 02)
00:01.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to AGP Controller (rev 02)
00:03.0 PCI bridge: Intel Corporation 82865G/PE/P PCI to CSA Bridge (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev c2)
00:1f.0 ISA bridge: Intel Corporation 82801EB/ER (ICH5/ICH5R) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801EB (ICH5) SATA Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801EB/ER (ICH5/ICH5R) SMBus Controller (rev 02)
00:1f.5 Multimedia audio controller: Intel Corporation 82801EB/ER (ICH5/ICH5R) AC'97 Audio Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc RV350 AR [Radeon 9600]
01:00.1 Display controller: ATI Technologies Inc RV350 AR [Radeon 9600] (Secondary)
02:01.0 Ethernet controller: Intel Corporation 82547EI Gigabit Ethernet Controller
03:01.0 RAID bus controller: Silicon Image, Inc. SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)
03:02.0 RAID bus controller: Silicon Image, Inc. Adaptec AAR-1210SA SATA HostRAID Controller (rev 02)
03:03.0 Ethernet controller: D-Link System Inc DGE-530T Gigabit Ethernet Adapter (rev 11) (rev 11)
03:05.0 FireWire (IEEE 1394): Texas Instruments TSB43AB23 IEEE-1394a-2000 Controller (PHY/Link)

Roles and Responsibilities
Before you begin, its best to workout what exactly you want your box to do and the job to fufil.
  • File Server
    The primary role of this box is to replace other boxes and have a central storage, so plenty of hard drives and a 600W PSU from the older box was in order.

    As a file server its on 24x7 so additional roles include

    • Peer-to-Peering
    • Remote Administration Tasks
    • Anti-virus Scans across network shares.

  • WebServer = PHP, MySQL & Apache
    All our family affairs are stored electronically in our special little 'intranet' at home. From calendars to addressbooks (though this isnt as verbose as my mothers hand-written-over-the-years-almost-falling-apart Optus book) everythings stored in this beast of an application I created in PHP several yonks ago. So naturally this will need to be migrated.

  • Subversion Respositories
    All the stuff I do is knocked into SVN, so having a repo is also a must.

  • Folding@Home
    Why put a 3Ghz as a file-server when you have a 1Ghz P3 box as well collecting dust? So you can run folding on it when your not using it. The 1Ghz box will be a test bed for some BSD loving later.

    I started Folding@Home in November last year, and slowly I've climbed up the ranks (thanks partly to folding on ATI X19x0XTX hardware!)

  • Development Box
    As always I need a development box to throw DB stuff into, as well as learn some Ruby & Python sometime. I could do all this in windows but Linux seems to handle memory so much better and it seems a waste when there's 2Gb sitting on this box.

  • Workstation too!
    Yes thats right, I want to use this as a workstation too, so Ubuntu-Desktop is what I'm installing.
Thats all I could think of. I should probably mention now that I started this last weekend, as I work every weekday its the only time I have off to play with things.

Installing & First Few installs...
After installing I consulted the Ubuntu Feisty Guide to setup the first few bits.

Including:
So the next few posts will be based on what I do to the server box, things I find interesting and bits and bobs I install or muck up.

The server will be affectionately named ZEUS after our first Australian Customs Puppy who left us to work in November last year. Our special little guy is missed dearly.