Hacker News with Generative AI: File Formats

How to Create HTML/ZIP/PNG Polyglot Files (gildas-lormeau.github.io)
This article is a summary of the presentation available here. The resulting demo file can be downloaded at the end of the article. The repository can be found at https://github.com/gildas-lormeau/Polyglot-HTML-ZIP-PNG.
JSON5 – JSON for Humans (json5.org)
JSON5 is an extension to the popular JSON file format that aims to be easier to write and maintain by hand (e.g. for config files). It is not intended to be used for machine-to-machine communication. (Keep using JSON or other file formats for that. 🙂)
Reverse engineering the Sega Channel game image file format (infochunk.com)
In November 2024, the user RisingFromRuins on the Sonic Retro forum announced that he had found a Sega Channel game image CD for September 1996 while he was going through a lot of PC equipment he had bought years earlier.
Hackers use ZIP file concatenation to evade detection (bleepingcomputer.com)
Hackers are targeting Windows machines using the ZIP file concatenation technique to deliver malicious payloads in compressed archives without security solutions detecting them.
Maximum best compression for binary data: xz (LZMA) vs. ZSTD vs. 7z vs. bzip2 (dwaves.de)
once upon a time, compressing massive amounts of binary was required.
Ask HN: Why is PDF still king? (ycombinator.com)
As the title suggests, why is the PDF document the go-to file when it comes to sharing documents? Why hasn't there been a widespread adoption for a document standard that's more interactive (videos, code, visualizations etc...)?
Rga: Ripgrep, but also search in PDFs, E-Books, Office documents, zip, etc. (github.com/phiresky)
rga is a line-oriented search tool that allows you to look for a regex in a multitude of file types. rga wraps the awesome ripgrep and enables it to search in pdf, docx, sqlite, jpg, movie subtitles (mkv, mp4), etc.
Interval parsing grammars for file format parsing (2023) (dl.acm.org)
Visualizing Entropy in Binary Files (2012) (corte.si)
Windows 11 now supports 7-zip and TAR files (xda-developers.com)
Wuffs: Wrangling Untrusted File Formats Safely (github.com/google)
The Nimble File Format by Meta (github.com/facebookexternal)