Profile cover photo
Profile photo
Philippe Plantier
40 followers
40 followers
About
Philippe's posts

Post has attachment

Post has shared content

Post has attachment
DRM on HTML5 ? Srsly, +Google? What about this stuff about not being evil?

http://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-media/encrypted-media.html

Post has shared content
There are many legitimate uses for small-sized, fixed-length numbers in programming languages, but they are nowadays the exception rather than the norm.

In most compiled languages, however, those are the norm, while large, variable-length number are an exception. And sometimes, a tedious to manage exception.

This certainly can be considered a bad case of premature optimization.
I just received a bug report on JSONTokener.java. It was failing to parse texts that were longer than 2GB in length because had I declared an index variable to be an int instead of a long. The bug occurred because it never occurred to me that a text could be that large. At the time I wrote that code, 2GB was a good size for a disk drive. We now have cheap machines with RAM that is much larger.

It took over a decade before someone stumbled over this bug. Ultimately, it occurred because I had a choice of several number types, and I chose the wrong one.

When we were programming Z80s, it made sense to have an assortment of int sizes because RAM was so incredibly rare. We very carefully invested as few bits as possible into each variable. That kind of economy makes no sense today, but most of our languages today still invite that mistake.

Post has attachment

Post has shared content

Post has attachment
Seriously, browser vendors, implementing other vendor's CSS prefixes? Wtf? This kind of short-termism has made the Web a wreck once, is it really sane to consider doing it again?

http://www.glazman.org/weblog/dotclear/index.php?post/2012/02/09/CALL-FOR-ACTION%3A-THE-OPEN-WEB-NEEDS-YOU-NOW

Post has shared content
Dojo, but also WebGL, socket.io, HTML5, for us Europeans :-) Looking forward to the conference.
Find out where you can get in on the next Dojo Toolkit Conference in Europe.


Follow Us!
________________

Post has shared content
A quick tutorial (in French) about the basics of web application security: password storage.

http://www.expert-web.org/infos/securite/gerer-mot-de-passe

Post has attachment
Wait while more posts are being loaded