December 29th, 2012

In some -older- javascript code I found the following today:

Within 4 lines the author manages to look not so smart himself: the regular expression to find the Internet Explorer version assumes that it remains in the single digits.

With Internet Explorer 10 the match starts failing. The code that follows has no idea how to deal with that.

In German a person who is not the brightest is sometimes been titled as ‘can not count to ten’ (”Kann nicht bis Zehn zählen,”)

gmail: do not send to spam and other filters

December 21st, 2012

Recently GMail has - in my experience - more trouble with filtering spam: An average of 5 messages a day come through and end up in my inbox.

Much worse is that messages that are ham end up in the spam folder.

I added a file to get some of them automatically out of spam. Which worked, but has one drawback:

Messages that match my ‘ham filter’ but also match an older filter (think mailing list) started to show up in my inbox, and no longer in the folder, I mean label,
that the filter sets.

This feels as if the gmail ‘do not send to spam’ instruction actually does an ‘mark mail as non spam and send to folder inbox’.

Which is strange since messages can have a label AND be in the inbox.

The remedy seems to be filter order. I got the previous behavior back when I moved the ‘ham’ filter before the other filters.

I don’t think it is possible to arrange filters. Changing the order means deleting filters that should move to the end and creating them again.