intertwingly.net Archives - 02 April 2013, Tuesday

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&amp;amp;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...

Related:

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...

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 ...

Related:

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...

Related:

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...

Related:

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...

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...

Related:

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...

Related:

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...

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...

Related:

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...

The previous error that was caught was connection pool of new applications have size 1 . This demonstrates the unique value that my tests bring to the table. Outside of my tests, the bulk of the test of Rails is an impressive array of unit tests (which verify that the connection pool ...