15 karma · joined Mar 23, 2012 (14y ago) · 11 submissions
comment 13y ago · link · parent
But even bigger question than the performance is, what kind of 3D user interface would be more effective in conveying a message than a clean, regular 2D website that everybody feels familiar with. Curious to see if they will bring some UI design innovations here
comment 13y ago · link · parent
The fat arrow seems to be primarily about easier scoping when using this - so it's trying to patch the single most broken feature a language ever had.
The existing function syntax is fine, rather just avoid using "this" at all in your code.
comment 13y ago · link · parent
Had they found anything during the 9 hours, I'm afraid he wouldn't be flying to Brazil - he would have been detained indefinitely as a "terror" suspect in order to intimidate Greenwald even more.
comment 13y ago · link · parent
async.eachSeries(
players,
function(player, playercb) {
var valid = false;
async.whilst(
function() { return !valid; },
function(wcb) {
Ask("What's your name", function(name) {
if( IsValidName(name) ) {
player.name = name;
valid = true;
}
wcb();
});
},
playercb);
},
function() { /* done */ }
);
More lines than the foreach loop, but on the other hand, if this was an operation you wanted to do in parallel instead of sequentially, that'd be impossible with the simple loop construct.comment 13y ago · link · parent
Besides, the ability to compile to JS is not enough; you will need to read it in JS, debug it in JS and let other developers work on it in JS (because they don't know OCaml).
comment 13y ago · link · parent
Computing will need to move fluently between the cloud and the terminal, and JavaScript is the only language which allows you to use a single codebase for both (in the foreseeable future). As developer time will stay the biggest expense when developing software, I am bullish on Node and JavaScript.
8.
Nox.js - write Node.js web apps faster(github.com ↗)
1 points · by asaarinen · 13y ago · discuss
comment 13y ago · link · parent
What an arrival it would be!
If he got to decide the choice of jurisdiction (or Hawaii), civil trial with a jury, fair treatment and legal advisory, he would even have a chance of getting the jury to nullify - and worst case of 10 years (?) would not be unbearable compared to a lifetime of exile
As a side note, I don't really know how Holder can state that US does not torture with a straight face