Older blog entries for jdahlin (starting at number 6)

27 Sep 2004 (updated 27 Sep 2004 at 21:53 UTC) »

Clarkbw (via planet): If you want to count lines, use this instead:

pipeline = gst.parse_launch('{ cdparanoia ! osssink }')
pipeline.connect('eos', lambda p: gst.main_quit())
pipeline.set_state(gst.STATE_PLAYING)
gst.main()

The beauty of abstracting things away...

  • Gst-Python

    Great progress recently, you can do most normal things and some not so common. The GstPlay class is wrapped, so now can actually write a simple movie player in just 8 lines of code:

    import sys, gst, gst.play
    play = gst.play.Play()
    play.set_data_src(gst.Element('filesrc'))
    play.set_audio_sink(gst.Element('osssink'))
    play.set_video_sink(gst.Element('xvimagesink'))
    play.set_location(sys.argv[1])
    play.set_state(gst.STATE_PLAYING)
    gst.main()
    

    If you have gst-ffmpeg installed, this is enough to play mpegs, avis, qts etc.

    Hope I'll be able to do a release within the next couple of days.

  • PyGtk

    2.2.0 was released the other week, lots of good stuff done recently by Xordoquy, Gustavo, Christian and Lorenzo. Feels like we finally have a bunch of stable developers. Some work to merge in the new widgets from Gtk+ 2.4 has already started. Hopefully it won't take another 6 months be fore PyGTK 2.4.0 can be released.Note that the three links for setting the source and sinks will probably go away as soon as I wrap the GConf stuff.

  • Barcelona

    15-18 degrees and sun strongly shining sun for the last couple of days. I'm certainly not complaining.

27 Jan 2004 (updated 27 Jan 2004 at 22:04 UTC) »

Long time no words, guess I haven't been hacking too much this fall and winter.

I've manage to do some work on PyGTK in december but the constant absence of jamesh makes things a bit difficult. Sometimes I wish someone could step up and share the maintainership. Unfortunately I'll be busy starting next week. For good and for bad the python bindings didn't make it with the official Gnome bindings this time.

Finished my tests from the university and I'll shortly be heading southwards. It's a nice opportunity.

richard has doing some nice dbus integration work on jamboree. I'm all eager to try it out.

I got to release jamboree today, since Richard is pretty busy, that's how is goes when you start your own company. Anyway, lots of positive feedback and even potential developers. I'm already looking forward to test it with kris' GtkTreeView speedup patch, should make the thing even faster.

Otherwise, I'm pretty busy with school, studying Haskell. It's a neat language, I'm not sure how well it fits for real world applications though. I guess time will tell since my university likes Haskell and it'll be used excessively.

Long time without a diary entry.

PyGtk/gnome-python

    Added distutils support for gnome-python. Distutils are so much nicer than using autotools, a lot less dependencies, python code only and surprisingly much faster than using make and Makefiles. I just wish the integration with pkg-config could be better. Since jamesh has been very busy lately I did a new release of both PyGtk and gnome-python. It's amazing how much work it is to do a release of a package. jrb helped me with setting up an account, so I can do tarball releases.
Life
    Still in Brazil. It has been an amazing journey so far. Been here for almost 6 month (180) days. That's maximum allowed time you can be here without a business/student visa. In about two weeks I have to go to Paraguay, just to cross the border. Sometimes the laws are very stupid, but hey, I'm not complaining, I'll get to see Paraguay :)
IndexedCatalog
    Time for another release soon. It's shaping up pretty nicely. It's much easier to specify object attribute now, with help of a schema like interface. Works very nicely with Python. Getting more and more feedback from external users (not from work).
    Amazingly people are using it to control cluster and building large online multiplayer systems. This is something I'd never have expected when I started working on it, a bit over six month ago. Time is going fast.
13 Aug 2002 (updated 7 Nov 2002 at 22:55 UTC) »
Life
    Booked a flight to São Paolo on the 22nd. It's going to be indescribably fun to live and work in Brazil for 5 month.
    Haven't seen so much of other contries (except in Scandinavia), so this is going to be something very big.
    I know it's not so warm these days, since it's winter in that part of the world. But i already fear the temperature in dec-jan.

    Thanks to all the cool people at Async
Coding
    Quite a bit of PyGTK hacking lately. Tried to help jamesh with fixing b.g.o bug 70178 It's a tough bug, and needs to be fixed soon. (IMHO it's very important it gets before RH8 is released)

    I also wrote a helper script for creating python bindnings for various GObject based librares.
    If you're brave enough you can try it here

Sliff

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!