Toggle fullscreen in Emacs

Today I improved the function I was using to toggle full screen in GNU Emacs. (defun toggle-fullscreen (&optional f) (interactive) (let ((current-value (frame-parameter nil 'fullscreen))) (set-frame-parameter nil 'fullscreen (if (equal 'fullboth current-value) (if (boundp 'old-fullscreen) old-fullscreen nil) (progn (setq old-fullscreen current-value) 'fullboth))))) (global-set-key [f11] 'toggle-fullscreen) The previous function would always restore the frame to "normal" state, even if Emacs was previously maximized. This one makes it behave more like, say, Epiphany or Totem. ...

July 9, 2010 · Tim Retout

Play

Thank you to everyone who came to see me sing in the Southampton Philharmonic Choir this evening, and to those supporting from afar. My favourite parts, naturally, were the phrases in Villa-Lobos's Choros 10 that include fortissimo low F notes. There's a low E at one point in Daphnis et Chloe, but it's pianissimo.  

July 4, 2010 · Tim Retout

Work

Today I wore a tie to work, and told everyone it was "dress up Friday". Of course, this has been done before. At lunch most of the office was together at the pub, celebrating a software release. I had an entertaining discussion with the Technical Director about how our next major version should be developed - we disagree. But it seems I've convinced several key people of the merits of basing our work on a third-party distribution, so that looks promising. ...

June 25, 2010 · Tim Retout

Recording video with gstreamer

For future reference, here is the gstreamer pipeline I'm currently using to record videos (with audio) for YouTube: gst-launch-0.10 \ v4l2src ! 'video/x-raw-yuv,width=800,height=600,framerate=20/1' \ ! tee name=t_vid ! queue ! xvimagesink sync=false t_vid. ! queue \ ! videorate ! 'video/x-raw-yuv,framerate=20/1' ! queue \ ! mux. pulsesrc ! audio/x-raw-int,rate=48000,channels=2,depth=16 ! queue \ ! audioconvert ! queue \ ! mux. avimux name=mux ! filesink location=test6.avi For some reason cheese becomes slow for me when I start recording. Probably the theora encoding? I need to investigate further. ...

March 1, 2010 · Tim Retout

Plugging the Debian GNOME bug weekend

This weekend I've been messing about with gstreamer pipelines so that I can spam the world with YouTube videos. Go me! Let's see if it shows up on Planet Debian. Next weekend I'll be teaching my brother how to triage Debian GNOME bugs. :)

February 22, 2010 · Tim Retout

Facebook and XMPP

So Facebook Chat now uses XMPP. And the Empathy development version has some nice integration. This could mean that I can finally chat to non-Jabber using friends on a regular basis. It's been nearly four years since I switched from MSN to Jabber, and I think I lost contact with a lot of people. Facebook chat via AJAX is unreliable, and my visits to the site are quite irregular, so hopefully this will work around both problems. ...

February 12, 2010 · Tim Retout

Net-NationalRail-LiveDepartureBoards

On Tuesday, I released version 0.02 of Net::NationalRail::LiveDepartureBoards to CPAN. So far, no one has complained. This module is probably of interest only to people in the UK; it looks up which trains are next to arrive/depart from a particular station. This release was prompted by a patch sent to me by Ian Dash, implementing a filtering feature I was too lazy to write myself. If someone wants to put a fancy GNOME applet around it, I'd be grateful. ;) I think the next step is to add a nicer OO interface. ...

January 14, 2010 · Tim Retout

Hudson and Devel::Cover

I wrote a plugin for Hudson today, which integrates Devel::Cover (Perl's test coverage tool) into the build reports. Actually, that's currently an exaggeration. All it does is add a checkbox in the configure page, and a link to Devel::Cover's reports on the build page when it's enabled. I spent the day remembering how to program in Java. Tomorrow I might be in a position to extend it into something more attractive - I'll publish it very soon, but I need to run it past my employer. Watch this space. ...

January 7, 2010 · Tim Retout

Back

I can now announce my return to the land of the internet. Of course, I wasn't entirely without visiting rights. It so happens that one corner of my new living room is just within range of a terribly expensive wireless access point. It was slow, and kept dropping out. But I managed at least one upload over it, and some email... I have quite a lot of catching up to do.

December 23, 2009 · Tim Retout

Moving

I'm now a Debian Developer. :) My thanks go to Ben Hutchings, gregor herrmann, Chris Lamb, Christoph Berg, Steve McIntyre, Brad Smith, Jonny Lamb, Chris Boyle, everyone at credativ, and everyone else who helped me with Debian over the last... almost six years? Actually, I've been a DD since the weekend, but have been too absorbed to write about it. In other news, I'm moving house today... I'm more or less packed now. My internet access may be intermittent at home for the next few weeks. (Home is now Southampton, UK.)

December 11, 2009 · Tim Retout