Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
azakai
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
751.
▲
by
azakai
11y ago
Note though that the blogpost is 5 months old, and the comparison is out of date. For example, as also noted in other comments, Emscripten can handle memory as either 1. Singleton fixed typed array (what most users use; the fastest) 2. Sing
752.
▲
by
azakai
11y ago
Emscripten has an option to chunk the typed array, https://github.com/kripken/emscripten/wiki/Split-Memory In that mode, memory allocation is basically like in C and C++: each block can be allocated and freed
753.
▲
by
azakai
11y ago
WebAssembly will be a lot more readable than asm.js - that's a specific goal, in fact. It is true that it will still be lower-level than JS. But it remains in a structured AST format which is easy to pretty-print. And many of the worst
754.
▲
by
azakai
11y ago
> For example: I don't understand why Python, JavaScript, Java, Ruby, and so on have not delivered tools that ease the path for those who wish to write applications designed to run code from untrusted sources. I think this would mak
755.
▲
by
azakai
11y ago
A binary format can help tremendously with fast web loading: 1. Code size can be significantly smaller, reducing download time (even with gzip; tests show a 30% win). 2. Parse times for a binary format can be much faster than for code as te
756.
▲
by
azakai
11y ago
Very nice. I particularly like the basic block arguments. Huge improvement over phis. edit: I would have been very interested to see perf with SIL opts turned off - to see how well LLVM can do without SIL optimizing before it.
757.
▲
by
azakai
11y ago
>> This is not just a heuristic for detecting bias. It's what bias means. > Under that definition That's not a definition. It's a claim about what the term "bias" means.
758.
▲
by
azakai
11y ago
Yes, of course.
759.
▲
by
azakai
11y ago
Yes, multiple axes, but this would be a regression for LLVM. In any case, there are other compilers which would remain license compatible with the GPL2, so should the kernel ever need one it could still have one, I guess it just wouldn'
760.
▲
by
azakai
11y ago
GPLv2 incompatibility does seem like a possible issue. Moving to Apache would make it impossible to ever embed LLVM in the Linux kernel, for example. That might seem unnecessary now, but perhaps someday there will be a use for a JIT in the
761.
▲
by
azakai
11y ago
Most interesting part of the article, I think: > Ronson documents the rise of cyberbrigades which unite in virtual outrage, on Twitter, Reddit, or elsewhere online, to disparage someone’s words or behavior. Participants often feel that t
762.
▲
by
azakai
11y ago
That should only happen when logged in, and given the context here, I assume the user was not logged in (since when you're logged in, all privacy is definitely completely lost).
763.
▲
by
azakai
11y ago
The article says that it was already known that that area of the medulla was responsible for sleep paralysis during REM. Perhaps they just looked to see if activating it causes sleep paralysis, which is what would be expected. If that were
764.
▲
by
azakai
11y ago
That's not the article's point at all. What the article talks about is that these technologies are forkable in China. The author wanted to do no more than what is already possible. And it leads to an interesting discussion about
765.
▲
by
azakai
11y ago
Ok, thanks, I was confused by how they phrased it.
766.
▲
by
azakai
11y ago
I meant the original article this entire discussion is about, which says > Amazon’s streaming service, called Prime Video, doesn’t run easily on its rival’s hardware. So it does run, at least according to the article. But it's eit
767.
▲
by
azakai
11y ago
Are you saying that the article is wrong when it says that Amazon video worked, but poorly, on non-Sony TVs?
768.
▲
by
azakai
11y ago
I guess the question is whether those SDKs provide everything Amazon needs. And, are there no legal restrictions that affect Amazon either. Overall the article just says Prime "doesn't work well" on those devices, but does wo
769.
▲
by
azakai
11y ago
The reasoning here seems wrong. Yes, > "the rule of thumb is that you shouldn't spend more than 30% of your monthly take home on rent", as they say, but that's just a rule of thumb. What actually matters is how much m
770.
▲
by
azakai
11y ago
I agree decision trees are more natural here, but even they are overkill, I think: all that needs to be learned is a function from the 8 neighbors to the center, which means from 8 bits to 2 bits, or in other words, there are just 256 value
771.
▲
by
azakai
11y ago
Yes, v8 and all other modern JS engines perform function inlining and type profiling. Still, it is extremely common to see modern JS engines be competitive with C on small microbenchmarks, but lag behind on large, realistic codebases. There
772.
▲
by
azakai
11y ago
They mention mass tracking of cookies from sources like google, yahoo, reddit, youtube, etc. - those might technically count as "metadata", but they are used to track individuals.
773.
▲
by
azakai
11y ago
I see it on desktop firefox.
774.
▲
by
azakai
11y ago
I believe it has switched to use clang as its frontend, though, so it's not a fully independent alternative anymore.
775.
▲
by
azakai
11y ago
Odd to see this in the middle of the article, without context before or after, > Google plans to give $5 million in matching grants to cities in the area that want to start building out a better bike network. But even the matching grants
776.
▲
by
azakai
11y ago
SQLite does mean you'll have overhead in retrieving that data, though. If you want to be able to do SQL queries on it, it's worth it, but otherwise it's probably not. If you just want a single file, you can bundle all the ass
777.
▲
by
azakai
11y ago
Yes, but it has been fixed a while ago though. No one using up to date Firefox would be vulnerable to that issue.
778.
▲
by
azakai
11y ago
The default builds won't support them, but there will be other builds you can download that do. Also, Nightly and Dev will have an option as well.
779.
▲
by
azakai
11y ago
I don't know if they'll offer each permutation of all those possibilities. I don't see why not though, it's just a little more build time. In any case, if the specific combination of features you want is missing, the opt
780.
▲
by
azakai
11y ago
I agree that those are valid concerns. And yes, the new API will be more restrictive, it sounds, and intentionally so. But the post asks for feedback and input regarding what new APIs to add. You're right they won't add everything
More ›