frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: LawVM, a compiler for replaying amendment acts into point-in-time law

https://lawvm.org/
1•ekns•1h ago
I built LawVM to demonstrate that human-written amendment acts can be compiled into auditable point-in-time legal text-state without rewriting law as code.

In a country like Finland, what the law says is a function of applying all the amendment acts over a hundred+ years of history and the consolidated "current law" doesn't have any legal force. One can just do this manually and consolidate to the current state, but it's unreliable. Same reason that logarithm books were hard to compile without errors. So it's extremely difficult to know what the law SAYS with certainty. Forget semantics, even what the second part of first section of Foo Law says. This is what LawVM solves. No LLMs or AI involved (except for corrigendum matching in the Finland pipeline - literally an AI-hard problem to read visually from PDFs - can substitute in humans too for this task though)

For other jurisdictions, the shape of the problem is different, LawVM may only verify consistency. Or be used to help determine bitemporal point-in-time queries with exactness. What did XYZ law say at ABC time?

LawVM functions kind of like LLVM - there are different frontends for different jurisdictions, and all use the same core and IR. While UK, Estonia, Sweden and Norway frontends also exist in various states, the most advanced frontend is Finland. It replays Finnish amendment acts from the official Finlex Statute Collection, compares against the ~unofficial/without-legal-force provided-as-is Finlex consolidated text, and classifies divergences. So far I've reported 22 high-confidence candidate findings to Finlex and LawVM surfaces hundreds more. It turns out that absent discipline that a system like what LawVM requires, everything drifts. Sometimes the XML is inconsistent with the published PDF version of the law and many other such disagreements. Law SHOULD be knowable, always. And yet it's not, at least not always.

The project is v0.1: useful as a construction proof and audit substrate, not legal advice or an official consolidation.

It is quite an ordeal to parse natural language, but it is possible. Even a difficult-to-compile language is still possible to compile. Helps that legal text is quite regular compared to freeform natural language.

With something like this, it becomes possible to approximate certainty in "what the law actually says" (or consistency, in case of Estonia and others where the consolidated law HAS legal force directly).

I'm hoping gets adopted by legal publishers, public institutions, researchers, or civic infrastructure groups. Version control became normal for software; legal text-state needs comparable level of discipline.

EFF Challenges Secrecy in Eastern District of Texas Patent Case

https://www.eff.org/deeplinks/2026/04/eff-challenges-secrecy-eastern-district-texas-patent-case
2•Brajeshwar•14m ago•0 comments

Pi in the Sky (2016)

http://www.piinthesky.co/
1•radeeyate•14m ago•0 comments

Simulating and Evaluating Agentic Systems

https://www.gojiberries.io/simulating-and-evaluating-agentic-systems/
1•neehao•16m ago•0 comments

I Went to Jail

https://lincolnquirk.substack.com/p/i-went-to-jail
2•Cider9986•17m ago•0 comments

Why would ChatGPT "confess" to a crime it didn't commit?

https://radleybalko.substack.com/p/why-would-chatgpt-confess-to-a-crime
1•xKingfisher•18m ago•0 comments

Just How Much Should You Worry About Eating That Burnt Toast?

https://www.mcgill.ca/oss/article/medical-critical-thinking-health-and-nutrition/just-how-much-sh...
1•amichail•19m ago•0 comments

How Opus Came To Be (2019)

https://jmvalin.dreamwidth.org/16616.html
2•1317•19m ago•0 comments

"That's how floating point errors and triangle numbers solved a mystery."

https://unsung.aresluna.org/thats-how-floating-point-errors-and-triangle-numbers-solved-a-mystery/
1•rbanffy•23m ago•0 comments

Mise-En-Place

https://mise.jdx.dev/
2•dotmanish•25m ago•0 comments

The Death of Monochrome

https://monochrome.tf/
1•SockThief•25m ago•0 comments

PSA: If you're running iSponsorblockTV you'll need to pair your devices again

https://www.reddit.com/r/selfhosted/s/Au5rKG8VbB
1•dmunozv04•27m ago•2 comments

Claude Is Guilt-Ridden About the War, but Not Enough to Tell the Truth

https://newrepublic.com/article/209404/claude-ai-iran-war-guilt-truth
1•mortar•28m ago•1 comments

New NTFS-3G release after 4 years

https://github.com/tuxera/ntfs-3g/releases/tag/2026.2.25
2•haunter•29m ago•0 comments

Space Force awards up to $3.2B for Golden Dome interceptor prototypes

https://spacenews.com/space-force-awards-up-to-3-2-billion-for-golden-dome-interceptor-prototypes/
1•rbanffy•34m ago•0 comments

Colorado Adds Open-Source Exemption to Age-Verification Bill

https://fosstodon.org/@carlrichell/116460505717380644
3•terminalbraid•36m ago•0 comments

How to Say No (2023)

https://psyche.co/guides/how-to-stop-people-pleasing-by-learning-to-say-no
1•herbertl•36m ago•0 comments

Trump fires all 24 members of the U.S. National Science Foundation

https://www.science.org/content/article/trump-fires-nsf-s-oversight-board
91•skullone•37m ago•19 comments

Show HN: A privacy first companion AI

https://www.friendai.pro
1•krunkworx•40m ago•0 comments

George Washington as entrepreneur (2021)

https://lawliberty.org/george-washington-as-entrepreneur/
2•hhs•44m ago•0 comments

Show HN: LLM-wiki – One command Karpathy's wiki with QMD search for Claude/Codex

https://github.com/ivankuznetsov/llm-wiki
2•ivankuznetsov11•48m ago•1 comments

Objects of Categories as Complex Numbers (2002)

https://arxiv.org/abs/math/0212377
2•pizza•48m ago•0 comments

How I leared what a decoupling capacitor is for, the hard way

https://nbelakovski.substack.com/p/how-i-learned-what-a-decoupling-capacitor
4•actinium226•49m ago•0 comments

Got Bugs? U of G Collecting Samples to Catalogue Canada's Biodiversity

https://news.uoguelph.ca/2026/04/got-bugs-u-of-g-collecting-samples-to-catalogue-canadas-biodiver...
2•gnabgib•52m ago•0 comments

The Self-Defeating Condescension of an Anti-Racist Education

https://www.theatlantic.com/ideas/2026/04/anti-racism-schools-achievement-gap/686912/
3•apparent•55m ago•3 comments

Bitwarden CLI Backdoored on NPM for 93 Minutes

https://hackingpassion.com/bitwarden-cli-supply-chain-attack/
2•milkglass•57m ago•1 comments

Hair Dryer Used to Manipulate Polymarket

https://www.engadget.com/big-tech/someone-allegedly-used-a-hairdryer-to-rig-polymarket-weather-be...
2•simpleintheory•57m ago•1 comments

The Eurail Breach and the Digital ID Problem

https://reclaimthenet.org/the-eurail-breach-and-the-digital-id-problem
2•Cider9986•57m ago•0 comments

Astronomy and Mathematics in the Indian Classical Age

https://zenodo.org/records/15715590
1•suyashdeep•58m ago•1 comments

opinion: Professors Are Too Old

https://www.chronicle.com/article/professors-are-too-old
2•paulpauper•58m ago•1 comments

How Short-Form Clips Took over the Internet

https://www.theatlantic.com/podcasts/2026/04/how-short-form-clips-took-over-the-internet/686922/
2•paulpauper•59m ago•1 comments