Having played with the Digital Invisible Ink Toolkit (DIIT) lately it was interesting to see how big the logo file for the camping framework would become if the camping framework itself was embedded in it…
Archive for the 'Ruby' Category
Putting Camping in the Camping logo
A new version of the Ruby Accessibility Analysis Kit
This is to announce that RAAKT (The Ruby Accessibility Analysis Kit) has been updated. This release includes more accessibility tests and an initial mapping of tests to the Unified Web Evaluation Methodology (UWEM). Also, thanks to Derek Perrault RAAKT now uses Hpricot to parse the HTML document. This solves the problem where the previous parser […]
Parsing ASP.NET sites with WWW::Mechanize and Hpricot
Users of Hpricot (which WWW::Mechanize is using as the default html parser) may have discovered that the buffer size for attribute values is set to 16384 bytes default. Typically this isn’t a problem, I mean who would put 16Kb of data into an HTML attribute? Well, ASP.NET uses a hidden input field to store view […]
Hpricot - My New Favourite Ruby XML Parser
Maybe I am the last person to discover this, but Hpricot is great for parsing XML documents on multiple platforms. It isn’t a real XML parser, but it is great for quick extraction of data from XML files.
Using the Apple remote in Ruby
After playing with iremoted (an infrared remote daemon for OS X) and Ruby’s IO.popen I guess I am convinced that Ruby really works as a glue on many levels. Here is a minimal dungeon game which you control with the apple remote. If you ever manage to find your way out I would be surprised…
Making open-uri play nice with HTTPS and expired certificates
I was using the open-uri library to download HTML in an accessibility test when I found that it does not work well when the remote site has an expired certificate. In this case open-uri will throw a “certificate expired” exception. This may be ok as a default behaviour, but there is no option to […]
Google Code Search Reveals Anger, Frustration and Hate
Google’s Code search is a great way to spend an evening. Indexing a hefty amount of source code reveals anger, frustration and hate. Some favourites:
I hate Java
Java sucks
Python sucks
I hate Microsoft
I hate DTDs (that is REXML by the way…)
Interestingly, searching for “Ruby sucks” does not return any matching documents…






