Liquidninja

Archive for the ‘technology’ Category

Blogs, Feeds and Pipes

Saturday, August 22nd, 2009

modified-reader

While it appears that blogging is alive and well, some are of the opinion that feeds and feed readers are dying.

And lately I do find that I spend increasing amounts of time consuming tweet streams on my iPhone which means less time in my trusty Google Reader.

But when I do find some time to spend in Reader, the quality, depth and speed of my information consumption is so far superior to anything else I know of on the net. The main challenges with Reader are knowing what feeds to subscribe to (and unsubscribe from) and constantly re-sorting so that you can easily read your favorite feeds first. (The same thing can be said of Twitter to a large degree, minus the sorting).

Love him or hate him, Michael Arrington’s TechCrunch is arguably a premier news source and usually one of my daily favorites. But it’s a medium- to high-volume blog and recently I’ve found I simply couldn’t keep up with it. I generally enjoy posts written by Arrington as well as most of co-editor Erick Schonfeld’s. I also like about half of the rest of the staff writers there and sometimes the guest posts are worth checking out. Their blog does provide individual feeds for each of the writers but that approach would get me too many feeds and I’d miss out on any new staff and guest writers.

To solve my problem I turned to Pipes, one of Yahoo’s most interesting offerings today. Pipes offers a visual interface to allow you to slice, dice and even glue together any feeds on the net. (It uses HTML5′s Canvas feature to provide an impressive graphical UI.)

Pipes' Sweet Editing Interface

One of my hacked TechCrunch feeds in Pipes' sweet UI

With Pipes, I created two filtered versions of TechCrunch: Editors Only and No Noise. The Editors Only feed (pictured above) contains only posts by Arrington and Schonfeld. The No Noise feed filters out some of the writers that I find report on more mundane stories (it also filters out the two editors so I don’t have dupes). The reason I created two separate feeds is to provide more granularity for my feed reading priority list.

One annoying bug that I discovered on my first attempt at these pipes was that the post author’s name wasn’t showing up in Google Reader. Luckily I worked out a fix for that: add a rename mapping for “item.dc:creator” to “author”. Another minor annoyance with Pipes is that they don’t seem to refresh nearly as often as the original source feeds (e.g., expect up to an hour delay). But that I can live with as I simply don’t have the time to refresh my feeds all day waiting for something new to pop up.

With my two new “piped out” feeds I’m now able to keep up with TechCrunch without spending nearly as much time tapping the j-key in Reader.

Lifetracking with Nike + iPod

Monday, July 20th, 2009

nikeplus2Lifetracking is becoming a popular trend with the tech crowd. Although I’ve never been one to keep a journal, having gobs of personal data to track my own life trends is attractive — as long as it is relatively painless to gather.

I hadn’t heard of the Nike + iPod system until I found the tucked away setting in my iPhone 3GS and then happened read a good Wired article on it. In brief, the system will measure and record your run or walk workout including distance, time and calories burned while letting you listen to music and giving you audible workout feedback. Then iTunes will sync your data to the cloud so you can follow trends. The article inspired me to give it a go but this little experiment would require a few small purchases before I could start.

Setting Up

I’ve been into running off-and-on for about 7 years now but haven’t ever had much luck integrating a music player into my routine. My manager recommended the Tuneband ($13) which is a rubber glove for an iPod and a velcro strap for your arm. Seemed simple enough so I picked up the version for my 8gb iPod Nano G2.

Next I ordered the Nike+ sensor kit ($29). This comes with a sensor for your shoe and a small receiver for an iPod. If you have a newer iPod Touch or an iPod 3GS the receiver part is not needed (it’s built in already) so you could save 10 bucks and get the sensor alone. But the thought of running and lugging an iPhone versus a light Nano was a turn off — unless you’re single or in sales and need to be on the grid 24/7. One side note is that the unboxing wasn’t very pleasant — obviously Apple didn’t design this packaging.

The last thing I needed was something to affix the sensor to my shoe. One could simply do as Nike intends and get a pair of compatible Nike+ runners (which have a special compartment under the insole). But since I haven’t worn Nikes since grade school (Agassis FTW!) this dedicated New Balance guy needed something else. After researching online I settled on the Marware pouch ($9) which looks pretty slick and works great. Simply insert the sensor face down (this is critical) and strap tightly to your laces. Ready to rock!

Marware's shoe pouch

Marware's shoe pouch

The Tests

My first test consisted of a brisk walk to the post office on Saturday. I was more interested in running but I had a pack on my back full of packages to mail so a brisk walk would have to do. I picked a playlist (Oakenfold’s latest) and set off and everything just seemed to work.

On Sunday I tried a short run. I decided to skip calibration because I thought I could do it after the workout. Unfortunately after my run I found out that is only possible using a G4 Nano or a Touch/3GS — annoying. I later used the awesome Gmap Pedometer to measure my run distance and it turns out the Nike+ was off by about 10%. I hear this error is somewhat enhanced when you use a shoe pouch so for my next run I’ll do a proper calibration by running a known distance.

At one point early on in my run the workout stopped because the sensor got dislodged (either by the tuneband case or by not inserting it fully). This resulted in one actual run being split into two workouts which is a little annoying. Unfortunately there is no way through the iPod software (or later through iTunes or Nike+) to merge two workouts into one. Next time I’ll try having the iPod upside down in the Tuneband so the sensor is at the top. I think it may be easier to read the screen that way too.

Impressions

The first notable feature is the pleasant female voice feedback (male is available too) that fades into your song and reports your current time, distance and pace (cool!) whenever you hit the center iPod button. There is useful pause option if you get stuck at a red light or want to stretch. They also added a nice touch when you beat your longest workout record: a famous athlete’s voice will congratulate you.

The Data

Picture 3

One part of my first Nike+ run

You can view some workout stats on the iPod itself but when you next sync it with iTunes, you’ll be asked if you want to upload the data to nikeplus.com. It’s pretty easy to get going but you’ll then need to create an account on the Nike website (ugh, more spam… I mean marketing opportunities). The Nike website immediately shows your latest run in detail and it’s pretty cool to see your running speed tracked over time. Unfortunately the site is all Flash and it’s usability could stand to see some major improvements. It also has lots of social components like public goals, contests, avatars etc. which aren’t too appealing to me at the moment.

I’m not sure I love the idea of a sporting goods company storing my personal lifetracking data. I found another online option called runnerplus.com which is supposedly more advanced but also very social. But since all of the pedometer data is stored on the iPod in XML (you can find and even edit it if you want to) there are other options such as the Neki++ open source desktop app that I’m eager to try out. I’d love to find a self hosted, open source web app so I can both own my data and easily share/compare with friends and family.

Overall this product is very cool and adds a new dimension of fun to walking and running. I’m looking forward to using it some more and I wonder if it will introduce a beneficial Hawthorne effect on my exercise regime.

Update (8/8/2009)

My next run was more successful. Before I started I used Gmap pedometer to measure exactly 0.25 miles and then ran and walked it to calibrate. This corrected the Nike+ by about 15% for both walking and running! I also tried wearing the TuneBand upside down which worked out very well.

The Neki++ App

The Neki++ App

Later, I used Neki++ to pull and display my workout data locally. It doesn’t have a lot of polish visually or feature wise (e.g., no way to switch out of metric measurements) but it worked without a hitch and provides much of the same workout functionality that the Nike website does — without having any data privacy issues.

My iPhone’s Getting Blue

Tuesday, June 16th, 2009

I am eagerly anticipating a new iPhone 3G S (and OS 3.0) later this week as I write this post on my still excellent first generation iPhone. I am brewing a separate post about mobile phones but I wanted to share a brief observation: most of my favorite apps have blue icons.

A few blue apps worth mentioning:

WordPress – using it to tap out this post in bed right now

Pandora – plug into your stereo and be amazed!

Twitterific – an excellent, powerful Twitter client

Shazam – great accuracy at identifying songs playing around you (I’ve discovered neat stuff on the radio with this one!)

Google – voice search can be super fast and easy. Trying to train myself to use it more.

Backups. The right way.

Saturday, June 13th, 2009

airport

AirPort photo via Engadget

Last week the inevitable happened: my backup drive failed. I took it as an opportunity to set things up right. (Note: I firmly believe in also backing up to the cloud but only for DR purposes.)

My existing backup solution was a WD 500GB MyBook attached to an old (unsightly) desktop. The box ran XP and was configured to “wake on lan” and then hibernate after a couple hours. Not bad but there was a glaring usability problem: backups were manual. (This setup cannot support Time Machine’s automated backups on the Mac and the wake-on-lan required a manual step for all backups.)

What’s my new ‘proper’ solution? Two new pieces of hardware: the Iomega Prestige 1TB ($100) to replace my dead MyBook and an AirPort Extreme router ($180). Yes, a single Time Capsule gets the same result but it’s a much worse choice since it’s over $200 more and less future proof (for upgrades or disk failures). Update 7/31: Apple just cut their TC prices to be much more in line with my preferred option — but I still wouldn’t get one for the other reason.

prestige

$100 for a TB!

The Iomega arrived the next day from Amazon and I first set it up with 2 partitions: NTFS and Mac OS Extended (Journaled) to support Time Machine. Worked like a charm but the physical cabling to each laptop for each backup would get anoying fast.

That’s where the AirPort Extreme comes in to save the day (4 days later via the Apple Store online). This router replaces my very trusty Linksys WRT-g and features nice performance improvements of wireless-n and dual band support. But the killer feature is the Airport Disk sharing — simply plug in any USB drive and access it from any host on your network!

A surprising bonus of this setup is that the ‘airdisk’ works on Windows too and it even provides a Fat32 proxy to the Mac file system. Once I noticed that, I repartitioned the Iomega as a 1TB Mac partition that’s shared between my OS X and Windows hosts (while those last around here!)

Now I can finally say goodbye to manual backups (and hello time machine). Plus, I can retire the last standing clunky desktop mini tower in my home. Oh how ubiquitous they once were.

…and onto the Mac

Sunday, May 10th, 2009

apple

At work, we have a program in place which lets employees swap their PC laptops in for MacBooks. A couple weeks ago my number was called and since I’ve been getting a bit fed up with my primary computer, a now sluggish 3 year old Dell, I decided to take the plunge. (Hardware wise the Dell is fine — the slow and steady software rot of Windows is mostly to blame). Needless to say, drastically changing one’s primary computer is a pretty big deal for most people, let alone a software professional.

This isn’t quite my first foray into the world of the Mac. For over a year I’ve been administering my team’s Mac Mini as part of our browser test lab and last Christmas I got my wife a sweet Mac Air which she loves and I’ve helped her learn to get around on. But this is the first time that I’ve made my primary computer a Mac and so far I’m digging it. (It probably doesn’t hurt that I’ve been a mega iPhone fan for more than a year.)

For the longest time I’ve been decidedly anti-Macintosh and pro Win/PC. My how the tides have turned! Growing up, my first 6 computers were all DOS and Windows based PCs. Windows 3.x,  Win95 and DOS will always have a special place in my thoughts and I strongly admire Microsoft for what they have done for the entire computing industry. But as software technology keeps moving online (into the cloud) it feels like Microsoft is constantly playing catch up. Their massively critical flops like Vista and the Zune are now just barely offset by productivity stalwarts Excel and Word. But even these are being threatened by the likes of Google Docs, iWork and OpenOffice. For the sake of competition, let’s hope that Windows 7 helps them gain back some of their former glory. 

My first experience with Macs (not counting the green screened one from grade school daycare) was in first year Computer Science at University of Waterloo.  The funky iMacs in the “Mac Lab” were what the Mathematics frosh (aka freshmen) were supposed to use.  I used them a few times but quickly learned to stay away and entered that lab only to print — those machines seemed awful to me. I much preferred to “work from dorm” on my own PC and either use my Linux partition (Slackware!) or telnet into the Unix machines on campus. Much better.

So, how did they make ‘em good?

Apple, under returning CEO Steve Jobs, did two critical things to make Macintosh computers as desirable for computing professionals as they are today: OS X and Intel based hardware. 

The Macintosh Operating System 10  has Darwin at it’s heart, an open source UNIX kernel. In my experience all good programmers will tell you that a UNIX OS is technically the best you can get. It has extreme stability, great performance and the best powerful command line interface. OS X also had the Aqua interface which added scalable graphics, anti-aliasing, transparency, shadows and animation. And they weren’t shy with these UI features.   

Moving to Intel CPUs in 2006 was also an excellent move because of the great success and market penetration of the X86 architecture. This means one can easily run Linux binaries on their Mac or dual boot to Windows or another Intel compatible OS.  It’s hard to disagree that Intel simply makes the best, fastest, affordable chips of this day and age. This is what tipped the scales for me.

The other thing that’s hard not to love about the Mac is the premium hardware. Things like magsafe (the power cord uses a magnet to pop in and out with ease and safety if you trip over it), a nice un-brick-like power brick, fantastic LCD monitors and great keyboard keys really are worth the extra cost and show an attention to detail that most hardware manufacturers just don’t “waste” money on developing.

The trackpad and its gesture support is another thing Apple’s focus has nicely paid off on. Once you start using two finger scroll, and two finger tap (for context menus), you’ll realize the mouse isn’t quite as vital as you once thought.  

Keyboard Junky

For me, the toughest thing by far on making the switch from PC to Mac is my dependency on the keyboard. Macs were really designed for the (one button!?) mouse. Lately Apple has been getting better at keyboard support and they were very smart for making Alt-Tab just work (Cmd-Tab switches apps like just like Windows) since that’s probably the most hard-wired keyboard command for all Windows users.

My biggest annoyance is the loss of Home, End, Page up and Page down keys. To get these key functionalities you will need to use a two key combo (e.g., Cmd+Left arrow instead of Home or Fn+Up instead of Page up). This is bad because not only do you need two hands but they differ slightly between apps!  I also dislike how Cmd+Left and Cmd+Right is overloaded in the browser to mean Home or End if you’re in a text area and back or forward browse if you’re not. Too much thinking is required… I find I’m reaching for the mouse or trackpad more often which simply slows me down.

I also wish one could navigate dialogs using accelerators like in Windows. Some apps have this built in using Option + letter keys but this doesn’t work if the dialog has a text box focussed upon load since Option + letters is also used for extended character typing. 

On the plus side, I much prefer using my thumb for hotkeys since Cmd (where Alt is on a PC) is the main hotkey initiator. That key placement feels far more natural than using Ctrl with my pinky (which is the initiator for most hotkey commands on a Windows PC). It’s kind of interesting that on Windows, the Alt key is now almost forgotten which is sad given it’s prominent position on the PC keyboard.

Third Party Apps

my menubar

The built in apps for OS X are nice but everyone knows you need extra software to get real work done.

IntelliJ by JetBrains is my IDE of choice. I love its HTML/XML/JSP editing capabilities (which Eclipse just can’t seem to get right) as well as its built in support for Tomcat and Maven. It works on the Mac just as it does on Windows which is also great.

For text editing I’ve been impressed with open-source Smultron. I’m not using it for code editing but as a scratch-pad it’s working out nicely. (And of course, it doesn’t do everything that metapad can, but I’m sure it does stuff that metapad cannot ;)

The Butler app was something I discovered to solve a particular problem: make F2 edit a cell in Microsoft Excel. Butler allows you to set up hotkey interceptors for specific Apps. It also does a bunch of other stuff that seems cool, like a clipboard storage menu but I haven’t delved into much else yet.  

For a shell terminal, iTerm is nicer and far more customizable than the built in Terminal app. And I’m using iStat Menus (pictured above) to monitor memory and CPU. 

I’ve been rather dissapointed with Microsoft’s Office suite on the Mac as well as Adobe Fireworks CS4. Mac Office is not nearly as full featured or customizable as the Windows versions and, yes, Entourage sucks way more than Outlook. Fireworks could be great but somehow Adobe forgot to test Fireworks CS4 on the Mac. Shame on them.

Know of any other nice (preferrably free) OS X apps? Leave a comment — I’d love to check them out.