News for hackers. Stuff that matters.
Re:I put all 8,642 Spanish laws in Git – every reform is a c... by Bewelge on Saturday March 28, 2026 @09:11AM (#47554276)
Oooh Can you elaborate a bit how the gazette is publishing them? Like what format did you have to parse. And how many documents were there in total? I tried doing the same for German laws 1-2 years ago but LLMs weren't smart enough yet. And the costs would've been at least a couple of thousand €.

Ed: Nevermind, I missed the "BOE (Spain's official gazette) consolidated legislation API" part. Sending jealous greetings from Germany. We just have a bunch of PDFs in Germany. And the private entity that has been publishing them for decades even claims copyright on them!

Re:I put all 8,642 Spanish laws in Git – every reform is a c... by sivann on Saturday March 28, 2026 @11:03AM (#47555226)
Heh we have the exact same status in Greece. It’s sad the upstream is so sloppy.
Re:I put all 8,642 Spanish laws in Git – every reform is a c... by brcmthrowaway on Saturday March 28, 2026 @04:59PM (#47558066)
Do you mean DIN?
Re:I put all 8,642 Spanish laws in Git – every reform is a c... by Bewelge on Sunday March 29, 2026 @02:06AM (#47560776)
No I'm talking about the Bundesanzeiger (the publication where new laws are published) being privatized.
Re:I put all 8,642 Spanish laws in Git – every reform is a c... by Timwi on Wednesday April 01, 2026 @02:59AM (#47597760)
On a purely philosophical level, what does it even mean for a law to be “public” or “on the book” if access to it is restricted by something like copyright? This seems very backward to me.