Lenovo X121e 3G with ModemManager

Recently, I tried to get 3G working on my Lenovo ThinkPad X121e - it has an Ericsson F5521gw mobile broadband card. This is supported by ModemManager, but all I got were unknown errors (276 and 272). Searching online, there were very few results (hence this short note) - just previous unrelated Linux kernel issues. I found someone with the same problem on Fedora, but no solution, so I started off by filing a bug report with Debian. ...

January 24, 2012 · Tim Retout

Perl tutorial searches revisited

So since my last post about perl tutorials, the Perl Tutorial Hub has leaped from page 2 to be the top result for the relevant Google search. The Leeds tutorial has dropped off the first page. I couldn't figure out how such a dramatic reversal could have happened, until I asked Mithaldu on IRC; the admins of the old Leeds tutorial have added a (delayed) redirect. So, Google has interpreted that as a 302 status, and given perl-tutorial.org all the old inbound links, presumably. ...

January 19, 2012 · Tim Retout

Perl Tutorial

Hello, World! Last year, a bit of a fuss was kicked up in the Perl community about the low quality of search results for the phrase "Perl tutorial". Various ideas for fixing this were proposed, including the handy Perl tutorial hub, but kicking Leeds University off the coveted top spot is going to be a real challenge. The problem is, most Perl tutorials on the internet were written for Perl 4; modern Perl doesn't get a look-in. It's a miracle anyone manages to learn Perl at all... ...

January 9, 2012 · Tim Retout

SFTP default umask

So I was about to configure an FTP server to let a friend upload content for a website... and then I came to my senses and remembered sftp exists. It's supported by the same graphical clients, and avoids me having to figure out SSL certificates and so on. Next problem: we want to both edit the site. Okay, so I create a group, make it the default group for both users... and now I need to set the umask to 002 so that all group members can edit all files. There's no option in the client... ...

December 10, 2011 · Tim Retout

BITE server

This week, Google released an extension called BITE which lets you file bug reports from within Chrome (or Chromium). If you are testing web applications, it lets you attach screenshots and/or automated tests to reproduce the bug you've found. There's just one small catch: they haven't released a server to go with the client. Oops. Apparently the internal systems are too tightly integrated to make that possible. I have hacked up enough stubs of a BITE server in Perl to get the client to "log in" and show off some features. (Warning: it doesn't actually do anything useful yet.) ...

October 16, 2011 · Tim Retout

Apache Request-Range headers

Note to self: when disabling Range headers in Apache to fix CVE-2011-3192, be sure to read the updated advisory and also disable Request-Range headers. (Presumably not "Range-Request" as in the summary of that link?) Or just apply the handy Debian update, of course.

August 31, 2011 · Tim Retout

Lessons

Some things I have learnt this week at DebConf: The cost of living in the UK is much higher than in Bosnia and Herzegovina. I feel much better about life when I am being a fun and exciting person, compared to boring and cynical. My laptop is not well-suited to travelling - poor battery life, and poor wifi. However, I have mastered the art of taking only hand luggage. I have quietly resolved to spend more time doing things that I enjoy, that maximise the use of my skills, and which help other people; and spend less time on the opposite. ...

July 30, 2011 · Tim Retout

DebConf 11

It feels good to be at DebConf again, this time in Banja Luka. This is my fifth consecutive DebConf. Getting here was fairly painful; a flight from Split was delayed, so I had to get a later bus than planned from Zagreb. Still, I met a bunch of DebConf attendees getting the same bus, so at least there was conversation. Packaging-wise, I have been working on adding KiokuDB (and associated backends) into Debian. I wrote a patch for libossp-uuid-perl yesterday to fix a bug with its Data::UUID compatibility; this probably means I'll drop the Data::UUID ITP. Having looked at the code, I don't see how it can be easily fixed for multi-user systems. ...

July 28, 2011 · Tim Retout

No comments

I have turned off comments on my blog - there was too much spam, and I'm not planning to invest the time to fix that properly. On the one hand, this is a shame - it removes an opportunity for other people to respond to what I might write. On the other hand, the idea that this was any kind of two-way conversation was always a badly-maintained illusion. I didn't have any kind of notifications set up to tell me when comments arrived; so I rarely read them, and almost never replied. I don't want to build a commercial enterprise or a "community". ...

July 22, 2011 · Tim Retout

The Prisoner

I have recently finished watching The Prisoner (1967). All the surrealism is messing with my head. In other news, I updated GNU Enscript. Oh, and I filed an ITP for the real Data::UUID, and promptly found a symlink attack which I suspect I failed to disclose responsibly. Hmm. I could write a lot more, but the short version is: I need a holiday.

July 13, 2011 · Tim Retout