Finally 2.6.25 is out. As usual you can get the RTSP patch here. There has been no change between this and the latest RC.

On a side note. I am curious who is actually using this patch. Of course I could read my apache logs but having a comment like "Yes, I am using it for ...." is so much nicer.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

Im am not dead ...yet. Just to inform the guys downloading the RTSP from here as soon as 2.6.25 proper is out I will put a patch online. The current -RC kernel works here but changes to the code might happen before the final release.

On a side note. I recently started playing around with a RAID-5 setup for my file server. After finishing it up, I'll probably post an entry or two.

Long time no pyblosxom related info, I know.

Pyblosxom:

Will more or less asked me to join the pyblosxom development team. Well it was more or like "Hey, what's your sourceforge username I'll add you as developer". My first task is to take a look at the setuptools related config and update it.

Site:

As for the site news. Well the link to scenemusic is no longer there but you can now see, what I was listening to recently. Kudos to last.fm to make this possible. The way I did it was pretty simple in the end, a more detailed description will follow.

Ok, that's it for now, I hope you enjoyed the show and see you around.

As promised here is the patch for 2.6.24-rc1. It should also work with rc2 but I haven't tested it myself yet. Debugging also changed. I now use pr_debug for output. This means you need to compile the modules with "-DDEBUG" to get the debug output.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

Ok, after finding out rather late that the rtsp patch did not work with 2.6.22, I downloaded 2.6.23-rc2 and ported it yet again. As always you can find the code here. I really hope that this patch will survive 2.6.23-final.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

Since some changes happened to the netfilter code in 2.6.22 a new version of the rtsp patch is online. Big thanks go out to Jan Engeldhardt who really helped me getting this patch done in such a short time.

The location of the patch is still the same so go and grab it.

NB: As always, this code works for me, if you find any bugs or have fixes please contact me.

Since I always hated my CGI set-up here I took the plunge and tried to get pyblosxom running with WSGI. This is more or less a short HOWTO that shows how I did it. I am not sure if this is the best way to do it but it works for me.

Requirements:

  • WSGI

    This comes bundled with the latest python releases, if yours is older the easiest solution is to use easy_install. Just download and install it if you haven't done yet and then call

easy_install wsgiref

Setup:

Put mp_wsgi_handler.py, wsgi_app.py and your config.py in the same directory. Follow the directions in the wsgi_app.py file and put the <Location> entries in your httpd.conf file. Here it is once more. Do not forget to change PythonPath so all the required files are found.

<Location /weblog>
      PythonDebug Off
      SetHandler python-program
      # set PythonPath to the folders containing the files.
      PythonPath "['/path/to/mp_wsgi_handler', '/path/to/wsgi_app']+sys.path"
      PythonHandler mp_wsgi_handler::wsgi_handler
      # This should be the same as the Location above
      PythonOption ApplicationPath /weblog
      PythonOption application wsgi_app::application
</Location>

That's it you can now access your blog on your server via /weblog. But what if you do not want to use http://<servername>/weblog everytime?

I wanted to do exactly that. My first try was to change

<Location /weblog>

to

<Location />

This more or less worked, but since mod_python now took all requests I was not able to serve static files. I reverted the change and added some .htaccess entries instead.

.htaccess:

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d [OR]
RewriteCond %{REQUEST_URI} ^/$
RewriteRule ^(?!weblog)(.*)$ /weblog/$1 [QSA,L]

So what are these entries doing?

If the request is not an existing file or directory

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d [OR]

OR it is the base url

RewriteCond %{REQUEST_URI} ^/$

rewrite it to /weblog but only if it isn't already /weblog

RewriteRule ^(?!weblog)(.*)$ /weblog/$1 [QSA,L]

Difficult yes, working yes, solveable in a better way maybe but I do not know how. :)

If you have any questions or comments do not hesitate to ask me.

An update to this site is really needed but in the mean time I proudly present my stab at linux kernel hacking. I ported the rtsp conntrack module to the new 2.6.20 netfilter API. I mostly did it because I need it to watch the Apple screencasts that appear every now and then.

So without much further ado I present the patch for the latest kernel releases.

NB: This code works for me, it might open a huge security hole on your firewall or kill your cat.

So Apple unveiled their new line of intel based computers and the world took a deep breath and said ahhhhh and ohhhhhh. In February their new Macbooks are available and support for ProApps will follow in March. Life is good, life is well people are tempted to say now but I beg to differ. There are several reasons why I think Apple should get their act together.

  • Quicktime

    Hey guys what is wrong with QT7. Apart from not being very stable it is sheer luck if streaming is working.

    • Dialup

      I am one of the two guys in Europe that still uses dialup to connect to the WWW. Streaming with quicktime? HAH. Despite the fact that Quicktime allows to select 56kbit upload speed, playing movies via the internet is not working at all. You either get no sound are the picture is missing, you really have to be luck to get a stream working at all.

    • Stability

      Version 7 really is not stable at all. Random freezes dodgy playback and discussion lists full with user questions/problems.

  • ProApps

    Don't get me started. Every release seems to be a russian roulette where you don't know if your Application will work or not. Since I use the software just for fun and do not earn money with it, I don't really care but others get into serious trouble because of this problems.

I do not want to bash Apple at all, but right now it looks like that they have shifted its focus. They are more interested in selling ther iPods and other consumer equipments than releasing proper sofware. A few years ago you could always say "Hey, use the ProApps, they are stable and QA is done for every release". Now I would tell them to wait after a patch has been released, read through the discussion list, wait some more, do a backup, install the update and pray. The problem is that a Version that was working prefectly could get completely screwed up with the next update.

So please wake up Apple, get your act together and fix those bugs.