Search Results: "sto"

11 May 2006

Jesus Climent: Getting old?

After cutting my hair with Damog's machine, I have come to the realization that I have little hair on the top of my head. I am officially growing up. So maybe I should stop telling bad jokes. Oh, Jesus!

Erich Schubert: Is Google in solar energy?

Look at this chart comparing the stock value of Google and Phoenix Sonnenstrom, a German solar power company, with good news every few months. Yeah, just kidding. Still interesting to see them behave this similar on overall, and some contrary movements where Phoenix bobs up just as much as Google dips, and then meet again. How much does it says about a company to have higher value growth than Google (in a 2 year period) without being publicly hyped like Google was? I guess it was a very good choice to invest into solar energy.

10 May 2006

Aigars Mahinovs: Debconf6 day -4: The Pyramids

Yesterday it became clear that the daytrip during the conference will not go to the Teotihuacan Aztec pyramids as it is too far, which is a shame. For that reason a small group of people organized a separate trip to Teotihuacan ("the Pyramids" from now on). 11 people boarded 3 taxis which we hired for the whole day for a price of 1500 pesos per taxi per day (~150 USD) which averaged to 410 pesos per person. Before we left I managed to climb a stadium wall and take a couple of nice shots of a local vulcano and sneaky picture of Gunar running laps on the stadium at 7 in the morning with his wife. No wonder he looks so much better this year. (Comparison pictures will be put here) I also managed to notice that we do not have Internet again. Manyana. We ordered the taxis to arrive at 8:30, so when we gathered at the place at 8:40 we were expecting to have to wait a bit, but to our surprise the taxis were already there and waiting for us. The drive took three hours. On a taxi. No wonder it was too far for a daytrip. There is a lot of cars and a lot of roads in Mexico. People here are not too worried about fuel consumption here and it is not too surprising to me - the gas here costs between 6 and 8 pesos per liter. That might also be the reason why cars here are so incredibly loud - when a truck goes by on the road that is a couple kilometers away from the parliament tower in the hotel it sounds like a small plane is flying by nearby. Also the number of road is so huge and the structure is so chaotic that even taxi drivers did not know the route - they had to stop and ask for directions multiple times. Even when going back. Trying to stay on the same route. We got lost more then twice. Along the way to the Pyramids we stopped for breakfast in small roadside place somewhere. It was a family owned place where you have cactus tortillas with different fillings heated up on a big metal plate that is heated up by burning wood. there also was coffee in large cups and soft drinks. Tortillas and soft drinks were 8 pesos each, coffee was 5 pesos and the beer that the girls went to get for us from other cafes along the road were 10 pesos each. Wonderful food for incredibly cheap prices. After we all ate we threw money in the pile according to how much each of us wanted to pay and gave it to the owner. She looked at them money and started protesting that is is much too much, but we insisted. Very heartwarming place. We bought large bottles of water and moved on. It is quite hard to take good photos of the Mexican landscape because of two reasons: first there is huge number of large power lines going in all directions all across the land. And the other thing is the smog - you just can not take clear pictures of distant objects, the smoke or fog or something is covering the whole place. I suspect that it is related to the number of cars here, but I can not be entirely sure about that. I do not to intend to trash Mexico, but the fact is that Mexicans do. Along the roads near the Mexico City all roadsides are littered with all kinds of thrash - bottles, plastic bags, metal pieces, tires, ... On the other hand I have noticed that Mexicans do like IT - in every small town I noticed a computer shop with Internet. Some shops even promptly have Tux painted on their walls. It is quite strange to see that every wall is used for some kind of announcement or advertisement. Even a barely standing wall in the middle of the field between towns was used as an advertisement platform for a hotel in one of the towns. After long wondering around we finally arrived at the Pyramids. There was additional tickets to buy there - a 150 peso ticket for the car and a 45 peso ticket for each person. Each of three entrances to the Pyramid area has a range of souvenir shops and also there is a huge lot of private sellers walking all around the place and trying to sell you the same stuff for double or triple the price. The standing advice is to go to shops and negotiate prices there. We went in the entrance number 1 (which is how I would recommend anyone to do) which is at the south end of the Alley of the Dead. We started the excursion by climbing the small pyramid of the temple of the serpent god. The excavation was still going on there and it was interesting to watch. And it also was a warm-up for the other climbs. After that we moved on along the Alley of the Dead. After crossing the "river" (it was like 5 cm wide at this time of year) we were distracted by a sign pointing sideways that said "Museo (800m)". It sounded like a nice idea, so we went along. Unfortunately the road curves to the north and in the end the museum itself is almost next to the sun pyramid. So if you happen to go there I would advice you to go along the Alley of the Dead to the Pyramid of Sun and go to the museum from there. There is also a toilet and an ice cream shop next to the museum. After visiting the museum I went back to the "river" so that I could walk along the alley. There are several overwalks across the alley, so you either have to walk up and down the stairs a lot or walk up on the wall there. Then we came to the Pyramids. They are huge. Huge. Several millions of tons of rocks. Hundreds of meters of steep stairs going up. And a rubble on the top covering the temple site. The view is phenomenal. There will be a lot of photos from there including one of the traditional tourist type where I am sitting on the top of the sun pyramid with the moon pyramid in the background. Some of us did not make it the top of the first pyramid. It was quite hard. Coming down feels even more scary as the stairs are very steep. In front of the main Moon Pyramid there is the main square of the ancient city. In the center of it is the sacrificial altar. If you stand in the center of it, you can almost feel the sea of blood that was spilled onto these stones during the golden age of the Aztec civilization. It is a powerful feeling that could have gotten a bit scary if there were not so many people around. The climb to the Moon Pyramid was much harder then to the Sun Pyramid, it could have been because it was the second one or because it is more steep and with a higher pile of rubble on top (where there are no stairs). After a few stops most of us did climb to the top and took even more wonderful photos of the view around us. I must say that this was well worth all the effort, time and expense. After coming down from the pyramids, we went out via the exit number 3 which has the largest number of souvenir shops and did some shopping there. It was 15:30 by then and the souvenir shops were starting to close down. We were recommended a restaurant near the pyramids for our lunch, so we went there. The restaurant is located in the south direction from the pyramids and is almost on the continuation of the Alley of the Dead. The pyramids are still well visible from the windows. Just as our meals in the hotel, this meal was very nice and very Mexican - mashed beans in every dish, meat and the hot green stuff which is actually called "the green sauce". The way back after that was longer, but uneventful - we did get lost a bit more then usual, but it was the drivers problem. Altogether the trip took 12 hours. We really were exhausted after that.

Christoph Berg: Debcamp6 Hacklab Webcam

I apologize for the far less than optimal placement of the camera, but since it is built in into my Vaio, I cannot really put it higher above the table...

Christoph Berg: Oaxtepec, Debcamp, and Internet Ma ana

The flight to Mexico last Saturday went pretty much all ok, except that the plane had to start through at MEX because of some unexpected wind and the generally low air pressure at high altitudes. While this delayed the landing for about 20 minutes, I had the opportunity for a second look at this incredibly large city. After getting through customs, we (with Herman, Tore, and Annabelle) met Neil McGovern in the airport lounge, and after Marcella and Luciano had arrived, we had a rather bumpy ride to Oaxtepec, amounting to a 20h journey for me. The site here is really beautiful, with lots of green, palms, other plants, and of the swimming pool. However, so far Debcamp has been rather unproductive, we haven't had net access until Monday evening, and even yesterday round trip times and packet loss were so high that neither ssh (IRC!) nor scp/ftp/http were really usable. Using irssi's proxy module allowed me to get rid of the lag locally for IRC, but the connection was still unstable. I wrote some patches which I have yet to submit and replied to most of my NM mail, but the next projects will all require access to the BTS and debian.org machines to be worked on. At the moment, network is down again because the antenna connecting us from the village fell down. The main activity for me so far has ben to play Mao with Jesus, Adeodato, Marga, Graham, Gerfried, and others :-) Todo: get some real work done; upload pictures; go to the pool. Ah... network just went up again, yet still slow... mail queue flushed... network down again...

Daniel Stone: [music] jdub as rockstar


Jeff Waugh: former GNOME release manager, LCA7 organiser, Ubuntu evangelist extraodinaire ... rock star?

MJ Ray: Hans Reiser Ate My Mailbox

Then, two days later, my "reply to these" mail folder vanishes. [...] I restored from backups, but I probably lost some mail. Resend if you're waiting on a reply from me, please. [...] it was that system which made me never use ReiserFS in paid production.

Wouter Verhelst: Kerberos II

So about two weeks ago I started playing with Kerberos. And I'm still not finished with it, kerberizing one service after the other. Really fun, that. Kerberizing a network protocol involves somehow sending the Kerberos ticket in-band with the rest of the conversation. This is not entirely defined by the Kerberos protocol, and indeed, different network protocols have come up with different ways of sending the Kerberos ticket to the service. So far, I've encountered SPNEGO for HTTP, GSSAPI for IMAP and SSH, and SASL for LDAP. It sounds like a complex mess, but it really isn't; in general, kerberizing a service involves three steps:
  1. Installing the Kerberos plugin (if any) for both the server and the client;
  2. Generating the service principal, and adding it to a/the keytab;
  3. Configuring the service so that it knows it can do Kerberos, and so that it knows how to act when a Kerberos request is sent
Yes, in the cases I've seen it's really that simple. Although I'm skipping step 0 here–reading the documentation. But I've done that for you already ;-) The hardest part is the initial setup. But even that isn't very hard, because the process is very well documented. For starters, install the krb5-doc package, and read the excellent /usr/share/doc/krb5-doc/README.KDC which explains just enough of the system to get you started. The rest will be explained to you through debconf and the like; and if you want more, the krb5-doc package also contains three info files which explain concepts and usage very well. There's an alternative implentation called heimdal, which I presume works similar; but I haven't tried it, so I don't have much details on that one. The process of installing krb5 is very straightforward; the only thing I'll let you know is that you should ensure that any host you're going to kerberize should have reverse name lookups configured and working correctly; otherwise, you're going to run into a bunch of serious problems. After the initial setup, you'll have a Kerberos realm, usually your domain name in upper case (GREP.BE in my case). You'll now want to set up principals for your users and principals for your hosts. Now, let me show you how to configure Kerberos for LDAP, PAM, HTTP, IMAP, and SSH:
PAM
By installing and using the libpam-krb5 package, you'll log in to kerberos and receive your TGT immediately at login time; the alternative would be having to use kinit (in the krb5-user package) afterwards. pam_krb5.so also takes care of destroying your tickets when you log out, so that you don't have to worry about that. This is very handy, but not really required; you could just use kinit all the time. Of course, using pam_krb5.so also means you have only one password for everything—and that is a very good argument to use it.
Anyway; our three steps:
  1. Installing the plugin
  2. As you've guessed, libpam-krb5 is the package you'll need. That, or the heimdal implementation.
  3. Generating and installing the service principal
  4. In the case of any service such as PAM that will give you a shell (thus, as we'll see later on, also SSH), the principal is supposed to be host/<hostname>@<REALM>. For instance, on rock.grep.be, the principal PAM will use is host/rock.grep.be@GREP.BE. We'll create it with kadmin (which can be done on any kerberized host):
    wouter@rock:~$ sudo kadmin
    Password for root/admin@GREP.BE:
    kadmin:  addprinc -randkey host/rock.grep.be@GREP.BE
    WARNING: no policy specified for host/rock.grep.be@GREP.BE; defaulting to no policy
    Principal "host/rock.grep.be@GREP.BE" created.
    kadmin:  ktadd host/rock.grep.be@GREP.BE
    Entry for principal host/rock.grep.be@GREP.BE with kvno 3, encryption type Triple DES cbc mode with HMAC/sha1 added to keytab WRFILE:/etc/krb5.keytab.
    Entry for principal host/rock.grep.be@GREP.BE with kvno 3, encryption type DES cbc mode with CRC-32 added to keytab WRFILE:/etc/krb5.keytab.
    kadmin:  q
    
    Generating the principal can really be done as any /admin user; but as the same isn't true for writing the keytab, I'm using sudo in the above example to become root.
  5. Configuring
  6. account	required	pam_krb5.so ignore_root
    auth	sufficient	pam_krb5.so ignore_root forwardable
    password optional	pam_krb5.so ignore_root
    session	optional	pam_krb5.so ignore_root
    
    After adding the above lines to the relevant files in /etc/pam.d, you should log off, then log on again, run 'klist', and marvel. If you add the lines to your passwd file as shown above, and don't remove the pam_unix.so lines, then local passwd-based authentication will still work. This can be nice if, for example, the Kerberos server is down, or you're working on a laptop that isn't always within reach of the Kerberos server. It doesn't do any harm; the worst that can happen is that at some point you happen to be on a network where there's a firewall which drops packets on the floor rather than sending you an ICMP port unreachable; in that case, you need to wait for the Kerberos login to time out, which takes half a minute or so (I haven't timed).
SSH
  1. Installation
  2. If you're running unstable, you don't need to do anything. The OpenSSH packages in unstable are all set to understand Kerberos. If, however, you're running stable, you'll want to replace your ssh package by the ssh-krb5 package, which is the regular SSH package plus some patches to enable GSSAPI (read: Kerberos) authentication.
  3. Service principal
  4. If you've done the PAM setup above, you're all set; SSH, being a service which gives you a shell, also uses the host/ service principal.
  5. Configuration
  6. Make sure both the server and the client have the GSSAPIAuthentication option enabled. After you've done so, restart the server.
IMAP
I'm using dovecot as my IMAP server, which has builtin support for GSSAPI authentication (at least in unstable; haven't checked stable in this regard).
  1. Installation
  2. As dovecot comes with everything compiled in, there is no need for installing extra packages.
  3. Service principal
  4. You'll need the imap/ principal (e.g., imap/rock.grep.be@GREP.BE). Note that the host name which is found by doing a reverse lookup on the ip of the server is what counts, not the name of the server as you're using it (so not, e.g., imap/imap.grep.be@GREP.BE)
  5. Configuration
  6. Edit your dovecot.conf, and find the line that starts with "mechanisms" in the auth default stanza. Make sure it contains at least the word gssapi. Restart dovecot. I haven't found a Free (as in speech) IMAP client that supports GSSAPI authentication. My client of choice, offlineimap, doesn't seem to support it; mutt doesn't either (unless I'm missing something); and while thunderbird in unstable is supposed to support it, I haven't been able to configure it correctly yet. Probably me. I have, however, been able to verify that it works by using a non-free software package. Obviously, this isn't good enough. In addition, I found that horde and imp don't like an IMAP server that has GSSAPI enabled if they don't, while enabling GSSAPI in horde requires a PHP extension that isn't packaged in Debian. So I've disabled it for the time being. Stay tuned.
LDAP
  1. Installation
  2. LDAP requires uses SASL for authentication, which doesn't have GSSAPI modules in the default package; for those, you need the libsasl2-modules-gssapi-heimdal package. Attentive readers will have noticed that this package contains the string heimdal in it, rather than krb5, and that this is not the same implementation that I've been using previously. Yes, true. But since there's no libsasl2-modules-gssapi-krb5, and since Kerberos is, after all, a well-defined protocol, this is not an issue—except in that you need a bit more diskspace for the additional libraries. Note that the modules have to be installed on both the client and the server.
  3. Service principal
  4. You need a service principal that starts with ldap/, obviously followed by the hostname and the realm.
  5. Configuration
  6. For those people whom you want to allow to authenticate themselves using Kerberos, make sure they have ' SASL <principal>' in their userPassword attribute set (e.g., I have userPassword: SASL wouter@GREP.BE). You can have that in addition to a regular encrypted password; the userPassword attribute is a multi-value attribute. Now if you use ldapsearch or anything similar, it will try to negotiate GSSAPI authentication as the SASL mechanism. If it doesn't do so, you can force it by adding -Y GSSAPI to the command line.
HTTP
  1. Installation
  2. You need the libapache-mod-auth-kerb or libapache2-mod-auth-kerb modules on the server. For the client, you need a browser which has SPNEGO support; Konqueror and Firefox are two examples of browsers that do.
  3. Service principal.
  4. The prefix here should be HTTP/. That's right, in upper case, contrary to previous examples where this wasn't the case. HTTP is also different in that apache usually isn't running as root. This is a good thing; however, it does mean that the kerberos authentication module is unable to read /etc/krb5.keytab. You'll have to write the service principal to a different keytab for apache; I've used the -k option to the ktadd command in kadmin to specify the keytab as /etc/apache2/keytab; I'll assume you do the same.
  5. Configuration
  6. Something like this, on the server:
    <Location /some/URL>
    	AuthType Kerberos
    	KrbMethodNegotiate on
    	Require valid-user
    	Krb5Keytab /etc/apache2/keytab
    </Location>
    
    This will enable SPNEGO authentication; and if SPNEGO authentication fails for some reason (for example, because the used browser doesn't support SPNEGO, or because the user isn't logged in to Kerberos), it will fall back to Basic Authentication. While the latter is usually a good idea, it's less of a good idea if you're not using SSL, since then your password would be sent over the wire in cleartext. Luckily, the basic authentication can be switched off, by using KrbMethodK5Passwd off. If you go to my webserver logs, you'll see that you'll get a 401 right away, while the HTTPS version of the same allows you to try to log in by using basic authentication. On the client side, if you're using Firefox, you need to go to about:config, and set the option network.negotiate-auth.trusted-uris to a string that will identify the servers that may do SPNEGO authentication in your realm. In my case, I've set it to grep.be. For konqueror, doing something similar is not required—it'll do SPNEGO authentication out of the box.
So, that's what I've got set up on my network currently. Next on the list: NFS4 kerberos auth (requires updated nfs utilities, which aren't in Debian yet because of issues with NFS2, IIRC), PostgreSQL (it does seem to support it), and finding out if or how I can create principals can't be used for one authentication scheme or the other. Phew, that was a long post. I'll stop now.

Jesus Climent: Permission to complain

On friday the 5th I started my trip to MX. I am assisting to Debconf 6 from the very first day, so that I can help the local team (at least with translations and such). I arrived to the airport early, so that I didnt have to suffer last minute stress if I see that the line is way too long and I have too little time to catch the plane. It all started fine (well, I forgot my keys at home when taking the dog for a walk, but I managed to reach my girlfriend and she came back to open the door for me). I must be the worst traveler in the world, since I seem to be causing only problems. Or maybe is that I question too many things that are the status quo and seem reasonable for other people. From the begining. It was check-in time, and the lady ask me about my hand luggage. I mentioned that since my friends were going to be waiting for me at the airport for almost 2 hours, I had prepared all my stuff so that I was not carrying anything dangerous in my two backpacks. Heck, I even left behind the regular tools that I carry with me, including the nail scissors,... The lady said it was not possible. "Sir, you can only carry 8 kilos of hand luggage". I looked around and saw people with lighter bags, but bulkier than mine. "Sorry, but, what is the reason? My luggage is smaller that the regular luggage, and I just need to get out asap". "Security reasons, sir". "Could you describe those reasons?". "... ... (surprise face) Security, sir. I would like to travel with my 20 kilos os luggage with me, sir". Yeah, sure. I am happy about that. I dont recall going away for such an extended period with such an small amount of things. When did all this madness start? Well, she did not manage to give me any reason why I could not take my things with me, but she got her sweet revenge. She put me on the back of the plane, with a guy who had at least 50k more on than I, although we both paid the same price for the ticket. I wonder where the security reasons are then, for those 50k... (Mental note: add to the travel checklist not to EVER forget deodorant and to take a shower before leaving home. Two showers. I had enough torture with the guy beside me...) The nice part of the flight was that for the first time i traveled on a Jet. Boy, is nice. Landed in Germany. The plane went to park on the backyard of the airport. We had a long 10min trip back to the terminal. The check-in for the plane to MX was a full hour set in advance, so that the HUGE amount of people that fits on one of those 747 had the time to show (for the 10th time) the passport. But looking aroung one wonders again where those security reasons not to let me carry my 8 kilos of luggage are: people around me had bought nearly their year salary on duty free stuff that wights more than 15k. Oh, boy, now I am confused. Is it so that someone has decided to add a rule in the name of security at some point after 11/9 and they forgot why? What difference does it make to get the luggage with 8 kilos from outside the terminal than from inside? As a side note, one can see that mexicans still keep much of the Spanish attitude. The speaker goes on, a man speaks in German and explains that people with children will board before anyone else. Nobody has understood anything, but they are already piling before the boarding gate. Once the man speaks in English, only the ones who dont understand English still await impatientily at the gate, mostly disturbing the check-in procedure for the flight, which will probably be delayed because of that. The second part of the trip was a bit more relaxed... I will skip the story about the looks-like-it-is-not-her-day flight attendant who could not understand a shit, and will only mention that when she served me a light coke and I handed her the empty can for dispossal, she gave me another full can with a face of "take-this-and-shut-up,dont-you-see-i-am-not-having-a-good-day?". I did not know Mexico was in the south hemisphere. At least that was the reason given for the satellite-linked internet only working the first three hours, although we were flying through Greenland, Canada, USA and Mexico's gulf for the 12h of flight, and Mexico IS on the (using the lonstanding critizised convention of not putting the map upside-down and say that is the right possition) north side. After landing it was a bit of rush, until I had to wait for my luggage, which of course came after waiting for almost 40min (Revenge of the Check-in Lady, take three... hi, if you read me). The people who create those inmigration forms MUST have short names. They have a big horizontal box with small vertical lines on the boxes to put your data trying to force you to put every character of your name in one small designated area. So there you go: "J E S U S _ D A N I E L _ C L I M E" That's right. Not even my first surname fits. Forget the second. This are the times that a friend of mine comes to mind: Enrique Garcia-Villarubia Gomez-Limon (Hi, if you read me). After all this I went out to find Amaya and h01ger waiting for me. We met Ganneff, Stockholm, Sam and Jeroen, and Damog, along with Agi, were coming right after picking up the van. We put Ganneff and Stockholm on a taxi and sent them to Oaxtepec, and left the airport for some dinner. Mexico is BIG, BIG, BIG. After driving for more than half an hour we got to a bridge from where you could see the city lights. And still, they were covering the horizon. HUGE. That realization is something I have not digested yet. Some local beers and tacos made the end of the night and we headed to Hector's place, where we were going to spend the night. From a not so negative point of view, the whole experience has been positive, and enlightening, to say it mildly. The food is mostly spicy. It could burn hell. Amaya is trying to get use to it by eating an insane amount of hot stuff but I refuse to do so. For the scared (hi, helix) I have not managed to get anything from the tap water. So nobody is dead, yet, although rumor has it that some are in comas. The net is here, although the roundtrip values are not very exciting. Mao has visited already the place, and said it is here to stay. Summary for the ones to come: this is HOT. I mean, really HOT. Forget your long jeans and bring shorts, even if you dont like to show your legs, sun screen cream, t-shirts, deodorant, swimming suit, and keep a bottle of water all the time with you. Food is served at a more sensible time than in Finland: 02:00h and 20:00h. See you in MX.

9 May 2006

Matthew Garrett: 9 May 2006

The Apple Public Source License is a GPL-incompatible file-level copyleft license. That's mostly irrelevant - what actually matters is that both the FSF and OSI regard it as free or open source. So no problem, right? Except that the APSL hasn't really caught on. Freshmean lists two whole pieces of APSL software. Both of them are derived from Apple code released under the APSL. That is, nobody other than Apple has chosen to start a project based on APSL code. It's actually worse than that. Section 12.1(c) of the license automatically terminates your right to use or distribute the software if you sue Apple for patent infringement. Any patent infringement. Apple have infringed your new chip process patent? Better hope you don't rely on any APSL code. Apple's new TFT design copies yours? Better work on a replacement for Howl. Apple have stolen your entire motherboard design? Bad luck - using this code made it awkward for you to defend your IP. As a result of this, the only significant APSL project (Howl) has effectively been entirely replaced by Avahi. Both Gnome and KDE adopted Avahi once it became stable. In other words, the only community projects using APSL code rejected it the moment there was an alternative - and the reason for developing Avahi in the first place was that several projects refused to ship APSLed code. It's hard to claim that the APSL is regarded as an adequately free or open source license if almost nobody is willing to depend on code under it. In other words, the community has rejected the idea that it's really an open source license. But both OSI and the FSF lack any obvious mechanism of discussing decisions they've made. Both OSI and the FSF have claims to representing the community. How does the community let them know that their views are at odds with it?

Sergio Talens-Oliag: Ridiculous

Yesterday I looked at the LliureX project website, the public face of my previous work, a Drupal based site with news and forums for the project users. Since I left the project I look a lot less at it, but yesterday I did it to see if there was something new and to look at the current discussions going on. To my surprise I found that the section with the latest forum posts was gone from the main page, the link to the forums is there, but there are no headlines for the latest articles. It seemed weird to me, but I know that in the past comments were removed from the news section articles, so I entered on the Forums and it looks that it has happened again. As some posters suggest it seems that the reason of the new configuration is related to a couple of entries about the people in charge of the project: If that is so (I'm almost sure it is) it is a ridiculous move and shows a lack of understanding about how the web is used this days; I got those posts as the first matches when searching at google and anyone interested will found them looking at the forums anyway. Things like that are the reason I don't like political driven projects. IMHO the right way of fighting this kind of comments is make them false, not to hide them, but with movements like that things simply look worse. Each day I feel better about my decision to leave... :)

Martin F. Krafft: Choosing a new cellphone

For the past two years, I have been a moderately satisfied user of the Nokia 6230 cellphone, which does all a cellphone should do ("it even has a camera!"). However, it suffers from some shortcomings, namely:
  • While it's surely possible to connect a laptop to the Internet via bluetooth to the phone, then GSM, UMTS, or GPRS to the provider, it's not possible to do it the other way, phone via bluetooth to laptop, then Ethernet. This is annoying for two reasons: one, I have to pay expensive GPRS charges even if I am downloading something to the phone in the office, and two, I cannot use my SyncML server, because the perimeter firewall blocks access to its port from the outside. See these threads: A B C.
  • When connected to the headset, the phone cannot establish other bluetooth connections. So while it's possible for me to dial numbers from the laptop or my Palm (quite convenient), I cannot do that for calls using the headset. I'd really like to be able to stow my cellphone in the bag, and do communications with the Palm (which can also read and send SMS via the phone) and the headset only. Right now, I might have to search for the number on the Palm, dial it by hand, then stash the phone away to complete the call via headset.
  • I store all my contacts on the phone memory, not on the SIM card, for two reasons: the SIM card memory can only store one number per name, and I really don't want separate records for "John Home", "John Office", and "John Cell", and two, I often switch SIM cards when travelling to other countries. But switching the SIM card will always configure the phone to use phone and SIM memory for the addressbook, so I always have to change that back.
  • Even though the phone comes with timezone support, I have to press at least 10 keys to change the timezone.
  • The phone has five caller groups, to which you can assign separate ringing tones. I often wanted to be able to set ring tones per person instead.
Now, my provider is offering me a new phone if I choose to renew the contract (which I will). Thus, I am faced with a new choice, and so ventured out to the stores to get myself informed. I have somewhat of a preference for Nokia phones simply because I already have a set of chargers for them. My requirements for a phone are:
  • It has to be small, light, and sturdy.
  • It has to have bluetooth, ideally without the aforementioned shortcomings.
  • It has to have a long battery life, standby time of at least a week.
  • It should interface (via bluetooth) with the Palm Tungsten T5 as well as Linux (Gammu, or something else).
  • It has to have quick and intuitive navigation (this pretty much rules out Sony Ericsson, where it can be a second between keypress and display update, or so I've seen).
  • It has to have voice-activated dialing, but instead of pressing a key, speaking the name, then having the phone dial, I would like to press a key, speak the name, confirm the call within a set amount of time, and only then have the phone call. Alternatively, I'd accept if I had to keep a button pressed while speaking the name. Also, the phone should acknowledge failure to determine a name rather than choosing the closest one; it happened too many times that the key would be accidentally pressed while the phone was in my pocket, followed by the phone's "smart" decision to call some random person in my address book after listening to the background noise or the rustling of my pocket.
My most-wanted feature has always been a button you can press, which would make the phone ring 10 seconds later -- a great way to get out of an annoying conversation. Unfortunately, no manufacturer even bothered to reply to my feature request sent maybe 4 years ago, so it's unlikely I'll find a phone with this capability anytime soon. Another nice feature to have would be an in-phone answering machine, like the Sony CMD-Z5 used to have. Of course, the provider lobby is not going to let that happen, as they'd lose revenue not being able to charge people normal connection charges for calls to their own mailbox. What I don't need (but would not care about anyway) are:
  • Camera, video camera
  • MP3 player, other multimedia support
  • MMS support
  • Games, Java, other applications
Given all of the above, it seems that I only have one phone to choose: The Nokia 6230i, where the i stands for "improved", I guess. But before you get your hops up high (as I did mine), check out the list of improvements and join me in a big sigh. While every manufacturer, including Nokia, has released several new phones over the last two years, they have all been down their multimedia lines. In fact, it seems that the only improvements Nokia and the other manufacturers performed on their business lines was to make the phones larger, add keyboards, and turn them more into PDAs. How sad. Then again, a lot of new models are announced. I may well have to put off the decision until the 6233 is out, the 6021 available here, or I've had a chance to check out the 6822. Also, the E60 and E70 look like worth a look, especially because they integrate Voice-over-IP. And I feel I should have another look at Motorola, Samsung, and Siemens phones. However, so far I have not heard too many good things about any of these, and haven't seen models that are small and light. I really don't need to slide or fold the phone to use it. PS: if you are a phone manufacturer and read this, maybe you could again consider normal user needs when designing your next line of phones, rather than trying to forcefully push more multimedia upon our entertainment society, which nobody really needs but everyone ends up using.

Martin F. Krafft: Choosing a new cellphone

For the past two years, I have been a moderately satisfied user of the Nokia 6230 cellphone, which does all a cellphone should do ("it even has a camera!"). However, it suffers from some shortcomings, namely:
  • While it's surely possible to connect a laptop to the Internet via bluetooth to the phone, then GSM, UMTS, or GPRS to the provider, it's not possible to do it the other way, phone via bluetooth to laptop, then Ethernet. This is annoying for two reasons: one, I have to pay expensive GPRS charges even if I am downloading something to the phone in the office, and two, I cannot use my SyncML server, because the perimeter firewall blocks access to its port from the outside. See these threads: A B C.
  • When connected to the headset, the phone cannot establish other bluetooth connections. So while it's possible for me to dial numbers from the laptop or my Palm (quite convenient), I cannot do that for calls using the headset. I'd really like to be able to stow my cellphone in the bag, and do communications with the Palm (which can also read and send SMS via the phone) and the headset only. Right now, I might have to search for the number on the Palm, dial it by hand, then stash the phone away to complete the call via headset.
  • I store all my contacts on the phone memory, not on the SIM card, for two reasons: the SIM card memory can only store one number per name, and I really don't want separate records for "John Home", "John Office", and "John Cell", and two, I often switch SIM cards when travelling to other countries. But switching the SIM card will always configure the phone to use phone and SIM memory for the addressbook, so I always have to change that back.
  • Even though the phone comes with timezone support, I have to press at least 10 keys to change the timezone.
  • The phone has five caller groups, to which you can assign separate ringing tones. I often wanted to be able to set ring tones per person instead.
Now, my provider is offering me a new phone if I choose to renew the contract (which I will). Thus, I am faced with a new choice, and so ventured out to the stores to get myself informed. I have somewhat of a preference for Nokia phones simply because I already have a set of chargers for them. My requirements for a phone are:
  • It has to be small, light, and sturdy.
  • It has to have bluetooth, ideally without the aforementioned shortcomings.
  • It has to have a long battery life, standby time of at least a week.
  • It should interface (via bluetooth) with the Palm Tungsten T5 as well as Linux (Gammu, or something else).
  • It has to have quick and intuitive navigation (this pretty much rules out Sony Ericsson, where it can be a second between keypress and display update, or so I've seen).
  • It has to have voice-activated dialing, but instead of pressing a key, speaking the name, then having the phone dial, I would like to press a key, speak the name, confirm the call within a set amount of time, and only then have the phone call. Alternatively, I'd accept if I had to keep a button pressed while speaking the name. Also, the phone should acknowledge failure to determine a name rather than choosing the closest one; it happened too many times that the key would be accidentally pressed while the phone was in my pocket, followed by the phone's "smart" decision to call some random person in my address book after listening to the background noise or the rustling of my pocket.
My most-wanted feature has always been a button you can press, which would make the phone ring 10 seconds later -- a great way to get out of an annoying conversation. Unfortunately, no manufacturer even bothered to reply to my feature request sent maybe 4 years ago, so it's unlikely I'll find a phone with this capability anytime soon. Another nice feature to have would be an in-phone answering machine, like the Sony CMD-Z5 used to have. Of course, the provider lobby is not going to let that happen, as they'd lose revenue not being able to charge people normal connection charges for calls to their own mailbox. What I don't need (but would not care about anyway) are:
  • Camera, video camera
  • MP3 player, other multimedia support
  • MMS support
  • Games, Java, other applications
Given all of the above, it seems that I only have one phone to choose: The Nokia 6230i, where the i stands for "improved", I guess. But before you get your hops up high (as I did mine), check out the list of improvements and join me in a big sigh. While every manufacturer, including Nokia, has released several new phones over the last two years, they have all been down their multimedia lines. In fact, it seems that the only improvements Nokia and the other manufacturers performed on their business lines was to make the phones larger, add keyboards, and turn them more into PDAs. How sad. Then again, a lot of new models are announced. I may well have to put off the decision until the 6233 is out, the 6021 available here, or I've had a chance to check out the 6822. Also, the E60 and E70 look like worth a look, especially because they integrate Voice-over-IP. And I feel I should have another look at Motorola, Samsung, and Siemens phones. However, so far I have not heard too many good things about any of these, and haven't seen models that are small and light. I really don't need to slide or fold the phone to use it. PS: if you are a phone manufacturer and read this, maybe you could again consider normal user needs when designing your next line of phones, rather than trying to forcefully push more multimedia upon our entertainment society, which nobody really needs but everyone ends up using.

8 May 2006

Andrew Pollock: [tech] Achieving Xen

I've been wanting to have a play with Xen for quite some time, but have a pathological dislike of compiling kernels, so hadn't gotten around to it. So needless to say, I'm very very (very very) pleased to see Xen 3.0 packages in Debian now, and so spent some time today having a fiddle. Frankly, I'm very pleased with how easy it's been to get everything going. Mad props to Steve Kemp for xen-tools, it makes the ease of creating a new DomU approach that of falling off a log. A big thanks also to the Debian kernel team for packaging this stuff up at last as well. So, here's what I did: I installed linux-image-2.6.16-1-xen-686 and xen-hypervisor-3.0-i386, along with the aforementioned xen-tools and xen-utils-3.0. The linux-image-2.6.16-1-xen-686 kernel package doesn't create an initrd by default, so I created one by hand with mkinitramfs-kpkg. I put this in my GRUB config:
title           Xen
root            (hd0,0)
kernel          /boot/xen-3.0-i386.gz
module          /boot/vmlinuz-2.6.16-1-xen-686 root=/dev/hda1 ro console=tty0
module          /boot/initrd.img-2.6.16-1-xen-686
boot
There's a couple of kernel images available that mention Xen, the aforementioned linux-image-2.6.16-1-xen-686 and also linux-image-2.6.16-1-xen-vserver-686. Unfortunately the package descriptions are the same as the stock 2.6.16 kernel package, and I initially formed the opinion that one was the Dom0 kernel and the other was the DomU kernel. It turns out that the linux-image-2.6.16-1-xen-686 will operate as either, and the vserver one will work as a DomU (I haven't tried it as a Dom0). I'm currently using file-backed storage, but I want to switch to directly using LVM once I get the hang of things. I created the filesystem for the DomU with:
xen-create-image \
--hostname testvm \
--size 2Gb --swap 128Mb --memory 96Mb \
--fs ext3 --dir /srv \
--dhcp \
--cache yes --dist etch \
--mirror http://mirror.linux.org.au/debian \
--kernel /boot/vmlinuz-2.6.16-1-xen-vserver-686 \
--initrd /boot/initrd.img-2.6.16-1-xen-vserver-686
The one problem with this script is it puts SCSI (i.e. /etc/sda) devices in /etc/fstab, but refers to them as /dev/hda devices everywhere else. So to avoid a kernel panic on booting the DomU, I had to mount the image that was created and edit the /etc/fstab file to fix this up. I also needed to add vif = [ '' ] to get an eth0 interface to exist in the DomU instance. There's some other stuff you put here to use a consistent MAC address, rather than a per-instance-boot one. I also found I needed to edit /etc/xen/xend-config.sxp to use network-bridge instead of network-dummy and vif-bridge. I found I needed to reboot as just restarting xend afterwards royally messed with the networking setup. That was about it. Creating an instance of the VM then worked. Making sure the loop kernel module is loaded helps avoid some obscure errors.

6 May 2006

Gergely Nagy: Narnia in Warcraftian light

Tonight, we've watched Chronicles of Narnia, girlfriend and I, and we came to a few interesting observations. Really, they're quite amazing! Someone has been playing World of Warcraft decades before it was released! Spoilers ahead, beware! For example, let us have a look at the Witch. She was surely a mage, as she could conjure food and water. However, she appeared to be buffed a lot, as she could dual wield swords as well - and she wasn't all that bad at that, either. She also had an instant-cast frost spell.. This latter lead to a little debate among us, as I was asserting she must have been a shaman, using frost shock. Would have fit quite well, if only she wouldn't have been able to conjure food... And the fact, that after Aslan killed her, she didn't self-res. I doubt there's any worthy shaman out there who doesn't have a stack of ankhs in the bags. That's just not possible, really. Not to mention she always wore cloth, while we all know, shamans wear mail. Next on the table - the stone-table, hah! - is Aslan. Unlike the witch, he really was a shaman. The best proof: he self-ressed.. Albeit it took him a while. However, he did not appear to have any durability loss - on the contrary, he had his mane grown back! What kind of armor he wore, I do not know, he was in ghost lion form all through the movie, sadly. We also saw him resurrect others, that part fits too. Totems - we missed those, yes... But... if a shaman is fighting in ghost lion form, he must be so powerful, decked out in epics, he does not need them anyway. And this is where we come to the part of investigation where we have a look at the levels of the characters. Aslan and the Witch were skull-level bosses for sure. Most of the armies must have been lowbies, judging by their puny equipment - and most of the time, their puny skills aswell. Thus, it is no wonder that a single boss - the Witch - could tear through almost a whole army of poor newbies. It took another boss to stop her for good. Kinda like summoning your side's bosses in Alterac Valley. With the exception that in Alterac Valley, a raid is enough - here, one needed a whole lot more than a single 40-man raid. So far, this is what we figured out. I expect more details will see the light as we watch the film over and over again, in the hope of discovering more connections between the Chronicles and Warcraft.

Martin F. Krafft: Travel medicine

In preparation of the Debconf6 conference in Mexico, the question has to come up how to prepare for the hygienic circumstances in developing countries. While Mexico was also described to be on the top end of the developing countries, certain issues are still left to be addressed. I have travelled to developing countries a bit and have gathered some experience, which I would like to share. However, keep in mind that I am not a doctor, just a globetrotter with a strong interest in pharmaceuticals. Let me address the most common problem first: "Delhi belly", as travellers' diarrhoea is sometimes referred to (because almost no traveller makes it through India without dysentery). I know of three preventative and four reactive treatments. The best preventative in my experience is to stay well above the necessary level of hydration by drinking lots more than you usually do, especially when it's hot. Prefer bottled water and juices, stay away from ice and fresh juices and shakes (as hard as it may be). Hygiene (i.e. hand disinfectant) is important, but you cannot control what's in the pot that way, especially not in restaurants (though upscale ones are generally safer, so don't be greedy). In extreme cases (when you have no other choice), another approach worth a shot is to drink enough high-percent alcohol with anything you take in orally. It's no guarantee and often not a very preferable solution (especially when it's hot), but it's kept me running a bunch of times before. Instead of growing paranoid about it, consider the treatments: the most common two treatments I have seen among other travellers were Loperamide ("Immodium") and Ciprofloxin (or Ciprofloxacin), an antibiotic. Both are suboptimal and to be used as emergency medication only (and many traveller's don't know that). While Loperamide regulates your urge to go to the toilet by blocking and binding that which comes out the behind, it also prevents the body from ejecting the bacteria which caused the digestive system to malfunction. Thus, Loperamide should only be used when you cannot get to a toilet as often as necessary (e.g. on a bus ride), and it must not be used for more thantwo or three days without medical advice from a doctor. Ciprofloxin, the antibiotic, is almost always a sure-fire cure against diarrhoea, but it must be taken for around seven days, usually up to four days after the symptoms faded, or else the body can build up a resistance to the chemical. During this time, you should not consume alcohol (or other drugs), and limit the amount of physical exercise, which makes it not suitable for e.g. hiking or trekking trips. Note that Ciprofloxin is a prescription-only medication. Apart from staying hydrated, my favourite cure is medical coal (tablets at 250mg each; "Kohle Compretten"), which have negligible side-effects and can thus be used on-demand. If I feel my stomach going a little wobbly, I pop two of them 2-4 times a day, and that settles it after 24 hours. If the diarrhoea does come through, double the dosage. It'll help regulate the need, but at the same time won't block it. If you do get unlucky, try to rest, switch to food known to be safe (e.g. packaged food), and drink a lot, ideally electrolyte solution, but a slight salt-sugar solution will also do. I actually like fresh orange juice with sea salt, which will do the trick. I am generally not a big fan of taking pharmaceuticals, but I always have some important ones with me:
  • Ibuprofen: mixes well with alcohol and is thus a perfect small-scale pain-killer against pre- or post-party headaches, or headaches that would ruin a nice dinner with friends. Make sure to drink a lot of water, and even more if you also take in alcohol
  • Paracetamol: medium-scale pain-killer, helps reduce fever. Does not mix well with alcohol. Primary symptom treatment for malaria and dengue fever, influenza, and colds. Drink lots of water.
  • Diclofenac: against swellings and inflammation. Does not mix with alcohol, and the tablets may seriously affect your digestive system. Consider combining with Pantozol, even prophylactically.
  • Valium, or preferrably something less strong: on the bus or on the plane, if you cannot sleep because it's too uncomfortable. Make sure to have the dosage right or you won't make it off the bus, even if someone wakes you.
  • Ciprofloxin: whether it's diarrhoea or any other sort of infection, or bacterial infestation, it's good to have Ciprofloxin with you. If in any way possible, I recommend calling your doctor back home before you start taking it, just to be sure. Antibiotics are really not suited for experiments.
  • Hydrocortisone: insect bytes and sun burns. Use sparingly because it attacks (thins) the skin.
  • Loperamide: see above. Try to avoid it unless you really need it.
  • Bisacodyl: congestions can be quite painful.
Other stuff you may want to carry along includes wound disinfectant (Dexapanthenolum; also any high-percent alcohol would do), fruit/grape sugar (Dextro-Energen), stuff against sickness on cars/boats/etc. (Vomex), bandages, Diclofenac gel, ice spray, a fever thermometer, a bunch of wet hygienic towels, single-use eye drops, steroid-based ear drops, and so on. Your pharmacy will have a complete list. Anyway, given the proximity of medical assistance to the conference campus in Mexico, most of the above won't be necessary. Nevertheless, I think it's important that travellers to countries with lesser hygienic standards than their home countries are familiar with the above, and if only to consciously decide for or against a treatment. In general, I think it's always best to try to isolate and treat the cause rather than the symptoms. And surprisingly often, dehydration is (one of) the cause(s), so electrolytes are among the most important to have with you, in my experience. But again, I am not a doctor.

Martin F. Krafft: Back home

My last day in Bangkok is hardly worth writing about, I mostly ran around meeting people and trying to get the last things done, before getting on the plane at 23:30 that night. I did meet the Jim Thompson retail manager and had an interesting two and a half hour lunch with her (she is quite a character, and it won't be the last time I've visited her), subsequently went to visit the Jim Thompson museum. Then, I stopped by the dreadful Khaosan Road to pick something up for a friend and left as quickly as I could. The "tourist centre" of Bangkok is now even more horrible than the last time I went there, buzzing with improperly dressed (sex and beach) tourists, and lined with shops ripping them off. I found myself getting rather annoyed watching this crowd, who are all representatives of the West and are thus painting quite a despicable picture. Coming back to the hotel, I still wasn't allowed to take a shower by the unfriendly hotel staff, but was lucky when an englishman heard my cries and offered his room for a quick rinse. Feeling a lot better, I made my way to the airport and passed the three hours waiting time with my new Murakami book. The flight itself was okay, despite the Swedish couple next to me. Apparently it must have been their first long distance flight, and they could not get enough "free drinks," so while the guy was stashing away cans of beer into his bag, the girl ordered a beer, whiskey on the rocks, and red wine all at the same time, then kept complaining to her boyfriend that she wasn't feeling well. As I was sitting on the aisle, I had to get up to let one of them out every 15 minutes or so (they refused to climb over me), so you can imagine how I felt when we finally landed in Vienna, 11 hours later. At least they have excellent coffee at the airport to soothe the pain, and by the time I learnt that my Swiss flight back to Zurich was delayed by almost two hours, I had already stopped worrying and just took everything with a smile. So now I am back home and somewhat sad. Running over to the supermarket to fill the fridge for the weekend was depressive, and I am sort of reluctant to catch on with real life again, but who wouldn't be after any vacation. Enough whining... My cousin and travel companion on last year's trip to Southeastasia found it amusing that my previous travel reports continuously switched between expressions of displeasure with a certain sight, and statements that I'd have to return soon. Both are true; I have been disappointed a number of times during the time in Myanmar, but I attribute that largely to following the "beaten track," the route all tourists go. Now that I've seen the most popular sights, I am ready to get off the beaten track the next time and get to know the country as it really is, not as it has been shaped to meet the demands of tourists. As I stated before, I have much more to say about my trip than I am willing to do publicly. In case you are interested in my thoughts, please drop me a line and let me know briefly how I know you, or why you are reading my blog anyway, just so I can make sure that I know who'll be reading my comments. If you have gotten an email from me, advertising the blog before the trip, you need not let me know. But before you get your hopes up, these aren't going to be revolutionary thoughts I have to keep away from the public; instead, they are just personal ramblings, not censored for the general public.

Edd Dumbill: XTech: one week and counting

It's now just one week until XTech 2006.This is the point that the whole of the last year has been leading up to for me. It's now I can let myself stop being stressed and start to let the excitement in.You know how sometimes you look back at stuff you've done, and go "wow!" -- that's pretty much where I am right now. I've run out of superlatives to apply to the speaker lineup. I've thrilled that we'll be joined by just about the entire Mozilla project, Paul Graham, Jeff Barr, Jeffrey McManus, huge chunks of the BBC brains trust, the smartest people in XML and the semantic web, Ajax pioneers and thinkers, top-class instructors and so much more.Last-minute XTech happenings of interest include:Finally, just a note that it's never too late to come along. If you've not registered, just turn up on the day and pay on the door. It's an easy flight to Amsterdam, a short train ride to Centraal and a short walk to the hotel.See you there! 

5 May 2006

Uwe Hermann: OpenDocument Format (ODF) Approved by ISO/IEC Members

Yay! The OpenDocument format (ODF) has now been approved by ISO/IEC members. For the uninitiated, ODF is
an open XML-based document file format for saving and exchanging editable office documents (including memos, reports, and books), spreadsheets, charts, and presentations. OpenDocument was developed as an application-independent file format by OASIS (Organization for the Advancement of Structured Information Standards), a vendor-neutral standards organization.
ODF is currently employed by OpenOffice 2.0, KOffice, Abiword, and tons of other applications. Lots of other office suites and programs will likely follow. The recently formed ODF Alliance now has more than 150 member organizations. On a related note: the proposed IEEE 802.11n working draft was not yet approved by the IEEE 802.11 Working Group... (via Nico Golde)

John Goerzen: Bacula

Lately we've been looking at backup solutions at work.

And I've got to say that Bacula is looking downright awesome. It's GPL'd and it has just about every feature a person could ask for.

I am a complete Bacula newbie. Today, after using Bacula for a total of about 30-60 minutes, I added the first client machine to my Linux test box. The client machine was running the Windows bacula client. It took about 10 minutes to install and configure the client and the server. And both backup and restore worked perfectly the first time. Nice. Setting up a *nix client is even easier.

I've been using Amanda for many years at home and at various workplaces. Looks like we're going to be switching.

We've also ordered an HP MSL4048, a 48-tape LTO3 library with barcode support. Each tape has a native storage capacity of 400GB. Should be nice when it arrives. With that library and Bacula, we should be able to back up all our servers using a single backup system. And both our Windows and Unix people can manage the system, including running restores to any machine, from any authorized console machine.

Next.

Previous.