Sunday, May 25, 2008

cmd key confusion


When I picked up an old 12" PowerBook G4 last fall (just in time for the launch of Leopard!) I wondered how long it would take to become familiar enough with keyboard shortcuts under OS X such that they'd become reflex actions. Not long at all, as it turns out - especially once I worked out that the Command key on a Mac is similar in concept to the Windows key on a PC.

After several months of switching between Windows PC (at work) and a Mac (at home), I find the daily transition fairly seamless - with one exception. I use keyboard shortcuts fairly often when browsing, especially to jump to the browser Search and Address fields. Jumping to the Address field in Safari is Cmd-L, so after an evening of web surfing I find the first thing I do the next day at work on my Windows PC is hit the Windows-L key combination - which logs me out. It's been months now, and I still do this every two or three days! Argh!

Sunday, May 18, 2008

ted, this case is closed

I've been excited about receiving a TED 1001 home energy meters for two weeks now. I downloaded and skimmed through the TED manual to see what the installation requirements were. I Googled online forums to learn how I might connect the TED display unit to my home Linux server and archive energy data. On Thursday, I received a new TED on loan that I could use for the energy efficiency experiment I had in mind. Even better - with the Victoria Day long weekend, I figured I had plenty of time to install the metering unit and test out communications over the power lines to the display unit.

Then I opened my electrical panel and found this:



The main service conductors come into the panel from the top left, just below the yellow sticker. These bad boys are thick and sturdy, and placed far too close together for me to get the CTs clamped on. Better yet, I can't de-energize these cables in order to feed them through the CTs - that would have to be done on the BC Hydro side of the circuit.

So that's it - the monitoring experiment case is closed. BC Hydro does offer reasonable historical billing data, however, so I may still grab coincident weather data and run a quick model to check the efficiency of my home. The TED will be passed on to some lucky colleague at work to play with - I hope their electrical panel is easier to work with than mine!

Friday, May 09, 2008

email purgatory

As mentioned in a previous post, I'm a fan of desktop search engines like Google Desktop. With files at home and at work numbering in the tens of thousands, I can't imagine any other way of quickly finding what I'm looking for. I often still organize files into directories by project or category, but also often find that even if I remember exactly which folder I've placed a file in, it's faster to retrieve it via search rather than drill down five folders to get it.

I used to have rich hierarchies of folders for storing work email messages, but now I rely primarily on just two - Keepers and Purgatory. The vast majority of messages I receive at work are either (a) messages I can scan and delete immediately, (b) messages I wish to keep for reference forever, or (c) messages I wish to keep for reference but which have a limited "shelf life". The realization that this third "Purgatory" category exists has helped me prune down my inbox tremendously. I found that I wanted to keep many messages with information that was useful over a span of weeks or months, but that after that period, the information was "stale" and no longer needed. I now drop such messages into the Purgatory folder, which has a simple Outlook archive rule - delete all messages older than 6 months. This sliding 6-month window lets me keep messages while they are useful and prunes out those that are not.

A final note - a number of new tools are arriving to help people organize and find their email, one of which is Xobni, an extension for Outlook which uses social connections gleaned from your email to help you find messages and information about contacts. The Xobni Insight extension beta recently went public, but I had a chance to participate in the private beta a few months ago. My verdict? Although the organization by social context was cool and the email stats were spiffy, I still found my self gravitating towards Google Desktop to find messages. If I wanted to find a recent message from Joe, I found it faster to hit CTRL-CTRL to bring up the Google Desktop search box and type "from joe" rather than find the contact in the Xobni sidebar in Outlook.


Sunday, May 04, 2008

franken-coder

My first computer (everyone has impossibly fond memories of their first computer, don't they?) was a Radio Shack Colour Computer. With 16k of RAM. For the kids out there, that's not a typo - I'm talkin' 16 kilo-bytes of space to drop code into. Friends helped me double that to 32k by piggy-back soldering additional DIP-style RAM chips on top (except the address/strobe pin - that we bent and connected to some address/strobe line on motherboard). Yup - those were the days...

The reason I wanted a computer in the first place was so that I could code - I'd been fascinated with the concept of creating my own programs ever since buying a book on programming in Basic and reading it cover-to-cover the year before. I messed around with several little programs from that book (like Hunt the Wumpus) but the program I was most proud of creating was a Tron-style light cycles game for two players. I remember it taking forever to get several timing delays just right!

I never really coded much after leaving high school. Sure, there were Fortran and Pascal and other courses that were part of the standard engineering program, but those courses were never fun in the way coding the Tron light cycles game was. Assigned projects were just that - assigned by someone else, to write a program that didn't "scratch an itch" that I had myself.

The release of Google App Engine has sparked my interest in programming again, especially a style that I'll call franken-coding. I expect many see cloud platforms such as GAE as low-cost ways to host the comprehensive applications that they wish to write and deploy. I'm more interested in the new kinds of mini-applications that will be enabled by the zero-cost approach taken by GAE. Think Unix-style tools, but for the cloud - the equivalent of grep, cat, etc, but for web applications. While some folks may draw satisfaction writing everything from scratch, I'm quite happy to stitch together such mini-applications to accomplish a task.

I'm tempted to make my first GAE application a Tron light cycles game...

Saturday, April 12, 2008

embedded google app engine

Sometimes I get the craziest ideas whilst talking an hour-long walk by my lonesome. Here's one of them.

The recent launch of Google App Engine has all a-twitter about the possibilities offered by cloud computing - especially when the starting cost is zero. I heard the news the day after GAE launched, which means I was half a day late in trying to get one of the 10,000 accounts open during the initial beta release. I did notice, however, that anyone could download the GAE SDK, which, as one of the GAE help pages says:

...includes a web server application that simulates the App Engine environment, including a local version of the datastore, Google Accounts, and the ability to fetch URLs and send email directly from your computer using the App Engine APIs.

The SDK runs on any computer with Python 2.5 and comes packaged for Windows, Mac OS X and Linux.

These facts were tumbling in my mind during my walk when I switched to thinking about embedded device projects I'd like to work on sometime. I switched to Tomato firmware on my Linksys WRT54G router some time ago, and I've been interested in turning a Linksys NSLU2 (aka "the slug") into a Linux box for dedicated applications (web server, iTunes shared library, etc).

Then the statement above from the GAE help page popped into my head: "The SDK runs on any computer with Python 2.5...". Wait, WHAT? A few quick Google searches later confirmed what I expected: several Linux distros for embedded devices have optional Python 2.5 packages. Another quick check shows that the GAE SDK is less than 3MB in size.

Question: does this mean I can essentially run the GAE development environment on an embedded device? And if so, what the heck would you use that for? I'm not sure yet, but it would be fun to be one of the first to run GAE applications on my router...

Monday, March 31, 2008

the other 13%

I wonder how many households in Canada have access to cable and/or satellite TV, and how many depend on over-the-air programming? Ten years ago such questions may have popped into my head and gone unanswered, but now the answer is 5 minutes away via Google.

The title of this CRTC report, "How Many Canadians Subscribe to Cable TV or Satellite TV", is exactly what I was looking for. Both Nielsen Media and StatsCan numbers are remarkably similar - something like 87% of Canadians subscribe to cable or satellite TV. The other 13% get whatever scraps are broadcast over the air.

I'm now one of the other 13%.

I had reduced my subscription to Basic cable some time ago because I found I wasn't watching any of the premium channels in the more expensive subscription packages. Today I cancelled Basic cable because I can't even remember the last time anyone in the family watched anything on any cable channel.

I haven't dropped Shaw entirely, though - they still provide me with my precious Internet link. The only way I'll be giving that up is when someone pries it from my cold, dead fingers.

Saturday, March 15, 2008

tasty google bookmarks

I opened a del.icio.us account as soon as I read about it, and posted my first bookmark on November 4, 2004 - an overview of 10 alternatives to the recently-killed bittorrent search engine Suprnova, as it turns out. Since that time I've continued to post my bookmarks to del.icio.us, amassing a total of 900+ to date.

I was posting a new bookmark recently when it suddenly struck me: I couldn't remember when I had last used del.icio.us to retrieve a bookmark. In fact, I view my friends' shared bookmarks on del.icio.us (via RSS) far more often than my own!

I find that I've adopted a search frame of mind for information retrieval - and not just for new material. Having used Google Desktop for several years now, I tap CTRL-CTRL instinctively to search for and retrieve documents even when I know exactly where they are. And I've increasingly used the same approach for web sites that I've bookmarked - Google search is so fast that I can jump to a well-known site more quickly than I can type the URL! There are, however, some gems in the 900+ bookmarks I've collected in del.icio.us that I've forgotten about. Many times I've "rediscovered" sites when I attempt to bookmark an interesting web site I've found, only to discover that I had already bookmarked it in the past! But I find I can't break the Google search habit I've developed, even when a quick search of del.icio.us might turn up exactly what I'm looking for.

Enter Google Bookmarks. I had given this new Google feature a try when it was first released, but found it didn't have several key features (like tagging) that made del.icio.us so valuable to me. Google Bookmarks has since added tagging, but otherwise had no additional "killer" feature to tempt me to switch. Until I read this snippet on a blog, that is.

The most important features that set Google Bookmark apart from other services is that all your bookmarks are private (nobody else can see them) and fully searchable. You are no longer restricted to the title of the page, the description and the URL - you can search the entire page.

Whoa - hang on. GB indexes all the text on all pages I bookmark and makes it all searchable? After some testing, I also found that GB bookmarks are included (and highlighted) in Google searches (when I'm signed in) and in results-as-you-type in the Firefox search box. I was hooked.

I've since switched to GB for all of my bookmarks, and now I see them pop up all the time when I'm searching for stuff using Google. Both the bookmarklet and Google Toolbar tools for bookmarking support tags and auto-suggest tags when you bookmark a page, but not at elegantly as del.icio.us does [sigh]. There's no doubt, though, that I get more out of my bookmarks now that they're woven into my "search reflex" approach to finding information.

Saturday, January 12, 2008

my social outlook

Email has oft times been called the "killer app" that drove exponential growth of the Internet, but I'm fascinated by how little my "email experience" has changed over the last 10+ years. My workflow for writing and reading email in Outlook 2003 at work is little different than the workflow I followed when I first started using email on bulletin boards in high school! The last major change in the way I handle email came when I switched over to Gmail for all non-work email two years ago - I now use tagging and search to manage email. In fact, Google Desktop has done more to change my work email habits than anything in the Outlook client - I use just a few folders to hold all email and simply search to find what I'm looking for.

Xobni Insight piqued my interest when I read about it in this Lifehacker posting earlier today. I've read postings in the past about attempts to apply a social network approach to organizing and presenting email, but this is the best realization of that concept I've seen to date. Xobni Insight is currently in limited beta for Outlook 2003/2007 - I've signed up and I'm anxiously awaiting an invitation to give it a try. I'll follow up with a posting about my experiences with Insight once I have it up and running.