HNHacker News
TopNewBestAskShowJobs

jmesserly

185 karma · joined May 4, 2011

submissionscomments
jmesserly··on What I suspect Google is up to with Native Client
What does NaCL have to do with Google APIs? It's a client side technology. You can talk to whatever server(s) you want. (Presumably subject to same origin policy like JS, which if anything means it's easier to talk to your servers rather than Google's or someone else's).
jmesserly··on What I suspect Google is up to with Native Client
I don't know exactly what NaCL does, but the JVM/CLR verification is all about making sure you don't write over someone else's memory, jump to some arbitrary address, etc. Essentially the problem is: how do you run untrusted code in the same address space, without it getting all of your process's permissions.

More info here: http://en.wikipedia.org/wiki/Java_Virtual_Machine#Bytecode_v...

jmesserly··on Google introduces Dart, a new programming language for web applications
It's a very early tech preview.
jmesserly··on Dart language
And pretty much all functional languages get by just fine without semicolons (Lisp, ML, Haskell, etc).
jmesserly··on Dart language
http://www.dartlang.org/docs/technical-overview/index.html has some information on the design goals.
jmesserly··on Dart language
See http://blog.chromium.org/

There's a compiler that translates to JavaScript, and a standalone VM.

jmesserly··on Dart language
Yeah, there are more links to code samples here: http://www.dartlang.org/samples/index.html
jmesserly··on Why QR Codes Are Here To Stay
Here's what I don't get about QR codes: why not just use URLs and OCR them? OCR seems to be pretty good these days, and you could always print the URL with a font of your choice (e.g. pick something easy to OCR).

And you get this cool feature ... humans can read them, too.

jmesserly··on Google Fiber: 151Mbps down / 92Mbps up
That's funny, I've usually had the opposite experience with Qwest (in Seattle): inconsistent results in speed tests, but very consistently good download times for large files. Tis strange.
jmesserly··on Why We Start Indexing from 0 in Computer Science
Python's colon-before-indented-block resulted from usability tests of people learning how to program. I don't see why that would have different results today.

See page 7 of this presentation: http://mvdirona.com/jrh/TalksAndPapers/GuidoVanRossum_21_yea...

jmesserly··on That truck driver you flipped off? Let me tell you his story.
You're right about the port. Here's a link to the Harbor Island map (in Seattle, WA where we get lots of shipments from Asia), note proximity of rail lines:

http://maps.google.com/maps?q=Harbor+island,+Seattle,+WA&...

I don't know much about it, but the machinery at the port looks really impressive. It seems to lift cargo from the ships onto the trains.

jmesserly··on Google's playing the closed-open game again, this time with HTML5
Agreed, it would be nice to see the bug. AFAIK they take standards compliance pretty seriously. I'm sure someone would look at it, especially if Chrome is behaving differently from FF/IE9/Safari.
jmesserly··on Project Kotlin - a statically-typed JVM language developed by JetBrains
JavaScript automatic semicolon insertion is definitely considered to be a mistake (judging by es-discuss), but many many other languages allow newlines as statement separators without problems. It seems to be fine as long newlines are only allowed under certain circumstances within expressions, such as only in grouping constructs () [].
jmesserly··on Google Releases JavaScript.next to JavaScript Compiler Traceur
That's a fair point. Would the AST strawman proposal (http://wiki.ecmascript.org/doku.php?id=strawman:ast) get you most of the way there? If nothing else, it would make some metaprogramming of the source tree possible. Combine that with module loaders (http://wiki.ecmascript.org/doku.php?id=harmony:module_loader...) and I think you're pretty close to macros.
jmesserly··on Google Releases JavaScript.next to JavaScript Compiler Traceur
One of the devs here. It's definitely not intended to be a new language. My understanding is "text/traceur" was chosen because some of the features haven't been accepted officially into harmony yet (i.e. they are strawman proposals: http://wiki.ecmascript.org/doku.php?id=strawman:strawman), in particular classes/traits and async.
← PreviousPage 2 of 2