frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Reverse-engineering Codemasters' BIGF archive format in Ruby

https://davidslv.uk/2026/06/30/reading-binary-in-ruby.html
4•davidslv•3d ago

Comments

davidslv•3d ago
Author here. This started as a hobby attempt to understand Codemasters' old driving AI, which had received quite a few interesting game reviews at the time. Which meant first reading their "BIGF" archive format. The surprise was Ruby: String#unpack is basically a fast, C-backed binary parser hiding in the stdlib, and the whole reader is dependency-free. Repo (MIT): https://github.com/davidslv/bigf

Honest note: AI-assisted throughout — I steered and verified every claim against the bytes. No game data committed; tests synthesise fixtures from the documented format.

fwipsy•1h ago
Neat project. I just wrapped up a somewhat similar, but very limited project to rip assets from Multimedia Fusion 1.5 (.cca) files. I'll throw it up on Github one of these days...

The writeup and even your comment also scan as AI-written to me. Are they?

tn1•51m ago
Ruby's un/pack is of course heavily inspired by Perl's: https://perldoc.perl.org/functions/pack

However, slicing strings is a little easier syntax-wise than in Perl.

Agentic coding notes from Galapogos Island

https://danluu.com/ai-coding/#appendix-agentic-loops-and-writing-this-post
27•gm678•49m ago•3 comments

Giant trees have no trouble pumping water to top branches: new research

https://news.exeter.ac.uk/faculty-of-environment-science-and-economy/giant-trees-have-no-trouble-...
153•hhs•6h ago•77 comments

GLM5.2 on AMD MI355X at 2626 tok/s/node at over 2x lower cost than Blackwell

https://www.wafer.ai/blog/glm52-amd
168•latchkey•7h ago•51 comments

Leanstral 1.5: Proof abundance for all

https://mistral.ai/news/leanstral-1-5/
145•programLyrique•6h ago•35 comments

Synthesis is harder than analysis

https://surfingcomplexity.blog/2026/07/03/synthesis-is-harder-than-analysis/
33•azhenley•2h ago•8 comments

MSI Center – How to gain SYSTEM privileges in seconds

https://mrbruh.com/msicenter/
59•MrBruh•4h ago•10 comments

Steam Controller Auto-Charge – pilot to magnetic charging puck using CV

https://github.com/FossPrime/Steam-Controller-Auto-Charge
105•zdw•6h ago•20 comments

Odin, Wikipedia and engagement farming

https://katamari64.se/posts/2026/odin-wikipedia/
88•stock_toaster•6h ago•101 comments

SearXNG: A free internet metasearch engine

https://github.com/searxng/searxng
177•theanonymousone•9h ago•49 comments

The circuit that lets your brain think and see

https://www.engineering.columbia.edu/about/news/circuit-lets-your-brain-think-and-see
66•hhs•6h ago•13 comments

The firefighting system of the Van der Heyden brothers in 17th century Amsterdam

https://worksinprogress.co/issue/how-amsterdam-invented-the-fire-department/
61•zdw•6h ago•12 comments

Jamesob's guide to running SOTA LLMs locally

https://github.com/jamesob/local-llm
311•livestyle•14h ago•140 comments

Soatok's Informal Guide to Threat Models

https://soatok.blog/2026/06/30/soatoks-informal-guide-to-threat-models/
53•zdw•4h ago•6 comments

Mir Books – Books from the Soviet Era

https://mirtitles.org
4•clmul•3d ago•0 comments

Applied Category Theory Course (2018)

https://math.ucr.edu/home/baez/act_course/index.html
82•measurablefunc•8h ago•7 comments

New serious vulnerabilities spiked around release of Claude Mythos Preview

https://epoch.ai/data-insights/cve-severity-spike
75•cubefox•8h ago•23 comments

Show HN: A statically typed, cross-platform, easily bootstrappable build system

https://github.com/rochus-keller/BUSY/
25•Rochus•3d ago•6 comments

Gone but Not Forgotten: Recovering the Dead Web

https://blog.archive.org/2026/04/23/gone-but-not-forgotten-recovering-the-dead-web/
48•wslh•3d ago•8 comments

Maybe you should learn something

https://www.marginalia.nu/log/a_135_learn/
11•tylerdane•1h ago•3 comments

Espionage Against the European Parliament

https://citizenlab.ca/research/member-of-committee-investigating-spyware-hacked-with-pegasus/
313•ledoge•8h ago•72 comments

Costco is the anti-Amazon

https://phenomenalworld.org/analysis/the-anti-amazon/
356•bookofjoe•14h ago•342 comments

Factories are just rooms

https://interconnected.org/home/2026/07/03/factories
217•arbesman•14h ago•84 comments

Infracost (YC W21) Is Hiring a Marketing Lead to Shift FinOps Left

https://www.ycombinator.com/companies/infracost/jobs/YTJcFwr-marketing-lead
1•akh•8h ago

International chess federation sanctions Kramnik

https://www.fide.com/fide-ethics-disciplinary-commission-issues-a-decision-in-case-involving-gm-v...
142•DarkContinent•12h ago•78 comments

Reverse-engineering Codemasters' BIGF archive format in Ruby

https://davidslv.uk/2026/06/30/reading-binary-in-ruby.html
4•davidslv•3d ago•3 comments

Hunting a 16-year-old SQLite WAL bug with TLA+

https://ubuntu.com/blog/hunting-a-16-year-old-sqlite-bug-with-tla-is-dqlite-affected
189•peterparker204•3d ago•20 comments

Software, from First Principles

https://fazamhd.com/mental-models/software/
74•faza•7h ago•13 comments

Dispersion loss counteracts embedding condensation in small language models

https://chenliu-1996.github.io/projects/LM-Dispersion/
28•E-Reverance•6h ago•7 comments

GitFut – Your GitHub stats turned into a World-Cup-style player card

https://gitfut.com
39•redbell•6h ago•21 comments

Wordgard: In-browser rich-text editor from the creator of ProseMirror

https://wordgard.net/
285•indy•20h ago•93 comments