Search Results: "ag"

7 November 2007

Holger Levsen: new Debian stickers coming soon

Some time ago I met Colle from the CCC who told me she could create Debian stickers like the ones seppy used to make. And today I saw the first preview:



If you want one or some, make sure you'll attend 24C3 or wait til we meet the next time :-) Remember: good things...

Thanks a lot to Colle for dealing with the printing!

Andrew Pollock: [life/americania] "As keen as mustard"

Daniel observes that the simile "as keen as mustard" isn't grokked by Americans, and had some trouble explaining the etymology of it. As far as I understand it, it derives from a brand of mustard, known as Keen's. Keen's mustard

Michal Čihař: RC bugs

I'm just wondering: Why do all my packages start getting RC bugs which are easy to fix right now, when ftp-master is down and uploads are not possible? It must have some coincidence...

Ross Burton: Today's Hot Hack

Today I got fed up of writing yet another GQueue and idle function to perform tasks incrementally in the background, with all of the bookkeeping that needs to be done. So, I wrote taku_idle_queue_add. Using it is simple, create a GQueue and then call taku_idle_queue_add, passing the queue and a callback function. When the queue has items in it, the callback gets called. Easy! Just remember not to return FALSE from the callback unless you are sure the queue will never be used again. I'd appreciate anyone who knows GSource programming in detail to review the code. Maybe I should even try and get this into Glib? NP: Cliqhop IDM, Soma.fm

Roland Mas: Planet scores

Top posters in a few Debian-related Planets:
$ planet-scores.sh 
Planet Debian-FR :
     19 Rapha l Hertzog
      4 Roland Mas
      3 Jean-Christophe Dubacq
      2 Gr gory Colpart
      2 Alexis Sukrieh
Sometimes I think this should be renamed Planet Buxy.
Planet Debian-FR (utilisateurs) :
     10 Julien Candelier
      8 Emilien Macchi
      4 Guilhem Bonnefille
      3 Shams Fantar
      1 Rapha l Hertzog
      1 Olivier Berger (perso)
      1 Jean-Christophe Dubacq
      1 Jean-Baptiste H tier (djib)
      1 Eric Veiras Galisson
Newly added contributors to that planet have all their recent articles aggregated, not only the ones they wrote since they were added.
Planet Debian :
     40 Christian Perrier
      2 Russell Coker
      2 Raphael Geissert
      1 Wouter Verhelst
      1 Steve Kemp
      1 Romain Francoise
      1 NOKUBI Takatsugu
      1 Michal  iha 
      1 John Goerzen
      1 Joey Schulze
      1 Gerfried Fuchs
      1 Fathi Boudra
      1 Enrico Zini
      1 Emanuele Rocca
      1 Dirk Eddelbuettel
      1 David Welton
      1 Christine Spang
      1 Antti-Juhani Kaijanaho
      1 Adam Rosi-Kessel
Planet "Christian loves rugby".
debian-community.org :
      4 Holger Levsen
      3 Andrew Donnellan
      2 Evgeni Golov
      1 Wolfgang Lonien
      1 Rapha l Hertzog
      1 Martin Albisetti
      1 Marcos Marado
      1 Jean-Christophe Dubacq
      1 Cord Beermann
      1 Benjamin A'Lee
      1 Andreas Putzo
$
I know I have an encoding problem on some planets, but that script is a very basic curl+shell+sed+grep+recode+sort+uniq pipeline, and I only use it for the amusement value. Maybe I'll recode it with a proper RSS parser some day if I feel utterly bored.

Dirk Eddelbuettel: New York Marathon 2007

I was in New York last weekend to run the 37th New York Marathon which reportedly currently stands as the largest marathon ever run in terms of starters and finishers. And it couldn't have happened on a nicer day: sunny at the start with temperatures in the 50s, no wind, and some clouds in the second half prevented it from getting too hot. Large crowds at most parts of the course, a decent number of bands, and a generally very excited atmosphere. And of course a nice course across the five buroughs finishing in Central Park. For once, I managed to run the race steadily and yet fairly fast, ending up with a time of 3:18:47 (and thus a 7:35 pace). This is about a minute slower than my PR from Sunburst 2006, and just two seconds faster than my best Chicago Marathon result from 2006, yet much better than this year's times from Boston 2007 where it was too cold, and Chicago 2007 where it was way too hot. Given that the NY course is somewhat hillier, and that was definitely busier and more crowded than the other races, I'm quite happy with the time, and the way I ran, getting through without any walking breaks. Not quite negative splits at around 1:38 and 1:40 for the two halfes. With enough energy left at the end, I finished the remaining 2+ km after the 40 km with a sub-7:00 min/mile pace which felt great. And it is a nice feeling to have completed the Boston, Chicago and now New York marathons in the same year. Last but not least, the weekend was a general blast as I was staying with a friend I hadn't seen in a decade which made for lots of stories, and even more beers...

Raphael Geissert: Your message to FOO awaits moderator approval..

After sending 785 reports I received three notification messages about my message awaiting moderator approval.


I find it curious that some lists aren't open for anyone to post but anyways used in the Maintainer field of some packages.

Here are the three emails I received:
Your message to Debian-arabic-packages awaits moderator approval
Your message to Pkg-icecast-devel awaits moderator approval
Your message to Pkg-dia-team awaits moderator approval


Besides that, people already started to react to the reports so it seems like my goal will be accomplished :)

NOKUBI Takatsugu: R.I.P. itojun, a great hacker

Yesterday, I went to a ceremony for Junichiro "itojun" Hagino, a famous hacker. He passed away on 29 October and he was 37 years old. The formal funeral is today(7 November). Anyway I can't realize it even now...

Raphael Geissert: mass bugs filing: debian/watch fails to report upstream's version

About five minutes ago I started a script I wrote which is sending over 780 bug reports :).

I have to say at first I was a little bit afraid of something wrong happening (I've never done this before so I didn't want to create a massive mess) so after it sent like 7 bug reports I stopped the script to make sure it was all right.

After verifying the already sent bug reports I started the script once again :)

Right now I'm watching the script's output just to make sure it is all right:

...
Sending report for galrey (2p3-9)...done
Sending report for pads (1.0.2-1)...done
Sending report for qtemu (1.2-7)...done
Sending report for latrine (1.0.4-2)...done
Sending report for libfile-rsync-perl (0.10.0-1)...done
Sending report for mednafen (0.42-1)...done
Sending report for tau (0.8.1-1)...done
Sending report for trang (2.16.4-1)...done
Sending report for xoo (20030619-5.1)...done
...


All bug reports are user-tagged dehs-no-upstream.

This is only the first step on making Debian maintainers more "DEHS-aware" :D

Michal Čihař: Photo uploader 0.4

Good news everyone, new version of Photo uploader has been just released. If you don't know this tool yet, it is helper to upload photos (or images) over net. It was created when I became too lazy to upload hundreds of photos to digilab, but generally it can support any service which allows you uploading of whatever using HTML forms. News in this release:

6 November 2007

Steve Kemp: There's trouble blowing like a hurricane

xen-tools has just got a new command:
xen-resize-guest --hostname=foo.my.flat --increase=5Gb
That will take the existing guest foo.my.flat and magically resize the main disk image to be 5Gb larger. This works for LVM & loopback images, but not yet for users of EVMS. Whilst doing this job manually isn't terribly difficult it can be troublesome to perform all the steps in order without screwing up. Hence the new command. In other news I've managed to fix my broken greylisting implementation - so all the mails which were previously being queued upon klecker.debian.org should now be delivered/bounced. I believe the blame here was 50/50 me and exim's back-off behaviour, but I'll know better in the future. Remember me when you come to choose your next anti-spam service. It copes beautifully with a sustained delivery rate of 300-700 messages a minute when queues suddenly restart delivery ;) TODO: Catchup on mail. Implement message tagging for mutt to better keep track of items which are pending/claimed by me. Until we get RT.

Enrico Zini: axi-searchasyoutype

apt-xapian-index: search as you type I've recently posted: Note that I've rewritten all the old posts to only show the main code snippets: if you were put off by the large lumps of code, you may want to give it another go. Today I'll show how to implement a very attractive feature for a user interface: search as you type. The idea is that you don't need to press enter to fire up a query: instead, the results materialise in front of your eyes as you type them. The example I created uses curses, but the idea is good on any interactive user interface. The main thing to keep in mind with search as you type is that the last word is likely to be partially typed, unless maybe some timeout expired since the user's last keystroke. Xapian comes into help here, as it allows us to expand the partially typed word into an OR query with all the terms that start with it. This means that if we are typing, for example, "progr", we can turn the query into "program OR programmer OR programming OR programmed [...and so on...]". I won't show the UI code, except a simple input loop that triggers the query at every keystroke:
    def mainloop(self):
        while True:
            c = self.win.getch()
            self.line += chr(c)
            self.results.update(self.line)
The interesting part is in the update function. First we split the line in words and convert the words into a query:
        # Split the line in words
        args = self.splitline.split(line)
        # Convert the words into terms for the query
        terms = termsForSimpleQuery(args)
Then we expand the last word with all possible completions:
        # Since the last word can be partially typed, we add all words that
        # begin with the last one.
        terms.extend([x.term for x in db.allterms(args[-1])])
Now we can build the query. Of course you can add all other sorts of things to the query, for example a boolean expression of tag filter like in axi-query-pkgtype.py; Xapian will cope.
        # Build the query
        query = xapian.Query(xapian.Query.OP_OR, terms)
Finally the query. For bonus points you can do the adaptive cutoff trick to discard bad results. In my case, since I don't implement scrolling of results, I also limit them to what fits in the window:
        # Retrieve as many results as we can show
        mset = enquire.get_mset(0, self.size - 1)
Finally, draw the results on screen:
        # Redraw the window
        self.win.clear()
        # Header
        self.win.addstr(0, 0, "%i results found." % mset.get_matches_estimated(), curses.A_BOLD)
        # Results
        for y, m in enumerate(mset):
            # /var/lib/apt-xapian-index/README tells us that the Xapian document data
            # is the package name.
            name = m[xapian.MSET_DOCUMENT].get_data()
            # Get the package record out of the Apt cache, so we can retrieve the short
            # description
            pkg = cache[name]
            # Print the match, together with the short description
            self.win.addstr(y+1, 0, "%i%% %s - %s" % (m[xapian.MSET_PERCENT], name, pkg.summary))
        self.win.refresh()
That's it, try it out. You can use the wsvn interface to get to the full source code and the module it uses. You can see a similar technique working in goplay, where it is also integrated with an interactive tag filter.

Russell Coker: Xen for Training

I’m setting up a training environment based on Xen. The configuration will probably be of use to some people so I’m including it below the fold. Please let me know if you have any ideas for improvements. The interface for the user has the following documentation:
(more…)

Wouter Verhelst: Programming languages suck?

Bruno De Wolf blogs about programming languages. His statement: "all programming languages suck". Not sure whether I agree. But's let look at his arguments. In his words, a good programming language, among others, is readable by a guy who didn't write the original program and who doesn't know all the language details or libraries. Personally, I don't agree. Code readability, above all, depends on the programmer. Programming languages that impose structure can probably help, but it's possible to create unreadable code in any language—that doesn't need goto. Since I went to the 'karel de grote' institute of higher education, I learned quite a number of programming languages. Hairy code is possible with all of them. Unreadable code is easy with some of them, and some of those I do consider good programming languages. I guess my criteria are different: That's it, I guess. In my book, a programming language is a tool to get a job done. A good tool is flexible, not too unwieldly, and somewhat intuitive. Like a hammer. If you want to build a table, you probably need a hammer, among other things. The better the hammer, the more likely it is that you'll get a nice table. But even the best hammer won't get you a wonderfully crafted table if your carpenter sucks at his craft. And so it is with programming languages: it might help if you use a proper language, but any good programmer can write readable code in any programming language.

Christian Perrier: Messed blog

While playing with a method to write my blog entries on my laptop and get them synced on my home server automagically (a nice method to annoy my readers even more), I accidentally messed up old entries and made them appear as being posted today. I won't try to fix that. I just moved them aside to avoid flooding Planet Debian and that's all (hope I really won't flood it). After all, who cares? This is not such an important literature. That entry should be the first being posted from my laptop, anyway.

Christian Perrier: Samba 3.2.0pre1 in experimental

The Samba Team is about to release version 3.2.0 of samba. To prepare this, we built a 3.2.0~pre1-1 package which I just uploaded to experimental. As usual with Samba, users should read the WHATSNEW.txt file to check what changet in samba. One of the major changes is samba being now licensed under GLPv3. In parallel to this, we are now in the process of trying to get the main Debian patches adopted by upstream, which would reduce the size of the diff.gz file as well as save us a lot of work when upstream releases new versions. The main work happens with the "fhs.patch" patch which is aimed at a better respect of the FHS. We began discussions with upstream in a cooperative way and, even if Jerry Carter seems reluctant for some parts, I believe we can have them adopt some of our proposals (Steve Langasek helps a lot in such arguments: having him in a package maintenance team is a blessing....).

Christian Perrier: RWC: 2nd surprise en 1/4 finals

...and I like that one, as one may expect. With only 30% ball possession, France won against New Zealand. They transformed the very few occasions to score tries and finally, thanks to a magic inspiration by Fred Michalak, relayed by Yannick Jauzion, their last try made them win 20-18. The french defense was....close to heroic (179 tackles, whiles NZ tackled 36 times!), particularly at the end of the match, where the NZ bulldozer was trying to score one very last try. Not everything was perfect in this match (particularly a disaster in line-outs: I have never been fond of Rafael Ibanez, but it seems to be time for him to retire...), and only the courage made them win. I really wish I could have been in Cardiff to celebrate this. Champagne... So, rendez-vous to our English friends next week-end, in Stade de France. Given their match today, that will be though, again. Tomorrow, South-Africa-Fiji (yet another suprise?) and Argentina-Scotland. Eh, why not France-Argentina as final?

Christian Perrier: RWC: France punished by Argentina

France sank against Argentina tonight. Last time France played in Parc des Princes, they were crushed by South-Africa, 10 years ago. The same happened tonight with an impressive victory by Argentina against France. France dominated the first 20 minutes but Argentina's defense was heroic and strong. Certainly the best defense play of this entire world cup, in this match, with a great organization around mauls, an impressive scrum and explosive tackles. After being dominated 26 minutes long and anyway scoring a try an, Argentina had to resist 10 minutes before half time when France unsuccessfully attempted to score a try (which would probably have changed the match). I think I will have to review these 10 minutes again as this was a demonstration of defensive play. It is indeed not a surprise that Ibanez lost his nerves and got expelled at the very end of 1st half time. Sad end of career...very similar to Zidane's one, indeed. In second half time, seeing France being crushed so hard was sometimes saddening but Argentina played so wonderfully that we could just be admirative of that play. Again, their solidarity and defensive play made the difference and, 5 tries later, they finally logically beat France. The Argentinian team is really a great satisfaction of the world cup. Playing only with 18 players, they only half-missed one match: their semi-final against South-Africa. I think they now really deserve to play in the Tri-Nations tournament along with New Zealand, Australia and South-Africa: if that doesn't happen, I will really think that other southern hemisphere nations are just cowards..:-) What about France? Well, this is a really sad ending for that world cup. Finishing with two very bad matches is really worrying for the future of that team. There are many promising players in that team (such as Dusautoir, Szarzewski...) and they can probably rebuild something and we still be enthusiast about that sport in this country.

Christian Perrier: Giving credit where due?

So, Ubuntu Gutsy is out. That's great for Ubuntu users, I guess. I indeed just wonder why the official announcement does not even contain the word "Debian". I never played the common "Ubuntu bashing" game that's pretty popular among DD and Debian users, but I probably would have appreciated something reminding the link between Debian and Ubuntu. This is probably not new and I guess that reading the former announcements would lead to the same feeling....this is just the first time I notice this. Isn't Ubuntu still based on Debian? From the activity about the few packages I maintain, I was still thinking this.

Christian Perrier: RWC: No surprise this time...

...but, really, Fiji would have deserved the victory. They did put the Stade Velodrome on fire this afternoon, pushing South-Africa to play....a quite bad rugby with few imagination and many errors. In the RSA team, only Steyn emerged and saved his team from sinking (37-20). RSA scored 5 tries mostly only because they have good four-wheel-driven "trucks". In the Fiji side, Sisa Koyamaibole and Mosese Rauluni lead their team to even the score 20-20 on 65th minute...unfortunately, losing in the last 10 minutes despite the support of the entire French crowd. The Springboks need to improve their play dramatically if they want to have a chance against Argentina (very probably unless Scotland realises a miracle). My conclusion today: the Three Nations from southern hemisphere (RSA, NZL, AUS) should really consider opening their annual tournament to other nations such as Samoa, Tonga, Fiji or Argentina. That would certainly force them to play another game than their usual game. Of course, that would mean being less attractive to players (just count the number of players from Samoa, Tonga and Fiji who play with New Zealand and Australia) but considerably widening rugby in the Pacific area.

Next.

Previous.