korstmos

joined 2 years ago
[–] [email protected] 3 points 1 year ago

Moooom, theyre treating the metric again!

[–] [email protected] 162 points 2 years ago (11 children)

Because paying a few grand a year for a certificate somehow makes your software more trustworthy

[–] [email protected] 7 points 2 years ago (2 children)

What if there are no crappier cars on the road?

[–] [email protected] 4 points 2 years ago

Because even a long (64-bit int) is too small :)
A long can hold 2^64-1 = 1.84E19
A double can hold 1.79E308

Double does some black magic with an exponent, and can hold absolutely massive numbers!

Double also has some situations that it defines as "infinity", a concept that does not exist in long as far as I know (?)

[–] [email protected] 2 points 2 years ago
[–] [email protected] 50 points 2 years ago (9 children)

Doubles have a much higher max value than ints, so if the method were to convert all doubles to ints they would not work for double values above 2^31-1.

(It would work, but any value over 2^31-1 passed to such a function would get clamped to 2^31-1)

[–] [email protected] 10 points 2 years ago

I just use my regular wrench and say "click" out loud when it feels nice and tight

[–] [email protected] 11 points 2 years ago

The change written as a command

Until I get frustrated by something and just start committing "yeet"

[–] [email protected] 31 points 2 years ago

Sounds very similar to ESTA, which you have to get as a european visiting the US.
This one is a lot cheaper though, 8$ for 3 years, ESTA costs 14$ a year + 7$ at the port of entry (usually included in your airline ticket). Canada has this as well, ETA, which is also a lot cheaper.

[–] [email protected] 3 points 2 years ago (4 children)

How would you use this canal for shipping now?

[–] [email protected] 4 points 2 years ago

To use variable pricing to get you to pay the most amount possible, or to convince customers that are on the fence with a clever salestalk or small bonuses

[–] [email protected] 3 points 2 years ago (1 children)
view more: next ›