Meeh

Yesterday I mucked about MonoDevelop, part of my reasoning being MonoDevelop presumably failing while compiling my perfect, non-errorous Vala code.

Shame on me, though: The blame is entirely mine, respectively my inability to check first and whine later.

So, what happened? Build yourself a nice crashing Vala application that should send something out to the console before biting the dust. Now build it on Debian Squeeze. Run and check. Well, it certainly does print it’s dying message.

Now repeat the same experiment on Ubuntu 10.4, lo and behold: You won’t see the message.

This is the point where reasonable people would simply check the strings in the produced binary. Didn’t think of doing that, mea culpa; you’ll see the strings are present in the file but not being displayed (ergo: There’s no problem at all, just some unexpected behaviour).

Can’t put it in words…

After months of using Archlinux on my system I just want to say three words: Thank you, Debian!

I can’t put it in words but using Debian is just such a gratifying experience; the vast amount of packages and the great tools make this my absolute favorite GNU/Linux distribution. What makes Debian so attractive is the fact that a lot of non-free software (like Adobe Air, NoMachine’s NX etc.) has packages for it.

And yeah, I’m a fanboy.

FLV Embed Modification

I love Yaosan Yeo’s FLV Embed WordPress plugin. In fact, while here on TnH I use a variety of plugins, on my new site it’s exclusively FLV Embed.

Now, the plugin ships with an old version of JWPlayer that doesn’t support subtitles. This is bad because that’s just the feature I needed. So, I updated the player version shipped with the plugin and also added a few more tricks to the otherwise great plugin:

  • You can now specify a default size in the options. If you don’t give a size in the flv tag, it’ll automatically use the ones specified as default.
  • There’s a few more parameter combinations, most notably you can now add subtitles to the parameter list (filename, sub, poster, width, height).

What does this mean? You now have the following possible combinations:

  • (filename) Plays just the filename with the default size, no subs or poster
  • (filename, subs) Plays the filename with the specified subtitles with the default size
  • (filename, subs, poster) Same as above, just with the additional poster
  • (filename, subs, width, height) Same as above but without poster and with custom sizes
  • (filename, subs, poster, width, height) Same as above but with poster.

Yeah, I don’t really need the poster. If you’re interested you can grab the file here. Be advised that you need to download and unpack the player.swf and yt.swf from the new JWplayer to make this work. Also, you need the original plugin.