Tales from the Evil Empire
Bertrand Le Roy's blog
-
Will the Wii make you play less (and buy less games)?
Disclaimer: I work for Microsoft and have to admit I'm a big Xbox 360 fanboy so I will not be fully objective on this topic.
-
I'm not alone! (die, caps lock, die!)
It seems like I'm not alone in my hatred for useless keys.
-
Bragging rights
Here's my brain age:
-
Mixins for Atlas
I've beeen toying with that idea for a while and I thought I would try to get some feedback on it. Mixins are a way to dynamically add members to an existing object. I've built a small function, Type.Mixin, that does that by copying members from the mixin object's prototype to the object that you want to extend. The mixin object is a type (that is, a function) that can't be instantiated (you can ensure that by throwing from the constructor). The members that will extend the target object are defined on the prototype of the mixin.
-
Define undefined
We already knew that JavaScript had some issues with semantics. Here's another funny one. Guess what this code does:
-
Can you say "qwak"? OK, then fly.
This morning, I was at a language symposium that's taking place on the Microsoft campus. Many language gurus are there, Anders is doing the keynote, so it's definitely a place where you can learn a thing or two. Many of the talks are about dynamic languages and how to implement them in the CLR, and as usual, you can see the usual duck-typing quote on all slide decks:
-
Using the XmlDataSource Data property for easy samples
Here's a little trick to write samples that involves data binding controls to a database. It's very inconvenient to have to package a sample database with your code (especially when it's just a few lines of code in a blog), and just making sure your users have SQL Server installed is no small thing. All this just diverts the attention from what really matters: your sample code.
-
Nouvelle interview Atlas sur TV4IT
This post will be French only because it points to a French interview...
-
Best JavaScript blog award goes to...
I've decided to give awards today ;)
-
A slider client control for Atlas
Garbin has written a nice slider client control for Atlas and explains how he built it. Source code included.