<?xml version="1.0" encoding="utf-8"?>
<!-- name="generator" content="pyblosxom/1.4.2 8/16/2007" -->
<!DOCTYPE rss PUBLIC "-//Netscape Communications//DTD RSS 0.91//EN" "http://my.netscape.com/publish/formats/rss-0.91.dtd">

<rss version="0.91">
<channel>
<title>Tim Retout's blog   </title>
<link>http://retout.co.uk/</link>
<description></description>
<language>en</language>
<item>
  <title>Lenovo X121e 3G with ModemManager</title>
  <link>http://retout.co.uk/blog/2012/01/24/lenovo_x121e_3g_with_modemmanager.html</link>
  <description><![CDATA[

<p>
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).
</p>

<p>
Searching online, there were very few results (hence this short note)
- just previous unrelated Linux kernel issues.  I found someone with
<a href="http://forums.fedoraforum.org/archive/index.php/t-269166.html">the
same problem on Fedora</a>, but no solution, so I started off by
filing a <a href="http://bugs.debian.org/656373">bug report with
Debian</a>.
</p>

<p>
Of course, then I found the Arch user who had filed <a
href="https://bugs.launchpad.net/modemmanager/+bug/894124">the same
bug on Launchpad</a>, and had discovered that resetting the BIOS to
its default settings fixes the issue.  If only that page mentioned the
keywords "Ericsson", or "Lenovo"...
</p>

<p>
So after all that, it was just some weird BIOS issue.  I hate hardware.
</p>

]]></description>
</item>

<item>
  <title>Perl tutorial searches revisited</title>
  <link>http://retout.co.uk/blog/2012/01/19/perl-tutorial-searches-revisited.html</link>
  <description><![CDATA[

<p>So since <a href="/blog/2012/01/09/perl-tutorial">my last post
about perl tutorials</a>, the <a href="http://perl-tutorial.org/">Perl
Tutorial Hub</a> has leaped from page 2 to be the top result for <a
href="http://www.google.com/search?q=perl+tutorial">the relevant
Google search</a>. The Leeds tutorial has dropped off the first
page.</p>

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

<p>Perhaps there is hope for Perl yet. :)</p>

]]></description>
</item>

<item>
  <title>Perl Tutorial</title>
  <link>http://retout.co.uk/blog/2012/01/09/perl-tutorial.html</link>
  <description><![CDATA[
<p><a href="http://search.cpan.org/dist/Perl-Tutorial/lib/Perl/Tutorial/HelloWorld.pod">Hello, World!</a></p>

<p>Last year, <a
href="http://blogs.perl.org/users/mithaldu/2011/10/perl-tutorials-suck-and-cause-serious-damage.html">a
bit of a fuss</a> 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 <a
href="http://perl-tutorial.org/">Perl tutorial hub</a>, but kicking
Leeds University off the coveted top spot is going to be a real
challenge.</p>

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

<p>While thinking over this problem, I was reading Mithaldu's original
criteria for the "content creation" option.  "Community
effort"... "github repo"... "exported to HTML regularly"... if only Perl
had some central site where you can publish documentation... that all
Perl hackers can access and update... like CPAN.</p>

<p>So although my documentation-writing skills are pretty weak, I
proudly introduce <a
href="http://search.cpan.org/dist/Perl-Tutorial/">the Perl-Tutorial
CPAN dist</a> and <a
href="https://github.com/copperly/Perl-Tutorial">github
repository</a>.  The great thing about writing Perl documentation
using POD is that you can link to other CPAN references so easily - as
the basics get filled out, they can guide the user towards how to
learn more about each topic.  Everyone who's anyone knows how to send
a pull request on github, and there seems to be far more of a
community feel to CPAN these days.</p>

<p>Version 0.001 is just "Hello, World!" - but watch this space. :)</p>

]]></description>
</item>

<item>
  <title>SFTP default umask</title>
  <link>http://retout.co.uk/blog/2011/12/10/sftp_default_umask.html</link>
  <description><![CDATA[

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

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

<p>Skimming <a href="http://bugs.debian.org/496843">Debian bug #496843</a>
(closed Apr 2010, thanks Colin Watson!) we can set this in sshd_config these
days - no need to mess about with wrapper scripts.  Very easy:
<pre>
Subsystem sftp /usr/lib/openssh/sftp-server -u 002
</pre>
</p>

<p>Now all content created through the sftp client is group-writable, and
owned by the default group of each user!  See 'man (8) sftp-server'.</p>


]]></description>
</item>

<item>
  <title>BITE server</title>
  <link>http://retout.co.uk/blog/2011/10/16/bite-server.html</link>
  <description><![CDATA[

<p>This week, Google released an extension called
<a href="https://code.google.com/p/bite-project/">BITE</a> 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.</p>

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

<p>I have hacked up enough stubs of <a href="https://github.com/diocles/bite-server">a BITE server in Perl</a> to
get the client to "log in" and show off some features.  (Warning: it doesn't actually do anything useful yet.)</p>

<p>So far, I have learnt:
<ul>
<li>To get BITE to point at your dev server, you need to edit bite.options.constants.ServerChannelOption in the file src/options/constants.js (as documented <a href="https://code.google.com/p/bite-project/wiki/serverhandlers">on the serverhandlers wiki page</a>) before compiling it.</li>
<li>To get a bug template to apply to all URLs, you need to use the string 'all' as the URL, which is hardcoded in 'templates.js' in the client.</li>
</ul>
</p>

]]></description>
</item>

<item>
  <title>Apache Request-Range headers</title>
  <link>http://retout.co.uk/blog/2011/08/31/apache-update.html</link>
  <description><![CDATA[

<p>Note to self: when disabling Range headers in Apache to fix <a
href="http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2011-3192">CVE-2011-3192</a>,
be sure to read the <a href="http://lwn.net/Articles/456513/">updated
advisory</a> and also disable Request-Range headers. (Presumably not
"Range-Request" as in the summary of that link?)</p>

<p>Or just apply the handy <a
href="http://www.debian.org/security/2011/dsa-2298">Debian update</a>,
of course.</p>

]]></description>
</item>

<item>
  <title>Lessons</title>
  <link>http://retout.co.uk/blog/2011/07/30/lessons.html</link>
  <description><![CDATA[

<p>Some things I have learnt this week at DebConf:
<ul>
<li>The cost of living in the UK is much higher than in Bosnia and
Herzegovina.</li>
<li>I feel much better about life when I am being a fun and exciting
person, compared to boring and cynical.</li>
<li>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.</li>
</ul>
</p>

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

<p>So far, I have tidied up various outstanding commitments that were
weighing on my mind, and <a
href="http://bugs.debian.org/635954">offered mdbtools for
adoption</a>.  I started doing some RC bug NMUs again, because on a
good day they hit all three of my criteria.  Some ideas are already
forming in my mind of other things to do, so I shall never be short of
tasks.</p>

]]></description>
</item>

<item>
  <title>DebConf 11</title>
  <link>http://retout.co.uk/blog/2011/07/28/debconf11.html</link>
  <description><![CDATA[

<p>It feels good to be at DebConf again, this time in Banja Luka.
This is my fifth consecutive DebConf.</p>

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

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

<p>The Perl team's forthcoming move to git has come as a pleasant
surprise; I've been trying out the new workflow.</p>

<p>Earlier in the week I went running with bubulle et. al. - I must
have missed the bit in the email where the very steep hill was
mentioned.  And the rain.  So I had to slow down and turn around, and
probably didn't quite do 15km in the end. :)</p>

<p>Beer is half the price of Coca-Cola here.  Awesome.</p>

<p>So generally, I've been decompressing, and introspecting.  The
cafes are good for philosophical discussions; preferably when it's not
raining.  More later.</p>

]]></description>
</item>

<item>
  <title>No comments</title>
  <link>http://retout.co.uk/blog/2011/07/22/no_comments.html</link>
  <description><![CDATA[

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

<p>On the one hand, this is a shame - it removes an opportunity for
other people to respond to what I might write.</p>

<p>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".</p>

<p>So for the moment, if you want to get in touch, email me.  If you
want to respond publically, write your own damn blog post. :)</p>

]]></description>
</item>

<item>
  <title>The Prisoner</title>
  <link>http://retout.co.uk/blog/2011/07/13/the_prisoner.html</link>
  <description><![CDATA[

<p>I have recently finished watching <i>The Prisoner</i> (1967).  All
the surrealism is messing with my head.</p>

<p>In other news, I updated GNU Enscript.</p>

<p>Oh, and I filed an ITP for the real Data::UUID, and promptly found
<a href="https://rt.cpan.org/Public/Bug/Display.html?id=69277">a
symlink attack</a> which I suspect I failed to disclose
responsibly.  Hmm.</p>

<p>I could write a lot more, but the short version is: I need a
holiday.</p>

]]></description>
</item>

</channel>
</rss>

