I didn’t post my resolutions last year, but I actually came up with a big list of SMART goals for the year and I managed to complete about 3/4 of them.
My theme last year was Healthy, Wealthy, and Wise.
Yes, I had a theme.
Just read an excellent blog post: How to Steal Like An Artist. I really liked the writing style and the message so I took a look around the site.
I particularly liked the fun and cynicism of this one:
There are more blog posts and artwork at the authors site: http://www.austinkleon.com/.
I didn’t make much headway with my formal resolutions last year.
However, I did manage to do a few other things in 2009:
And I saved the best for last…
2009 was the year that I met and engaged the love of my life, Sara!
In short, 2009: Best year ever!
Now, on to this year’s resolutions!
Unfortunately, I have half a dozen unfinished Flex projects to NOT show for my lack of blogging this year, but I hope to get back on track in 2010.C#!
I’ve spent a little bit of time over the holidays on a few C# projects, and I’m loving it and I’m looking forward to really diving into C# this year!Attend User Group Meetings!
Here’s a list, for link-love’s sake:
I figure I should be able to, no excuse, make at least one a month. AT LEAST!
So that’s it for tonight folks, I’m off to bed.
Happy New Year!
I’ve been blog slacking. It’s been a crazy couple months: weddings, funerals, star-crossed vacations, you name it. Through it all, my girl Sara has been amazing, and I’m proud to announce our engagement!
I love you Sara!
I’ve been listening to the IT Conversations Network for a few weeks now, and I couldn’t be happier with it. In short, it provides an aggregated rss feed of free tech podcasts, so if you love podcasts as much as I do, you should give it a shot.
In addition to the always great Stack Overflow Podcast, there were three I found particularly interesting this week.
While I’m on the subject here’s a few of my other favorites. In order of how much I love them:
All free, all great. Go!
Dear Audio Book Makers.
Your products, in my humble opinion are too expensive. Five yes, ten maybe, thirty NO.
Also, while I have your attention: More IT, please. I understand a lot of the techy books I’m interested in may have code examples or diagrams that don’t translate, but if the price is right I’ll deal. Perhaps you could shoot me a pdf with my purchase?
Finally, I wanted to let you know that I’m okay with text to speech. I don’t know if that would save you, and ultimately me, any money but It’s not so bad these days. I might have abandoned you completely for your cousin the eBook Makers, had the Kindle not been smote. Although, a cursory search reveals that I might have some of the same issues with them. Maybe I’ll write them a letter too.
For now, I’ll stick to my podcasts. I’ll check back with you later.
A family members was having a problem with some mixed up image names on a static html site. I could have fixed it manually in a few shakes, but that’s no fun. Instead I used hpricot to scrape, open-uri to test for broken-ness, Find to search and some good old fashion regex to correct.
This was my first time messing around with hpricot and I found it to be powerful and easy to use, two thumbs up. I foresee some scraping and spidering posts in the near future.
On to the code:
My final script was a bit hairy so I broke out the bit I used to find the broken images.
If you run the script it’ll print the offending paths to screen:
ruby image_scanner.rb http://site.com/busted.html
Or you can call the get_broken_images method to get an array back:
require 'image_scanner' scanner = Image_Scanner.new broken_images = scanner.get_broken_images "http://site.com/busted.html"
In case you’re interested, I’ve also uploaded the full code that I used to search for and correct the images although it’s implementation specific, riddled with lazy and is poorly tested. Read the disclaimer!
Just run it and be amazed!
ruby image_scanner.rb http://site.com/busted.html /media_folder /busted.html /fixed.html