Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ender7
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
121.
▲
by
ender7
13y ago
JavaScript source can be encoded in any way that the browser can handle, yes. Within the JS language , strings are represented as sort-of-UCS-2-sort-of-UTF-16 [0]. This is one of the few problems with JS that I think merits a backwards-c
122.
▲
by
ender7
13y ago
Great, so as long as we solve six of the major technical hurdles of the day, we can avoid the societal and technical dangers that BitCoin poses. What a pleasant ultimatum. As you pose it, it's now a race between the darker aspects of B
123.
▲
by
ender7
13y ago
Using FPS as a measure of your UI's performance is equally problematic. FPS is a great measurement for for games since performance dips usually occur over a span of many frames, but for UIs a lot of work tends to get concentrated into
124.
▲
by
ender7
13y ago
No, the OP is correct. You're right that <red> is a valid CSS color keyword, but <”red”> is not. Because of this, the CSS spec treats it as a "legacy color value" and attempts to interpret it as a string of charac
125.
▲
by
ender7
13y ago
The UI is pretty, but it's dropping frames like crazy during your demo video. It's super smooth most of the time, but not at the critical times. Horseshoes and hand grenades, etc.
126.
▲
by
ender7
13y ago
It has always been this way. “In this age, in this country, public sentiment is everything. With it, nothing can fail; against it, nothing can succeed. Whoever molds public sentiment goes deeper than he who enacts statutes, or pronounces j
127.
▲
by
ender7
13y ago
The issue is not the size of the text (which is small but still legible) but the line length -- that is, how wide the lines are. If lines are too long, then reading becomes an exhausting experience as you sweep your eyes back and forth ac
128.
▲
by
ender7
13y ago
I can certainly relate, but please don't try to pretend that this is a pleasant reading experience on a desktop. Lines of text should be about 45–90 characters long (including spaces) in order to create a pleasant reading experience. D
129.
▲
by
ender7
13y ago
For almost a decade, “weiwen,” or “maintaining social stability,” has been the government’s public mantra[...]“Stability” has been deemed more important than education, health care and even national defense. Political and social fixity (t
130.
▲
by
ender7
13y ago
IIRC, the CWS allows you to distribute alphas and betas to a specific set of users.
131.
▲
by
ender7
13y ago
width and height are automatically 0 if the element is inline (i.e. a span) or absolutely positionrf (which is usually true for these kinds of triangles)
132.
▲
by
ender7
13y ago
This is exactly what I was getting at. git's command layer is much like the "new" keyword in Javascript -- it's a false abstraction of a relatively elegant underlying system [1]. As it is, the command layer encourages a
133.
▲
by
ender7
13y ago
There's also a bit of "people in glass houses..." to this comment. I don't think git really wants to start a fight when it comes to poor design decisions.
134.
▲
by
ender7
13y ago
The iOS 6 version of the alarms app for iPad had a similarly confusing interface. It's a complete disaster -- one that I was hoping they would remedy in iOS 7, but that doesn't seem to have happened. I've always been surprise
135.
▲
by
ender7
13y ago
Advertising is not usually included in development costs; the total expense was probably higher.
136.
▲
by
ender7
13y ago
First and probably most useful is that they gain the lexical scope of the environment they’re defined in. Nit: technically, all Javascript functions are lexically scoped. The fat arrow permanently binds the value of "this", whic
137.
▲
by
ender7
13y ago
This behavior is actually part of the ECMAScript standard [0], so it's unlikely that V8 (or any other conformant JS engine) would behave the way you (and many others) would want. JS's treatment of strings is even more wacky than y
138.
▲
by
ender7
13y ago
I think you're right, but with two caveats. First, students with shockingly blue blood tend to keep company with other upper-crusters, frequently in exclusive fraternities or sororities that seek to carve out new depths of exclusivity
139.
▲
by
ender7
13y ago
While "Google Ideas" makes it sound like a random VC fund or corporate "vision & innovation" wankery, according to that website: Google Ideas is a think/do tank that explores how technology can enable people to
140.
▲
by
ender7
13y ago
Please add "cursor: default;" or "cursor: move;" to the draggable items. Draggable things should not use the text selection cursor. :)
141.
▲
by
ender7
13y ago
The real hits to performance do not come from "I did X writes" or "I did Y reads", but rather from situations such as "I did X writes interleaved with Y reads, which caused Z reflows". Or "I needed to upda
142.
▲
by
ender7
13y ago
To extend your car analogy, I wonder if the author knows how to fix his own car? I certainly don't. I know it involves pistons and carburetors and...tubes.
143.
▲
by
ender7
13y ago
It was, but there are many addons that will turn it off for you.
144.
▲
by
ender7
13y ago
Moreover, while White's style of writing is simple and straightforward, it is not representative of how people talked then (or talk today). That's part of the magic -- his words are so carefully crafted that we mistake elegance fo
145.
▲
by
ender7
13y ago
I don't think I agree with your point. Javascript is a very small language, and while there are a number of gotchas they are enumerable and well-defined. Central concepts: - Objects - Prototypes - Scope chains - Closures - Function.bin
146.
▲
by
ender7
13y ago
While its primary mode is indeed method-for-sending-pointers-to-media, it also has an option for streaming the contents of a Chrome tab directly to the Chromecast device [1] ala-VNC. With caveats: that feature is still in beta and requires
147.
▲
by
ender7
13y ago
Sigh. Google does not have a "partnership" with the NSA. They give the NSA data when they are required to do so by law. The problem is the law, which should be changed.
148.
▲
by
ender7
13y ago
Beware: it is very dangerous to attempt to rescue a full-grown person who is drowning. A person who is drowning has temporarily lost their mind and will happily drown their would-be rescuer in an attempt to stay above the water. Approach a
149.
▲
by
ender7
13y ago
Nit: I know we like to be all anti-intellectual here at HN, but Rachel's claim that "having a PhD" correlates strongly with "lacking the ability for independence of thought or action" is pretty ridiculous. Undergrad
150.
▲
by
ender7
13y ago
The key to many of these effects is to animate both the transform and the position of the transform-origin simultaneously. Done correctly, it can give the animation a sinuous behavior that makes it much more interesting to look at.
More ›