A pythonic note to myself

February 19th, 2010 • Comments Off

How to find the unique elements of two lists:

def unique(self, a, b):
        return [item for item in a if item not in b]

Making python 5x faster

March 27th, 2009 • Comments Off

Google’s Python engineers have launched a new project called Unladen Swallow that seeks to improve the performance of the Python programming language. One of the project’s goals is to replace the Python virtual machine with an LLVM-based JIT.

Source: http://arstechnica.com/open-source/news/2009/03/google-launches-project-to-boost-python-performance-by-5x.ars

http://code.google.com/p/unladen-swallow/

Inspecting the integrity of your source code.

February 26th, 2009 • Comments Off

Software projects grow over time. They get bigger, more stuff is added, patches added and bugs fixed. New features added, and removed and code removed. But who keeps track of the changes and ensures that your source code repository stays clean? That they are no old undeleted files, no missing unittest, that all dependecies are correct? In short: that they are no broken windows (link) and a nice clean environment a engineer can checkout, compile and run within minutes? 

I’m using the ReInCheck tool for that. Currently it is customized to support a multi module maven project which consists of OSGi bundles. But it should be easy to adopt it to your needs.

Python wins again

February 18th, 2009 • Comments Off

logo

The site linuxquestions.org asked what the programming language of the year should be – And again python wins: http://www.linuxquestions.org/questions/2008-linuxquestions.org-members-choice-awards-83/programming-language-of-the-year-695662/

The Computer Language Benchmarks Game

January 9th, 2009 • Comments Off

Found a game about programming languages comparison – http://shootout.alioth.debian.org. Great fun if you wanna show that the programming language you like most, is also the best :-) For example to show that python is better then perl:

chartvs.php

The FAQ for the game is over here: http://shootout.alioth.debian.org/u32q/faq.php

Page 5 of 6« First...23456