'Uncategorized' Category

  • Feb
    21
    2010

    Watching TV with vlc on Linux via T-Home Entertain

    For quite a while we are receiving TV via Internet. The original reason is that I got at most 2 MBit/s via ADSL due to line noise, but VDSL supports 25 MBit/s on the same line. Of course, you couldn’t order the DSL line without also getting a phone flat rate and IPTV.
    Most of the [...]

  • Nov
    12
    2009

    Extra commas are allowed in debian/control

    Today the question came up at work if it is allowed to have extra commas in debian/control dependency fields as in
    Depends: ${misc:Depends}, ${shlib:Depends}
    The substitution misc:Depends may well be empty. So is this allowed?
    It actually is as Tollef Fog Heen quickly replied on IRC (thanks). It is also covered by a test case in the dpkg [...]

  • Nov
    03
    2009

    Vodafone software for Linux!?

    While researching the UMTS stick to buy for our Acer Aspire One netbook, I stumbled across some postings about using the Vodafone UMTS stick with Linux (see here (german)).
    That forum discussion contains a link to https://forge.betavine.net/projects/vodafonemobilec/ where you can find “Vodafone Mobile Connect Card driver for Linux is a GPRS/UMTS/HSDPA device manager written in Python, [...]

  • Oct
    30
    2009

    Emacs: Marking lines in source code

    Today I ported some code to a new API. What I really like about that API upgrade: They changed a structure of the interface to a completely new structure, which basically had the same contents with a few new fields. Of course, the order has changed as well and the field names were revised.
    Comparing those [...]

  • Oct
    16
    2009

    Passing optparse results as keyword arguments

    The python optparse package is really handy for parsing command line arguments. When combining this with an extra main function idiom (to allow interactive usage or use as a module), I ran into a small problem – the following code does not run:
    123456789def main(foo, bar):
        print("foo: %s, bar: %s\n" % (foo, bar))
    if __name__ == [...]

  • Feb
    20
    2009

    Reading an arbitrary file as python module source

    Not sure if anybody will ever need this. I just found out because I did not accept that I can’t load my Subversion pre-commit hook as a module.
    Of course it is actually quite simple:

    import imp
    hook = imp.load_source(“hook”, “pre-commit”)

    It’s that easy. Now I can test the internal functions from ipython before letting it wreck our repository. [...]

  • Jul
    22
    2008

    Using JFreeChart from Rhino

    Today I wanted to play around with JFreeChart a bit. As I did not want to repeat the edit-compile-link cycle all the time, I decided that it would be fun to use the Rhino scripting engine for playing around.
    Unfortunately, this did not seem to work at first:
    torsten@pulsar:~$ rhino
    Rhino 1.7 release 1 2008 03 22
    js> importClass(org.jfree.chart.JFreeChart)
    js: [...]

  • Jul
    05
    2008

    Hello World!

    Finally I got around to put something up on http://www.landschoff.net. Often I wanted to get something done “at the weekend”. I always spent the time to look around for good solutions, which would have to be secure, portable, etc. – so I never did it.
    For a change I now installed Wordpress, even though I don’t [...]

 
Powered by Wordpress and MySQL. Theme by openark.org