Thursday, March 12, 2009

The FIRST EVER Web Page by Tim Berners Lee

http://www.w3.org/History/19921103-hypertext/hypertext/WWW/

(It's not very exciting by the way)

Labels:

Two Programmer's Traps

I was writing some PHP and inadvertently wrote '\r\n' for a carriage return for email when it should be "\r\n". The first case produces an unwanted 'literal' string of 4 characters whereas the second produces the the desired control characters and is seen as two characters.

The second trap I fell into was reading some XML if there was only one data element (in this case image names) then it returned a variable if there were more than it was an array, pity it doesn't default to forcing the first case to be an array with just one entry.

Labels: ,

Monday, March 09, 2009

Is Wolfram Alpha Search Engine Doctor Who's "Bad Wolf?

Google revolutionized search by actually listing the sites that you were most likely to actually want. Before Google I remember that searches seem to throw up practically random lists of sites with very low relevance.

What Wolfram appears to offer is to actually answer your query intelligently, ie not simply to point you at a site which might contain what you looking for, but just give the answer... kind of frightening really

Is it something to do with Doctor Who's "Bad Wolf"

....

Labels: ,