Twitter Updates for 2008-06-21

  • @gavinblair I knew you coud figure it out… #
  • My blog on wordpress.com gets more hits than this one… even though there is more content here… :( #
  • If more people visited my blog I might write more stuff in it… or maybe that would work better the other way around… http://seanja.com #
  • @gavinblair Click on the subtitle of my blog! #

flattr this!

Google Chart Helper 0.1

Jobba the Site is coming along great and is getting closer and closer to being done.

As I am sure you know, Google recently released a chart api, but it is a bit of a pain to generate all of the numbers and put them in the image uri so that Google can generate the charts for you. That is why I created the google_chart_helper for Code Igniter. So far it is pretty beta, and only does one chart type, the pie chart, but I figured I would put it up here to see if anyone has a better way of doing it (or some cool tips that I don’t know about).

Here is how it works:

$chart = new google_chart();
$chart_data = array(2,3,4);
$chart_labels = array(two, three, four);
$width = 500;
$threedee = false;
$colourful = true;
$chart->pie_chart($chart_data, $chart_labels,
$width, $threedee, $colourful);

and the result will be something like:

This was generated a while ago, and I saved it, but generally, Google will create a new chart for you every time you ask for one.

Here is the php file:

my_google_chart_helper

Have fun!

Edit
Here is the file as a txt so you can look at it (or what ever)

flattr this!

Safari Strangeness

I just uninstalled Safari as I had an error from the Apple update manager on my XP machine. It was strange though, because it asked me to make sure that Firefox was closed before proceeding to remove Safari. Is Safari trying to take over my web browsers one at a time? I should have tried to uninstall Safari with all my web browsers open to see what happens… Maybe I will do that tomorrow. It is a little late for messing around with stuff like that tonight.

I also decided to remove Quicktime and iTunes, well mostly because I have no need for them at this time.

flattr this!

Open source car

Well, now there is an open source car called c,mm,n here is a short write up on it:

http://www.engadget.com/2007/03/30/open-source-c-mm-n-car-hits-amsterdam/

Not sure that it is the best idea, what happens when the software running under the hood has a bug?

It is also a lot ugly, oh well

http://www.autoindetoekomst.nl/website/

You need to a flashplayer enabled browser to view this YouTube video

flattr this!