r/dataengineering • u/SnooPeripherals5313 • Oct 30 '26
Discussion Putting all world law on git
I am putting all world law into git. That comes with some quirks, like the cut-off being 1970 (commits are calculated as seconds since 1 January 1970).
This hit #1 on HN yesterday (you can read lots of discussion at https://news.ycombinator.com/item?id=50268380). Why would I want to do this? The idea is make all law semantic, versioned, easily attributable and query able by agents. I also believe this information should be freely available so CC0 license (do whatever you want with it). If interested, repo linked below, I'd welcome all comments and advice. Thanks!
27
u/nl_dhh You are using pip version N; however version N+1 is available Oct 30 '26
I don't know if this is brilliant or insane. Then again, those aren't mutually exclusive.
Very interesting!
7
u/imthef-nlizardking Oct 30 '26
This is awesome! I see so many uses for it. How do you plan to keep it updated?
10
u/Greedy_Ad8932 Oct 30 '26
Amazing initiative. I have a question regarding the infrastructure: Global law is massive. Even in text format, tracking thousands of changes across 190+ countries over decades will eventually push the limits of GitHub repository sizes and commit performance.
How are you planning to address GitHub's storage constraints and the performance bottlenecks of managing so many heavy submodules in the long run?
5
u/generic-d-engineer Tech Lead 28d ago
I read about this EXACT idea many years ago. I think itβs freakin brilliant.
Once you get that down, consider another idea, at least for the US:
2
u/Chandlarr Oct 30 '26
Nice, very good idea
2
u/CesparRes 29d ago
Why would you set the commit date to 1970?
Like I get going forward the commit dates probably will match with the law change dates, but why not simply keep track of the date of the law change and use that as another field somewhere?
Maybe I just need more coffee to understand π
1
u/smoore65 Oct 30 '26
super cool idea
1
u/fuck_this_i_got_shit 29d ago
I think this is very cool!
1
u/sal-si-puedes 28d ago
How are you handling countries like the US with common law? Are you citing cases?
0
u/ewoolly271 29d ago
Why is there American Samoa but no Wisconsin?