Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wwwigham
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
121.
▲
by
wwwigham
10y ago
That's actually what Bruce wants - and he figures the only way to enforce it is through regulation. He's given up on the sensibilities of individual companies and programmers, and would instead like to rely on regulations to make
122.
▲
by
wwwigham
10y ago
> When it didn’t matter—when it was Facebook, when it was Twitter, when it was email—it was OK to let programmers, to give them the special right to code the world as they saw fit. We were able to do that. But now that it’s the world of
123.
▲
by
wwwigham
10y ago
Nonsense. You don't need redis for multiprocess communication in Node - child processes spawned have a communication channel with the parent whereby they can efficiently send messages (in the form of json objects) back and forth. (Or y
124.
▲
by
wwwigham
10y ago
The 'improved noise' mentioned in the page is, I believe, more commonly known as 'simplex noise'[1], as it is mathematically based on manipulating n-dimensional simplicies. If you're interested in noise and using it
125.
▲
by
wwwigham
10y ago
I don't think it was alleviated directly by Go, I think it was alleviated directly by improved parallelism... By the descriptions given, their go implementation uses a worker pool to help split active work across threads, while their N
126.
▲
by
wwwigham
10y ago
You're right, I hadn't realized that the spec forbade primitives as WeakMap keys - so while to approach should actually work in other languages, in JS it would leak memory as you'd be forced to use a normal map (or clean up a
127.
▲
by
wwwigham
10y ago
IMO, The issue with this article is that it conflated a desire for immutable record types (as you'd see in a functional language) with something which requires equivalence overloading in a language which does not support them (as you&#
128.
▲
by
wwwigham
10y ago
Let me attempt to improve upon Fowler's ValueObject pattern in JS, and tell you the upsides: function Point(x, y) { const hash = Point.__hash(x, y); const cached = Point.__cache.get(hash); if (cached) retu
129.
▲
by
wwwigham
10y ago
It does try to identify names, actually. Looking at the source[1], once it has used the Oxford API to find where faces are in the frame (and their approx age and gender, etc), each individual face is then also queried against the MS emotion
130.
▲
by
wwwigham
10y ago
I'm pretty sure you'd just need to contribute an updated definition to http://schemastore.org/json/ then.
131.
▲
by
wwwigham
10y ago
A general purpose CPU paired with an FPGA to offload specialized workloads onto seems like a really sweet deal - that is until you realize that configuring the FPGA with a new bitstream is pretty slow (so live reconfigurations would be irre
132.
▲
by
wwwigham
10y ago
The TS compiler is usually configured to disregard most type errors in JS (even if it does infer a bunch types from JSDoc comments); if this would be super super useful for you, you should consider making an issue or upvoting an existing is
133.
▲
by
wwwigham
10y ago
Did the JS corpus not contain any es6 syntax? The statement let x = {} doesn't even register as JS.
134.
▲
by
wwwigham
10y ago
If you run tsc with benchmarking on, you'll find that almost all the time is taken up by the typechecker. Increasingly, TypeScript is adding control-flow-analysis-based[1] and contextual type system features... Saying that it just 
135.
▲
by
wwwigham
10y ago
As Anders said near the end of the video, if you want to know more, look at the source code[1]. Speaking as someone who's worked on it (so I'm biased), I feel it's pretty easy to jump in and edit (though I'd advise new p
136.
▲
by
wwwigham
10y ago
I've built it in VS just fine: TESTING ISOGENY-BASED KEY EXCHANGE -------------------------------------------------------------------------------------------------------- Curve isogeny system: SIDHp751 Key exchange tests
137.
▲
by
wwwigham
11y ago
A long time ago I tossed together a template-language DSL of my own[1] when a bunch of my friends complained that there were "too many choices" and that "we should just use plain JS and HTML without a complicated framework&qu
138.
▲
by
wwwigham
11y ago
Many a time I have begun a node project, and many a time I have started under the basic premise of "I'll just use an npm task for this one little build task". Task runners do seem to add a bit of complexity to a project which
139.
▲
by
wwwigham
11y ago
I don't understand the rationale - SHA-1 gets sunset as broken crypto, indicating that with time a motivated attacker can find a collision and forge a cert for a SHA-1 secured site. Serving a SHA-1 cert to users whose browsers cannot u
140.
▲
by
wwwigham
11y ago
There's a part of me that can't believe that I live in an era where the authors of the article were directed to "the local cyberpolice" for questions. Sounds almost dystopian when I read it aloud.