Oracle v Google judge drops a bombshell: He's a programmer and won't be fooled by technical bullshit
85 replies, posted
[url]http://www.decryptedtech.com/index.php?option=com_k2&view=item&id=758:bad-news-for-oracle-as-the-judge-in-the-case-is-also-a-developer&Itemid=138[/url]
[quote=DecryptedTech]Ok, we love the Judge in the Google V Oracle trail. This is a judge that has not drunk any of the Kool-Aid that either Google or Oracle has offered him. He has kept things pretty straight and even cautioned both sides on making what appear to be foolish decisions. If you remember Oracle is claiming that Google copied nine lines of code that were used to develop Android. They are claiming that Google benefited from this and also that they did this intentionally due to deadlines.
Well you might also remember that in this case Judge William Alsup cautioned Oracle against asking for Infringer’s Profits in this case. In fact if we remember correctly he called the request “bordering on the ridiculous”. Well we are finding out exactly why he was able to come up with that in the first palce.
You see Judge Alsup has turned out to be very technically savvy. It seems that he is also a programmer and has “a significant amount of programming in other languages” (besides Java). He understands that the nine lines of code that Oracle want to claim are so significant are not. They are, as he put it, something that almost anyone could write in almost the same amount of time it took to copy and paste them.
He sums it up quite nicely in his retort to lead Counsel David Boies;
[quote=Judge William Alsup]I couldn’t have told you the first thing about Java before this problem. I have done, and still do, a significant amount of programming in other languages. I’ve written blocks of code like rangeCheck a hundred times before. I could do it, you could do it. [b]The idea that someone would copy that when they could do it themselves just as fast, it was an accident. There’s no way you could say that was speeding them along to the marketplace. You’re one of the best lawyers in America, how could you even make that kind of argument?[/b][/quote]
This will seriously put a dent into Oracle’s arguments moving forward and also brings us hope in the upcoming decision that Judge Alsup is going to make on the ability to copyright an API in the first place. As always we will be keeping our eye on this one, but in the meantime we are going to see if we can send Judge Alsup something nice like a fruit basket… If only there were more judges in the legal system that were technically savvy many of the current cases would not even get onto the docket. [/quote]
Basically what's happened is Oracle's suing Google claiming they stole 9 lines of code, and they were trying to make the case that those 9 lines of code were a huge deal if you're a programmer. The Judge said I am a programmer and no they aren't, fuck off
That's a badass judge.
Awesome. Shut Oracle right up.
Judges should, in theory, be versed in what they're making a decision over
they duplicate the entire language and oracle can only get them for 9 lines of rangeCheck?
damn, google has a sweet legal team or something
That's fucking badass.
Too bad it wouldn't probably work as good with rapist judges and thief judges.
[QUOTE=Awesomecaek;35991618]That's fucking badass.
Too bad it wouldn't probably work as good with rapist judges and thief judges.[/QUOTE]
Why not? It's not like they would have to actually be a rapist or whatever.
[QUOTE=Catdaemon;35991616]they duplicate the entire language and oracle can only get them for 9 lines of rangeCheck?
damn, google has a sweet legal team or something[/QUOTE]
Or they just have a bunch of engineers who's great at [I]clean room reverse engineering[/I].
Here's the code:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp]
[QUOTE=calzoneman;35991657]Here's the code:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp][/QUOTE]
My God this is fucking absurd, even I'm dumb as fuck when it comes to programming but even I could have written this.
Okay maybe I couldn't but as the judge said, anyone with a good knowledge could.
What, even I could write that...
[QUOTE=calzoneman;35991657]Here's the code:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp][/QUOTE]
hey, you put a board across that ditch to get over it? too bad, board was our idea, there's no way you came up with that on your own.
In case anyone is curious about these 9 lines of code:
[code]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/code]
Terrible ain't it? Google should not be allowed to get away with stealing this highly complicated and difficult to write code.
edit:
Ninja'd
[QUOTE=Fingers!!!;35991674]My God this is fucking absurd, even I'm dumb as fuck when it comes to programming but even I could have written this.[/QUOTE]
That was the judge's point. Given the desired behavior, nearly every programmer will write this code block exactly the same, save for perhaps different naming or formatting conventions, which is irrelevant to the code itself.
the fact that it's just 9 lines of code should alone ring bells with anyone. I've yet to see something really groundbreaking and "significant" being written in 9 lines of code.
holy shit, that bit of code you'll see in FAR more then just this, hell, everyone will use that bit of code eventually, it just checks to see if a starting index is higher then the ending index
[QUOTE=calzoneman;35991657]Here's the code:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp][/QUOTE]
Look at those semicolons! Copied right out of our code!
[QUOTE=calzoneman;35991657]Here's the code:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp][/QUOTE]
That last curly brackets indentation is bothering me.
[QUOTE=inconspicious;35991808]That last curly brackets indentation is bothering me.[/QUOTE]
That's Oracle for you.
[QUOTE=calzoneman;35991657]Here's the code:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp][/QUOTE]
This is the funniest thing I've seen in a while. Oracle suing Google over that? :v:
Let's all copy and paste that bit every time we need to have that bit of code on a program
[QUOTE=calzoneman;35991657]Here's the code:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp][/QUOTE]
Oh dear, the curly bracket indentation is ACTUALLY distracting me!
[QUOTE=Sir Whoopsalot;35991895]Oh dear, the curly bracket indentation is ACTUALLY distracting me![/QUOTE]
That shit just would not stand in any code of mine.
Does nobody else move the opening curly brace under the method?
Like so:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex)
{
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp]
I wonder how hilariously deflated the lawyer representing Oracle was when the judge made that comment :v:
[QUOTE=CaptainQuirk;35991990]Does nobody else move the opening curly brace under the method?
Like so:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex)
{
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp][/QUOTE]
It looks tidier that way, but I have a habit of doing it the other way.
If it was like a good amount of the OS with code stolen from Oracle I could see where they're coming from but like 14 lines of code and they're suing google
what
[QUOTE=fruxodaily;35992229]If it was like a good amount of the OS with code stolen from Oracle I could see where they're coming from but like 14 lines of code and they're suing google[/QUOTE]
it's pretty much 6 lines of logical code; 9 if you want to include the { } and function name.
[QUOTE=calzoneman;35991657]Here's the code:
[cpp]
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex < 0)
throw new ArrayIndexOutOfBoundsException(fromIndex);
if (toIndex > arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
[/cpp][/QUOTE]
How a computer illiterate judge might view this evidence:
Illegal Argument? Why is there an exception to this? Someone has broken the law...
Well, I do believe Oracle's case just completely fell apart.
Sorry, you need to Log In to post a reply to this thread.