Making Rails Better – Content Negotiation
Over a year ago, I released a Rails 10 plugin that added support for content negotiation Conceptually it was simple - map the HTTP Accept header to template extensions For...
Over a year ago, I released a Rails 10 plugin that added support for content negotiation Conceptually it was simple - map the HTTP Accept header to template extensions For...
I was planning to write about the blub paradox, a term coined by Paul Graham in an essay that argued that programmers can't conceptualize programming languages more powerful...
Last week I showed how to profile a Rails application using ruby-prof The post was driven by our desire to improve MapBuzz's map rendering speed Our nightly log analysis showed...
Update - Armin has an alternate implementation based on some fancy regular expressions combined with String's split method Its supports most of ERB and avoids all the string...
Opera 9 is a great browser - it small, standards compliant and fast And not just slightly faster - really fast (I don't believe Apple's browser speed comparision they've put up...
Now that you've launched your new killer Web 20 website, how do you detect errors in your deployed Javascript Using onerror The standard approach is to hook into...
Web sites based on user generated content need to well let users generate content (obviously you read this blog for its insights!) Except that opens a huge can of worms Some...
Last time I talked about my implementation of JavaScript inheritance Since then I've made a number of improvements - its now simpler, faster and easier to use In my post I...
This code has been deprecated - use the new and improved version instead I've always been a fan of JavaScript - its flexibility makes it well tailored for its primary execution...
If you write a lot of JavaScript, then you'll find Matthias Miller's website chockfull of useful information And even better, he's put together two great tools The first is...
Pat Eyler has written a nice set of articles about profiling Ruby code He shows how to use the built in Ruby profiler as well as ruby-prof (my personal favorite :) He talks a...
For MapBuzz browser testing, we need to control the x and y locations of the mouse cursor Selenium didn't support this functionality, so I coded it up one evening and submitted...
Last month I blogged about Selenium, which is an open source project that let's you test web applications running in a variety of browser Unfortunately, Selenium doesn't work out...
A very interesting [treemap](http://radaroreillycom/archives/Q206YoYproglangtreehtml) from O’Reilly that shows programming book sales in Q2 2006 compared to Q2 2005 ...
Sean mentioned the idea of using YAML for MapServer configuration files instead of XML I wholeheartedly agree The most important thing for a configuration file is that it is...
A great debate in linguistics is how much language influences thought In the world of computer science, I am firm believer in the theory Paul Graham, amongst many others,...
There are good tools for testing most parts of web applications At the base level, almost every language has a unit testing framework Above that, some web frameworks, like...
Yesterday I wanted to profile some methods I'm using on a Rails controller To get a feel for profiling Ruby code I put together a test case, added a "require 'prof'" to the top...
I have to join the ranks of those unhappy with Firefox 15 I've been using Mozilla browsers forever - long, long before Firefox I switched over to Firefox right around the time it...
Just as Peter continues to be amazed by Wikipedia, so do I Today I noticed that David Jenkins, who I used to work with, wrote an article about a programminglanguage called Magik...