14 June 2009

Flickr favorites, March-June 2009

stranger than paradise Scan-090610-0015 feeling quite alone
pendant que d'autres shootaient Barack Obama... Badberg cubature Dime que me quieres Chrysler Building Curiosedad
Scan-090513-0003 Ghost Ésta es mi última escapada, adiós Le rouge      que rien ne remplace # 1 Penn Station Rotunda Shandy the Gardner
* Hoy también, se ha vuelto a nublar ... Uniptyque Duck crossing
Scan-090403-0035 St. Petersburg St. Petersburg welcome to our machine reaching out
Scan-090308-0005 red stairs the monolith will see you now Emily Jane White Cat Power

21 May 2009

My contribution to dpkg 1.15

So, the first thing I do when I boot up my laptop is to dist-upgrade it, and I was getting a little tired of staring at the “(Reading database ...” message you get when dpkg is busy reading its file database (laptop disk + dm-crypt + cold cache = slow). To preserve my sanity, I contributed a minimal patch to add a progress report, which Guillem turned into a generic facility in libdpkg and is now in the new dpkg in unstable (1.15.1).

It doesn't make dpkg any faster, but at least now I know how slowly it's really going. :)

22 March 2009

Nothing but the rain

So Battlestar Galactica has come to an end and I can't believe how sad it makes me feel. My favorite character on the show has always been Kara and her scenes in the finale provide closure in a very sad and very powerful way. I had to watch the whole thing a second time just to put it into perspective, and for me the most heart-wrenching scene is when Lee asks her what she's afraid of if not dying, and she replies ”being forgotten”. Then at the end of all things, when her mission is complete, she just passes into the wind on a sunny African plain... powerful stuff.

Others have commented at length on the finale and the ending of the series and it's pretty clear that not everyone likes it (start here). For my part, I found it fitting, and mostly beautiful.

Godspeed, BSG. It was nice having you for a little while. So say we all.

05 March 2009

GDB + Python: sign me up

I meant to blog about this last year but never got around to it. So, better late than never: Tom Tromey has a great blog series about his (and others') ongoing work on integrating Python into GDB. It starts with how to build a Python-enabled GDB, covers defining commands and functions, pretty-printing custom types, and a lot more (or perhaps you just want to jump to the conclusion).

I hope this will reach mainline GDB in my lifetime, it's very promising. There's no timeline on the wiki but the branch is still being actively worked on, so there's hope. :)

20 February 2009

Flickr favorites, January/February 2009

Essie Jain, Point FMR, Paris i exist despite you Aussois phosphorescent
. Pues lo mejor nunca llega, el futuro no existe _______ Dapple 23 up up high
Mokona with his favorite toy 1 parking lot wisdom Tour Eiffel to the right Metro Paris tadjikistan ouest
Scan-090121-0070 Reflexe verd ( Twin 23 Bus stopping
∕▣ Ballons au carré Macro-test A35 Sunset Scale 71
He loves his box! Confeti Greek august 2008 IMG_5375 sky Se han plantado en el medio del asfalto

P.S.: that russian blue cat is the gorgeous Mokona.

07 February 2009

Notes on the ASUS Eee Box b202

In case anyone's interested, here are some notes on the ASUS Eee Box, more specifically the b202 model, Linux edition:

  • I use the box as a media center, so I initially wanted to connect it to my 720p HDTV using a DVI/HDMI cable. Unfortunately it's apparently impossible to use the TV's native screen resolution (1360x768) via HDMI, the best you can get is 1280x720, which results in a somewhat blurry image. Worst yet, the HDMI input has an overscan problem, approximately 50 pixels on each side are missing... which means that your GNOME panels will be invisible. I'm not sure if this is caused by the Eee Box or by my TV set but if you absolutely want HDMI, waiting for the b204/b206 model with its built-in HDMI might be a good idea. (In the end, I used my TV's VGA input.)
  • It's more powerful than I thought. The Linux version ships with a 160GB SATA hard drive and 2GB of RAM (instead of 1GB for the Windows version) and the Atom N270 CPU is pretty fast. It plays 720p MPEG4 video (such as this file) with lots of CPU to spare, and the quality is really great.
  • The optical S/PDIF audio output doesn't work under Linux, as far as I can tell.
  • It's extremely silent despite the fan and hard drive.
  • The Gigabit Ethernet controller is a nice touch, netperf reports a speed of 611 MBits/s. In practice the drive's speed will be the bottleneck, of course.
  • To avoid tearing issues when playing video with Xv, use the Intel Video Overlay adaptor instead of the (default) Textured Video adaptor. (Use xvinfo to get the port number.)
  • OpenGL performance isn't great; Compiz with basic effects will run fine, mplayer can play most video files using the gl/gl2 output without frameloss, but games will be slow. (Not that I expected much from the Intel GMA950 anyway...)
All in all I'm pretty happy with the Eee Box. If you have any questions, feel free to email me or leave a comment below.

02 February 2009

First Emacs 23 pretest released

Emacs 23.0.90 was released yesterday, it's the first pretest for the upcoming 23.1 version. Debian packages for etch and lenny/sid are here; Ubuntu packages for hardy, intrepid and jaunty are here. If you find any bugs please use M-x report-emacs-bug (unless it's a packaging issue, in which case feel free to email me directly).

25 January 2009

Some Emacs news

This week's emacs-snapshot release (20090118-1) reached a new milestone with more than 700 downloads in just under a week. I guess this is quite an achievement considering that not everyone wants to download 25MB of Emacs packages on a weekly basis, so thanks to all my users for their continued trust and support!

Here's a quick update on the status of the Emacs 23 release: the last remaining feature on the roadmap was finally completed this week with the merge of the rmail-mbox (pmail) branch into rmail. The pretest (GNU lingo for “beta”) phase could start as early as next week, which is not to say that the release itself is right around the corner since a few major tasks need to be finished first, like updating the manuals. The release could also be delayed by the proposed (and long overdue) switch from CVS to Bazaar, pushed by newly-minted Launchpad evangelist Karl Fogel.

That being said, aiming for a release in 2009 isn't entirely unrealistic, and I really can't wait to see Emacs 23 reach a wider audience. It is the culmination of many years of work in lots of areas (Unicode support, font backend, multi-tty, Cocoa, ...) and is by far the best Emacs version to date!

20 January 2009

Backing up tweets

Today I decided to give Twitter a second chance and reactivated my account after almost 12 months of inactivity. Since this time I won't be protecting my updates I had to delete all my previous (possibly embarrassing) tweets before making my timeline public. But I didn't want to lose my data, so here's how I took a backup:

  1. Install twyt (python-twyt in Debian)
  2. Determine how many pages of tweets you want to save (let's say 10)
  3. for i in `seq 10`; do twyt usertl -u <user> -p <password> -P $i >>twitter-backup.txt; done
You now have a text file with all your Twitter data.

21 December 2008

Flickr favorites, November/December 2008

* Vete a tu casa, Vete a tu casa, Vete a tu casa snow in new york today la chapelle. grandaddy
European Tour XI Berlin Si no han pasado ya nunca más pasarán Passages protégés Coffe and Milk tunnel F1010018
F1010021 Guess Who? photo show on monday Multicoloured Rings Of Stitch
who's there?... The world keeps turning.. DSC_0175 Evolution de la féminité inevitable A guy called 23
Zig-Zag 238609816_e0bdc01068 2685_1 Red Torii F1000002 F1000026
Aunque nos separen años luz Suerte que tú ríes y no te enfadas ... 38450005 1000 et 1 feuille(s) RER E - Gare du Nord, Paris | 15.10.2008