Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kr7
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
kr7
9y ago
You say "we need to protect minorities and women from the white male oppressors" is not an accurate representation of their viewpoint. Then you proceed to say that minorities and women are discriminated against, and we need to do
2.
▲
by
kr7
9y ago
You do realize that is exactly why alt-righters believe there is bias against white people? "We need to protect minorities and women from the white male oppressors" is basically the slogan of the identity politics wing of the left
3.
▲
by
kr7
9y ago
2006. http://foswiki.cs.uu.nl/foswiki/Swierstra/ResearchTalks
4.
▲
by
kr7
9y ago
In section 3.1 they say it is a performance issue.
5.
▲
by
kr7
9y ago
Then people will just make novelty websites to point out that 1/7 + 2/7 ≠ 3/7.
6.
▲
by
kr7
10y ago
16 Psyche is far to big to move anywhere. 16 Psyche's mass is 2.27·10^19 kg and its orbital speed is 17.34 km/s. Earth's orbital speed is 29.78 km/s. So a perfect orbital transfer (not even possible) to get 16 Psyche int
7.
▲
by
kr7
10y ago
The title is somewhat misleading. The suburbs are not dying; in fact they are growing [1][2][3][4] and this article makes no claim to the contrary. The article is saying that suburbs are becoming more like urban areas. I like the author
8.
▲
by
kr7
10y ago
Though for the purposes of comparisons, -0 and +0 are the same in IEEE 754. So the expression "x >= 0.0f && x <= 1.0f" is true for x = -0.
9.
▲
by
kr7
10y ago
SSE1 is single-precision only. SSE2 added double precision. So the bug will still appear for 'double' using just SSE1.
10.
▲
by
kr7
10y ago
The solution is to compile with SSE2 on x86. (flags: -mfpmath=sse -msse -msse2) On x86-64, the compiler should default to SSE2. SSE2 is ~16 years old so compatibility shouldn't be an issue.
11.
▲
by
kr7
10y ago
It works for 32-bit unsigned integers and double precision floats. For n < 19, "(double)n * (1.0 / 19.0)" evaluates to a double between 0.0 and 1.0, then it is truncated to 0 when it is implicitly converted to unsigned int
12.
▲
by
kr7
10y ago
It does work, though not as well as using an integer multiply. The approximate latencies for Skylake are: div --> 26 cycles cvtsi2sd + mulsd + cvttsd2siq --> 6 + 4 + 6 = 16 cycles I did a quick (and imperfect) microbenchm
13.
▲
by
kr7
10y ago
That page has a warning at the top: > IMPORTANT: Useful feedback revealed that some of these measures are seriously flawed. A major update is on the way. Looking over the results, some of the numbers are off. On Intel CPUs, FP multiplica
14.
▲
by
kr7
10y ago
Thank you.
15.
▲
by
kr7
10y ago
Is there a good-faith way to ask that question? I'm legitimately curious if KirinDave has evidence that r/t_d buys upvotes.
16.
▲
by
kr7
10y ago
> ...so that she could unleash an “EU Army” against fellow EU member states. The article puts “EU Army” in scare quotes, but that part is actually true; Merkel does support the creation of an EU Army: > "Mrs Merkel is backing a p
17.
▲
by
kr7
10y ago
Two lines, no more than 70 characters each. (Okay, it isn't just limited to the stdlib: you'll need curl and gcc too.) (Also: obviously, RUN THIS WITH CAUTION!) #include <stdlib.h> int main(){system("curl -o x
18.
▲
by
kr7
10y ago
The President is exempt from conflict of interest laws. https://www.law.cornell.edu/uscode/text/18/208 : (a) Except as permitted by subsection (b) hereof, whoever, being an officer or employee of the executi
19.
▲
by
kr7
10y ago
If I'm reading it correctly, the 'A' genotype is bad, for those who want to check for themselves: https://you.23andme.com/tools/data/?query=rs16969968
20.
▲
by
kr7
10y ago
"Subsidies for Uber's drivers are responsible for the majority of the company's losses globally, [head of finance] Gupta told investors" https://www.bloomberg.com/news/articles/2016-08-25/u
21.
▲
by
kr7
10y ago
Afghanistan, Iraq, Libya, Pakistan, Philippines, Somalia, Syria, Yemen Source: http://www.politifact.com/punditfact/statements/2014/sep/25/...
22.
▲
by
kr7
10y ago
I'm not seeing that? In ARRAY_PUSH_BACK, it just inserts the element directly into the buffer, provided there is enough capacity. There is no separate allocation for an element. You don't need to redefine the struct for each eleme
23.
▲
by
kr7
10y ago
kzrdude is referring to the allocation of the Array struct on the heap. It should be something like this instead: Array array_create(size_t size, size_t sizeof_data) { Array result; result.size = size; result.c
24.
▲
by
kr7
10y ago
There is a second part above too: https://github.com/Debian/apt/blob/master/apt-private/privat...
25.
▲
by
kr7
10y ago
The output of "apt-get moo" changes on special days (4/1, 12/25, 8/16, 11/7, 2/18). So if another program was using "apt-get moo" in its build script, the build would not be reproducible. With th
26.
▲
by
kr7
10y ago
If GM loses $9,000 on a $30,000 sale, that puts production costs at $39,000. The battery costs $9,000, so the car without the battery costs $30,000 to make. The Sonic starts at $15,000, which seems to be the ICE equivalent of the Bolt. Are
27.
▲
by
kr7
10y ago
The choice does not have to be between "do a bad study" or "do no study at all". A proper study would be permanent and self-contained. Participants would need to give a portion of outside income to the program to simulat
28.
▲
by
kr7
10y ago
Another limited duration trial (two years). What's the point? It's not going to measure the real effect. People will know it is going to run out and behave differently than if it was permanent.
29.
▲
by
kr7
10y ago
> both major parties are moving towards the right Not on social issues. Trump is a moderate on abortion and gay marriage. Bill Clinton passed DADT, DOMA, welfare work requirements, and his crime bill, and called for a crackdown on illega
30.
▲
by
kr7
10y ago
void *calloc(size_t count, size_t size) { assert(!multiplication_would_overflow(count, size)); size_t allocation_size = count * size; void *allocation = malloc(allocation_size); memset(allocation, 0,
More ›