Search Results: "venthur"

4 June 2008

Bastian Venthur: actual file size does not match size in .changes

Beh! Looks like it is currently not possible to use debsign from etch to sign packages built in a sid cowbuilder environment. Update: Adam just pointed out that this was already announced on debian-devel-announce. He proposed to get an updated version of devscripts from etch-backports. I wonder if we shouldn’t provide a fixed version of devscripts in etch officially, just in case someone who maintains packages actually *erm* uses it.

31 May 2008

Bastian Venthur: Linuxtag 2008

Linuxtag 2008 is over. Like last year’s Linuxtag, it was a very nice event. We had a lot of visitors, answered a lot more questions and sold many t-shirts, posters and stickers at our eee-pc *cough* Debian booth. It was also very nice to meet some other people from Debian — one of the rare moments in life where I can feel really young again… sorry guys :P Of course there were many interesting talks and booths from other projects at this year’s Linuxtag. After Nico’s and my yearly Linuxtag raid, I had like a dozen different ball pens, a t-shirt, a handful of cookies, and many many gummy bears. Unlike last year, this year we had no Debian Day — but guess who showed up at our booth yesterday: Ian Murdock and Bastian Venthur at Linuxtag 2008 that’s right, Ian Murdock himself! I was so nervous to meet him, that I almost forgot to ask for a picture. Apropos showing up at our booth: although we where fairly good manned at our booth, we felt that a few more helpers wouldn’t have hurt. We (the staff from this year’s Debian booth) just want to say, that you don’t have to be a Debian Developer / Maintainer or whatever to help at our booth. If you’re an enthusiastic Debian user and can spare some time, you’re very welcome. The tickets for the staff are usually free, so don’t hesitate to ask if you can help next year!

15 April 2008

Bastian Venthur: 4 months and 10 days without any new Debian developer

I sadly agree with Lucas. Waiting several months after you finished all the tests until your account gets finally created is really frustrating and demotivating. In my opinion this is just a lack of manpower and seemingly no one who dares to step in to solve this problem. Why again don’t we just throw a few more people at this problem?

27 March 2008

Bastian Venthur: Happy Birthday rng!

Hmm, better late then never, I guess. One year and two weeks ago, reportbug-ng was initially uploaded to Debian unstable. Happy birthday rng! I wish you a lot of ponies in the next year!

13 March 2008

Bastian Venthur: The Eagle has Landed

Yesterday, I submitted my diploma thesis (one day before the deadline — yay!), so I will hopefully have much more time to work on my Debian packages again.

16 February 2008

Bastian Venthur: Good Python IDE

Philipp asked for a good Python IDE. I’d recommend Pydev, which is a plugin for Eclipse and works really well. I use it exclusively when coding in Python, and I’m very happy with it. Unfortunately the eclipse version in unstable is not the current one, so you can’t use the latest Pydev version, but even the latest one which is working with eclipse 3.2.x works well enough.

31 December 2007

Bastian Venthur: Juten Rutsch ins neue Jahr!

Happy new year everyone! NP: Moby Jam for the Ladies (Nevins Club Blaster mix)

23 December 2007

Bastian Venthur: Merry Christmas everyone!

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 :) NP: Thomas D - Liebeslied

18 December 2007

Martin F. Krafft: bugscripts and rng

Yes, Bastian, there is a way to do what you want. I believe I told you from the very start: refactor reportbug and implement reportbug-ng on top of the existing code. But no, you chose to reimplement everything (a typical thing to do for GUI programmers) and now you are asking us maintainers to change the way we've been doing things for years? You also make presumptuous statements about how we deal with bug reports. If you personally hate how certain packages prepare bug reports, then maybe you should personally suck it up and use different software? Seems like a more logical and less intrusive way forward, then expecting others to "send a friendly mail" to ask for more information on a bug report. Maybe you have all the time in the world, but I don't. I can work on e.g. mdadm (which uses an interactive bug script) only on rare occasions, and then I'd rather fix and close bugs than to indulge in another iteration of bug submitter ping-pong. You are also personally annoyed by long pre-subject texts, which you doubt anyone reads? I don't even bother to challenge that, but let me say that pre-subject texts are there to prevent stupid bug reports, or bug reports filed in the wrong place, and to take load off the maintainer. So you chose to ignore them? Given the projected user-base of your tool, I'd say you should rather force people to read them by asking them to transcribe the text. If you don't want to pop up a terminal, well, why the heck didn't you integrate debconf properly, while reusing reportbug, and taking a step forward to provide a proper interface for bug scripts? Why do you even bother to whine about interface issues at this point? Feel free to take over my packages, which make use of interactive bug scripts. I see zero reason to change them, and I will not. NP: The Flower Kings: Paradox Hotel

Bastian Venthur: On #422085 and #417256

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:
  1. I personally hated that some packages sent a huge amount of unrelated info with every bugreport for this package, even if it’s not meaningful for this bugreport. I made a quick check against my favorite package with a very long output and thought (and still think) that this info is not even relevant for the majority of bugreports of this package. So I thought it was not too much to ask, to write the reporter a friendly mail to post the output of this script, if it’s really needed.
  2. I was personally very annoyed by packages with very long presubj text, which I doubt anyone reads anyway. Since I don’t want rng to be annoying to the users, I decided to leave that feature away. An implementation of this feature would mean to pop up a window with some text the user should read before continuing to report the bug. I don’t like popups and don’t want rng to make use of them.
  3. I’m definitely opposed to a feature which will pop up a terminal where a user has to do something before he can proceed reporting a bug. Sorry, but this won’t happen in rng. I might consider such a thing if it could be scripted to use QT or even GTK but a terminal popping up in a GUI application is a no-go for me, sorry.
  4. I was personally very annoyed by some of the reactions on this bugreport. Since we’re all volunteers and stuff and this feature is maybe a nice-to-have but definitely not a must-have, I decided to put this issue very low on my to do list.
However, I agree that the stuff in /usr/share/bug isn’t completely useless. The opposite is true, it makes the life of maintainers easier and rng should make use of it where possible. So what can we do now? Maybe we can start all over and discuss this issue in a more friendly and constructive way? Here’s my offer: rng will support bugscripts, but it will not feature a terminal popping up asking a user questions. I’m developing a GUI application and a popping up terminal is not very GUI’ish for me. What can we do about this? Is there a way to implement this? Supporting presubj might be okay too, but I don’t want rng to be annoying. Popups are annoying and having to read the same stuff again and again when reporting multiple times on the same package is annoying too. Maybe rng could spawn a pop up with a checkbox “Don’t show this text again when reporting a bug against this package”? Maybe we could have an option in the (not yet implemented) preferences window where we could suppress those messages completely? And please, don’t use abusive language or even insults when contacting me about this issue. My rng-time is currently very limited and my motivation to work especially on this issue is already very low. We’re speaking here about a fully optional feature. Providing the output of some scripts or having to read a presubj is helpful, but not mandatory when reporting a bug. So please, be nice! I really don’t need all that stress right now.

8 December 2007

Bastian Venthur: Want to get money for nothing and chicks for free, too?

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:
  1. First you send me patches, which I’ll review, apply and upload
  2. After a while you get write access to the BZR repo
  3. Finally become co-maintainer of the package if you want
Interested? Then write me a mail to: venthur at debian org. Oh, and please don’t write if you just want to get your pet-bug-which-I-still-refuse-to-fix fixed. PS: If you prefer guys over chicks, you’re welcome too ;)

4 December 2007

Bastian Venthur: Forcing win32-loader to use i386?

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?

27 November 2007

Bastian Venthur: Time-lapse-video-with-your-webcam mini HOWTO

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. snapshot.jpg 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 :P I recorded myself for ca 12 hours and the resulting video was like 130 megs large. The result looks pretty funny, but since there was a lot of the not-so-cool-looking eating and singing stuff in there, I’m afraid I can’t even show it to my closest friends ;) Hint for users having problems getting proper images from camserv: I had to change 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

16 October 2007

Bastian Venthur: (Almost) Back

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.

20 August 2007

Bastian Venthur: Deserializing SOAP replies with ZSI?

Dear Lazyweb, what is the most elegant way to read a SOAP reply containing a complex type into an object using ZSI? I’ve read the documentation several times and I guess there is an elegant way to solve this, but I still don’t get it. I guess it should work like this: What I’m currently doing with soappy in rng is rather crude: I take the SOAP response which is a dictionary holding many interesting facts about a bug report, take those elements I’m interested in and copy them into a bug report object. Not very elegant, but it works. While I’m moving away from soappy to ZSI I’d like to implement the deserializion the ZSI way. Unfortunately I don’t understand their examples. So please Lazyweb, is there any ZSI expert out there who can provide a minimalistic example?

17 August 2007

Bastian Venthur: Howto setup a print server for Windows (and others) using CUPS and zeroconf

Now that CUPS 1.3 has built in zeroconf support, it is easier than ever to provide print service to Windows machines. You don’t even need Samba anymore. Here’s a quick way to setup a CUPS print server and a Windows client: On the server side First you need to install CUPS 1.3 or higher on your print server and setup the printer (the web interface makes this task dead easy). Zeroconf isn’t enabled by default so you have to browse the CUPS admin page (http://localhost:631/admin if you’re running it on localhost) and enable the “Share published printers connected to this system” option. “Change Settings” will restart CUPS and your printer should be instantly visible to zeroconf-aware applications in the local network. If you can’t or don’t want to use the web interface (which is the easiest way though), you can edit /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!

15 August 2007

Bastian Venthur: My top 5 Firefox/Thunderbird annoyances

Firefox is constantly gaining marked share (especially here in Europe) and it’s little not-yet-so-popular brother Thunderbird is evolving too. While I’m happy that they’re contributing their part to bring Free Software to the masses, I’m concerned that the quality of their software (especially Firefox under Linux) has decreased in the last months. Here are my top 5 annoyances for Firefox and Thunderbird. Some of them only apply to Debian’s version others are more visible on my fairly old and “slow” (1.5GHz/512MiB) Laptop than on current and therefor faster machines: Firefox Thunderbird While I’m still happy with Thunderbird (or Iceddove as we call it here) I’m really searching for an alternative to Firefox (Iceweasel). Unfortunately there is currently no alternative available which fits all my needs. Firefox has two extensions no other browser seems to provide and without which I wouldn’t want to work anymore (I wonder if that was a proper English sentence…): While other browsers have some ad-blocking functionality too, they all seem to lack the filter set updater. The next best alternatives are Konqueror and Epiphany but besides the lack of the above features every one of them has it’s own little quirks which doesn’t really motivate me to make the switch yet. But Konqueror is making progress and I’m really looking forward to KDE4 which will hopefully bring a usable web browser so I can finally get rid of Firefox. Update: Ooops, I nearly forgot my favorite pet annoyance of Firefox under Linux: Why does it have to insult the user’s eyes with this ugly toolkit when drawing check boxes, line edits, buttons etc? Firefox under Windows paints stuff like that according to Windows’ current theme, Konqueror under Linux as well, but what does Firefox for years?

10 August 2007

Bastian Venthur: Rng and others temporary broken

Just a short note to let you know that due a change in debbugs’ SOAP interface several applications including apt-listbugs and rng are temporary broken. The change was not too dramatic and I suppose the problem will be fixed shortly. Meanwhile you can use reportbug which is not affected, since it still uses the HTML interface. Update: Don fixed the problem and everything should be working as usual again.

6 August 2007

Uwe Hermann: Rebuilding the whole Debian archive using the Open64 compiler

I got bored recently, so I rebuilt the whole Debian archive on one of my machines. To make this not a completely useless excercise, I used the Open64 compiler instead of gcc and created build logs for your perusal. So what is Open64? From the Wikipedia page:
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 lenny
Now 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++
$ exit
In 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 lenny
You 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: If anybody does some more elaborate analysis, please let me know.

3 August 2007

Bastian Venthur: Implement two features and get the third for free!

Today I’ve implemented a feature which was long overdue: making the table sortable by the available table headers. The second feature I’ve added is that every bug report now has it’s “Last Action” date. While both features are useful for themselves, combining both result in a very handy bug triaging tool. screenshot.png 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.

Next.

Previous.