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: Lua
The forgotten art of error checking
I was just rambling randomly yesterday, in the usual microblogging platforms, about how result checking seems to be ignored or done badly. The precise wording was: It’s really amazing how little attention error handling receives in most software development. Even … Continue reading
Posted in Architecture, Go, Java, Lua, Perl, Python, Ruby, Snippet, Test
10 Comments
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
Functions vs. Callable objects in Lua
While working on Lunatic Python, I’ve understood that Lua does specific type checking with lua_isfunction() in some places where a callable type is expected. As a side effect, these places only accept a real Lua function when the callable object … Continue reading
Posted in Lua, Project, Python
Leave a comment
Lunatic Python
Lunatic Python is a two-way bridge between Python and Lua, allowing these languages to intercommunicate. Being two-way means that it allows Lua inside Python, Python inside Lua, Lua inside Python inside Lua, Python inside Lua inside Python, and so on. … Continue reading
Posted in C/C++, Lua, Project, Python
Leave a comment
Why Lua was embedded into APT-RPM
Why embedding at all? APT-RPM is a port of the debian APT tool to RPM systems. Since I’ve started working in the project, I’ve been thinking about integrating a higher level language on it. Actually, it’s pretty easy to explain … Continue reading
Posted in C/C++, Lua, Project
Leave a comment