Gentoo Logo
Gentoo Logo Side
Gentoo Spaceship

Contributors:
. Alec Warner
. Alex Alexander
. Alex Legler
. Alexis Ballier
. Andreas Proschofsky
. Andrew Gaffney
. Arun Raghavan
. Ben de Groot
. Bernard Cafarelli
. Bjarke Istrup Pedersen
. Brent Baude
. Caleb Tennis
. Christian Faulhammer
. Christian Zoffoli
. Damien Krotkine
. Daniel Drake
. Daniel Gryniewicz
. Daniel Ostrow
. David Abbott
. David Shakaryan
. Davide Italiano
. Denis Dupeyron
. Diego E. Pettenò
. Donnie Berkholz
. Doug Goldstein
. Fabio Erculiani
. Gentoo Haskell Herd
. Gentoo News
. Gilles Dartiguelongue
. Greg KH
. Gunnar Wrobel
. Gustavo Felisberto
. Hanno Böck
. Hans de Graaff
. Ioannis Aslanidis
. Jan Kundrát
. Jeffrey Gardner
. Jeremy Olexa
. Joe Peterson
. Jonathan Callen
. Jonathan Smith
. Jorge Manuel B. S. Vicetto
. Joseph Jezak
. Josh Saddler
. José Alberto Suárez López
. Kenneth Prugh
. Krzysiek Pawlik
. Lance Albertson
. Luca Barbato
. Luis Francisco Araujo
. Marcus Hanwell
. Mark Kowarsky
. Mark Loeser
. Markos Chandras
. Markus Ullmann
. Mart Raudsepp
. Matthias Geerdsen
. Michael Marineau
. Michal Januszewski
. Mike Doty
. Mike Pagano
. Mounir Lamouri
. Nathan Zachary
. Ned Ludd
. Nirbheek Chauhan
. Olivier Crête
. Patrick Kursawe
. Patrick Lauer
. Patrick McLean
. Paul de Vrieze
. Peter Weller
. Petteri Räty
. Pieter Van den Abeele
. Piotr Jaroszyński
. Remi Cardona
. Renat Lumpau
. Rob Cakebread
. Robert Buchholz
. Robin Johnson
. Romain Perier
. Ryan Hill
. Sebastian Pipping
. Serkan Kaba
. Shyam Mani
. Steev Klimaszewski
. Stefan Schweizer
. Steve Dibb
. Stuart Longland
. Sune Kloppenborg Jeppesen
. Sven Wegener
. Thilo Bangert
. Thomas Anderson
. Timothy Redaelli
. Tiziano Müller
. Tobias Klausmann
. Tobias Scherbaum
. Yuval Yaari
. Zack Medico
. Zhang Le

Last updated:
October 27, 2009, 23:04 UTC

Disclaimer:
Views expressed in the content published here do not necessarily represent the views of Gentoo Linux or the Gentoo Foundation.


Bugs? Comments? Suggestions? Contact us: planet@gentoo.org

Powered by:
Planet Venus

Welcome to Gentoo Universe, an aggregation of weblog articles on all topics written by Gentoo developers. For a more refined aggregation of Gentoo-related topics only, you might be interested in Planet Gentoo.

October 27, 2009
Josh Saddler a.k.a. nightmorph (homepage, stats, bugs)
Intel graphics and gaming, Abiword 2.8.0 (October 27, 2009, 19:07 UTC)

Last night I installed UT2004 on my laptop, after not playing it since June. The laptop in question is an older ThinkPad R61i, with an Intel X3100 graphics chip. I know -- not the best for gaming. However, most online reports I found indicate that it's acceptable for such an old game as UT2004, so I figured it'd be worth a shot. The Intel graphics drivers have made a lot of progress in the last two years, especially on the 3D front, right? Right?

Kinda. After reducing all settings to "low" and dialing back the resolution to 1024x768 (native is 1280x800), the game is playable, but with very uneven framerates. Looking toward the middle of a map, or anyplace with a lot of action, introduces a good stutterfest; frames are down to between 8 and 18FPS. I enabled a few extra options such as pixel shaders and VBOs in UT2004.ini to add a bit more performance, but it's still marginal.

I'm rather disappointed. I'm not having nearly as great an experience as other Linux users, and certainly not as good as the Windows gamers who've benchmarked Unreal on this hardware. However, I did also catch the huge xorg-server 1.7 update as well, so maybe there have been some performance regressions since 1.6. It makes it a little hard to determine the areas that could use tweaking. I don't have anything special in my xorg.conf, just a default resolution. It's possible there's a setting I'm missing.

I'd like to try UT2004 on my desktop workstation, which has a RadeonHD 4550 card, but all reports indicate that even the latest git checkouts of the open-source drivers still don't work with Unreal. Apparently the game can't even launch, much less run at playable speeds. But as rapidly as the drivers are maturing, I'm hoping this'll be fixed in a month or so. Call me optimistic. :)

* * *

It looks like Abiword 2.8.0 was released today, so I wrote an ebuild and made it available in my devspace. I've been hand-writing these things for awhile. It took quite a bit of research to determine what went into the 2.7 betas, and now I'll have to do another overhaul of the 2.8 ebuild to account for the new plugin system. There's no longer a separate abiword-plugins package; they're all distributed in the base 2.8.0 archive. This means there will be a lot more tricky configure checks and USE flags, which sucks from a flexibility standpoint. Keeping the plugins in an external package was much simpler, so I'm a bit disappointed by this upstream decision.

Still, right now you can download and install Abiword 2.8.0 using my ebuild. While it needs a few cleanups, it will get you set up with a fully functioning basic Abiword install, though the only available plugin (as shown in the "Plugins" dialog) is .odt support.

This new version launches much quicker than 2.7.10, and it seems to have fixed all the rendering errors and even the crashes that happened with basic operations. Basically, you can click stuff now without worrying. :)

Cleaning up my ebuild is a long task, thanks to those darned plugins. Patches welcome, or I suppose you could always just wait and see what ends up in Bugzilla.

Steve Dibb a.k.a. beandog (homepage, stats, bugs)
my blu-ray ripping trial run (October 27, 2009, 15:47 UTC)

Yesterday, I wanted to see if I could rip a Blu-Ray disc using my PS3.  I really want to get a BD-ROM drive, but they are so expensive still, and since I can install Linux on my PS3, I figured maybe I'd try and save myself some money and see if I could manage to get one ripped and decrypted.  It actually worked, which surprised me.  Ripping the disc was the simplest thing in the world, but the key on the movie I tried (Willy Wonka and the Chocolate Factory) was too new, and currently only AnyDVD has support for it.  I'd love to buy a copy of that, but it only runs in Windows, and it's really expensive.  Instead, I'll just have to wait for the keys to pop up eventually on the doom9 forums.

The first step, though, was getting the PS3 to run Linux.  I took the shamelessly easy way out (and I don't regret it either) and installed Xubuntu.  I won't go into details about how I got Linux on my PS3 since that's well documented.  I will say that I remember quite vividly now why I can't stand binary distros.  Bleh.

The BD filesystem is UDF.  Providing you have a recent kernel (2.6.20, I think) with UDF v2.5 support, you are good to go.  I mounted a remote share and just dumped the disc to an ISO file onto my desktop.

$ cat /media/cdrom0 wonka.iso

That was the easy part.

The hard part was trying to get it decrypted.  I had to use Java tools (bleh) to get to the source.  There are three applications you need.  And if you hate digging through forums and using download services, then I've got direct links for yah:

For Gentoo, you'll need to install the JDK to build the aacskeys library and binary.  I just emerged dev-java/sun-jdk and it worked for me (I know absolutely nothing about Java, but my stabbing in the dark miraculously worked).  You'll also need a runtime environment to actually execute the stuff, and I emerged dev-java/sun-jre-bin and that worked fine, too on my amd64 box.

For aacskeys and Gentoo, you'll need to apply this patch that I cobbled together from what I found on the doom9 forums to get it to compile.  It just fixes the Java include directorys for the Makefile.

Now, I'm still a bit fuzzy about what each program does, and whether you need all of them or not, so I won't go into a lot of detail.  What you want to use, though, is the dumphd program.  But to use it, you'll need to copy the aacskeys library and a file from the bdvmdbg package as well into the path or same directory as the dumphd program.

Once you have that, you can just run dumphd.sh and it'll fire up a simple little GUI telling you if it has all the libraries it needs.  Then you just specify the source and destination, and aacskeys will see if it has a working key to access the disc.

I can't really give much more detail than that, since I'm so new to this.  Suffice it to say, if you read the accompanying README doc that comes with each one, you'll get along just fine.

It took me a long time last night to get just one disc ripped and transferred over my subnet to try it out, and by the time I managed to get it mounted (mount -o loop -t udf wonka.iso /mnt/udf) and access it, it was pretty late.  The keys I had didn't work for my disc, and I didn't want to try the whole procedure over to try another disc.

Anyway, good luck if you try it.  One thing that impressed me is how much simpler it was than I thought it'd be, but what a pain it was trying to figure out where things went wrong.  The doom9 forums are a good resource, but not exactly the best place to find clear, concise information for a beginner.  That part was frustrating.

Personally, I don't think it's worth the hassle right now, the way I did it.  I'll get a BD-ROM sooner or later so I don't have to transfer the content over the network and can instead just test it directly.  But, I started out to see if I could at least get a copy of the ISO and get the tools running all without Windows, and I can.  So, that's progress right there.

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Windows 7: attention to details? (October 27, 2009, 11:51 UTC)

So I had to buy a copy of Windows 7 for a job, so I actually pre-ordered it some time ago at Amazon UK to have an extra discount (not a bad thing, at the end I paid the Ultimate version less than half than it’s sold here; full version, not upgrade). I’m not going to comment for now about the experience with it; this is just a funny post if you want to take a laugh:

Windows 7 versioning... FAIL!

I’ll leave to you the comments.

October 26, 2009
Remi Cardona a.k.a. remi (homepage, stats, bugs)
Xorg-server 1.7 in ~arch (October 26, 2009, 21:50 UTC)

It's out there now, available in ~arch. Like always, you'll need to rebuild your drivers, just look-up the command given by the server's ebuild (use eread if you've lost the output).

This release took a little longer to unmask not because of the server (it's a nice change). It's because a lot of headers were moved around from library packages to proto packages and vice versa. The ABI of X libraries has not changed, but I'm pretty sure there will be compile errors in some packages.

If that's the case, please file bugs in bugzilla.

Thanks for reading this public service announcement.

Edit: There will not be a package.keywords list for stable users. Xorg-server 1.7 is intended for ~arch users only, at this moment. And all bugs from stable users will be closed INVALID. We will start creating lists when we want to stabilize it.

Steve Dibb a.k.a. beandog (homepage, stats, bugs)
new feeds (October 26, 2009, 17:46 UTC)

I've been having a slew of issues running Apache on my Linode VPS, which I'm still trying to pin down, so in an attempt to offload some of the usage, I'm now going to use Feedburner to provide the RSS feed for Planet Larry.

I know I've played with Feedburner in the past, and kind of flip-flopped on whether to use it or not, but this time I'm sure I'm gonna stick with it.  It's better for users, since they will always have a feed available (whether I have issues or not), and it's better for me since I can offload that part of the network traffic, which is actually quite a lot.

I've already updated the feeds and my apache config to do a permanent redirect, but if you want the feed URLs directly, here they are:

Sorry for the inconvenience.  It seems like everytime I post about Planet it's bad news or maintenance.  Believe me when I say that it aggravates me far more than it does you.

Specifically, the issues I'm having is that Apache is sucking up all the available RAM, of which I only have 360 megs on my account.  It's then rolling over to using all the swap space as well, which only slows things down even more.  I've just started playing with tweaking the MPM configuration a bit, and I'm still trying to find a reasonable solution for my configuration.

In the past, the Linode had been seizing up occassionally, and I'd normally just reboot it and get on with my life.  Recently, I installed monit (an awesome app), and pinpointed that the issue seems to always be with apache.  Now, I'm just trying to narrow it down even  more from there, but offloading the RSS feeds seems like a good step to take anyway ... I get gigabytes of traffic per month just on that, believe it or not.

I'm toying with the idea of setting up lighthttpd instead, but I really prefer apache, and would rather set it up to behave in a low memory environment instead.  So, for any downtime in the near future, chances are it's just me tweaking something.  At least now, thanks to monit, I have a much better idea of when something goes wrong.

Oh, one other tweak I've made is that the planet script itself is more robust as well.  That thing used to run out of control, but I've made some changes that will ensure that if it runs away, at least it won't bring down the system.  I also started playing around with the idea of writing my own feed parser to replace the Planet software completely, and it looks like it's going to be much simpler than I imagine.  I haven't actually started down that path yet, since I have bigger projects to complete, but I'm actually enthusiastic that it'd be far, far simpler than I imagined.

netflix on ps3 (October 26, 2009, 17:33 UTC)

Okay, so you're going to be able to stream Netflix on your PS3 soon, blah blah blah, that's all in the news right now.  However, I'm skeptical as to the connection here, and the way this is being deployed.  Namely, why is this add-on feature provided through a disc instead of being integrated into the PS3 firmware?  I have a simple theory: Sony doesn't want to kill it's little baby, the Playstation Store, that sells and rents movies, and is instead making getting Netflix a bit of a speed bump.

Of course, this is all theory since the actual product isn't out yet, but hey, I like a good mystery.

Before I go on, though, here's the sources of the actual news that everyone is feeding off of.  I know when I'm looking for details I hate reading everyone's interpretation of it in an attempt to get a spin on what it means -- which, of course, is exactly what I'm doing.  At least I'm linking back to the source.

Okay, so, there's three things I find suspicious here about the whole thing:

  1. The Playstation blog entry is written by Netflix, not Sony.
  2. You need a disc to use it.
  3. Sony said back December of '08 that it was focusing on its download service.

My take on the whole thing is that Sony doesn't like it, but they are allowing it, albeit grudgingly.  Using the Playstation Store is a ridiculous experience in DRM that only makes renting movies easier by being able to download them instead of going to the store.  It manages to duplicate the nasty elements of high prices, limited availablity, and poor choice of selections.  Netflix's library isn't that great *right now*, but I'd still rather pay $9 a month to stream as much as I want for one month, versus $5 for one movie limited to a 24-hour viewing period.

Anyway, my big question is, why isn't it part of the PS3 firmware, similar to how it works on the Xbox 360?  Dunno.  Again, I don't know if the disc is a one-time install, or if you need it everytime you want to use the service.  The press release leaves out those details.  In fact, all it says about it is that "Initially, watching movies instantly streamed from Netflix via the PS3 system will be enabled by a free, instant streaming Blu-ray disc that is being made available to all Netflix members."  When they say "initially", I imagine that means that it's not going to be that way forever.

They also say, "Netflix members simply slide the disc into their PS3 systems to reveal movies and TV episodes that can be watched instantly" so I assume that you do have to have it in the box to watch it.

Either way, I guess I'll find out next month if I get my own disc to play with.

The reason I'm watching this so closely though, is because short of the Roku, nothing has come close to delivering a worthy UI to watching Netflix on the TV (that I own ... No 360 for me).  I've written about the Netflix plugin on Tivo before, which is downright embarrassing, so I'm really hoping that the PS3 one will more than make up for that.  I would really hate to have to use the disc every single time, though, since that would really make me lose interest in using it on a regular basis ... and the conspiracy theorist in me thinks that that is exactly what Sony is hoping for.

what i’m watching, part three (October 26, 2009, 16:03 UTC)

I'm starting to notice a curious trend, that I enjoy writing a lot of my blog entries on a Monday morning.  For some reason, that's the time I'm most interested in writing anything at all, and I generally have a slew of topics to pick from.  Today's no different, it seems.

I haven't written one of my posts about recent watching habits in a long time, so I thought it'd be a nice revisit since I've seen a few things again that aren't really deserving of posts in of themselves.  I'll ramble them off in whatever manner I even remember them.

Astro Boy

I ended up seeing Astro Boy, unexpectedly, on opening night even, at the theater ... and I loved it.  The more I think about it, the more I realize how much I liked it.

I was *extremely* skeptical about seeing this one, because of it's manga background ... something that has proven time and time and time again, that I just don't have a passing interest in.  I just don't have the brain for it, I guess, which in some ways is keeping me from becoming a first-class art / entertainment geek.  Ah, well.  My tastes are in a world all their own, that's for sure.

But I remember seeing the trailer, again, about a week or so before the movie came out, and I thought, "Huh, this actually looks pretty good!"  And I liked it.

The story was really simple, and, the best way I can describe it ... almost ... well, simple is the best way to put it.  The story doesn't take any weird, random tangents, instead almost following a direct storyline of the events without any diversion or discussion.  It was actually quite refreshing to see the story neither dumbed down or trussed up.  With one exception, each of the characters was consistent all the way through.  It was just good.  I wanna go see it again.

Oh yah, and every scene with the RRF is just hilarious. :)

Surrogates

I had been waiting to see this movie for a long time, ever since I saw the trailer for the first time.  I just knew I was gonna enjoy it, regardless of how bad it might turn out to be.  I wasn't quite sure what to expect, since it was a sci-fi action / thriller with Bruce Willis, which could go all kinds of directions.  As far as action movies go, it was rather tame ... hard questions about society aside.  That surprised me.

The story itself was weak, which would probably explain why I haven't heard much about it, good or bad, or in reviews and what-not, but the concept it portrayed -- people living their lives artificially -- struck me on a number of levels.  I kept thinking about the many analogies of how our society does that anyway, through the Internet, through virtual escapes of any kind (video games came to mind).  It was just really, really cool.  It also raised a lot of points of you never know who is behind the artifical mask, either.  For someone who gets really sucked into the virtuality of second lives sometimes, and suffers from the after-shocks of trying to use it as an escape during hard times, the film really hit me, and I enjoyed it quite a lot.  It's definitely not going to be a popular theme with the masses, but I liked it a lot.  I wish the story was better, though.

Calling Philo Vance

Now this is an old movie (1940).  I recorded a bunch of Philo Vance movies on my Tivo when TCM aired them a while ago, and I just now got the urge to watch some old movies this weekend, and I found this one.  It was a little odd.

I had a little hard time following it because, apparently, this is a staple character of movies back in the day, and this was the first film I saw him in after he'd already starred in quite a few films and radio shows.  I imagine it would be like stepping in to watch the 14th of 20 Sherlock Holmes films, never have knowing the man or his methods before, and wondering what the heck is going on and why it's interesting.  That's exactly how it was for me, here.

I'd heard of Philo Vance, only in passing, since I've seen his name before in my attempts to collect old time radio shows.

The movie itself moved at a really clipped pace, and Philo solved the murder almost as quickly as he found the details.  Anyway, it was a bit strange, but I love watching old movies so it was still fun.

playing with x264 (October 26, 2009, 15:29 UTC)

There's a couple of reasons I don't encode my video.  One of them being that, everything I encode myself, I can just notice the drop in quality.  However, with the right parameters and the right codec (x264) I can get it looking really nice, and I can hardly notice a difference.  It comes at a bit of a tradeoff, though.

Here's a snip of a sample ffmpeg output I generated last night:

$ time ffmpeg -y -i movie.vob -r 30000/1001 -acodec copy -croptop 60 -cropbottom 60 -s 720x480 -aspect 16:9 -deinterlace -vcodec libx264 -vpre hq -crf 15 -threads 0 movie.mp4

FFmpeg version SVN-r20371, Copyright (c) 2000-2009 Fabrice Bellard, et al.
built on Oct 25 2009 14:09:56 with gcc 4.3.3

Input #0, mpeg, from 'movie.vob':
Duration: 00:29:43.93, start: 0.280633, bitrate: 6492 kb/s
Stream #0.0[0x1e0]: Video: mpeg2video, yuv420p, 720x480 [PAR 8:9 DAR 4:3], 9000 kb/s, 59.94 tbr, 90k tbn, 59.94 tbc
Stream #0.1[0x80]: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s
[libx264 @ 0x1c64530]using SAR=32/27
[libx264 @ 0x1c64530]using cpu capabilities: MMX2 SSE2Slow
[libx264 @ 0x1c64530]profile High, level 3.0
Output #0, mp4, to 'movie.mp4':
Stream #0.0: Video: libx264, yuv420p, 720x480 [PAR 32:27 DAR 16:9], q=10-51, 200 kb/s, 30k tbn, 29.97 tbc
Stream #0.1: Audio: ac3, 48000 Hz, 5.1, s16, 448 kb/s

Stream mapping:
Stream #0.0 -> #0.0
Stream #0.1 -> #0.1
Press [q] to stop encoding
frame=43411 fps=  7 q=-1.0 Lsize=  767982kB time=1783.95 bitrate=3526.6kbits/s

real    103m29.692s
user    155m46.121s
sys     8m0.649s

Which brings me to the second reason I don't encode stuff ... time.  Seven frames per second, on my fastest box at home, heh.  For a 30 minute video, it took a very long time.  The video looks great, though.  I can still notice a drop in quality when there is text or titles on the screen, but that's the exception.  The size was almost exactly 50% the original (1.4 GB to 750 MB).

The backstory for this particular video though, was that it was presented in letterbox, and I wanted to re-encode it so I didn't have to make a pan & scan config for just that file on my box.  So, I cropped the black bars off the top and bottom and resized it.

One small annoyance I have, is that all DVD source video always shows up as 59.94 frames per second when being probed by ffmpeg, and I have no idea why .... every single one of them does that, and it drives me nuts, since all the NTSC DVDs are going to be 29.97 or variable frame rate.  So, I have to specify to encode the new video to 29.97, otherwise, it will encode it to 59.94 by default and nearly double the size.

Also, I'm only doing a one-pass video encoding, ironically because I don't like waiting.

I have little interest in encoding my video, because my boxes are so slow, but at a savings of 50% in storage space, the idea always keeps me curious.  Unfortunately, because I'm so picky about quality, it takes a long time to find something that I like, and even longer to encode everything.  On top of that, I have little to no interest in buying a faster computer right now, so I just kind of shrug the whole thing off.

I can't deny that the video looks very nice, though.  Kudos to x264 and ffmpeg. :)

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Proprietaryware all around us (October 26, 2009, 00:15 UTC)

In a guest post at Boycott Boycott Novell I’ve written about my frustration with so-called “Free Software Fundamentalists”. My main problem with them is that they keep insisting in not using proprietaryware, at all, rather than improving Free Software till it actually becomes the norm.

Now, one thing that might be difficult to understand is that, no matter how hard you try, it’s near impossible to not use any kind of proprietary software nowadays. And while I’m one who fights with all his force to make sure that we have Free Software alternatives in such a state that it can be used in as many things as possible, I don’t try to fight the presence of the other kind of software. I might argue which one between their and my methods is the one that can reach the goal better, but that’s not what I wanted to write about right now.

For now I just wanted to note how impossible it is to not rely at least in part in proprietary, closed-source software (this also ties with an older post of mine about updates):

  • do you have a cellphone? unless you’re running stuff like OpenMoko, I doubt you have it pure free software, since even Nokia’s N900 has quite a few proprietary components;
  • okay so cellphones are evil, but do you have a standard phone? remember: if it has an address book it has a firmware on it (and even if it doesn’t it might have a firmware to manage some functions);
  • do you have a VCR? a DVD player? a DivX player? Is any of that running on a free software firmware?
  • cable or satellite TV? Sky (UK and Italy) definitely have firmware in their decoders (there is also some documentation about GPL violations in satellite decoders);
  • not even that, a simple TV? You know, not only they have firmware now, but they also come with an upgradable firmware (at least, my Sony Bravia does); some TVs also have free software on them (Sharp I happen to remember), although I highly doubt they have no proprietary bits in them; heck, remote controls have firmware as well, at least the programmable ones;
  • any game console? none that I know run on pure free software;
  • computers usually have proprietary BIOS, but coreboot is working to replace that; and at the same time we know of many projects working on replacing firmware for wifi cards (although I still can’t understand; why replacing a wifi card’s firmware, but not the SATA controller firmware?); laptops, on the other hand have a lot of components with firmware on them; for instance I remember Lenovo laptops having firmware to control the fans and similar subsystems; and I’m pretty sure “smart batteries” have firmware as well; UPSes have firmware; external drive enclosures have firmware (and there, replacing the firmware with some free software would definitely be useful, given how many bugs the Genesys Logic firmware has!); even keyboards have firmware, at least Apple’s and probably Logitech’s as well; bluetooth dongles have firmware; harddrives and SSDs have firmware;
  • so okay, you use no external hard drive, a motherboard supported by coreboot and so on, your computer is fine; what about the monitor connected to it?
  • and finally, if you’re not using computers (so what are you doing advocating free software?); are you using a modern microwave oven, dishwasher or washing machine? While there are still lots of those appliances that use no computer-like parts, and thus no firmware, quite a lot of the new ones use firmware which is proprietary; I actually find those quite obnoxious because, for instance, you cannot self-repair your washing machine if the mainboard fries up; the firmware (proprietary) has to be flashed in; and to make it even more impossible, they have to flash it with a special dongle, and a special phone, with UMTS connection;

So really, are you using any proprietaryware at all? If so, stop harassing my freedom of choice for a supposedly higher freedom.

October 25, 2009
Gnome 2.28.1 is there (October 25, 2009, 23:32 UTC)

http://dev.gentoo.org/~eva/gnome/gnome-2.28.0.html

Just added gnome-2.28.1 ebuild to the overlay, only had to keep two dependencies down. Since we are now finished with gnome-2.28 core, time to squash bugs, there is quite a number of them already, if you want to participate, just visit the overlay status/TODO or status/BUGS files, or visit gnome 2.28 official release tracker bug

Played with gnome-shell, kind of nice but still needs applet work done as I can't use gnome-globalmenu applet anymore and I'd like to keep to vertical space real estate. Plus I don't like the actual replacements for notification area and clock applet, they do less. I bit worried about speed in activities menu as well, it's damn slow on my Core2@2.2Ghz which I can't understand.

Also worked on some other ebuilds like geoclue, emerillion and seed, not easy on downstream packaging so delayed until further notice.

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
A shared library by any other name (October 25, 2009, 19:18 UTC)

One interesting but little known fact among users and developers alike is the reason why shared libraries are installed on systems with multiple file names. This ties a bit into the problem of .la files, but that’s not my topic here.

Shared libraries, especially when built and installed through libtool, usually get installed with one file, and two symlinks: libfoo.so, libfoo.so.X and libfoo.so.X.Y.Z. The reasoning for this is not always clear, so I’ll try to shed some light on the matter, for future reference, maybe it can help solving trouble for others in the future:

  • first of all, the real file is the one with the full version: libfoo.so.X.Y.Z: this because libtool uses some crazy-minded versioning scheme that should make it consistent to add or remove interfaces… in truth it usually just drives developers crazy when they start wondering which value they have to increase (hint: no, the three values you set into libtool flags are not the same three you get in the filename);
  • the presence of the other two names are due to the presence of two linker programs: the build-time linker (or link editor) and the runtime (or dynamic) linker: ld and ld.so; each one uses a different name for the library;
  • the link editor (ld) when linking a library by short name (-lfoo) isn’t in the known about which version you’re speaking of, so it tries its best to find the library transforming it to libfoo.so, without any version specification; so that’s why the link with the unversioned name is there;
  • the dynamic linker, when looking up the libraries to load, uses the NEEDED entries in the .dynamic section of the ELF file; those entries are created based on the SONAME entry (in the same section) of the linked library; since the link editor found the library as libfoo.so it wouldn’t be able to use the filename properly; the SONAME also serves to indicate the ABI compatibility, so it is usually versioned (with one or more version components depending on the operating system’s convention — in Gentoo systems, both Linux and FreeBSD, the convention is one component, but exceptions exist); in this case, it’d be libfoo.so.X; so this is what the dynamic linker looks up, it’s also not in the known about the full version specification.

Now there are a few things to say about this whole situation with file names: while libtool takes care of creating the symlinks by itself, not all build systems do so; one very common reason for that is that they have no experience of non-GNU systems (here the idea of “GNU system” is that of any system that uses the GNU C library). The thing is, ldconfig on GNU systems does not limit itself at regenerating the ld.so cache, but it also ensures that all the libraries are well symlinked (I sincerely forgot whether it takes care of .so symlinks as well or just SONAME-based symlinks, but I’d expect only the latter). A few packages have been found before explicitly relied on ldconfig to do that using a GNU-specific parameter (a GNU lock-in — might sound strange but there are those as well) that takes care of fixing the links without changing the ld.so cache.

And there our beloved .la files come back in the scene. One of the things that .la files do is provide an alternative to the -lfoolibfoo.so translation for the linkers that don’t do that by themselves (mostly very old linkers, or non-ELF based linkers). And once again this is not useful to us, at least in main tree, since all our supported OSes (Linux, FreeBSD, with all three the supported C libraries) are new enough to properly take care of that by themselves.

Nirbheek Chauhan a.k.a. nirbheek (homepage, stats, bugs)
What's missing in Btrfs (October 25, 2009, 16:33 UTC)

So, after being completely betrayed[1] by Ext4 not once, but twice, I decided to evaluate my FS options for /home .

  • FAT* are not an option, neither is NTFS.
  • Ext2 is primitive and HFS/HFS+ is just not Linux.
  • JFS is nice, but (atleast parted) doesn't support grow/shrink.
  • I've used XFS before, and found it to be more reliable than Ext4. However, deleting dirs with thousands of small files is too slow (a common operation when compiling)
  • ZFS would've been an option if my earlier experiences with ZFS-FUSE weren't so horrid.
  • Did not even consider NILFS. It's too new, and I don't know much about it.

It ended up being a choice between the reliable Ext3, or the new-fangled Btrfs. Why Btrfs? Because I've been using it as my Gentoo Distfiles and Portage tmpdir since v0.16, and found it to be the /most/ resilient to power failures of all my partitions.

I ended up selecting Ext3 for /home, but let's see why.

What's missing in Btrfs:

  1. Growing the filesystem to the "left" of the partition. The error message when you try this is cryptic (common in btrfs-progs). However, since for other FSes this essentially involves "move to left and grow to right", I suppose the "move" part is what's missing in btrfsctl.
  2. Pathetic ENOSPC handling. It either throws an ENOSPC at around 75% or when the metadata space fills up. Not sure which, but it's supposedly fixed for 2.6.32.
  3. Volumes once created cannot be deleted. Again, fixed in 2.6.32.
  4. Parted doesn't support editing/creating Btrfs partitions. Support for detecting it was proposed recently; but, I still don't see it in either "master" or "next". This is not a Btrfs problem, but certainly affects whether I'd use it.
  5. There were other minor irritants (with btrfs-progs, mostly), but those will go away with time

Ext3 might have bad performance (especially w.r.t fsync), but atleast it's more reliable. In conclusion, I'll use Ext3 in data=ordered mode for /home till 2.6.33 is out; and then I'll convert my Ext3 partition to Btrfs and forever be happy :}

1. betrayed == sending everything into /lost+found after a forced fsck due to an earlier fsck after a power failure

Stuart Longland a.k.a. redhatter (homepage, stats, bugs)
Dusting off the MIPS boxes (October 25, 2009, 12:06 UTC)

Well… it has been a while… No, I haven’t gone AWOL, just been busy with other things for the past few months.

I’m now in the process of updating my MIPS boxes so that I can resume testing packages. I now have a stable kernel on my O2 (I nicked Debian’s kernel image… to install you just run ar x on the .deb, then unpack the data.tar.gz created into your /) and can seriously look at the userland.

First priority will be developer-related tools that I know well and can test quickly… Subversion is one that I’ll probably tackle, since the version we currently have keyworded is masked. Ditto for git. I’m sure I’ll find other things to get started on, but those two will make doing everyhing else easier.

I’ve also started on some new profiles. People can have a look at http://git.longlandclan.yi.org/?p=gentoo-mips-profiles.git or clone the repository at git://git.longlandclan.yi.org/gentoo-mips-profiles.git to give them a try. When I’ve given them a good thrashing and am satisfied, I’ll look at merging them into the tree, but for now, this is my staging area.

Hopefully with a stable base system upcoming, and new profiles, then I’ll look at new stages, and get this show back on the road.

Testers wanted for x86 (October 25, 2009, 11:15 UTC)

You are running a stable x86 system (at least almost, and for the core components like kernel, system set and X)? Great, we are looking for your help. If you want to try out the following packages and report back (even if everything is running smooth) to me (fauli AT gentoo.org) or the team (x86 AT gentoo.org), we would be happy. Stabilising so many core compontents that might render you system unusable is a big thing, so a lot of testing is appreciated. The packages in detail:

Thanks in advance to everyone who cares

Gentoo Ten Live DVD 10.1 Release (October 25, 2009, 04:03 UTC)

Attention Gentoo Community,

After numerous bug fixes and enhancements the Ten Team would like to encourage everyone to try out the 10.1 release.

A FAQ is available to assist you. We have also started a thread in our Forum. Please post any BUGS you encounter.

Please download the latest testing release for your architecture Gentoo Ten Live DVD 10.1 x86 | Gentoo Ten Live DVD 10.1 amd64.

Thanks for your continued support,

The Gentoo-Ten Project

David Abbott contributed to the draft for this announcement.

October 24, 2009
FDC09 photos! Here they are! (October 24, 2009, 20:36 UTC)

As promised, here are some pics from FDC09! Michele Tameni, Fabio Erculiani (me), Vincenzo Di Massa and Yusef Maali (new, “honoris causa” Sabayon developer) on these.

Tobias Klausmann a.k.a. klausman (homepage, stats, bugs)
Working together (October 24, 2009, 15:33 UTC)

Recently, I've noticed some behaviour by package maintainers that really annoys me. I'm talking about the way stabilization requests are made. Normally, a package maintainer opens a stabilization request bug (STABLEREQ) detailing which version(s) of which package(s) he wants the arch teams to test and stabilize.

Another closely related request which suffers from the same problems I'll detail below are keyword requests. Those are pretty much the same as STABLEREQ, but for "~arch" instead of "arch". Also, the testing required usually is not as strict as that for STABLEREQ for obvious reasons.

For simple packages, neither usually causes problems. For complex packages, this may mean that dependencies need testing and keywording, in some cases five to ten packages on top of the one requested. Unfortunately, some package maintainers have taken up the habit of just dumping the request for their package in bugzilla without checking what dependencies might be needed. Checking the dependencies also involves which versions of the dependencies actually work, which ones are stable (yes, this might mean talking to other package maintainers!).

Another related gripe I have is being pushy with time frames when stuff should be tested and stable and when trouble comes up (test suite fails etc), completely ignoring the bug report the arch team files for half a year or longer.

This kind of added workload (of rather dreary work, to boot) is what makes arch testing so tedious sometimes. Not to mention the burn-out it causes. Not getting any positive feedback (from either users or other devs) doesn't help, either.

Guess I'm turning into a grumpy old dev. But still, try to be a bit nicer to the arch testers, mkay?

PS: Note that there are very positive counterexamples, too: the emacs guys always provide test plans, the security guys are always nice to work with, too. And of course several individuals who are just nice to work with.

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Some notes about Google Wave (October 24, 2009, 14:14 UTC)

I’m still not sure about the whole hype around Google’s new service, Wave. Thanks to Jürgen, I got an invite as well and I’ve been fiddling with it from time to time… I’m not saying it’s useless, but I don’t think it’s excessively useful either.

What I think Google was able to do here was a lot of pre-hype of something that, generally, is once again mediocre (and definitely the code was; the first days I tried it out, the “something went wrong, please refresh” message was absolutely common). And again the whole “invite frenzy” is working very well for them. The idea that it’s something that just a “limited set” can look at makes the product much more desired than it would be if it was simply accessible to anybody.

And to be honest, every time I read about people “stealing invites” and tricking others about entering the preview I start to worry about the destiny of humanity as a species. At least, I have yet to see a literal telephone sanitizer around. Although I’m not entirely positive that this will keep to be the case in the future. Again, don’t get me wrong, I was curious about Wave as well, given how much I read about it, also on twitter/identica from other FLOSS developers, but at the same time, I wasn’t really going to jump through any hoop to find out how much that was relevant or not.

So, first note I have to make is that the interface seems really to be designed to be part of those web applications that try to replace the standard desktop, with the widgets that behave like standard windows and so on. I don’t really like that idea because I still think that a standard desktop is very useful (I’m a bit worried about Gnome Shell as well, to be honest); I don’t make excessive use of Apple’s Dashboard, nor I use stuff like iGoogle, or the widget support in my Bravia LCD TV. But I guess this might actually be Google’s strategy for their Chrome OS thing.

Behind all the hype around it, I define Wave (to Luca’s laughs) as the Mailing List’s equivalent of what IM is for the email: never going to replace it, but sometimes easier to deal with. It’s probably a good thing somewhat given that we’re still using IRC as the main many-to-many communication channel… and that’s not something I definitely like (for the multitude of shortcomings of the IRC protocol). On the other hand, I find this quite crippled by the fact there are no ways to define groups, or lists, of contacts (it’d be nice to have them, because then I could just “send a wave” to the Gentoo developers in there to ask for some help or plan something out, and so on); somewhat a strange thing to lack, given that both Facebook and Twitter seems to have taken pride in implementing those lists in the months that passed between the Wave announce and the actual opening of the public beta.

One interesting thing is that, while Google implemented a new schema for addresses (@googlewave.com) – which sounds quite pointless to me, one thing I liked about Google Talk is that it allowed me to use the same address for both email, Jabber and MSN – it is adding by default the Google Talk contacts to the Google Wave contact list as they register. I guess this can be considered a minimum feature share (the same contact thing applies to Google Reader subscribers). But what I definitely liked about all that is the way it handles the contacts’ names.

For those who actually set up a proper name in their Google profile, Google Wave uses by default the First Name for display (so you’d probably find me as Diego Elio — or Diego, I’m not sure); though, when there are more than one contact with the same name, it displays the start of the surname as well (so I got Jason S and Jason A in my contacts right now). Some other software should probably learn from that. And that means both open source and proprietary software.

All in all, what I can judge for now is mostly the interface at a first glance; while my contact list is starting to fill up, I don’t see anything in there yet that makes it more usable than a standard IM chat… it might have been even less useful if Jabber/GTalk had working multi-user chats, akin to MSN’s or Skype’s (don’t get me started with the “usability” of Jabber rooms). The fact that it needs the page to stay open (and the fact that the JavaScript in it seem to slow Firefox down positively — I guess that’s their main reason to push for Chrome at this point, or the other way around Wave is their way to push for Chrome), really makes the whole thing a lot less useful in the whole; even just adding a bot to GTalk to tell you when Waves went updated would have been much more useful.

And finally, just one little, tiny note for Google: why on earth you cannot seem to find a single interface style between different applications? Already Google Reader and Gmail have different interfaces; Wave has a drastically different one as well; Google Code even have the navigation bar on the right (when all the rest have it on the left). The two services that have the most common interface seem to be Gmail and Google Calendar, but there are quite a few subtle differences between the two… and that anyway only applies to the default Gmail theme, anyway.

October 23, 2009
Marcus Hanwell a.k.a. cryos (homepage, stats, bugs)
Avogadro 1.0.0 Released! (October 23, 2009, 22:02 UTC)

It is with great pleasure that I announce the release of Avogadro 1.0.0. After many years of work we have released what we consider to be a stable Avogadro release on Mole Day, which seems appropriate given the projects's name. There are still some rough edges, but I think this is a good release. With your help we can fix bugs in the release while working on new features in trunk.

Avogadro - Code Swarm from Marcus Hanwell on Vimeo.

What better time to look back to the beginnings of Avogadro. There was a blog post made today by Sourceforge about Avogadro detailing a little of that history. I have also made a code_swarm movie visualizing the history of the Avogadro project. There have been quite some changes in that time both at a project level and a personal level.

I would like to thank Google for sponsoring me for a GSoC project in the summer of 2007. Also Geoff Hutchison for giving me the opportunity to work with him at the University of Pittsburgh on interesting computational and visualization projects. Then there is my new employer, Kitware, who have provided me with an exciting opportunity to push scientific visualization and cross platform development to its limits.

To finish off a great day, my wife has informed me my new espresso machine has arrived! I am going to Camp KDE in January too!

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Apple's HTTP tunnel, and new HTTP streaming (October 23, 2009, 10:48 UTC)

Finally, last night, I’ve been able to finish, at least in a side-branch, to support Apple’s RTSP-in-HTTP tunnelling support, as dictated by their specifications. Now that the implementation is complete (and really didn’t take that much work to support once the parser worked as needed), I can tell a few things about that specification and about Apple phasing it out in favour of a different, HTTP-only streaming system.

First of all the idea of supporting both the RTSP and the RTSP-in-HTTP protocol, while working with the same exact streaming logic behind the scenes, requires a much more flexible parser, which isn’t as easy because of the HTTP design which I already discussed. While of course, once the work is done, it’s done, the complexity of such a parser isn’t ignorable.

But, since the work was done in quite a short time for me, it’s really not that bad, if the technique worked as good as it’s supposed to. Unfortunately, that’s not the case. For instance, the default configuration of net-proxy/polipo (a French HTTP proxy), does not allow for the technique to work, because of the way this is designed to work: pipelining and re-use of the connection, which are very common things to do with proxies to try improving performance, usually wait for the server to complete a request before they are returned to the client; unfortunately the GET request that is made by the client is one that will never complete, as it is where the actual streaming will happen.

At the end, for testing, I found it definitely easier to use the good old squid for testing purposes, even though the documentation at one (very hidden) point explains which parameters to set to make it work with QuickTime. But it definitely mean that not all HTTP proxy will let this technique work correctly.

And it’s definitely not the only reason. Since the HTTP and RTSP protocols are pretty similar, even the documentation says that if it POSTed the RTSP requests directly, it would have been seen as a bad HTTP requet by the proxy; to avoid that the requests are sent base64-encoded (which means, bigger than the original). But while the data coming from the client is usually scrutinised more, proxies nowadays probably scrutinise the responses as well as the requests, to make sure that they are not dealing with a malicious server (phising or stuff like that); and if they do, they are very likely to find the response coming from the GET request quite suspicious, likely considering it a tentative to HTTP response splitting (which is a common webapp vulnerability).

Now, of course it would have been possible for Apple to simply upgrade the trick by encoding the response as well as the request, but that has one huge drawback: it would both increase the latency of the stream (because the base64 content would have to be decoded before it’s used) and at the same time it would increase the size of the response, by ⅓, one third, due to that kind of encoding). Another alternative would have been to simply encode with base64 the pure RTSP responses, and keep unencoded the RTP streams (which are veicolated over interleaved RTSP). Unfortunately this would have required more work, since at that point, the GET body wouldn’t be simply be stream-compatible with a pure RTSP stream , and thus wouldn’t be very transparent for either the client nor the server.

On the other hand, the idea of implementing that as an extension hasn’t entirely disappeared in my mind; since the channels one and following are used by the RTP streams, the channel code zero is still unused, and would make it possible to simply use that to send the RTSP response encoded in base64. At least in feng this wouldn’t require huge changes to the code, since we already consider a special channel zero for the SCTP connection.

With all these details considered, I can understand why Apple was looking into alternatives. What I cannot understand is, still, what they decided to use as alternative, since the new HTTP Live Streaming protocol still looks tremendously hacky to me. Hopefully, our next step is rather going to be Adobe’s take at a streaming protocol .

October 22, 2009
Nathan Zachary a.k.a. nathanzachary (homepage, stats, bugs)
Goodbye my dear friend... (October 22, 2009, 03:37 UTC)

I received a phone call this evening that will undoubtedly change the course of my life from this point onward. A dear and trusted friend, indeed more like a brother, decided to take his own life this morning. He had been hurting a lot lately, and we talked often about his struggles. However, over the last few weeks, he seemed to be getting better. He was involved in another musical, and when I asked him about it, he had nothing but good things to say; his positive mentality toward the arts had returned. He was the greatest musician I had ever met, but to mention that one talent of his would be wrong as it would lessen the impact of all his other qualities.

Mike, we had some amazing times over the last decade. We played some great music, showed each other new artists, watched some quality films, had a blast at many plays, discussed all the issues of the times, danced with philosophies both familiar and foreign to us, pondered the emotional ups and downs of life, laughed at our own fallacies and shortcomings, discovered new places and new ways to look at old ones, and confided in one another the depths of human existence. I will never forget these times, and for the remainder of my days here I will regret not being able to talk you into sticking it out in order to create thousands more.

May you find the peace for which you were searching, and if you can part with some, please send it back here for the rest of us.

Goodbye my dear friend, and may we meet again at another time to catch up.

With love,
Zach

Ryan Hill a.k.a. dirtyepic (homepage, stats, bugs)
Machinarium on 64bit Gentoo Linux (October 22, 2009, 03:32 UTC)

I had to spend a few hours trying to get Machinarium(flash required) running on my laptop the other night. Turns out the solution was too easy:

  # USE=32bit emerge -av www-plugins/adobe-flash

Damn.

PS. if you like old-school adventure games, puzzles, or desolate post-apocalyptic cityscapes populated by melancholy anthropomorphized robots (yay), you could do worse than support Linux gaming by dropping 20 bucks on this fine piece of work.

October 21, 2009
... Is This Thing On? (October 21, 2009, 21:41 UTC)

Well, I finally broke down and created a blog. I’ll mainly be posting Gentoo-related stuff here, assuming I remember to update it.

Romain Perier a.k.a. mrpouet (homepage, stats, bugs)

That's not the first post about elog, previously Gilles (eva) posted an excellent entry about that (he was a slightly angry probably :p). All these entries are published in order to warn users and they have its importance...So based on that fact it would be really nice if users start reading them :D

Last week, I did read at least 4 bugs about a problem due the newer version of shared-mime-info (which includes a new database format)... If you as users would read your elogs, guess what? Yes you would find the solution in elog messages.

Important...why ?

When a developer has a important message to deliver to a set of users for a given package, usually he uses elog (elog is logged => no excuses..).
Consider the previous example with shared-mime-info, you will have a lot of problems when you try to open some files (typically gnome/kde startup) which would have not happened if you have a look at your logs.

awesome... but how I can read them ?

That's seriously simple :

  1. If you're a geek who loves GTK+ based applications (like me :p) have a look at elogviewer
  2. Use eread (c.f: man eread)

But for our sanity and peace in our souls "READ THEM" before you post a bug :) .
That will help us a lot, by implicitly reducing the number of useless bugs, and in this way, we will not have to repeat things 50 times.

have fun with gentoo ;)

edit: many thanks to scarab for typos & grammar ;)

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Nokia's silliness (October 21, 2009, 18:07 UTC)

No, I’m not referring to Nokia’s involvement with Qt, nor I’m going to speak about the N900 (which still tempts me somewhat). I’m speaking about the good old classic Nokia phones and accessories.

Last week a friend of mine tells me about a special code to get a 20% discount on all Nokia hardware, and since I was looking for a pair of bluetooth headsets (one for the Nokia E75, and the other for the Siemens VoIP phone, for when I have to wait for an hour on the phone be it for personal situations or, most likely, business reasons) I decided I could go with either one or two depending on one particular factor: whether Nokia was ready to send me one with an UK power adapter.

My reason for wanting a bluetooth set with the UK adaptor is that since I’d like to go back to London (and actually I already booked tickets and room for going back at the start of November with a friend of mine), I would be needing either to use again the adapter or to get an UK Nokia power adapter… since I have about ten different Nokia adapters home, and they insist on giving me a new one with each purchase, another Italian adapter would have been superfluous, and at that point getting a UK one would have been a good choice, in my opinion.

So anyway, since I’m a registered freelancer with a valid European VAT ID, I wanted to have a proper invoice for the headset(s), so that I could then declare it a work expenses (it is). Strangely enough, while Italian eshops never had trouble with invoicing me, European shops often seem to have trouble; some have different websites (like Alternate and Apple’s); other have no way to send me a VAT-valid invoice, and in the case of Nokia’s, they ask me to call them. Well not a problem for me, calling to order stuff.

Not in general at least; the problem is that the operator who answered was definitely not Italian. Don’t get me wrong, I have no problem with foreigners, not even with those working on call-centers and the like; everybody got to work, and if they are hired to do that job, I’m fine with that. But at least they should ensure that the guy can understand what he’s being told. In this case, he really had no way to it seems.

First of all, he wasn’t even sure whether he could order me the BH-104 headset with the UK adapter… he seemed to ask, either to someone else or me, whether that could be possible, and then said “No, I don’t think so”. Sigh, well okay, I’ll just get one instead of two then (the other I’ll get once I am in London). I start giving him my data, starting from my name… he asks me to repeat it a couple of times… I finally spell it letter by letter, using the classic Italian method for spelling: city names. It seems like my friend here didn’t know them either… indeed, he wrote down “Iettno” as name, rather than the correct "Pettenò"… not a good start is it?

After 40 minutes on the phone for something that, online, would have taken about 5, I get to do something else waiting for the confirmation email (where I finally see the wrong surname); I open a request at Nokia right away to tell them that they got the wrong name, address (number 155 rather than 125) and even the name for the credit card (which is still my old name, not the new one). I also ask again please if they can replace the SKU# with the SKU# of the UK version, but I get no answer. I’m told a confirmation email would arrive when the order is shipped, so I don’t give too much credit to the fact I read nothing, I expect the order to be cancelled (since Visa should refuse the use of the CC with the wrong name, at least so I thought)…

I read or think nothing about it till today; this morning an ex-schoolmate of mine, whom I have seen a few months backs after probably around ten years, and who lives at 800m from my home, calls me up “I just received a package from the Netherlands directed to you… the courier (UPS if you’re curious) was going to send it back because they couldn’t find the address… I’ll bring it to you this afternoon”. Now, a couple of words thanking Murphy that at least left one thing right, and to my friend who received the package. Obviously, this was the Nokia’s headset.

And here another bad surprise: not only the name is wrong, but the operator didn’t write down my VAT ID! Which makes the invoice unusable as work expense! Terrific!

Okay, okay, at least the headset looks good, I try to pair it with my E75… to no avail. Maybe I’m doing something wrong? I call up a friend of mine to help me out (since he was coming here anyway) and he tries with his E61 (my old one)… works fine; he tries the same with my E75… nothing. Okay, let’s see with the E71… it also works fine at the first try. Fun ensures.

A quick google around later, I found one interesting forum post with an “out there” trick: deleting the SMS Inbox (and outbox as well). Well, what had I to lose? 500+ messages in my inbox… they are there just because it’s too cumbersome to delete them each time, they have no value to me, so I just clear them out… I try with just the inbox first and… uh it works.

What the heck!

Now, Luca actually brought in a good point: my SMS inbox came ported from the E71; and it passed through a firmware update as well; it’s not too far fetched to expect that the database would be in need for some kind of vacuum or something; or maybe while the messaging application could deal with older data format, the bluetooth one couldn’t. Since bluetooth messages are sent like any other message, it’s possible that the two are linked and that might have caused the trouble. In any case, this definitely shows that there is something totally wrong with Symbian!

Really, are we serious? Nokia you made me waste a non-null amount of money with your mistake. I’m definitely going to complain until I can get somebody to at least explain to me why that had to happen in the first place. I start understanding how it is that this trimester has been negative, if this kind of problems is getting common. I definitely didn’t remember this with Nokia.

Supressing repeating log messages with Syslog-ng (October 21, 2009, 17:57 UTC)

Again today I was hit by Stunnel's excessive logging behaviour, causing my log files to grow rapidly with messages like:

stunnel: warning: can't get client address: Bad file descriptor

Which is caused by my Wifi going offline, I fail to see why Stunnel should log hundreds of lines each second if the network is unavailable....

In my five minute search I couldn't really see how I could get Stunnel to change logging behaviour, without disable logging alltogether.

However I finally figured out how to suppress repeat messages with Syslog-ng, like Metalog did back in the old days when I used that. Stunnel from 2.1.1 and up has a suppress(X) option that is not documented very good. With the suppress option Syslog-ng will apparently suppress repeat messages in X second intervals. You can use it simply like this:

destination messages { file("/var/log/messages" suppress(30)); };

So with a bit of luck I should not be hit by Stunnel logging again.

October 20, 2009
Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
And now the s★★t hits the (MySQL) fans… (October 20, 2009, 21:55 UTC)

My Italian reader might have read an “article” of mine dated back into 2005 (yes it’s a PDF… at the time I had no blog, I only posted a couple of things around, and this one has been written in LaTeX; one day I’ll replace it with a blog page instead, probably). In that article I put in words my feelings that the heavy dependency on MySQL for the Free Software community would have been a problem on the long run.

My reason to write that was that the dual-licensing would have most likely caused gripe and problems if patches weren’t accepted to be released for the dual license, and that a fork of MySQL would easily become incompatible with itself, causing interoperability problems between versions. No, I didn’t write this last week and back-dated it; there are witnesses who read it, and disagreed, back then. On the other hand, I feel like I nailed the problem quite well.

Indeed with the acquisition of Sun by Oracle, quite a few people seem to worry about the destiny of MySQL, and at least one major fork started .

Now, I have quite a few technical gripes with MySQL; partly because I had to fight hard with it when it was still in version 3 and it was quite limited compared to PostgreSQL, partly because I had recently to try fixing its definitely stupid build system based on autotools (calling that autotools is quite an offence in my opinion). So my usual setup makes use of PostgreSQL instead (both this blog and xine’s bugzilla use it). I had unfortunately to deal with MySQL in the recent past as well but that’s fortunately gone now. So myself I’m not really worried of what’s going to happen.

I guess that one thing that I should be glad about is that we’re not still in 2005. Back at the time, most of the web-application that went to be used were very specifically written to work on MySQL. If MySQL was to be forked, like it’s happening now, at the time, then we would have had probably a major problem at our hands. Nowadays, most of the applications, for good or bad, use ORM libraries that tend to be written in such a way that the underlying database is not called directly (I say “for good or bad” because sometimes I get to hate the ORMs quite badly; but on the whole I can see why the abstraction is necessary — no I don’t think that we should all be learning how a CPU work to write software; while that helps it’s no longer strictly necessary).

Anyway, I hope that whatever the outcome, this is going to be a lesson for everybody out there never to rely on any specific piece of code: there is never anything telling what upstream might end up doing… be either killing his wife or selling to the probably biggest company working in the same software area.

HTTP-like protocols have one huge defect (October 20, 2009, 13:48 UTC)

So you might or might not remember that my main paid job in the past months (and right now as well) has been working on feng, the RTSP server component of the lscube stack .

The RTSP protocol is based off HTTP, and indeed uses the same message format as defined by the RFC822 text (the same used for email messages), and a request line “compatible” with HTTP.

Now, it’s interesting to know that this similitude between the two has been used, among other things, by Apple to implement the so-called HTTP tunnelling (see the QuickTime Streaming Server manual Chapter 1 Concepts, section Tunneling RTSP and RTP Over HTTP for the full description of that procedure). This feature allows clients behind standard HTTP proxies to access the stream, creating a virtual full-duplex communication between the two. Pretty neat stuff, even though Apple recently superseded it with the pure HTTP streaming that is implemented in QuickTime X.

For LScube we want to implement at a very least this feature, both server and client side, so that we can get on par with the QuickTime features (implementing the new HTTP-based streaming is part of the long haul TODO, but that’s beside the point now). To do that, our parser has to be able to accept the HTTP request and deal with them appropriately. For this reason, I’ve been working to replace the RTSP-specific parser to a more generic parser that accepts both HTTP and RTSP. Unfortunately, this turned out not to be a very easy task.

The main problem is that what we wanted to do was to do the least passes over the request line to get the data out; when we only supported RTSP/1.0 this was trivial: we knew exactly which method were supported, which ones appeared valid but weren’t supported (like RECORD) and which ones were simply invalid to begin with, so we set the value for the method passing by and then moved on to check the protocol. If the protocol was not valid, we cared not about the method anyway, but at worse we had to pass through a series of states for no good reason, but that wasn’t especially bad.

With the introduction of a simultaneous HTTP parser, the situation became much more complex: the methods are parsed right away, but the two protocols have different methods: the GET method that is supported for HTTP is a valid but not supported method for RTSP, and vice-versa when it comes to the PLAY method. The actions that handled the result of parsing of the method for the two protocols ended up executing simultaneously, if we were to use a simple union of state machines, and that, quite obviously, couldn’t have been the right thing to do.

Now, it’s really simple to understand that what we needed was a way to discern which protocol we’re trying to parse first, and then proceed to parse the rest of the line as needed. But this is exactly what I think is the main issue with the HTTP protocol and all the protocols, like RTSP, or WebDAV, that derive, or extend, it: the protocol specification is at the end of the request line. Since you usually parse a line in the latin order of characters (from left to right), you read the method before you know which protocol the client is speaking. This is easily solved by backtracking parsers (I guess LALR parsers is the correct definition, but parsers aren’t my field of work, usually, so I might be mistaken), since they first pass through the text to parse to identify which syntax to apply, and then they apply the syntax; Ragel is not such a parser, while kelbt (by the same author) is.

Time constrain and the fact that kelbt is even more sparingly documented than Ragel mean that I won’t be trying to use kelbt just yet, and for now I settled at trying to find an overcomplex and nearly unmaintainable workaround to have something working (since the parsing is going to be a black-box function, the implementation can easily change in the future when I learn some decent way to do that).

This all thing would have been definitely simpler if the protocol specification was at the start of the line! At that point we could just have decided the parsing further down the line depending on the protocol.

At this point I’m definitely not surprised that Adobe didn’t use RTSP and instead invented their own Real-Time Message Protocol not based on HTTP but is rather a binary protocol (which should also make it much easier to parse, to an extent).

Markos Chandras a.k.a. hwoarang (homepage, stats, bugs)
zen-sources again on Gentoo (October 20, 2009, 09:17 UTC)

Having been a crazy ‘zen-sources’ user,  I really miss those kernel patches nowadays. So I took up the bug 288512 and zen-sources are again available for all Gentoo users[1]
I haven’t committed them yet on portage tree because I want to ensure that they are safe enough for everyday usage. So until then, you can get them via a new overlay hosted on github

  • git clone git://github.com/hwoarang/zen-sources.git

or via layman

  • layman -a zen-sources

Special thanks to Brandon Berhent for providing the initial Gentoo ebuilds, and for developing the zen-sources :)

Thanks Brandon :)

Have fun with your brand new kernel sources[2]

[1] http://github.com/hwoarang/zen-sources

[2] http://www.zen-kernel.org

Steve Dibb a.k.a. beandog (homepage, stats, bugs)
star trek on blu-ray: the voyage home (October 20, 2009, 05:29 UTC)

I just got finished watching The Voyage Home on Blu-Ray.  It was nice.  I haven't seen that movie in too long, that I can remember.  I think my interest is fading though.  I stopped the movie at least four times that I can recall to go and do something else.  That's actually pretty common for me, to leave a movie and come back later (which is why I loathe Blu-Ray's lack of universal resume play), but for a movie I like so much, it's a little odd.  Comparatively, I think I watched all of Star Trek III through non-stop.  Oh, well.

The movie was good.  I wasn't really paying attention the video this time though.  It was nicer, though, than the DVD.  One thing I managed to notice this time around is that while they did a good transfer, they didn't bother cleaning up the material at all.  That is, the age of the special effects really shine through when it is shown in such clarity (and in fact, I can remember noticing some of them when I watched it in the theater as a kid ... that's one thing I'm proud of, I got to see all the Star Trek movies since IV on the big screen when they were originally released).  They could have cleaned it up a bit, but didn't bother.  Again, I'm gonna gamble and say that they will probably have an "improved" release version in a few years or so.

I think I need to give the Star Trek movies a break for a bit.  I'm running out of steam.  Well, that, and I hate watching movies knowing I'm gonna review them later.  Sometimes it makes me watch them more critically instead of being able to enjoy it.  That wasn't the case this time though.

Alright, I'm tired, and it shows, so I'll just end it there.  It may be a while til the next Star Trek movie though.  I just checked my queue, and it's Insurrection.  I actually liked that one, too.

October 19, 2009
Steve Dibb a.k.a. beandog (homepage, stats, bugs)
star trek on blu-ray: the search for spock (October 19, 2009, 16:41 UTC)

I love this movie.  This underdog of a Star Trek film ranks high with me for a lot of reasons.  For one, the whole thing is mostly just kind of a slow-moving backstory, going into character depth quite a lot.  Sure, it would have made a good episode, but it's drawn out, and done well.  It's not as exciting or thrilling as the others, but it stands as a good drama.  I love it.  And watching it on Blu-Ray was great, too. :)

The colors in this one reminded me a lot of watching The Motion Picture.  I noticed this time, that the most vibrant colors are always present when they are docked somewhere, either at the space station, or the interior shots of the ship.  That's where the variety is and it really shows off how crisp and clean the transfer is.  It just looks great.

This was also one of those films that just kept taunting me, wishing I had a better surround sound system (in fact, I bought a new center speaker this weekend, but I had already watched and sent back the movie.  Doh!).  I really liked the score ... heck, I love everything about this movie.

The Search for Spock can best be described as filler material.  It bridges the story of bringing Spock back to life immediately after he died in Wrath of Khan, and it also is the launching point for the events in The Voyage Home.  In fact, that's the part I like the most -- that Star Trek II through IV are all one big story, told sequentially and chronologically in order.

I should get Star Trek IV either today or tomorrow from Netflix.  I can't wait for that one, either.

My verdict for this one though would definitely be to buy.  It was so good.  The colors were great, and smooth, and vibrant, and it just looked like a well done upgrade.

Back from FDC09 in Florence (October 19, 2009, 13:37 UTC)

In the true spirit of “the Sabayon Way” and its extraordinary crew, on the behalf of the staffers available there, I think I can say that it’s been quite a few days of madness (read: fun) at FDC09 in Florence ( “Festival della Creatività 2009“). We showed off how Linux Desktop is alive and Linux Gaming possible hands down introducing Sabayon and its backend projects to those interested. Our stand was always busy and people had a lot of fun playing the greatest Open Source games available for GNU/Linux such as World of Padman, Nexuiz, Wesnoth, Frozen Bubble and so forth. Thanks to Loading Lab, we will be able to feed you with photos and videos hopefully soon. For the braves, just search for “#fdc09″ tag on Flickr (or if you are not lazy, go through all the official photo set here).

So, let me rest a bit and flush out some backlog, more during the next few days.

Ryan Hill a.k.a. dirtyepic (homepage, stats, bugs)

Yeah, this bug is back again. Turns out the code that fixes the paths in gcc's own .la files was broken on new version installs. This means that everyone in stable that updated to gcc-4.3.4 and anyone in unstable that updated to 4.4.2 in the last week or so should resync their portage tree and rebuild gcc now.

See https://bugs.gentoo.org/283761 for the poop.

We won't be doing a revbump because this wasn't version specific. It just sucks that no one noticed the problem until a new version was released.


edit: if you're still getting errors when building, such as

  /bin/grep: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/libgomp.la: No such file or directory
  /bin/sed: can't read /usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/libgomp.la: No such file or directory
  libtool: link: `/usr/lib/gcc/x86_64-unknown-linux-gnu/4.4.1/libgomp.la' is not a valid libtool archive

where "4.4.1" is the previous version of gcc you upgraded from, run

  # fix_libtool_files.sh
<old gcc version>


app-(x)emacs/gentoo-syntax 1.15 is out (October 19, 2009, 00:03 UTC)

The last news I wrote about the Ebuild mode for both GNU Emacs and XEmacs is some days old and covered version 1.10. Meanwhile we added some functionality that will greatly improve your user experience. All detailed changes are to be found in the shipped ChangeLog file, but I want to give a rough overview about the most important features and the main contributor.

  • faster and more elegant code (ulm)
  • a manual in Info format (fauli), see C-h i under section Gentoo or Emacs, needs fine-tuning, patches welcome
  • support for GLEP 42 news items (ulm)
  • add skeleton support for ebuilds/news items from scratch (ulm)
  • keep eselect mode in sync with eselect features (ulm)
  • keep keywords in sync with eclasses and adding new ones, like mono and kde4 (fauli)
  • reinstate compatability with GNU Emacs 21 (ulm)
  • support for eblit files (ulm)

Now I want to move the spotlight onto the skeleton modes: Pressing C-c C-n in an empty file with ebuild extension, or whose file name matches the GLEP 42 requirements for a news file, will guide you through the creation of a new ebuild. You are asked for the needed items and with the tab key you can often choose from a list with sane entries. Especially news item creation gets easier as this is a seldom task for developers and thus error-prone while being a good measure to communicate important changes to users.

October 18, 2009
The unending tale (October 18, 2009, 23:03 UTC)

Ok guys, buckle up, I've finished reviewing Gnome 2.28 ebuilds except for the gnome-shell stuff. Now Gnome 2.28.1 is expected on wednesday so we can start bumping like crazy to be half-decently on time this time (feels like we'll never be done with the catch-up). There are still quite a few problems with packages as noted in my papers and files under status/ in overlay but upgrade experience should be smoother.

If you are about to test the overlay, please keep us posted on your problems (or your non-problems too) by contacting us on #gentoo-desktop or by filling bug reports. Thanks again to everyone who kept the overlay updated during 2.27 cycle.

edit: fix typo thanks to remi.

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Tip of the day: if Samba 3.4 fails to work… (October 18, 2009, 12:18 UTC)

I fought with this today… if you are running Gentoo ~arch you probably noticed that the current Samba support is “definitely suboptimal” (to use the words of the current maintainer) and indeed it failed to work on me once again (third time; the first was a broken init script; the second was missing USE deps so I was quite upset). If you find yourself unable to log-in Samba, you need to consider two possible problems.

First problem: the Samba password system seems to have either changed or moved so you have to re-apply the password to your user (and re-add the user as well!). To do so you have to use the smbpasswd command. Unfortunately this will fail to work when the system has IPv6 configured. And here comes the next problem.

Samba is likely having trouble upstream to deal with IPv6; indeed it comes down to having the smbpasswd command trying to connect to 127.0.0.1 (IPv4), but the smbd daemon is only opening :: (IPv6), so it’ll fail to connect and won’t let you set your password. To fix this, you have to change the /etc/samba/smb.conf file, and make sure that the old IPv4 addresses are listened to explicitly. If you got static IPs this is pretty simple, but if you don’t, you’ll have a little more complex situation and you’ll be forced to restart samba each time the network interface changes IP, I’m afraid (I haven’t been able to test that yet).

[global]
interfaces = 127.0.0.1 wlan0 br0
bind interfaces only = yes

As you can see we’re asking for some explicit interfaces (and the localhost address) to be used for listening; since samba uses the IPv4 localhost address for the admin utilities you explicit that to make sure it listens to that. For some reason I cannot understand, when doing this explicitly, samba knows to open different sockets for both IPv4 and IPv6, otherwise it’ll open it for IPv6 only.

I’m not even going to fight with upstream about this, I’m tired and I’m tracking down a bug in Gtk#; a nasty one that crashes the app when using custom cell renderers, and I already fixed iSCSI Target for kernel 2.6.32 (as well as version-bumped it).

October 17, 2009
Steve Dibb a.k.a. beandog (homepage, stats, bugs)
where the wild things are (October 17, 2009, 16:19 UTC)

I got a chance to see Where The Wild Things Are last night, opening night ... I was really excited about this film.  From watching the trailer I thought, oh man, this looks cool.  A story about a little kid that just doesn't adjust well growing up, and is having a hard time.  That's what I figured anyway.  And the movie followed that theme, a bit, but for the most part ... it was just weird, and I have no idea what just happened.  At the same time, though, I can't get it out of my head at all.  It was very impressionable.

The human part of the story was really incredible and very moving, and they could have made a movie just out of that part, it was so well done and they were on a great roll.  When he sails off to the island and finds the monsters though, things just get weird.  I won't get into details because I don't want to spoil it for anyone, but suffice it to say, it was not what I was expecting in the least.  The general feeling I got the whole time was confusion.  I was sitting there thinking, "what the heck is going on?  and why?"

So, I'm not really sure what to say about it, much less figure out what my opinion is.  I thought it was a bit too .... serious, and a bit disturbing at times.  I dunno.  Weird.  Go see it, though.  Everyone else seemed to enjoy it around me.

Edit: Read Roger Ebert's review.  I generally agree pretty closely with what he writes, and in this case, he puts exactly what I'm trying to say into words much better than I do.

Show desktop (or minimize all) in KDE 4 (October 17, 2009, 12:36 UTC)

Disclaimer: Please correct me if you know better. Thank you.

Back in KDE 3 I’ve been using WIN+D repeatedly to minimize all open windows (”show desktop”). In KDE 4 the “show desktop” feature seems to have been replaced by “show dashboard” (CTRL+F12), which is quite a different thing and not what I want.

As missing the minimize-all hotkey started really bugging me I invested a little time to find out if this is really the end. Luckily it’s not though I can only present a workaround rather than a “real solution”.

The easiest (only?) way to assign global hotkeys to programs in KDE 4 is adding an item to the KDE menu. So if we had a program/command to trigger a toggle on “show desktop” we were done. I found a tiny Bash script to do that:

#!/bin/sh
target=on
if xprop -root  _NET_SHOWING_DESKTOP | fgrep '= 1' ; then
    target=off
fi
wmctrl -k ${target}

(requires xprop and wmctrl, i.e. x11-apps/xprop and x11-misc/wmctrl in Gentoo)

Put that in a file called toggle-show-desktop.sh or so, make it executable and add a KDE menu entry for it:
(The Menu Editor can be found in the contect menue of the “KDE button” also know as Application Launcher Menu.)


Now assign a hotkey in the “Advanced” tab, done.

For comparison/completeness in KDE 3 it’s here:
.. and in XFCE here:

My next post/rant on KDE4 will probably be about the removal of vertical gradiants as desktop backgrounds. No, I don’t wat to do that with Gimp. Seems like I’m the only one ever having used it. Anyway…

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)

Since today I’m pretty busy, I have no time for a complete post, but rather will give you a tip, if you’re using F-Spot and plan on moving your photos collection. Changing the location of the collection from the preferences not only won’t move your existing photos, but it won’t update the references in the DB either. This gets pretty bad if, like me, you’re forced to move the photo around between different filesystems (or in my case, disk entirely).

To solve that problem, I wrote this little Ruby script using sqlite3-ruby, that takes care of all that’s needed to move the photos:

#!/usr/bin/env ruby

require 'sqlite3'

db = SQLite3::Database.new(ARGV[0])

db.execute("SELECT DISTINCT base_uri FROM photos") do |row|
  newuri = row[0].gsub(ARGV[1], ARGV[2])
  db.execute("UPDATE photos SET base_uri = '#{newuri}' WHERE base_uri = '#{row[0]}'")
  db.execute("UPDATE photo_versions SET base_uri = '#{newuri}' WHERE base_uri = '#{row[0]}'")
end

It takes three parameters: the path to the SQLite database for F-Spot (generally ~/.config/f-spot/photos.db), the old path and the new path. Since the substitution is applied as-is, you need to use two slashes to make sure to start from the real root directory (like //media/photos).

Oh and for the Gentoo users reading this, what I wanted to write about was already written by Robin with better examples that I might have done. Kudos to Robin, and long live for the “old” networking scripts!

Robin Johnson a.k.a. robbat2 (homepage, stats, bugs)

I've been prodding at the concept of the new network script in OpenRC-0.5, and I'm at a loss to try and see why Roy has decided to toss the old network config system away. The new system doesn't have a lot of capabilities, and most significantly totally loses the ability to restart a single interface without affecting the rest of the system. If it's just for a rewrite, then I'm not too worried, but unless all the functionality is still there, I'm worried we are going to move backwards with it.

At the same time, I don't think many people are aware of how powerful the "old" network configuration mechanism is. The net.examples file is only the start, once you start mixing in the pre/post calls, there's a lot of power. It's capable of some feats that I don't see used even in certain parts of the Gentoo documentation[1]. I've put together some of my gems of conf.d/net, and if you have some, I'd love to hear them. Leave a comment or email me the scripts, along with a description.

Configurations available
  • Easy to maintain HE.net (Hurricane Electric) IPv6 tunnels - Download
  • Running two ISPs at home (basic multi-homing) - Download
  • "Enterprise" multi-homing setup, with 4 paths to the Internet - Download
Hosting

I've also started a bit of storage in my Gentoo webspace for these collected works of network configuration, with a bit more documentation.

Notes
  1. The Gentoo docs have this for IPv6: Gentoo IPv6 Router Guide, Tunnel Configuration. You could bring it up manually, or you could just take the IPv6 config above and use it straight with your variables filled in. Volunteers welcome to help merge that config into the Gentoo IPv6 documentation.

October 15, 2009
Alex Alexander a.k.a. wired (homepage, stats, bugs)

I got my Google Wave account invitation yesterday. After a few hours I actually found some people to talk to (this preview is still in its baby stages).

I have to say, I was impressed. You chat (and it updates) in real time. You can embed stuff like Google maps, Google searches and Youtube videos (and the list will surely improve since it seems to support Google gadgets). It really feels like next-gen email combined with a messenger :)

It is called a preview for a reason though. Sometimes you need to refresh the browser and at other times your waves go crazy and you can’t use them for a while. It also tends to eat up lots of CPU if you have a lot of participants and media content. But its Google, so we know its all going to be fixed really soon :)

Embedded Wave

Below you’ll find an embedded wave I’ve added using the Wavr Wordpress Plugin (you need to have a Wave Account).

Well done Google!

October 14, 2009
Tobias Scherbaum a.k.a. dertobi123 (homepage, stats, bugs)

Vor rund 14 Tagen schrieb ich über die anstehende Auflösung des Förderverein Gentoo e.V. – nun 14 Tage später sieht erst einmal vieles danach aus, als wenn auf der kommenden Mitgliederversammlung ein neuer Vorstand gewählt werden kann und zumindest die Auflösung (vorerst?) vom Tisch ist. Die angedachte Mitgliederversammlung am Wochenende 07./08.11. in Bottrop findet ebenso nicht statt. Anstelle dessen wird voraussichtlich im Rahmen des 26C3 in Berlin (vermutlich am 27.12.) eine außerordentliche Mitgliederversammlung stattfinden. Alle Mitglieder des Vereins werden selbstverständlich zeitig hierzu eingeladen.

Ich möchte mich ausdrücklich bei denen entschuldigen, die mir in den vergangenen Wochen Mails mit Hilfsangeboten etc. zukommen lassen haben – ich konnte nicht alle Mails beantworten, aber es tut durchaus gut, zu sehen, dass auch andere noch ein Interesse am Verein haben. Dafür Danke!

Möglichst kurzfristig soll die Webseite des Vereins ein Facelift erhalten und ab dann im Idealfall regelmäßig mit frischen Informationen versorgt werden.

October 12, 2009
To sleep or not to sleep (October 12, 2009, 23:23 UTC)

It's over 1AM again, and I'm still not finished with Gnome 2.28 review. I've spent quite some time this weekend and tonight looking at what was wrong with gnote, gnome-system-monitor, gparted and a few other c++ apps suddendly starting to crash after I updated glib on Friday. Turns out something in the mm stack is doing something wrong so I filled Gnome bug #598209.

Updated to epiphany-2.28 since I got sick of epiphany-2.26 crashing when I wanted to make it remember a new password. Turns out it's not as nice as I would have thought a nearly two years efforts would be. Lots of problems where loading of a page would stop in the middle of the process. I had to install firefox to fill bug reports and access the pages that fails. That's quite a regression but upstream is now aware of it through Gnome bug #598115. Hopefully it'll be fixed for Gnome 2.28.1.

I also spent some time cleaning up unneeded revisions in tree since I had to occupy myself when building all those c++ bindings. So where are we now, a bit less than 41 packages to go for review and about 80% of completeness on my gnome 2.28 status page.

Steve Dibb a.k.a. beandog (homepage, stats, bugs)
the hdtv mini htpc that may never be (October 12, 2009, 17:18 UTC)

So, my efforts to get a small Mini-ITX system capable of playing back HD content so far has not been successful.  And, as is usual with stories of my hardware adventures, the problem always lies with something totally unexpected.  Here's the story so far.

41ZjEdxog+L._SL500_AA280_

At the end of September, I finally plunked down some cash and got a Zotac GF9300-D-E Mini ITX motherboard from Amazon.  The board is a bit older, but it's loaded with features.  It's got an onboard Nvidia 9300 video card, with HDMI output along with both SPDIF ports.  On top of it, it is a socket 775 Intel chipset, so that means I wouldn't have to bite the bullet and go with a sluggish Atom again.  Don't get me wrong, the Atoms are nice for general computing, but I still don't think they are really up to the job for dedicated video playback.

So, I got one of those, along with the same 35W Intel Celeron CPU that has been working so extremely well on my first Zotac Mini-ITX that is only capable of SD playback.  I don't want to knock that board either, because it has been doing extremely well.  I've been very happy with it since day one.

31m9lanQwQL._SL500_AA280_

The board arrived, and I immediately set it up and got everything plugged in.  I took out my old Zotac and rested the new one into the Silverstone HTPC case.  I've got an LC19 which is actually big enough to hold a Micro-ATX board -- really, this thing is huge -- so a Mini is comfortable and capable enough to slide right in there.  There's a lot of things I like about this case.  It's top cover is covered with ventilation holes so you don't have to worry about the board overheating.  In fact, the original Zotac was running so efficiently, that the CPU fan would rarely turn on.  It was great.  I do have some issues with the case, though.  There's no reset button, which would have been nice, and the power supply has always seemed a bit flaky to me for some reason.  I can't really pinpoint what the problem is, but it just seems a little cheap to me.

Anyway, I plugged in thew new HD-capable Zotac, hooked up all the cables, and hit the power button.  The CPU fan started spinning briefly, then stopped completely.  At first I assumed it was like the original board, and it the smart fan meter was kicking in and it was just powering down because it was running cool.  Except that the board wouldn't POST.  I wasn't getting any video output at all.  I took everything back out and meticulously checked all the connections, and they certainly looked fine.  I made sure all the connections were secure on the case as well, and they seemed good too.  A bit puzzled, I put it all back together and tried again, with the same result.

At this point I figured that maybe it didn't like my RAM configuration, so I took the module out of the first row, and set it into the adjacent one.  After doing that, I hit the power button, and then *nothing* happened this time.  The fan wasn't even spinning up at all.  Crap.

Finally I did what I should have done the first time around, and I grabbed a PC speaker component and plugged it into the motherboard.  I've had tricky motherboard issues in the past, but my last line of defense was always the BIOS beep codes.  Once I interpreted those, I could fix the determined issue and be on my way.  I was expectantly hoping that the same would hold true here.  I plugged in the speaker, turned on the computer, but nothing.  No POST, no initial fan speedup, and no speaker codes.  At this point I assumed the board was DOA, so there was nothing I could do for it.  I did have *one* last sneaking suspicion though.

The new Mini-ITX motherboard also had a 4-pin CPU power plug, but I wasn't plugging anything into it.  The manual casually mentions plugging it in, but I had assumed that it was optional -- only because my previous Zotac ran perfectly fine without plugging one in, and because my case, while the power supply has a 4-pin port, didn't come with a cable.  So I always assumed I didn't need one.

13211

I decided to see if that was the issue, instead of sending it back, and trying my luck to see if I could still solve the problem.  So, I went off to Monoprice and ordered three of the cables (for 85 cents each, I love you, Monoprice).  In a rare show of patience, I waited almost a week for them to arrive in the mail before resuming my experimentation.

With my new little cable, and honestly the last piece of the puzzle at this point that I could try with this case, I plugged it in and hoped for the best and ... nothing.  Still no initial fan spin, no POST, no love.  I took everything out and replaced the original Zotac (with the same RAM, too), plugged everything in, and of course, it started up just fine.  So, at least I know the case and power supply are still okay.

3677S

It's about this time that I finally realize that perhaps I should try my second Mini-ITX case instead, a Morex that I got from Logic Supply.  At first I kind of scoffed at the idea, since the Silverstone is by far the better of the two, and if it didn't work in that one, there was little chance it'd work in the economic model.  I was wrong, though.  It powered up just great, and worked fine.  So, now I'm really lost as to why.  I still suspect that there is something funky about the power supply on the Silverstone case, and I'm currently toying with the idea of replacing it myself.  It'd certainly be cheaper than getting a new case.

So, I decided to move my hardware setup around, and keep the new Zotac in this smaller case.  The only problem was that it didn't have as good an airflow, with the only real ventilation on the sides.  That would (and does) work fine with my fanless VIA C7s, but not here.

After setting up the system and playing around with the box, I was extremely happy with the performance.  I watched all my HD trailers in 1080p a couple of times each, with VDPAU and the picture was gorgeous.  It was great, and would have worked wonderfully if the motherboard wasn't running so hot.

The problem was that the heatsink on the northbridge (I think that's the right term, I'm not a total hardware geek) would get really, really hot.  The CPU itself was running really cool, since it had its own fan, it was just fine.  I didn't realize there was a problem until I came in to watch TV shortly I think the day after I had set it up, and the box was turned off.  It was just after all the intial setup and testing stages, so I assumed that I had just turned it off and forgotten.  But as I was watching some video, it shut itself off.

I took the top of the case off to see if I could figure out what the problem was, and that's when I nearly scalded myself touching the heatsink.  It seemed kind of flimsy and cheap to start with, and I was kind of surprised to see how crappy it looked, finally giving it a good look, and comparing it mentally to the other Minis I have.

I rebooted and went into the BIOS menus to see what the temperatures were looking like.  The northbridge was running at 66 C, which is 150 F.  Again, I don't know too much about hardware, but I was pretty sure they're not supposed to get that hot.  I left the top of the case off to let it cool down, and kept it running.  Coming back later, I saw that it had dropped to 48 C.  I rebooted, went back into my OS and watched plenty of video, and it was chugging along great since then.  So, it seems like it just needs some good airflow, and will probably be reasonably happy.

That leaves me with the problem of what to do next.  Technically, I could leave it in the Morex case, without a cover and expose it to dust and who knows what else is floating around my house, or I can try fix the Silverstone case just so I can use this board.

At this point, I'm a little tired of throwing so much money towards the problem, especially when it all should have worked in the first place.  Add to that that the new Mini-ITX I got is really the first-generation of this type of arrangement, and the nvidia ION is the one that is replacing this.  Aside from the Intel Atom CPU, I probably wouldn't have a problem with it, and so I'm also considering replacing it with that one.

I'm still not sure what to do, and part of me is leaning towards a third option -- wait for a year or so for the hardware specs to improve.  I'm not dead-set on having HD capable playback just yet, and it's more in the realm of "would be nice to have" instead of "really useful" right now.  Besides, even before I could start getting some content, I need to expand my server's capacity issues, as my media storage is almost at 100%.  I think I have something like 40 GB free space left.  Even then, I still need to get a Blu-ray ROM so I can rip my movies, and I only have about 12 Blu-rays right now to start with.

So, everything right now just tells me to wait.  Which is real shame, considering this board is very nice -- once it's given the proper TLC.  I think this is one of those situations where I would really like the whole thing to work out, but I imagine at the same time that the issues that are causing me problems right now, will only give me headaches later on down the road.  It's probably better to just cut my losses now and save up for something better later.

Gunnar Wrobel a.k.a. wrobel (homepage, stats, bugs)
layman moves from subversion to git (October 12, 2009, 13:49 UTC)

In preparation for layman-1.2.4 the repository has been converted from subversion to git. The new repository can be found at git://layman.git.sourceforge.net/gitroot/layman/layman

October 10, 2009
Donnie Berkholz a.k.a. dberkholz (homepage, stats, bugs)
links for 2009-10-10 (October 10, 2009, 12:02 UTC)


Robin Johnson a.k.a. robbat2 (homepage, stats, bugs)

solar was asking about release statistics, so I grabbed the current data from Bouncer. The nearly 34k releases for 10.0 is just in the 5 days that it's been out. I included the various architetures that were part of each released 'product', to make some degree of comparision possible.

WhatHitsArches
2005.1
installcd-minimum 228561alpha,amd64,hppa,ia64,ppc,ppc64,sparc64,x86
installcd-universal 374388alpha,amd64,hppa,ppc,sparc64,x86
packagecd 162537alpha,amd64,ppc,ppc64,sparc64,x86

2006.0
livecd 242422x86
minimal 287496alpha,amd64,hppa,ia64,ppc,ppc64,sparc64,x86
packagecd 42572amd64,ppc-g4,ppc-ppc,sparc64
packagecd-32ul 10909ppc64
packagecd-64ul 2981ppc64
universal 111359alpha,amd64,hppa,ppc,ppc64,sparc64

2006.1
livecd 307481amd64,x86
minimal 330505alpha,amd64,hppa,ia64,ppc,ppc64,sparc64,x86
packagecd 39118ppc,ppc-g3,ppc-g4,ppc64,ppc64-g5
universal 122280alpha,hppa,ppc,ppc64,sparc64

2007.0
bt-http-seed 72980ALL
livecd 411958amd64,x86
minimal 496943alpha,amd64,hppa,ia64,ppc,ppc64,sparc64,x86
packagecd 27593ppc-g4,sparc64
universal 137554hppa,ppc,ppc64,sparc64

2008.0_beta1
livecd 19426amd64,ppc64,x86
livedvd 4amd64,x86
minimal 14069alpha,amd64,hppa,ia64,ppc64,sparc64,x86
universal 1745ppc64,sparc64

2008.0_beta2
livecd 37771amd64,x86
livedvd 17842amd64,x86
minimal 55745alpha,amd64,hppa,ia64,ppc,sparc64,x86
universal 3142ppc,sparc64

2008.0
livecd 477934amd64,x86
minimal 406531alpha,amd64,hppa,ia64,ppc,sparc64,x86
packagecd 12308sparc64
universal 83600hppa,ppc,sparc64

10.0_pre20090926-1952
livedvd 4870amd64,x86

10.0
livedvd 33703amd64,x86

10.1
livedvd 0amd64,x86

Notes
  • 2008.* has the LiveDVD's pulled from mirrors due to size complaints.
  • bt-http-seed was an (failed) experiment with a set of mirror URLs for trying to load-balance Bittorrent's HTTP seeding
  • Bouncer really needs replacing, but there's nothing really good to do so that I'm aware of. mod_sentry isn't nice. Other suggestions welcome. Should support products, architectures within products, seperate check/serve URLs, detailed hit recording for analysis.

David Abbott a.k.a. dabbott (homepage, stats, bugs)
Gentoo Ten Live DVD 10.1 (New Release) (October 10, 2009, 01:41 UTC)

After numerous bug fixes and enhancements the Ten Team would like everyone to try out the 10.1 release.
Downloads
Gentoo Ten Live DVD 10.1 x86
Gentoo Ten Live DVD 10.1 amd64

A FAQ is available to assist you. We have also started a thread in our Forum. Please post any BUGS you encounter.

Thank you for your support.

October 08, 2009
Kenneth Prugh a.k.a. ken69267 (homepage, stats, bugs)
A failing battery? (October 08, 2009, 17:22 UTC)

So I’ve been noticing that along with the previously mentioned problem of GNOME not knowing when my AC power is plugged in or not, my battery’s life seems to have been cut in almost a third. I used to get approximately 3 hours of runtime on battery, but lately I have been getting just about 1 hour. The time to charge the battery to full has also increased by a pretty significant amount of time than I remember.

GNOME’s battery applet and acpi -V show the battery doing fine up till about 65% charge and then it just plummets to 5% battery and low battery warnings appear. That’s quite a drastic drop.

For instance, here’s some of the graphs from GNOME today of my battery:

bat0

5 minutes later:

bat1

Looking at those graphs makes me believe that my battery may be standing on its last leg, but I’m not really that knowledgeable about laptop batteries.

Is it time for me to start looking for a replacement battery at this point? Or is there possibly some way to salvage this battery. It’s not really that old, about a year old if I remember correctly. Is it worth trying to recalibrate the battery or is it just shot? Any help is appreciated.

Steve Dibb a.k.a. beandog (homepage, stats, bugs)
utosc: distro round table (October 08, 2009, 15:18 UTC)

Assuming all goes well today (I don't fall into an alternate universe), I'll be taking part in the Utah Open Source Conference a bit.  There is going to be a *nix Distribution Round Table discussion, and I'll be representing Gentoo Linux.  Yeehaw.

Please be sure to hold your applause until the end.

Acutally, to be honest, I'm a bit nervous, since I have no clue what I'm going to say, and I don't do well with crowds.  Should be interesting.  Maybe it'd be a good time to pitch Ubeantoo.