Log in

No account? Create an account

Ben — LiveJournal

Oct. 22nd, 2006

11:22 pm - more metros than jaq

Got at b3co.com!

Feb. 4th, 2006

11:16 pm - Blog blog blog... over here

So I've jumped ship as it were and am now mostly blogging on my own site, so point your browser to http://benno.id.au/blog/ (or
your aggregator to http://benno.id.au/blog/feed/)

Dec. 9th, 2005

01:32 pm - NSW geocoding

So my maps stuff now lets you look up addresses in NSW.

Oct. 19th, 2005

07:10 pm - Posting from the air!

I'm currently flying somewhere over the black sea, en route to London. Singapore airlines is really cool and have the interweb on board. Rock!

Jul. 14th, 2005

09:20 am - GIMP and colour depth

So I'm playing with a new embedded board, which has a nice 16-bit 640x480 colour LCD. So to make
a nice splash-screen I fired up the GIMP did a nice gradient effect and some text. This looked
really nice on my 32-bit colour display, but once you move to a 16-bit display the gradient is
no longer nice and smooth.

So all I want to do is convert my 24-bit colour RGB image to a 16-bit colour RGB image, and get the
GIMP to do dithering. This is something that should be relatively straight forward. Alas I couldn't
find any way to do, and neither could anyone else in the lab.

I ended up using convert, which worked pretty well:

convert -treedepth 5 -colors 65535 -dither logo24.bmp logo.bmp

But it still amazes me that GIMP can't do this. If anyone knows how to do it please let me know!

Here is the image if you want to give it a try.

Jul. 8th, 2005

06:37 pm - OMG! You would not believe the picture of a shark I saw today!

In fact this whole shark site is pretty hilarious. Don't even ask why I was googling for sharks.

Jul. 7th, 2005

11:44 am - More GoogleMaps fun.

I've updated my google maps interface again.

There is a new tool "Handy Places" which gets a bunch of different map views from a backend database and gives you easy access to them. Of course I still need allow people to add their own bookmarks here, but that should be doable soon.

Length finder has some rudimentry UI for saving stuff, but this doesn't actually work yet :). Otherwise I still think its the best length finder available for google maps at the moment.

Current Place has been updated to correctly give you an idea of the size of the earth you are currently looking at. The coolest thing is seeing how the map gets distorted as you get closer to the poles.

Jul. 4th, 2005

02:45 am - More google maps fun.

OK, the google maps hacking continues. The latest incarnation is . This basically provides a much nicer UI and gives access to a couple of other cute tools.

Javascript has certainly come along way from the put-annoying-stuff-in-the-status-bar days.

Jul. 2nd, 2005

01:23 am - Google Maps Fun

Google maps is fun. Google maps API is even more fun!

Just so many cool things to do. My first Google maps hack lets you draw routes on the map (or sat image) and print out the distance associated with it. I've got some other cool things coming up, but I thought I'd get that one out now.

Oh, it is currently centered on work's new building, but zoomed out to see most of the city.

May. 12th, 2005

02:01 pm - Python Generators

Didn't understand the coolness of python generators today. I wanted to generate a list of
files in a directory. Previously I had to write a class and do __iter__ tricks. Now I can
simply do this:

def file_walk(path):
    for dn, ignore, files in os.walk(path):
        for fn in files:
            yield dn + os.sep + fn

Navigate: (Previous 10 Entries)