Sjoerd Visscher's weblogPondering those web technologies that may change the future of the world wide web.Algebraic Data Types in JavaScript- (Found July 2, 2008 )http://w3future.com/weblog/2008/06/16.xml#AlgebraicDataTypesinJavaScript Tail call elimination in Javascript- (Found July 2, 2008 ) Via LtU I read about a tail call optimization decorator. Of course I immediately wondered if it was possible in JavaScript, and it is: Function.prototype.tailCallOptimized = function() var g = this; return function() for (var caller = arguments.http://w3future.com/weblog/2006/02/28.xml#tailCallEliminationInJavascript Technorati claim- (Found July 2, 2008 ) Technorati Profilehttp://w3future.com/weblog/2005/12/21.xml#technoratiClaim Leak Free Javascript Closures- (Found July 2, 2008 ) If you're confused about how closures in JavaScript cause memory leaks in Internet Explorer, this is for you: Leak Free Javascript Closures. Then, without leakage, you can write code like this: function attach() var element = document.getElementById("my-element"); element.http://w3future.com/weblog/2005/10/20.xml#leakFreeJavascriptClosures No more accesskeys- (Found July 2, 2008 ) I had accesskeys for the tabs at the top of this site, but Mark Wubben reminded me that this was very annoying, mainly because alt-d was one of them (the shortcut to focus the address bar). This makes me think that using accesskeys in webpages is not a very good idea, because you never know what the favorite shortcut keys of your visitor are.http://w3future.com/weblog/2005/08/14.xml#noMoreAccesskeys How to use base URIs.- (Found July 2, 2008 ) If you're wondering what a base URI is for, you'll always end up being directed to RFC 3986, but you won't find much. Section 5.1 just says: The term "relative" implies that a "base URI" exists against which the relative reference is applied..http://w3future.com/weblog/2005/08/14.xml#howToUseBaseUris Atom 1.0 feed available- (Found July 2, 2008 ) I've updated my Radio Userland Atom code to produce version 1.0. You can find the feed here. My RSS 0.91 feed is created with a simple XSLT transformation from the Atom feed.http://w3future.com/weblog/2005/07/17.xml#atom10FeedAvailable I live in Belgium- (Found July 2, 2008 ) At least, that is what Google shows me, and Google is always right.http://w3future.com/weblog/2005/06/18.xml#iLiveInBelgium Being filmed by 3 cameras at once!- (Found July 2, 2008 ) Sometimes it's really interesting to live in the centre of the administrative capital of the Netherlands. Today we had a referendum for ratification of the Treaty establishing a Constitution for Europe. I had to vote in the city hall. As this is close to the parliament buildings a lot of camera crews had chosen the city hall to film some voters, including me.http://w3future.com/weblog/2005/06/01.xml#beingFilmedBy3CamerasAtOnce |