Discussion
Search code, repositories, users, issues, pull requests...
brodouevencode: hot take: this is how legislation should workopen comments, accepting pull requests, use AI tooling to weed out the ragebait and trolling for things that might actually be useful
dataflow: [delayed]
cap11235: Dupe: https://news.ycombinator.com/item?id=47621591
mrweasel: A few years ago I was thinking about how one might do the same for Danish laws, but those are written by idiots (lawyers).Rather than revising a law, a new one seems to be written using text like: The word "is" replaces the word "was" in line 5 and 6 in "Law on X,Y,Z, paragraf 8, section 5". Or "section 9 in Law on Q,V,W is removed, in favour of the following text".Why the hell you not just rewrite the old law and bump the revision? After just two revision it's basically impossible to read the actual law. I think that's on purpose.
cvoss: > Not all titles are positive law — some titles are "evidence of law" rather than the legal text itself (see 1 USC § 204)The vocabulary of this sentence is inconsistent with section 204 [0]. It is the positively enacted titles which are "legal evidence of the laws". The other titles merely "establish prima facie" what the law is, subordinate to a closer examination of the bills actually passed, which control. In other words, "evidence of law" is the stronger of the two, not the weaker, as the readme suggests.[0] https://www.law.cornell.edu/uscode/text/1/204
bnchrch: There's an interesting side effect to the current state of the non-technical world.We have some new tools that increase productivity, and these same tools both lower the barrier to entry to understanding software concepts and building software.I think the result is more people who would've been traditionally considered non-technical are going to be onboarding to concepts that wouldve been traditionally ring fenced in the developer world.Granular version control and diffs being one of them.If this trend is real, and relatively large, I think it will be a good thing.
newpavlov: Isn't just lawmakers' variant of diff? :) You just can't conveniently apply it automatically to compile the resulting text.>Why the hell you not just rewrite the old law and bump the revision?Because it's consumed by lawyers and judges who have to be up-to-date with all changes and its easier for them to remember "section 123 was amended in 2026", than to recall a whole new revision and mentally compute the difference.
atonse: Yeah in the legal world they’ve had the concept of “track changes” forever but there simply isn’t something like branching and merging.Like branching a document for a particular negotiation. Or branch it when adapting it to a new jurisdiction’s laws, etc.It would benefit so much from that workflow or mindset.
AlexErrant: In the 14 hours since that flagged post, the OP has changed _nothing_ in that repo to address the feedback people gave him, and instead decided to just resubmit his proj to HN.
mrweasel: > Isn't it just a lawmakers' version of diff?It probably is, and they are just stuck in the past not wanting to adopt new tools. You have people in tech reading chancelogs, or follow something like the openbsd-cvs mailing list. It feels like it would be easier if you did have have to look up a law, the search for amendments, which may or may not exist.