karlthemailman
@karlthemailman@sh.itjust.works
- Comment on SpaceX projected 20 million Starlink users by 2022—it ended up with 1 million 1 year ago:
Rude tone apart, this is absolutely true. Nobody thinks satellite Internet is meant to compete with fiber to the door.
- Comment on Leaked Email Shows Elon Musk Demanding "Sub 10 Micron Accuracy” Cybertruck Parts 1 year ago:
Any brands you would recommend?
- Comment on Java 1 year ago:
I agree with all that. But I’m talking about exact integer values as mentioned in the parent.
I just think this has to be true: count(exact integers that can be represented by a N bit floating point variable) < count(exact integers that can be represented by an N bit int type variable)
- Comment on Java 1 year ago:
Yeah, that was my guess too. But that just means they could return a long (or whatever the 64 bit int equivalent in java is) instead of an int.
- Comment on Java 1 year ago:
I don’t think that’s possible. Representing more exact ints means representing larger ints and vice versa. I’m ignoring signed vs. unsigned here as in theory both the double and int/long can be signed or unsigned.
- Comment on Java 1 year ago:
No, I get that. I’m sure the programming language design people know what they are doing. I just don’t can’t grasp how a double (which has to use at least 1 bit to represent whether or not there is a fractional component) can possibly store more exact integer vales than an integer type of the same length (same number of bits).
It just seems to violate some law of information theory to my novice mind.
- Comment on Java 1 year ago:
So why not return a long or whatever the 64 bit int equivalent is?
- Comment on Java 1 year ago:
How does that work? Is it just because double uses more bits? I’d imagine for the same number of bits, you can store more ints than doubles (assuming you want the ints to be exact values).
- Comment on how do you use tailscale/zerotier? 1 year ago:
That’s great. Can I set the subnet router to use my local DNS? So service.mydomain.com will still route appropriately?
- Submitted 1 year ago to selfhosted@lemmy.world | 5 comments