Fun with Constrained Programming (2012)
colejohnson66
106 points
6 comments
November 15, 2026
Related Discussions
Found 5 related stories in 56.8ms across 3,874 title embeddings via pgvector HNSW
- Can a Linear Program Do Weight-Space Programming? emschwartz · 269 pts · November 11, 2026 · 49% similar
- A great old-timey game-programming hack (2013) palsecam · 86 pts · November 11, 2026 · 49% similar
- Executable Archaeology: Reanimating the Heuristic Compiler (1961) and KBEmacs (1984) abrax3141 · 34 pts · October 28, 2026 · 45% similar
- LISPy things you can do in 64K bytes of core (2019) andsoitis · 72 pts · October 25, 2026 · 45% similar
- Five memorable books about programming (2008) andsoitis · 103 pts · November 07, 2026 · 44% similar
Discussion Highlights (4 comments)
hcs
Neat! I've messed with something similar for ZPAQ, didn't realize RAR had it as well. And for a long time, this might need (2012) In my case I wanted to compress CD subcodes, most of the unpredictability for these is from a CRC16 on every frame, so I made a filter to xor that out and then back in. If anyone finds that amusing: https://gist.github.com/hcs64/84d981f42cc9f3cfb0f4fc8b37d447...
lgas
Wow, never would've thought the RAR format had a whole VM built into it.
lexicality
I remember hearing rumours in the 2010s about rar files being dangerous because they could execute code when you unrar'd them, but never any actual details. I wonder how secure that VM actually is? Presumably you could use a filter to encrypt your malware payload on disk to hide from passive virus scanners, but can you detect how/what is running the decryption and provide different files for virustotal vs the actual user's computer?
meMohamedAtef
curios is unrar and modern archeve extractors still execute VM custom programs? or it discover only the standerd filters?