Viewing profile — hurrrrrrrr
hurrrrrrrr
HN member- Joined
- Tue, Mar 12, 2019, 11:32 AM UTC
- HN karma
- 31
- Public activity
- 20 items
- HN profile
- View on Hacker News ↗
About hurrrrrrrr
No profile information was provided.
Recent public activity
-
comment
Comment #35388622
Looks like angle sum identity. cos(x+y) = cos(x)*cos(y) - sin(x)*sin(y) (always) ~ cos(x)*1 - sin(x)*y (if y small) Can't speak for the validity of small angle assumptions though.
-
comment
Comment #35388504
Polynomials with the coefficients defined in the sin and cos arrays (and likely in the referenced literature).
-
comment
Comment #35388051
It's an easy way to return nan and set FE_INVALID. If you're not worried about floating point exceptions you can just return NaN directly. Idk how much C# even guarantees about the…
-
comment
Comment #28929806
>Certainly do not use finite-math-only when dealing with external data. so... never?
-
comment
Comment #24989916
Because the danger of fume is negligible. It's a thing if you put it in a 2m^2 storeroom and sniff the exhaust for 8 hours straight but in any other case it doesn't come close to c…
-
comment
Comment #24979485
In isolation, no. You could instead spend your time optimizing something else that's currently slower and speed that up instead.
-
comment
Comment #24979411
The compiler is not beholden to the standard library but the standard. So all modern compilers come with a bit of knowledge of how standard library functions like memcpy are suppos…
-
comment
Comment #24941204
I think he has that correct. Ime it's split on east/north vs. north/east but wgs84 is very dominant with lat/lon.
-
comment
Comment #24858777
> I think the only reason people enjoy it is the fact that they have not gotten a chance to really spend time in a good tiling window manager on X11/GNU/Linux. I did and switched b…
-
comment
Comment #24709172
And how much more do they cost in comparison with hooking a few copper wires to a simple copper plug manufactured in china?
-
comment
Comment #24696491
> Programming languages will generally crash at runtime when an unrecoverable error occurs (index out of bounds, memory allocation failed, null pointer, etc). JS would like to have…
-
comment
Comment #24652893
It is useful with some badly written build systems that think they have to write every invocation of gcc to stdout. Like every badly written Makefile out there. Or `cat myapp/log/y…
-
comment
Comment #24082099
Maybe, maybe not. Is the potential benefit even worth fighting over? Style is just full of so many subjective details that every discussion ends in. And everybody has their favorit…
-
comment
Comment #22310274
On the other hand I understand de data model of git and can't to the most basic shit without looking up which invocation I need via search engine/man pages. Like... deleting a bran…
-
comment
Comment #22246923
But if we get rid of a whole class of bugs and vulnerabilities, the number of bugs will go down, no?
-
comment
Comment #22246878
>Do I really know how much cycles/stack it takes to do std::sort(a.begin(), a.end()); in that specific platform? No, so I cannot trust it. I also don't know how many cycles it take…
-
comment
Comment #20624938
Rust in general will panic on memory allocation failure. There was some discussion about oom handling a while back but I don't know the current state.
-
comment
Comment #20624639
Competence doesn't seem to be a requirement in these positions.
-
comment
Comment #19613348
Apparently it's mostly a "when". https://twitter.com/kylealden/status/1115307632124780545
-
comment
Comment #19580956
Which makes it a different function `assign_invert(x) = assign(invert(x))`