Search Results: "Bastian Venthur"

11 October 2008

Bastian Venthur: Tags

Version 1.2 of reportbug-ng now shows the tags of a bug if available. This was long overdue. Now you can for example, quickly search your bugs for the ones with the moreinfo-tag set and sort the resulting list by the date of the last action. This should give you a quick overview of bugs which may need some action (eg. another reminder to the submitter) or can potentially be safely closed. rng-tags.png In the next step I’ll improve the filter of rng and add a context menu which will allow to manipulate the tags of one or more bugreports and send all the changes in a single mail to control@bugs.debian.org.

7 October 2008

Bastian Venthur: Lenny s release date

Today, an article at heise online claimed, that Lenny is supposed to ship this year, quoting Alexander’s blog entry. While I can’t find a single word in Alexander’s article claiming that we’ll release this year, I’m pretty sorry that just after we failed the first deadline which was obviously too “optimistic”, we get another one which is too short. Two month’s ago I created a pretty simple estimation regarding Lenny’s release by looking at the rc-bugfix-rate of the last two releases and applying them to the current number of rc-bugs. As a result it looked more likely that we release Lenny in June 2009 than in September 2008. Until now, my guess for Lenny’s release still holds, at least the updated rc-graph lies perfectly on the line I’ve created two months ago. rc-graph2.png While I wish that we’ll release Lenny as soon as possible, I hope that someone will clarify the proposed release date to the media and this time with a more defensive deadline. Some people might actually trust our estimation (I know this sounds silly). And even if everyone knows that Debian notoriously releases too late — we could at least try to propose more realistic dates and update them regularly. Just two weeks ago I still read and heard in the media that Debian will release Lenny in September although it was clear at this point that this is impossible.

14 September 2008

Bastian Venthur: Gettext and QT4?

Dear Lazyweb, do you know how to translate QT4 applications with gettext? Looks like QT4 now uses it’s own mechanism (lupdate -> .ts -> linguist -> .ts -> lrelease -> .qm) for translating strings, which makes things a bit complicated if the rest of your application (the non GUI part) still uses gettext. The background is — as some of you may have noticed — that rng’s GUI isn’t properly translated anymore since the switch from QT3 to QT4. I don’t know if I just should adopt QT4’s translation mechanism, but for now it would be very nice if I just could use my .po files for the QT4 stuff.

28 August 2008

Bastian Venthur: Finally, a Debian Live CD

That was just about time. In the last two Linux Tag events people asked us for Live-CDs and we had to explain why we don’t have any, while most other distros have. Now we finally can offer a Debian Live-CD. Still beta, but a huge improvement. Thanks Debian Live team!

3 August 2008

Bastian Venthur: What is group x in /etc/group for and should I be a member?

A few days ago I noticed that suspend to RAM didn’t work anymore on my T60 running sid. By chance I stumbled upon #484248 which explains that the user now has to be in the powerdev group to be able to suspend the machine. If I hadn’t found this information, I would have had no idea what to change to make me able to suspend my machine again. Shouldn’t we have a central list somewhere in /usr/share/doc explaining all the different groups and what they mean? Most of the times the package a group belongs to already explains what the meaning of this group is, but if you don’t know the package, you’re pretty much screwed. I’m not saying, we already have too many groups, but a list with all the important groups and what they’re for would be a huge usability improvement. We can’t expect the user to find that information for every group alone.

1 August 2008

Bastian Venthur: My guess for Lenny s release date

Looking at the current number of release-critical bugs, my guess for the actual release date of Lenny is: around June 2009. rc-graph.png The blue lines have exactly the same angle, the greenish line marks the planned release date. I know that’s not exactly scientific, but let’s see how close I am. The blue graph marks by the way the number of release-critical bugs in stable.

19 July 2008

Bastian Venthur: Rng 1.0 in unstable

I’ve finished the porting of rng from qt3 to qt4 and uploaded it to unstable. It has some minor regressions compared to the qt3 version, like the localization of the qt4 widgets which isn’t working yet and that the column which sorts the table isn’t saved and restored properly on startup, but it closes many other bugs and it doesn’t crash anymore. The new version doesn’t bring so much new features so far, but since it’s using much of the stuff which came with QT4, like the QTableModel and the QWebView, it runs much faster in many cases, e.g. when sorting or filtering the table. Ah, and last but but not least: thanks to WebKit rng even passes acid1 and acid2. Doesn’t yet pass acid3 but I guess someone is already working on it :) rng passing acid2

13 July 2008

Bastian Venthur: Porting rng to QT4

Today I was busy porting reportbug-ng to QT4. One really cool thing I noticed is the new QWebView widget, which is the main widget of the QWebKit module. It works surprisingly easy compared to the good old QTextBrowser of QT3 — now you can just throw an URL at it and it will render the page nicely complete with CSS, images, etc. Here’s the obligatory screenshot: reportbug-ng qt4 as you can see, the bugreport looks much better than in the old version of rng. WebKit does a really good job rendering the HTML, I think the fonts look even smoother than under firefox. To ease the transition to from QT3 to QT4 I’ve extracted all the Debian BTS specific stuff to python-debianbts and uploaded it to unstable. Rng uses it to query our Bug Tracking System via it’s SOAP interface and get the data in Python’s native data types. There is still the problem with rng (QT3) crashing when showing bugreports. I’ve investigated the problem a bit and found out that it is not rng’s fault but probably a problem with python-qt3 or one of it’s underlying libs. QTextBrowser causes segfaults in nearly 50% of the cases where you try to render html from a different thread: here’s an easy way to reproduce:
# crash.py
# Usage: python crash.py "some text"
#        python crash.py "some evil html”
from qt import *
import sys
import threading
class Form(QMainWindow):
    def __init__(self,parent = None,name = None,fl = 0):
        QMainWindow.__init__(self,parent,name,fl)
        self.browser = QTextBrowser(self, “browser”)
        self.setCentralWidget(self.browser)
if __name__ == ‘__main__’:
    if len(sys.argv)  2:
        print 'Usage: %s "some text"' % sys.argv[0]
        sys.exit()
    s = str(sys.argv[1])
    # setup qt stuff with a browser
    app = QApplication(sys.argv)
    app.connect(app, SIGNAL("lastWindowClosed()"), app, SLOT("quit()"))
    form = Form()
    app.setMainWidget(form)
    form.show()
    # start a different thread and try to set the text in the browser
    # we wait 1.0 second -- just to make sure the change happens after the
    # start of app.exec_loop() below
    t = threading.Timer(1.0, form.browser.setText, (s, ))
    t.start()
    app.exec_loop()
QWebView doesn’t seem to have this problem, the QT4 version of rng didn’t crash a single time. I’m not quite ready with the porting to QT4, and since I’ll be quite busy during the next weeks I suppose it will take a few weeks until the new version will be updated to unstable.

11 July 2008

Bastian Venthur: Maximize vs Maximize to Preferred Size

In times where screen resolutions of 1600x… and above are becoming more and more common, I wonder if the maximize window button which enlarges a window to take all the available space on the desktop is still as useful as it used to be. I noticed that some (if not all, I’m not a Mac user) applications on Mac only maximize their windows depending on the content of the window. For example if you maximize the window of your word processor, the window becomes only as wide as necessary to make the whole page visible. This doesn’t just look better on very large monitors, it is also more usable than a simple maximize since it doesn’t unnecessarily hide other windows. Is there a window manager for Linux which does something similar, or better: is something like this possible with KDE? I know that QT widgets have a “preferred size” — shouldn’t it be possible to have a maximize to preferred size button? It’s surely not useful for every application, but may applications only need a quite small main window and look very ugly when maximized.

7 July 2008

Bastian Venthur: Segfaults Everywhere

Dear Lazyweb, A few weeks ago rng started to show some segfaulty behavior. I’ve absolutely no idea what’s going on, since Python code usually doesn’t segfault. I guess the problem lies in the qt3-bindings rng uses — does someone know how to verify this? There is a backtrace which seems to show that the problem lies somewhere in /usr/lib/python2.5/site-packages/qt.so but I’m not entirely sure how to interpret that.

Andrew Pollock: [tech] On tab completion in Python

Bastian Venthur has discovered how to enable tab completion in the standard Python interpreter. Good to know, but I'll still stick with ipython. It offers tab completion by default, and a lot more.

6 July 2008

Bastian Venthur: Tab Completion in Python s Interactive Mode

While browsing the python docs, I accidentally stumbled upon this today. It describes how to get Tab completion in Python’s interactive shell:
  1. Create a ~/.pythonrc file with the following content:
    try:
        import readline
    except ImportError:
        print "Module readline not available."
    else:
        import rlcompleter
        readline.parse_and_bind("tab: complete")
    
  2. Put this somewhere in your ~/.bashrc
    export PYTHONSTARTUP=~/.pythonrc
The .pythonrc will be executed every time the Python interpreter is started but not when it executes a script. How does it look like?
$ python
Python 2.5.2 (r252:60911, Jun 25 2008, 17:58:32)
[GCC 4.3.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> l = []
>>> l.
l.__add__           l.__getslice__      l.__ne__            l.append
l.__class__         l.__gt__            l.__new__           l.count
l.__contains__      l.__hash__          l.__reduce__        l.extend
l.__delattr__       l.__iadd__          l.__reduce_ex__     l.index
l.__delitem__       l.__imul__          l.__repr__          l.insert
l.__delslice__      l.__init__          l.__reversed__      l.pop
l.__doc__           l.__iter__          l.__rmul__          l.remove
l.__eq__            l.__le__            l.__setattr__       l.reverse
l.__ge__            l.__len__           l.__setitem__       l.sort
l.__getattribute__  l.__lt__            l.__setslice__
l.__getitem__       l.__mul__           l.__str__
>>> l.
Very cool! Why is this hidden so deep in the docs and not enabled by default?

3 July 2008

Bastian Venthur: Linux Action Show

MJ Ray noticed that LugRadio is going to end soon and asks for alternatives. I’d recommend to give Linux Action Show a try. I’ve always preferred it over LugRadio. It is funny, informative and not quite as vulgar as LugRadio.

9 June 2008

Bastian Venthur: Lenny won t ship rng

Philipp thinks, the fact that rng is not using the information in /usr/share/bug renders rng “unfit for release” and upgraded the corresponding bugreport from wishlist to serious. Moreover: since I dared to downgrade the report back to wishlist he decided to remove rng from testing and block it until the bug is fixed. I don’t want to heat the debate about this bug again, but Philipp’s decision seems arbitrary for me and I wonder if the same standard is applied to every other Debian package. I mean, rng has no release critical defects. It just does not use the aforementioned scripts as additional information in bugreports — does this really render the software “unfit for release”? For example: In Etch we shipped a famous email client with a known bug which lead reproducibly to loss of emails on IMAP accounts, just because removing the program, or one of it’s components was not possible in the remaining time.

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.

Next.

Previous.