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.
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.
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.
Edit: ok, I take this back. I guess you can represent larger values as long as you are ok that they will be estimates. Ie, double of N (for some very large N) will equal double of N + 1.
No, I get that. I’m sure the programming language design people know what they are doing. I just 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.
So why not return a long or whatever the 64 bit int equivalent is?
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).
Does the bt hub let you turn off DHCP? I had a similar issue with my ISP router, but it let me turn off dhcp and then I ran pihole which can run its own DHCP server.
Then, the DHCP server can tell all clients to use your preferred DNS server.
I haven’t used adguard, but it can probably do the same. If not, you can run a DHCP client on the same box probably.
Not being able to install local apps is a valid issue. But if you are really concerned about a work laptop, I wouldn’t trust something just because it’s web based. Depending on the company, they can access that data if they really wanted to just alomst as easily as a file on disk.
How much are you scraping? You may end up getting your home up blocked.
Do you need to expose the services to the entire Internet or can you use something like tailscale or zerotier (these require installing an app on each remote device, but don’t open up ports to the internet).
That’s great. Can I set the subnet router to use my local DNS? So service.mydomain.com will still route appropriately?
Same here. Well worth it for $10 a year
Thanks. Authelia looks promising, but I can find anything about tls client auth.
Edit: actually maybe caddy supports this directly? https://caddyserver.com/docs/json/apps/http/servers/tls_connection_policies/client_authentication/
How do you have this set up? Is it possible to have a single verification process in front of several exposed services? Like as part of a reverse proxy?
Or mergerfs if you are not too concerned with performance
I’m curious which part you think is overkill and how you would redo this? I have a proxmox cluster and run docker amongst other things, but haven’t set up any sort of high availability.
I don’t need live migrations, but something that could help with load balancing and reducing any potential downtime if a host fails would be great.
Any specific reason you think they should be backwards? I have only limited exposure to the alternatives, but caddy was the easiest for me to set up when I was looking for a reverse proxy.
My main issue with caddy was having to compile in any extensions manually, but you don’t even need to do that anymore.
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)