Search
-
Recent Posts
Recent Activity
Error: Twitter did not respond. Please wait a few minutes and refresh this page.
Categories
Archive
- 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
Category Archives: C/C++
Changing people or changing rules
In my previous post I made an open statement which I’d like to clarify a bit further: (…) when the rules don’t work for people, the rules should be changed, not the people. This leaves a lot of room for … Continue reading
Posted in C/C++, Java, Python
Leave a comment
Class member access control: enforcement vs. convention
For a long time I’ve been an advocate of Python’s notion of controlling access to private and protected members (attributes, methods, etc) with conventions, by simply naming them like “_name”, with an initial underline. Even though Python does support the … Continue reading
Posted in C/C++, Java, Python
24 Comments
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
Smart Package Manager is out!
After 6 months of fun working on the project in silence, Smart Package Manager was finally released. As the README says: The Smart Package Manager project has the ambitious objective of creating smart and portable algorithms for solving adequately the … Continue reading
Posted in C/C++, Project, Python
Leave a comment
Embedding Lua interpreter into RPM
I’ve recently committed into the RPM CVS HEAD the internal support for Lua scripts. Please, notice that this is experimental stuff. Why embedding Lua in RPM? Many scripts execute simple operations which in an internal interpreter require no forking at … Continue reading
Posted in C/C++, Lua, Patch
Leave a comment
More additions to APT-RPM Lua interface
The APT-RPM Lua interface is constantly being improved. This time, the following functions were added: pkgid() and verid() Return a unique integer identifying a package or a version. verpkg() Returns the parent package of some given version. verdeplist() Returns a … Continue reading
Posted in C/C++, Lua, Project
Leave a comment
New KDE frontend for APT-RPM
Here is a screenshot of Kynaptic, a new experiment I’m working on. This is a KDE-based frontend for APT-RPM and APT. Kynaptic is based on Synaptic, and shares the same base code on top of the APT library. On the … Continue reading
Toy interpreter for Linear Algebra
While working with Linear Algebra, I’ve decided to build a toy interpreter in C to play around. This was a quite interesting experiment for myself, since it was the first time I’ve built a complete (with tokenizer, compiler, and interpreter) … Continue reading
New RPM transaction locking
Last week I’ve worked with Jeff Johnson to fix a small RPM issue which was bothering us for quite some time. Until this change, RPM was accepting two transactions to be run at the same time but, unfortunately, this might … Continue reading
Posted in C/C++, Patch
Leave a comment
Compiler warnings in Python’s SRE
After a long time, and many people complaining about it, I finally took some time to fix some annoying compiler warnings in Python’s regular expression engine. Since it’s a rather uncommon case, I’ll explain it here with a quick example. … Continue reading
Posted in C/C++, Patch, Python
Leave a comment