opacity (or, a paucity of transparency)
The rules for how to make parts of your HTML page translucent are kind of hard to understand -- in other words, the opacity rules are pretty opaque. (Anyone who can make that into a good pun, let me...
View ArticleUTC vs Ruby, ActiveRecord, Sinatra, Heroku and Postgres
Now that I’m starting to use DelayedJob to perform jobs in the future in my Heroku Sinatra app, its important that they happen at the scheduled time. But unless you pay attention, you’ll find that...
View ArticleTextMate: The Last Straw
That’s it. I’m done with TextMate. It hasn’t been updated in over 2 years, either for essential functionality (replace in path) or performance fixes (searching through log files) or UI issues (how many...
View ArticleBasic Ruby Webapp Performance Tuning (Rails or Sinatra)
My company launched our app, Cohuman, a few weeks ago. The rush of finishing features, fixing bugs, and responding to user feedback has subsided a bit, and it’s time to go back and give the little baby...
View ArticleWindowed String Comparison for RSpec
When two strings fail to match, if the difference is somewhere in the middle of the strings, it can be annoying/impossible to track down the actual difference. I've written a little Comparison object...
View Articlemonkey patch of the day – activesupport vs. json_pure vs. Ruby 1.8
The error: /Library/Ruby/Gems/1.8/gems/json_pure-1.4.3/lib/json/pure/generator.rb:232:in `__send__': undefined method `except' for #<JSON::Pure::Generator::State:0x102f245b0> (NoMethodError) The...
View ArticleWhere, oh where has my gem server gone?
Uh-oh! ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError) bad response Moved Permanently 301 (http://gems.rubyforge.org/latest_specs.4.8) Whew! gem sources -a http://rubygems.org/ gem...
View ArticleUpgrading your Rakefile from RSpec 1.3 to RSpec 2
I'm updating Erector to RSpec 2 and came across two problems for which solutions were surprisingly difficult to Google. Here are my (finally successful) results. Problem: no such file to load --...
View ArticleRubyGems Warningitis Outbreak
Have you upgraded RubyGems lately? Is your console suddenly filled with warnings like this? NOTE: Gem::Specification#default_executable= is deprecated with no replacement. It will be removed on or...
View ArticleCode Monkey
So I didn't go to whatever was going on in Baltimore this week, but I did do a whole bunch of open source coding over the past week or two: TestFirst has a totally revamped design, including the...
View Article
More Pages to Explore .....