HTTP supports negative ranges, so you can request the final 64KB and scan it. If you don't find the Central Directory (unlikely unless the zip contains 10k files and/or lots of comments) then you just request another 64KB.
Note that the end-of-central-directory record at the end of the file contains the size and offset of the central directory, so if the central directory is not in the final 64 KiB you already have, you know exactly which range you need to request to get it (i.e. you don't need to keep scanning backwards 64 KiB at a time).
As a (tiny) financial supporter of this since day 1 with marcan, it is sad to hear about the license switch from MIT to GPL.
Will probably be a road block for *BSD and other bare metal experiments on Apple Silicon.
Given this and the supposed anti-AI stance I read Asahi is having, I can’t help but wonder if they will be able to retain front runner project position for Linux support on new Macs.
Relevant critique of this article. I should probably have elaborated more on WHY one should dare to do that and HOW you can that in a respectful and mutual way.
How to increase the signal and not the noise.
Sending an email without any clear purpose is not something I would encourge. But a highly thoughtful email about some of their works or question you have about a recent piece of code is probably appreciated. Genuine conversation.
The easiest way to start your journey towards overcoming the imposter syndrome while not burdening someone is to reply to a recent tweet.
If you have something relevant to say that is. But you probably do: more often than not.
I would certainly read that reply or even better the book!
That’s actually what I asked Mike Pall to do regarding JIT. He was reluctany and probably thinks too little of his teaching ability.. but that book would be awesome for future generations of compiler folks to read!
Back to Bellard, maybe a good first approach is to ping one of his co-authors like the person he made QuickJS with.
Uncompressed ZIP files are a bit of an underappreciated container format.
Fetching individual files from a big ZIP file even works over HTTP when the http server support range requests.
reply