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
. 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 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 21, 2009, 23:03 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 21, 2009
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 ;)

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.

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!

Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Cellphones… sigh! (October 15, 2009, 13:48 UTC)

There is a lot of talk about the Linux-based cellphones out there, I guess lately mostly due to Nokia’s release of the N900; I sincerely am sticking still with the Nokia E75, after switching last year to the E71 (well, it’s not my fault if 3 is giving me chance to switch phone paying it 1/4 of what it’s worth on the market…), but I start to wonder if it was a good idea.

Don’t get me wrong, the phone is good, as mostly is the software on it; unfortunately there are quite a few problems related to it, although I really don’t know how better/worse other systems can be:

  • While most of the software in the phone let me choose the “Internet” aggregated connection as default connection (something very good Nokia added with this release of their S60 firmware), the mail client doesn’t… that means that it continues asking me which connection to use when it has to check the mailbox. Yes, I could tell it to use the direct connection, but then it would try to use it even when I were outside of the standard 3 network coverage, and that’s definitely bad. Plus I prefer to use WiFi if I have it available.
  • Again the mail client: it doesn’t tell me whether there are subfolders with unread messages, I have to check them all by myself, which is quite boring when you want simply to see if you got mail.
  • The browser is a bit puny sometimes; yes it works most of the times, but there are a few things that do bother me tremendously, one of which is the fact that, while it remembers passwords set in forms, it doesn’t remember HTTP digest auth passwords! Which is what I’m using, ça va sans dire.
  • The Contacts on Ovi application (an XMPP client) is definitely strange; even though I have the latest version, sometimes it goes crazy with the contacts, and there are people who I used to have as contacts in there that I cannot find any longer; the fact that they don’t allow to just use any XMPP account, but just Ovi accounts, doesn’t really help.
  • Non-latin characters cannot be displayed; not only Japanese text (for track names of Japanese music for instance), but also little things like the dashes (—), typographical quotes (“”) and arrows (→) cannot be displayed, neither in the webpages nor in the mail messages. This is pretty upsetting to me since I ♥ Unicode.
  • And most importantly, writing applications for Symbian is nigh impossible, at least without using Windows, since I don’t see anything changed since then. And since I’m a developer, sometimes I’d wish I’d be able to just write my own applications for the stuff I need.

Now I guess I’ll have to start considering some ideas on what I’ll go with next time. The choices are most likely iPhone, Android and Nokia’s N900; neither look really short-term to me because they all involve pretty expensive phones — I didn’t pay more than €120 for my current phone. But before I can even think about a decision, I need some further information and I’m not really keen on going on to find it right now because I can barely find the time to write this while I wait for two compiling processes to complete, since I’m fully swamped with work, so I’m writing them here and maybe some of you can help me with them…

Are they able to switch between 3G and WiFi connectivity as needed? Can they blacklist 3G while roaming, and then whitelist a specific network? (This is because when I’m under another 3 network, outside of Italy, the Nokia detects roaming, but the same local tariffs apply so it really should feel like home network for the phone as well).

I know that the iPhone does, but what about the other two? Do they support IMAP with IDLE command? Since GMail implements it I expect at least Android to…

Do the other browsers remember authentication information?

Do they have a IM client compatible with Jabber/GTalk? I guess Android does, I hope so at least. I would prefer for a native client, not something that connects to a middleware server like Fring does.

Can they display Unicode characters, which include Unicode punctuation and Japanese text? I’m told the iPhone does…

Can they sync with something, and I mean that with keeping as much information as possible about a person; I have a very complete Address Book on OSX right now; I haven’t imported it in Evolution in quite a while, I should find a way; neither Ovi Sync, Google Sync and Yahoo! Sync seem to work fine with the amount of details I keep around; Google is probably the worst on that account though. Being able to sync with Evolution directly is definitely a good thing.

How possible is it to write applications for them? I have read very bad things about the Palm Pre; I know that the iPhone has a complete SDK (which I should also have installed already but never used) but it only works on OSX; I do have that system but I would rather work from Linux, so I’m curious about the support for the other two. There’s an Android SDK for Linux but I have no clue how it works. Important detail here: I have no intention whatsoever to crack (“jailbreak”) the device; if I buy something I want that to work as good as possible without having to fiddle with it; if I have to fiddle, then I might as well go with something else, which is probably my main reason against getting an iPhone.

Bonus points if I can write open source applications for the device, since that’s what I’d very much like to do; I’d rather write an open source (free software) application and eventually “sell” it for a token amount on the store for the easiness of installation than write a closed source application and keeping it gratis.

Among other features I’d be needing there are support for Voice over IP (standard SIP protocol) over-the-air (that is, over 3G network as well) and the ability to deal with QR Codes. More bonus points if there is a way to access QR Codes decoding from custom applications (since that would allow me to refine my system tagging to a quite interestingly sophisticated point.

More: having a software able to reject calls from a blacklist of numbers (including calls without a caller ID) would also be appreciated, since I haven’t stopped it since that call (and I keep updating it with numbers of nuisances as needed). Even more bonus points if there is also an SMS antispam that can kill the promotional messages that 3 sends me (they get old pretty soon, especially considering I’m using a “business” account).

Now, all the functions might as well be handled by external apps not part of the firmware, that’s actually even better since there’s a better chance that they’d be updated rather than the firmware. But obviously if I have to spend another €150 just to get the software I need I might simply decide for another family.

At any rate, if you can help me with the future choice, I’d be definitely glad. Thanks!

Tagging… computers (October 15, 2009, 12:29 UTC)

You might remember that some time ago I was looking for some kind of hardware registry to handle some kind of database with the configuration data of various computers I support from time to time for friends and customers.

Unfortunately the only solution I found – GLPI – is written in PHP for MySQL, and both are taboo pieces of s…oftware for me, so I simply ignored the whole issue for quite a while. This till the past few days because one computer I patched up in July came back to me: the disk was faulty already, and I warned the owner at the time that it might not have lasted long, and now it was dead in the water.

What became a problem was that the same person brought me three computers at the time, and I had to find out which one of the three this one was when I went looking for the correct Windows XP Home installation CD; luckily I was able to find it by grepping for the product key, but that really upset me since it took me more than it should have to recognize the computer; it’s easier when I have a direct relation between owner and computer, but that wasn’t the case.

So I went looking for some solution; the first problem was, obviously, finding a way to “tag” the computer; either by using some serial number already visible, or by going one step further and create one of mine. Since not all computers have serial numbers, and they are pretty wild to find sometimes, I decided it was much simpler if I were to create my own code for them; but if I used a mnemonic code, it would be understandable by the owner as well, and might actually wonder why I did choose such a name for the system. One step further: I used as identifier a mnemonic’s MD5, so that it could only be seen as 32 random hexadecimal digits.

At that point you might wonder "how the heck are you going to be able to type in all the digits every time you search for the box? Well it’s actually much easier than that: I set up a private URL on my personal server (protected by HTTP digest), using that 32-character string as filename, and then encoded it… in a QR code thanks to Nokia’s service at that point it was only a matter of printing a label (I have them at home) with the code on it, and then attach it to the box. Thankfully, my E75 mobile phone is able to read such codes, and has Internet access, so just opening the barcode reader application and scanning the label is enough for me to access the page with all the details I need.

Of course in this picture I’m still lacking the server-side support; since GLPI is no-go for me (because of the PHP/MySQL dependencies), I first considered using a Wiki; of course it had to be something using what I already had on the system, which meant, mostly, Rails, so I tried Instiki upon Alex’s suggestion. Let me tell you it was a bad choice. It was really meant as a very quick and “dirty” approach: no authentication embedded in the application, added support for SVG and MathML directly into the (X)HTML, included the log on each page, no way to customize the appearance without changing the view files directly… and added to that, pretty unreadable on the phone.

At that point, I remembered that I dislike webapps for semi-static content so I thought about it a couple more minutes: I’m the only one who has to edit that data; I only need it to be searchable when I know what I’m looking for; I usually go around with my laptop; and git is pretty sweet for handling websites. So I ended up just using static HTML pages (for a moment I thought about using XML and a custom XSLT; while I haven’t decided against this just yet, it’s not really that much of a priority for me; if I were to publish fsws then I might actually consider adding something along those lines so that it could be seen as a standard and then used to import/export, maybe auto-generating some data directly on Linux (like logging the PCI IDs and stuff like that). But for now this will do.

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 13, 2009
Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Multiple password recovery failures (October 13, 2009, 14:21 UTC)

For safety, I never use the same exact password unless it’s the very generic one for services that I don’t care about at all; any service that really keeps information about me, like Amazon and various other hardware (and software) suppliers, have a different password each. I try to stick, whenever I can, with the same username; although sometimes I’m provided an username already (and sometimes, they use my surname, included the accented “ò” letter that ensures funny stuff will happen).

Now, with so many different passwords, it’s almost logical that at some point I’ll forget one; I actually make use of the save password feature in the various OSs/browsers to remember the password for me (on the other hand, I do change some passwords periodically). Sometimes though, when I reset Firefox, change computer, or simply use a new box, I find myself in small trouble since I can’t remember what password I was using on a given site.

This is usually not too bad since almost all sites nowadays provide a “Lost Password” feature. The problem is that such feature is, often enough, written in so many bad ways:

  • don’t send me my old password! If you’re able to send me my old password, then you’re already at two failure points: the first is that you have my password saved in clear text in your database (which is bad because if your database is compromised, your user’s passwords are readable), the second is that you sent me an email, most likely through clear text channels, with the password in clear-text;
  • don’t just change my password! What if somebody else was asking for my password to be changed to waste my time? Send me a token to change the password, please;
  • don’t send me a permanent new password! Even though I’m smart enough to change it right away, make the password a one-time temporary password that requires me to change it right away, pretty please; this way nobody could find it in my mail archive by mistake (the stolen-laptop kind of problem).

While I’m not the kind of paranoid person who would use continuously one-time passwords (well, without considering the banking account), I’m paranoid enough to be doubtful when a service does not provide SSL-based login (okay even my own blog does not do that, but in general I mean for important stuff), and I seriously get scared when a service that remembers – for instance – my credit card, sends me an email with my password in clear-text. Which is why I use different passwords in the first place.

I learnt this the hard way actually, because the ASP web application used for the forum of an ancient gaming site I was involved is stored the passwords in clear-text, on an Access database file that was readable via HTTP if you knew the path, and since that went hacked quite easily (I only started administering that box after this happened), and I was using the same password for lots of services.

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
Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
And finally, the Portage Tree overhead data (October 10, 2009, 17:35 UTC)

I’m sorry it took so long but I had more stuff to write about in the mean time, and I’m really posting stuff as it comes with some pretty randomly ordered things.

In the post about the Portage Tree size I blandly and incompletely separate the overhead due to the filesystem block allocation from the rest of size of the components themselves. Since the whole data was gathered a night I was bored and trying to fixing up my kernel to have both Radeon’s KMS and the Atheros drivers working, it really didn’t strike as a complete work, and indeed it was just to give some sense of proportion on what is actually using up the space (and as you might have noticed, almost all people involved do find the size, and amount, of ChangeLogs a problem). Robin then asked for some more interesting statistics to look at, in particular the trend of the overhead depending on the size of the filesystem blocks.

This post, which comes after quite some angst is going to illustrate the results, although they do tend to be quite easy to see with the involved graphs. I hope this time the graphs do work for everybody out of the box; last time I used Google Docs to produce the output and linked it directly, this saved a lot of traffic on my side, but didn’t work for everybody. This time I’m going to use my blog’s server to publish all the results, hoping it won’t create any stir on it…

First of all, the data; I’m going to publish all the data I collected here, so that you can make use of it in any way you’d like; please note that it might not be perfect, knowledge about filesystems isn’t my favourite subject, so while it should be pretty consistent, there might be side-effects I didn’t consider; for instance, I’m not sure on whether directories have always the same size, and whether that size is the same for any filesystem out there; I assume both of these to be truths, so if I did any mistake you might have to adapt a bit the data.

I also hasn’t gone considering the amount of inodes used for each different configuration, and this is because I really don’t know for certainty how that behaves, and how to find how much space is used by the filesystem structures that handle inodes’ and files’ data. If somebody with better knowledge of that can get me some data, I might be able to improve the results. I’m afraid this is actually pretty critical to have a proper comparison of efficiency between differently-sized blocks because, well, the smaller the block the more blocks you need, and if you need more blocks, you end up with more data associated to that. So if you know more about filesystems than me and want to suggest how to improve this, I’ll be grateful.

I’m attaching the original spreadsheet as well as the tweaked charts (and the PDF of them for those not having OpenOffice at hand).

Overhead of the Gentoo Tree Size

This first graph should give an idea about the storage efficiency of the Gentoo tree changes depending on the size block size: on the far left you got the theoretical point: 100% efficiency, where only the actual files that are in the tree are stored; on the far right an extreme case, a filesystem with 64KiB blocks… for those who wonder, the only way I found to actually have such a filesystem working on Linux is using HFS+ (which is actually interesting to know, I should probably put in such a filesystem the video files I have…); while XFS supports that in the specs, the Linux implementation doesn’t: it only supports blocks of the same size of a page, or smaller (so less than or equal to 4KiB) — I’m not sure why that’s the case, it seems kinda silly since at least HFS+ seems to work fine with bigger sizes.

With the “default” size of 4KiB (page size) the efficiency of the tree seems to be definitely reduced: it goes down to 30%, which is really not good. This really should suggest everybody who care about storage efficiency to move to 1KiB blocks for the Portage tree (and most likely, not just that).

Distribution of the Gentoo Tree Size

This instead should show you how the data inside the tree is distributed; note that I dropped the 64KiB-blocks case, this because the graph would have been unreadable: on such a filesystem, the grand total amounts of just a bit shy of 9GB. This is also why I didn’t go one step further and simulated all the various filesystems to compare the actual used/free space in them, and in the number of inodes.

This is actually interesting, the fact that I wanted to comment on the chart, not leaving them to speak for themselves, let me find out that I did a huge mistake and was charting the complete size and the overhead instead of the theoretical size and the overhead in this chart. But it also says that it’s easier to note these things in graphical form rather than just looking at the numbers.

So how do we interpret this data? Well, first of all, as I said, on a 4KiB-sized filesystem, Portage is pretty inefficient: there are too many small files: here the problem is not with ChangeLog (who still has a non-trivial overhead), but rather with the metadata.xml files (most of them are quite small), the ebuilds themselves, and the support files (patches, config files, and so on). The highest offender of overhead in such a configuration is, though, the generated portage metadata: the files are very small, and I don’t think any of them is using more than one block. We also have a huge amount of directories.

Now, the obvious solution to this kind of problems, is, quite reasonably actually, using smaller block sizes. From the reliability chart you can see already that without going for the very-efficient 512 bytes blocks size (which might starve at inode numbers), 1 KiB blocks size yields a 70% efficiency, which is not bad, after all, for a compromise. On the other hand, there is one problem with accepting that as the main approach: the default for almost all filesystems is 4KiB blocks (and actually, I think that for modern filesystems that’s also quite a bad choice, since most of the files that a normal desktop user would be handling nowadays are much bigger, which means that maybe even 128KiB blocks would prove much efficient), so if there is anything we can do to reduce the overhead for that case, without hindering the performance on 512 bytes-sized blocks, I think we should look into it.

As other have said, “throwing more disks at it” is not always the proper solution (mostly because while you can easily find how to add more disk space, it’s hard to get reliable disk space. I just added two external WD disks to have a two-level backup for my data…

So comments, ideas about what to try, ideas about how to make the data gathering more accurate and so on are definitely welcome! And so are links to this post on sites like Reddit which seems to have happened in the past few days, judging from the traffic on my webserver.

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 09, 2009
Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
Is ohloh here to stay? (October 09, 2009, 14:53 UTC)

You probably know ohloh — it’s a website that provides statistical information about a number of Free Software (but not limited to) projects, fetching data from various source repositories and allowing developers to “aggregate” their commit statistics; it works partly like cia but rather than receiving commit messages, it fetches the whole commits (since it analyses the code as well as the commits).

While I like it, and blogged about it before, I do start having some reserves to it; there are quite a few problems related to it that made some of its useful features moot, and at the same time it seems like it grew some extra features (like download servers) that seem, nowadays, pretty pointless.

Don’t get me wrong, I love the idea itself; and I’m pretty sure developers love statistics, but as I said there are quite a few issues, especially when you add to the story some things like the huge increment in use of distributed version control systems (Git, Bzr, Mercurial, …), and the increased popularity of identi.ca among free software developers. I’m afraid that some of these environment changes are going to kill off ohloh by this pace, mostly because it really doesn’t seem like it’s going to adapt anytime soon.

You might remember my post about the journal feature which was, at the end, simply a tweaked microblogging application; I say tweaked because it had one fundamental feature: hash-tags weren’t simply invented, they directly related to the ohloh projects. Unfortunately, even I abandoned that feature. The reason for that was not only that it seemed to fail to reach the critical mass for such services to be useful, but also that the implementation had quite a few problems that made it more of a nuisance than something useful. The Jabber bot happened to die more often than not, and even when it worked sometimes it failed to update the website at all. I don’t know whether a proper API was defined for that, but it didn’t get support from desktop microblogging software like gwibber for instance, which could have helped build-up the critical mass needed.

Another issue is with the explosion of DVCS, as I said: since now any people wanting to branch a software to apply some fixes or changes is able to have their own repository, there has to be some filtering in which repositories do get enlisted in ohloh: who decides which repositories are official? This is probably one of the reasons why managers were added to the projects; unfortunately this came probably in too late, and as far as I can see most projects lack a manager at all.

And another problem still: seems like any project that involves changing something in the Linux kernel ended up importing a whole branch of the Linus repository (for obvious reasons), which makes my contributions list projects such as Linux ACPI LinuxSH LTTng OpenMoko (this actually created a bit of a fuzz with a colleague of mine some time ago) OpenEZX KVM linux-omap and linux-davinci and that’s just for one patch, mostly (a few already picked up my second named patch to the kernel, which is even more trivial than the first one; I got a third I’ll have to re-send around sooner or later).

But this by itself would just mean that, like many other projects, of all possible kind out there, ohloh has problems to face and solve, no sh*t Sherlock. Why do I go a step further saying that it might not be around for long still? Well, some time ago, I think it was in relation to the blog post I named above about journals, I was contacted by Jason Allen which is ohloh’s head, who asked my help to clear out some problems with indexing gentoo’s repositories (the problem still exists, by the way, there is a huge timeframe indexed but nowhere near the 10 years we just celebrated). I was able for a while to contact him when some problem came up with ohloh and that was fine; unfortunately I have been unable to contact him for a few months now (around the time SourceForge acquired them if that says anything), and this includes pinging him on ohloh’s own journal feature. I hope he’s alright, and simply too busy with the joined stuff to answer, but still that doesn’t profile well for ohloh as a website.

There are other problems as well, don’t you worry: for instance, the projects allow to set up feeds to publish in the project’s page: they used to have problem with UTF-8 and thus garbled my surname (not the only ones mind you), but this became even worse with time because requests go out without an User-Agent (which means my current mod_security configuration is rejecting the requests); of course I could whitelist the ohloh’s server IP address, but… it doesn’t look like a complex bug to fix does it?

And finally, the other day I was considering making use of the ohloh data to prepare a script showing a tagcloud-like list of projects I contribute to, I wanted something that could show easily what I really do… ohloh makes available an API that most likely had everything I needed, but, for a website that proposes you to “Grok Open Source” (that’s what the homepage says), having a clause like this in the API documentation seems a bit… backwards:

It is important not to share API keys. In order to access or modify account data, your application must be granted permission by an individual Ohloh account holder. This permission is granted on a per-key basis.

Now, I know that it’s pretty difficult for webservices to properly authenticate applications using services, and thus why API keys are used; but at the same time, doesn’t this block the whole idea of open-source clients using those APIs?

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.

October 07, 2009
Diego E. Pettenò a.k.a. flameeyes (homepage, stats, bugs)
How special PAM supports gets added to Gentoo (October 07, 2009, 16:24 UTC)

You might wonder why the PAM support for special authentication method is somewhat lacking in Gentoo; the reason is that, mostly, I maintain PAM alone, which means that you get to use whatever I use myself most of the time. One of the things that I was very upset we didn’t support properly was the Smartcard/Token based authentication; unfortunately, while I got two smartcard readers in the past months to do some work, I hadn’t fetched a smartcard yet, and tokens seem to be quite difficult to find for end users like me.

Thanks to Gilles (Eva), I now have a token to play with, and that means I’m looking to write up proper support for token-based authentication (and thus, smartcard-based as well). This already started well, because I was able to get one patch (split in three) merged in pam_pkcs11 upstream (available in the gentoo 0.6.1-r1 ebuild), as well as cleaning up the ebuild to work just like it’s supposed to as a PAM ebuild (for instance not installing the .la files which are not used at all).

But since this is not yet ready to use, it’s easier if I show you how it works after a day or two of tweaking:

Yes today I was quite bored.

Please note that this is not really “production ready” in my opinion:

  • the pam_pkcs11 module uses the /etc/pam_pkcs11 directory for configuration, but almost all PAM modules use /etc/security for their configuration;
  • the pkcs11_eventmgr daemon has to be started by the user manually, but it uses a single, system-wide configuration file (/etc/pam_pkcs11/pkcs11_eventmgr.conf), this does not really seem to be the right way to handle it for me, but I’ll have to discuss that with upstream;
  • most likely we want to provide, based on USE flag or in a different ebuild, some scripts to handle the event manager more easily, for instance making it start on each X and console login, and making sure that the login is locked as soon as the key is removed;
  • the event manager polls for the card, which is using CPU and power for no real good reason; a proper way to handle this would require for udev to send signals on plug and remove so that the event manager can handle that; since the exact key needed is unlikely to be known at rules-generation time, this might require adding a central daemon monitoring all the smartcards and tokens and passing the information to registered event managers.

This mostly means that there’s going to be a long way to go before this is ready, and I’m pretty sure I’ll have to write a complete documentation on how to set it up, rather than just a blog post with a video, but at least it’s going to be feasible, at one point.

Please feel free to comment on whether the video is useful at all or not; I’m trying to experiment with less boring methods of explaining stuff related to Gentoo and free software in general, but I have no clue whether it’s working or not, yet.

October 06, 2009
Kenneth Prugh a.k.a. ken69267 (homepage, stats, bugs)
Gnome: Are we plugged in? (October 06, 2009, 15:19 UTC)

Lately I have been experiencing an annoying behavior from Gnome. I am on my laptops battery fairly often being a student, so going into powersave mode and the like is a must. This normally isn’t a problem and basically just works when I plug into/out of AC power.

In the past few weeks, however, I have been getting problems from Gnome. I will unplug the AC power and Gnome won’t recognize it and won’t adjust all my settings to conserve power. Sometimes after a few minutes Gnome will realize it, but there have been occurrences where I have drained the entire battery flat and it still believed it was plugged in. Sometimes suspend/resuming will cause it to realize it is in battery mode but not always.

So far I have not found a solution for this or an absolute way to poke Gnome to realize it’s on battery power. I’m hoping it will just magically fix itself in the next few days.

October 05, 2009
Steve Dibb a.k.a. beandog (homepage, stats, bugs)
star trek on blu-ray: wrath of khan (October 05, 2009, 16:09 UTC)

Well, there's not much I can say about the second movie, since I got less than 15 minutes into it, and was so unimpressed, I gave up on it.  I probably should have given it a bit more time, now that I think about it, but I already sent it back to Netflix, ah well.  So, this will probably be a crappy review.

But, my video review is this -- it looked just like the DVD transfer.  It was nice, but nowhere near the picture quality of the first motion picture.  Not even close.  I could tweak my TV of course, and make the colors a bit brighter on the whole, but it just didn't have that Blu-Ray HD look and feel to it at all.

Maybe I got the wrong one, who knows?  There are *already* three versions of the movie out (one, two, three) on Blu-Ray.  It's possible that they are all the same version, just repackaged.  I'm pretty sure the one I got was from the first link.  Which, if that's the case, bummer, because they gave the video a 4.5 out of 5.  Hmm.  I'll probably  need to give it another chance sometime.  Maybe I just wasn't in the mood to watch it.  Who knows.

It's been mentioned, and I haven't done the research since I'm not really picky about this part, that the Blu-Ray version was not the director's cut of the movie.  Having seen the movie so many times, I don't doubt I've seen both versions, but I don't remember anything different standing out, so I have no idea what I'm missing.

Anyway.  I'll probably come back and visit this one again sometime.  The picture just looked grainy and dull to me, and I wasn't ready to sit through it if it wasn't going to the visual overhaul I was expecting.  Hopefully the next two do a bit better.

Gentoo Linux - Ten Years Compiling: 1999 - 2009 (October 05, 2009, 01:03 UTC)

Happy Tenth Birthday, Gentoo!

Gentoo Linux is proud to announce the immediate availability of a new, special edition LiveDVD to celebrate this monumental occasion. The LiveDVD features a superb list of packages, some of which are listed below.

  • System packages include: Linux Kernel 2.6.30 (with gentoo patches), Accessibility Support with Speakup 3.1.3, BASH 4.0, GLIBC 2.9, GCC 4.3.2. Binutils 2.18, Python 2.6.2, Perl 5.8.8, and more.
  • Desktop Environments and window managers include: KDE 4.3.1, GNOME 2.26.3, Xfce 4.6.1, Enlightenment 0.16.8.15, Openbox 3.4.7.2, Fluxbox 1.1.1, TWM 1.0.4, and more.
  • Office, graphics, and productivity applications include: OpenOffice 3.1.1, G/Vim 7.2.182, Abiword 2.6.4, GNUCash 2.2.9, Scribus 1.3.3.11, GIMP 2.6.4, Inkscape 0.46, Blender 2.49a, XSane 0.996, and much more.
  • Web browsers include: Mozilla Firefox (Minefield) 3.5.3, Arora 0.7.11, Opera 10.0, Epiphany 2.26.3, Galeon 2.0.4, Seamonkey 1.1.17, and other favorites.
  • Communication tools include: Pidgin 2.5.9, Quassel 0.5, Mozilla Thunderbird 2.0.23, Claws Mail 3.7.2, Ekiga 2.0.12, Qtwitter 0.7.1, irssi 0.8.13, and many more.
  • Multimedia applications include: Amarok 2.1.1, MPlayer 1.0_rc4, DvdAuthor 0.6.14, LAME 3.98.2, FFMPEG 0.5_p19928, GNOME-MPlayer 0.9.7, SMPlayer 0.6.6, and several others.

The Gentoo-Ten LiveDVD is available in two flavors, a hybrid x86/x86_64 version, and an x86_64-only version. The livedvd-x86-amd64-32ul-10.0 will work on x86 or x86_64. If your arch is x86, then boot with the default gentoo kernel. If your arch is amd64 boot with the gentoo64 kernel. This means you can boot a 64bit kernel and install a customized 64bit userland while using the provided 32bit userland. The livedvd-amd64-multilib-10.0 version is for x86_64 only.

Please select your architecture to be redirected to a mirror for download: x86amd64

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

In addition, we have some exceptional new artwork from Ben Stedman, and Gentoo Developer Alex Legler.

Thank you for your continued support,

Gentoo Linux Developers, The Gentoo Linux Foundation, and The Gentoo-Ten Project

October 04, 2009
Review progress (October 04, 2009, 22:39 UTC)

In overlay news, we are currently at 75% of completeness for the 2.28 release. Currently reviewed 46 ebuilds, at bit less than 55 to go.

In other news, if you get strange gnupg related failures, head over to bug #275291. We will apply patch when someone from gnome herd has a chance to get around it.

Update: fix typo

Mounir Lamouri a.k.a. volkmar (homepage, stats, bugs)
Gentoo/PPC needs you ! (October 04, 2009, 21:41 UTC)

Gentoo/PPC team is here to make sure packages are marked stable and are keyworded as soon as possible and without breaking the tree. Unfortunately, we can't manage the flow of bugs coming and the list is growing too quickly.
Stabilizing and keywording is a big work. Fauli have explained it a few weeks ago in a blog entry.

So if you have a PowerPC and you want to help, you can and we will appreciate it !
First of all, look at the Gentoo/PPC testing doc. Some things may be outdated, consider essentially the procedures.

I've made some bug lists to make the life of everybody easier:
- stabilization requests
- keyword requests
- security bugs

Please, refer to the Gentoo/PPC testing doc if you want to help on one of these bugs.

Do not hesitate to come see us on #gentoo-powerpc on freenode.

2009 Gentoo 10 Screenshot Winners (October 04, 2009, 18:03 UTC)

Woot! Happy Birthday Gentoo. As part of the Birthday party today we announce the winning screenshots.

Thanks to everyone who entered the contest. There were 54 entries using 5 different window managers / desktop environments.

The Winners
  1. Quick23t Compiz Fusion
  2. ashtophet Fvwm 2.5.27
  3. Integer Fluxbox

For all the specifications and cool details please visit the winners page.

discuss this!

Josh Saddler a.k.a. nightmorph (homepage, stats, bugs)
R700, KMS, 3D, SSD, and other hardware (October 04, 2009, 08:37 UTC)

Gosh, just look at all the buzzwords in the title!

As you may have guessed, I'll be talking a bit about the recent developments on the FOSS drivers for RadeonHD cards, specifically for R700 cards. And some other hardware stuff.

Radeon

Yesterday, October 3, I made some big ol' changes to my workstation.

I decided to try out the new video driver stack that all the kids have been talking about. Kernel Mode Setting, git Mesa/xf86-video-ati/libdrm, git kernel 2.6.32_rc1-git3. All that jazz. I wanted to see if the 3D and KMS features were really working on my RadeonHD 4550 or not. I normally run a stable graphics stack, with ~arch Mesa/x86-video-ati/libdrm where necessary to keep up on 2D acceleration and features.

This was a big leap for me. So I first consulted some of the X11 team members, remi and nirbheek, who were quite helpful. I installed the latest git-sources kernel, which at the time was 2.6.32_rc1-git3. Mike Pagano has since added -git5. Next, I downloaded the individual -9999 ebuilds for the git master packages from the X11 overlay, stuck 'em in my local overlay, and merged 'em. Only thing left to do was reboot.

Lemme tell ya -- KMS in action is awesome. The console output is just beautiful, and there's no more flickering when SLiM and Xfce load.

I did notice some minor graphical corruption of the default mouse pointer. However, the corruption isn't present when using any pointer but the default "arrow", and it also isn't seen when hovering inside a Firefox window. I was told this is because Firefox uses its own cursors. Anyway, I reported the bug upstream.

Disclaimer: I know glxgears isn't a benchmark. But folks always want to know its results anyway. I tried running glxgears, which gave me a result of over 1300FPS with desktop compositing activated. My window manager is xfwm4, so all compositing is via Xrender, not OpenGL. Disabling compositing resulted in a 500FPS boost to over 1800FPS. What's this mean? Who knows. Probably nothing. Moving on.

I took the advice of my fellow developers on IRC and installed quake3-demo. Couldn't run it, though. It blanked the screen, then a message from my LCD firmware appeared, some kind of "input not supported" or "input not detected" error. It slowly repeated the window, drawiing it from center to the top right. I had to Ctrl-Alt-Bksp to get to the console. It also locked up SLiM in the background, pegging one of my CPU cores at 100%. At this point, I rebooted just to test that KMS was still working, then called it a night.

Today, I revisited my pointer corruption bug tried the workarounds posted by Alex Deucher. To my surprise, each one worked! Booting with radeon.modeset=0 removes the glitch, though it makes each boot extremely ugly, of course. Specifying EXANoDownloadFromScreen "true" in /etc/X11/xorg.conf also fixes the corrupted pointer, though it may also be slowing down all screen drawing operations by the tiniest bit. The jury's still out on that one; it may just be my imagination. I decided to keep this second fix, as KMS is just too glorious to throw out. I like pretty boots.

I also revisited quake3-demo, since I found some pointers on the Phoronix forums that had a workaround, which is to run OpenGL applications prefixed by LIBGL_ALWAYS_INDIRECT=1. To my surprise, this worked nicely. I tested resolution has high as 900-something by 720. My screen is 1440x900, but I haven't felt like pushing it that far, yet. The game is fluid and playable. I need to figure out how to display FPS so I can properly record what I'm seeing.

With the success of Q3demo, I remembered that QuakeLive has recently added Linux support. I installed the add-on for Firefox and tried it out. Works nicely, though I'm also running Firefox with LIBGL_ALWAYS_INDIRECT=1 just to be sure. As Alex Deucher and John Bridgman have pointed out on the Phoronix forums, that variable really isn't the safest thing to do, since if something crashes it can take down the whole X server, not just the application. However, it's also the only way I get working 3D games.

QuakeLive is pretty playable, though the framerates in a few places aren't smooth -- I can't tell if this is because of my card's capabilities, or the driver stack, or the whole weird idea of playing a 3D first-person shooter inside a web browser. :) The big problem with QuakeLive is that the sound is terribly distorted: the voices are greatly drawn-out and slowed down, like playing an old tape recorder at 1/4 speed. There are some solutions on the QL forums, but they're mainly for Ubuntu/Pulseaudio users. I haven't found anything that works for me, yet. The effects and music are okay; it's just the voices that lag horribly.

I've also installed the latest Nexuiz, version 2.5.2, in anticipation of future testing. One of these days I'll reinstall UT2004, but I haven't read any succesful reports of that game on R700 cards. There's a lot of testing to do in the future!

Overall, I'm thrilled with the new driver hotness for my ATI card. I bought it specifically because I knew the 2D support at the time was excellent, and because there would be so many good things coming down the way for other features, including 3D acceleration. (Yes, just like the latest XKCD strip. I swear, it's like that guy listens to everything I say and watches everything I do. It's really spooky!)

Hats off to all the developers for making it happen. Many thanks!

SSD

After August's fiasco with a defective SSD, I decided to use my refund from the RMA and order a different SSD a few days ago. This time I've settled on a SanDisk enterprise SSD from an HP blade server. Only cost $49, no shipping charges. Brand new. eBay for the win.

It packs 16GB of SLC flash, which makes it perfect for mounting /usr/portage and /var on it. This way I can feel free to sync whenever I want, instead of only once a week or more. My system drive uses MLC flash, so I've been trying to ease the write load on it, which means putting the high-write activity on a dedicated disk.

The SanDisk SSD "only" has sustained reads/writes at 60MB/sec, but that's plenty for syncing Portage, as the real limiter is not how fast data can be dumped to the disk, but how fast the rsync servers can send it to my box. Same for /var writes -- it's mostly just log files and some tiny temp things, as /var/tmp is already mounted on a RAMdisk. No large files that need >100MB/sec bandwidth. I'm lookin' forward to shovin' it in my box!

More hardware

Since September 28 was my birthday and all, I've been treating myself to various bits of cheap hardware. Like a replacement AC adapter for my DC PicoPSU. The current AC brick is rated at 102W, which is way more than I need, but the problem is that it spins up its tiny fan at only 50%-75% load. This means that opening up a bunch of tabs, compiling packages, playing Quake, watching large-sized Hulu videos and whatnot turns on the fan right away. And it's the world's most annoying fan. It's loud, whiny, it hisses, and it blows the bad smell of very hot electronics out into the room. Lemme tell you, hot plastic and PSU guts do not smell good.

I just ordered a replacement fanless adapter. This thing is high-quality, designed to run very cool. And it's rated at 150W output, meaning it can match my 150W PicoPSU. My max system draw is maybe 60W, but I'll have overhead room in case I ever feel like upgrading a key component somewhere.

I also bought a $40 wireless router, an Asus WL-520gU. I already have a WL-500gP v2, which I hacked and flashed with DD-WRT a long time ago. This new router is so that I can hook up my Xbox 360 to the network without having to run 50 feet of cable across the carpet. I chose the 520gU instead of the gC because the gU supports Xlink Kai, which seems prett cool to me, as I don't have a Gold Live account. Yay for tricky internets. Apparently it's pretty common to buy a cheap wireless router and put it into client mode, rather than buying the $100 official USB dongle . . . which doesn't even support WPA2-AES or any decent security. Asus routers are known for excellent open-source support, and I've had nary a complaint about my current one. Yay for Linux on routers! Yay for online gaming!

* * *

Oh yes, and before I forget, this month's Xfce desktop:

Space ice!

It's October, but my current desktop is so pretty (gallery link) I haven't felt the need to switch for the last couple of weeks. There's another clean version that just shows off the wallpaper in my devspace.

David Abbott a.k.a. dabbott (homepage, stats, bugs)
Podcast 64 The Making Of Gentoo Ten LiveDVD (October 04, 2009, 01:14 UTC)

Happy Birthday Gentoo
livedvd
The 10th anniversary Gentoo LiveDVD was made by the community for the community. It was created with the help of Gentoo developers from around the world and users alike. In this podcast I talk about some of the people and a brief discussion on how it came together.

Full Screenshot
Join us on freenode irc channel #gentoo-ten

LINKS:
Gentoo Ten Team
http://dev.gentoo.org/~dabbott/pr/gentoo-ten-team.txt
Gentoo Ten LiveDVD FAQ
http://www.gentoo.org/proj/en/pr/releases/10.0/faq.xml
Forum Post
http://forums.gentoo.org/viewtopic-t-793820.html
Gentoo Ten Wallpapers
http://www.gentoo.org/proj/en/pr/releases/10.0/graphics.xml

irc network freenode channel #linuxcrazy

LiveDVD (released Oct 4, 2009)
http://www.gentoo.org/main/en/where.xml

Download

ogg

mp3

specs

October 03, 2009
Jeremy Olexa a.k.a. darkside (homepage, stats, bugs)
Re-locating a linode installation (October 03, 2009, 23:02 UTC)

I recently had a bit of downtime on my linode. If you are wondering what a 'linode' is, check out my review or the website. And a big thank you to the folks that used my referral code when they got setup with linode themselves, you guys rock!

So, about my recent 1/2 day downtime. It was self-inflicted because I wanted to move to a different datacenter. I moved my linode from Newark, NJ to Dallas, TX. It is quite a long story, but it boils down to a problem with my ISP (Comcast). I was only able to pull 100K/s from the Newark datacenter and 2-3M/s from the others. This was unacceptable. I tried to get it escalated past Comcast's frontline support but they kept asking me questions like "Do you use a router? If so, each computer only gets 1/2 the speed" & "Every computer is different. I'm glad that you can get 3M/s from another host, that is really good" Sigh.

At least Linode's customer server was helpful and allowed me to work around the ISP. The steps to move a linode are as follows:

  1. File a support request. (My initial request was answered in 11 minutes)
  2. Shutdown your linode
  3. Hit the 'migrate' button, after support sets up your migration
  4. Wait for the transfer. My total transfer time was ~43 minutes (~6G to transfer). This was pretty fast throughput, in my opinion
  5. Meanwhile, update your DNS for your new IP.
  6. Since you can queue up a boot job, I just let it go and checked in on it a couple hours later. Magic, it was online. :)

So, to finish the story off. Linode++, Comcast--. I wish I didn't need to do something like this, I wish my ISP was...I don't know...smart?

Patrick Lauer a.k.a. bonsaikitten (homepage, stats, bugs)
Update: Gentoo in commercial environments (October 03, 2009, 18:28 UTC)

I've been busy collecting some really great stories from people using Gentoo in places that I really didn't expect. Some of them want to remain anonymous, which I have no issue with. But there are some gems like this one:

==========
Hey, I'm the CTO of a small company in Sweden, and this is our short 'success story' :-)

blogg.se is a Swedish blogging platform which generate 130 000 new entries, 150 000 comments and 2 500 new accounts on a daily basis. We currently (September 25th, 2009) have a reach of 2,2M unique visitors per week.

Gentoo has always been the preferred OS choice for us. We (the developers) were all attracted by its 'sane' defaults and clean approach to software deployment.

Here at blogg.se we use Gentoo for all our staging, testing and production environments. We have about 30 running instances on 32-bit, 64-bit and KVM-virtualized hardware.

Gentoo (and its wide ecosystem of utils) has been very helpful in helping us plan our environment. We use layman to distribute our own software, Metro for building custom images and a wide range of apps for maintaining our installs.

The collaborative efforts of Gentoo is inspiring and something you want to be a part of. I'm already involved through the Sunrise-overlay and hopefully qualifying as a Gentoo developer some time soon.

Johan Bergström
CTO blogg.se
===========

That's quite awesome on multiple levels, and I thank Johan for sharing this short glimpse at how people leverage Gentoo. I hope to publish a few more stories soon, so stay tuned and feel free to mail me your story!

Last-minute reminder: Today is Gentoo bugday**! (October 03, 2009, 15:42 UTC)

**fixing bugs with both users and devs together.

Join us in #gentoo-bugs on Freenode, please!

Steve Dibb a.k.a. beandog (homepage, stats, bugs)
ripping vhs (October 03, 2009, 15:17 UTC)

I don't think I've ever written about how to rip a VHS tape before, so I figured I'd write up a quick guide since it looks like that's part of what I'm gonna be doing this weekend.  Yet another item I've long had on my todo list was to get a digital copy of some really old tapes put out by my church, since they were never released on DVD.  Fortunately, it's really easy if you have a TV tuner card.

I'm using a Hauppauage PVR-500 card, which has composite inputs on the rear, and that's how I'm capturing the feed.  That good old analog hole.  Although, ideally, the Macrovision DRM shouldn't allow that, so don't ask me how it's working.

Anyway, it's simply a matter of switching your input to the component input, and then using ffmpeg to capture the stream.

To change the input, you'll need the IVTV utitiles.  In my case, the command is:

$ v4l2-ctl -i 2

Then, with ffmpeg, you can capture the stream, just copying it and saving it in its native format.  My PVR card does hardware encoding to MPEG2 video and audio, so I can just save it directly.

$ ffmpeg -i /dev/video0 -vcodec copy -acodec copy -t <hours:minutes> vhs.mpg

And thar ya go.  Pretty simple.

Uncle_Ben

Here's a screenshot from an old church video.  As you can see, its slightly grainy, but that's because of the source, not because of the transfer.  It would look just as good / bad on the VCR player itself, so the conversion actually works really well.

Edit: I thought I'd add a bit more technical details as far as the MPEG encoder goes.

The video is MPEG-2, and the bitrate is 8000 kb/s.  The framerate is NTSC, of course.  The picture is 720x480 in size (my snapshot above is scaled down for presentation).

The audio is encoded to MP2, and it keeps the stereo stream.  The bitrate is 224 kb/s.

October 01, 2009
News from the front (October 01, 2009, 23:04 UTC)

For those that might have been wondering where was that guy speaking about imminent stabilization of gnome 2.26, well I was taking some time off (sort of). The Gnome 2.26 situation got a bit better in the last weeks as due to the production of a release media, a lot of dependencies we were waiting on are finally getting stabilized. You can still see progress on bug #263083, closer than ever !

Since I can't stand working on Gnome 2.26 anymore and since upstream has been kind enough to drop their new almost shiny 2.28, I started doing some QA on ebuilds in overlay before allowing them to move to the tree. Over 92 ebuilds, all of which are not necessarily interesting for gnome 2.28, I've currently reviewed 25 and that's with current 65% of completeness of the ebuild bumps, so there is still quite some work, and don't expect the overlay to be safe for use just yet.

One last word on 2.26, there will be a migration guide, it's still getting a few modifications before it all goes public with stabilization but I'm spreading the word in the hope that we won't see any new bugs concerning what has been documented.

Remi Cardona a.k.a. remi (homepage, stats, bugs)

Turned out that xorg-server 1.6 is pretty much ready for stabilization, as only a handful of bugs were reported over the testing period since last week, and they only concerned the stabilization list.

Without further ado, I've asked our faithful Arch Teams (pretty much all of 'em) to stabilize xorg-server 1.6 and friends. amd64 was the first one to the finish line with a stabilization done in under a day!

Gentoo is again back in business for X. Woo!

Now to all stable users, don't forget to read the upgrade guides we wrote :

Don't forget, please file bugs in bugzilla.

Curses::Toolkit (part 10) - Mouse interaction (October 01, 2009, 12:41 UTC)

So I've been playing with mouse interaction (I stoled some code from Curses::UI, but treid to go the extra mile), and finally I am able to handle mouse interactions within Curses::Toolkit

Curses::Toolkit can now listen to and intercept any mouse button events. You can add a Curses::Toolkit::EventListener::Mouse::Click to any widget, so that it becomes mouse aware.

By default, I think I'll add some mouse interaction to the widgets. For instance Widget::Window already have mouse upport, as I show in the video. I'll add mouse support for Widget::Button, and probably other widgets as well, at least to handle the focus.

The issue is that I fail to catch the events of the mouse moving, I catch only the button events. That's why I can't draw the windows when moving them. Ncurses is supposed to let you catch the mouse positions when moving it, but I failed to get that. Maybe it came from my terminal as well. If you have any idea about that, I could use some help here !

Also, speaking of the terminal, I use Terminal.app usually, but I failed to configure it to catch mouse events (like mouse clicks). I thought it was possible but I had to use iTerm, which in turn I fail to configure to dicplay nice graphical-like borders and corner characters. If you have any clue on either how to configure Terminal.app to catch mouse events, or how to configure iTerm to properly render special characters, please let me know ! :)

Curses::Toolkit (part 9) - New widget : Entry (October 01, 2009, 12:40 UTC)

Let me introduce a new widget in the Curses::Toolkit world : Widget::Entry.

Nothing much to say about it, have a look at this video. I tried to have the Entry widget to support basic shortcuts, and behave like one would like it to behave. I still to add some stuff to it, but it's in decent shape. Enjoy.

Curses::Toolkit (part 8) - New theme (October 01, 2009, 12:37 UTC)

Hello again !

Let's see what's new on the Curses::Toolkit front. Please see the previous posts for the background story.

I have finally worked out a reasonable way to have themes that allow for some advanced customization. Having a theme that defines the colors, if some text should be displayed in bold or in reverse mode is straight forward. However, having themes that can customize the shape of a widget, the way it's placed and drawn is more complicated.

It's hard to find the right balance between on a rigid widget toolkit with a very simple theme engine that allow barely any customization but is very easy to use, and a complicated theming system t hat allows full control on the shape of the widgets but is hard to manage and use, leading to no one willing to expand it.

So I went for a simple pragmatic approach : the basic drawing primitives (drawing a string, a border, a corner, etc) can be themed regarding colors and line style. For the advanced customization, i t's up to the widget classes to declare what can be customized in them. For instance, a Widget::Border declares that its border size can be customized. a Widget::Window inherits from Widget::Border, so if its border size is positive, the border ad the title which is displayed on it will be visible. The Widget::Window itself declares that its title can be placed in the center, right, left, etc.

So the widgets declares what can be customized in them, and their various methods (drawing methods, or coordinates computation) take in account these various parameters, and their parent's ones. Oh it's nothing revolutionary, and if I was implementing a graphical toolkit, it would be unmanageable, because too simple. But because we are in the ncurses world, the possibilities of customization are limited, and the level detail is lower (we are manipulating characters here, not pixels).

So I think this approach is not too bad. Besides it allows me to implement a widget at first without any theming characteristics, then add them later on when I'm polishing its rendering methods.

As soon as I'll have more widgets, I'll see if this way of doing it was a good decision :)

"Aaaaanyway" (as would t0m say), when I started this post I wanted to say that I changed the default theme and the rendering of some widgets, so here is how it looks now. Oh, yes, the yellow on bla ck is horrible, but I'm not a designer. Or a lawyer, for what it takes.

You'll see I've improved the window widget, it can now have a title, that has a nice animation if its title is too long.

Visited BooK (October 01, 2009, 12:36 UTC)

Philippe Bruhat (BooK) was kind enough to host me ( and a friend of mine ) yesterday evening and this morning.

BooK is a nice guy, very involved in the Perl community : among other things, member of the YAPC Europe Foundation and YAPC::EU Venue Committee, president of the French Perl Mongers, member of various mongers groups.

He is also a very good cook, we tested his Tiramisu and home-made pizza. Thank you BooK for the stuff you do for Perl, and for being a good friend !

( that was my "loosily Perl related post while coming back from holiday" ). Stay tuned for more soon :)

FPW 09 - talks videos (October 01, 2009, 12:34 UTC)

As you may know, last week the French Perl Workshop 2009 took place in Paris. It was a nice conference in french, where various subjects (mostly Perl related) were presented.

I gave 2 presentations :