URL Hunting (Sniffing, Spelunking, Parsing…)

YouFetch

A good URL is hard to find.  Seriously!  I know, I know, you’re no-doubt rolling your eyes but, in programming, the ability to suss out undocumented schemas and protocols turns out to be a big big thing.

Take my latest project.  I’ve been writing a Tumblr downloader.  For the most part, the entire thing has been very straightforward, given that the Tumblr folks have an excellent API and documentation.  Using their specs, it was short work to create the core functionality of my product (which I plan to release as shareware!)  I wasn’t keeping tight track of the time, but it certainly took less that three hours to create the core image and video crawler and downloader.  Can you say “outstanding!” Continue reading

MVVM’ing Around

ComboSelectorMVVM is a great technology, but it can still throw you a lot of curves.  Its real power comes from the fact that you can test all of the pieces (Models, View Models, Primatives, etc.) individually without the need to screw them all together.  Even so, MVVM can be a royal pain in the ass,  especially given all of the “separation of concerns” issues, combined with it’s relatively high part-count.  With that said, in a WPF desktop-application world, MVVM is the way to go.  Or to hear me tell it: “The Bomb!”

Continue reading

(Not!) In A Bind

“To sleep: perchance to dream…”  Laying aside Shakespeare’s morbid meaning, sleep turns out to be fairly important for programmers, and not only because of the perenial lack thereof.  Programming, at least at my level, tends to be mostly about the gestalt; something that I gather is the same for musicians.  Ask a skilled pianist to concentrate entirely on the mechanics and he’ll be sure to screw it up.  Let him forget the details, though, and the result can often seem like nothing less than magic. Continue reading