Search Results: "ag"

21 June 2006

Adeodato Sim : Yay, bzr gives me enough rope to hang myself

I definitely like being given enough rope to hang myself. Life wouldn’t be fun without the challenge of trying to hang myself increasingly less often over the years. And Bazaar-NG has shown me today some of the good rope it can give, and I’m happy. This is about the annoyance that is, at least for me, having to type bzr diff -r 12344:12345 to get the diff introduced in revision 12345, instead of just bzr diff -r 12345 or similar. This happens on other VCSs, like CVS, Subversion, and Bazaar (or so I hear). For Subversion (as an anecdote), five months ago (January) I found out on IRC (thanks, peterS) that a -c option had been added to svn diff which did precisely that (commited 3 months before, in October). An improvment that would be released in version 1.4, due in about a month or so now (but six when I first heard about it, and nine after being implemented). For Bazaar-NG, it’s been today the day I’ve got annoyed enough by this issue (while peeking here, btw) as to search if there had been any discussion on this issue, and I found this six-month old bug. It seemed a bit dead, so I gave my opinion about the issue, and discussion seems to have started again. The good part comes now, though. I’m sure the bzr developers will give a solution to this problem: maybe sooner, maybe later; maybe the one I liked most, maybe not. But, the important thing for me is that I have, within hours of having felt frustrated, a solution that works for me: a plugin that wraps the diff command and interprets “-r N” the way I want. It may make the bzr authors shake their head (or not :P), but I certainly feel grateful for them having given me the possibility of doing it, and of being my responsibility whether to continue to use it in the future. Oh, you can find the crak here. Surprisingly compact. (Update: well, not that much anymore after reimplementing it in a non-dumb way.) NP: Paolo Conte, Via con me

20 June 2006

Roland Mas: Free as in freelance

It’s official: I’m going to be on extended unpaid leave from my employer starting on the 22nd of June, for at least a year. I’ve been a part-time free software freelance for two years and a half, and I think now is a good time to grow that activity. Also, since I was hired almost seven years ago, the company grew (well, “was assimilated” is more like it) from about fifteen people (small start-up) to more than two hundred thousand (France T l com / Orange, you may have heard of them), and the growth pains haven’t quite subsided yet. So I hope I’ll get a breath of fresh air, at least, in case my venture goes flop and I go back to FT next year. So yeah, I’ll be freelancing on everything I can, but my initial focus will probably stay on Gforge, Debian and related topics. Feel free to browse my Gnurandal website and contact me if you’re looking for someone. I’m based in France, but if the job can’t be done via Internet, I’d be happy to fly to all sorts of places.

MJ Ray: Comedy is...

when someone replies to tell others not to reply to the thread, then others reply to agree. Should taking meta-discussion to the absurd be a banning [...]

Martin F. Krafft: GPG keys expire

Today is 2006-06-20, and five years ago I created the GnuPG key pair that I have been using ever since. Possibly due to ignorance, I chose a key validity of one year and consequently stuck with that policy. Thus, every year on 20 June, I have to renew my master (signing) key and generate a new encryption key. And every year, on the days following 20 June, I will get several dozens (if not hundreds) of emails telling me that my key has expired, written by those who write emails faster than it takes to check for availability of the new key. Finally, my key now has hundreds of expired signatures, because it's GPG's default to expire signatures along with the master key. This year, I took a step back and reassessed the choice. The result is that I am not expiring my master key anymore, but I will continue to provide a new encryption key every year, which will be valid for just a little more than a year. Here are the reasons I found why you'd ever expire the master key:
  • the key is intended to be used only for a limited amount of time. This is not the case for me.
  • in case of loss of control and lack of revocation certificate, the key will eventually become unusable. First, I have a revocation certificate, and second, if I lose control over the key it should mean that someone figured out my passphrase, so could just extend the livetime of the key anyway.
And here are the reasons for the encryption keys:
  • if you do lose control over your key, all's lost anyway.
  • if an attacker manages to crack one key, s/he can only read communication of the year during which I used the key, but no past or future communication.
As always, I'd love to hear your input, and I'll post relevant follow-ups. In the mean time, please make sure you refresh my key:
gpg --keyserver subkeys.pgp.net --recv-key 330c4a75
wget -qO- http://people.debian.org/~madduck/gpg/330c4a75.asc.gz \
    zcat   gpg --import
(Note: you can always get my latest key from the above URL) You may also want to consider running gpg --refresh-keys from cron. I suggest doing so on a ghost copy of your keyring though and then to merge from there, or else you'll experience locking problems when trying to use the keyring at the same time.

Carlos Villegas: /sbin/bootchartd and KDE

After finding out that bootchart wasn't considering the whole time for KDE to start up, we are trying to modify bootchart so it ends up with another program. The changes doesn't seem to be working for the moment as the program selected to end logging can't be found in bootchart.tgz. Anybody familiar with this?
On the other side, we are considering to add ELF prelinking as one of the hotpots to decrease the boot process time. Probably it could help when big programs start that need to link to many libraries, e.g. KDE.
Well, as a remark, anonymous comments are now enabled in the blog and a contact address has been added to both, the webpage and the blog.

Jonathan McDowell: ndisc_send_redirect: not a neighbour

Google's not very helpful about this one. If your Linux kernel is spewing this message then you no doubt have IPv6 configured and have a route via a global address rather than a link-local address. I think this should only affect machines that are being used to forward IPv6 packets for other hosts. Anyway, replacing the route to a global IP with a link-local one should make the log message magically go away.

Joey Hess: on forking debhelper

Forking debhelper is apparently so much fun that everyone is doing it. Of course, Ubuntu continues to make changes to debhelper with no regard to the possible consequences, no matter how often I point out that this is a dreadful idea. Today I noticed (it's not like they bother to tell me) that they have added a dh_iconcache command to it, so presumably various Ubuntu packages cannot build with Debian's version of debhelper, and if I decide to add a different dh_iconcache command to it, things might build but incorrectly. To add to the fun, the version of debhelper in Debian unstable is now forked from what I guess I have to consider the "upstream" debhelper, since it got NMUed. This fork modifies dh_python in ways that, if I decide I don't like, I will have to either painfully carry forward or break a lot of stuff to get rid of. The reason it was NMUed is because I'm not interested in debhelper being in the middle of the senseless conflict between python-central and python-support. (It's a good time to be a perl user BTW. TMTOWTDI?) All this is not very much motivation for me to continue to work on this stuff, but we'll see I guess.

Wouter Verhelst: GTK+-2.0 on armeb

Sometimes, dependencies on Debian can be an insane horror. The current version of perl on armeb is 5.8.7-8. More recent versions aren't built because they're caught up in some dep-waits: I've now prioritized all of perl, db4.4, java-gcj-compat, and gcj-4.0. Boy, what a mess did I make. Update: ... and gcj-4.0 requires libgtk2.0-dev. Argl. Update 2: ... okay, I was confused. The issue is not as described above, since even the version of perl in oldstable is recent enough for defoma's needs. The problem is that the xorg source package is not showing up in the armeb archive, for some reason. Need to prod a few people... Update 3: ... aba fixed it; xorg should now show up in armeb, and has been prioritized. Hopefully, "everything" will build now. I don't know what the issue was, but it is fixed. Thanks, Andreas! (oh, and I promise I'll stop updating now :-)

Evan Prodromou: 1 Messidor CCXIV

It's the first day of a new season in the French Revolutionary Calendar -- the -al months are out and the -idor months are in. I guess that means Summer's really here, which means it's a good time to find a job. Don Marti has a good idea for how to do that: subscribe to the blogs of people who have cool companies. It's a good point -- kind of taking the What Color is Your Parachute? idea into the social software world. Use your informal social network to make job connections, right? Right.

Andreas Barth: Python-central

There are lots of conspiracy theories flying around about python-central. However, the fact is that python-central is an original Debian tool. I'm really very unhappy to see Matthias hard work always being refused as "Ubuntu foo". In reality, he puts lots of time and energy into Debian, and we thank him very little for that. Even more, the major drawback of the competiting python-support is that it refuses to handle the real issues. Of course, reality is complex. But it is way worse if one writes a tool that just breaks if a package earlier in the dependency chain decides to change from python scripts to extensions (i.e. c-code linked with python). Furthermore, the maintainer of python-support first agreed on some common solution for both tools (i.e. the new python policy), and now suddenly removed his approval, and creates another competiting way. I'm all for competition between software, but I'm not too happy with competition of policies - because policies describe how different packages work together, that means, it is an interface description. In the end, my summary is that I recommend to use python-central. And I'm thankful that Matthias did a careful and good analysis how this implementation is done.

John Goerzen: New hosting provider: VPSLink

Thanks to all of the helpful comments people left in response to my last post about hosting. I got some really helpful hints from them -- including the one I eventually followed, to VPSLink.

I wound up going with VPSLink. Their prices are amazing and the performance is good, too.

I have to admit -- I shot myself in the foot not once, not twice, but three times. The shorewall config I was using on my old VPS (which was hosted under UML) apparently doesn't work well under OpenVZ (used at VPSLink). By "doesn't work well", I mean "blocks all traffic to or from the host on startup".

So, I had rsynced over everything from my old host to the new, and rebooted the new. But it didn't come back up. I was pretty sure this was why. I dropped off a ticket to the VPSLink folks asking them to please rm /etc/init.d/shorewall for me.

60 minutes later, they had done it. (And it looks like a bug in their ticket system prevented it from being flagged as "emergency" -- they said they would have done it faster otherwise.)

I then tried to fix shorewall, and it looked like it was working, so I put the init script back and rebooted. Same problem! They fixed it again in about 60 minutes. (The ticket still had normal priority)

Finally, I deleted shorewall entirely, then rsynced my old host to the new one. Things looked good, so I rebooted.... and yes, guess what, that rsync brought back shorewall so it got hosed YET AGAIN. ARGH. This was now well into the overnight hours, but they still helped me out.

All in all, I am so far VERY impressed with VPSLink. I heartily recommend them. I'll be sure to post updates as time goes by.

Regarding Memset, my current provider: Really great company. I heartily recommend them, too. My needs for RAM just wouldn't be ecnomical under their current plans, but they are usually competitive. I also have experience with JohnCompanies. I used them way back when they only did FreeBSD VPSs, on through the Linux days, and we currently use their services at work. These are also great folks and I would recommend them to anyone. Like Mako's suggestion of Rimuhost, both memset and JohnCompanies are "quality first" providers -- not necessarily cheapest, but their systems work as advertised and are almost never down, and they support you with experienced Unix admins. BTW, Memset's current plans use Xen and JohnCompanies uses Virtuozzo.

Eric Dorland: mozilla-firefox 1.0.4-2sarge8

Users of sarge, please try these new mozilla-firefox packages, that contains backports of the security fixes from Firefox 1.5.0.4 (with some small exceptions). There are a rather large amount of fixes in there, so please try it and report any breakage.

Kai Hendry: debian-python traffic

There are interesting developments afoot, complete with Ubuntu conspiracy theories on debian-python. Since I’m working on a couple of Python packages, a new policy has been announced. The python policy has for a long time been inadequate. Come python upgrades practically all python packages needed updates. So I am glad we have something like python-support now. The unfortunate issue is that Ubuntu uses python-central to do this. So having two ways of doing the same thing is a little confusing. The bigger issue though is how the new policy isn’t stable. New X?-Python- control fields were added and now, they look like they’re being taken out. Much to the frustration of some. Oh well, I’m going to keep watching until the dust settles. That means I’m in no rush with the Python policy transition; so don’t worry, be happy.

Dirk Eddelbuettel: UseR! 2006 presentation

A quick note to mention that the slides from my talk at last week's UseR! 2006 conference in Vienna are on my website. My presentation introduces and briefly discusses fifteen different ways to 'use R' in Quantian. Roughly bucketed into four categories (classic, graphical, web-based and programmatically), these approaches cover the spectrum from the well-known to newer and promising interfaces. And of course all run 'as is' directly off a self-configuring and directly bootable Quantian dvd or iso image. Once again, thanks to the organizers in Vienna who mounted yet another conference that was both fun, informative and packed with excellent talks. It also drew even more R users and developers than before -- almost twice the number of participants and presentations than in 2004. It looks like we will meet next year in Boston for a North American UseR!, followed by Munich in 2008.

Gunnar Wolf: Fractional sleep

How cool is this?
if pid=fork
  while true
    puts "# Time.now.sec : I'm the slow # Process.pid , parent of # pid "
    sleep 1
  end
else
  while true
    puts "# Time.now.sec : I'm the fast # Process.pid , child of # Process.ppid "
    sleep 1.0/3
  end
end
What do I get?
18: I'm the fast 9900, child of 9899
18: I'm the slow 9899, parent of 9900
18: I'm the fast 9900, child of 9899
19: I'm the fast 9900, child of 9899
19: I'm the slow 9899, parent of 9900
19: I'm the fast 9900, child of 9899
19: I'm the fast 9900, child of 9899
20: I'm the fast 9900, child of 9899
20: I'm the slow 9899, parent of 9900
20: I'm the fast 9900, child of 9899
20: I'm the fast 9900, child of 9899
And for those of you not familiar with sleep(3), what is so cool about this? Simple: The prototype for sleep in almost any language is:
#include
unsigned int sleep(unsigned int seconds);
(note the unsigned int part?)
Even the Perl documentation clearly says, being compliant with the rest of the world:
For delays of finer granularity than one second, you may use Perl's "syscall" interface to access setitimer(2) if your system supports it, or else see "select" above.
The Time::HiRes module (from CPAN, and starting from Perl 5.8 part of the standard distribution) may also help.
But... Well, in this case I just loved the Ruby way: If it does not hurt to cause surprises, then don't cause them! Keep a simple, portable definition, that will work with seconds or with fractions! Why not?

Gintautas Miliauskas: Localization coordination for Debian #2

I sent a new revision of the suggested translation storage API to the mailing list, addressing all the shortcomings that have been pointed out. Hopefully it will not change much any more and I can start working on an implementation this week. My plan is to first produce a very simple pickle-based implementation of the API. This should be relatively quick to build and would highlight the weak points of the API. I think that this can be finished this week. After that (and possibly revisions to the API) comes the important part: writing a nice wrapper for the existing pofile class. This should not take too long either, another week at most (especially since my exams would already be over). When a .po-based implementation is in place, the fun starts. I'd then like to try to have another application that concurrently uses Pootle's backend storage (currently po-based). Another week of work.

19 June 2006

Edd Dumbill: Edd on Rails

This Wednesday I'm heading out to Chicago to visit RailsConf. The full schedule has now been posted, and it looks like a pretty absorbing affair.It amuses me that US-based conferences often have evening sessions timetabled. In Europe, I've always preferred to leave evenings empty so people can eat, drink and socialise. But in big city hotel-land, I can understand the appeal of timetabling more of the day.Here's a selection of the talks I'm most interested in hearing: Internationalizing Rails (almost the number one question we got asked about Rails when we taught our tutorial at XTech), anything related to testing, Rails Application Optimization Techniques and Tools, Rails Deployment. Oh, and some guy's talking about his work at the BBC.I've just finished writing an article for IBM developerWorks introducing Rails to DB2 users. (I had surprisingly little problem getting DB2 up and running in a matter of minutes on my Ubuntu box.) IBM's DB2 integration for Rails is a great development, and it's nice to see them pushing forward with Rails as a platform. I'm hoping they'll post the article up before RailsConf starts.
Given a bit more hacking time, I'll be intrigued to see how DB2's XML support can play with Rails.I'll be staying at the conference hotel, and am very interested in meeting up with anyone building Rails apps of a decent scale, or looking for a project to work on. Do drop me an email.

Martin Zobel-Helas: How to activate the Error LED on Soekris net4801

modprobe scx200_gpio
mknod /dev/soekris_error_led c 254 20
echo 1 > /dev/soekris_error_led
Now my router can morse errors :-)

Lars Wirzenius: Debian: Packaging tutorial (again)

I gave my Debian packaging tutorial today. The Computer Science department of the University of Helsinki provided the space (a classroom with networking), for which I hereby offer grateful thanks. There were fourteen students, and everyone made a package out of my hello world program (especially written for this tutorial). The slides used my liwc package as an example, and during the talk I noticed a couple of problems, which promptly resulted in a bug report. Excellent! Nobody wanted to do a victory dance, people are too shy. I've now given this tutorial twice: once for three of my friends privately, and once for a larger group. It only covers the very basics of creating packages, and there's much more to learn. Some day I might do a second part, and cover things like maintainer scripts, advanced dependencies, debhelper, pbuilder, and piuparts (the last three were only briefly touched upon today). I might be willing to do the first part again, if there's enough interest. Not very soon, though, teaching is surprisingly exhausting and time-consuming. However, if you'd be interested, please do mail me (at liw@iki.fi).

Steve Kemp: What use is a souvenir of something

xen-tools 2.0b1 released. Please test and let me know what breaks. After so much work, so many bugs, and so many fixes I’m reluctant to go straight from 1.6 -> 2.0, so a 2.0b1 release is in order. Changes: Probably more that I’ve forgotten about. If I hear positive feedback expect a real release and upload to Sid this week. If not .. whenever I get round to it.

Next.

Previous.