Judge to Oracle: A High Schooler Could Write rangeCheck
mikejuk writes with an update on the Oracle vs Google Trial. From the article: "One month into the Oracle v Google trial, Judge William Alsup has revealed that he has, and still does, write code. Will this affect the outcome? I think so! After trying to establish that the nine lines in rangeCheck that were copied saved Google time in getting Android to market the lawyer making the case is interrupted by the judge which indicates he at least does understand how straightforward it would be to program rangeCheck from scratch: 'rangeCheck! All it does is make sure the numbers you're inputting are within a range, and gives them some sort of exceptional treatment. That witness, when he said a high school student could do it — ' And the lawyer reveals he doesn't: 'I'm not an expert on Java — this is my second case on Java, but I'm not an expert, and I probably couldn't program that in six months.' Perhaps every judge should be a coding judge — it must make the law seem a lot simpler..."
From yesterday; the Oracle lawyer was attempting to argue that Google profited by stealing rangeCheck since it allowed them to get to market faster than they would have had they wrote it from scratch. Groklaw, continuing its detailed coverage as always, has the motions filed today.
From yesterday; the Oracle lawyer was attempting to argue that Google profited by stealing rangeCheck since it allowed them to get to market faster than they would have had they wrote it from scratch.
Because 5 seconds make all the difference.
Obviously this competent, experienced jurist should have recused himself because of this conflict of interest.
Give me Classic Slashdot or give me death!
I think I'm beginning to understand why Oracle has chosen to sue, rather than innovate, they're idiots and lazy to boot! :)
For those interested: (from http://news.ycombinator.com/item?id=3940683)
From OpenJDK:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
From Google:
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex) {
if (fromIndex > toIndex)
throw new IllegalArgumentException("fromIndex(" + fromIndex +
") > toIndex(" + toIndex+")");
if (fromIndex arrayLen)
throw new ArrayIndexOutOfBoundsException(toIndex);
}
}
Here's a news flash for you: complete idiots can (and do) program. The ability to code is a piss poor measurement of intelligence.
Reading that summary made me feel like I was taking crazy pills. So many mixed tenses. Could someone clean that shit up for readability?
Fore chrissakes, anyone who has been writing any degree of code for more than a few years has implemented a range check function, and whatever the language C, C++, Java, C#, BASIC, 80x86 assembler, they all basically look the same. If this is truly what Oracle's case boils down to, then they literally have nothing, and this comes out looking no different than what SCO's claims against Linux ended up being. It's fucking ludicrous. To claim that somehow a nine line range check function gave Google some vast market edge to my mind breaks credibility. I'm guessing this is pointing pretty heavily towards Oracle being handed their balls on a platter over this.
The world's burning. Moped Jesus spotted on I50. Details at 11.
And you wrote that comment without once referring to PHP. Bravo!
Learning HOW to think is more important than learning WHAT to think.
Of course it's an exact 1:1 copy - the guy who wrote it gave it to both Sun AND Android. And if you've been following the trial, Sun never registered a copyright on that specific function.
Oracle is *SO* screwed.
Let's call it what it is, Anti-Social Media.
Ok, let's have a contest. Gather a bunch of high schoolers who have some idea how to program in Java, give them the spec for rangeCheck, and see how long it takes them to write it. The winner takes the prize equal to the damages Oracle is asking for. Bonus points if completed in less than 15 minutes.
No. Not even a little.
If the judge's statement is even a half-truth, the code in question checks a number, and passes it somewhere if it's a good number.
That is what all goddamn code does. A dumb American high schooler could accomplish that in about twenty minutes if you refused to let them leave until they did, because if you aren't doing that, you haven't written a program! A seven year old could probably do it faster; they haven't "learned" yet that they're dumb.
The lawyer is a disingenuous jackass who assumed that the judge, like him, would see a piece of code and assume it's an arcane fucking ritual without even trying to parse it. He deserves derision.
You idiot! You just caused $2.6bn of harm to Oracle!
Not being able to write code doesn't mean you're stupid.
However, equating them means you're ignorant and arrogant.
The issue of whether or not an API can be copyrighted has nothing to do with whether or not the judge is a programmer. APIs can be complex, and a lot of design may go into an API (what patterns to expose to programmers, etc.). Some programmers would not even object to APIs being copyrightable; many people use proprietary languages that are implemented by a single vendor, and would not even be affected by such a ruling (unless they also use Java).
Palm trees and 8
Title says implies that the judge made the statement about the code being trivial. The judge makes no such claim -- instead, he says that a previous Google witness made that claim. This is a world of difference!
There is zero inventive value in that function. It is a completely standard approach that everybody writing containers has used hundreds of times.
This Judge seems to get it.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
A truly exceptional lawyer.
For those of you who don't want to read all the transcript, this is what the judge said:
Oracle: I think the law with respect to infringer's profits, rather than damages, only requires us to show that there was a product that contained infringing material and that the product produced revenue, and then the burden shifts to the other side. If I'm wrong about that, I still think it's possible to demonstrate a nexus by showing that speed was very important to Google in getting Android out, and by copying they accelerated that.
Judge: We heard the testimony of Mr. Bloch. 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. 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?
Oracle: I want to come back to rangeCheck.
Judge: rangeCheck! All it does is make sure the numbers you're inputting are within a range, and gives them some sort of exceptional treatment. That witness, when he said a high school student could do it--
Cosplayers.net - The Cosplayers Network
Espically when you consider that the programmer who "copied it" for Google is the programmer who originally wrote it for Sun....
"I do not agree with what you say, but I will defend to the death your right to say it"
Oracle's lawyers are being brilliant at what most lawyers do well: make insanely stupid arguments in order to run their clock as long as possible. It's not about justice. It's about that new yacht Oracle's head lawyer is saving up for. Those nine lines of code might be worth only $20, but the lawyers are making a killing.
Celebrate failure, and then learn from it - Nolan Bushnell
Google pretty much admitted it was copied - claiming it was accidental (the same guy wrote it for Oracle and later, Google). It has since been replaced. The jury - completely reasonably - found that it infringed. This is no longer in debate
The question is whether it is worth anything.
Google says no. Oracle's own expert witnesses said no. The judge - who has apparently revealed he is a programmer - says no. Oracle are arguing it's worth millions.
Someone is desperate here, and its not Google
That "Oracle lawyer" is none other than David Boies.
Set your phasers on "funky"!
Having lived in a lot of places in the world, I can assure you that Americans are no stupider than people anywhere else.
Because to do it differently would be to make the code worse. Go to your local hardware store, and look at the hammers. Despite many different manufacturers, they all look and function basically the same. The reason why is because mankind worked out the most efficient hammer design a long time ago and there is nothing left to innovate there.
Imagine how retarded competitor's hammers would have to be designed to get around a patent like the one Oracle is asserting here. This is why there is so much folly in patenting something so elementary, like 'slide to unlock', or a range check.
It's well within the grasp of most middle schoolers, and it wouldn't take long to find an elementary school child who could write it ;-)
You sir, are incorrect. By copying this software that would have taken a lawyer 6 months to write, they were able to gain an unfair 32 seconds on the rightful coder Oracle.
by Mike Buddha -- Someday the mountain might get him, but the law never will.
J2ME is a pretty feature-limited version of Java. It certainly was never going to be suitable on the mid to high end smartphones. Pretty much every smartphone out there now is perfectly capable of running the full-blown JRE out of the box. In other words, with or without Dalvek, mobile Java editions are a fading proposition.
The world's burning. Moped Jesus spotted on I50. Details at 11.
SCO had the same lawyer.
To tell you the true, this gives us a clear hint about Oracle's future.
SCO did exactly the same thing in the past - but, honestly, I think SCO's lawyers did a better job.
In what way? Oracle is the 2nd biggest software house on the planet, the clear leader in several verticals and makes and/or sells literally hundreds of products. Which of these things in even a remote way, describes SCO?
If privacy had a tombstone it would read "We did it for your own good" . -- John Twelve Hawks
This case is about how Oracle can monetize Java. They spent 6 billion dollars on Sun and what Google is doing without direct compensation to Oracle devalues Java. This is the first step of many by Oracle to force profits from their purchase. Ellison is fairly adept at making money, and doesn't seem concerned about whether or not he is liked. This first case of making the Sun purchase pay for itself is not going in his favor currently.
Actually, its not the "the same guy wrote it for Oracle and later, Google". It wasn't written twice.
Its that the Google employee who wrote it on his own time both included it in the Android source tree and contributed to to the OpenJDK (including the required copyright assignment.)
Actually, Oracle's pretty much given up on that, too. In a joint stipulation filed today, Oracle has agreed to waive both jury trial and its claim for actual damages and infringers profits on the copyright claims for which liability has already been found if the API SSO issue isn't resolved in its favor, and accept statutory damages for rangeCheck and the decompiled files.
I have the feeling that the judge may even order them run though a meat grinder before returning them to Oracle on said platter.
Why is there an "insightful" mod and why isn't it "-1"? If I wanted insight, I wouldn't be reading
J2ME is a pretty feature-limited version of Java
Well, having spent a number of years watching J2ME, I'd say the problem wasn't that J2ME was feature limited. I had things I could do even in MIDP that were quite useful, to say nothing of the Personal Basis Profile.
As an early app developer, we had two concerns with J2ME: how to get our app in our users' hands, not getting tied to a particular carrier (and thus losing access to corporate customers who used different carriers) or even handset. You got your J2ME SDK from the handset vendor and the handset vendors were the mobile carriers' slaves. The same phone would have different capabilities on different carriers because they deleted features the carriers didn't want (for price positioning or because the features conflicted with the carriers' laughable ambitions to become content companies).
When Apple came along with the iPhone, they did three important things. First, they didn't take any crap from the carrier (AT&T), they defined the product themselves. Second, they made it possible to run an app on any iOS device (originally just the iPhone, but later the iPod Touch too). Third, they had a simple mechanism for getting your app into the customer's hands. That made it possible to create a successful product for iOS in a way it had never been possible in J2ME.
I believe the fact that it Apple made it easy to sell apps for iOS is what is responsible for the success of attracting developers to the platform early on. It wasn't some kind of Apple UI secret sauce, although touch screens standard was a big advance. J2ME could have been an entrenched mobile standard years before the iPhone came out, if Sun had only taken steps to create a market (not necessarily an app store) for developers to target.
Then Android came along, and it was everything I'd ever hoped for: well thought out, robust, open source, feature-rich, vendor independent, even *app store* independent. But by then I was out of the business.
Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
I've never heard of the subtroutine concept! What's that, when a bigger fish calls a smaller fish to perform a function required by the bigger fish?
ummm...I wouldn't submit this for peer review just yet.