13 de septiembre de 2013

Happy programmer's day!

A man flying in a hot air balloon suddenly realizes he’s lost. He reduces height and spots a man down below. He lowers the balloon further and shouts to get directions, "Excuse me, can you tell me where I am?"

The man below says: "Yes. You're in a hot air balloon, hovering 30 feet above this field."

"You must work in Information Technology," says the balloonist.

"I do" replies the man. "How did you know?"

"Well," says the balloonist, "everything you have told me is technically correct, but It's of no use to anyone."

The man below replies, "You must work in management."

"I do," replies the balloonist, "But how'd you know?"*

"Well", says the man, "you don’t know where you are or where you’re going, but you expect me to be able to help. You’re in the same position you were before we met, but now it’s my fault."

6 de junio de 2013

Cuento de Joaco

Mientras Joaco ( http://focojoaco.blogspot.com ), un gran amigo, me daba una mano con un proyecto en Haskell, tuvimos que esperar un ratito que se descargara un archivo. En ese momento, Joaco improvisó un mini cuento.



Les comparto:

cuando la nutria sale de su madriguera, se puede oler el olor a coco rayado de los caramelos m&m que su mama le compraba de pequeña, su mama mandril y su papa oso  listo


Brillante :) 

Haskell in TextMate

How to install the bundle:
$ mkdir -p /Library/Application\ Support/TextMate/Bundles
$ cd /Library/Application\ Support/TextMate/Bundles
$ git clone https://github.com/textmate/haskell.tmbundle
That's it!

3 de junio de 2013

Santex Tech Meetup: Python en el mundo real




Python en en mundo real



Se expondrán brevemente proyectos y empresas que han encarado proyectos exitosos a nivel mundial con Python, comparando ventajas, ecosistema, comunidad y desventajas del lenguaje.
La charla apuntará a ser bien de alto nivel (en el sentido de que no requiere más que nociones básicas de programación) y se mostrarán ejemplos prácticos de programas y librerías de computación científica, motores para hacer juegos, aplicaciones web, frameworks, etc.

UPDATE:

Material de la charla! https://github.com/matiasherranz/talks/tree/master/Real_world_Python

Fotos del evento! link.

1 de octubre de 2012

Working on django-notification (django 1.4 support, internationalization, etc.).

What's this all about?


Working on a Django project, I happened to come across with the need of a notifications app for Django. The first one to take a look at and perhaps the most popular the last years is django-notification. So, let's take a look at it, my friend.

What was the problem?


Well, to begin with, it does not work with Django  1.4 or above. That's the starting point for me to branch out from the original repo of the project. I tuned it up to work with Django 1.4.

Later down the road, we decided to use internationalized dates. And then again, django-notification did not handle them properly (does not suppor internationalization at all). And therefore a zillion of our tests started to throw warning.

Once again, I had some time to spare, and got myself hands on that.

Summarizing

Which changes did I make to django-notification? Let's take a look:

  • Made it work with django 1.4
  • [this is a big one] Made django-notification timezone aware and compliant.
  • Made every single file PEP8 compliant
  • Fixed a bunch of issues I found while going through the codebase (like missing imports)
  • Quite a few code improvements (like the usage of "zip" or "file" as variable names)

Where's this code? How I install it for my project?


The code is available here, at my github account: https://github.com/matiasherranz/django-notification

You can install it with pip this way:

pip install  -e git+https://github.com/matiasherranz/django-notification.git#egg=django-notification

I'm open to suggestions, comments or pull requests to improve the app.

Hope it helps!

15 de septiembre de 2012

Material de mi charla sobre Django en el PyDay Córdoba 2012

Acá dejo el contenido de mi charla de Django del PyDay 2012:

Filminas y la aplicación que mostré, creada paso a paso:

Muchas gracias a todos/as los/as que vinieron!


Cualquier consulta, no duden en mandarme un email.


Salud!