David Welton: Angry Perl Users
I work on LangPop.com for fun. I make a tiny bit of money from the adsense there, but nothing much to speak of. Unlike the TIOBE folks, I don't sell my data to anyone. So it can be a bit frustrating when people get all bent out of shape about the results. A case in point was my recent article here, entitled Python "Surpasses" Perl?.
In case the title wasn't a dead giveaway, I'll spell things out:
As can be seen, both Perl and Python are dropping in Craigslist postings, but Perl is falling farther.
As a final footnote, I am sorry about this journal not accepting comments past a certain point (10 days is the cutoff) - otherwise I get 100's of spam postings a day. Unfortunately, the software I'm using didn't deal well with alerting people to the fact that comments were closed. I filed a bug, and they're working on it.
- I was poking a bit of fun at the idea that any statistics of this nature could pinpoint, to a specific month, the moment when one language "passes" another. They're way too fuzzy for that!
- I point out that Perl is still quite popular. According to the Freshmeat metric I was reporting, Perl actually still has more code out there than Python.
It will be a make-or-break year for Perl. If the Perl developers cannot either bring new life to Perl 5 or turn Perl 6 into something real, this language will, by the end of the year, have moved well down the road to "legacy" status.As can be imagined, that set them off all over again. The mental image I get is a big angry bull, frothing at the mouth, and ready to stomp that damn red cape. Here's the problem, though, guys: the cape isn't what's holding you back. Trust me, I know. Once upon a time, when people spoke of scripting languages, they talked about "Perl, Python and Tcl". No Ruby, no PHP, although both existed. I happen to like Tcl a lot, and it measures much worse than Perl on all the popularity charts... worse than plenty of other languages, these days. Lately, I don't use it so much, but once upon a time I dedicated a lot of mental energy to wondering why things weren't going better. And in that community too, there were people who consistently held their fingers in their ears and yelled "LALALALA there is no problem!". In the long term, it's not an effective strategy: it makes everyone but the other True Believers think you're going off the rails, because the evidence is plain to see that things weren't quite like they used to be, that there are problems. And it doesn't really address the problem in a constructive way, either. Long term, what works is to produce good code, and get it in people's hands. The most effective way of dealing with problems of this nature includes these points:
- Not froth at the mouth any time you perceive a slight to your technology of choice.
- Talk up the cool things you're working on. Be positive, explain what's new and exciting.
- Acknowledge reality. For instance with Perl (or Tcl), it's plain to anyone that they aren't as popular as they once were. Don't deny it, but focus on the fact that they're still widely used, and lots of new code *is* still written in them, and that they're still the focus of a lot of work to improve them.
- Actually follow through. Jon Corbet's (Linux Weekly News) point is not a bad one - you can have all the internal releases and milestones and general fun hackery that you want, but at a certain point, you need to get working code out in front of people. This is something Ruby seems to be suffering from these days too (as observed from afar) - lots of next generation fiddling, and tons of good ideas and energy, but to me there is a lack of technology actually flowing my way in a timely manner. With the possible exception of JRuby, which is making lots of progress and putting good code out there for people to use.
I recently converted most of the Debian packaging for Telepathy and related
projects from bzr to git, while changing the repository contents from just
the debian/ directory to the whole source tree. Here's the recipe, using the
latest one to be converted (pymsn) as an example.
Sami Haahtinen wrote a nice post
In June of 2005, I finished reading
Today's New York Times carries a
When I ran Black Cat we preferred customers to use role addresses (eg support@, sales@) rather than contact us directly. This had the advantage that more people got the mail, increasing the likelihood of it getting answered swiftly. However some people preferred to email one of us directly, even for trivial matters. Having a preference for using role addresses myself I can sort of understand why people did this; often there is a poor or non existant response from a company's generic email addresses, leaving no choice but to try and email a known contact. However in our case it would have led to a poorer chance of timely response.
If you don t know that leap years don t always happen every 4 years, you really should read about
I'm going to re-do my blog sometime soon.The host my current blog is running on is going to retire "anytime soonish"
(I happen to be responsible for that, so I will know when). So I will need
to move my blog someplace else (I want to merge it into my regular web page,
too). Right now, it's based on an ancient version of Pyblosxom with a couple
of custom hacks, and is pretty much unmaintainable.So I'm also looking for an appropriate blog software, but I'm not yet sure
about my requirements, so I don't have a clear software favorite yet. I
don't need a browser based editor, and I'm not interested in interactive
features such as comments or trackbacks.
I received a



J r my Bobbio suggested that I should explain how I looked for packages
affected by a compiler bug
(
Years ago I think some two years after it was
released I bought me a copy of Quake. I found the original box in
a shop that had just one left, and was selling it at a serious discount;
I still have the box, with the original artwork.
I didn't have Internet at the time, though, so I never played it
online. I did finish the game at one point, though I don't
remember whether it was with or without cheatcodes.
I'm certain I got very far, though I had a tendency to start using
cheatcodes when the monsters I had to pass got too hard for me to
actually be able to pass them.
When I did get an Internet connection, Quake III Arena had just been
released, so not many people still played Quake I. However, my very own
ISP then did have a QuakeWorld server still running, and I fondly
remember playing a lot on that server. Since I hadn't heard of
+mlook, which enables modern-style mouse-based movement in
quake, I was still playing with doom-style controls, that is, keyboard
only. At first I got fragged all the time, but it didn't take me long to
master this method. I got so good at it that I've won some deathmatch
games, with keyboard only. Seriously.
Eventually, however, I migrated to a state where I did not have
any Microsoft operating systems installed on my system anymore; and
while Debian had a 'quakeforge' package in potato, it was rather buggy;
I remember it would reproducibly crash when you would load a
particular level from the third episode. I did think about fixing the
code, but then I didn't really have the time or expertise to do so,
so that never got anywhere. Eventually, it was pulled from the archives;
and after a while around the time when my ISP shut down their
quakeworld server I stopped playing Quake; and though I was sad
about it not being installed anymore, I just forgot about it.
Recently, however, I somehow stumbled upon this 'Linux Quake HOWTO'
over at
Two fixes in this release, let s start with the more important one :)
The DBus configuration file shipped with pommed now explicitly allows method calls to org.pommed, which is needed with the newer versions of DBus where the default configuration on the system bus has been made more strict to close a security hole. If the pommed clients stopped working for you after a DBus update, replace /etc/dbus-1/system.d/pommed.conf by the dbus-policy.conf file shipped with pommed.
Second fix is related to the Apple wireless (Bluetooth) keyboard, which previous versions of pommed would recognize just fine but reject because it exposes a type of events usually indicative of a mouse (and pommed doesn t listen to mouse devices). This is now fixed for this particular keyboard, so pommed will react to the hotkeys on this keyboard too.
For the complete list of changes, see the ChangeLog file in the source distribution. Comments at the usual address :)
I make a lot of Web script processing, whether scraping, webservices, systems administration, etc. Because I sometimes happen to repeat small and useful chunks of code for different projects, I thought that, given making new modules and methods is usually hassleless in Ruby, I should make my own set of methods and goodies I constantly use. Example 1, I sometimes miss Perl s LWP::Simple simplicity where I just pass a URL to a subroutine and get the content on a variable, quick, one-liner. Example 2, extract all links on a given URL on an array that I can then iterate and maybe fetch given the first example. Getting all A links is very easy to do, say with regex or with Hpricot (which should the best way to parse HTML), but most of the time I (and people, I d bet) need absolute URLs which is fairly more complex (relative, absolute URLs, BASE href declarations, etc, the same case as in
While it's obvious that being a kernel developer is absolutely the best thing anyone in life could ever aspire to, I'm finding it increasingly difficult to justify not having just given up and gone off to be an analyst instead. Two stories stuck with me this week. The first 