Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
SolarNet
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
601.
▲
by
SolarNet
10y ago
> -sigma < x < 0 < y < sigma, abs(x - y) > sigma This statement works fine. If the numbers are farther than sigma apart then `abs(x - y) > sigma` is true as it should be . It's not distance to 0, it's distanc
602.
▲
by
SolarNet
10y ago
> Arbitrary precision rationals increase in storage and processing time each time you multiply them Only if you store the arbitrary precision number. Last I checked you can't actually have a tenth of a cent, so it has to be rounded
603.
▲
by
SolarNet
10y ago
Well first riddle me this. How do you calculate a ⅓% (1 / 3 of a percent) fee with integers. Depending on your choice of solution I can tell you how it has a problem and how arbitrary precision numbers would solve it.
604.
▲
by
SolarNet
10y ago
I think there is a deeper problem here with HR. Uber didn't care enough to figure out whether it was sexist or not (or even care enough to do anything about it at all). That means Uber is sexist simply by not caring enough to check (re
605.
▲
by
SolarNet
10y ago
> Where does it say the manager "wasn't telling male workers to wear long sleeved shirts?" Even if so, how's that sexist? To say that something's sexist because a man gets different advice than a woman with no co
606.
▲
by
SolarNet
10y ago
> What if she was the only Jainist in the group, would it be religious discrimination? If it had to do with her religious practices, yes. If she was singled out for no other given reason and she was the only one and the decision maker ha
607.
▲
by
SolarNet
10y ago
Ah that makes more sense. I thought the OP was implying Razer is Chinese as I have seen others do.
608.
▲
by
SolarNet
10y ago
Yes. But then you write that at the boundary. Along with the other consistency checks. And you are forced to think about it at the appropriate time, instead of forgetting about it entirely (floats) or introducing subtle errors (integers, an
609.
▲
by
SolarNet
10y ago
Instructions unclear booted left-pad (if a developer is stupid enough to use floats for money, I doubt they are aware of how library systems work).
610.
▲
by
SolarNet
10y ago
> they can't translate emails correctly Between UK English and US English?
611.
▲
by
SolarNet
10y ago
Considering they kept using the spillway even though it was damaged (because they hadn't repaired it as they should have due to lack of funds), and they had to use the emergency spillway (which wasn't reinforced because they didn&
612.
▲
by
SolarNet
10y ago
Or use a language with arbitrary precision numbers (they are only like 50 years old so I can see why many people don't use them /s). As someone else already pointed out, this still prevents calculations of fees as a percentage, an
613.
▲
by
SolarNet
10y ago
For developing skills, a simple answer is learn a new language. Do a personal project in something dynamic and object oriented (e.g. not C). C is a great language and you will be happy you know it. But learning new languages forces you to t
614.
▲
by
SolarNet
10y ago
The manager wasn't telling male workers to wear long sleeved shirts, so that's the most obvious one. It was also obviously the last straw. Often in stories like these the last straw seems pretty stupid compared to a larger problem
615.
▲
by
SolarNet
10y ago
You aren't following the instructions. You have to rewrite all comparisons to use a small sigma. `0.f == x` becomes `SIGMA > x` `0.f == y` becomes `SIGMA > y` `x == y` becomes `SIGMA > abs(x - y)` All the expression work if
616.
▲
by
SolarNet
10y ago
Because unless you are on a video card (e.g. doing SIMD) floating point operations are very very expensive.
617.
▲
by
SolarNet
10y ago
> She lied blatantly about their blood-testing medical equipments which can potentially kill people with wrong testing results, I think is the only one which is actually crime and which she has already been punished for.
618.
▲
by
SolarNet
10y ago
The post you were replying to even said: > Note the title is wrong but the linked response from Facebook describes what they actually do quite succinctly. And you still responded with this. Come on.
619.
▲
by
SolarNet
10y ago
Unless you wanna kill it before it is deployed. For example if the U.S. was aware that a nation state was about to pull out on funding for it and wanted to keep the economic dominance of GPS.
620.
▲
by
SolarNet
10y ago
Or you could argue this reminds people they are on equal footing with the other.
621.
▲
by
SolarNet
10y ago
Except without a better way to package a binary it will be compared as one.
622.
▲
by
SolarNet
10y ago
Municipal and County Attorneys are really really scummy. It's basically just a job to be corrupt in. They have long forgotten their constitutional duty. The lawyers who remember that are either busy earning a lot of money the hard way
623.
▲
by
SolarNet
10y ago
I mean there is also the conceit that there is a black hat movement (e.g. dedsec) backing the main character composed of a few hundred people writing exploits, etc. Which is of course a bit of superhero-esque fiction. But the point is if An
624.
▲
by
SolarNet
10y ago
Talk about scientific illiteracy in science media. > “traveling salesman problem” They quoted it - which means they obviously don't know what they are talking about - and then go on to talk about esoteric things (Ising machine) as i
625.
▲
by
SolarNet
10y ago
Score attack games where you basically run to the right, although there are other variations (like ninja games). Alternatively just get the kid into speed running, same idea. Some examples: * http://store.steampowered.com/ap
626.
▲
by
SolarNet
10y ago
He should just buy his son a laptop and put a zachtronics game or factorio or minecraft or any other game that has some sort of educational or artistic goal. Heck, for high score, just put runner game on there. Mods can fulfill boosts, etc.
627.
▲
by
SolarNet
10y ago
At first I thought this was a list of animals going extinct or something.
628.
▲
by
SolarNet
10y ago
Well I think instruction set is a pretty easy bar to start with. Heck you could do it automatically. Is the executable compliant x86? is the User's machine x86? I could program a prototype for that in a few minutes if I had the info va
629.
▲
by
SolarNet
10y ago
Time cube is leaking... http://timecube.2enp.com/
630.
▲
by
SolarNet
10y ago
This is (partially) meant to be used for chips that don't exist. As future instructions are made public software vendors (like compiler vendors) can use this to be ready when the chips come out day 1.
More ›