Honorary mention for the Daily WTF Awards

Aristotle on 2006-08-10T08:30:10

Y’all know about the The Coral Content Distribution Network, right? If you don’t, and you’re putting large files online, you should: it’s a free edge network. (Like Akamai – you’ve heard of them, right? They’re the reason Google always loads fast.) Only you don’t need to pay up big bucks and then set up stuff on the server end, like with Akamai: you just stick .nyud.net:8090 at the end of the hostname part of any HTTP URI. When someone accesses that URI the first time, the Coral network picks up a copy from the original server and caches it. As long as the file is in cache, anyone who asks for it gets his copy from a nearby Coral node, whose bandwidth generally dwarfs the original server’s. It’s a very cool project and service.

It’s so much cooler than their homepage HTML.

See, they have this little form on the page, for people who don’t understand technobabble and all that crazy talk about “hostnames” – just put the URI in the text box and it sends you to a CoralCDN-served version of the URI. That is nice.

Much unlike the HTML:

Ah well. They skipped the redirector script on the server, and just use the Javascript string functions to inject the .nyud.net:8090 part at the right place of the user’s input and then set window.location. Right?

Right?


Err, right.

Someone tell me what would have been wrong with this:


Rude Golberg's legacy lives on

Yanick on 2006-08-11T00:59:40

I guess that confirms the old adage that for any simple, straightforward problem exists an equally Byzantinely circonvoluted solution.

(although I guess that in these days and age of AJAX, our Rude Golberg-wannabe could have done much, much worse...)

Re:Rude Golberg's legacy lives on

parv on 2006-08-11T05:12:45

Speaking of which, the-place-i-work-for quite possibly be using Yahoo UI (or,
similar) -- collection of JavaScript code, uses anonymous functions to pretend
class-y -- just to have expanding menus based on mouse movement. That does not
faze the head developer as, paraphrased here, all the code would be only be some
80-100 kB and would be cached for a week; further, the appearance of JavaScript
code used as OO-like trumps the previous objection in any case.

Ok, I can discount the last reason as OOP seems to be *SO BIG* with him (for he dealt
w/ hairy spaghetti code in another language which I have to maintain now & then, thus
can sympathize). Not caring for the user who would be pulling down a major
portion of unused code, however, makes me to start a job search anew (it has been only
about two months on the current job).

Lax, or lack of, security policies is another reason for a new job, but that is
another rant^Wstory.