Live data from Hacker News

Spanish legislation as a Git repo

github.com

21–30 of 246 posts

Re: Spanish legislation as a Git repo

#22
This is amazing. I have a couple of suggestions: - Maybe breaking the "Spain" folder into subfolders? Not sure what categories could be used, but browsing would be easier. - There's a missed opportunity in having different authors for the commits (maybe the "legislatura" number), and possibly, tags/labels including the political parties that voted in favor of each.

I'll take a look at data to enrich it :).

Re: Spanish legislation as a Git repo

#25
post #13

This is great. Compare it to British legislation which is frankly a mess of patches. Example picked fairly much at random, this law was originally passed in 1990 and has been "patched" regularly: https://www.legislation.gov.uk/ukpga/1990/18/section/9 Laws being passed are these ludicrous sets of patches: https://www.legislation.gov.uk/ukpga/2015/9/part/1

I think such "ludicrous sets of patches" are very common in many jurisdictions. (At least in Germany they are.) I agree, though, git patches would be a lot nicer.

Re: Spanish legislation as a Git repo

#26
post #4

This is brilliant. I wish this were available for all legislations. There's so many inefficiencies that are trivially solved with existing tech frameworks.

> so many inefficiencies that are trivially solved with existing tech frameworks.

Out of curiosity, like what specifically?

Didn’t DOGE’s failure highlight that it actually wasn’t trivial? I’m skeptical at first glance but open to being proven wrong.

Re: Spanish legislation as a Git repo

#27
Nobody seems to have (yet) mentioned the most recent (rn) commit [1] dated 2099. I can't really figure out where the date came from, at the source noted in the commit I find no '2099', I can't see it being a joke, if it's a bug it's not obvious to me..

I'm sure I won't be the only one curious, please enlighten me.

[1]: https://github.com/EnriqueLop/legalize-es/commit/424cbc96507...>

Re: Spanish legislation as a Git repo

#28
I'm surprised the world is not running a system where laws are formally encoded using some DSL that would allow making decision (guilty/not guilty) using formal logic. Perhaps there is not much interest from law making/enforcing parties for this either.

Re: Spanish legislation as a Git repo

#29
post #4

This is brilliant. I wish this were available for all legislations. There's so many inefficiencies that are trivially solved with existing tech frameworks.

Everyone in government knows what Track Changes is. The standard format of a piece of legislation in British-influenced systems is a diff. The tech field does not have secret knowledge that the rest of humanity lacks.

Re: Spanish legislation as a Git repo

#30
post #4

This is brilliant. I wish this were available for all legislations. There's so many inefficiencies that are trivially solved with existing tech frameworks.

> There's so many inefficiencies that are trivially solved with existing tech frameworks. There really, really are. The legal industry is well aware of that fact - and how many billable hours they stand to lose by making their work more efficient and understandable. You know how tax prep companies spent over $90m 'lobbying' Congress to ensure that filing your taxes remains difficult and complicated [0]? Well, lawyers…

unfortunately, laws are not everything. you need to know how to get around them. our country for example has the habit of creating a lex fugitiva that means that some regulations could be changed in other not related laws. good luck finding the correct regulation without a law degree
Post reply on HN