Live data from Hacker News

Spanish legislation as a Git repo

github.com

121–130 of 246 posts

Re: Spanish legislation as a Git repo

#122
post #56

Earlier quoted context omitted.

It was assisted suicide. Meaning the government helps you to commit suicide.

It's called euthanasia. You can ask the medical system for an assisted suicide if your life situation is extra painful with no hope for recovery. This case got heaps of media popularity because the christian right wing latched on it, and the father tried as hard as he could to impede the euthanasia. Ultimately got told that the lady unequivocally wants it and qualifies, and he can't override that.

> Ultimately got told that the lady unequivocally wants it and qualifies, and he can't override that.

Not just once, but five times by different courts, finalized by the European Court of Human Rights!

> Her request had been approved on July 18, 2024, by the Catalonia Guarantee and Evaluation Commission. The commission found that she met all legal requirements, as she had a “nonrecoverable clinical situation,” causing “severe dependence, pain, and chronic, disabling suffering.”

> But in August of that same year, her father – advised by the ultraconservative religious group Christian Lawyers – began a legal fight to stop the process

> From then on, her father initiated a long legal process that delayed Noelia’s euthanasia for 20 months, going through five judicial levels: a Barcelona court, the High Court of Justice of Catalonia, the Supreme Court, the Constitutional Court, and the European Court of Human Rights.

Re: Spanish legislation as a Git repo

#123
post #120

Nice, I am going to this for Swedish law! Any suggestions on how one can model parliament voting when a law passes using GitHub? Or all the work that preceded a law, that’s like a feature request or a bug report.

Parliament voting, maybe upvotes and downvotes on a pull request?

Re: Spanish legislation as a Git repo

#124

Earlier quoted context omitted.

No by(e)-laws in Spain? Certainly a thing in the UK, Ireland and I believe US and Canada. Is that a common law thing?

"By-laws" is typically the name of the rules/"laws" inside of a company or organization, I'm not familiar with that word in the context of "nation-wide criminal/civil laws". Regardless, cities do not have their own "local laws" in the way your comment made it seem. We have national laws, and minor differences in various autonomous communities, since they have some legislative power to control their own industry, comm…

> "By-laws" is typically the name of the rules/"laws" inside of a company

I suspect that this should be qualified by "in the US"

Re: Spanish legislation as a Git repo

#125

Earlier quoted context omitted.

That's a common fantasy of developers who haven't touched grass in a while.

It's a rehashing of Leibniz's "Calculemus!". It's not a fully stupid idea, many rules can be automated and indeed have already been. The things that courts still have to decide manually are the leftovers that require more human judgment.

This pipe dream will soon be replaced by "let's have the first degree of judgment be ChatGPT; human judges should only deal with appeals".

Re: Spanish legislation as a Git repo

#126
post #41

Earlier quoted context omitted.

> how far back (in time) do those 27k commits go Looking at the commit dates (which seem to be derived from the original publication dates) the history seems quite sparse/incomplete(?) I mean, there have only been 26 commits since 2000.

It seems the commits aren't in proper date order. Here are some newer changes, placed before the latest commits: https://github.com/EnriqueLop/legalize-es/commits/master/?af...

It's related to commits actually having a parent-child structure (forming a graph) and timestamps (commit/author) being metadata. So commits 1->2->3->4 could be modified to have timestamps 1->3->2->4. I know GitHub prefers sorting with author over commit date, but don't know how topology is handled.

Re: Spanish legislation as a Git repo

#127

Not only would be cool for laws to have appropiate time stamps so we can "go back in time to how it was at a certain moment", but also if we could have proper git commit diffs of how laws change over time. See this: https://www.boe.es/buscar/act.php?id=BOE-A-2015-11430 You can see how certain articles have the option to check "how that particular article was at each moment in time". That would be way harder to track,…

it would also be cool to know the "why" that went into the change

Re: Spanish legislation as a Git repo

#129
post #72
post #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... >

Classic. He forgot to add "make no mistakes" to the prompt. Based on the commits alone Im not sure anyone really reviewed the correctness of the git history. When someone specifically mentions "built in ~4h with Claude Code" they probably didn't care that much about the outcome quality

It's a cool PoC even if implementation/result isn't perfect.

Re: Spanish legislation as a Git repo

#130

Earlier quoted context omitted.

"By-laws" is typically the name of the rules/"laws" inside of a company or organization, I'm not familiar with that word in the context of "nation-wide criminal/civil laws". Regardless, cities do not have their own "local laws" in the way your comment made it seem. We have national laws, and minor differences in various autonomous communities, since they have some legislative power to control their own industry, comm…

> "By-laws" is typically the name of the rules/"laws" inside of a company I suspect that this should be qualified by "in the US"

No, I was talking about Spain, I have no idea how it works in the US. I thought mentioning "autonomous communities" was enough context to make it evident, but maybe it wasn't.
Post reply on HN