-
Recent Posts
Categories
Archives
- August 2016
- June 2016
- April 2016
- February 2016
- October 2015
- May 2015
- January 2015
- November 2014
- October 2014
- September 2014
- August 2014
- July 2014
- April 2014
- March 2014
- February 2014
- December 2013
- September 2013
- August 2013
- July 2013
- June 2013
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- August 2012
- June 2012
- April 2012
- January 2012
- December 2011
- November 2011
- October 2011
- August 2011
- July 2011
- December 2010
- November 2010
- September 2010
- July 2010
- June 2010
- May 2010
- March 2010
- December 2009
- November 2009
- October 2009
- August 2009
- July 2009
- June 2009
- May 2009
- August 2008
- June 2008
- May 2008
- March 2008
- February 2008
- December 2007
- November 2007
- October 2007
- August 2007
- June 2007
- May 2007
- March 2007
- November 2006
- August 2006
- July 2006
- February 2006
- October 2005
- September 2005
- July 2005
- June 2005
- May 2005
- April 2005
- March 2005
- December 2004
- June 2004
- March 2004
- February 2004
- December 2003
- October 2003
- June 2003
Meta
Category Archives: Python
Quickies
brother… My brother Diogo is in town! Good to see him after so much time. pycon… PyCon 2007 was fantastic. It was great to meet everyone there, and we had two awesome sprinting weeks around it. confluence… I’ve recently visited … Continue reading
Posted in Conference, GPS, Other, Project, Python, RCS
Leave a comment
editmoin now talks to moin 1.6
editmoin 1.8 was just released, including support for moin 1.6, submitted by both David I. Lehn and Daniele Favara, and URL aliases, as suggested by Diogo Matsubara. One interesting thing I should mention is that Daniele has sent me a … Continue reading
Posted in Project, Python, RCS
6 Comments
Smart upgrading algorithm
One of the known issues in I’ve been trying to address in Smart for a while is the freezing effect that happens when a very complex upgrading situation (such as a full distribution upgrade) results in a combinatory explosion due … Continue reading
Posted in Project, Python
5 Comments
Released editmoin 1.5 and patcher 0.6
New versions of editmoin and patcher were just released. They fix a couple of issues found by Jan Anlauff and Olivier Thauvin, respectively.
Comparing package versions in PostgreSQL
This weekend I’ve played a bit with PostgreSQL extensions written in C. A while ago I wrote a Python C extension for Smart to compare Debian package versions. Now I was trying to do something similar inside PostgreSQL, and thus … Continue reading
Posted in C/C++, PostgreSQL, Project, Python
1 Comment
Mandelbrot Set
I’ve finally posted the Mandelbrot Set code snippet that was sitting on my disk for a while. It computes and draws the Mandelbrot Set fractal using pygame, and also Python for Series 60. Three different screenshots are provided. They show … Continue reading
Posted in Fractal, Python, Snippet
Leave a comment
Hey, nice float!
python-nicefloat is a Python module implementing an algorithm based on the paper “Printing Floating-Point Numbers Quickly and Accurately”, by Robert G. Burger and R. Kent Dybvig. The implemented algorithm will find the shortest, correctly rounded output string representing a decimal … Continue reading
Posted in Math, Project, Python
4 Comments
Labyrinth Solver
What about a labyrinth solver function in 16 lines of Python? :-)
Posted in Python, Snippet
4 Comments
Several projects moved
In the last few weeks I’ve been gradually moving projects I maintain to Labix, which is using the Moin software as a CMS. Projects like Smart Package Manager python-dateutil python-constraint and others are all being hosted there now. There’s also … Continue reading
Posted in Project, Python
Leave a comment
Python module for Constraint Solving Problems
The constraint module presented in PyCon Brasil and later on EuroPython 2005 is now available. Here is a trivial example, solving the classical rooks problem: problem = Problem() numpieces = 8 cols = range(numpieces) rows = range(numpieces) problem.addVariables(cols, rows) for … Continue reading
Posted in Conference, Project, Puzzle, Python
5 Comments