Blogs / Personal blogs

David Fifield

bamsoftware.com

Popular posts
3
Total points
842
HN comments
290
Rank
#2,695 personal

Visit bamsoftware.com → RSS feedOn Hacker News Sep 2015 – Jul 2019

Security & Privacy 2Software Engineering 2Networking & Internet 1Math & Algorithms 1

1

A better zip bomb

This article shows how to construct a non-recursive zip bomb that achieves a high compression ratio by overlapping files inside the zip container. "Non-recursive" means that it does not rely on a decompressor's recursively unpacking zip files nested within zip files: it expands fully after a single round of…

2

Biggest image in the smallest space

What’s the biggest pixel size of a PNG image in the smallest number of bytes? I wanted to try to create an image that could be downloaded but whose pixel buffer would be too big to store in the RAM of a PC. Here is a PNG image of 6,132,534 bytes (5.8 MB) and 225,000 × 225,000 pixels (50.625 gigapixels), which, if…