RSS feed
<< December 4, 2006 | Home | December 6, 2006 >>

Timed rotating header image

This script will change the header picture every 15 seconds. Start with the default pebble theme and place the script just before the closing tag to the div with an id of "header" in template.jsp.

<script type="text/javascript">
window.setInterval(function() {
  var x = document.getElementById('header').style.backgroundImage='url(themes/user-default/header'+Math.floor(Math.random()*3)+'.jpg)';
},15000);
</script>
Tags :

Tim Bray denounces XSD

Tim Bray, one of the authors of XML 1.0, has denounced XSD; but, relax, he has an alternative in mind. If we ARE voting people off the island, I'm casting my vote for SOAP as well.

Everybody who actually touches the technology has known the truth for years, and it’s time to stop sweeping it under the rug. W3C XML Schemas (XSD) suck. They are hard to read, hard to write, hard to understand, have interoperability problems, and are unable to describe lots of things you want to do all the time in XML. Schemas based on Relax NG, also known as ISO Standard 19757, are easy to write, easy to read, are backed by a rigorous formalism for interoperability, and can describe immensely more different XML constructs. [...]
Tags :

News bloopers

Here are some hilariously funny news bloopers.

Tunneling in the snow

Rising costs

Gay

Blooper compilation

Cockroach

Tags :
<< December 4, 2006 | Home | December 6, 2006 >>