News for hackers. Stuff that matters.
Re:YC's request for startups: Government 2.0 by breck on Thursday May 23, 2019 @01:39PM (#19993960)
I have tinkered with a human readable, mathematically minimal, strongly typed language for writing laws/governments/constitutions.

I am highly confident it will work--the code and tech are there I'm just waiting for a strong project leader with good domain knowledge to lead it.

Shoot me an email if interested.

Re:YC's request for startups: Government 2.0 by nosuchuser2 on Thursday May 23, 2019 @02:02PM (#19994217)
How do you handle the fact that much law is intentionally ambiguous?
Re:YC's request for startups: Government 2.0 by breck on Thursday May 23, 2019 @02:15PM (#19994359)
You want to reduce ambiguity as much as possible, but not eliminate it entirely. Still want judges!
Re:YC's request for startups: Government 2.0 by umanwizard on Thursday May 23, 2019 @05:26PM (#19996142)
This is the typical programmer misunderstanding of law.

In countries whose legal system is based on that of England (including most of the US), ambiguity is a design goal of statutes, not something meant to be eliminated. Statutes are supposed to be specified in broad strokes and then have the details hashed out by intelligent judges to work in particular circumstances that the legislators didn't envision.

And "the law" is not just statutes. Statutes are one small part of the law. Most of the law is the tradition of judicial interpretation of those statutes.

Re:YC's request for startups: Government 2.0 by breck on Thursday May 23, 2019 @06:31PM (#19996669)
> not something meant to be eliminated

I said exactly the opposite: "not eliminate it"

> Most of the law is the tradition of judicial interpretation of those statutes.

This is a very good point. You could simply have judges write decisions in a decision language as well, which is defined just as the law language is defined.

Re:YC's request for startups: Government 2.0 by umanwizard on Thursday May 23, 2019 @06:48PM (#19996798)
> You could simply have judges write decisions in a decision language as well, which is defined just as the law language is defined.

But how could you write the laws in the first place? You can't write them in a language designed to be unambiguous, because they are meant to be imprecise.

Re:YC's request for startups: Government 2.0 by breck on Thursday May 23, 2019 @07:49PM (#19997154)
See basic example code: https://github.com/breck7/jefferson

There will be some ambiguity introduced via the English language (not a problem since you'd still have judges), but the whole thing can be defined, from concepts like true/false all the way to very complicated concepts, in the same universal syntax/language.

Re:YC's request for startups: Government 2.0 by empath75 on Thursday May 23, 2019 @08:26PM (#19997368)
and then you end up with grotesque injustices like mandatory minimum sentences.
Re:YC's request for startups: Government 2.0 by breck on Thursday May 23, 2019 @08:58PM (#19997522)
Huh?

You could define mins and maxes into the language, or even clearly and unambiguously leave everything up to the judge.

My proposal does not change the laws at all--what people create is up to them. All I propose is a language where the language itself cannot be used by the special interests against the better interests of the people. My language leaves corruption with no place to hide.

Re:YC's request for startups: Government 2.0 by umanwizard on Thursday May 23, 2019 @06:31PM (#19996671)
Okay fine, let me rephrase. It is not something meant to be reduced.
Re:YC's request for startups: Government 2.0 by breck on Thursday May 23, 2019 @07:47PM (#19997144)
Thanks for the rephrasing.

I should rephrase as well. The language I am proposing offers much stronger control over ambiguity.

Take the 8th amendment: "Excessive bail shall not be required, nor excessive fines imposed, nor cruel and unusual punishments inflicted."

What is an "excessive fine" mean? In the language I am proposing it could be defined as is, or in something like:

... cellType dollarAmount number cellType fine dollarAmount cellType adjustedGrossIncome dollarAmount cellType universalExcessiveFineThreshold description As a percentage of adjustedGrossIncome constant .1 nodeType isExcessiveFine cells adjustedGrossIncome fine trueIf fine / adjustedGrossIncome > universalExcessiveFineThreshold ...

So you have more control over ambiguity.

Re:YC's request for startups: Government 2.0 by umanwizard on Friday May 24, 2019 @12:37AM (#19998519)
But that’s not ambiguity at all — “giving judges leeway according to parameters defined in advance by legislators” is not the same thing as “statutes being ambiguous”.
Re:YC's request for startups: Government 2.0 by _1tan on Thursday May 23, 2019 @01:46PM (#19994042)
I have none of the above and would be interested nevertheless!
Re:YC's request for startups: Government 2.0 by edmundhuber on Thursday May 23, 2019 @01:42PM (#19994007)
I'd love to know more.
Re:YC's request for startups: Government 2.0 by breck on Thursday May 23, 2019 @02:14PM (#19994352)
Okay I just posted some code: https://github.com/breck7/jefferson

I have a toddler in my arms and have to head to work soon but will answer questions/emails as they come.