Discussion:
[CRySoL] Juez aprende Java para dictar sentencia sobre patentes
unknown
2012-05-17 08:39:34 UTC
Permalink
Bueno, la verdad es que la noticia no tiene desperdicio...

Resulta que el juez sabía programar y aprendió Java para poder decidir:
http://www.wired.com/wiredenterprise/2012/05/google-schmidt-page-damages/

Y el código lo he encontrado en:
http://www.reddit.com/r/programming/comments/tq4tu/til_the_judge_in_the_oraclegoogle_case_learned/

Lo voy a postear aquí. Como veréis, ese código es crucial para ahorrar 6
meses a Google y que pueda sacar antes Android:

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);
}


¡Vivan las patentes! ¡Ayudan a investigadores y tecnólogos!

Un saludo!!
--
Miguel Ángel García Martínez
http://www.magmax.org
Mail <miguelangel.garcia en gmail.com> | Twitter <http://twitter.com/#magmax9>
| LinkedIn <http://www.linkedin.com/in/miguelangelgarciamartinez> |
about.me <http://about.me/miguelangelgarcia>
------------ próxima parte ------------
Se ha borrado un adjunto en formato HTML...
URL: <https://arco.esi.uclm.es/pipermail/crysol/attachments/20120517/67e56fb3/attachment.html>
unknown
2012-05-18 16:59:47 UTC
Permalink
Me parece muy loable y digno de admiración que el juez aprendiese los
fundamentos de lo que está juzgando para poder decidir. De hecho, así
debería ser siempre.

En cuanto al código... no voy a entrar a comentar su importancia
empresarial, creo que no es necesario. Sin embargo, sí quiero hacer una
pregunta: ¿Eso está patentado? ¿De verdad? Porque de ser así, los
primeros que deben aprender a programar son los empleados del registro
de la oficina de patentes, para que se den cuenta de que esto es inviable.

Si resulta que Google, u Oracle o Microsoft o "Mejías Software" pueden
demandarme por tener la osadía de comprobar que el usuario no es un
inútil, pues mejor que cerremos el chiringuito y nos dediquemos a la
fontanería.
Post by unknown
Bueno, la verdad es que la noticia no tiene desperdicio...
http://www.wired.com/wiredenterprise/2012/05/google-schmidt-page-damages/
http://www.reddit.com/r/programming/comments/tq4tu/til_the_judge_in_the_oraclegoogle_case_learned/
Lo voy a postear aquí. Como veréis, ese código es crucial para ahorrar 6
|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);
}|
¡Vivan las patentes! ¡Ayudan a investigadores y tecnólogos!
Un saludo!!
--
Miguel Ángel García Martínez
http://www.magmax.org
Mail <mailto:miguelangel.garcia en gmail.com> | Twitter
<http://twitter.com/#magmax9> | LinkedIn
<http://www.linkedin.com/in/miguelangelgarciamartinez> | about.me
<http://about.me/miguelangelgarcia>
_______________________________________________
CRySoL mailing list
http://crysol.org/
https://arco.esi.uclm.es/cgi-bin/mailman/listinfo/crysol
Loading...