E-mats - e-mats.org - Mats Lindh
General Information:
Latest News:
Merging Weird, Splitted Email Attachments as .DAT-files With [x/x] in Subject 22 May 2013 | 01:44 pm
A client received a large collection of emails today, where the sender’s software had split the mail into several parts. Outlook / Exchange at our end did however not understand the scheme the user ha...
NetBeans with NBandroid, Emulator Never Shows After Building/Running With F6 27 Apr 2013 | 03:12 am
Trying to build my first (or second, I tend to forget) Android project under NetBeans, I ran into an issue where the emulator would never show up when I tried to build the project. Turns out I even go...
SEVERE: org.apache.solr.common.SolrException: can not sort on unindexed field: geodist() 26 Apr 2013 | 05:06 pm
This error may occur if you’re using sort=geodist() in your Solr Spatial / Geographic Search. The reason is probably that you have an empty pt= value or that the parameter is missing all together. You...
slice2php and Ubuntu: /usr/share/slice/Murmur.ice:9: error: Can’t open include file “Ice/SliceChecksumDict.ice” 13 Apr 2013 | 06:21 pm
Trying to generate Murmur.php for the server component of Mumble (named Murmur (which is the only place I’ve ever encountered Ice)), slice2php gave the error: /usr/share/slice/Murmur.ice:9: error: Can...
dpkg: /etc/resolvconf/update-libc.d/sendmail: 7: .: Can’t open /usr/share/sendmail/dynamic 13 Apr 2013 | 02:11 pm
While apt-get upgrade-ing a server that apparently had bind9 installed, it barfed out complaining about something about sendmail. Weird, as sendmail isn’t installed (at least not any longer), but sinc...
alt+<number key> stops working in irssi and putty under Windows 6 Apr 2013 | 01:45 am
I have no idea why this happens. I have not been able to fix the underlying issue, but .. do you have photoshop open? It turns out photoshop interrupts the alt+number keys globally, so even if you hav...
Windows 7 and Suddenly Changed to Low Sound Volume (Realtek) 6 Apr 2013 | 12:18 am
After plugging in an unrelated USB device my built-in realtek sound card suddenly decided to go into low volume mode, where the output level was several levels below what it used to be. The mixer in W...
jQuery, Radio-buttons and attr(‘checked’) 31 Mar 2013 | 10:26 pm
To make this a bit more searcable on the magic intarwebs: jQuery 1.6.x changed the behaviour of attr(‘checked’), as it is no longer used to manipulate the state of radio buttons (or other elements usi...
Sorting Strings as Numeric Values in Python3 31 Mar 2013 | 04:12 am
A small hack to do natural, numeric sort of string values in Python is to use the int function when calling sorted (here, applied to a dictionary get it sorted by its keys): for position in sorted...
SQLAlchemy, MySQL and UTF-8 25 Jan 2013 | 07:05 pm
While SQLAlchemy uses UTF-8 by default, the charset used when communicating with MySQL will affect the encoding of the returned data. To be sure that everything is handled properly as UTF-8 (which you...