Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
slikts
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
Show HN: Library for tuples in JavaScript
(github.com)
4 points
by
slikts
8y ago
|
0 comments
32.
▲
by
slikts
8y ago
Yet you don't mention an alternative explanation.
33.
▲
by
slikts
8y ago
You jump to arguing legality, but morality comes before that, or should anyway, particularly because it's a company vs an individual.
34.
▲
by
slikts
8y ago
Are you going to add this disclaimer to everything you do now, or is the idea to just take the name over with your capital? It's their name that they've established by being a prolific, well-respected developer; it was also the on
35.
▲
by
slikts
8y ago
Or is it that you googled and decided you can just take over someone's identity because they haven't registered a .com. It's not like "substack" would be a thing outside of it.
36.
▲
by
slikts
8y ago
So you couldn't be bothered to google for the name? It's not just their Twitter handle; they've published some of the most popular npm packages of all time under it; there's who knows how many millions of users.
37.
▲
by
slikts
8y ago
I have trouble picturing what advantage that setup would give over using ESM or node modules. The Function constructor is a better alternative for eval(), but still only as a last resort. eval() itself has no use cases. I find that most JS
38.
▲
by
slikts
8y ago
eval() has no legit use case in JS, and I really don't understand what the point of "// @export" would be. You can't reflect on module or function scopes, but that's a feature and gives you encapsulation.
39.
▲
by
slikts
8y ago
Dynamic imports don't replace static imports.
40.
▲
by
slikts
8y ago
Having to explicitly mark where the control flow goes to the event loop with `await` is a very small price to pay for making the code much more clear. This is why I don't recommend node-fibers or deep coroutines in general. Destructuri
41.
▲
by
slikts
8y ago
Elm stands out in this regard, as it gives fairly robust guarantees of no runtime errors, so the debugging you'll do when working with Elm will almost always be limited to its compiler or Elm Debugger. The price to pay for this is limi
42.
▲
by
slikts
8y ago
The criteria for this list of languages seems to have been "isn't JS". The story for metaprogramming in JS certainly is limited in some aspects; for example, there's no operator overloading and JS isn't homoiconic l
43.
▲
by
slikts
8y ago
The generators or async/await in JS are 'shallow' coroutines because you can only `yield` or `await` in the direct scope of a generator or async function, but the benefit of shallowness is that the control flow is explicit; y
44.
▲
by
slikts
9y ago
There is no interpretation involved; V8 has an unoptimized base compiler for compiling JS to machine code one function at a time, and a pair of optimizing compilers that work based on runtime profiling. V8 also has a bytecode interpreter fo
45.
▲
by
slikts
9y ago
V8 compiles to native code with the exception of low memory devices (512M or less), for which it has a (relatively recently introduced) bytecode compiler, so it uses an interpreter in that one case.
46.
▲
Three Months of Go, from a Haskeller’s perspective (2016)
(barrucadu.co.uk)
364 points
by
slikts
10y ago
|
356 comments
47.
▲
by
slikts
10y ago
You're confusing first-class and higher-order functions.
48.
▲
by
slikts
10y ago
I wasn't anywhere near as fancy and just collected the callback methods from the Chrome docs with a snippet pasted in browser console.
49.
▲
Show HN: Abstracting APIs with ES2015 Proxy – promisifying Chrome and Node
(github.com)
4 points
by
slikts
10y ago
|
2 comments
50.
▲
by
slikts
10y ago
Just, why… Pass in a parameter if you need to set the state, no need to mess with the context.
51.
▲
The Keys to JavaScript Mastery (10 Interview Questions Every JavaScript Dev Should Know)
(medium.com)
1 points
by
slikts
11y ago
|
0 comments
52.
▲
by
slikts
11y ago
The shortcuts are actually Shift+> and Shift+<.
53.
▲
by
slikts
11y ago
The shortcut is actually Shift+>.
54.
▲
by
slikts
11y ago
As someone who frequently watches videos, changing the tempo is very underrated, as there's usually no good reason to waste time watching people talk at their natural speed. I used to do this with VLC (it can stream YouTube), but YouTu
55.
▲
by
slikts
11y ago
I have YouTube set to 1.5x tempo by default (with an extension), and watch things at 2x if possible (Ctrl+> is the keyboard shortcut for upping the tempo). Reading is still faster, but not by that much. Ctrl+F is still a problem, though,
56.
▲
by
slikts
12y ago
Yeah, there's no such surname as "Готяович"; it's made up.
57.
▲
by
slikts
13y ago
Straw-man much? I just said that it's funny to hold up Paul Ryan as an exemplar of sensibility.
58.
▲
by
slikts
13y ago
Sensible people like Paul Ryan? Now, that's rich.
59.
▲
by
slikts
13y ago
There's a difference between "papers" and "every other paper". Instead of a consensus, economists are split into camps over the question whether austerity harms or improves economic growth. There's been criticism of austerity even from the
60.
▲
by
slikts
13y ago
> Nor is this surprising; the reason nobody looked too closely at the numbers is because they agree broadly with every other paper and model out there. The data Reinhart and Rogoff used hadn't been analysed together before so their work
More ›