News for hackers. Stuff that matters.
Re:The entire US Code is now online in XML by calpaterson on Wednesday July 31, 2013 @02:07PM (#6135678)
For those of us who don't know anything about it, what are the uses of machine readable law?
Re:The entire US Code is now online in XML by generj on Wednesday July 31, 2013 @02:13PM (#6135722)
Just from a Natural Language perspective, this is amazing. By using the code as as a corpus, we can see how differently legal language differs from day-to-day parlance. Such an analysis might be fascinating, especially if we compare to word frequency in Google Ngram's historical index. I suspect legal language trails several decades behind modern lingo.

Semi-intelligent queries can be executed, such that ignorance of the law might be abated. Imagine saying "Siri, is it illegal to do X?" and Siri answering you. This is important, because of the "Three Felonies a Day" syndrome with unwitting violations of the law. http://www.amazon.com/Three-Felonies-Day-Target-Innocent/dp/...

Re:The entire US Code is now online in XML by rlvesco7 on Wednesday July 31, 2013 @02:31PM (#6135872)
There is a company that is doing something somewhat related and equally cool. They use NLP to identify who may have written particular portions of bills. http://www.legcyte.com/
Re:The entire US Code is now online in XML by bjr- on Wednesday July 31, 2013 @02:25PM (#6135822)
The law can be interpreted as a set of rules matched against an action in a particular context to determine whether said action is legal.

Right now lots of people do this manually.

Maybe computers can do it better.

If computers can do it better, maybe people could focus on writing new laws and refactoring old ones instead of repeatedly interpreting old laws for each case.

Re:The entire US Code is now online in XML by BenoitEssiambre on Wednesday July 31, 2013 @04:13PM (#6136531)
Yup, legal code isn't that different from computer code where a judge is the interpreter and evidence is fed as input.

If we could invent a computer interpreter that acts as a judge, laws and contracts being its code might make it obvious to lawyers why it doesn't make sense to allow code to be patented.

Every time lawyers would write laws or contracts they would have to avoid using legal ideas that have already been patented subjecting them to the same legal difficulties software developers face every time they write code.

I guess I should patent that invention.

Re:The entire US Code is now online in XML by rhizome on Wednesday July 31, 2013 @08:02PM (#6137706)
You could also add in EDGAR data that touches the laws to make estimates on the way the judiciary would interpet a certain action. It could also be used to find loopholes, conviction-free zones near boundaries in the law that could be closed.
Re:The entire US Code is now online in XML by jacques_chester on Wednesday July 31, 2013 @09:24PM (#6138033)
> I guess I should patent that invention.

Your comment above would potentially count as disclosure. I and probably others have previously used the black-box analogy too.

Re:The entire US Code is now online in XML by vdaniuk on Wednesday July 31, 2013 @07:12PM (#6137450)
Hey, that is one quite interesting idea about law and code. Thanks!
Re:The entire US Code is now online in XML by rottyguy on Wednesday July 31, 2013 @02:42PM (#6135951)
RobotWars for Lawyers invariably leading to digitizing the whole judicial process.