Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
venning
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
21 ms
·
151.
▲
by
venning
11y ago
Note, when it says "1.6x faster" what is really means is "1.6 as fast" or "60% faster", or really "operates at 1.6x the speed of the baseline", not "1.6x increase in speed". For example, whe
152.
▲
by
venning
11y ago
I haven't written enough ES6 to answer this for myself, but doesn't the dynamic nature of the language mean that constants can be at risk of invalid LHS operations at run-time? (At least, those positioned high enough in the scope
153.
▲
by
venning
11y ago
I appreciate the information. I'm curious, in reference to the original quote, how much of the existing ES5 optimization story do you think can be leveraged (at least within V8) to bring ES6/7 on par with raw ES5 and how much nee
154.
▲
by
venning
11y ago
Regarding the scope optimizations: that's an interesting point. I wonder if the different scoping of let / const also create a performance penalty versus var .
155.
▲
by
venning
11y ago
That's still a check that var is not subject to. Hence, it's a little slower (in theory).
156.
▲
by
venning
11y ago
I wouldn't be surprised if const and arrow functions actually make things slower. const , or at least a naive implementation of it, requires checking if the value is changed which var does not. Perhaps that could be equally perf
157.
▲
by
venning
11y ago
> ES6 performance sucks! Strong mode is a mode for ES6, you cannot use it without using various ES6 features. However, idiomatic ES6 code currently is substantially slower than ES5, across all browsers -- easily by 2x, often by 10x or m
158.
▲
by
venning
11y ago
Yes and no. The repetitions would have to appear within 32KB of each other to be captured in the DEFLATE window [1] which, given that a lot of pages can be 100s of KBs of uncompressed text, may make that impossible. Additionally, the zlib
159.
▲
by
venning
11y ago
I guess, but not really my point. All the projects that go through massive rewrites to port into another language always seem to attribute the gains they inevitably find to the new language and not to the fact that they completely restruct
160.
▲
by
venning
11y ago
> It turns out that all that research suggesting the new font might be more legible was more due to the fact that older, worn signs were being replaced with nice, fresh, clean signs which were, naturally, more legible. It turns out tha
161.
▲
by
venning
11y ago
The title should say "angry".
162.
▲
by
venning
11y ago
You are not dumb. Releasing un-commented code that works is still releasing code that works. This actually solves a problem I was having. Thanks for sharing it.
163.
▲
The Paul Principle (corollary to The Peter Principle)
(medium.com)
2 points
by
venning
11y ago
|
0 comments
164.
▲
by
venning
11y ago
Click on the "web" link above and then click on the FT.com result. (You may also need to load that link in an Incognito tab.)
165.
▲
by
venning
11y ago
Click on the "web" link above and then click on the FT.com result. (You may also need to load that link in an Incognito tab.)
166.
▲
by
venning
11y ago
I doubt that. This update is entirely client-side, while a rating system requires data management server-side in addition to the user interface elements. That doesn't mean ratings are difficult, just more difficult than this. Besides,
167.
▲
by
venning
11y ago
Thank you for teaching me "superstimulus". That word pretty much captures my concerns with linkbait and the like. https://en.wikipedia.org/wiki/Supernormal_stimulus
168.
▲
by
venning
11y ago
> ...disproportionately strong... Emotion is great. I want to understand other people's emotions, which means titles should express them if they are present. It's for precisely that reason that I appreciate tamping down &qu
169.
▲
by
venning
11y ago
I think it is precisely that harshness that pushes the original title towards linkbait. Again, I'm not questioning the legitimacy of the involved developers' emotions. The point of a linkbait title is to elicit an emotional respo
170.
▲
by
venning
11y ago
This is one of those squishy things that's hard to assess. For me, I would stop short of a title that would be unacceptable if you substituted a (private) person's name for the company/country/whatever mentioned. If it
171.
▲
by
venning
11y ago
The HN Guidelines [1] state that submissions "should use the original title, unless it is misleading or linkbait." While I am sure the emotions of the developers affected by this are legitimate and strong, the original title bord
172.
▲
by
venning
11y ago
I can't remember where dang explained this, but there is a human factor in the algorithm. Some posts are artificially bumped to low on the front page for a small period of time to see if they gain traction. The selection of those pos
173.
▲
by
venning
11y ago
That's a good question, one that would take me a while to explain, so I'll keep it short. I did not mean to imply anything about innocence or lack of it. I guess I'm deeply bothered by proud statements of accomplishment that
174.
▲
by
venning
11y ago
I remember seeing a gas station security video of this, pre-YouTube. A woman wearing what looked like a fuzzy (static-y) sweater accidentally sparked the gas at the filler door, igniting the gas in the line. She had the presence of mind to
175.
▲
by
venning
11y ago
This is exactly what bothers me about makeup companies (and the like) that advertise themselves as never having experimented on animals. While they may not be looking at MSDS sheets [1], they are looking at something that tells them whic
176.
▲
by
venning
11y ago
It's not entirely clear yet what long-term effect ridesharing will have on city traffic [1] and cities are very invested in keeping that low. Buses and trains and such keep that traffic lower, at least according to current data. Of co
177.
▲
by
venning
11y ago
LÖVE has their own recommendations on resources to learn Lua from here: https://love2d.org/wiki/Main_Page#Lua
178.
▲
by
venning
11y ago
> "I mean, you can take every tool and die maker in the United States and probably put them in a room that we’re currently sitting in." Don't know how big that room is, but you could probably fill it with the toll and di
179.
▲
by
venning
11y ago
Article has nothing to do with a "broken" patent system. The author is just relating a few, not-really-connected anecdotes. Inventor patents device. Cheap knockoffs with production issues flood nascent market. Inventor licenses
180.
▲
by
venning
11y ago
This is only a measure of "social media popularity of national offices of either head of state, head of government, or government as a whole" (with respect to national education levels) according to the original report. [1] The r
More ›