<?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>Engaged!</title>
  <link>http://retout.co.uk/blog/2012/05/08/engaged.html</link>
  <description><![CDATA[
<p>Following on from the <a href="/blog/2012/04/11/weekend_of_change">weekend of change</a>, I've got engaged to Kate. :)</p>

<p>We now need to organise a combined housewarming/engagement party...</p>

]]></description>
</item>

<item>
  <title>Weekend of change</title>
  <link>http://retout.co.uk/blog/2012/04/11/weekend_of_change.html</link>
  <description><![CDATA[

<blockquote cite="http://agilemanifesto.org/principles.html">
<p>Agile processes harness change for the customer's competitive advantage.</p>
<small>Principles behind the Agile Manifesto</small>
</blockquote>

<p>
After two and a half years at <a
href="http://smoothwall.net/">Smoothwall</a>, I'm moving on - Friday
is my last day.  Since I joined the development team, we have adopted
Agile development, set up a pretty nifty Gerrit/Jenkins code review +
integration system, and introduced dpkg for package management.  Along
the way, I helped with a bunch of important features for the business,
like a ground-up rewrite of the web filter, and time-based browsing
usage quotas.
</p>

<p>
I will be starting at <a
href="http://www.cv-library.co.uk/">CV-Library</a> on Monday, for a
whole new set of challenges.  They're based in Fleet, so I'll have an
hour-long commute each way on the train.
</p>

<p>
I've been assured by an expert in these matters that facilitating wage
slavery is a comparatively more ethical pursuit than facilitating
internet censorship. :)
</p>

<p>
To make the commute somewhat more bearable, I'm moving house on
Saturday.  So far, the packing's going quite well...
</p>

]]></description>
</item>

<item>
  <title>Bye, Mark.</title>
  <link>http://retout.co.uk/blog/2012/04/08/bye_mark.html</link>
  <description><![CDATA[

<p>I've finally got around to deleting my Facebook account.</p>

<p>I'd love to claim that this was a grand gesture against
privacy-invading apps, or a bid to recoup vast amounts of my spare
time... but it's not, really.  I rarely logged in to the site, these
days, so Facebook has very little of my personal data.</p>

]]></description>
</item>

<item>
  <title>2012-02-09: Thursday</title>
  <link>http://retout.co.uk/blog/2012/02/09/2012-02-09.html</link>
  <description><![CDATA[
<ul>
<li>Michael Meeks gave awesome talks at FOSDEM, so Kate was inspired
to hack on LibreOffice.  I was inspired to write this blog entry in a
list.  She probably wins.</li>
<li>Building LibreOffice master on Debian stable failed for her with a
segmentation fault in GNU Make. A bit of searching threw up <a
href="http://savannah.gnu.org/bugs/?20033">Savannah bug #20033</a>,
which is hitting everyone on the upstream mailing list.</li>
<li>Bumped severity and offered to NMU <a
href="http://bugs.debian.org/622644">Debian bug #622644</a>.</li>
<li>Then actually tried building make-dfsg in cowbuilder, and aclocal
fails in the clean environment because /usr/share/aclocal does not
exist. I think it's related to <a
href="http://bugs.debian.org/565663">Debian bug #565663</a>, but I'm
still poking it.</li>
</ul>

]]></description>
</item>

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

</channel>
</rss>

