Posts

First robot build with Lego Mindstorms NXT 2.0

My first robot build with Lego Mindstorms, created with a group as an assignment of a University subject. As it is our first time it does very little, it just manages to stay in the dohjo by detecting the white line. Also if it detects an object it attempts to load it and carry it to the border to unload it. It uses an ultrasonic sensor to detect this objects. It has a color sensor 1 cm above the ground to detect the white line. It also has contact sensors at the back but we didn't use them, although we planned to. On the video below you can see two runs. The first time I forgot to connect the color sensor, so you can see that the robots bumps out of the dohjo. The second time the color sensor is connected. You can see the light shining on the floor on the left side of the robot. Well, hope you enjoy!

Samsung Galaxy Tablet Coming In September

There are also rumors of a 7" mini iPad . But nothing's for sure. The Tab will run on Android 2.2 and feature full Web-browsing and video calling. The short clip also implies that the Galaxy Tab will sport an HD screen for video, Flash support (something it seems the iPad will never have), support for e-books, possible GPS navigation, and PC linking. Source: PCMag

Memory leaks in C/C++

I've been programming in C/C++ lately and after hours searching for the origin of some segmentation faults and memory corruptions I started searching for a tool to track my memory usage. Meaning I wanted to know what happened with the new's and if I'm deleting everything. After a preliminary search I didn't find the right thing I was looking for, a program for linux (ubuntu) 64 bits, easy to use and for free. Nonetheless I came across an answer to a post suggesting to override the new and delete operations with ones that would allocate/free the memory but also print the number of bytes being allocated/freed to a file. I tried that but the operations are not that easy to replace, so what I did instead is the following. First I created a new file stream: std::ofstream fileMem; fileMem.open("mem.txt"); fileMem.close(); The open and close commands are at the start and end of the main() procedure respectively. Note that this will replace the file mem.txt eve...

Mesianismo Revanchista

Ex presidente de la República Mesianismo revanchista Julio María Sanguinetti  La tan discutida ley de Caducidad fue aprobada por una amplia mayoría parlamentaria en diciembre de 1986 y, sometida a un referéndum, la ciudadanía la ratificó el 16 de abril de 1989. Veinte años más tarde, en ocasión de la elección de noviembre de 2009, se volvió a proponer su nulidad y el cuerpo electoral ratificó nuevamente la ley. O sea que no existe norma con mayor legitimidad, formal y sustancial, en la historia de nuestro derecho.  Dos pronunciamientos del cuerpo superior de la soberanía nacional, deberían cerrar definitivamente todo debate. Por esa razón, el constitucionalista más respetado del Frente Amplio, al que representó en el Senado en el período pasado, el Prof. José Korseniak, dice: "Yo enseño hace 40 años en la Facultad de Derecho que el artículo 82 de la Constitución dice que la Nación, que es la soberana, ejerce directamente su soberanía a través del cuerpo elector...

Nunca más

Nunca más El de hoy es un triste aniversario, uno de esos que las nuevas generaciones deben conocer y que nadie debiera olvidar. Se cumplen 40 años de un atentado de los tupamaros que tuvo trágicas consecuencias. El 31 de julio de 1970, este grupo alzado contra el gobierno constitucional del Uruguay secuestró a cuatro extranjeros. Tres eran diplomáticos, los estadounidenses Nathan Rosenfeld y Michael Gordon Jones, en tanto el tercero era el cónsul de Brasil, Aloysio Dias Gomide. El cuarto secuestrado era Dan Mitrione, un agente estadounidense que asesoraba a la policía uruguaya. El caso más conocido es el de este último puesto que fue asesinado de cuatro balazos, cuando estaba malherido, de brazos atados a la espalda y ojos vendados. Los tupamaros no pudieron desplegar la misma ferocidad con los otros dos estadounidenses puesto que ambos lograron fugarse -uno de ellos lanzándose desde una camioneta en marcha- y burlar a sus captores. En cuanto al cónsul Dias Gomide, su p...

Google Pac Man

Image
For everyone who still wants to play Google's Pac Man, you can access it here

Ninjas Rescue Student From Muggers

Image
A group of assailants got a little more than they bargained for when an entire ninja school came to their victim's rescue . A 27-year-old German exchange student was being mugged in an alley near Ninja Senshi Ryu, when a ninja student noticed the commotion. The sensei along with the rest of the students rushed out to help. "You should have seen their faces when they saw us in ninja gear coming towards them," the school's sensei, Kaylan Soto, told the Herald. It's good to see ninjas working on their brand. When I was a kid they were mostly shurikens, smoke, and attitude. Source: slashdot.org