2010-05-25

Dark Days

This is the first time I've ever seen an animated graphical ad right on one of Google's main properties.
And there's no link below the ad to report it as offensive.
And it's in Flash! Argh.

Animated graphical ad on google finance

2010-04-08

Window Management for Compulsive Neat-Freaks

On the Mac, I'm a bit of a SizeUp junkie - it becomes so much an intuitive part of your computing experience that its command keystrokes eventually get baked into your fingers' muscle memory. I bought a license, and after a few months of use, I couldn't even tell you what the key bindings are, my fingers just... know them.

Praise for Winsplit Revolution

As soon as I reach the office though (to sit down at a Windows XP workstation), I feel like my multi-monitor setup is messy and slow in comparison. This week's discovery of Winsplit Revolution changed all that, it's exactly what I wanted it to be - "SizeUp for Windows". Now my obsessive-neatness tendencies are catered to and I can setup beautiful grids of terminals, browsers, and editors.

I'm not really one of those compulsive tweakers and customizers who must absolutely change and configure every aspect of their graphical shell; I prefer when software just gets out of the way, lets me work and read, and doesn't obstruct my feeling of being in control of the machine. Windows itself, without keyboard shortcuts, makes you feel like you're interacting with a computer, not the apps themselves - the power of this kind of tool is that it gives you the illusion of apps reading your mind and moving to the right screen/edge/corner with a few twitches - the OS isn't standing in the way.

winsplit_grid

2010-03-12

Caprica: familiar places

I sat down to watch Caprica this week (Season 1, Episode 6) and I was so surprised to recognize the location where the Graystone cocktail party was held!

It's quite clearly filmed in Gatineau's Canadian Museum of Civilization!

The Graystones dancing (filmed in the great hall of the museum):
Caprica Screenshot (Gatineau)

For comparison, here's a shot of that hall; note the columns and totems in front of the window:

Photo Credit: flickr user Яick Harris

This shot, a few seconds later, prominently features one of the museum's Inuit sculptures. If I recall correctly, it's somewhere up on the second floor.
Caprica Screenshot (Gatineau!)

I wonder when this was shot - it looks like summer outside, which means if the view isn't retouched too much, it was shot before this winter?

2010-03-09

BMO annual report: making your neighbours think you're getting porn since 2010

BMO Annual Shareholders Report

My small apartment building has a single, shared, mailbox. What's running through the mind of my neighbours as they bring in BMO's annual report and leave it on my doorstep?

2010-02-23

15 Minutes With Windows 7


i wanted to like it



Photo by: Flickr / techedlive

Windows is weird, you know?

It's all at once the huge commercial success everyone is using and develops for, and a retarded kid with down's syndrome everyone hates but you kinda-sorta-want to see him do something great.

I've been using Windows XP at work for years, and I've totally skipped Vista. Hadn't even tried it (until 2 weeks ago). Sure, I don't like XP, but I've grown accustomed to its rough edges and I can live with the bad parts (at least once cygwin is installed).

I'm setting up a new build server right now, and the machine just got racked up and paved with a fresh install of Windows 7. I was curious to see what 9 years of development time since XP have brought; I don't really care much about the look, I'm mostly interested in the GUI getting out of the way and letting me be productive. In this case, that means installing the latest JDK, Apache Ant, Subversion, CruiseControl, Cygwin, adding an ANT_HOME environment variable, adding Ant and the JDK tools to the $PATH, etc.

I don't mean for this to be a contrived, unrealistic, test to point fingers... this is really what I need to do today: pull up a few terminals, install some dev tools, setup auto-builds, and get productive. I spend a LOT of time at the command line, so this is the perfect test case for me: how good is the Windows 7 terminal after years with this old one: no tabbed shells, no resizing of the window, awkward copy and paste?
cmd_noresize

Fast forward 9 years:
cmd_noresize_7
Drat.
Still can't resize that window. But it looks prettier, right?

Next let's add an ANT_HOME environment variable for this user and add the JDK tools to the PATH. This is really annoying in Windows XP because your PATH is probably a mile long and you can't resize the window:
path

Maybe it's better now:
path_7
Well, it's more blue. And it... even took more clicks to get here.

So that was a fun first 15 minutes with the latest and greatest.

To be fair, I hear there's some really great system administration tools in there, so I'll stick with it and see... I wonder if there's a way, now, to see which processes have which files open, in a default OS install? You know, like lsof?

Pre-emptive snarky comment:
- Oh, I suppose editing your ~/.bashrc is faster?
- Actually, yes, I'm pretty sure it is. (⌘+space, termi <ENTER>, vi .bashrc <ENTER>)

2010-02-05

What made them think this was OK?

I've gotten SMS from Fido before to announce service or rate updates, and I've found it tolerable because it was probably the only way to reach their subscribers.

This, however, is most definitely not OK:
Fido spam

Fido: Interrupting me with SMS spam that makes my phone ring, in order to ask for money for something completely unrelated to my phone service is not acceptable under any circumstances. It is offensive, unprofessional, and disrespectful of our relationship.

2010-01-13

GPS metadata in iPhone photos

I'm usually faaaar up on the "share everything with everyone" scale, but this actually surprised even me, and I should've known this already. I don't think the behaviour is wrong, but it's definitely something to be aware of. I'm talking about the location data in EXIF tags in photos taken with an iPhone 3G/3GS.

I took the following photo at Bridgehead last weekend. Turns out if you email that photo to anyone from the phone and open it up, there's location metadata included in the file:
iPhone GPS EXIF

OSX even includes a handy little "Locate" button in the inspector. Clicking it opens Google Maps in your default browser, which locates the photo pretty damn near where I actually took it:
iPhone GPS EXIF

Spookily accurate.

The potential usefulness of this is terrific and outweighs the downsides (think "view pictures posted in last 2 hours, taken near this fire"... crowdsourcing the news), but it's definitely worth keeping in mind from a privacy point of view.

2010-01-11

Les Grillades (Ottawa)

Today's food post is a bit weird: I'm giving a big thumbs up to a restaurant without being able to write much about what I had there, for the simple reason that I'm talking about Les Grillades [85 Holland ave], and they serve Lebanese food, which I'm not very acquainted with. So... here's my fantastically uninformed post about a Lebanese brunch.

I went in for Sunday brunch with no idea what to expect, and let me tell you, this isn't a typical Ottawa greasy shawarma shack! This is a real restaurant.

Awesome Turkish Coffee
We started off with a bit of turkish coffee.

IMG_9168
A plate of fresh veggies awaited us as we sat down. Incredulous, I inquired of one of my Lebanese companions: "So you just eat... the onions... raw? Really?" I'm certainly not known for turning away from raw foods, so I dove in carefully with some green onion (verdict: not bad, but apologies for my breath afterwards):
IMG_9167

Then the brunch dishes started arriving. We didn't actually order anything specific, just "brunch". I was introduced to Labneh, a sort of strained yogurt (delicious!):
IMG_9176

Some meat and cooked cheese:
IMG_9179

And what was probably the best dish we tasted: this was made from fava beans, it was extremely tasty, and I was told the name (possibly 'Foul'), but it was unfamiliar and escapes me now:
IMG_9190

All in all, loved it, and at around 100$ for a table of 6, quite reasonable.

2010-01-01

Tourtière HOWTO

Guests and co-workers have asked me to share the recipe for tourtière (meat pie) and for pie crust. I'm hoping this illustrated HOWTO can serve as the reference I point them to.

Pie Crust

These instructions are for 1 crust. You need 2 (top + bottom) per tourtière, so we'll make 4 of these. I make them individually in the food processor. I use the same kind of crust for dessert pies as well, this works for everything.

1.25 cups flour
1/2 tsp salt
1 tbsp sugar
1 small stick of butter, chilled (~110 grams)
~1/8th cup of ice water (as required)

Combine the flour, salt, and sugar in the food processor.


Cut your chilled stick of butter into little pieces.


Start the food processor and quickly throw in about one piece of butter per second. This should take about 10 seconds and break up the butter into tiny clumps. When you're finished, it should look like this:


Add 1/8th cup ice water (or a little more, as required) in a very slow thin trickle while running the processor. The dough will rapidly start clumping up and after about 20-30s will form a single ball. Don't use too much water! It shouldn't stick to your fingers, it should stay in ball shape when handled.


Press it lightly onto a counter, then wrap in wax paper and chill for 30 minutes. When you take it out of the fridge, let it stand for 5-10 minutes so it softens and is easier to work with.


Filling

(makes two)
1 red onion, finely chopped
1 white potato
2 cloves of garlic
2 lbs ground pork
1/2 lb ground beef
1/2 cup beef broth
spices (basil, nutmeg, cinnamon, bay leaf, cloves)

Dice your potato. Cook it in boiling water with a bit of salt for 10 minutes (until tender), then drain and reserve.


Chop up the onion and mince the garlic.


In a large skillet or casserole, cook the onion and garlic in a bit of vegetable oil until tender, about 3 minutes.


Add the pork and beef. Let it cook on high heat about 5 minutes, stirring frequently. Add some salt and pepper, the spices, and the beef broth. Turn down the heat and simmer for 30 minutes, stirring from time to time to make sure all the meat cooks evenly and the beef gets mixed well with the pork. It looks like this when you just start cooking:


After 30 minutes, take the meat off the heat and let it cool down. Go back to your potatoes and mash them up:


Then combine them with the meat


Roll the Crusts

While your meat mixture continues to cool, it's time to prepare the crusts. Flour your work surface and plop down the first ball of dough. I like this cutting board, it has a gauge to help with shaping.


Now roll it out so it's bigger than your pie tin. [Note: never buy a teflon rolling pin like this one, it's junk. Get a proper wooden one.]


Place it in your pan and run a knife gently around the edge to cut off the overflow.


Spoon in your meat mixture into both bottom crusts. Brush some beaten egg onto the edges to help seal the top crust.


Place the top crust on top, and brush the whole surface with some more beaten egg. Use a fork to texture the edges and seal both crusts shut together.


Bake at 375F for about 60 minutes.


Done! Make this 1-2 days before you're ready to eat, it's better after a day or two.