Bastian Venthur: Juten Rutsch ins neue Jahr!
Happy new year everyone!
NP: Moby Jam for the Ladies (Nevins Club Blaster mix)
Happy new year everyone!
NP: Moby Jam for the Ladies (Nevins Club Blaster mix)
Since it’s already that time of the year again, merry Christmas everyone! I hope you’re able to spend the holidays with the ones you love and enjoy a merry, merry Christmas! Have fun everyone!
BTW: Am I the only one who really hates this freakin’ “Last Christmas”-song by WHAM!? Why the heck do the radio stations here in Germany have to have this crap on A-rotation every end of the year? This year I really tried to avoid this song by not hearing radio or watching music television. But I made a major mistake: I went to the Christmas fair… guess what the first song was, I heard when I arrived? Thank god there was enough mulled wine around to ease my pain
Since I received a terrifying amount of insults via mail for not implementing this feature request after my last blog entry, where I asked for help developing rng, I’d like to make my position about this issue clear.
Why I was opposed to implement it:
Is anyone out there interested in helping me developing reportbug-ng? I’m currently very busy with my diploma thesis and can’t spend as much time on my pet bug reporting tool as I’d like to spend. The package itself has some small bugs, is not yet feature complete, but in a fairly good shape and quite popular too.
If you’re interested you should have experience with python, QT and maybe some SOAP-skills. You don’t have to be a Debian Developer or -Maintainer!
I haven’t done this before so I don’t know that the best practice for such a situation is. I’m currently thinking of something like:
Dear Lazyweb,
I’m happily using the win32-loader from goodbye-microsoft.com to install Debian/Etch on several Lenovo X61s subnotebooks which don’t have a DVD drive but a running XP preinstalled. The installer correctly detects a 64bit architecture and therefore installs AMD64. Unfortunately I want to run i386 on those machines. Is there a way to force a specific arch for the win32-loader?
Edit: Of course I already tried to install Debian from an USB stick on those machines, but the Debian installer refuses to work at the point where it’s unable to find the DVD/CD drive on the subnotebooks without one. I’ve tried netinst and businesscard, none of them worked from USB for me. Any hints?
I bought me a cheapo webcam the other day and the first thing (meh… actually the second. The first thing I had to do was obviously getting this little piece of plastic working…) I wanted to do was making a time-lapse video of me working on my diploma thesis or something. With a little help from google and the friendly folks at debian-user-german I finally got it working.
What you need: camserv, wget and mencoder.
Assuming you have your webcam working with v4l, camserv will provide snapshots of your cam via http://localhost:9192, so the following script will make a snapshot every second until you kill it:
#!/bin/sh
while [ 1 ]; do
wget http://localhost:9192 -O date +%s .jpg -q
sleep 1s
done
Let it run for several hours and then create the movie with the following script:
#!/bin/sh
mencoder "mf://*.jpg" -mf fps=25 -o output.avi -ovc lavc -lavcopts vcodec=mpeg4:mbd=2:trell=yes:v4mv=yes
Hint: coding, juggling and even sleeping at your desk looks cool in time-lapse - eating or singing your favorite songs while listening to them does not max_frames value to 1 in the [socket] section of /etc/camserv/camserv.cfg to get proper single images via wget.
I find the camserv solution to get the images from the webcam rather suboptimal, has anyone a smarter solution?
NP: Gianna Nannini - Bello e impossibile
Due some drastic changes in my personal life, I wasn’t very active in the last two months. Now things are getting normal again, and I’m looking forward working on rng and my other packages again.
Sorry for all the unanswered mails, I’ll need some time to clear the backlog.
I’m currently working on my diploma thesis so my Debian related activity level won’t be as high as it was two months ago. But it should be at least high enough to keep the packages in a good shape.
/etc/cups/cupsd.conf and replace the line
Listen localhost:631
with
Port 631
and add the line
BrowseAddress @LOCAL
Now save the changes and restart CUPS and you’re done.
On the client side
Since most Linux distributions and MacOS support zeroconf out of the box, I’ll just explain how to setup the Windows client.
On the Windows side you’ll need to install Bonjour for Windows which is freely available on apple.com.
Bonjour for Windows will enable Multicast DNS (mDNS) and DNS based Service Discovery (DNS-SD) on your Windows machine. Once it is installed, you can start the printer helper application provided by bonjour which will guide you through the process of installing the network printer. The only problem here was that although it correctly identified my printer, it only let me chose between a generic postscript and a PCL driver. Both were not working correctly so I had to manually change the driver for this printer to HP LaserJet 4 Plus (which is my printer) after the setup via the printer properties, where all other printer drivers where available again.
That’s it! Now you should be able to print on every zeroconf aware operating system connected to your network. Oh, one final warning: With this setup, everybody in the LAN will be able to print without prior authentication. This should be what you want in most cases when running a home LAN or a small business LAN anyways, but it’s certainly not so cool when strangers have access to your network.
The whole setup process took like 15 minutes today. I remember me a few years ago, not being very experienced with Samba and CUPS wasting a whole weekend to achieve the same result. Thanks apple for making life a bit easier again!
Open64 is an open source, state-of-art, optimizing compiler for the Intel IA-64 (Itanium), AMD Opteron and Intel IA-32e architecture. It derives from the SGI compilers for the MIPS R10000 processor. It was released under the GPL in 2000, and now mostly serves as a research platform for compiler and computer architecture research groups. Open64 is licensed under the GPL. Open64 supports Fortran 77/95 and C/C++, as well as the shared memory programming model OpenMP. It can conduct high-quality interprocedural analysis, data flow analysis, data dependence analysis and array region analysis.Open64 installation The installation is pretty easy fortunately:
$ wget http://ovh.dl.sourceforge.net/sourceforge/open64/open64-4.0-src.tar.bz2 $ tar xfvj open64-4.0-src.tar.bz2 $ cd open64-4.0 $ export TOOLROOT=/opt/open64 $ make $ make install (as root)I think you need gcc-3.4 (gcc 4.x is not yet supported), and for some odd reason you also need csh as one of the install scripts seems to use it. It would be nice if someone could package Open64 for Debian, I definately don't have the time to maintain such a huge package (a whole maintainer team would probably be good here). Rebuilding the Debian archive There are several possible ways (and tools) to rebuild the Debian archive; I've used pbuilder/cowbuilder with the rebuild scripts from Bastian Venthur, which are now included in pbuilder. First we need to install the required packages, setup a cowbuilder base chroot, and get the list of packages:
$ apt-get install cowdancer grep-dctrl wget devscripts sudo $ cowbuilder --create --distribution lenny --basepath /var/cache/pbuilder/testing-base.cow $ cp -r /usr/share/doc/pbuilder/examples/rebuild . $ cd rebuild $ ./getlist lennyNow we add Open64 into the cowbuilder chroot and fix up the chroot by pointing the gcc/g++ symlinks to Open64:
$ cp -a /opt/open64 /var/cache/pbuilder/testing-base.cow/opt $ chroot /var/cache/pbuilder/testing-base.cow $ cd /usr/bin $ mv gcc gcc.orig $ ln -s /opt/open64/bin/opencc gcc $ mv g++ g++.orig $ ln -s /opt/open64/bin/openCC g++ $ exitIn addition, we set the
CC and CXX environment variables to Open64, which will make 90% of all (autoconf-using) packages automatically use Open64. We need a small script for that:
$ cat c.cfg: export CC="/opt/open64/bin/opencc -m32" export CXX="/opt/open64/bin/openCC -m32"Now edit the
buildall script. Change the Debian mirror used there (optional) and make it use our c.cfg script by adding the --configfile /path/to/rebuild/c.cfg option in the "pdebuild" line.
We can now finally start building the archive:
./buildall list.lenny.i386 lennyYou can also run multiple
buildall instances at once to speed up the archive rebuild on SMP/multicore machines, and you can even abort the command and simply restart it later. The script will continue where it left off.
Results
The whole rebuild (with 2 instances of buildall running at the same time) took ca. 9 days on an AMD64 Athlon64 X2 (dual core, 1.8 GHz each) machine with 1 GB of RAM.
I really should have used something like apt-proxy to speed up the rebuild and save some bandwidth, but I read about apt-proxy too late...
All log files from my rebuild are available for detailed analysis if anybody is interested (you can browse the logfiles online or download all of them as tarball). I didn't perform any detailed analysis, just some rough numbers here:
A few months ago when I was trying to help the KDE team on their bug triage, I’ve missed the feature to sort bugs by their date of the last action in our BTS since I’ve noticed that many of the very old bugs (last action-, not bug number wise) where already fixed or could be closed for other obvious reasons. The problem was just to find all those “stale bugs”. I was able to close dozens of old bug reports but it took much more time to find them, than to decide whether they’re still active or not. And since I hadn’t the tools available to find the “easy targets” on a quick way, I gave up after a few days.
Today it’s just as easy as firing up rng and let it search for all bug reports belonging to the qt-kde team:
rng debian-qt-kde@lists.debian.org
and sorting the resulting list by last action… sweet!
The package was just uploaded and should be available tomorrow.
Update: Don pointed out that you can get the ordering in the web interface too by appending ordering=age to the URL. Neat.
[-]keyword [[-]keyword2] ...
Multiple keywords are separated by whitespaces and can have a leading minus. A leading minus means “exclude” the whitespaces represent the logical AND.
Some Examples:
foo bar -baz means all bugs containing the words foo, bar and not bazoutstanding -wishlist means all bugs which are outstanding and not wishlist-resolved will show all open bugsQTable.hideRow(int) and -showRow(int) seem to be very expensive even when I temporary disable all graphic updates for this widget during this operation. If someone knows a trick to circumvent this, please tell me (you may get a pony…).
This feature isn’t spectacular, but it should make filtering big buglists a lot easier.

thread.start_new_thread(webbrowser.open, (url,)). No need to clean up the child process after it has finished, just call start_new_thread with the function and it’s parameters and forget it.Debbugs/SOAP which always calls the latest versions of the remote functions. But you can also use Debbugs/SOAP/V1 (Version 1 currently matches Debbugs/SOAP). This will ensure that changes in debbugs SOAP interface don’t affect your implementation.Next.