Joey Hess: weekend
Out at the yurt. Spent a rather rainy day finishing the floor and
hauling furnishings in up the slippery hillside. I've also spent some time
caught in the yurt trap, it's very easy to be in it and think for ages.
Out at the yurt. Spent a rather rainy day finishing the floor and
hauling furnishings in up the slippery hillside. I've also spent some time
caught in the yurt trap, it's very easy to be in it and think for ages.
I've been experimenting with Gandi's virtual hosting service recently. In fact, this blog is now hosted on it.
Gandi have created by far the easiest hosting service I've used. The web interface allows you to buy credit, create pre-installed virtual machines and log in, all in under 15 minutes. Add the ease of Ubuntu to the mix (just one of the preinstalled images you can choose from), and commissioning times for new services are low indeed.
The hosting service is based on Xen, and allows you to dynamically change the resources your VMs can access (CPU/memory/disk), on a scheduled basis if required. It has an API which provides enough functionality for you to white-label hosting as part of your own web app.

I've take some time this morning to work on xcb-util packaging. I've mainly urge that work because Sebastian Dr ge, the sweet cairo maintainer, agreed to enable the cairo XCB backend (#474353), which requires xcb-util.
The first upload I've made was built from the latest upstream release which is old (i.e. more than one year old). So I've put a git repository in place this morning and packaged the latest git upstream version, with some good patches from Arnaud (upstream+patches branch), that the upstream XCB developers are still reviewing since several weeks: that is the cost to pay for good code quality
Thanks to Sebastian, the new xcb-util targeted for unstable was just arrived in incoming that he already uploaded a new version of the Debian cairo package with XCB backend enabled.
Well, that's a very good day for me since it means that building awesome 3 is no more a PITA (hi MadCoder!) since every dependency is available in the Debian archive.
Yes, Manu Chao was really home yesterday in Paris Bercy. And he was obviously feeling like being home.
The concert began at 21:30 and ended up at 00:30. Yes...that makes 3 full hours concert. All that for 25 euros.
The crowd support, dance, participation was *amazing*. I often go to concerts in the Bercy arena and never saw the crowd in the upper rows being stood up all concert long.
Radio Bemba played their usual tracks first. As usual, the very Manu way to mix songs, themes from all his carreer and mix them up, distord them and make new songs from old ones. This is what always made Mano Negra, then Manu Chao oncerts unique experiences. Just imagine 20,000 people singing Clandestino a capella, most of us not knowing any damn word of Spanish...
After about 2 hours of magic without any stop, the very special moments came in. Manu, Gambit, Majiv (what a guitarist when playing rumbas de Barcelona!), Julio (de Barcelona!)...and all others were just feeling like being home with a few friends. So the encores lasted...and lasted...and lasted. They just didn't want to stop (Manu probably said about 3 or 4 times "c'est fini").
Then, they did something I never ever saw in a big 20,000 people concert since my first one back in....long time ago. Manu asked "do you have 5 more minutes?". So, they stopped for 5 minutes to get the guitars re-accorded(sp?)....the crowd just...waited...and the gig re-started again with songs from "Si Sib rie m' tait cont e", the special book-album he made with friends, inspired by the sad winters he spent in Paris in his early years. Soooooo special and, believe me, that *was* special. Seeing all roadies, crew, friends just dancing backstage and partying clearly showed this was not to always happen (this will probably happen again on today's concert).
He was just feeling like home. And so were we. Not wanting to leave and shut down the light.
Finally, at 00:30, all of us were dead tired and we just hugged around with Manu and left. Just like old friends.
I don't know if that will happen everywhere in the upcoming tour (some dates in France, some in Europe, a few in USA....nothing unfortunately in South America as of now)....but if you have the opportunity to go to Radio Bemba concerts, just do it.
And (IRC reference), really, Erinn, this was not about "ethnic music
for white people" (really wondering where you got this idea...or if
you were just kidding me). I dunno what Manu ever did to kill your
ears, but just try again and, even more important, go to the gig in
your fair city on August 22nd. Radio Bemba concerts will be cheap,
about half the price of regular bug size concerts....just use that
opportunity.

Joey,
I think your whole post only applies to HAL.
Fact is, DBus lets you know through a dedicated signal that you’ve been disconnected from the DBus server; at that point, you cleanup the connection and try to reconnect. Works for me.
Now, the fact that HAL (and/or libhal, it seems) provides no way of handling this situation cleanly is obviously a major bug.
I’m not a great fan of all the desktop crap that’s being promoted and hyped lately, but I am positive about DBus. DBus provides the mechanisms to handle a DBus restart properly, HAL (and pretty much everything else) doesn’t use them, blame HAL, not DBus, for this one.
As for the “DBus should never be restarted”… I have no idea why the DBus upstreams would think that, but that also wouldn’t be the first time distributions disagree with upstreams about what is good and what isn’t. The good news is, this is all free software and we can fix it without upstream’s blessing.
If somebody out there really believes that it is OK for applications to crash/exit when DBus is restarted, then I don’t have the words.
I won’t even mention the new behaviour of the DBus init script in Sid.
The most dynamic segment of the software industry that I'm aware of is web programming. Flamewars rage about frameworks and browsers and standards and whatnot, and the openness of the whole thing feels like some of the things that made me fall in love with computing as a whole and Free Software in particular. The problem with all that openness is that it's rather difficult to navigate. Aside from the obvious issues with browser incompatibilities, there's an enormous amount of software solutions on the server side, spanning languages, libraries, and frameworks. Each one is an ecosystem to itself, often being large and complicated.
Julien, dbus and hal make
handling server reconnection correctly Hard, or impossible, in my limited
experience. This information is what I can remember based on
git logs
from when I beat my brains against this particular wall for a few days.
You'd think you could check for an exception after calling
libhal_device_get*. Maybe org.freedesktop.dbus.error.disconnected. But
this doesn't work if dbus is down. Instead the function, IIRC, crashes.
So instead, it seems you have to check dbus_connection_get_is_connected
before every attempt to use hal, and reconnect if it's down. But this means
you've introduced a race condition.
Also, once you notice the connection is down, it'd make sense to tell hal
to close the connection to dbus. Except, if dbus is down, hal crashes
instead, IIRC. So there's no way to close an old hal connection in this
case; the best thing to do seems to be to leave it open, and open a new
one. So now your program is not just racey, but it's leaking.
The dbus people
claim dbus is never supposed to be restarted.
Ever. In other words: dbus/hal is badly designed crap. Do not use.
pommed v1.19 has landed, with improvements wrt CPU usage.
This is especially true for gpomme, which won’t cause 10 wakeups/sec anymore. PowerTop fans, rejoice! I plan to fix wmpomme too, but as I’m probably the sole user, this can wait.
pommed will also consume a bit less CPU, especially on machines without ambient light sensors.
The new code in pommed makes use of the timerfd API introduced in Linux 2.6.25, hence you’ll need to run a 2.6.25 kernel or later; pommed will not operate properly on earlier kernels.
You maintain an application that uses DBus? Better yet, you are upstream for an application that uses DBus?
Then, please:
GET OFF YOUR ASS AND HANDLE DBus SERVER DISCONNECTION/RECONNECTION INSTEAD OF CRASHING
kthxbye.
I only filled in those regions that I was checking to organise a
specific trip. With time, if I'll keep using this map I'll add more
regions. Of course, if you now of a weather forecast page of a
regional, public funded agency that is missing here, send me an
e-mail.
After nearly two years stuck with rEFIt 0.7 in Debian, I’ve uploaded rEFIt 0.11 to unstable today.
There’s been a bit of work done on the package, on rEFIt itself and on the tools that come with rEFIt. I’ve also added some (useful, I hope) documentation.
This version of rEFIt supports all Intel Macs to date.
rEFIt in Debian comes with gptsync, both as a Unix command-line tool and as an EFI application. It’s the only tool shipped in the package. The other tools available in the rEFIt binary distribution by upstream (the EFI Shell and utilities) come from the TianoCore project and aren’t available in Debian. See the README.Debian in rEFIt if you want the full story.
Also rEFIt in Debian lacks the machine shutdown feature for now; this feature is part of the EFI 1.10 spec which isn’t supported by gnu-efi yet, though I have also worked on updating gnu-efi for EFI 1.10 and sent this upstream. Filesystem drivers are also affected by this and, as such, are unavailable too.
If you’re interested in the gory details, see the changelog and patches.

It is said broccoli was produced by crossbreeding cauliflower
with rapini. I don't know who said this.
Jun 1 08:22:08 athyr kernel: [ 1412.134045] usb 6-2: reset high speed USB device using ehci_hcd and address 3
echo -1 > /sys/module/usbcore/parameters/autosuspend
Note the following part of the documentation:unable to enumerate USB device on port 4
$ uname -a Linux athyr 2.6.25-2-amd64 #1 SMP Tue May 27 12:45:24 UTC 2008 x86_64 GNU/Linux
deb http://ppa.launchpad.net/juliank/ubuntu hardy mainPlease note that these packages are experimental and are only for experienced users.

Back from my travels, it's time for a few updates. I've mostly blogged about these elsewhere, so I'll just give some pointers here.
The launch of magnetic-stripe cards at Where 2.0 went well.
We had some initial teething issues with Linux talking to the card printers, which was resolved by backing down to Linux kernel 2.6.22 from 2.6.24. I'm not entirely sure what's up with 2.6.24, but it exhibited strange behavior talking to the card printers over ethernet — as if there were MTU misconfigurations. It's a big nuisance, as 2.6.24 is the default kernel shipped with Ubuntu Hardy, an otherwise excellent release.
I've been paying some attention to OpenID 2.0 recently, as it's time for me to upgrade my OpenID accepting websites to use the new release of the specification — if for no other reason than Yahoo! OpenIDs are 2.0-only.
This investigation led me to notice XRIs again, which are the confusing underbelly of the OpenID specs. The W3C Technical Architecture Group recently advised against using XRIs. I wrote about this over on my XML.com blog.
I've not used for that blog for a long time, but will try to do so more. I've realized that I've still got a lot to say about the web, XML and open standards, and the XML.com blog seems like a good place to say it.
Finally, to brag for a short moment. Another XTech has been and gone, and this year's was a great experience for everybody involved. This quote from attendee Paul Smith summed things up nicely, as it tells me I succeeded in my main goal for the conference:
What I really liked about this conference was the mix of attendees and presenters, both from academia, and the commercial world both and small. It made it feel much more valid, and it really felt like everyone was there for the right reasons - not trying to sell anything, but out of a genuinely altruistic wish to make the web better.My sincere thanks to everybody involved in XTech this year.


deb http://ppa.launchpad.net/juliank/ubuntu hardy main deb-src http://ppa.launchpad.net/juliank/ubuntu hardy mainI will also provide some builds of the development branch (0.7.1) soon. Update:Maybe it was not clear, but the videos crashed the browser. It also didn’t really work in totem and I’m still looking for the source of the problem. I have every available gstreamer plugin package installed. Try it yourself, http://de.youtube.com/watch?v=CSp7jsV7oG0. It works with gnash, but gnash does not work with wordpress stats page. Update 2: I now found the real problem: I had an binary version of fluendo’s mp3 plugin installed (from fluendo.com), which caused the crash. After removing the file, everything works. (using fluendo-mp3 shipped with Ubuntu). Update 3: I removed the ffmpeg version from my PPA, as it is not needed.

Next.