I'm just asking you to do the test, because it was forced on me for 6 months of my life :)
Firstly, cr.yp.to is hosted on some really basic consumer grade hardware most likely and has to make an additional hop through Tonga of all places for DNS resolution.
Of course, the page size of cr.yp.to is very small and does not involve any other communication with other servers to deliver a request.
But Google has x million machines, x million miles of fiber, x million sticks of ram, and the page size on google also isn't terribly huge. And it's serving a cached result usually, the robot has already scraped it.
But still, because of the number of network pings that serving a single google search takes, it is extremely common on cell phones to lose service for a millisecond and completely destroy the bidirectional connection between you and Google, and your mobile browser will just sit there hanging forever until you force restart it.
DJB uses a custom nameserver for DNS, so only one of the lookups would have to go through Tonga. The web request wouldn't leave the US (assuming that's where you are).
It goes sort of like this:
1. You query 'cr.yp.to' which your DNS server will either have cached, or make a recursive query to '.' (root DNS), then to '.to.' The '.to.' server will have nameserver information for 'yp.to.' which gets queried next.
2. The nameserver for 'yp.to' is looked up. In this case, it's `uz5jmyqz3gz2bhnuzg0rr0cml9u8pntyhn2jhtqn04yt3sm5h235c1.yp.to.'
3. The A records for that NS record are '131.193.32.109' and '131.193.32.108', both of which belong to an IPv4 block owned by the University of Illinois at Chicago.
4. Your computer queries the A record(s) for the subdomain, 'cr.yp.to.' from the nameserver for 'yp.to.' which in this case points to the same two IPs as the nameserver.
5. Depending on your OS/Browser, you will make an HTTP or HTTPS connection with that server and begin to download site content.
So, no you don't "make a hop" through Tonga, but the '.to.' nameserver will receive a request (if it's not cached by your resolver) to resolve the 'yp.to.' server.
I also am not an expert, but Dan J Bernstein (the owner of cr.yp.to) states that his website --- er actually hold on, I think I misremembered the story from his site. Let me paste it here:
2000-11-16: The .to administrators destroy yp.to for reasons that have never been explained.
Hehe, UIC is the bane of cr.yp.to's existence, between network and power instability... Makes you appreciate what the big cloud players abstract away from us!
I was linked https://lite.duckduckgo.com/lite, and even without autocomplete or dropdown functionality, it comes in at 8.5 kB, so I'd say that the 10 kB goal is pretty aggressive.
That seems unfair, considering there is no lite google equivalent. The full duckduckgo site still comes in lighter (3/4 of the size), and includes a lot more media, so it's still better than Google.
I don't think you read the article. Devtools shows 130 requests because it considers inline data URIs to be a request--instead, there are lots of inlined images. so the page looks mostly complete with only the original document request.
I did read the article that's I picked to sentences from there. I did not pick up from the article that chrome counts inline data as requests and I did not know that earlier.
I find that even more odd that inline data is counted as requests.
> Important: It’s worth noting that each one of these Base64 encoded images is counted as a “request” in the Network tab of Chrome developer tools. This explains why there are so many images “requested” but the page is so fast. The browser never goes over the network to get them!
I paused at that as well, maybe it makes sense to think of it as a "request for additional execution" where it happens to be to Base64decode the data URI or pull the image from a remote server.
I wish more software/libraries would mark themselves as "Done" instead of sending one update every week and a ui refresh every 6 months. Software engineering is the only field where we keep building a single thing forever until it becomes a hot mess.
It "done" really, and I can use it today knowing its pros and cons. It would be "dead" if it had a glaring flaw which couldn't be fixed (which I don't think mutability is)
Every project has cons and they should embrace it and call it out like this project did instead of forever targeting a perfect library but nothing is perfect. It serves its purpose.
I am not sure if they are telling people not use it just because chrome now says to exclude it or they came up with it independently.
> I am not sure if they are telling people not use it just because chrome now says to exclude it or they came up with it independently.
Independent. The maintainers have been recommending other alternatives (like Luxon) long before Chrome started to advise users on it.
Moment has been in maintenance mode for a while now, this is just an updated confirmation of the fact, I'm guessing because users kept asking.
We (the Moment maintainers) have been saying it anecdotally for quite some time. In our respective podcasts, talks, Stack Overflow comments, etc. The Chrome thing simply encouraged us to make it an official position.
also tetpdf (paid) works really well (used it for extracting transactions from account statement pdfs) (demo works for 2-3 pages). I actually used a combination of tabula and tetpdf.
This is not a great analogy... Games require your immediate attention so you know why you are killing battery life and accept that fact. Services that run in the background are invisible and will drain your battery over time. In some cases this is normal required behavior, but if everyone were to have their own background process running your device would become useless very fast. These seemingly draconian policies have to protect likely outcomes as well as edge cases.
That’s something that is hidden from users, they put their phone in their pocket and two hours later their battery charge is substantially diminished. They don’t understand why or how to stop it.
They know playing a game for hours straight reduces battery charge.
You're posting shallow dismissals while seemingly having no idea what you're talking about.
The complaint about location in the article is about Google's tendency to bug you to turn on GPS and leave it on, happily draining the battery but for Google's own surveillance purposes. Having a GPS fix is not a requirement of the cell network.
Cell tower triangulation is something the network can do as a result of your phone connecting to cell towers. While connecting to a cell tower is mandatory for cell communication, an open baseband could make it a point to only connect to one tower at a time (although a single tower will still have some location information due to sector antennas).
> Hey Google, why not shutdown location and frequent play service updates as they aren't helping my phone battery either
Doesn’t mention GPS. That may be what the author meant, but certainly could be written far clearer.
Still, Google isn’t using GPS all the time, their power management strategy can’t allow that. It’s likely only using it when its deemed necessary. Android is tuned to balance offer users the most functionality possible with longest battery life. If it did not iOS would destroy it in battery life tests.
Triangulation is necessary to determine which tower to connect to and when to switch to a new tower. It’s why they are called “cellular” phones.
> It’s likely only using [GPS] when its deemed necessary
The entire point is that Google encourages you to leave the setting on, meaning you'll be doing GPS fixes more than what the user actually considers necessary.
> Triangulation is necessary to determine which tower to connect to and when to switch to a new tower.
No, it's really not. It's hard to even figure out what you're trying to describe here.
Yes, the baseband sees the signal strength from each nearby tower to know when to switch between them. But the baseband doesn't itself have a map of cell towers. If the list of visible towers is used for client positioning, it happens on the application processor. The work of deriving a location from the towers is not necessary for cell network communication.
Your points on the actual details of what how cellphones work is exactly right, but it’s trivial to calculate location from those values. My point was that your phone is not powering up any additional hardware, or doing anything extra in software to burn battery life to estimate your location, the information is already there. The phones application processor is already monitoring them if only to keep your radio strength meter display accurate.
And Google should encourage you to keep GPS on if they do a good job managing its power usage. Users aren’t always going to know when the app they are using is going to work better with more precise location data. This is a user friendly feature.
Circling back around, the author is still wrong that allowing installed apps to run unrestricted background network processes is anything like the OS carefully managing location accesses to minimize power usage.
> This is unacceptable for a project that tries to make something easier and where convenience, not financial considerations are a big driver in adoption.
Financial considerations are the big driver for letsencrypt. Not sure why OP think otherwise ? Easier and convenience is secondary and served by certbot/acme.