News for hackers. Stuff that matters.
Re:Jury rules Google violated copyright law, Google moves fo... by rgoddard on Monday May 07, 2012 @02:58PM (#3940435)
If (API Copyrightable) = False THEN Google Not Guilty

If (Google Violated Copyright) = False THEN Google Not Guilty

If Google has Fair Use THEN Google Not Guilty

Google Guilty

The judge needs to rule on the first statement, the jury came back on the second statement, but the jury could not decide on the third statement.

(Edit: Wording)

Re:Jury rules Google violated copyright law, Google moves fo... by georgemcbay on Monday May 07, 2012 @03:08PM (#3940479)
GoogleGuilty = APICopyrightable && GoogleViolatedCopyright && !GoogleHasFairUse

optimized (and corrected, because in your flow Google is always guilty since everything drops through to that anyway).

Re:Jury rules Google violated copyright law, Google moves fo... by ricree on Monday May 07, 2012 @03:35PM (#3940591)
Strictly speaking, wouldn't it be GoogleGuilty = GoogleViolatedCopyright && !GoogleHasFairUse && ApiCopyrightable

In the sense that false short-circuits anything to the right, and ApiCopyrightable is only a factor if Google is held to have violated copyright under the assumption that Apis can be copyrighted.

Re:Jury rules Google violated copyright law, Google moves fo... by scarmig on Monday May 07, 2012 @03:52PM (#3940662)
Hmm, are those values synchronous, though? Maybe an event-based architecture is a better model, though I don't really understand how the law works.
Re:Jury rules Google violated copyright law, Google moves fo... by libria on Monday May 07, 2012 @03:46PM (#3940629)
Oddly, I find your one-liner more readable than the parent's. Probably because I don't know when to follow the English grammar or the pseudocode grammar.
Re:Jury rules Google violated copyright law, Google moves fo... by freehunter on Monday May 07, 2012 @03:13PM (#3940504)
Not if Google Not Guilty is equal to an exit statement :)
Re:Jury rules Google violated copyright law, Google moves fo... by vibrunazo on Monday May 07, 2012 @07:04PM (#3941357)
I wish someone would always translate groklaw's cryptic articles to something understandable like that. :-)
Re:Jury rules Google violated copyright law, Google moves fo... by MatthewPhillips on Monday May 07, 2012 @04:21PM (#3940792)
Missing semicolons.
Re:Jury rules Google violated copyright law, Google moves fo... by georgemcbay on Monday May 07, 2012 @04:29PM (#3940833)
It is written in Go.

:)

Re:Jury rules Google violated copyright law, Google moves fo... by libria on Monday May 07, 2012 @05:37PM (#3941080)
Then you're missing a colon

    GoogleGuilty := ...
Re:Jury rules Google violated copyright law, Google moves fo... by georgemcbay on Monday May 07, 2012 @05:52PM (#3941133)
Yeah, true, but only if GoogleGuilty's type was previously undefined (but this is getting way off topic).
Re:Jury rules Google violated copyright law, Google moves fo... by pyrotechnick on Monday May 07, 2012 @04:26PM (#3940821)
Ported to CoffeeScript:

GoogleGuilty = APICopyrightable and GoogleViolatedCopyright and not GoogleHasFairUse

Re:Jury rules Google violated copyright law, Google moves fo... by stcredzero on Monday May 07, 2012 @05:04PM (#3940970)
That is very nicely readable!
Re:Jury rules Google violated copyright law, Google moves fo... by georgemcbay on Monday May 07, 2012 @05:19PM (#3941013)
The CoffeeScript syntax is nicely readable, but IMO the C-like syntax is far more easily 'scannable'.

Quickly scanning over the C-like syntax I can more easily notice the ! and the && than I can make out the 'not' and the 'and' while scanning the more natural-language-like CoffeeScript because of the clear separation between ! and && and the alphanumerics commonly used in variable names. IMO the 'and' and 'not' keywords kind of get lost in the noise of all the other characters.

YMMV here. I've been programming in C-like languages for quite a long time so maybe that's rewired my brain in a way that doesn't hold for people who don't program in C-like languages.

Re:Jury rules Google violated copyright law, Google moves fo... by Peaker on Monday May 07, 2012 @06:09PM (#3941188)
Typically syntax highlighting will color the "and" and "not" differently so they stick out too.
Re:Jury rules Google violated copyright law, Google moves fo... by rayiner on Monday May 07, 2012 @06:10PM (#3941189)
This is actually a very helpful analogy--I'm stealing it. :)

The law tends to be framed in conditions like this. That's why "the jury found X" isn't necessarily news--the real story could be in other parts of the conditional expression.