Thunderbird’s context menu disappears

November 28th, 2012

Thunderbird logoI like cleaning up my inbox. Right-click a message, “move to” and select a folder.

Except that sometimes, I right-click a message, but before I can select “move to”, the context menu is gone again. Annoying. Apparently, I’m not the only one.

Work-around: minimize the window and then restore the TB window again. The bug is still being hunted, as far as I can tell.

SVN “generic failure”

November 17th, 2012

Talk about weird errors:
$ svn up
svn: generic failure

Le what?!

Apparently, this can have multiple causes:

  • Hostname of your local machine not being resolved (try adding to hosts file of the SVN server)
  • Firewall issue(s)
  • Negotiation issues (try changing from “file://” to “svn+ssh://”)

The first issue (your computer does not know who it is) is actually a problem. Diagnose this by checking with “sudo echo hello world” — does sudo report “cannot resolve host ….”? If so, then the below will probably solve it:
echo "127.0.0.1\t`hostname`" >> /etc/hosts

Sloppy focus (focus follows mouse) in Ubuntu 11.10

November 14th, 2012

Had to upgrade my ubuntu when they ended support for Ubuntu 11.04. Of course, now I no longer have the nice window manager…

But this one can be tweaked too. Install “MyUnity” to set # desktops, and (e.g.) set whether devices should be shown (a good option since it’s harder to find them now than before).

Another tweak, adapted from this tip, is how to re-enable sloppy focus:

gconftool-2 --type string --set /apps/metacity/general/focus_mode sloppy

Apparently, according to an answer to that question, there are 3 different values: sloppy, click, and mouse:

  • click: click in window to get focus
  • sloppy: point into a window to give it focus
  • mouse: focus on window if (and only if) mouse is in window

I prefer my focus sloppy, thankyouverymuch :)

Capdanse Swing rocks!

November 2nd, 2012

I’ve picked up Lindy Hop dancing again. It’s fun (even though class is a lot further from home than before :), and so I figured to attend one of the training weekends.
I had one last year (Swinging in the rain 2010, if memory serves), and it was awesome! Learned a truckload there! So, when I was sort of invited to join for the CapDanse RockSwing Festival, I said “why not?”.

Then they told me it was that weekend (classes on Thursday evening, folks), and I hesitated. For a second or two. And then I figured “oh, whatever, we’ll make do somehow.”

Great decision! I had such an amazing time :)
Saturday morning, I woke up insanely early and was way too early at the station. We took the train to Nancy, then the bus (we being Cassandra, Ingrida and myself), and were on time to register and attend the first classes (from 10:00(!) on). Since I skipped lindy hop for a while, I figured to start with “Lindy 1″. Probably below my level, then again, last time I attended such an event (swinging in the rain), it was *not*.

Turns out that CapDanse attracts people from all sorts of dancing backgrounds, and plenty take the first level of a class just to see what it’s like — absolute beginners. Thankfully, we had Sharon and Juan teaching us, and these two are good. So they were working on everyone’s basics, which is what always needs work anyway :)
Fun class, not a complete waste of time :)

Then I went to Rock 1, which was fun. First half hour was simple stuff I’d already seen, and then suddenly there came a move I hardly came to grips with. Le oops! I reckon I forgot most of that move by now :s.

Then, Lindy 2, again with Phil and Aude (two french teachers who also taught Rock 1). Hmms, the lindy level here was better, but still… sort of “had a few classes in Lindy”, not “have danced lindy for months now” like me.

After lunch, the fun continued with (again) Lindy 2, again by Sharon and Juan. They focused on our basics (the bounce, the rhythm), and they were damn right about it. Next up: Tap dancing! This is seriously super :) Just to be tapping something with your feet which fits in with the music was really cool. Hard too — we learned a march and another routine, and I completely failed to explain to my legs how to do the march.
Last of the day was the Big Apple Routine, which is a solo jazz dance routine (like the shimsham), which was explained at *blighteningly* fast speed, and, moreover, was a continuation of an earlier class from before lunch.

Yeah, I dropped out, went to the hotel, caught the end of a movie (whose grand finale was a tap dance routine :), and layed low till dinner and the party.

At the party there was a separate room for “west coast”. It seemed to be couple dancing to popular music — didn’t quite get it. Then the shows came, and the West Coast teachers showed what, to me, basically was a variation of Zouk. That is, the moves/figures are very Zouk-style. For someone who knows as little about it as me :)

Anyway, though it looks fun, it’s the kind of music I prefer to free-form dance to. So I decided to skip it.

Sunday, first class of the day was Jazz Roots 1 with Max and Ksenia. What can I say, we got off on the wrong foot. The lesson was pretty okay, though I didn’t appreciate that the entire lesson consisted of learning one routine. Next session was Lindy 1 — yeah, not quite my level, but the other courses in parallel were over my head (or so I thought). We did a lot of basic stuff, again with Max and Ksenia. I enjoyed myself there, and tried to make the followers follow — not always easy. Then came Lindy 2, again with Max and Ksenia. I don’t know if they were tired of me, but I sure was getting tired of them ;-) Unfortunately, they basically repeated their Lindy 1 class. I had to check out so I didn’t stick till the end, but, all in all, somewhat disappointing.

After lunch (which was a different story), Lindy 3 with Sharon and Juan. What. A. Relief. We learned some fun moves, we danced a lot, I basically had a fantastic time and came away from one hour of dancing feeling energised. Which I then expended on Charleston Couple, taught by… … guess. Yep, Max and Ksenia. Again, one routine to do for the entire class, not my thing. Took me a while to sort of get it, and I was nowhere near comfortable with it.

So I clearly saw the advantage of teaching 2 figures — if a student fails to get the first, they can always have fun with the second. While if you’re teaching one routine, a small error early in the routine can prevent the fun later on.

Final class of the event was the Rock 1 class, this time by another french couple. They were fun, taught very relaxedly, and I had a good time. Rock is a lot like jive or Lindy Hop, only more strict, more “ballroom”, if you will. I realised that part of the attraction of Lindy Hop to me is the ultimate freedom you get — as Simon once said, “there are no wrong moves, there are only new moves” :)

The Rock 1 class itself was really fun, and we learned a few simple moves which were quite fun :) They weren’t lindy, as the way to lead them really violates the Lindy was of leading/following: Lindy is all about tension, natural movements, etc., while this move contained a “signal” — “If I flap my hand like this, you go like that”.
Cool effect, but didn’t feel like lindy.

Anyway, it has been *way* too long since, no chance to practice all the cool figures Sharon and Juan taught us, so I just hope I remember them.

Cool thing I learned: in Lindy, they use the term “flourish” exactly like in juggling. You’re bored, there’s an arm available, why don’t you use it to spin something around? It doesn’t interfere with the pattern anyway :)

PS: I’ll try to find some videos and photos from my fellow hoppers to sprinkle throughout this long post later :)

Dosbox won’t get Ctrl-Break…

November 1st, 2012

As you do not know, during my recent bike holidays, I ran into Arnout and had another go at Sokoban. Of course, I couldn’t just let it be and I’ve been having some fun ever since tinkering with the source code.

Point of particular annoyance: in Dosbox, QB / QBasic does not react to CTRL+Break. Which happens to be the key code to halt the program and edit it — in other words, my debugging key. I now got curious, and turned to The Google.

  • Here’s why CTRL+Break doesn’t work in a normal DosBox setup.
    (tl;dr version: no event generated whatsoever by the keypress. Also: this is a “magical” key-combo, in that it triggers an erase of the keyboard buffer and a call to a special handler — in short: special magic is needed, and none of it is there).
  • Apparently, there is a patch to enable CTRL+Break (note that this patch requires another patch). Didn’t try it myself.
  • Best of all: QB / QBasic respond similarly to CTRL+ScrollLock. Which works out of the (dos)box. :)

Sound in TuxGuitar

November 1st, 2012

I just accidentally uninstalled TuxGuitar (it uses Java, which I have a habit of deleting from my system :). Unfortunately, that meant I not only had to reinstall it, but also had to re-find-out how to get sound working. The problem: default midi for TuxGuitar is /dev/sequence, which, by the way, does not exist.

Oookay…

After a search, I found one way to do it:
sudo apt-get install timidity tuxguitar-jsa
This installs a real-time sequencer.
Tweak the settings in TuxGuitar (F7 -> sound) to use this, on the appropriate MIDI port — in my case, Gervill.

Airport events?

October 21st, 2012

(Sun 21 Oct 2012, 21:18) Sitting outside with my brother, sister and girlfriend, enjoying a warm autumn evening, we see planes pass over every now and then, landing at the airport a few km further east. Suddenly, one that flies over greatly increases its throttle and gaining altitude again. The next one that flies over is higher than any landing plane has ever been before, and still gaining altitude.

Something is going on, and I am seriously curious. I trust everything’s okay, no news on twitter or via google to the contrary.

Edit (21:53): small plane coming over again and heading to landing. Some more way higher in the air, probably in a holding pattern. Apparently, the problem has been resolved. Status of flight LG7988, to arrive at 21:25, is still not set though…

Decay of the English language

October 9th, 2012

Not a native speaker here. Nevertheless, I am often gripped with laughter when someone spots “sins against English”.

Time I added one myself: This page talks about a need to explain the “symbology”. This was addressed far better than I could ever do it below:

Privacy on the internet

September 26th, 2012

First, a cool video (likely spoofed) raising awareness on privacy issues:

Next: don’t do this!


Found thanks to @needadebitcard at Twitter. Even if this one may be a fake (I really hope so), there are too many others who also do this. Seriously, folks, giving away your banking details?? Upon seeing this, several people have already made a connection with the Darwin Awards but then for Security / Privacy. Might be a good idea.

This recalls the pleaserobme / Icanstalku websites, which both leeched photos from all over Twitter, and scraped them for location data. Yes, ladies and gentlemen, if you publicly post a photo on the InterWebs which has location tagging in it, others can see where you took that photo.

But people showing photos, online, publicly, of their banking details… that just boggles my mind. Don’t do it. In the old words of Userfriendly.org:

Conference call etiquette

September 5th, 2012

Here is a brief tip for conference calls:

Mute Your Mic!

It would be nice if people kept their microphones off till they want to talk — saves a lot of noise and annoyances.

Okay, edge grinded now, back to the call :)