Valid UTF-8 but invalid XML
Another PSA: something surprising about XML. As you might all know, XML must be valid UTF-8 (or UTF-16 (or another encoding supported by the parser, but one which yields valid Unicode codepoints when...
View ArticleTip of the day: don’t use –purge when cross-grading
A surprise to see my box booting up with the default GRUB 2.x menu, followed by “cannot find a working init”. What happened? Well, grub:i386 and grub:x32 are distinct packages, so APT helpfully decided...
View ArticleTip of the day: prevent iceweasel from mkdir ~/Desktop
If you’re a Unix person instead of e.g. a Microsoft® Windows® person, you’ve probably been annoyed by Iceweasel (or Mozilla™ Firefox®) creating a ~/Desktop directory, among others (things like...
View ArticleDebian/m68k hacking weekend commencing soonish
As I said, I did not certain events that begun with “lea” and end with “ing” prevent me from organising a Debian/m68k hack weekend. Well, that weekend is now. I’m too unorganised, and I spent too much...
View ArticleDebian/m68k hacking weekend cleanup
OK, time to clean up ↳ tarent so people can work again tomorrow. Not much to clean though (the participants were nice and cleaned up after themselves ☺), so it’s mostly putting stuff back to where it...
View ArticleJava™, logging and the locale
A coworker and I debugged a fascinating problem today. They had a tomcat7 installation with a couple of webapps, and one of the bundled libraries was logging in German. Everything else was logging in...
View Articletomcat7 init script is asynchronous
TIL: the init script of tomcat7 in Debian is asynchronous. For some piece of software, our rollout (install and upgrade) process works like this: service tomcat7 stop rm -rf...
View Articletomcat7 log encoding
TIL: the encoding of the catalina.out file is dependent on the system locale, using standard Debian wheezy tomcat7 package. Fix for ‘?’ instead of umlauts in it: cat >>/etc/default/tomcat7...
View ArticleI have to give you that one
After seeing what the Wildfly (formerly JBoss AS) and Liferay combo does to /tmp, and somewhat attempting to fix it, I saw JVM_TMP in the Debian tomcat7 init script and thought, oh no, not another one....
View ArticleTricks for using Googlemail at work
For these who similarily suffer from having to use Googlemail at work. If anyone else has more of these, please do share. Deactivate the spamfilter The site admins can do that. Otherwise, you will have...
View Article