Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ascar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
391.
▲
by
ascar
5y ago
I was curious about the actual performance difference and I don't know what the big name benchmarks are, but a quick Google search showed the centurion benchmark [1] which puts the A14 just 5% ahead of the newest Exynos and Snapdragons
392.
▲
by
ascar
5y ago
If you want a simple pseudo random sequence of N that just looks random (pseudocode): int start = getRandomInt(seed) % N; double k = N / 1.618; k = k % 2 == 0 ? k - 1 : k; // k and N must be coprime int nextElement
393.
▲
by
ascar
5y ago
If the next number depends on the previous number (like with wyrand and many others) it can't be simdified. You could simdify computation with different seeds tho, which might be fine for many purposes. However at that point it's
394.
▲
by
ascar
5y ago
I don't know about all the other RNGs in this benchmark, but MT prepares a dense/contiguous array of random numbers. The whole computation can be SIMDified (often even by the compiler), but extraction is (unless changed explicitly
395.
▲
by
ascar
5y ago
You are ignoring the evidence presented, ask open questions beside the point and attack him personally. That's not a way to have a discussion and it feels like you're acting on an agenda. > You don't have to, you misunders
396.
▲
by
ascar
5y ago
> "I was guided throughout by two principles: - be true to the photographs - be true to the Earth [...] The main changes I made were: [...] - adjusting the black point until the background of space appears truly black" These sh
397.
▲
by
ascar
6y ago
My main point is that you should clearly state it as percentage points if that's what you're calculating and want to express. That includes not using the percentage sign and indicating that these are percentage points. An increase
398.
▲
by
ascar
6y ago
Stating a percentage increase that is calculated by subtraction rather than division is nearly always misleading. The increase in risk is 0.43%, which is still low but two orders of magnitute higher than your statement. What you are calcula
399.
▲
by
ascar
6y ago
Using a simple t-test calculation and assuming normal distribution and an equal split in both groups, the sample size per group needs to be 20 million to be in the 90% confidence interval. It's not even yet in the 95% interval at that
400.
▲
by
ascar
6y ago
I remember you because of the about me. I was reading a somewhat controversial comment from you and then visited your account page probably to check for sibling comments in the same post. Your about me definitely changed how I feel about yo
401.
▲
by
ascar
6y ago
> I've seen intelligent and insightful HN posts down voted simply because they went against the status-quo The best thing to do here is for the community to step in and actively up-vote unfairly downvoted comments.
402.
▲
by
ascar
6y ago
Are static ips a common thing in the US? Here in Germany getting a fresh ip is as easy as restarting the router unless you explicitly pay for a static ip.
403.
▲
by
ascar
6y ago
The problem is that the source is generalizing, which is fine for saying beta has usually shorter range and is less dangerous than gamma, but is too general to be applicable here. Beta radiation just describes a certain kind of radiation, n
404.
▲
by
ascar
6y ago
If there are half as many radioactive isotopes left then the material is also half as radioactive, as radioactivity is measured in decays per second (Becquerel [1]). [1] https://en.m.wikipedia.org/wiki/Becquerel
405.
▲
by
ascar
6y ago
This is gold. It reflects too many real engineering projects so well. Sometimes I'm the guy to point this out, but too often I catch myself arguing for adding unnecessary complexity (unfortunately usually in hindsight). There should al
406.
▲
by
ascar
6y ago
Yes OP didn't provide hard numbers or citations, but countering a broad statistical claim with small scale empirical evidence is always besides the point. It tries to weaken the original claim without actually contradicting it at all.
407.
▲
by
ascar
6y ago
That's exactly the irresponsible and useless anecdotal evidence the comment you replied to mentioned.
408.
▲
by
ascar
6y ago
Case law doesn't exist in a majority of the world and somehow these legal systems work nonetheless, in at least some instances even arguably better. https://en.m.wikipedia.org/wiki/List_of_national_legal_syste...
409.
▲
by
ascar
6y ago
Arguing how much applicable experience one actually has is a central part of salary negotiation.
410.
▲
by
ascar
6y ago
> Update: The numbers were updated since they were off by a factor of two due to a typographical error in the code. The article got updated by now :)
411.
▲
by
ascar
6y ago
This is the benchmarking loop: for (size_t i = 0; i < N; i++) { out[i++] = g(); } N is 20000 and the time measured is divided by N. [1] However, that loop has two increments and only computes 10000 numbers. This is also visi
412.
▲
by
ascar
6y ago
It's truly amazing that he did all this while decompiling the source code, but for engineers working on a large system it's not that uncommon to fix large impact performance bugs.
413.
▲
by
ascar
6y ago
I'm don't really follow how the possiblity of homeschooling and public school quality correlate? What is your argument here?
414.
▲
by
ascar
6y ago
I live in Germany and private schools are the absolute exception. I'm not a parent yet, but from my experience as a student you just send your kid to the closest school and school reputation isn't really a thing. There are some &q
415.
▲
by
ascar
6y ago
For a while I was running linux and windows on the same computer but on different hard drives. To switch systems I shut it down and used hard switches (special hardware in a disk drive slot) to power off/on the right hard drives. This
416.
▲
by
ascar
6y ago
> If most browsers aggressively blocked ads then more sites would test to see if blocking ads breaks the site. I'm not sure that's a reasonable assumption. Many sites actively break their own user experience and hide their cont
417.
▲
by
ascar
6y ago
At least you don't have (obvious) performance problems with it, because you will effectively never need more than 9 (usually 2 or 3) of these bytes. But sure on modern 64 bit systems just using a 64 bit integer makes much more sense. O
418.
▲
by
ascar
6y ago
Saving the planet is hardly altruistic, after all you are living on that planet yourself. So in essence it's at least partially driven from a position of self-preservation, which is by its nature egoistic.
419.
▲
by
ascar
6y ago
The thing is that the widespread believe in global warming doesn't just stem from temperature measurements, but a multitude of other observable facts that do fit in the theory (i.e. experiments do not invalidate the theory). But just p
420.
▲
by
ascar
6y ago
Well you are kinda comparing apples and oranges here. According to their readme they don't just match on keys, but even try to detect changed keys for the same content, even when the two files have a different inner order of elements.
More ›