Search Results: "mt"

15 January 2006

Erich Schubert: OpenVPN goes crazy

I've been using OpenVPN to provide secure wireless for a group of around 200 students here, of which around 60 frequently use it. It was running fine for the last few months, but started doing weird stuff on friday. Dear Lazyweb, I'm lost at debugging the cause... I've eliminated the wireless links as possible cause, so here is the simplified setup:
User #1   -- openvpn  --   tap0 \                 eth1   -- DMZ net
                                 - br0  Firewall
User #2   -- ethernet --   eth0 /                 eth2   -- internet
So the firewall host has three ethernet interfaces, one of which is bridged together with the OpenVPN in tap mode. Everything works just fine for User #2. The firewall rules used all use only br0 as device, and a netmask both User #1 is in and User #2. Rule counter in iptables verify that the firewall is working correctly. User #1 can: After these two seconds, packets start being retransmitted; some of the retransmissions will then arrive at the client, but rarely enough to actually receive a simple website. I am not aware of any changes to the client or server OpenVPN configurations. The latest changes (according to SVN) in the firewall rules were completely unrelated "accept" rules... (and the retransmissions arrive, so...) Any hint? Some MTU issue maybe? Maybe "upstream" routers increased their MTU, now the packets are hitting some triggers? But why would it work for 2 seconds then each time openvpn on the client is restarted?

Joachim Breitner: Rock die Burg

Diesen Abend war in meinem Wohnheim, der Insterburg, ein kleines Festivalchen, mit drei Lifebands. Und da ich gerade eh warte, bis die ~150 Bilder skaliert und hochgeladen sind, kann ich auch gleich dar ber bloggen.Die erste Band, die aufgetreten ist, wurde von mir vermittelt: Peer Pressure kenn ich noch aus Herrenberger Zeiten, fand sie damals schon toll, und sponsere nicht umsonst auch deren Webseite (Domain/Hosting). Man merkt deutlich, dass die vier Jungs inzwischen doch schon einie Routine haben, und die neuen Songs sind wirklich h renswert. Besonders gefiel mir “On the inside”. Leider hatten sie das undankbare Los des ersten Auftritts, und so kam das Publikum nur schleppend in Schwung - ein wenig mehr B hnenshow w rde hier nicht schaden.Das konnte daf r die n chste Band sehr gut: Los Elektrodomestikos ist eine Ska-Band in Anz gen (naja, zumindest am Anfang) und komplett mit Trompete und Posaune und war das Highlight des Abends: Nicht nur die Musik war gut, sondern vor allem lieferten die Jungs eine klasse B hnenshow, was unter anderem dazu f hrte, dass die meisten der Bilder, die ich von dem Abend gemacht habe, von den Jungs sind. Auch die Ausdauer war ausgezeichnet, was wohl auch daran lag, dass sie regelm ig die Positionen durchgewechselt haben, und so bekamen wir f nf Zugaben.Und es w hren vielleicht noch mehr geworten, h tten wir nicht die Zeit f r die dritte Band gebraucht: Brehon, eine in Karlsruhe wohl nicht unbekannte Irish-Folkrock-Band, die (ger chteweise) schon auf “Dem Fest” gespielt hat. Leider war die Musik nach der Ska-Band etwas unpassend und die Masste tobte nicht mehr. Vielleicht h tte man die Reihenfolge der Bands anders w hlen sollen, aber das ist wohl vorher schwer abzusch tzen.Insgesamt ein gelunges Fest (und die Konserven-Musik f r hinterher h re ich immernoch in den siebten Stock), das erste Lifekonzert bei mir zuhause (und ich mit Hausschuhen mitten drin) und die, die wegen einem Heizungsleck nicht kommen konnten haben leider wirklich was verpasst.

14 January 2006

Horms: Smart Speakers?

I've been thinking about what I'd do if I bought an aparemtment and renovated it. Natrually, embeding technology in the walls is near the top of the list. But I'm not entirely sure of my options. For instance, does anyone know if there is sound equipment available that will refuse to play Alanis Morissette?

12 January 2006

Joachim Breitner: Schmiz' Katze im Jubez

Heute war die Impro-Theater-Gruppe der Uni, Schmitz’ Katze, im Jubez zu sehen. Diese leider nicht sehr h ufigen Auftritte lasse ich mir - soweit m glich - nicht entgehen. Trozdem wird es einem dank der Improvisation nicht langweilig. So wurde man heute mit Reagenzglaskindern, Lagefeuergeschichten und Horror-B gelbrettern begl ckt.Nach einer kurzen Aufw rmzeit anfangs zeigte die Truppe vor der Pause Bestleistung. Bew hrt haben sich dabei die traditionellen Spiele. Nach der Pause wurde lange und am St ck “Fishing in the Stream of Conciousness” gespielt, und sollte wohl einen k sterlischen Touch bekommen. Das war schade, denn es zog sich bisweilen ein wenig und wirkliche Lacher waren etwas d nner geseht. Um so beeindruckender war Jens’ Auftritt als posenreicher Jesus beim Abendmal. Auch sonst - als komplettes Italienisches Landhaus mit K hlschrank und BH - war er heute in bester Verfassung. Daher geht mein “Bester Improvisat r des Abends” an Jens.F r die Freunde des Theatersports, der kompetitiven Variante des Improtheaters: Am 10. Dezember kommt die T binger Theatersportgruppe Harlekin ins Jubez: Diese professionelle(?) Truppe spielt in einer andren Liga, hier sind die Sponanlieder chartreif und jede Szene erneut orginell (zumindest habe ich sie so in Erinnerung).

Joachim Breitner: Sneak: Terkel i Knibe

Heute stattete ich der Sneak-Preview der Schauburg einen Besuch ab. Gezeigt wurde der Film “Terkel i Knibe” aus D nemark, in deutscher Synchronisation. Da wohl die wenigsten von dem Film geh rt haben (und das wohl auch so bleiben wird), dazu etwas ausf hrlicher.Terkel i Knibe ist ein Animationsfilm, der in etwa wie eine 3D-gerenderte Version von Southpark anmutet. Erz hlt wird die Geschichte des 9-j hrigen Terkel und seinen Problemen in der Schule, vor allem mit Mobbing. Um dem Mobbing zu entkommen, beginnt er selbst zu Mobben, was eine in ihn verliebte Mitsch lerin in einen u erst spritzigen Selbstmord treibt und seine Freundschaft zu Jason gef hrdet. Das Ganze spitzt sich dann auf dem Zeltlager, von einem furchtbar beliebten ko-Lehrer organisiert, dramatisch zu...Einiges hat mich gest rt. So waren mir die animierten Gesichter zu steif und die M uler zu breit, so dass viel Mimik verloren ging, und die Muskeinlagen h tte man sich sparen k nnen - obwohl sie immerhin eher im Stile von “Charlie und die Schokoladenfabrik” als dem grausamen der Disney-Kinderfilme gehalten sind. Ich mag halt kein Rap, und das war es meist.Die meisten Meinungen im Foyer des Kinos schienen in Richtung “Rausgeschmissenes Geld” zu gehen. Ich selbst fand den Film eigentlich recht gelungen: Er stellt die Wirkung von Mobbing auf Kinder zwar bertriebern, aber doch glaubw rdig da. Auch die d nische Skrupellosigkeit, wie man sie aus “In China essen sie Hunde” kennet, was Gewalt und Sprache angeht, passte gut ins Bild. Da lernt man sogar nach 13 Jahren deutschem Schulalltag noch neue Beleidungen, und bisweilen machte die graphische Darstellung den “Happy Tree Friends” konkurrenz. berhaupt war der Film bisweilen so bizzar, dass kein l stiger moralischer Unterton aufkommt, ohne jedoch die Aussage zu verraten.Fazit: Wer die Gelegenheit einmal haben sollte: Warum nicht, macht euch ein Bild. Zum Lachen werdet ihr kommen! Nur allen wird es sicherlich nicht gefallen.

Joachim Breitner: Mumer nimmt langsam Gestalt an

Allerdings sehr lansam...Die Vorbereitungen f r Mundus Mercaturae (kurz Mumer), vor bald zwei Monaten angek ndigt, komme langsam voran. Ein Logo wird gerade von Jenny entworfen, w hrend ich mich um einiges auf der Serverseite gek mmert habe. Auf der Basis von Catalyst, einem Perl-Framework, entsteht die Webanwendung zum Abholen und Verarbeiten von Resourcen, und POVray soll einmal dynamisch die Residenzen der Bewohner zeichen, so dass diese sich ihr trautes Heim ganz pers nlich gestalten k nnen. Noch gibt es nicht viel Wahlm glichkeiten, aber immerhin schon zwei Zaunarten, im Beispielbild beide angebracht. Es gibt auch weitere Blickwinkel. Der gesamte Perl- und POVray Code ist per wsvn einsichtig, Kommentare und Patches willkommen. Vor allem was POVray angeht kann man sich leicht n tlich machen, wer Lust hat: einfach mal melden.

9 January 2006

Joachim Breitner: Sneak: Popul rmusik fr n Vittula

Heute hab ich mich zum zweiten mal in eine Sneak gewagt (wieder in die Karlsruher Schauburg), und wieder gab es einen Film aus Skandinavien, dieses mal ein Schwedischer.“Popul re Musik aus Vittula” handelt von der Kindheit und Jugend zweier Jungen im letzten Eck von Schweden, wo man selbst nicht so richtig wei ob man noch dazugeh rt. Obwohl der Film einige ernste Themen anspricht - Famili re Gewalt, Ausgrenzung von Homosexuellen, Tr ume von der gro en Welt - ist der Film doch sehr unterhaltsam, hat seine ernsten wie auch seine lustigen Szenen und ist auch was sonst das Kino ausmacht ganz gut gelungen. Man muss dazu sagen, dass der Film eine Literaturverfilmung ist, was sich meiner Erfahrung nach meist positiv auf das Endprodukt auswirkt.Durch die Gegend, in der der Film spielt, bin ich bei meiner Skandinavienreise fast durchgefahren, zumindest reden die Jugendlichen davon, in Lule aufzutreten, ein kleines St dtchen am n rdlichen Ende des finnischen Meerbusen in dem ich eine Nacht verbrachte.Der Film kommt in Deutschland offiziell in einer Woche in die Kinos, und ich kann ihn durchaus empfehlen.

8 January 2006

Andrew Pollock: [life/mtb] Second stack

I had another cleat-related incident on the way home tonight. I thought I'd unclicked my left foot when I came to cross the road, but apparently hadn't, and I'd already rocked towards the left and was well and truly leaning that way before it became evident that my leg was still anchored to the pedal. I fell pretty heavily on my left wrist, and it made a nasty crunching sound. Doesn't appear to be broken though, just sprained I guess. On inspection of my left shoe when I made it home, it would seem that one of the bolts that holds the cleat to the shoe has come loose and disappeared. So when I turned my foot sideways, the cleat rotated on the other bolt, and didn't release properly, whereas I thought it had released by virtue of the fact that my foot moved sideways. Just as well it's forecast to rain tomorrow. Don't feel much like riding at the moment.

7 January 2006

Junichi Uekawa: First upload for this new year.

I've uploaded new versions of whizzytex, binfmtc, cowdancer, pbuilder.I started using pbuilder-testsuite for my own packages.My scripts are set up such that unless testsuites pass, they won't be queued for upload.It took a bit of time until all those testsuites passed, but has a fuzzy warm feeling that I've tested those packages.Nice.

6 January 2006

Enrico Zini: Server crashes

My server has been crashing a lot, and now I'm home to do some more fixing on it. If you've been sending me mail and didn't get a reply, it's one more reason for pinging me again. Various things were crashing:
  • weird vm failures like Bad page state at free_hot_cold_page errors
  • pyblosxom going wild with memory allocation and getting OOMed
  • sata_nv driver starting to do nothing but dumping pointers on console, really fast
  • occasional kernel panics
This was on kernel 2.6.12. I did not find a way to upgrade to newer ones for sarge on amd64 and get the system to boot: seems to be because some partitions are in LVM. Yet another update of the mobo flash didn't help much. I left memtest86+ running for a night: memory seems to be perfect. I turned off swap and run badblocks on the swap partition, read and write tests: that's ok as well. I'm monitoring internal temperature, both motherboard and hard drives, and the system isn't overheating. So, it was time to upgrade to testing. Thanks to various cool people we have testing-security which makes the idea of running testing on my server a bit less scary. The upgrade brought udev, and (sigh) the random swap of the ethernet devices. I found something here. It works, I have even to say it's cool, although it doesn't work if I use 'eth0' and 'eth1' as device names: gotta rewrite a couple of scripts. Now I'm on testing, and some files are corrupted because of the various hard drive-related crashes. Ganneff and Yoe nicely pointed me at debsums, so let's have some fun:
debsums -a -c 2>&1  tee debsums-report.log
not so cool things come out. Among them, a list of packages that are not using dh_md5sums. Bad bad: people, please build packages with that: it's nice and comfy. Luckily debsums reports them and I can just apt-get install --reinstall them. Another cool thing of debsums, Ganneff pointed out, is that when it's installed and you install a package that doesn't have the md5sums inside, then debsums will compute and store the sums. So, if you don't have debsums installed, it seems to be a good idea to do it now. Ok, so now I'm on 2.6.15. As a side effect, the onboard gigabit ethernet card is now supported: cool! Now let's see if it holds up, and then, since now I'm on etch, I could as well enjoy it and start playing with Rails :) It could even be an opportunity to replace pyblosxom. Any good Rails blog around? I couldn't find any who is also available in Debian :(

Erinn Clark: Standby passengers love me

Usually waking up an hour after your flight has left is a bad sign -- like, a sign of imminent doom, that things are about to get horribly worse. At least, that's how it usually feels and this being the third 6:25am flight I missed in 2005, I was well-accustomed to that feeling. Luckily I got re-routed through Tampa, then Los Angeles, and I finally ended up in my San Jose, CA destination with a lovely Val awaiting me. She seemed shocked; said I was far shorter than she expected, then she realized I was walking with a group of Stanford basketball players and that, though they dwarfed me, I still managed to have at least an inch on her. (Val is "5'9 and three quarters!", according to her.) A lot of the visit was a bit of a blur. After arriving, I quickly showered, and was promptly told by Val that my skater rat apparel just wouldn't do and that our New Year's Eve party was meant to be dressy. A black shirt and some funky necklace managed to placate her, luckily, as well as my excuse of having just flown in from out of town with no instructions to dress pretty. Off to the party, where I met a load of brilliant and entertaining people, including Lina who was positively heartbroken by the lack of fireworks.
Lina and me in the ballpit The next day included eating vegan duck for breakfast, visiting Google offices for fun (not profit), getting lost with Val in some frightening redwood forest, Indian food in SF with Janet, Jen, and Val. Actually, the Indian food might deserve an entry of its own -- the owner of the restaurant actually spoonfed me, which was bizarre and funny. Afterwards, we went to visit Kristal and laughed at various things, including the most hilarious website ever. "Oh yeah baby, check out my throughput." Of course, that feeling of imminent doom was not entirely wrong. I contracted some kind of California Plague while there and spent my flight back doubled over with body aches, fever, and chills. Overall, well worth it. Happy New Year, everyone!

5 January 2006

Matthew Palmer: Music To Hack To?

Ever since I got my portable ogg player a few months ago, I've been listening to music on a fairly regular basis, particularly when working on my computer (read: programming, mostly). I've noticed that what music happens to be penetrating my skull has a bit of an effect on my coding -- both from a productivity point-of-view (ever so slightly), but more interestingly, from an enjoyment point of view -- some songs just feel like they go well with cutting code, so I enjoy both the music and the coding more than I do normally. My personal favourites have been songs like Meatloaf's Bat Out of Hell, Robbie Williams' Let Me Entertain You, and several tracks off Evanescence's album Fallen. (On the Evanescence point, when my wife first bought Fallen and played it, about 10 bars into the first track, I said "now that is music to hack to" -- interesting how I got that feel so quickly). The common factor that I can identify there is that they're all powerful tracks, with a strong, driving rhythm and a feeling of speed. They also all sound good really, really, loud (much to my wife's displeasure). So, in the interests of scientific discovery, I'd like to know what other people like to listen to when they're writing their stuff. Both from a point of view of "what else can I stock my iRiver with to encourage my coding", and also to see if people's tastes in Music To Hack To is universal, or a personal thing. E-mail your thoughts to mtht@hezmatt.org, or if your blog is syndicated on Planets Debian, Ubuntu, SLUG, or Linux Australia, Just Blog About It and I'll pick it up. Summaries to follow.

4 January 2006

Erich Schubert: Enemies of Carlotta and postfix

I've been setting up EoC lists on a SELinux postfix box recently. It was rather painless, and I have enough experience with SELinux to quickly write a SELinux policy for EoC. The most difficult thing was that basically file descriptors from the postfix delivery process were inherited all the way to bounces for nonexistant lists. I tried different setups; using EoC directly in .forward, using procmail, and using a shell wrapper like this:
#!/bin/sh -e
# verify the list exists
/usr/bin/enemies-of-carlotta  --skip-prefix=eoc+ --domain=list.foobar.tld \
  --is-list --name "$RECIPIENT"   exit 67
#  deliver to EOC
exec /usr/bin/enemies-of-carlotta --skip-prefix=eoc+ --domain=list.foobar.tld \
  --incoming --quiet
This last had the drawbacks that I would have to write some additional policy, or maybe make the wrapper part of EoC. With little benefit over the procmail solution. (BTW: IMHO the Debian enemies-of-carlotta package shouldn't depend on procmail.) I've seen a solution which used a pipe transport from within postfix with a similar wrapper (basically passing $RECIPIENT and $SENDER via commandline instead of having the local delivery agent set them); but I'm not sure about the benefits I get from that (except maybe even more SELinux policy work). There are two drawbacks with my current solution: Hmm... since newer EoC versions now have --sender and --recipient parameters, I guess I'll try running eoc in the pipe transport without any wrapper now... Update: I've now setup EoC to run as pipe without a wrapper; this didn't solve the first wish, but caused some extra SELinux violations and despite using the --quiet option a really bad error message for invalid adresses... Patching EoC right now to exit with 67 in that case... Here's the diff:
--- /usr/share/enemies-of-carlotta/eoc.py       2005-12-22 01:05:00.000000000 +0100
+++ eoc.py      2006-01-04 19:50:43.000000000 +0100
@@ -1642,7 +1642,17 @@
             debug("Not a mailing list: <%s>" % list_name)
             sys.exit(1)
     elif operation == "--incoming":
-        mlm.incoming_message(skip_prefix, domain, moderate, post)
+        try:
+            mlm.incoming_message(skip_prefix, domain, moderate, post)
+        except BadCommandAddress:
+            sys.stderr.write("Bad command address.\n")
+            sys.exit(os.EX_NOUSER)
+        except BadSignature:
+            sys.stderr.write("Bad signature.\n")
+            sys.exit(os.EX_NOPERM)
+        except UnknownList:
+            sys.stderr.write("Unknown list.\n")
+            sys.exit(os.EX_NOUSER)
     elif operation == "--cleaning-woman":
         mlm.cleaning_woman()
     elif operation == "--show-lists":
which works much better when used as transport like this:
eoc       unix  -       n       n       -       3       pipe
        flags=R user=eoc-lists argv=/usr/bin/enemies-of-carlotta --sender=$ sender  --recipient=$ recipient  --incoming

31 December 2005

Junichi Uekawa: The real ksh.

I've implemented the real ksh for hackers.It's a shell that interprets C code line-by-line, and runs each line of code in kernel mode(by building modules with that line on the fly and doing an insmod/rmmod).It's pretty slow, and doesn't feel too interactive, but here it goes.I'm sure most people hacking on the kernel have this kind of setup already.Here is the full text (binfmtc-style).An example transcript follows:

30 December 2005

Andrew Pollock: [life/mtb] Second stack

I had another cleat-related incident on the way home tonight. I thought I'd unclicked my left foot when I came to cross the road, but apparently hadn't, and I'd already rocked towards the left and was well and truly leaning that way before it became evident that my leg was still anchored to the pedal. I fell pretty heavily on my left wrist, and it made a nasty crunching sound. Doesn't appear to be broken though, just sprained I guess. On inspection of my left shoe when I made it home, it would seem that one of the bolts that holds the cleat to the shoe has come loose and disappeared. So when I turned my foot sideways, the cleat rotated on the other bolt, and didn't release properly, whereas I thought it had released by virtue of the fact that my foot moved sideways. Just as well it's forecast to rain tomorrow. Don't feel much like riding at the moment.

22 December 2005

Paul van Tilburg: Making Progress

It’s been a while since I have posted. There was nothing specific to report really, besides the fact that our team (during these holiday weeks consisting only of Krzysztof and me) is making quite some process on the MathLang-Core suite. It’s clear by now that the paper only poses an intuitive understanding of the system and that the semantics and details still have to be worked out. So, while pioneering the system, I have reworked almost any part of my implementation twice already. Last Saturday I went to the ocean to have look there and made some pictures. Note that during my stay here I will continuously supplement the Edinburgh album with photos without posting about it everytime (fortunately :)). VPN I’ve been successful in setting up a VPN connection with the Spacelabs network yesterday using the openvpn system, which seems to work nicely (and simple!). Instead of being behind a NATing router/firewall with a nasty web proxy that sometimes throws IE-style “Page not found” pages at me and a not so well working SMTP relay, I’m completely free again. That is, being virtually present on the Spacelabs network and thus the Internet. Debian/Ruby It’s nice to see more Ruby related remarks/posts on Planet Debian. That said, I would like to (ab)use the opportunity to advertise the Debian/Ruby Extras team that is set up for making a team effort of maintaining Ruby libraries and apps (not the core/interpreter). The Subversion infrastructure, build system, documentation and tools have matured a little now, but we still (always probably) could use more help in this area and also the Ruby policy and other issues. For more information, we normally have our discussions on the #debian-ruby channel (on the FreeNode IRC network).

21 December 2005

Simon Richter: D'Oh

Note to self: /dev/mtd/* does not erase blocks before writing them (good), but it won't report write errors or abort on errors either.

15 December 2005

Amaya Rodrigo: Blow up in my face



The stressful situation I am going through, one day before my talk at Debconf-es II can be described as:

* SAPFU - Surpasses All Previous Fuck Ups
* SNAFU - Situation Normal: All Fucked Up
* SUSFU - Situation Unchanged, Still Fucked Up
* FUMTU - Fucked Up More Than Usual
* FUBB - Fucked Up Beyond Belief
* TARFU - Things Are Really Fucked Up
* TOFU - Things Ordinary: Fucked Up
* GFU - General Fuck Up
* SAMFU - Self Adjusting Military Fuck Up
* TUIFU - The Ultimate In Fuck Ups
* IHTFP - I Hate This Fucking Place
* DILLIGAF/DILLIGAS - Do I Look Like I Give A Fuck/Shit?

Thanks to h01ger for the pointer to the wikipedia entry that describes what my work situation turned into this Tuesday (the 13th).

While I bang head on my keyboard, I have been heard to mutter "Morons... I am sourounded by morons".

8 December 2005

Enrico Zini: Making a film out of vncrec output

I have a vncrec output and I need to encode a film out of it. Note: this blog entry is getting updated with the feedback I receive by mail. All the part about recording an X session is being maintained in the Debian wiki. transcode won't work: tried everything, googled a lot: either it exits right away, or I use the dvd delay option and it shows an error from vncrec and does nothing. vncrec can generate xpm files, one per frame. However, imagemagick won't grok them complaining they have an illegal header. And xpmtoppm will complain that there is a line inside the file which is too long. The only thing that can load them is gimp. So, let's script gimp. I came up with this python script that kinda does the trick:
from gimpfu import *
def process (file):
      img=pdb.file_xpm_load("/home/enrico/tmp/cazzeggio/"+file+".xpm", file+".xpm")
      pdb.file_png_save_defaults(img, img.active_layer, "/home/enrico/tmp/cazzeggio/"+file+".png", file+".png")
      # (update) added to dispose of the image to avoid gimp swap to grow
      pdb.gimp_image_delete(img)
for i in range(1, 10000):
      process("img_%05d"%i)
Tested in the gimp python-fu console, it works, with the save and load progress bar popping up all the time grabbing the focus from whatever I was doing. There is a run_mode that can be passed to those file_xpm_load and file_png_save_defaults, however python-fu is happy to let me know that I don't need to bother about it. I searched, searched searched and I found out that this really means that there's no findable way to tell Gimp functions to STFU with python-fu. Now, how do I run that script AND be still able to use my computer? gimp has a nice --batch commandline option, from which it seems to only understand scheme. It has a --batch-interpreter option, but I couldn't find out any possible value that could make --batch understand python. So, it seems that the only way to run python is to either register a plugin, or type it in the python console. And no STFU. So I tried Xnest, so that I could at least iconise the whole thing out of my way. But it seems that xnest is denying connection from all clients I try to run in it. So I've run a VNC server. In the VNC server I run Gimp. Then I fire up the Python console inside that Gimp. Then I paste the script in the Python console. Then it starts working and I close the VNC client to get rid of the popups. Finally, this script helps me delete the big XPM files after they've been converted to PNG:
#!/bin/sh
for i in *.xpm
do
      if [ -e  basename $i .xpm .png ]
      then
              echo rm $i
              rm $i
      fi
done
If there were easier ways to do what I did, please mail me and I'll document them: no matter how I searched, I couldn't find any. Update: it seems that in the Gimp python script, the image doesn't get automatically garbage collected. As a result, the file ~/.gimp-2.2/gimpswap.whatever keeps inflating, so space is not really saved by converting the XPM files to PNG, unless I restart Gimp from time to time. Update: I found a function to deallocate the image: maybe that avoids the growth of the Gimp swap.

7 December 2005

Paul van Tilburg: Arrival In Edinburgh

The flight to Edinburgh went just fine. I believe it’s my first time flying 10 minutes ahead of schedule because everyone was already in the plane. I left on 12:35 CET, landed on 12:35 GMT, so no time lost :). After arriving I was dying for something to eat (which I took with me in my coat but it wasn’t really reachable in the plane). So I ate, got some money and took a taxi to the Heriot-Watt University campus. The university campus Main reception of the Heriot-Watt University I got dropped off on the campus at the main reception. There I was able to store my luggage and I was kindly directed to the Mountbatten building, home of the school of MACS. There I met Fairouz Kamareddine and two of my direct colleagues: Manuel Maarek and Krzysztof Retel. Fairouz quickly arranged that I got registered as a HW(Heriot-Watt) student, got my MACS account, the accommodation, etc. The Thomson Hall where I live in With keys, luggage and instructions I took off to the Lord Thomson Hall to find my room. At 17:00 I was completely settled in already. I met my (all Chinese) four kitchmates (yes, it’s a strange word) and went back to the university refectory for dinner. My room is a quite small, at least, smaller than I am used to (about half the area), but it has a bathroom (with shower), gets cleaned weekly and all the heating is included… so I am not complaining. I must say that the people on campus are very nice. I can ask anyone if I need to know something and I always get help or a kind reply. There are really a lot of foreign students here (about 25%) who all share the same fate.

Next.

Previous.