Feed Sign in with OpenID OpenID

Simon Willison’s Weblog

14 items tagged “perl”

Spicing Up Embedded JavaScript. John Resig collects the various ways in which a JavaScript interpreter can be hosted by Python, PHP, Perl, Ruby and Java. There are full JS implementations in PHP, Perl and Java; Ruby and Python both have modules that use an embedded SpiderMonkey. 1 15th June 2008, 11:32 am

The Perl community has a long-standing love/hate-affair with making changes that impose “spooky action at a distance”. They call it “black magic” and it is generally considered it a last resort. Black Magic that makes GLOBAL changes to things like inheritance is often characterised as being “Octarine” (see disk world novels), because it tends to work ok when there’s only one person doing it, but start to mix a few together and KABOOM!

Adam Kennedy 0 22nd March 2008, 12:28 am

Naming twins in Python and Perl. Simple anagram problem solved in Perl and Python, with a bunch more solutions in the comments. The C# solution provides an interesting example of LINQ in action. 0 7th January 2008, 11:03 am

The future of web standards. Nice analysis from James Bennett, who suggests that successful open source projects (Linux, Python, Perl etc) could be used as the model for a more effective standards process, and points out that Ian Hickson is something of a BDFL for the WHAT-WG. 0 17th December 2007, 1:16 pm

Perl on Rails—Why the BBC Fails at the Internet. Depressing explanation of how the BBC’s decision to outsource its technical infrastructure to Siemens has resulted in severe technology limitations, including the need for everything to run on Perl 5.6 (5.8 came out in 2002). 0 3rd December 2007, 9:43 am

BBC Radio Labs: Perl on Rails. BBC engineered built their own Rails clone in Perl to fit in with the BBC’s engineering infrastructure—it’s already running the new programmes guide. 0 1st December 2007, 1 am

wikimarkup (via) “MediaWiki markup in Python”. I’ve always suspected that MediaWiki was like Perl; the only thing that can parse MediaWiki is MediaWiki. Not sure how faithful this Python port is but I’d love my theory to be proved wrong. 1 9th September 2007, 12:33 am

lwqueue. Lightweight cross-language message queue system, written in Perl with client libraries in Perl, Python and Ruby. 2 16th July 2007, 10:04 am

Mac OS X Leopard: UNIX. Leopard ships with DTrace, and it’s been hooked in to Java, Ruby, Python and Perl. 2 11th June 2007, 11:05 pm

JavaScript Minifier that doesn’t break code (via) Perl re-implementation of Douglas Crockford’s classic JSMin that doesn’t clobber IE’s conditional comments, by Peter Michaux. 0 4th June 2007, 5:44 pm

’tie’ considered harmful (via) Rich Skrenta on the disadvantages of abstractions like Perl’s tie, which lets you create hash data structures that aren’t actually hashes. Operator overloading (as seen in Python) suffers the same problems. 1 30th May 2007, 11:11 pm

Primality regex. A regular expression that can identify prime numbers. Unsurprisingly, this one comes from the Perl community. 3 18th March 2007, 1:17 am

Data::ObjectDriver. Benjamin Trott’s Perl ORM, with built in support for both caching and data partitioning. I think this is what Six Apart uses for Vox. 0 25th February 2007, 12:43 am

Clearout

[... 257 words]

A django site