Menu

Snippets

Yet another programmer blogging about code

Archive for the ‘Ramblings’ Category

PHP DateInterval can’t have both weeks and days

Monday, January 30th, 2017

PHP has some handy Date classes, including one for specifying date intervals. But you need to be wary of some idiosyncrasies, as I just found out. (more…)

Life seems but a quick succession of busy nothings

Monday, July 13th, 2015

It’s not often that I quote Jane Austen, but she had it so right when she said, “Life seems but a quick succession of busy nothings.”

PHP really doesn’t do Unicode

Thursday, April 24th, 2014

I’ve heard many times that PHP doesn’t really do Unicode, or not properly. In seven years of working primarily in PHP, always in UTF-8, I’ve never really hit a problem, so I always figured it was something esoteric and unimportant for me. But already this year I’ve seen this problem twice, in different ways. (more…)

Keeping Classic ASP Alive

Saturday, March 19th, 2011

Initially released with Microsoft Internet Information Services (IIS) late last century, Classic ASP hasn’t seen an update to its functionality since ASP 3.0 in 2000. Used on website and web applications typically written in VBScript, Classic ASP somehow seems to keep on going even in the face of competition from better, more modern website development platforms like ASP.NET, PHP, Java Servlets and JSP, Ruby on Rails, … the list goes on. In many cases it can be harder to achieve something in ASP than in a more modern development platform. (more…)