Monthly Archives: December 2008

Microsoft SQL Server text data column and PHP length problems

I’ve had this problem before: PHP truncates results from a SQL Server text field to 4096 characters. (This is running PHP under Apache on Windows.) To save myself having to work out the right Google terms again, this is the … Continue reading

Posted in Programming | 1 Comment

Repeatable random numbers in JavaScript

Ever since programming BASIC on the Spectrum I’d wondered why it was possible to seed a “random” number generator. But then I found I wanted to do something that would produce repeatable results, but look like a random sequence. Strangely, … Continue reading

Posted in JavaScript, Programming | 1 Comment

Firing JavaScript functions after a .Net AJAX request

I wanted to have a function called after data was returned to the page from a .Net AJAX call. (The idea was to fade out when you pressed “submit” and then redraw when data came back.) It turns out there … Continue reading

Posted in JavaScript, Programming | Leave a comment

Near Athens – the island of Aegina

Whether the island is actually spelt Aegina or not I couldn’t tell – it was spelt differently on every timetable and in every guidebook. But if fits for me. We started off at Piraeus, the port that’s virtually a suburb … Continue reading

Posted in Other | Leave a comment

Athens – some modern stuff

Athens has a strange history of very ancient architecture, a bit of development with the Romans, and then not much for a very long period of time. Most of the city looks very 20th century, and not particularly well done … Continue reading

Posted in Other | Leave a comment

Athens – various old stuff

Athens is full of old stuff. You can’t help seeing it everywhere, and they can’t help but finding it every time they want to build something. As a result, there are quite a few museums of old stuff, or places … Continue reading

Posted in Other | Leave a comment