I wrote this super script to print the WWIDs of SCSI devices :)

 

Post to Twitter

 

If you have coded using LDAP libraries you should have notice about functions that ends with and without “_s”. That “s” means synchronous: the functions return when the operation is finished. The functions without the “s” are asynchronous: the functions return instantaneously without waiting for the end of the operation. The idea behind async functions is that you can call several LDAP functions to do different things and then you can pick the results when you need them,  without blocking the program.

I’m writing this post because you should be careful using these functions. Today I was writing a small Python script to modify some object from a DIT and I lost 30 minutes trying to figure out why the script wasn’t working. I was using the function “bind()” and then “search_s()”. The second didn’t return anything but If I searched using the command line tools with the same parameters I got the objects. What was the problem? I missed the “_s” at the end of “bind()”. I was using the async version so I was calling “search_s()” before the end of the bind operation. :(

 

Post to Twitter

 

Hacía rato que seguía OSM y por fin de decidí a aportar. Viajo mucho, me meto por caminos raros así que puedo recopilar mucha información para ayudar. Por ahora empiezo con las calles de mi barrio que tienen varios detalles para corregir.

Voy a tener que invertir en una Tablet PC con GPS para tirar a la basura Garmin que no sirve para ésto. Muy limitado.

Lo único malo es que ésto empezó con un poco de indignación por la gente de Mapear. Lo vivos utilizan información provista por los usuarios y se la adueñan, para beneficio propio. Todo ésto surgió luego de investigar un poco por el foro y hacer algunas preguntas. No les interesa compartir. Una lástima. OSM podría crecer gracias a ellos y el revés también. El dinamismo de OSM haría que Mapear creciera mucho más rápido.

Lo mejor que se puede hacer ahora es aportar a la alternativa libre y lograr que algún día le permita a los usuarios reemplazar Mapear.

Para cerrar. Me puse a investigar porque OSM usa Yahoo y no Google Maps. Problemas de licencia obviamente. Google Maps no permite crear trabajos derivados de sus mapas o imágenes aéreas. No permitirme crear un mapa desde una imágen aérea, es como si no pudiera poner en un texto que el caballo de San Martín era blanco porque lo vi en una foto. Ridículo.

Post to Twitter

 

Y bué, quería hacer algo con Dokuwiki pero bueno llegué a la conclusión que es una pérdida de tiempo teniendo ésto tan cheto y tan fácil. Esperemos que vaya poniendo contenido con frecuencia.

Post to Twitter

© 2012 DiegoWoitasen Suffusion theme by Sayontan Sinha