Archive for the 'General' Category

Ghetto. Zed may be on to something…

Regarding Zed Shaw's "Rails Is A Ghetto" Rant
A glimpse at our SVN log.
Please note that this is a private Rails project's SVN log - this NOT from the repo of any open source project. This is supposed to be funny... Ha Ha? A coworker of mine coincidentally came across this today while looking at our revision history. The "Ghetto." comment actually has nothing to do with the code itself. This is the revision history of umb.rb; a homegrown, rails-independent library for integrating with an external vendor from within a Rails app. The comment is bore of the developer's frustration of the vendor's "Ghetto." API. So laugh... Haha...
Oh yeah... I love Ruby and Rails... but I'm probably Ghetto.  I'm OK with that.

“Mayday Mayday Call a Plumber” - Yahoo! Pipes Meets Infinity

I was pretty amazed two days ago when I was prompted to visit Yahoo! Pipes only to find my name on the main page because my first pipe, "Search Google & Yahoo Simultaneously" had been run 19,000+ times; making the top 5 most run pipes. It's really a pretty simple pipe, so it'd be foolish of me to take any credit as it should really go to Ben Hammersley for his "Google to RSS" service that the pipe employs. (Ben; if you're reading this... I'd like to apologize for the heavy use on your Google API key. I didn't notice the option to provide your own, nor did I ever expect this pipe to be used so much)

Inspired by the "success" of my front page pipe, I decided to mess around on Yahoo! Pipes a bit more to see what else I could come up with. By the end of yesterday evening, I had only the idea to implement recursion with pipes. Was it a good idea? That’s questionable. Was the implementation good? No. Actually, I didn’t get much further than an incomplete Pipe named, “Recurse.” The recursion experiment was cut short when I gave the pipe a test spin prior to adding the base case logic; thus resulting in an infinite loop. No big deal right? The pipe execution will just timeout, and I’ll continue editing the pipe. Well… the pipe did timeout in a sense. It just stopped, so I clicked on “Edit this Pipe” to continue work. This is when I realized that it wasn’t just my “Recurse” pipe that timed out, but all of Yahoo! Pipes had taken a break. This happened around 9:20PM CST, on Monday, March 7, 2007. Pipes was down for the rest of my evening. I was a little concerned that “Recurse” had been the cause.

The next day, I noticed the Yahoo! Pipes Blog had posted a couple entries about unplanned downtime and a kind reminder that Pipes is in Beta. I don’t know what I had expected, but there was nothing about the outage being caused by a user created pipe; less the user that caused it.

Last night I logged on to Pipes, created a Google Search pipe (sorry Ben, I really didn’t notice your API key option until writing this), played around with the idea of employing Google Translate to translate feeds (a bust), and then finally… had another look at “Recurse.” I ran it. It worked. Yahoo! Pipes was still up. It was obvious that “Recurse” hadn’t caused the outage the night before. If, by chance, it had – it would have been a quick fix (or so says the guy not working on the project); put an limit on the number of times a Pipe can invoke itself within the context of the original execution. The easiest way to do that (again, from the guy not working on the project) would be to catch it at the “pipe definition level.” What about catching the problem at the HTTP request level by checking the referrer? Curiosity got the best of me, and I wanted to know. “Recurse” was modified to do the same as before, but instead of invoking itself, it would invoke a new pipe, “InvokeRecurse” which took the same input as “Recurse,” but invoked “Recurse” using the Yahoo! Pipes, “Fetch” pipe that takes a URL – In this case the “Recurse” URL with its query parameter. I ran the revised pipe around 9:30PM CST on Tuesday, March 7, 2007 and the exact same thing happened. The “Recurse” pipe just timed out. I clicked edit and that timed out too. Yahoo! Pipes was down again, but only and hour or so this time. Either Pipes is experiencing problems with some 9:30PM CST scheduled program (orsomethinglikethat) or it’s not prepared to handle infinite loops. You decide.

I do want to thank the Yahoo! Pipes team for a fun and innovative product. They’ve done an excellent job and deserve much credit. I’ll try to quit breaking my toys. I’m sure the best is yet to come as it’s only in Beta.

Goodbye Yahoo! TV - Hello TV Guide

I've been a long time user of tv.yahoo.com/grid - until recently. I don't have cable television. I don't have satellite either. I've got a big set of rabbit ears in my attic. My complaint is not the lack of channels, how well standard definition broadcasts view on my 16 year old 25" Sanyo TV, and especially not the price; Free. What the rabbit ears don't get you is a nice on screen TV schedule. I've been using http://tv.yahoo.com instead. It was simple but very functional.

Yahoo! TV got a face lift... it might even have new features, but I wouldn't know. I only used the TV schedule. I won't use it anymore though. The TV schedule was part of the botched operation. It's now potentially pretty and very "Web 2.0ish"... minus the usability improvements at the heart of #2.

My critiques complaints:

  1. Time Zone: As a software developer, I understand that localization is no fun, but if you let the end user select a locale using a zip code and then display the "region"/metropolitan area associated with that zip code (ie. Kansas City), your time-based schedule software better show the correct time for the user's selection. Kansas City time is CST not EST (I thought that was pretty obvious). FYI... "King of Queens" aired at 7:00PM CST and 7:30PM CST.
    Time Zone
  2. Select Favorites: I watch (at least have available to me via rabbit ears) channels 4, 5, 9, 19, 29, 38, 41, 50, and 62. The "old" - or should I say "stable, production" version of tv.yahoo.com/grid knew about all of those channels - even how to order them numerically... but I'll touch on that in a bit. For some reason the new, improved tv.yahoo.com has overlooked channel 9 and replaced it with channel 7 (the digital/HD version orsomethinglikethat). It may sound like a petty complaint, but hey... "what happened to channel 9?"
  3. Display My Favorite Channels Only: This is a fantastic feature! If only it worked correctly... When I opt to use this feature, channel 7 (MIA channel 9's replacement) is missing from the list. This feature is now useless as ABC is one of my household's favorite channels.
  4. Overall Display: This is a "two-fer" complaint. If I can't use the Display My Favorite Channels Only feature to filter unwanted channels, then at least display all the channels neatly. Get rid of the huge (app. 275px) gap in the middle of the page. I'm sure there is a logical split in the channels... I'm just not smart or patient enough to figure it out. It'd also be nice if the channels were ordered numerically... I'd had expected channel 4 to be listed before channels 19, 29, and 38, but I'm no Human Factors Expert.

No single complaint here would have turned me away from the new site, but put it all together and it is no longer useful to me. I'm now using TvGuide.com's TV listings that doesn't fault on any of the above.  I'd love to continue to use Yahoo! TV, so please let me know if I'm using this software incorrectly.  I've encountered the same problems in both FireFox and IE.

What’s right isn’t always easy…

I'm sad to report that the subtitle for deepthoughts.orsomethinglikethat has turned out to be terribly inaccurate. "flex, ruby, and other romantic stuff" has revealed it's true self as "flex, ruby java, and other romantic stuff". It's a real shame you know... I haven't interacted with Ruby as much as I had hoped and therefore I haven't had much to say about it. The grand total of occurrences of the word "ruby" on this blog is now up to five - only one if you exclude this post.

It's only right.

Token Phrases

There is a new page containing a compilation of my favorite "Token Phrases." The phrases themselves may not be of any special meaning to anyone but myself and a handful of others, but the definitions themselves may touch your heart.

It's a work in progress so feel free to comment to this post with your favorite phrases and their universally understood definitions.

a fresh start.

I've recently decided to give blogging another attempt. I'd like to share some of my thoughts and knowledge regarding my experience with software development and life; sometimes it's difficult to distinguish the two. Hopefully someone will find this useful.