Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mmastrac
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
1659 ms
·
4501.
▲
by
mmastrac
17y ago
More fun: draw a spaceship around yourself and drag that around.
4502.
▲
by
mmastrac
17y ago
This is exactly what the Google Web Toolkit compiler does, but outputs Java bytecode rather than taking it into JS. The HotSpot compiler does some of this static analysis at runtime (various forms of devirtualization and type-tightening), b
4503.
▲
Using Flash to shim a webcam to HTML Canvas
(nicklothian.com)
4 points
by
mmastrac
17y ago
|
0 comments
4504.
▲
by
mmastrac
17y ago
Sorry, that one wasn't the most effective example. 'undefined' is read-only in the ES3.1 specification and at some point you'll start to see code like the above failing. 15.1.1.3 undefined The value of undefined is undefined (see 8.1). Thi
4505.
▲
by
mmastrac
17y ago
Exactly. I would never pretend my code would run on anything less than IE6 or any brand of ancient Netscape. I'd love to know which browsers shipping today fail on: window.blah === undefined and require the more verbose equivalent I've seen
4506.
▲
by
mmastrac
17y ago
I've done the same in the past (Python backend). I'll add one more suggestion on top of that. You can create JSNI bindings for all of the JSON RPC objects with GWT to get compile-time API checks that disappear entirely from the output.
4507.
▲
by
mmastrac
17y ago
MediaBeacon showed off a really cool GWT-based product at Campfire. They've built the equivalent of a desktop application inside the browser (full drag-and-drop, file management, etc). The video is up on their website: http://mediabeacon.c
4508.
▲
by
mmastrac
17y ago
Guided code splitting and type tightening (with associated devirtualization) are serious optimizations that can't be done today in JS. GWT can guarantee the immutability of JS object shapes - something you can't do with bog-standard JS.
4509.
▲
by
mmastrac
17y ago
Here's my anecdote. I'm an iPhone user in Canada o the Rogers network. My signal is very strong everywhere. I rarely see any less than a perfect signal, except when far away from metropolitan areas. Usually five bars, indoors and out. I may
4510.
▲
Javascript primitive conversion quick-reference
(grack.com)
2 points
by
mmastrac
17y ago
|
0 comments
4511.
▲
RssCloud Security Recommendations
(grack.com)
2 points
by
mmastrac
17y ago
|
0 comments