Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zmodem
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
LLVM 14.0.0 Release
(discourse.llvm.org)
47 points
by
zmodem
5y ago
|
7 comments
32.
▲
LLVM 13.0.1 Release
(discourse.llvm.org)
5 points
by
zmodem
5y ago
|
0 comments
33.
▲
by
zmodem
5y ago
I'm never quite sure about the state of zlib. There are commits going in [0] but at the same time pull requests with fixes aren't seeing much traction (e.g. [1]). Optimization work happens in forks like Intel's [2], Cloudflar
34.
▲
LLVM mailing lists switching to Discourse
(blog.llvm.org)
4 points
by
zmodem
5y ago
|
0 comments
35.
▲
Microsoft’s Edge browser is now available on Linux
(theverge.com)
35 points
by
zmodem
5y ago
|
17 comments
36.
▲
by
zmodem
5y ago
I think it's the article that's confused, or being a bit careless with the details. Like you say, Deflate is based on LZ77, and I think it's not just for patent reasons but because it's a nice algorithm. More modern algo
37.
▲
by
zmodem
5y ago
Shrink is LZW, Implode is LZ77 + Shannon-Fano/Huffman. See https://www.hanshq.net/zip2.html
38.
▲
by
zmodem
6y ago
I had not seen that GMP reimplementation before, but it looks very readable. Thanks! I used the Möller & Granlund paper for a portable implementation of 2-by-1 division [1], and on my machine (which is admittedly not exactly new) it run
39.
▲
Shrink, Reduce, and Implode: The Legacy Zip Compression Methods
(hanshq.net)
3 points
by
zmodem
6y ago
|
0 comments
40.
▲
by
zmodem
6y ago
Thanks for the link! I started watching and this looks like an interesting lecture series. (The book looks interesting too.)
41.
▲
by
zmodem
6y ago
https://www.akkadia.org/drepper/tls.pdf is also a great write-up
42.
▲
by
zmodem
6y ago
> I've never open sourced it though because I guess it's a bit of a grey area - the sites want you to go to the full URL so they can show you ads etc Another reason, which I think is fair, is that with full articles in the RSS
43.
▲
by
zmodem
6y ago
One big part about your post is about streaming. I don't think the ZIP format was ever designed for streaming, and there are no claims about streaming in the original app notes. Actually, the wording about streaming you refer to were o
44.
▲
by
zmodem
6y ago
I've been trying to figure out where the first z comes from. At least I tend to think "z" is for compression because of ZIP, but it predates that. .Z was used for compress(1), probably because pack(1) used .z, but where did t
45.
▲
LLVM 11.0.1 Release
(lists.llvm.org)
2 points
by
zmodem
6y ago
|
0 comments
46.
▲
by
zmodem
6y ago
This is wonderful. Thanks for sharing!
47.
▲
by
zmodem
6y ago
Thanks for sharing! That whole article is wonderful.
48.
▲
by
zmodem
6y ago
You may also want to try the GN build: https://github.com/llvm/llvm-project/blob/master/llvm/utils/...
49.
▲
by
zmodem
6y ago
I submitted the announcement email because it links to release notes from all the projects (i.e. Clang, LLD, Flang, etc.) and not just the main LLVM ones. (Also it seems the version number changed from 11.0.0 to 11.0?)
50.
▲
LLVM 11.0
(releases.llvm.org)
223 points
by
zmodem
6y ago
|
71 comments
51.
▲
by
zmodem
6y ago
Can't wait to read that book!
52.
▲
by
zmodem
6y ago
Chrome M64 was the first shipping version built with Clang on Windows: http://web.archive.org/web/20200125010517/http://blog.llvm.o...
53.
▲
by
zmodem
6y ago
Not supporting streaming decompression simplifies the implementation a lot, which seems to fit well with the project's goals (hwzip does this too: https://www.hanshq.net/zip.html ). It should still work with large files
54.
▲
by
zmodem
6y ago
No problem, I was just wondering if I missed something. Filed https://bugs.llvm.org/show_bug.cgi?id=46194
55.
▲
by
zmodem
6y ago
OSSFuzz is an automated system.
56.
▲
by
zmodem
6y ago
Do you have a pointer to where this was fixed in the compiler?
57.
▲
by
zmodem
6y ago
That's during extraction though. There's no way to reliably decompress a ZIP without reading the Central Directory first. While scanning for the Local File Headers works for most files, it's not guaranteed to be correct since
58.
▲
by
zmodem
6y ago
> Certain fields in the ZIP local file header require random access at write time. Isn't that what bit 3 in the general purpose bit flags if for? When that's set, the CRC and compressed/uncompressed file lengths are writte
59.
▲
by
zmodem
6y ago
The master thesis: https://dspace.mit.edu/handle/1721.1/11173
60.
▲
LLVM 10.0
(lists.llvm.org)
197 points
by
zmodem
7y ago
|
25 comments
More ›