Oracle v Google judge drops a bombshell: He's a programmer and won't be fooled by technical bullshit
85 replies, posted
[QUOTE=assassin_Raptor;35997434]You would hate to code then, that curly bracket ends the function/method.[/QUOTE]
Bad reading. He's saying the position (indentation) of the curly bracket is distracting because it's not at the same level as the beginning of the header of the method, which is perfectly understandable, it distracts me too.
[QUOTE=thisispain;35994104]i think everyone should start using that exact coding in their programmes.[/QUOTE]
I'm so doing this, I'm not even going to call the function either, its there for the hell of it.
[QUOTE=Catdaemon;35991616][B]they duplicate the entire language[/B] and oracle can only get them for 9 lines of rangeCheck?
damn, google has a sweet legal team or something[/QUOTE]
what
[editline]18th May 2012[/editline]
[QUOTE=Gmod4ever;35994206]embarrassing nerd speak[/QUOTE]
this entire post is unnecessarily long and overly complex, its painfully obvious you just wrote it to demonstrate to all the non programmers how ~tech savvy~ you are by writing an overly complicated explanation of basic programming fundamentals which hardly were required to understand the absurdity of the case
also your array example isn't even valid, if a new car comes out there's no space in the array for the new car and you would still have to rewrite the application to get the new car in the array seriously what are you doing
damn, oracle just got fucked hard
If I were that judge I'd have the lawyer disbarred.
[QUOTE=Kopimi;35998297]what
[editline]18th May 2012[/editline]
this entire post is unnecessarily long and overly complex, its painfully obvious you just wrote it to demonstrate to all the non programmers how ~tech savvy~ you are by writing an overly complicated explanation of basic programming fundamentals which hardly were required to understand the absurdity of the case
also your array example isn't even valid, if a new car comes out there's no space in the array for the new car and you would still have to rewrite the application to get the new car in the array seriously what are you doing[/QUOTE]
Wow. Who shat in your cereal?
I saw that some people here were a bit confused as to how simple the code is, and what all it does, and so I decided to give a brief explanation of it. I'm sorry the post ended up being so long, because I took a safe presumption of minimal programming knowledge (and, believe it or not, there are people who don't even know what "variable manipulation" means, or are completely lost when you say programming is logic-based, so it's not an absurd presumption), and then provided the necessary background information needed to understand exactly what an array is - which is required to understand exactly how simple and asinine the contested code is. If you can compact all that information into a shorter post, without losing any detail or quality, then I apologize for my inability to be as expert at summarizing information while retaining key information as you, and I ask you to forgive me for being less concise than you.
And yes, I understand the examples aren't absolutely accurate to the analogies, but the examples and analogies were there get the associated points across, in a manner that would be understandable to those with, again, minimal to no experience or knowledge in the field. I said at the end of the post I wasn't going to get into dynamic memory - the analogy was simply to get the point across.
I can only imagine how fucking hostile you get whenever you come across someone explaining how progressiveness started to enter lawmaking during the American industrial revolution when someone who is genuinely curious asks them - "It's painfully obvious you just explained that to demonstrate to all the non-pre-WWI-era-historians how much of a ~history buff~ you are."
Seriously. If you don't like it, then don't fucking read it. It's pretty obvious you have at least some degree of knowledge on the subject, so it wasn't even meant for you. Get off your fucking high horse - no one asked for your opinion anyways. That post was for those who were genuinely interested in the subject but didn't know enough about programming to understand it fully.
And judging by the amount of informatives, obviously there were at least some people who found it useful to some degree. So, my good sir, and I ask this politely: please fuck off.
[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]
fuck, really? :v: Those lines of code are in just about every decent piece of software
[QUOTE=Gmod4ever;36000332]Wow. Who shat in your cereal?
I saw that some people here were a bit confused as to how simple the code is, and what all it does, and so I decided to give a brief explanation of it. I'm sorry the post ended up being so long, because I took a safe presumption of minimal programming knowledge (and, believe it or not, there are people who don't even know what "variable manipulation" means, or are completely lost when you say programming is logic-based, so it's not an absurd presumption), and then provided the necessary background information needed to understand exactly what an array is - which is required to understand exactly how simple and asinine the contested code is. If you can compact all that information into a shorter post, without losing any detail or quality, then I apologize for my inability to be as expert at summarizing information while retaining key information as you, and I ask you to forgive me for being less concise than you.
And yes, I understand the examples aren't absolutely accurate to the analogies, but the examples and analogies were there get the associated points across, in a manner that would be understandable to those with, again, minimal to no experience or knowledge in the field. I said at the end of the post I wasn't going to get into dynamic memory - the analogy was simply to get the point across.
I can only imagine how fucking hostile you get whenever you come across someone explaining how progressiveness started to enter lawmaking during the American industrial revolution when someone who is genuinely curious asks them - "It's painfully obvious you just explained that to demonstrate to all the non-pre-WWI-era-historians how much of a ~history buff~ you are."
Seriously. If you don't like it, then don't fucking read it. It's pretty obvious you have at least some degree of knowledge on the subject, so it wasn't even meant for you. Get off your fucking high horse - no one asked for your opinion anyways. That post was for those who were genuinely interested in the subject but didn't know enough about programming to understand it fully.
And judging by the amount of informatives, obviously there were at least some people who found it useful to some degree. So, my good sir, and I ask this politely: please fuck off.[/QUOTE]
You could have made it a lot simpler.
[QUOTE=Gmod4ever;36000332]Wow. Who shat in your cereal?
I saw that some people here were a bit confused as to how simple the code is, and what all it does, and so I decided to give a brief explanation of it. I'm sorry the post ended up being so long, because I took a safe presumption of minimal programming knowledge (and, believe it or not, there are people who don't even know what "variable manipulation" means, or are completely lost when you say programming is logic-based, so it's not an absurd presumption), and then provided the necessary background information needed to understand exactly what an array is - which is required to understand exactly how simple and asinine the contested code is. If you can compact all that information into a shorter post, without losing any detail or quality, then I apologize for my inability to be as expert at summarizing information while retaining key information as you, and I ask you to forgive me for being less concise than you.
And yes, I understand the examples aren't absolutely accurate to the analogies, but the examples and analogies were there get the associated points across, in a manner that would be understandable to those with, again, minimal to no experience or knowledge in the field. I said at the end of the post I wasn't going to get into dynamic memory - the analogy was simply to get the point across.
I can only imagine how fucking hostile you get whenever you come across someone explaining how progressiveness started to enter lawmaking during the American industrial revolution when someone who is genuinely curious asks them - "It's painfully obvious you just explained that to demonstrate to all the non-pre-WWI-era-historians how much of a ~history buff~ you are."
Seriously. If you don't like it, then don't fucking read it. It's pretty obvious you have at least some degree of knowledge on the subject, so it wasn't even meant for you. Get off your fucking high horse - no one asked for your opinion anyways. That post was for those who were genuinely interested in the subject but didn't know enough about programming to understand it fully.
And judging by the amount of informatives, obviously there were at least some people who found it useful to some degree. So, my good sir, and I ask this politely: please fuck off.[/QUOTE]
It's Kio he is always a douchebag, do not worry.
-snip-
[QUOTE=][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]
/if the author was as frustrating as Oracle. [sp]WHERE ARE YOUR INDENTS NOW.[/sp]
If Oracle drops the charges then Google might forgive them.
[editline]17th May 2012[/editline]
Lol see it's a joke like a programming thing.
[QUOTE=Gmod4ever;36000332]I saw that some people here were a bit confused as to how simple the code is.[/quote]
So you elected to confuse us more?
[quote]And yes, I understand the examples aren't absolutely accurate to the analogies, but the examples and analogies were there get the associated points across, in a manner that would be understandable to those with, again, minimal to no experience or knowledge in the field. I said at the end of the post I wasn't going to get into dynamic memory - the analogy was simply to get the point across.[/quote]
Wait so you knew the analogy was shit, and you still used it?
[quote]I can only imagine how fucking hostile you get whenever you come across someone explaining how progressiveness started to enter lawmaking during the American industrial revolution when someone who is genuinely curious asks them - "It's painfully obvious you just explained that to demonstrate to all the non-pre-WWI-era-historians how much of a ~history buff~ you are."[/quote]
Yeah, but I can say that in a few sentences, not the memoir you wrote.
[QUOTE=G-Strogg;35991748]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.[/QUOTE]
I beg to differ.
[code]
int main()
{
cout << "Hello world!" << endl;
return 0;
}
[/code]
[URL]http://en.wikipedia.org/wiki/Hello_world_program[/URL]
[QUOTE=G-Strogg;35991748]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.[/QUOTE]
There are only 6 important lines in this:
[URL]http://en.wikipedia.org/wiki/Fast_inverse_square_root[/URL]
Word just arrived, Oracle is now using a new rangeCheck function.
[CODE]
/**
* @author Oracle
*/
private static void rangeCheck(int arrayLen, int fromIndex, int toIndex)
{
System.err.println("im going to tell my lawyers :(");
throw new DoNotStealException("you meanie head!");
/*
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]
[QUOTE=Rome;36000798]/if the author was as frustrating as Oracle. [sp]WHERE ARE YOUR INDENTS NOW.[/sp][/QUOTE]
There is no God...
[QUOTE=smurfy;35997362]Google doesn't have an A in it :eng101:[/QUOTE]
Google[SUB][SUP]a[/SUP][/SUB]
yes it does
I rest my case
[QUOTE=Kopimi;35998297][sniplongpost][/QUOTE]
cynical as all fuck
[QUOTE=darkrei9n;36000628]You could have made it a lot simpler.[/QUOTE]
he could but it's not as bad as Kop makes it out to be at least. :v:
[cpp]
private static void copyrightTroll(int moneyInWorld, int googleProfits, int oracleProfits) {
if (googleProfits > oracleProfits)
throw new FrivolousLawsuit("googleProfits(" + googleProfits +
") > oracleProfits(" + oracleProfits+")");
if (googleProfits < 0)
throw new OfficeParty("We beat Google");
if (oracleProfits > moneyInWorld)
throw new OfficeParty("We are victorious");
}
[/cpp]
[QUOTE=G-Strogg;35991748]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.[/QUOTE]
[url]http://en.wikipedia.org/wiki/Floyd-Warshall_algorithm[/url]
and many other algorithms are actually quite small, many have numerous applications and aren't exactly easy to grasp.
[QUOTE=Governor Goblin;36001013]So you elected to confuse us more?
Wait so you knew the analogy was shit, and you still used it?
Yeah, but I can say that in a few sentences, not the memoir you wrote.[/QUOTE]
Why all the hate for the man, all he did was some explaination, take it or leave it, it's pretty accurate for what I read (befor someone call on me, I read the whole thing.)
[QUOTE=Kopimi;35998297]what
[editline]18th May 2012[/editline]
also your array example isn't even valid, if a new car comes out there's no space in the array for the new car and you would still have to rewrite the application to get the new car in the array seriously what are you doing[/QUOTE]
I'm pretty sure (even tho I don't use this language) that a function that does array size +1.
The example is actually good for the car, I would use array to list random numbers of cars
[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]
Wow, any robust computer program would do things like this. If the larger index > smaller one, throw an error as you can't check backwards. If the index is negative, throw an error message as they must start at 0. If the index is greater than the length of the array, throw an error.
What a bullshit case.
[QUOTE=Tomberry;36006530]Why all the hate for the man, all he did was some explaination, take it or leave it, it's pretty accurate for what I read (befor someone call on me, I read the whole thing.)
I'm pretty sure (even tho I don't use this language) that a function that does array size +1.
The example is actually good for the car, I would use array to list random numbers of cars[/QUOTE]
In Java you'd use an ArrayList for that since you don't know the actual size of the array and an ArrayList can recreate itself with more space once a certain number of records have been saved in it. array size + 1 can't be done in java, once you create an array, it is that length.
[QUOTE=mobrockers2;36009251]In Java you'd use an ArrayList for that since you don't know the actual size of the array and an ArrayList can recreate itself with more space once a certain number of records have been saved in it. array size + 1 can't be done in java, once you create an array, it is that length.[/QUOTE]
Well, you could recreate the array with the desired length. But when you have access to Collections such as ArrayList, that's kinda pointless.
[QUOTE=mobrockers2;36009251]In Java you'd use an ArrayList for that since you don't know the actual size of the array and an ArrayList can recreate itself with more space once a certain number of records have been saved in it. array size + 1 can't be done in java, once you create an array, it is that length.[/QUOTE]
In Python you can just use yourSequenceHere.append(someValue), without worrying about size or variable type.
I say "sequence" instead of "array" because in Python, you can use [del]either a tuple or[/del] a list for what's being described.
[editline]18th May 2012[/editline]
[del]at least I [b]think[/b] you can append to tuples hang on[/del]
NOPE I'm wrong forgive me, haven't been in front of a code environment in a while
[QUOTE=Source;35993155]Why can't the system have Judges that are experts in certain fields and then put them onto the certain cases, what's so wrong with wanting the system like that? it would cut the amount of patent cases in half if they actually had someone who knew in detail the technicalities of the case from personal experience and knowledge. [sp] i am not an expert on the judicial system so if this sounds daft i apologies [/sp][/QUOTE]
judges are supposed to rely on their knowledge of [I]law[/I]; they make decision based on law, not on any other knowledge. the point of the court of law is for the plaintiffs and defendants to push forward cases that are designed within the set game rules of law. so if you introduce another factor, you change the game completely and introduce a whole lot of bias into the equation.
Sorry, you need to Log In to post a reply to this thread.