Earlier quoted context omitted.
What does "invert a binary tree" mean?
Other people have explained the reference, but as for what it means: AFAIK it basically means to produce a binary tree with the same values but with parent-child relationships reversed.
How are zlib, gzip and Zip related? (2013)
81–90 of 145 posts
Re: How are zlib, gzip and Zip related? (2013)
#82Re: How are zlib, gzip and Zip related? (2013)
#83Earlier quoted context omitted.
If I recall correctly and it's been a while: The initial header is x bytes from the beginning of the file, or that you have to search for a known key string PKsomething. Then you have to go back and forth between that and the compressed data as you decompress. When compressing files you have to go back to the beginning of the zip file ( or disk1 in a multi disk archive) and update that table with the CRC info. Just w…
That can't be the case anymore because I implemented a streaming function a few years back that sends an unlimited number of files as a zip, but builds the zip on the fly streaming it to the client. Maybe it works because I am not using compression (files in my case are all JPG and/or compressed video so there is little benefit). But my process definitely starts streaming the zip right away and has to pull URLs on th…
Re: How are zlib, gzip and Zip related? (2013)
#84Earlier quoted context omitted.
Reminds me of the time I took my friend to play D&D up in Lake Geneva with the Gygax family whom I had been gaming with for a bit. He ended up getting into an argument with Gary about why dwarven women would have beards (of all things). I remember having to kick him under the table and quickly whisper "This is Gary Gygax, he made the game. If he says they have beards they have beards!"
I'd imagine the simplest answer would be "because Tolkien said so".
The Jackson films don't count.
Re: How are zlib, gzip and Zip related? (2013)
#85Wow a stackoverflow question that hasn't been closed or removed for some trivial reason--thought I'd never see something like that again.
You think stackoverflow has too many good questions being closed? If anything I think more could be closed.
Re: How are zlib, gzip and Zip related? (2013)
#86Wow a stackoverflow question that hasn't been closed or removed for some trivial reason--thought I'd never see something like that again.
Re: How are zlib, gzip and Zip related? (2013)
#87Earlier quoted context omitted.
I'd imagine the simplest answer would be "because Tolkien said so".
Citation? The Jackson films don't count.
Re: How are zlib, gzip and Zip related? (2013)
#88Earlier quoted context omitted.
What does "invert a binary tree" mean?
It's a reference to https://twitter.com/mxcl/status/608682016205344768
Re: How are zlib, gzip and Zip related? (2013)
#89> This post is packed with so much history and information that I feel like some citations need be added incase people try to reference this post as an information source. Though if this information is reflected somewhere with citations like Wikipedia, a link to such similar cited work would be appreciated. - ThorSummoner
> I am the reference, having been part of all of that. This post could be cited in Wikipedia as an original source. – Mark Adler
Re: How are zlib, gzip and Zip related? (2013)
#90It's annoyingly common how the OP doesn't mark this answer as accepted, or even acknowledge how amazing this answer is from one of the technology's creators -- instead just goes on to ask a followup.