Thursday, May 29, 2008
Debugging in Python
Test driven development, clean code, and the occasional printf
statement can go a long way towards debugging programs. But I remain a
bit surprised by the number of developers who seem to take offense when
users ask about a debugger for python. For those who do find reason for
using a debugger I recommend:
The former is a friendlier read with a tutorial flavor, while the latter
provides a definitive reference.
Tuesday, May 6, 2008
Latex and Letter Paper
Very rarely do I work on a system that has the correct defaults setup to produce letter paper. The steps to get everything coming out nice and "letterpaperish" are:
- Specify letterpaper in the documentclass command
- Specify the paper size when converting from dvi such as: dvips -t letter mydoc.dvi -o mydoc.ps
Subscribe to:
Posts (Atom)