Posts

John Carmack on rigorous code analysis

Gamasutra interviews John Carmack, creator of Doom. One of the humbling things that you find is that, no matter how good of a programmer you are, you write code, and you make stupid mistakes. And I am getting to be a huge proponent of really, really rigorous code analysis, because I have been going through pioneering these things, just squeegeeing through our code base, and every single programmer – from our best to our worst – they all make stupid mistakes, and they are unavoidable. Read more...
bugs carmack code analysis debugging

Using TextMate and Python’s virtualenv

TextMate is a great text editor for MacOs. But the default Python bundle does not recognize Python’s virtual environments (virtualenv), which is rather annoying. No need to modify your Textmate bundle. This can be solved by declaring a project-specific shell variable named TM_PYTHON and assigning your virtualenv’s custom python’s path to it: In TextMate, create a new project for your python program Open the Project Drawer Window (View/Open Project Drawer) Make sure no file is selected in the drawer. Read more...
bundles python textmate TM_PYTHON virtualenv virtualenvwrapper

Java Programming 101

Releyendo unos posts antiguos de otro blog, encontré unos apuntes que escribí el 2006 para complementar las clases de Programación Java que dicté en la Facultad de Ingeniería de la Universidad de Piura en Lima. Los vuelvo a publicar por si sirven a otros. Los apuntes están publicados bajo una licencia Creative Commons Attribution-ShareAlike 2.5. Se pueden crear trabajos derivados, copiar, compartir, etc., mientras se respete esa licencia. Si alguno quiere los archivos originales para modificarlos, se los puedo enviar. Read more...
exceptions inheritance Java programming polymorphism