Author Archives: Andrew

In Damnation of PHP

<rant>Apologies if the title is a bit strong, but I think it’s the nearest I can get to the opposite of “In Praise of PHP”

I’ve just spent a week-end migrating my website to a new hosting server. As part of that process, I had to rewrite all my old ASP code using PHP. Here’s what I learned:

  1. The Apache/Linux community have misleadingly changed the meaning of “ASP”. If you bought a Linux-based hosting service 5+ years ago with “ASP”, it meant a *nix port of Active Server Pages. That worked for me, as I could develop it on Windows. Now, if you buy a Linux hosting service with “ASP” it means “Apache Server Pages”, and the embedded language is Perl. Useless!
  2. PHP has positively the worst combination of features for a language:
    • A c-based language’s sensitivity to case, ending semicolons and curly bracket counts,
    • None of the protections against errors in the latter that a C++/Java (or VB) language gives you, like strong typing and forced variable declaration,
    • No single-step debugging. Now I accept that this may not be 100% true, so don’t all write in with the names of all the debuggers I didn’t find in a quick search for tools on Sunday morning, but certainly I don’t have one at the moment,
    • It runs differently on Windows and Linux, and in a way I haven’t yet understood 100%, so I can only test by uploading to my live website.

That said, I’ve still got it! I’ve managed to convert my blog and my book reviews, and I’ve actually improved on my old code for the latter. Just please let me have VB.NET back for my next major project.

OK. </rant>

Posted in Code & Development, Thoughts on the World | Leave a comment

What I Want In My Next DSLR

What’s missing from the typical DSLR, anno 2010? What could be improved, using simple established technologies, to make the DSLR a better picture-taking device? And why don’t the major DSLR manufacturers do some of these things, which might help sales? Continue reading

Friday, May 14, 2010 in Photography

Superfreakonomics

Fascinating, fun, and more depth than the first book Continue reading

Sunday, May 2, 2010 in Reviews

Architectural Photography

A sandwich with not quite enough meat Continue reading

Heresy

Dodgy Dons Done to Death in Troubled Tudor Times Continue reading

Sunday, April 18, 2010 in Reviews

Photographic Multishot Techniques

Disappointing content, and too much Photoshop Continue reading

Sunday, March 21, 2010 in Photography, Reviews

Word Grammar Checker – A Nicely Carribean Flavour

This may amuse you. I went to type “Here are my comments” (something I do fairly frequently), but mis-typed it as “Here are me comments”. Word correctly identifies this as incorrect grammar, with a green line under “are”. Right click, Continue reading

Thursday, February 4, 2010 in Thoughts on the World

Virtual PC vs VMware Player – Further Thoughts

I’ve added a brief addendum to my piece on Virtual PC technologies. It turns out that VMware Player seems to be able to “fix” unreliable VMs. Microsoft’s lack of attention to compatibility has led me to a better product, and Continue reading

Digital Convergence – Still Waiting

Another failed attempt to “converge” my phone. Why don’t I learn? Continue reading

Sunday, January 17, 2010 in Reviews, Thoughts on the World

Windows Virtual PC – Breaking Compatibility

How Microsoft have badly broken compatibility (again!) with Virtual PC and Windows 7 Continue reading

A Parable

Lessons for anyone contemplating a disruptive, rewrite from scratch, change to a software product Continue reading

My “Tenset”

A recent post by Mike Johnston on The Online Photographer decried the frequent difficulty of quickly reviewing an online photo collection to understand the photographer’s interests and style, in order to decide whether to invest more time in studying the Continue reading

Monday, January 11, 2010 in Photography