Right, I've about had it up to here with the Xkb documentation, and with the layout of my shiny new Kinesis Advantage Keyboard. The cursor keys on the kinesis are horribly situated. What I'd like to do is hit a key (AltGr, say) and have it put the keyboard into a navigation mode, with the arrow keys mapped onto WASD and possibly HKJL and, ideally with Home/End, PgUp, PgDn in sensible places as well, then, once I've done, hit the mode switch key again and I can carry on programming. Adding a chording key as well would be good, or, better, arranging things so that if I use the mode switch key as if it were a non-locking key then it'll Do The Right Thing.
If you saw me at YAPC::NA or you follow me on Twitter,
you’ll know that I’ve been waylaid by Repetitive Strain Injury, so I’m
going to be cutting back even more savagely on the blogging I do here.
Over on Twitter, Allison Randal said:
Open source isn’t just a licensing/business strategy, it’s a better way
of producing software and a better way of training developers.
Graeme (@mathie) Matthieson is one of the good guys. He’s also one of the people behind
the Scottish Ruby Conference (né Scotland on Rails).
I spent my own money to go to the first one they ran, and it was a great
conference. To judge from the tweets around this year’s conference,
they’re not slacking off at all. Even though I’m back to being a Perl
programmer nowadays, I wish I’d been in Edinburgh last week.
So, Giles Bowkett asked me on facebook “Why Perl?”. This is the long answer.
I’m a Perl hacker. I have been for around 16 years now. Around 5 years ago, prompted by the Pragmatic Programmer and Adam Turoff, I started looking at Ruby, and Ruby on Rails and sort of fell into maintaining Typo.
There’s something satisfying about reaching the point when you can’t decompose an object any further and all your methods are tiny and do one thing - it’s especially gratifying when you learn something new in the process. Sadly, it doesn’t happen as often as I’d like, there’s usually annoying bits and pieces where you have to placate the language in some fashion that breaks the flow of what you’re writing.
In Ruby, when you’re doing division on integers, things can get a little counter intuitive. For instance, 6/4
is obviously 1
. At least, it is until you decide that you’d rather have numbers that behave a little more like ‘real’ numbers and you do require ‘mathn’
, a module in the Ruby standard library (ie, it comes as part of ruby). Then you enter a whole new world of rational maths, where 6 / 4
returns 3/2
.
tap tap… Is this thing on?
So, I recently noticed that Test::Class 0.33 got released, which means that Test::Class::Sugar no longer needs to depend on a development release, and I also noticed that it was embarrassingly easy to throw Test::Class::Sugar into an infinite loop by forgetting which way the >>
goes when you want to specify the number of subtests in a test method.
At last! Start your compilers everybody.
Back in (crikey) February, I gave a talk at the London Perl Mongers’ technical meeting about Moose for Ruby Programmers and wrote it up here. Mike Whittaker was in the front row of the audience with his iPhone and, a couple of minutes in, started a voice recording and gave me a copy.
Mum was often the only women [at British Leyland sales conferences]. In those days it was apparently common for presenters to slip the occasional naked lady into the slides “just to keep everyone awake”. When this happened, there’ be slightly embarrassed laughter and a few heads would turn to look at mum. Who ignored it. It doesn’t happen so often any more
I’ve just written my first ‘real’ real post for the new Freedom is in Peril website. I’ll try and keep the political stuff on that blog from now on, but if you’re at all concerned about the erosion of what has traditionally, if cornily, been called “British Liberty”, then I hope you’ll swing by, and link to, the new site.
I’ve just pushed the second version of Test::Class::Sugar (first discussed here). It’s pretty much as discussed in the original article, but after some discussion with David Wheeler, I’ve dropped the +uses
clause from the testclass
declaration in favour of less DWIMmy (and thus easier to explain behaviour).
This seems like a more appropriate poster somehow:
:http://xrl.us/beqnw4