Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DiThi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
61.
▲
by
DiThi
9y ago
A side channel attack in WebGL similar to Spectre/Meltdown is probably not possible, simply because you don't know when stuff is going to be rendered and how long it takes. You tell the GPU "do this computation" and if i
62.
▲
by
DiThi
9y ago
I see. Then don't go "full ES6" but I prefer exporting an object with the class for reasons I've explained in a comment above. But I do see ES6 modules in the wild, some of them I'm using with other languages. So I
63.
▲
by
DiThi
9y ago
Because having a mix of libraries/modules which some export defaults and some don't makes it cumbersome to require them here and there: I have to remember which was exported as default and which had the class inside. Also it makes
64.
▲
by
DiThi
9y ago
For other people in the comments that may have a similar problem.
65.
▲
by
DiThi
9y ago
> I don't know how to publish this package in a way all JS transpilers and bundlers out there can understand. Please help me. Don't do this: module.exports = IPFSDropzone Do this (and change documentation accordingly)
66.
▲
by
DiThi
9y ago
I think it means they're tricks for better performance when you _don't_ have speculative execution.
67.
▲
by
DiThi
9y ago
If it doesn't exist already, there should be a "standard spawn stub" that, in absence of spawn it creates a new spawner process at the very beginning of an application start up, so when you do spawn, the spawner process is th
68.
▲
by
DiThi
9y ago
The argument is not that "it's unfair to compare". The argument is that everything else being roughly equal, people prefer to wait for the Tesla because of its style.
69.
▲
by
DiThi
9y ago
https://www.forbes.com/sites/derekkhanna/2014/02/03/50-disne... Specially interesting those from works made in the 1800s: Most of those would have been copyrighted under the current law if it applie
70.
▲
by
DiThi
9y ago
> Teams like Occulus are falling down the same trap as 3DO Did you try any game like Lone Echo? It's so good it's the only game I broke my "not buying exclusives" rule with (I have a Vive). I paid for about 30-40 VR g
71.
▲
by
DiThi
9y ago
What paper was the best in 2014?
72.
▲
by
DiThi
9y ago
> An "expensive" hash function like scrypt provides both the user and the attacker the same slowdown/cost multiplier. Not really. The user only has to wait for the computation once, a few times at most, and it can easily t
73.
▲
by
DiThi
9y ago
> Instead iterating through every byte like ""[n] Pedantic note: JS iterates through UTF-16 2-byte code units. It's that way for compatibility reasons (used to be UCS-2), but it's the worst of both worlds: not as good
74.
▲
by
DiThi
9y ago
So they're betting that it's the hardware of the future. And not something like the Mill CPU, which has been in development for much longer and it seems it will be able to execute all the millions pieces of existing software, fast
75.
▲
by
DiThi
9y ago
> By using ternary, you lose thru conversion but gain computational power. How does that work? Isn't it being emulated on binary hardware?
76.
▲
by
DiThi
9y ago
> 1: By using a ternary number system, the amount of devices and cycles can be reduced significantly. How does that work? Trying to find information, it looks like it's designed for devices of the future that don't exist; so it
77.
▲
by
DiThi
9y ago
> Regulatory compliance (especially FCC common-carrier compliance) is an added cost of doing business which absolutely could be enough to keep a business from starting up. Have you calculated how much does that really cost? I'd say
78.
▲
by
DiThi
9y ago
I don't see how NN would slow down breaking monopolies. The cost of complying with NN for new ISPs is negligible. And what do you mean by government "controlling" the internet? What are they deciding, exactly? As far as I kno
79.
▲
by
DiThi
9y ago
Because it is! (edit: oh I see it's in the header)
80.
▲
by
DiThi
9y ago
The reason for the existence of copyright is that authors can receive compensation for their work, to incentivize creation in a new world where copying costs almost nothing ("why would I work writing a book when anybody with a press ca
81.
▲
by
DiThi
9y ago
> I am from a country where I can no longer access npm without tor, and even then it is so excruciatingly slow as to be unusable. Since it seems you can access github, you can install dependencies without touching npmjs, with one of thes
82.
▲
by
DiThi
9y ago
Maybe because it combines the functionality of Babel and UglifyJS (and maybe others) while being faster than all. (I don't really know, I haven't tried it)
83.
▲
by
DiThi
9y ago
Wouldn't it be better to just deploy asm.js alongside wasm? Emscripten can easily generate both, and a simple check can select which script to load. if(window.WebAssembly != null){ loadScript('script.wasm.js');
84.
▲
by
DiThi
9y ago
Sadly? I'd say fortunately it's no longer a fad, but only fans of the language (like me) use it.
85.
▲
by
DiThi
9y ago
What about Coffee Script? Was it forgotten even though version 2 has been released recently with all features I missed and more?
86.
▲
by
DiThi
9y ago
Everybody that upvoted that comment to the top, at least.
87.
▲
by
DiThi
9y ago
> precisely because it's permanently one pen stroke away from being eradicated So NN is not a problem, just a temporary fix. And it doesn't limit competition (it costs nearly zero to comply). The problem are _other_ regulations
88.
▲
by
DiThi
9y ago
What I said... It's not a new idea, but it didn't made a genre back then. It was a very different internet world, too.
89.
▲
by
DiThi
9y ago
> Comcast basically said, You're pushing too much stuff, pay up or we'll throttle you, and throttle they did. It's more complex than that. And in any case Netflix gives CDN boxes to ISPs for free.
90.
▲
by
DiThi
9y ago
America needs to be able to create "virtual" ISPs with full and equal access to internet. Until then, the NN law is needed.
More ›