timcameronryan
This isn't some paperclip maximalization requirement you adhere to the social contract, and under the wrong conditions will force people into house-building labor camps. Human rights are how you reason about resource allocation. You have a right to a trial by a jury of your peers, but that obviously doesn't mean a judge must preside over your case that same day by threat of force. We can recognize physical realities, while still understanding that if we wanted to, we could provide a social safety net that includes a place to sleep.
> If your country ran out of money, if the builders all started working for foreign companies
If your country runs out of money, many human rights are probably in danger.
The code can be optimized further with Closure Compiler, but I wonder if that decreases startup speed.
Progress is being made on making this first class though: https://github.com/rust-lang/rfcs/issues/604
The parent navigation needs to be replaced by a jQuery-like .ancestors() macro.
This was an MVP so I wasn't focused on code quality over features; but I'm also learning Rust for the first time, so it came out less than impressive :)
[1] https://a248.e.akamai.net/assets.github.com/images/modules/b...
Testing Webhooks from your Command Line with Node.js
Language ⇔ Language Matrix: Compilers to other programming languages
Check username availability on many services simultaneously. (Shell and Node.js)
range = fn: [i]
loop: [i, r = []]
if: (i == 0) r
continue: (i - 1), concat: (i - 1), r
print: range: 5 # [0, 1, 2, 3, 4]"yield" in all browsers using IcedCoffeeScript
DiscLlama mails you a backup of your Facebook photos and videos on DVD
Users own all their data, they can revise their answers, and other users can fork them; just like small Git repositories, and just the use-case that gists generally solve. Compare: http://timcameronryan.askedtheinter.net/q/1318314 with https://gist.github.com/1318314
Since it's a source-to-source compiler, you can use Colony generally wherever Lua source is required. For example, I was able to follow the beginners tutorials of the Corona SDK (http://www.anscamobile.com/corona/, a cross-platform mobile SDK that uses Lua) by programming CoffeeScript instead, which was surprisingly fun.
Colony, an experimental JavaScript-to-Lua compiler
Tiny JavaScript DOM selection library for modern browsers and IE5-8
Rather than include a full duplication of DOM Ranges for old IE browsers, this API normalizes the most important capabilities of DOM Ranges and TextRanges (getting/setting anchors, and directionality). This can be included in a JavaScript library without much overhead, and any other essential DOM Range capability (deleteContents(), setStartBefore(), etc.), can be duplicated as needed by working with the DOM itself.
Minimal selection API for IE5+ and all modern browsers (in Coffeescript)
Controlling your mouse using an iPad and HTML5
I expect to add in support for ECMAScript 5's Object extensions API (defineProperty, getters/setters) as Mug supports them internally, just as Mug already has a global JSON object. The features which could cause incompatibility with existing code is something I'd have to consider separately, so it depends when a majority of authors start writing ECMA5-compliant code (no function.callee, implicit this object bound to global, etc.)
The gaudy part is that there is only one type of function signature, basically "invoke(Object, Object, Object...)" which means Mug has to convert doubles to Doubles and booleans to Booleans across function calls... so it's somewhat of a tradeoff.
However, you don't need to wrap objects for arithmetic operations. At the moment Mug can determine the result of some types of expressions. If you're adding two doubles, it doesn't wrap the numbers before adding them. If you're calling (10).toString(), then it will autobox the number just as defined in the ECMAScript spec (the [[ToObject]] operation).
Deterction currently only works where types are explicit (a number literal will always be a number, etc.) The next step is to do type analysis on local variables, which will allow loops like for (var i = 0; i < 10; i++) { ... } to be compiled without wrapping primitives at all, greatly improving speed.