Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
snek
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
42 ms
·
361.
▲
by
snek
8y ago
to give a clear answer here, tagged templates don't actually perform string concat. the function being used as the tag receives an array of the string literals, and the rest of the arguments as the values passed in templates, and can p
362.
▲
by
snek
8y ago
tl;dr context switching gives good perf
363.
▲
by
snek
8y ago
Amazon could have chosen anywhere, somewhere where they could make a difference, create jobs, kick-start the economy. Serious bummer.
364.
▲
by
snek
8y ago
in this case, `redacted` itself is the tld. the company that owns `.redacted` (Redacted, Inc) has chosen to serve A records for it, which is rather uncommon. For a while, the owners of `.ai` had a similar arrangement, but it seems to have b
365.
▲
by
snek
8y ago
no its boxed. take `y.valueOf()` and you've got a successful clone.
366.
▲
by
snek
8y ago
> I find the title completely misleading Why? BGP has always been insecure and repeating that fact doesn't make it any less so.
367.
▲
by
snek
8y ago
Are the archives just really low quality or do ATCs and pilots possess superhuman abilities to understand super low quality audio
368.
▲
by
snek
8y ago
I can see using oversized fonts is a bit of a pattern with this author.
369.
▲
by
snek
8y ago
what if they prefer ecmacs or vim or sublime or etc, they all have plugin ecosystems as well
370.
▲
by
snek
8y ago
this should be tagged [2015]
371.
▲
by
snek
8y ago
i wish i had thought of this
372.
▲
by
snek
8y ago
Would be nice if the `more` button replaced the existing stuff instead of adding to the bottom.
373.
▲
by
snek
8y ago
Just to be safe, until I see more data I'm going to assume PTSD causes energy drinks.
374.
▲
by
snek
8y ago
Obligatory link to Destroy All Software talk about types: https://www.destroyallsoftware.com/talks/ideology
375.
▲
by
snek
8y ago
How come?
376.
▲
by
snek
8y ago
It will be in all browsers.
377.
▲
by
snek
8y ago
s/developers/humans/
378.
▲
by
snek
8y ago
Node.js actually has separate docs[1]. The only documentation you'll find inline in our source is documentation for other developers working on the source. [1]: https://github.com/nodejs/node/tree/master&
379.
▲
by
snek
8y ago
Does anyone else find the text on this website near impossible to read?
380.
▲
by
snek
8y ago
> Nothing clever in this, just elementary JS knowledge. How's your score on the minesweeper? :)
381.
▲
by
snek
8y ago
> please post some real life real working code where in your mind usage of === is absolutely needed and I try my best to explain how I would tackle that with ==. I think you're expending your energy for the wrong reasons. There is n
382.
▲
by
snek
8y ago
I see a lot of comments here suggesting that == is okay to use if you know what you're doing or if the types on both sides match or if this or if that. Writing idiomatic code is all about being expressive and being explicit. Even in th
383.
▲
by
snek
8y ago
What is the difference between three pages filled with ads and three pages removed from censorship? I would argue the second one is worse, although I imagine Baidu is just a combination of both.
384.
▲
by
snek
8y ago
I've found hyper to be good for a terminal used during presentations, because it looks so darn nice. The rest of the time I still use iTerm2 (or maybe I'll start using kitty, who knows?)
385.
▲
by
snek
8y ago
I cannot agree more here. I strongly recommend benchmark.js ( https://github.com/bestiejs/benchmark.js/ )
386.
▲
by
snek
8y ago
In V8, crossing the boundary between the public C++ API and "js land" is actually quite expensive. In most cases you will get more perf from writing your code in JS. This is why we write a lot of Node.js's core in JS instead
387.
▲
by
snek
8y ago
> Why does it seemingly have to always be an all-in-or-nothing proposition? This is one of the reasons I love JavaScript so much, and one of the things that stood out to me in the article. JavaScript is extremely expressive and allows yo
388.
▲
by
snek
8y ago
Google Search provides information. Blocking access to information is, by the nature of the action, disenfranchising and oppressive. If Google were to re-enter the Chinese market, their Search product would either be controlled by the curre
389.
▲
by
snek
8y ago
i feel so bad for security researchers trying to actually make software better when meanwhile stuff like this is being worked on.
390.
▲
by
snek
8y ago
you also always have to disable your custom DNS settings, and sometimes that means disable your DNS over TLS or go without internet :(
More ›