Author: berkeley_21

PEAR MIME-mail with non-ASCII characters in recipient field

Creating headers using the Mail_mime::headers() function when there are non-ASCII characters in the To field (the From and Subject fields don’t suffer from this problem) and then trying to send the message results in a “Validation failed for: <recipient>” error. Overcome this by encoding the recipient field separately using the Mail_mime::encodeHeader() function before passing it to Mail_mime::headers().

Read More

Useful links

Some tabs I’m hoarding right now. Can’t close anything until I make a note of them somewhere. It’s a manic affliction. http://www.htaccesstools.com/htpasswd-generator/ – the .htpasswd generator I used to get back into this site http://www.miraclesalad.com/webtools/md5.php – the hasher that I used to get back into this site http://gmaps-samples.googlecode.com/svn/trunk/gdirections/directions.html – adding directions to embedded Google maps – […]

Read More

Don’t ask me what I meant

If you’re not a native speaker of my language and you didn’t understand me, that’s your fault. Seriously. Don’t look at me like I have horns growing out of my head and don’t ask me if I meant to say what I said in a different way – just accept that I said what I […]

Read More

Don’t force website localisation

Just because I’m in Russia doesn’t mean I really want to read your website in Russian. Especially not if it’s in some kind of unfathomable machine-translated approximation of Russian. I might not understand the language of the country I’m located in. I might be passing through, or I might be a hapless expat who’s managed to […]

Read More

Head x-ray returns 404 brain not found

Morning visit to the doctor (not the one that gave me the telepathic diagnosis)  gave me a clean bill of health and a closed sick note. Get back to work young man! But since the ENT chap said you should get your head x-rayed, go and do that anyway (although they won’t find anything, I […]

Read More

Sinus infections really suck

For about the last five months, I’ve gradually been getting more and more tired. It probably started with my first ever jet lag, in October 2013. It seemed to be taking ages to go away, but that was understandable owing to the fact that external circumstances had conspired to thwart all my attempts at getting […]

Read More

Chrome, please restore scrollbar arrows

Seriously Google, I can’t take much more of it. I like to work on my netbook, which has a teensy little screen. It’s now impossible to get fine control over scrolling on a small element that has lots of overflow without using the arrow keys, and that’s only possible when there’s whitespace (e.g. no links) […]

Read More