Posts

Bing Round Table - Tomorrow

Tomorrow I am going to # meetbing to talk about Bing ( :P ) and its present/future. The event has been better described by Phil Leggetter and as He did, I would like to know if there is any tech question you would like me to bring there. So far, I kinda like what Bing API offers, and I am planning to use it soon, but my only concern is about requests limits over a single IP. Thinking about firewalled/natted/DHCPped infrastructure, 7 different people could not use a generic Bing gadget in the same moment ... anything else?

ES5 arguments and callee, I was wrong!

JavaScript is not JavaScript, I am not crazy, it is just a consideration between the language itself and what is behind it: another programming language with lower level rules and logic ... sounds silly and obvious, but please keep reading to understand what I mean. No Results Yet, But I've Already Lost My Battle I spread comments, I wrote post after posts to defend ECMAScript 5 arguments.callee decision with "use strict", but I have to admit I have never investigate the internal behavior of callee, an arguments property which is not what we think is ... Discovering In Core The Callee Property What I was thinking was something hilarious for a C or C++ programmer: an inherited property for a mutable instance. // JavaScript should have a "secret" Arguments class // and for each function, something like this function Test(){}; // we have declared the function Test // internally there should be a secret operation like this: Test._createArguments = function(args){...

A-GINN

Since it seems the post with this link is lost in the nether-reaches... here is the link to download our upcoming LP http://www.sendspace.com/file/ncx5da Jean Genet's 3 Saintly Virtues: Homosexuality Theft Betrayal

Do Not Remove arguments.callee - Part II

Few days ago kangax demystified named function expressions , underling the importance of the read only function name property and how messy is Internet Explorer JScript engine with named function and their scope. Before that post, I wrote one about ECMAScript 5 decision to remove arguments.callee when "use strict"; is present (note in the link: it is not deprecated right now, it is an arguments property) How These Two Things Are Related While kangax post was more focused about possible leaks and unexpected functions definitions, I would like to grab more attention about what this problem will cause in tomorrow libraries and JavaScript usage. Removing arguments.callee, our code size, apparently faster in core thanks to this missed variable, will increase drastically and a big part of the beauty of JavaScript language will disappear with this callee decision. The Classic Configuration Object Problem How many libraries base constructors via configuration objects? jQuery Ajax ? ...

TONIGHT

So, we are playing Death By Audio tonight... we are terrible at promoting, but show starts at 9, we play 3rd, if anyone is planning on coming... i don't have the address. i think its on south 2nd sorry for the bogus information. we suck. come anyway and tell us that.

JavaScript arguments Weirdness!

As you know, arguments is a "magic undeclared variable" with a local scope present in each function body. This variable is an Object, with an Array like structure. checkArgs(1, 2, 3); function checkArgs(){ // even if we do not declare // arguments, this one will // be present with a length property // equal to 3 and respective // 1, 2, and 3 values at index // 0, 1, and 2 arguments.length; // 3 arguments[0]; // 1 Array.prototype.join.call(arguments,"-"); // will produce 1-2-3 }; Nothing new so far, but I bet not everybody knew some arguments "feature" which is browser dependent or somehow re-usable. The Common "For In" Behavior There is a particular behavior about arguments variable, it does not expose properties in a "for in" loop . checkArgs(1, 2, 3); function checkArgs(){ for(var key in arguments) alert(key); // nothing happened ... }; How can be possible? Simple enough, 0, 1, a...

The One With Microsoft Paying Users

You probably do not know what's happened today at about UTC lunch time. It has been just a quick twit from John Resig , that at least every follower instantly noticed the next Microsoft campaign pro Internet Explorer 8. The Fact Microsoft Australia launched a sort of " competition ", called Ten Grand . Apparently, starting from Friday 19th, a twit will be released each N hours, creating a sort of one day investigation to discover where the price is (in my opinion somewhere in the same page where the contest begins, assumption created by my idea about M$ "fantasy"). The Problem That Web Page literally insults other web browsers, even discarding, probably on purpose, Opera one. In few words, that game is only for Internet Explorer 8 Users . OK, OK, they are apparently desperate enough to pay users in order to have more market share, fair enough, but what is all this "fun" about others? You'll never find it using old Firefox You'll never find it ...