25
Mar 12

Star trails con ImageMagick

Hace unos días hice el primer intento de sacar una foto de star trails (donde se ve el movimiento hecho por las estrellas) y luego de sacar fotos por dos horas y media tuve que buscar alguna manera de unir las 120 imágenes que había obtenido en una sola. Lo que obtuve fue:

LightenIntensity

Continue reading →


30
Jan 12

Donde poner los guiones en un ISBN13

¿Cómo saber donde van los guiones en un ISBN? Primero veamos como está compuesto un ISBN: Es una secuencia de dígitos y consta de cuatro componentes:

  1. Código de país
  2. Editorial
  3. Número de ítem
  4. Checksum

14
Dec 11

Sigil y PCRE

Desde ayer está disponible la beta de Sigil (0.4.902) de su próxima versión, la 0.5. Uno de los cambios más importantes (para mí) es que cambia la libreria para hacer búsquedas con regex a pcre.

Continue reading →


01
Oct 11

Greek characters with diacritics in ADE

You’ve added some greek characters with diacritics in your ePub and it looks fine on almost all the readers… except Adobe Digital Editions. There the characters appear as question marks.

Continue reading →


16
Sep 11

El lenguaje invisible

Hace meses que tengo en borrador un post donde quería escribir sobre cómo afecta el lenguaje de programación a la manera en que pensamos en la solución a un problema. Lo retomé hace unos días y buscando más información para terminarlo me encontré con una presentación de Matz del 2003 que básicamente describe lo que quería decir y mucho mejor.

Continue reading →


05
Sep 11

First month report on Android revenue

A month has passed since Frutiblop was published on the Android Market (more info on the game -in Spanish-). The game is a Frozen Bobbles clone and it’s more of an experiment to see all the process of publishing a game for Android than anything else.

Below I’ll give the stats for the revenue for the first month and for the number of installs.

Continue reading →


02
Aug 11

Frutiblop

Después de las pruebas desarrollando aplicaciones Android  se me ocurrió hacer un juego. El último que hice fue Janus, en 1995 y era una mezcla de Pascal y Assembler. En uno dibujaba pixel a pixel en Assembler y en este iba a tener que usar OpenGL con Java. Una diferencia abismal entre los dos.

Continue reading →


26
Jun 11

Resolving validation errors using Nokogiri and schemas

A note to my future self:

Scenario: validating a document using Nokogiri and a xsd which references other schemas.

Error: Something like:

schema.rb:37:in `from_document': attribute use (unknown), attribute 'ref': The QName value '{http://url.of.the.referenced.schema}blah' does not resolve to a(n) attribute declaration. (Nokogiri::XML::SyntaxError)

or the referenced schemas are using a URL to somewhere out there and Nokogiri tries to download it, in which case the script is slowed down or it throws a download error.

Continue reading →