New Drive

January 8th, 2009

Picked up a 500GB 2.5″ drive and an Astone enclosure today. Pretty sweet. Unfortunately it was about $30 more expensive getting it from iStore than from MSY but convenience of getting it on your lunch break is a big trump card.

Easy checkbox toggling with jQuery

January 8th, 2009

So I needed to have a regular form checkbox toggle the visibility of a div in my webpage today. It turned out jQuery supports the concept of toggling visibility via .toggle(), which I didn’t realise until I looked it up. And so you can support clicking or even keyboard changing of the checkbox via the change event:


$("#checkbox").change(function() {

$("#areaToToggle").toggle();

});

Pretty sweet, obviously the div should be hidden to begin with. We could add another line after the change event:


$("#areaToToggle").hide();

Too easy :-)

Cooking Attempto! Trout+Mushrooms+Omelette

November 23rd, 2008

Ingredients:

  • Eggs
  • Mushrooms
  • Trout
  • Pepper
  • Random herbs

Method:

  • Cut the trout and mushrooms into segments
  • Oil the pan and pour the egg in after swirling them with a knife gently
  • Gently fold over the edges of the omelette as it cooks and keep the fluids from spilling out
  • Pepper the omelette then fold the whole omelette in half
  • Start cooking the trout and mushrooms in the other half of the pan
  • Turn the trout and cook further, finally serve the omelette and trout
  • Let the mushrooms sizzle for another minute and serve with the rest

Swirl the eggs with a knife – do not beat them when making an omelette.

Chopped the trout and removed the bones.

Kept the mushrooms cooking for longer.

Nice!

Tadaa:

Next time I may try adding a dash of milk and some parmesan to the eggs for extra flavour. Overall it was quite a delicious breakfast :-)

iPhone and Google Streetview

November 23rd, 2008

So iPhone update 2.2 has added Streetview to Google Maps. You actually need to specify a location first in order to be able to swap to Streetview. Which is done by clicking the red man next to the address, shown below:

The last one reminds me of the show ‘Fringe’:

The interface was quite responsive and fills the whole screen. It allows for zooming, vertical and horizontal panning. Swish!

Google Voice Recognition

November 22nd, 2008

After realising the newly updated Google Mobile iPhone app was failing to perform its voice recognition because of the university proxy I tested the system and found it to be quite accurate:

  • “university of melbourne”
  • “interactive system design”

However I also got the following response:

  • “tea green way.com”

Damn you google!