Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Coding_Cat
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
67 ms
·
91.
▲
by
Coding_Cat
10y ago
>Sorry, I don't quite understand the explanation... define a struct S{char flag, data[63];} then do foreach s in std::vector<S>(big number){ if s.flag == 0{ //set this variable to be very rarely 0
92.
▲
by
Coding_Cat
10y ago
I think the real issue here is that yes, people are probably born into some kind of sexuality, but the standard binary distinction of gay and straight (or even bi) doesn't really work that well. People can be more or less attracted to
93.
▲
by
Coding_Cat
10y ago
I'll take that challenge. Here's how to do it, with a little bit of sneaky interpretation of 'memory layout': have an algorithm which takes a large struct S and looks at a subset Sf to determine what to do with S, for so
94.
▲
by
Coding_Cat
10y ago
I've found that the premium depends on the store and model. Some seem to do relative pricing, others absolute. In the latter case, if you want a big rig it's best to let someone build it for you. Often times in those cases you als
95.
▲
by
Coding_Cat
10y ago
People are always asking on here "what are some inefficiencies a startup needs to tackle" and I think this is a great example: Hospital support software. From what I've heard and seen it's a total nightmare across the gl
96.
▲
by
Coding_Cat
10y ago
nullptr, I believe, is compatible with C interfaces (as is simply passing 0) while not suffering from the issues described here.
97.
▲
by
Coding_Cat
10y ago
Can't they just pay boringCorp Ltd. in Bitcoin for use of their "bussiness solution" (that is managing your infrastructure or providing the bitcoin transaction platform). The boringCorp Ltd can cash out for ActualMoney(tm) an
98.
▲
by
Coding_Cat
10y ago
parse() is generic over it's return type (which is Result<F, F::Err> where F: FromStr) [1]. The value of which can be inferred. The result of parse().unwrap() is of type F, which means addr is of type 'F'. afterwards w
99.
▲
by
Coding_Cat
10y ago
AFAIK this is not quite right. They take only 1/4th of a cycle on average, but that is because of pipelining. if you have a dependency on the result of an ALU you will still have to wait the full latency (1 cycle) before you can contin
100.
▲
by
Coding_Cat
10y ago
Depends. Europe is not a single country, it's impossible to answer this question. (unless in the case where you can in every country, but I wouldn't know).
101.
▲
by
Coding_Cat
10y ago
>the entire lookup table fits in L1 cache you can treat KIND_TABLE[id] as only taking ~1-2 cycles. You can do so, but on modern processors it's ~4 cycles to access the L1 cache and return 175 & id & ((id ^ 173) + 1
102.
▲
by
Coding_Cat
10y ago
>I co-wrote a book on user acquisition and co-created an accompanying video course to climb out of debt left over from a failed startup. I hope the startup didn't fail because it couldn't attract users?
103.
▲
by
Coding_Cat
10y ago
I think Fnangle is an abstraction over futures. The selling point I found when looking at Tokio (rust equivalent, references Fnangle) was that you write a driver for each backend and then have generic services to implement things such as ti
104.
▲
by
Coding_Cat
10y ago
Well, there is always a mens-rea argument. If Amazon wants to offer this type of store and the technology fails to pick something up you can't really be faulted for not paying for it (without noticing).
105.
▲
by
Coding_Cat
10y ago
Could you elaborate? I thought the difference between leptonic and hadronic colliders was only in the beam & resulting signal purity? Smashing an electron and a positron together produces pure energy to be converted into matter. It cou
106.
▲
by
Coding_Cat
10y ago
So you would have been fine if this article was posted here on the day it was written instead? That's a bit arbitrary because the story itself is much older than five years and wouldn't have been "news" than either.
107.
▲
by
Coding_Cat
10y ago
Honestly, I'd quite like to have a world with a few large 'nation-states' in charge of 'the global scene'. I am not an economic liberal by any means, but I am a proponent of forming ties between nations and having d
108.
▲
by
Coding_Cat
10y ago
Per dollar, AMD performs much better than nVidia for a significant number of cases[1] and they have much larger memory. However, this is comparing an equally optimized implementation. Unfortunately nVidia simply has much more optimized cont
109.
▲
by
Coding_Cat
10y ago
Although it would have the interesting effect of making the price more known by association, thereby increasing the 'protection' offered to all other recipients of the price.
110.
▲
by
Coding_Cat
10y ago
For those whose algebra is rusty: Let y = a x^n Then log(y) = log(a x^n) = log(a)+log(x^n) = log(a) + log(x)*n i.e. and equation for a line when plotting log(y) vs. log(x).
111.
▲
by
Coding_Cat
10y ago
Well, the glorious leader does seem to be getting quite... globious in recent years.
112.
▲
by
Coding_Cat
10y ago
Perhaps they are not a troll, in that they don't trawl. But look at the patents that they used in their dispute with Samsung. They have no problem using their ass-backwards patents agressively if one becomes a threat to them.
113.
▲
by
Coding_Cat
10y ago
I don't now if it fixes it per se, but it does make it harder to mess up. For example, it does not automatically convert between sizes (usize) and unsigned integers (u64).
114.
▲
by
Coding_Cat
10y ago
Or you know, real life. It's just a matter of priorities (and game theory).
115.
▲
by
Coding_Cat
10y ago
What is to stop the Government from saying "we will buy this medicine at X$", where X is a fair price they could negotiate. And if negotiations fail just go "right, you are taking X$, or we are taking your patent in the name
116.
▲
by
Coding_Cat
10y ago
There is no atmosphere and thus no wind (let alone flowing water), so no natural forces to smooth it out. On a related note, moon dust is apparently incredibly sharp for the same reason.
117.
▲
by
Coding_Cat
10y ago
I think the iris graphics ones can use the vram as shared L4, and that's up to 256 MiB IIRC.
118.
▲
by
Coding_Cat
10y ago
In the EU there are similar laws. Compensations start as soon as a plane is delayed by more than two hours. My dad has gotten quite a substantial chunk of money back on a regular vacation ticket after it was delayed for a few hours. You hav
119.
▲
by
Coding_Cat
10y ago
Making non-instant ramen is pretty easy though, especially if you have to feed hundreds of people. It basically amounts to making an asian-spiced soup, throwing in veggies and some soup-meats (or good meat if you're feeling fancy), may
120.
▲
by
Coding_Cat
10y ago
Not on here at least. I wouldn't be surprised if a large part of the population still believed it though.
More ›