sábado, abril 07, 2012
domingo, octubre 17, 2010
domingo, septiembre 19, 2010
Top funny source code comments
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | /* * OK; before you read the following code know what I am trying to do. * I needed to get the list of child catagories from the root node so that * the root node didn't appear in the selection box. But for some stupid * fucking reason the stupid fucking DBA wont let me access the items using * indices and I instead have to use their stupid fucking Iterator * implementation. So there. */ $firstList = $this->getRootNode()->getChildren(); foreach ($firstList as $node) { $nodes = $node->getChildren(); break; // wtf? } |
1 | // if i ever see this again i'm going to start bringing guns to work |
1 | //hack for ie browser (assuming that ie is a browser) |
1 2 3 4 5 6 7 8 | /**
* For the brave souls who get this far: You are the chosen ones,
* the valiant knights of programming who toil away, without rest,
* fixing our most awful code. To you, true saviors, kings of men,
* I say this: never gonna give you up, never gonna let you down,
* never gonna run around and desert you. Never gonna make you cry,
* never gonna say goodbye. Never gonna tell a lie and hurt you.
*/ |
1 2 3 4 5 6 7 8 9 10 | // // Dear maintainer: // // Once you are done trying to 'optimize' this routine, // and have realized what a terrible mistake that was, // please increment the following counter as a warning // to the next guy: // // total_hours_wasted_here = 16 // |
1 | // TODO: Fix this. Fix what? |
1 2 3 | // no comments for you // it was hard to write // so it should be hard to read |
1 | // I will give you two of my seventy-two virgins if you can fix this. |
1 | options.BatchSize = 300; //Madness? THIS IS SPARTA! |
1 2 | // I am not responsible of this code. // They made me write it, against my will. |
1 2 | //Dear future me. Please forgive me. //I can't even begin to express how sorry I am. |
1 | double penetration; // ouch |
1 | # To understand recursion, see the bottom of this file. |
At the bottom file:
1 | # To understand recursion, see the top of this file. |
1 | //I am not sure why this works but it fixes the problem. |
1 2 | //somedev1 - 6/7/02 Adding temporary tracking of Logic screen //somedev2 - 5/22/07 Temporary my ass |
1 2 3 4 5 6 7 | /*
* You may think you know what the following code does.
* But you dont. Trust me
* Fiddle with me, and youll spend many a sleppless
* night cursing the moment you thought you be clever
* enough to "optimize" the code below.
* Now close this file and go play with something else. |
1 | // drunk, fix later |
1 | // Magic. Do not touch. |
1 2 3 | // I dedicate all this code, all my work, to my wife, Darlene, who will // have to support me and our three children and the dog once it gets // released into the public |
1 2 | //When I wrote this, only God and I understood that I was doing //Now, God only knows |
Some more here
miércoles, septiembre 15, 2010
Subvenciones de la Junta de Andalucía en 2010
SUBVENCIÓN | COLECTIVO | ACTIVIDAD | RETRIBUCIÓN |
| Subvención nominativa | FAFFE | Modernización del mercado laboral y mejora de la empleabilidad | 34.473.248,16 € |
| Subvención mediante convenio de colaboración | CCOO | Materia de Formación Profesional para el Empleo | 8.002.262,75 € |
| UGT | 8.021.823,00 € | ||
| CEA | 15.849.606,00 € | ||
| Subvenciones públicas | CCOO | Planes Intersectoriales de Formación de Ofertas | 9.850.542,50 € |
| UGT | 9.851..005,00 € | ||
| CEA | 19.701.030,00 € | ||
| Subvenciones públicas | CCOO | Planes Sectoriales de Formación | 3.421.772,50 € |
| UGT | 3.421.752,50 € | ||
| TOTAL |
|
| 112.593.042,41 € |
jueves, septiembre 09, 2010
Craiglist 404 error page
Just look at that 404 error page from Craiglist.com and smile, seems they are stuck in the 90s.
domingo, agosto 15, 2010
ARTE VIDA, TARIFA
I was spending two weeks of my holidays in south of spain.
ArteVida is an awesome hotel bar on the beach. You can watch Africa from Europe, just being seated or layed on the grass or the sand.
Tarifa is the southest town in Europe and makes the end of the Cadiz sunny coast. It's the paradise for Kite / Wind sufers.
Cádiz is the oldest city in west europe founded by the phoenicians around 1200 years b.C.
[+info]
ArteVida: www.artevida.es
Tarifa: www.tarifaweb.es
Images about Tarifa: images.google.com
[pics]
miércoles, agosto 11, 2010
Say No To Ground Zero Mosque
What about a gay bar next door to the ground cero mosque ? I think the won't be agree with that, so... i say NO TO GROUND ZERO MOSQUE. Ground Zero mosque will be a victory for talibans and radical muslims who wants to see west civilizacion destroyed.
Leia Mais…martes, agosto 03, 2010
Facebook Messenger in stand alone window
If you log in facebook and start chatting, you can get that chat into a single page just typing http://www.facebook.com/presence/popup.php . See the image below:
SALARIOS EUROPA
¿Trabajas en nuevas tecnologías? ¿Te sientes poco valorado? ¿Crees que cobras poco?
A continuación os dejo un par de recortes de empleo que yo mismo fotografié en Amsterdam hace unos días.
Java/J2EE/Spring/Hibernate
Architect/Senior DeveloperSalario: 50.000 a 80.000 EurosExperiencia: 4 años de desarrollador y 2 años de analistaConocimientos: J2EE, Hibernate, Spring, Struts, EJB, Ant, Maven, JBoss, Tomcat ... Medio/Senior PHP Developer Salario: 45.000 Euros Conocimientos de: XHMTL, HTML, CSS, PHP, Smarty, SQL, SOAP, JavaScript Leia Mais…
lunes, agosto 02, 2010
Nine to Five
El título del post es el famoso horario de oficina anglosajón.
Por lo que sé, está instaurado en medio mundo, al menos el medio mundo avanzado. Lo he visto con mis propios ojos en USA, UK, Francia, Holanda y Bélgica. Pero, dónde sigo sin verlo es en España, especialmente en el sur y más concretamente en Sevilla.
Las grandes "multinacionales" sevillanas, que siguen siendo poco menos que cortijos en los que se trabaja de 8 a 8. Intuyo, que eso de "se trabaja" quizá no sea del todo cierto, y más bien sea "se va al trabajo". Espero que entendáis la diferencia.
Hoy es 2 de Agosto y estoy en mi puesto de trabajo. Mi horario durante todo el mes de Agosto será el mismo que en Julio o Enero. De 8,30 a 14,00 y de 16,00 a 19,00. O sea, "todo el día pringao".
No entiendo porqué estas "grandes multinacionales" sevillas/andaluzas no han instaurado el NineToFive. ¿ A qué le tienen miedo ?
Para los que trabajamos en consultoría de IT sería el horario más lógico, sobre todo cuando el 99% de nuestro trabajo se supedita a los contratos firmados con la Administración Pública. Y todos sabemos que en la Administradición Pública, lo de estar hasta las 19.00 en el "curro" no se lleva.
Total, que llevo aqui tres horas dándole vueltas a este post ... entre el calor que hace en Sevilla a las 16,00 cuando estoy llegando a Cartuja y el calor que me entra después de ver que en Europa hasta las tiendas de ropa "chapan" temprano ... me estoy derritiendo.
miércoles, junio 09, 2010
Gmail Chat - Google Talk
[ES] Me lo parece a mi o el chat de gmail (Gtalk) se ha renovado ? Al menos en su look & feel.
[EN] It's me or seems like Gtalk has changed its look & Feel ? Take a look closer to that picture and point to the buttons.
viernes, mayo 14, 2010
Un esfuerzo
Mis jefes llevan años predicando en el desierto, esta es una verdad como un templo. Desde que entre en la empresa para la que trabajo actualmente (más de 5 años), vienen pidiendo un esfuerzo extra. Pero, ¿qué es lo que entienden ellos por un esfuerzo extra? Muy fácil, que se trabajen horas extra, sin cobrarlas por supuesto, pero a partir de las 7 de la tarde, no antes. O sea, que si la jornada de trabajo es de 8.30 a 14.00 y de 16.00 a 19.00, no se pueden realizar otras extra llegando antes de las 8.30 o trabajando entre las 14.00 y las 16.00. ¿Porqué? Nadie lo sabe, sólo que eso "es así". Lo malo de esta historia es que cuando llego todas las mañanas, sobre las 8.20 al trabajo no hay ningún jefe. Nunca un jefe en esta empresa entra antes que "un currito". Lamentable.
¿Qué sería lo divertido? Pués que jugaramos todos los días al juego de las sillas y la música, ese que cuando se para la música hay que coger asiento antes que los demás, pero, yo lo haría con los despachos de los jefes, y el primero que entre por las mañanas, elije despacho y los demás como vayan llegando, que vayan cogiendo los puestos que sobran. Divertido ¿no?.
Creo que de esa forma iban a cambiar muchas cosas en las empresas "cortijeras" españolas y sobre todo andaluzas, que son las que conozco.
Ea! Ya me he quedado tranquilo por hoy ... me he desahogado.
Entradas populares
-
Créditos Yann Arthur Nicolas yannart@gmail.com www.merlinsource.com Objetivo Crear una primera aplicacion con JSF utilizando los tags p...
-
credits: alt1040.com
-
Acabo de oir/leer que youtube va a iniciar la emisión en pruebas de video en streaming. Me encantaría la posibilidad de poder ver esta ...
-
1. Obtener una clave de Google Maps API Antes que nada, lo primero que requerirás será una clave API para utilizar Google Maps para estos...
-
En primer lugar, antes de hablar de Karmacracy hemos de explicar que son los acortadores de urls. Desde la irrupción de twitter en la r...
-
Long gListTemporal=-1L; for ( Iterator< GrupoInfVO > it = gList.iterator(); it.hasNext() ; ) { Grup...
-
Funny remembering 4 de noviembre de 2004 11:39:05 GMT+01:00 Congratulations on creating your brand new Gmail account at xyzt@gmail.com ....
-
Posted by Michael in JavaScript This dynamic JavaScript slideshow is feature packed and under 5KB. It i...
-
via arkaitz@guebs ColorBox es un plugin para jQuery 1.3 muy ligero (12kb) que permite hacer unos lightbox muy atractivos...
-
«Hoy ser liberal en España no es tarea fácil», José María Aznar López




