2005/07/21: RSS 2.0 is widely deployed and Atom 1.0 only by a few early adopters, see KnownAtomFeeds and KnownAtomConsumers . 2006/01/22: Atom 1.0 in basic form is widely supported. Many aggregators fail on feeds that do not resemble the structure of an RSS 2.0 feed closely. However, ...
Cooking with Chef Fri 29 Mar 2013 at 19:03 It didn’t take long for me to outgrow using a shell script for deployment. The new chef solo recipes are considerably more verbose, but can be updated and rerun many times. My usage is undoubtedly more idiomatic Ruby than idiomatic Chef, and ...
RSS 2.0 may contain either plain text or escaped HTML, with no way to indicate which of the two is provided. Escaped HTML is ugly (for example, the string AT&T would be expressed as AT&T ) and has been a source of difficulty for implementors. The content model for titles is un...
{"created_at":"2013-03-24T01:16:12Z","description":"<p>\n CoffeeScript is JavaScript done right. It provides all of JavaScript's\n\tfunctionality wrapped in a cleaner, more succinct syntax. In the first\n\tbook on this exciting new language, CoffeeScript guru Trevor Burnham\n\tshows y...
rbenv first impressions Thu 21 Mar 2013 at 13:10 Background: I maintain a scenario that I test against multiple versions of Rails and multiple versions of Ruby. I primarily develop on Ubuntu, but I bought a new Mac Mini because some of my readers were having installation problems on S...
Basic Features Configuration Templates Advanced Features Architecture Normalization Filters and Plugins Administration interface Other Migration from Planet 2.0 Contributing Etiquette Reference Planet Universal Feed Parser html5lib htmltmpl httplib2 XSLT sed Django templates Credits a...
You can get the code for this branch via: git clone https://github.com/rubys/venus.git Updates can be obtained via: git pull Alternately, you can also download the convenient tgz or zip files, or browse the individual files below: Index Name Last modified Size Description Parent Direc...
Mac Mini Upgrade Fri 08 Mar 2013 at 18:54 Five years ago today, I bought a mac mini to do book development. On Wednesday, I bought a new mac mini simply because I’m told that Mountain Lion won’t install on a vintage 2008 mac mini, and because my readers have had problems on Mac OS X 1...
In defence of Polyglot Fri 09 Nov 2012 at 11:58 I see that Henri Sivonen is once again being snarky without backing his position . I’ll state my position, namely that something like the polyglot specification needs to exist, and why I believe that to be the case. The short version is ...
4 1.9.3 4.0 44 tests, 130 assertions, 5 failures, 0 errors 2012-10-03 13:32:02 4 1.8.7 3.2 44 tests, 137 assertions, 0 failures, 0 errors 2012-10-02 16:23:04 4 1.9.3 3.2 44 tests, 137 assertions, 0 failures, 0 errors 2012-10-03 04:25:20 4 1.8.7 3.1 44 tests, 137 assertions, 0 failures...
EPUB in effect takes the Wild, Wild Web and tames it. EPUB for example requires use of the XML serialization of HTML5 (XHTML5), rather than “Tag Soup” aka “Street” HTML. This means that EPUB content, unlike arbitrary web pages, can be reliably created and manipulated with XML tool cha...
require 'dbus' # gem install ruby-dbus bus = DBus::SessionBus.instance sm = bus.service('org.gnome.SessionManager').object('/org/gnome/SessionManager') sm.introspect sm.default_iface = 'org.gnome.SessionManager' cookie = sm.Inhibit($0, 0, 'inhibiting', 4).first at_exit { cookie = sm.U...
Amusing exercise: compile a list of OS vendors who, by default, ship a non-Unicode-capable ("narrow") build of Python. Posted by Jacques Distler at 20:34 I gather that I’m one of the lucky ones: $ python Python 2.7.3 (default, Apr 20 2012, 22:39:59) [GCC 4.6.3] on linux2 Type "help", ...
There is a chain of lexical scopes, each with local variables. When code needs to lookup a variable, it while search that environment, by iterating up that chain until it finds it. A closure is an function object that references a specific inner scope. It is said to “capture” that lex...
I can’t begin to imagine what use anybody could have for this code, but how does MIT sound? The L-system doesn’t do filling, what are your rules for that? There actually is an interesting story behind that. This started out as a Ruby application that generated a static SVG with a sing...
Ubuntu 12.04 and Ruby 1.9.3 Sat 23 Jun 2012 at 22:45 I previously had installed Ubuntu 12.04 on a NetBook, and my overall impression was simply that it was more stable than its predecessor — particularly for Unity. For the first time I tried it on a desktop, and to my surprise the fol...
Ubuntu 12.04 and Ruby 1.9.3 Sat 23 Jun 2012 at 22:45 I previously had installed Ubuntu 12.04 on a NetBook, and my overall impression was simply that it was more stable than its predecessor — particularly for Unity. For the first time I tried it on a desktop, and to my surprise the fol...
(sorry for the delay, the first version of this article died in a spectular system crash) Nelson Minar and Sam Ruby point out that Google is an interesting corner case in its adaption to the Web architecture. Because it uses an "innovative" business model for its new "API", it present...
Support for -moz-border-radius* and -moz-box-shadow has been removed. Authors should use unprefixed border-radius or box-shadow instead. See bug 693510
Prefixed no more Thu 07 Jun 2012 at 12:33 Firefox 13 for developers: Support for -moz-border-radius* and -moz-box-shadow has been removed. Authors should use unprefixed border-radius or box-shadow instead. See bug 693510
You can get the code for this branch via: git clone https://github.com/rubys/venus.git Updates can be obtained via: git pull Alternately, you can also download the convenient tgz or zip files, or browse the individual files below: Index Name Last modified Size Description Parent Direc...
Twitter -= #! Tue 29 May 2012 at 21:50 Dan Webb : The first thing that you might notice is that permalink URLs are now simpler: they no longer use the hashbang (#!). While hashbang-style URLs have a handful of limitations , our primary reason for this change is to improve initial page...
Twitter -= #! Tue 29 May 2012 at 21:50 Dan Webb : The first thing that you might notice is that permalink URLs are now simpler: they no longer use the hashbang (#!). While hashbang-style URLs have a handful of limitations , our primary reason for this change is to improve initial page...
Rails and Snowmen Thu 29 Jul 2010 at 15:03 People have started to notice that Rails is adding a snowman to their URLs. There even is now a website devoted to this. These types of social implications of technical decisions fascinate me. Here’s some further background that I have pieced...
WebSocket Demos Mon 30 Apr 2012 at 01:33 chat implements a shared textarea field across multiple clients. Demonstrates bi-directional communication. diskusage is more typical of my usage. The `du` command produces tabular output that the user may want to sort different ways and yet is...
Wunderbar on Rails Tue 24 Apr 2012 at 21:12 Usage: add wunderbar and nokogiri to your Gemfile and run bundle install . Template extensions supported are _html and _json . Examples: view , layout , json . Note that as Rails layouts and views are predicated on the assumption that output...
Hacked Mon 02 Apr 2012 at 11:16 This site was hacked. A reader of the site noted that Google’s index of this site had been co-opted by dubious pharmaceutical offerings. I’ll gladly thank that individual publicly if they give me permission to do so; but my email reply got bounced as sp...
Hacked Mon 02 Apr 2012 at 11:16 This site was hacked. A reader of the site noted that Google’s index of this site had been co-opted by dubious pharmaceutical offerings. I’ll gladly thank that individual publicly if they give me permission to do so; but my email reply got bounced as sp...
Improved Wunderbar JSON support Sun 01 Apr 2012 at 12:57 I’ve integrated jbuilder like functionality into Wunderbar . Key differences? A DSL that doesn’t suck, and output that isn’t ugly. To harsh? You be the judge. Compare jbuilder ("json dot bar json bar json dot child bang") vs Wun...
Comparing characters and uris is surprisingly more difficult and important than you might otherwise imagine (think: security holes) Layering is the problem, not the solution