News for hackers. Stuff that matters.
Re:Should lawyers learn to code? Arguments for and against by twothamendment on Wednesday August 07, 2019 @12:39PM (#20636351)
I wish our laws were in source control, even the bills that don't pass. I'd love to see who added the pork, who watered it down, etc.

With a 2,000 page bill, it would make it easier to keep up with the changes, even if you don't yet know what is in every page at the start.

Re:Should lawyers learn to code? Arguments for and against by petetnt on Wednesday August 07, 2019 @12:51PM (#20636464)
This article was pretty neat (How I Changed The Law With A GitHub pull request) https://arstechnica.com/tech-policy/2018/11/how-i-changed-th...
Re:Should lawyers learn to code? Arguments for and against by WorldMaker on Wednesday August 07, 2019 @01:51PM (#20637073)
Something I find interesting is that Robert's Rules of Order encapsulate a simple, early version of source control. Amendment processes are early pull requests, built to peer review diffs to the most recent previous document. If done properly, the minutes for a meeting should represent almost a full commit log, including discarded branches.

In College, I did spend some time wondering if a good Robert's Rules meeting running software might be a generally useful project, after being in a few society meetings where branches got long and twisty (amendment to an amendment to a proposal type things). Never did build anything more than a prototype though.

Re:Should lawyers learn to code? Arguments for and against by howard941 on Wednesday August 07, 2019 @02:40PM (#20637582)
Tangentially, when counseling clubs and other non-profits clients seem to reach for Robert's Rules. Robert's Rules is very well marketed but IMO are just awful, clubs tear themselves apart following them, and invariably one or two members expertly wields procedural R'sRs to the detriment of minority opinions and good neighborliness and the club founders.

Seek out Thomas Jefferson's Manual for those clubs you'd like to see thrive. It promotes fraternity. https://en.wikipedia.org/wiki/Jefferson%27s_Manual

Re:Should lawyers learn to code? Arguments for and against by Wowfunhappy on Wednesday August 07, 2019 @12:41PM (#20636367)
The amendments and such are generally public, right? Presumably someone could put that into Git.

It would be an interesting project. Particularly if you could also wrap up the git in an interface that's accessible to non-programmers.

Re:Should lawyers learn to code? Arguments for and against by CobrastanJorji on Wednesday August 07, 2019 @01:41PM (#20636974)
Is there a regularly updated copy of the U.S. Code available for download? Or a feed of individual passed bills? This seems tractable but I'm somewhat worried that the "free" version is bound volumes in the Library of Congress and the digital version belongs to some quasi-private agency out there that might sue me for attempting to republish the laws.
Re:Should lawyers learn to code? Arguments for and against by pnw_hazor on Wednesday August 07, 2019 @03:48PM (#20638178)
All US Federal statutes and agency rules are online. The amendment and rule making process is transparent.

As far as the US goes, the Federal Register is a good place to start to see things as they happen.

https://www.federalregister.gov/

Re:Should lawyers learn to code? Arguments for and against by torstenvl on Wednesday August 07, 2019 @01:02PM (#20636589)
On the executive agency side, it's not uncommon to produce a "redline" version that's kind of like a manual, carefully drafted "Track Changes" version of a document. I produced one for the U.S. Marine Corps for the Temporary Early Retirement Authority.
Re:Should lawyers learn to code? Arguments for and against by Udik on Wednesday August 07, 2019 @12:47PM (#20636426)
Laws (at least in Italy, probably in other countries with similar systems) are actually commits to a source control system- in the sense that they contain both new content and modifications to previous content (additions, changes and deletions).

What I think is missing is a concept of document: commits (laws) just accumulate on top of each other without producing named, organized documents (files, in proper source control systems) with clear responsibilities, that can be easily referred to from other documents, and of which the latest version is the only one that counts.

Re:Should lawyers learn to code? Arguments for and against by maxerickson on Wednesday August 07, 2019 @01:21PM (#20636800)
US jurisdictions mostly produce the organized documents you speak of. For instance, the codified laws here:

https://www.loc.gov/law/help/statutes.php

Re:Should lawyers learn to code? Arguments for and against by Udik on Wednesday August 07, 2019 @02:35PM (#20637519)
This (from a quick reading, I might have misunderstood) seems to be a system for categorising laws, but not exactly what I was talking about: when you look for something, you're still referring to individual laws, by law number or popular name.

Instead, when you want to read a computer program, you don't look at individual commits to the code base, you look at its files. Commits are more or less irrelevant, what counts is the most recent version of a set of documents, and each commit might create, modify or delete more than one document.

It seems only a change in perspective, the end result is the same; but reasoning in terms of documents with well-organised names and responsibilities, describing processes and data and designed for reusability, is much easier and more compact.

Re:Should lawyers learn to code? Arguments for and against by maxerickson on Wednesday August 07, 2019 @11:43PM (#20641653)
Here's a better link, to the text of the United States Code:

https://uscode.house.gov/

It's still full of references to bills and such, but it is the consolidated text of the law.

Re:Should lawyers learn to code? Arguments for and against by james_in_the_uk on Wednesday August 07, 2019 @05:36PM (#20639388)
This is one aspect of how LexisNexis and Westlaw make their money. Copies of legal instruments in their up-to-date 'as amended' form are often behind a paywall.
Re:Should lawyers learn to code? Arguments for and against by rayiner on Wednesday August 07, 2019 @01:20PM (#20636789)
Same in the US. Most bills are structured as diffs to the United States Code.
Re:Should lawyers learn to code? Arguments for and against by gowld on Wednesday August 07, 2019 @01:04PM (#20636619)
https://www.google.com/search?q=git+for+laws

has lots of intersting proposals and attempts