Older blog entries for ralsina (starting at number 657)

Nikola is Python 2 1/2 ready

On my free time, lunch hours, and such I have been tweaking Nikola, my static site generator to make it python 3 friendly. Well, I somewhat-accidentally-my-dog-made-me-do-it may have committed a lot of that into master.

So, right now, things may be somewhat broken on python2 and somewhat working a little on python3.

In any case, feel free to try it out, and let me know what to fix.

Syndicated 2012-12-17 16:20:39 from Lateral Opinion

My Life as a Mad Scientist

My son finished kinder, so they had a special celebration, a graduation ceremony where they gave the kids a medal, a diploma, they sang a song, that kind of thing. But this school has a tradition. Parents always give their kids a surprise present at the end of kinder.

In this case, we did a play. With almost every parent acting, singing, playing music, juggling, and more. My role? Mad scientist. I had 4 lines, I funbled one, but hey, you can't deny I got the look nailed, man.

http://www.habiaunavezfotosyvideos.com/girasoles2012/Girasoles2012/Egresados_2012_files/Media/IMG_1103/IMG_1103.jpg?disposition=download

Yes, those are blacklight light-up eyeglasses. Yes they are as annoying to everyone else as you would imagine.

Syndicated 2012-12-16 20:25:09 from Lateral Opinion

Easy Solutions to Easy Problems

A few days ago my son went to a kid's barbershop where they do things like play Scooby-Doo in a Playstation while they get a haircut. He liked it so much that he decided to take matters in his own hands. With scissors.

https://pbs.twimg.com/media/A-LTmydCMAAc8e1.jpg:large

Daddy, I may have cut some hair.

But you know what? Easy problems have easy solutions. And I have a hair clipper.

https://pbs.twimg.com/media/A-LTWWlCMAAPuTx.jpg:large

Son, I may have cut some hair too.

Syndicated 2012-12-15 16:02:53 from Lateral Opinion

La Tierra Hay Que Lavársela de Las Patas

¿Por qué vivís ahí?

¿Por qué no vivís en otro lado?

Preguntáte eso. Yo me lo pregunté en el 2000 y me fuí. Dejé mi departamento, dejé mis muebles, dejé mis libros, dejé mi ropa, dejé mi laburo, dejé mi novia, dejé mi tele, dejé alguna deuda, dejé mis mates, y me fuí.

Yo no estaba contento adonde estaba. Tenía algo asegurado, pero era lo mismo que ya tenía, y tenía treinta pirulos, y lo había tenido desde los veinticinco. Tenía mi trabajo en la facu, tenía mi jefe que me estaba cayendo mal, tenía mi lugarcito, en un barrio que no me gustaba, tenía mi novia, que no me hacía feliz, tenía alguna deuda de expensas, tenía un departamento inescriturable con una hipoteca impagable.

Y tuve una oferta de laburo y me fuí, y no volví nunca más. Habré pasado una semana en los últimos doce años allá, para casamientos, y nacimientos, y una charla que dí en la FICH, pero he pasado más tiempo en Cruz del Eje, o en Mar del Plata, o en Londres, o en Carmelo, que allá.

Y tuve una oferta de laburo, y me hice un bolsito y me fuí, y pasaron cosas, muchas están escritas acá en este sitio, y cambié, e hice cosas, y me casé, y tuve un pibe, y viajé, y fuí feliz, e infeliz, y me cagué de hambre, y me ha ido bien, y me ha ido mal, y me enfermé, y no me curé, o sí, y engordé, y se me cayó el pelo, y escribí, y borré, y gané.

Porque gané. Porque todo eso no me hubieran pasado si tuviera mi departamentito, mi ropa, mi tele, mi laburo en la facu, mis libros, mis muebles, mi novia. Me hubieran pasado otras cosas, claro, pero no éstas, y yo, yo, soy este tipo que le pasaron estas cosas, y no otras.

Vos no sos el lugar en que estás, ni el lugar donde naciste, ni la familia que tenés, vos sos lo que te pasó y lo que hiciste. Y lo que te pasó ya está, pero lo que te va a pasar es casi todo culpa tuya, y lo que hiciste más.

Escucho todo el tiempo gente quejándose de donde están. Que es feo, que es inseguro, que es esto, que no es lo otro, que su laburo es una bosta, que sus compañeros son unos garcas, que los maltratan, que sufren.

¿Por qué vivís ahí?

¿Por qué no vivís en otro lado?

¿Que sos, viejo? ¿Cagón?

Viví, pibe.

Syndicated 2012-12-13 22:44:16 from Lateral Opinion

Rst2pdf progress

I have set for myself a priority list of bugs that bother me in rst2pdf, my tool to convert restructured text into PDFs in order of decreasing shamefulness.

I have been fixing a few today (early morning + late night hack) so the following is now correct:

  • Use of included stylesheets
  • Vertical spacing of indented lineblocks
  • Use of :target: in figure directives

There are 46 open issues but I am not planning on fixing them all. My personal hitlist has 10 more bugs in it, but regardless of how many I fix, I intend to release anyway, because:

  • Last release is broken with latest reportlab
  • Last release is a bit broken with docutils 0.10 which will be out soon
  • Last release was over six months ago

And that last one is the critical one. Working at Canonical has shown me that release cadence is good. Specially in a project where trunk is very rarely broken (like rst2pdf) there is no reason for slow release cycles. Rst2pdf should release monthly.

I fully intend to take that approach, so the next release will be done on December 21st.

Syndicated 2012-12-13 22:11:51 from Lateral Opinion

All Movies are One Movie

Sometimes I post things in twitter that are not a single tweet. I may repost some into this blog. Here's an example.

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!