Navarr's Tech Side The Technical Side of my Life

19Mar/101

Dear Chrome: What the Hell is This?

I love that you finally added previews for each of your tabs, that amazing Windows 7 feature that all of your competitors adopted before you…

But what the light is this?  Why on earth are there this mini-windows, and why are the preview windows themselves so faded out?  Not to mention it doesn’t even WORK when you have Chrome minimized…

I love you Chrome, but you need to fix these in the next dev release.  NEED.

16Mar/102

MySpace Outlook Social Connector

Its simply amazing that the MySpace Outlook Social Connector was released 8 days ago and nobody has noticed yet, except for a few people that still care about the old social network.

For me though, MySpace’s Social Connector has really highlighted at least one bug with OSC and, well, multiple problems.

The one bug is that I can not connect to both my Linked In account and my MySpace account at the same time.  Why?  Because I use only one email address for both of them, and you can’t connect with the same username more than once, even if you're connecting with separate service providers.  This obviously needs to be fixed.

As for problems: I now have a MySpace Contacts list, which is really awesome and everything, except that it only works with MySpace.  It only uses their MySpace email address, so if I casually email someone that has a MySpace, I sincerely doubt it’ll show up at all in the OSC, nor will it tie their feed if I’m a friend to them to their email because the only email that shows up in my contacts is their @myspace email.  Quite useless, especially compared to Linked In.

What’s more bothersome is how badly this connector was programmed.  The installer wanted to create its own directory in my start menu (I have no clue why, you’re simply a social connector, why do you need a whole folder in my start menu?  Wasting Space?  Uninstaller?  What the heck do you think Add or Remove programs is for??) and when connecting to MySpace it was substantially slower than connecting to Linked In.  With Linked In, it was almost immediately connected and downloading, but with MySpace it just took FOREVER.

Obviously though, this is a pre-release version, and hopefully they’ll iron out the problems with both Outlook Social Connector and the MySpace Connector before Office 2010 is released.

15Dec/090

Hunting Down the Bugs – TwCLI on Chrome for Linux Beta

This is the first post of a new series, looking at some of the odder bugs encountered while developing for the expanding Web, no matter how basic a bug it may be.

Thanks to twitter user @paperfairy, a bug was discovered on my Command Line Twitter Client, TwCLI.

For some reason, when submitting a command in Chrome for Linux, the page would simply refresh, and the command would never be sent.  At first, I had no possible way to track down this bug.  I didn’t have a linux box (with a GUI, anyway) so I simply told him that it was unfortunate, but it’d have to stay a bug.  Until a recent post on lifehacker brought my attention to Portable Ubuntu. I immediately installed it, opened up the Chrome website in Firiefox, installed Chrome Beta, and headed over to TwCLI to see what was amiss.

Of course, it was a single line in a detection script to send Geo-Data to Twitter (as long as the user approved it, of course):

else if(google.gears) {

This single line was throwing an exception I hadn’t encountered in other browsers – Google wasn’t defined.  Oddly, I thought it would handle that properly, since google wasn’t defined, it would just skip over it, but instead it threw an error and halted all further javascript code.

The fix was simpler than tracking down the bug, I simply had to add this to the start of the javascript code:

try{ if(!google) { google = 0; } } catch(err) { google = 0; }

And voila, I had both a check for google, and a catch if it decided to throw errors while checking for it.

Whether this is a Chrome bug or not, I don’t know – I simply don’t know enough about JavaScript in order to say so either way.  But, are undefined variables supposed to throw errors, or are they simply supposed to return false?