Search Results: "nate"

18 July 2006

Enrico Zini: Fifth day in Addis

Setting up a mail server
Background Some terminology:
MTA
Mail Transport Agent
MUA
Mail User Agent
MDA
Mail Delivery Agent
SMTP
Simple Mail Transfer Protocol
MX
Mail eXchange
POP
Post Office Protocol
IMAP
Internet Message Access Protocol
With SMTP you connect to a server and send two things: envelope and message. The envelope looks like this:
MAIL FROM: <enrico@enricozini.org>
RCPT TO: <rms@fsf.org>
RCPT TO: <linus@linux.org>
The message looks like this:
From: <enrico@enricozini.org>
To: <rms@fsf.org>
Cc: <linus@linux.org>
Message-ID: <1234567@enricozini.org>
Subject: Test mail
Hi Richard,
this is a test mail.  I'm also writing
Linus to show how to send to more people.
Cheers,
Enrico
There is no authentication. There is no encryption. Two usual types of access control:
  1. Outbound e-mail is normally only accepted from an internal network
  2. Inbound e-mail is normally accepted from anywhere
The DNS is used to find the SMTP server to use to send a message:
$ host -t MX yahoo.com
yahoo.com MX 10 smtp1.yahoo.com
yahoo.com MX 20 smtp2.yahoo.com
yahoo.com MX 20 smtp3.yahoo.com
The process of sending an E-Mail:
  1. Enrico writes an E-Mail:

    From: Enrico Zini <enrico@enricozini.org>
    To: Richard Stallman <rms@fsf.org>
    Subject: Hello from Addis
    Hi Richard,
    Addis is a wonderful city, even if
    it rains a lot.
    Bye,  Enrico
    
  2. Enrico's MUA connects to the SMTP server (for example, port 25 of smtp.aau.edu.et):

    HELO enricozini.org
    200 OK Hello enricozini.org
    MAIL FROM: <enrico@enricozini.org>
    200 OK Mail from enrico@enricozini.org
    RCPT TO: <rms@fsf.org>
    
    Here, the SMTP server performs relay control: "do we relay mail to rms@fsf.org?":
    • Outbound e-mail is normally only accepted from an internal network
    • Inbound e-mail is normally accepted from anywhere
    A target address could be refused:
    413 ERR I don't relay for rms@fsf.org
    
    In this case, the destination is not local but the recipient is accepted because I'm inside the local network:
    200 OK Destination rms@fsf.org
    DATA
    200 OK Please send message body
    From: Enrico Zini <enrico@enricozini.org>
    To: Richard Stallman <rms@fsf.org>
    Subject: Hello from Addis
    Date: Mon, 17 Jul 2006 09:49:45 +0300
    Message-ID: <124372643@enricozini.org>
    Hi Richard,
    Addis is a wonderful city, even if
    it rains a lot.
    Bye,  Enrico
    .
    200 OK Message accepted
    QUIT
    200 OK Bye.
    
  3. The SMTP server needs to find out where to send the message, using the DNS:

    $ host -t MX fsf.org
    fsf.org MX 10 mail.fsf.org
    fsf.org MX 20 mail.gnu.org
    
  4. So the SMTP server tries the first one and connects to port 25 of mail.fsf.org:

    HELO smtp.aau.edu.et
    200 OK Hello smtp.aau.edu.et
    MAIL FROM: <enrico@enricozini.org>
    200 OK Mail from enrico@enricozini.org
    RCPT TO: <rms@fsf.org>
    
    The destination is accepted because it's for a local user:
    200 OK Destination rms@fsf.org
    DATA
    200 OK Please send message body
    From: Enrico Zini <enrico@enricozini.org>
    To: Richard Stallman <rms@fsf.org>
    Subject: Hello from Addis
    Date: Mon, 17 Jul 2006 09:49:45 +0300
    Message-ID: <124372643@enricozini.org>
    Received: by mail.aau.edu.et
      on Mon, 17 Jul 2006 09:55:53 +0300
      from 10.4.15.158
    Hi Richard,
    Addis is a wonderful city, even if
    it rains a lot.
    Bye,  Enrico
    .
    200 OK Message accepted
    QUIT
    200 OK Bye.
    
  5. Now, mail.fsf.org will invoke a MDA to write the mail in Richard Stallman's mailbox.

Example of problems with mail handling:
  • Accepting inbound connections:
    • Malicious input:
      • logic errors
      • buffer overflows
      • DoS (Denial Of Service) attacks
      • Connection floods
  • Performing outbound connections:
    • Programming errors:
      • Flooding of connections
  • Performing routing:
    • Unauthorised relays
    • Mail loops
  • Writing to the local hard drive:
    • Filling up the hard drive
    • Writing to the wrong files
  • Writing to the local hard drive as root:
    • In case of error or attack, any file in the system can potentially be compromised
RFC-822 is the original standard for E-mail. RFCs are standard Internet documents. Have a look at RFC documents released the 1st of April.
postfix Common setup: "Internet site with smarthost". More difficult to maintain: "Internet site". A smarthost is a machine that will relay e-mail for you. Questions asked with "Internet site with smarthost":
  • Mail name: aau.edu.et (name used to publicly identify the mail server)
  • Smarthost name: smtp.telecom.net.et (SMTP server that will relay our e-mail)
To test a mail server:
$ telnet localhost 25
HELO me
MAIL FROM: <a@b.c>
RCPT TO: <mail@of.a.local.user>
DATA
hi
.
QUIT
By default, you find locally delivered mail in /var/mail/username. Postfix configuration files:
/etc/postfix/master.cf
configures how all the postfix components run together (man 5 master)
/etc/postfix/main.cf
Main postfix configuration (man 5 postconf)
To rewrite addresses:
  1. In /etc/postfix/main.cf:

    canonical_maps = hash:/etc/postfix/canonical
    
  2. Then in /etc/postfix/canonical you can add the rewrite rules, like:

    enrico   enrico@enricozini.org
    
  3. When /etc/postfix/canonical is modified you need to regenerate the index:

    sudo postmap canonical
    
    (same is when you change the alias file: sudo postalias /etc/aliases)
(see file:///usr/share/doc/postfix/html/ADDRESS_REWRITING_README.html) Manipulating the message queue:
mailq - List the mail queue.
Example:
mailq
postqueue - Postfix queue control
Examples:
# Like mailq
postqueue -p
# Tries to send every message in the queue
postqueue -f
# Tries to send every message in the queue for that site
postqueue -s site
postsuper - Postfix superintendent
Examples:
# Deletes one message
sudo postsuper -d 7C4D2EC0F5D
# Deletes all messages held in the queue for later delivery
sudo postsuper -d ALL deferred
Different mail queues in postfix:
incoming
mail who just entered the system
active
mail to be delivered
deferred
mail to be delivered later because there were problems
hold
mail that should not be delivered until released from hold
Mail logs are in:
/var/log/mail.log
/var/log/mail.err
/var/log/mail.info
/var/log/mail.warn
Mail delivery Mailbox formats:
  • mbox: single file, mail separated by "From " lines
  • maildir: one directory per folder, one file per mail
  • mh: similar to maildir, but not really used
Alternate MDA: procmail: allows to filter mail automatically into different folders. Mail forwarding with ~/.forward: allows to redirect mail to a different address: just put the address you want to send to in the file ~/.forward.
POP or IMAP server Installation:
apt-get install dovecot
Configuration is in:
/etc/dovecot/dovecot.conf
The main thing that is needed is to enable the mail protocols you want:
protocols = imaps
Server monitoring To make all sorts of graphs:
apt-get install munin munin-node
Example: http://munin.ping.uio.no To compute more statistics:
  • anteater
  • isoqlog
  • mailgraph
Monitor system logs: logcheck:
  • sends you mail with abnormal log lines
  • It's important to customize what is normal and you do it with regular expressions
Filtering viruses and spam clamav - Virus scanner Virus scanning:
  • Postfix gives the mail to clamav that scans it and gives it back if it's clean.
  • Strategies for infected mail:
    • silently delete it
    • refuse the mail and send a notification to the sender
    • refuse the mail and send a notification to the receiver
    • quarantine the e-mail
    • refuse delivery with a SMTP error
    • deliver with an extra header that says that it's a virus
spamassassin - Spam filter Spam scanning:
  • Postfix gives the mail to spamd that scans it and gives it back with some spam information.
  • Strategies for spam mail:
    • silently delete it
    • refuse the mail and send a notification to the sender
    • refuse the mail and send a notification to the receiver
    • quarantine the e-mail
    • refuse delivery with a SMTP error
    • deliver with an extra header that says that it's spam
  • New techniques:
    • greylisting: when you receive a mail from a host you've never seen before, refuse it with a temporary error, and accept it the second time (after some time delay). Spammers normally don't retry, and implementing retry would increase their cost of sending e-mail.
    • crossassassin: if more than some amount of your users receive a mail with the same message ID, throw it away. Sending mails with different headers would increase the cost of sending e-mail.
Man pages and sections Man pages are divided in sections:
  • man man shows all the sections of the manpages
  • man 5 postconf shows the postconf manpage in the "configuration file" section
  • Normally manpages are referred as manpage(section) (e.g. postconf(5) )

Enrico Zini: Third day in Addis

Believe it or not, a network that fails often is the best thing to have when you are teaching network troubleshooting. Various tools useful for networking:
  • ifconfig - configure a network interface

  • dnsmasq - Simple DNS and DHCP server

  • host - DNS lookup utility

  • route - show / manipulate the IP routing table

  • arping - send ARP REQUEST to a neighbour host

  • mii-tool - view, manipulate media-independent interface status (IOW, see if the cable works)

  • nmap - Network exploration tool and security / port scanner Examples:

    # Look at what machines are active in the local network:
    nmap -sP 10.5.15.0/24
    # Look at what ports are open in a machine:
    nmap 10.5.15.26
    
  • tcpdump - dump traffic on a network It can be used to see if there is traffic, and to detect traffic that shouldn't be there.

Useful tip:
# Convert a unix timestamp to a readable date
date -d @1152841341
What happens when you browse a web page:
  1. type the address www.google.com in the browser
  2. the browser needs the IP address of the web server:
  1. look for the DNS address in /etc/resolv.conf (/etc/resolv.conf is created automatically by the DHCP client)
  2. try all the DNS servers in /etc/resolv.conf until one gives you the IP address of www.google.com
  3. take the first address that comes from the DNS (in our case was 64.233.167.104)
  1. figure out how to connect to 64.233.167.104:
  1. consult the routing table to see if it's in the local network:
  1. if it's in the local network, then look for the MAC address (using ARP - Address Resolution Protocol)
  2. if it'd not in the local network, then send through the gateway (again using ARP to find the MAC address of the gateway)
  1. Send out the HTTP request to the local web server or through the gateway, using the Ethernet physical protocol, and the MAC address to refer to the other machine.
Troubleshooting network problems:
  1. See if the network driver works:
  1. With ifconfig, see if you see the HWaddr:. If you do not see it, then the linux driver for the network card is not working. Unfortunately there's no exact way to say that it works perfectly
  1. See if you have an IP address with ifconfig. If you find out that you need to rerun DHCP (for example, if the network cable was disconnected when the system started), then you can do it either by deactivating/reactivating the Ethernet interface using System/Administration/Networking or, on a terminal, running:

    # ifdown eth0
    # ifup eth0
    
    If you don't get an IP, try to see if the DHCP server is reachable by running:
    $ arping -D [address of DHCP server]
    
  2. See if the local physical network works:

  1. With sudo mii-tool, see if the cable link is ok. If it's not, then it's a problem in the cable or the plugs, or simply the device at the other end of the cable is turned off.
  2. Try arping or ping -n on a machine in the local network (like the gateway) to see if the local network works.
  1. See if the DNS works:
  1. Find out the DNS address:

    cat /etc/resolv.conf
    
  2. If it's local, arping it

  3. If it's not local, ping -n it

  4. Try to resolve a famous name using that DNS:

    $ host [name] [IP address of the DNS]
    
  5. Try to resolve the name of the machine you're trying to connect. If you can resolve a famous name but not the name you need, then it's likely a problem with their DNS.

  1. If you use a proxy, see if the proxy is reachable: check if the proxy name resolves to an IP, if you can ping it, if you can telnet to the proxy address and port:

    $ telnet [proxy address] [proxy port]
    
    you quit telnet with ^]quit.
  2. If you can connect directly to the web server, try to see if it answers:

    $ telnet [address] 80
    
    If you are connected, you can confirm that it's a web server:
    GET / HTTP/1.0 (then Enter twice)
    
    If it's a web server, it should give you something like a webpage or an HTTP redirect.
When you try to setup a service and it doesn't work:
  1. check that it's running:

    $ ps aux   grep dnsmasq
    
  2. check that it's listening on the right port:

    $ sudo netstat -lp
    
  3. check that it's listening from the outside:

    $ nmap [hostname]
    
  4. check for messages in /var/log/daemon.log or /var/log/syslog

  5. check that the configuration is correct and reload or restart the server to make sure it's running with the right configuration:

    # /etc/init.d/dnsmasq restart
    
dnsmasq:
By default: works as a DNS server that serves the data in /etc/hosts. By default: uses /etc/resolv.conf to find addresses of other DNS to use when a name is not found in /etc/hosts. To enable the DHCP server, uncomment:
dhcp-range=192.168.0.50,192.168.0.150,12h
in /etc/dnsmasq.conf and set it to the range of addresses you want to serve. Pay attention to never put two DHCP servers on the same local network, or they will interfere with each others. To test if the DHCP server is working, use dhcping (not installed by default on Ubuntu). To communicate other information like DNS, gateway and netmask to the clients, use this piece of dnsmasq.conf:
# For reference, the common options are:
# subnet mask - 1
# default router - 3
# DNS server - 6
# broadcast address - 28
dhcp-option=1,255.255.255.0
dhcp-option=3,192.168.0.1
dhcp-option=6,192.168.0.1
dhcp-option=28,192.168.0.255
Problems found today:
  • changing the name of the local machine in /etc/hosts breaks sudo, and without sudo it's impossible to edit the file. The only way to fix this is a reboot in recovery mode.
  • dhclient -n -w is different than dhclient -nw
Quick start examples with tar:
# Create an archive
tar zcvf nmap.tar.gz *.deb
# Extract an archive
tar zxvf nmap.tar.gz
# Look at the contents of an archive
tar ztvf nmap.tar.gz
Quick & dirty way to send a file between two computers without web server, e-mail, shared disk space or any other infrastructure:
# To send
nc -l -p 12345 -q 1 < nmap.tar.gz
# To receive
nc 10.5.15.123 12345 > nmap.tar.gz
# To repeat the send command 20 times
for i in  seq 1 20 ; do nc -l -p 12345 -q 1 < nmap.tar.gz ; done

17 July 2006

Matt Brown: Patching the sc520 watchdog to reboot Soekris devices

We use a lot of Soekris devices at work which often get deployed to remote locations where its not easy to access them if things go wrong. I’ve recently been writing some software to act as a watchdog on the machine. As a very last resort this software makes use of the watchdog chipset provided by the Soekris boards so that if userspace goes away the machine will get rebooted back into what is hopefully a sane state. Unfortunately the in kernel sc520 watchdog device doesn’t actually reboot the Soekris when the heartbeat ping from userspace is lost. This makes it virtually useless. There has been a patch floating around since 2004 that fixes this problem, but it hasn’t made it in to the kernel for one reason or another. I think it’s Soekris specific… I’ve updated the patch to apply cleanly against the sc520 driver found in 2.6.16 and you can find it below. http://www.mattb.net.nz/patches/linux/soekris-sc520wd.patch

16 July 2006

Erich Schubert: On programming contests (ACM ICPC etc.)

Bart Massey and Mike Vanier talk about programming contests such as the ACM International Collegiate Programming Competition. Well, since I'm being told that I love ranting, I have to join this one. ;-) I never participated in a contest except the Bundeswettbewerb Informatik back in (pre-university) school. In my opinion that contest was quite different for a number of reasons: most of the participants didn't have any IT classes at school. And noone "trained" for that contest. Also the contest isn't a speed contest, but you have a couple of months to solve a number of problems that most of us would find rather easy - for pupils aged 15-18 with no real CS classes they aren't that easy. Even in the later rounds, time isn't the main constriction - you have several weeks - and the programs are also judged by their code quality, documentation and design. I think you were allowed to participate in teams during the first and maybe second round. A friend of mine pointed out the ACM chellege to me; but we never really managed to form a team since everybody was too busy. We never actually did a training session (though I myself solved a couple of the valladoloid online judge problems), and we didn't submit our participitation. Though we would have automatically won our local contest, since I'm not aware of any teams by our universities here (despite them being top-ranked universities). In general, Germany isn't very much involved in this contest, despite being an "international" contest. This has various reasons. On one hand, CS teaching in germany is not much about just writing code. You'll of course learn the basics, but even when they've finished their degree, most will be really slow in writing code. Instead, the focus is on modeling and the theoretical background. In my opinion, that is very good. You'll always be able to improve your "basic" code writing skills later; that is mostly experience and routine. But you won't be learning much theoretical background in your job later on. Having worked on a number of the old, archived, training problem sets, I'm not convinced that this contest makes much sense. To succeed with the problem sets you need to be able to I agree with the others that I don't think team-play is of much value in this contest; nor will you be doing much creative work. In my opinion it's all about reducing the given problem to one of the known problems (e.g. longest common subsequence, shortest path, maximum flow), then adopting an algorithm to it. I'd call that reproductive work. In my opinion, they're rather boring. Basically you're expected to solve them using a certain algorithm. You aren't judged by good or smart solutions either. Just by speed. The (high-school) programming contest mentioned earlier was more interesting. For example there was the task of navigating a robot on a factory floor without any state information, and only a limited view. The robot was not allowed to keep any information. Such as "I need to go out of this dead end" or "that is a dead end". It would easily walk into a path just to notice after a few steps (it had a limited view!) that this is a dead end, then try to walk out - just to walk in again, having forgotten that it's a dead end. You of course can't judge solutions without inspecting the code. Smart programmers found a few ways to "cheat" here - and got extra credit here. For example one robot, when noticing that it's in a dead end it might forget, would step up to the wall. And whenever it was close to a wall, it would follow it, and thus walk out of the dead end. Some heuristics making it step away from the wall again made it much more successful than others. Another "cheat" involved calculating "remaining steps allowed - distance to destination mod 2". It then could be programmed with two alternating behaviours and switch between them by just not moving for one turn. I don't think there is any room for such great ideas in the ACM contest.

15 July 2006

Eric Dorland: The Damage So Far

So I've spent the last 8 days at Fantasia, neglecting friends, family, my health and Debian work. Probably a good time to look back at what I've seen so the memories don't melt away has they have other years. So only 8 movies left to see. So far it's been pretty good.

14 July 2006

Gunnar Wolf: Working in vacations...

Means the office where the coffee machine usually sits is closed. Fortunately, that is easily fixed. Now, how healthy will it turn out? I'll tell you in two more weeks.

13 July 2006

Enrico Zini: First pratical lesson

Notes after today's training session. Small index of most used shell commands:
  • ls - list directory contents
  • cp - copy files and directories
  • mv - move (rename) files
  • rm - remove files or directories
  • find - search for files in a directory hierarchy
  • cat - concatenate files and print on the standard output
  • more - file perusal filter for crt viewing
  • less - opposite of more (quit with 'q')
  • cd - Change the current directory to DIR. (use "help cd" instead of "man cd")
  • mkdir - make directories
  • rmdir - remove empty directories
Small index of commands useful for combining in pipelines:
  • grep, egrep, fgrep, rgrep - print lines matching a pattern
  • tail - output the last part of files
  • head - output the first part of files
  • sort - sort lines of text files
  • uniq - report or omit repeated lines
  • sed - stream editor
  • wc - print the number of newlines, words, and bytes in files
Problems found during the lesson:
  • You set the system default locale to Amharic, and the gdm login will be in Amharic input mode. We didn't find out how to switch it back to input roman characters. Right click on the input field to set the input method doesn't work. Since usernames are not in Amharic, you're locked out.

  • So you CTRL+ALT+F1, login and try dpkg-reconfigure locales. On Ubuntu Dapper, it does not work anymore.

  • So you dig and dig and dig and finally find that you can force a locale in /etc/default/gdm (but not in /etc/gdm/locale.conf, nor in /etc/gdm/gdm.conf).

  • Then the internet works for a bit and you look up how to reconfigure locales in Ubuntu. Turns out you have to use localeconf, which is not installed by default, is not in universe and thus not on the CDs, and needs to be downloaded from the Internet.

  • The Ubuntu wiki is all on https, which defeats any attempt of proxy caching.

  • An Internet proxy needs to be configured 3 times: in Gnome, in Firefox and in Synaptic (well, apt). This is especially tricky when you forgot to setup the proxy in Synaptic and seemingly unrelated applications fail, like the Ubuntu language selector, which internally invokes the package manager to download missing langpacks.

  • Some short descriptions in the NAME section of manpages are hard to understand, or wrong. Noted on apt-get, apt-cache and less. Top prize goes to apt-cache:

    NAME
           apt-cache - APT package handling utility -- cache manipulator
    DESCRIPTION
           [...] apt-cache does not manipulate the state of the system but
           does provide operations to search and generate interesting output
           from the package metadata. [...]
    
    So apt-cache is a manipulator that doesn't manipulate. A possible improvement can be "query the APT package cache".
  • The language selector in Ubuntu Breezy doesn't really exit and keeps the package database locked. This seems to be fixed in Dapper, and probably had been fixed in some Breezy update. System updates here are a problem: my Dapper (with some Universe things in it) wanted to download more than 120Mb of data, and the Uni network was giving me 14Kbps. It's been a nice opportunity to teach about fuser -uva and kill.

  • dict, squid and many other packages from 'main' are not on the normal Ubuntu CDs: is there an easy way to build a CD with them? Or do Ubuntu CDs with extra packages already exist? I'll have to find out.

  • cupsys has documentation outside of /usr/share/doc, in /usr/share/cups/doc-root.

  • man works on all commands, except cd, which is an internal shell command and thus needs help instead of man. I should remember to ponder about autogenerating manpages from help output.

  • Is there an index-like manpage with a list of the core Unix commands and their short descriptions? It there's not, it's easy to generate:

    #!/bin/sh
    DIR=$ 1:-"/bin" 
    (
    find $DIR   while read FILE
    do
       if [ -x $FILE ] && ! [ -d $FILE ]
       then
               LANG=C COLUMNS=2000 man  basename $FILE    \
                     grep ^SYNOPSIS -B 100   grep ^NAME -A 100   \
                     tail -n +2   head -n +2   \
                     grep -v '^[ \t]*$'
       fi
    done
    )   sort   uniq   sed 's/^ \+//'
    
    Try running it on /bin and /sbin: it's great!. Also, since it doesn't redirect stderr, it nicely exposes a number of manpage problems.
Lots of bugs to report when I come home: from here it'll take ages, and lots of money on the hotel internet connection, and some are Ubuntu-specific so I'd need to do everything online with Malone. As usual, teaching is one of the best ways to find bugs. I propose an Etch training session a month before release. Other things to do:
  • Find more info about that Wikipedia live CD with Wikipedia browsable without the Internet.
  • Make a collection of Free technical E-books: even those Indian low-cost book editions are too expensive here, so E-books mean a lot.

12 July 2006

Sergio Talens-Oliag: Back from the V Jornades

As others, last week I was not waiting for the Pope and I managed not to be affected by his visit to Valencia; I left on Thursday at 15:30 to go to Barcelona for the V Jornades de Programari Lliure and didn't came back until Saturday at 20:00; at that time the show was still going on but I was not directly affected by it, as I live on a village that is about 5 Km. away from the city and probably around 10 Km. from the Pope's stage. Anyway, this post is about what happened on the JPL, so here we go. On Friday I gave a tutorial about Debian Packaging using liw's slides, it was planned for an hour and a half but I ended up using two. I believe that the tutorial went more or less OK, although they were not able to start doing anything on the computer. If I'm asked to give a similar tutorial again I'll try to have more time or to do a talk about the Debian Project and how it works before the tutorial, as that could reduce the time needed for the practical part (i.e., some of the people attending to my tutorial had no experience with the BTS or was not really aware about the available distributions). On Saturday I had a half an hour talk about Agile Documentation Tools; unfortunately I had not finished my article, but I had eight pages of reStructuredText and I transformed them into a S5 presentation in 20 minutes (the talk was about agile documentation tools, wasn't it?). As usually happens to me I had a lot of material and I ended up giving a two hour talk based on an unfinished article (I wanted to add a table comparing the features of different lightweight markup languages, but I was unable to complete it before leaving to Barcelona)... my excuse for doing such a long talk is that I asked to the public if they wanted me to stop, but they were interested and participative and I ended up using all the slides. As I talked so much I was unable to attend other talks, but I had a good time at the Jornades and met a lot of good people. I imagine that I'll probably will come back if they invite me again next year, it seems that they already had some requests for talks... :)

Sergio Talens-Oliag: Back from the V Jornades

As others, last week I was not waiting for the Pope and I managed not to be affected by his visit to Valencia; I left on Thursday at 15:30 to go to Barcelona for the V Jornades de Programari Lliure and didn't came back until Saturday at 20:00; at that time the show was still going on but I was not directly affected by it, as I live on a village that is about 5 Km. away from the city and probably around 10 Km. from the Pope's stage. Anyway, this post is about what happened on the JPL, so here we go. On Friday I gave a tutorial about Debian Packaging using liw's slides, it was planned for an hour and a half but I ended up using two. I believe that the tutorial went more or less OK, although they were not able to start doing anything on the computer. If I'm asked to give a similar tutorial again I'll try to have more time or to do a talk about the Debian Project and how it works before the tutorial, as that could reduce the time needed for the practical part (i.e., some of the people attending to my tutorial had no experience with the BTS or was not really aware about the available distributions). On Saturday I had a half an hour talk about Agile Documentation Tools; unfortunately I had not finished my article, but I had eight pages of reStructuredText and I transformed them into a S5 presentation in 20 minutes (the talk was about agile documentation tools, wasn't it?). As usually happens to me I had a lot of material and I ended up giving a two hour talk based on an unfinished article (I wanted to add a table comparing the features of different lightweight markup languages, but I was unable to complete it before leaving to Barcelona)... my excuse for doing such a long talk is that I asked to the public if they wanted me to stop, but they were interested and participative and I ended up ussing all the slides. As I talked so much I was unable to attend other talks, but I had a good time at the Jornades and met a lot of good people. I imagine that I'll probably will come back if they invite me again next year, it seems that they already had some requests for talks... :)

9 July 2006

Barry Hawkins: Debian Graphical Installer excellent work, guys

I recently had to provision a laptop at my client’s site for my use. Certain third-party applications that are key to managing the technology practice there are Windows-only, but I (am fortunately allowed to) refuse to have a Windows-only machine. They are cool enough to let me shrink the corporate WIndows XP image and set up a Debian sid instance for dual-booting. I took my trusty CD of a recent daily snapshot (the fact that I have been able to use daily snapshots of the Debian Installer ISO for several years with little to no trouble is in itself a huge testimony to the quality of that project’s work) and popped it into the media drive of this rather battered Dell Latitude D600. I had heard at DebConf that the graphical installer was now fully part of the daily snapshots, so on a whim I invoked it with the ‘expertgui’ directive at the boot prompt. Wow. Language selection in the graphical Debian Installer If you haven’t seen this, go and burn an ISO of the daily snapshot for your architecture and boot into it. (I won’t even elaborate on the fact that being able to choose from 11 different architectures is massively impressive.) What a beautiful interface, and how amazingly tasteful as far as look-and-feel. It’s very professional-looking, yet not corporate. There’s a button to capture snapshots of the install screens right there on each screen. It may take a minute or two to adjust to having the right line in the display highlighted before clicking the button to continue in more-complex screens, but the annoyance is neglible. I was thoroughly impressed, so much so that I wiped my backup laptop, a ThinkPad T42, and did a reinstall using the graphical interface. You can still pop over to the other virtual terminals just like in the character-based installer; the graphical interface seems to use the fifth virtual terminal. I just popped out of it to the second via Ctrl + Alt + 2 and was able to mount a USB drive with some firmware I needed. I wiped the T42 so I could run the IBM recovery and get XP back on a small partition. Hey, how else am I going to play Warcraft III? (Seriously, though, if anyone has managed to get Warcraft III to run via an emulator, let’s talk.) I found it a study in contrasts, installing XP and then installing Debian immediately after. The first thing I noticed with XP is how little visibility I have into the install process compared to the Debian installer. I suppose I shouldn’t have to since all these vendors have supposedly ensured (stifling audible laughter here) a smooth installation process for me. However, when something does go wrong, I am pretty much out of luck. Second, I have come to take for granted how quickly you can fully provision an OS instance with Debian’s rich package-management system. The benefits of an awesome package management system are painfully obvious as soon as you have to reinstall Windows or OS X, especially if you are a software developer with a whole litany of tools necessary for your work. A graphical installer was the last major impediment to me recommending Debian to my friends and relatives who are too befuddled by a character-based application or installer. This closes a significant gap in the Debian offering, and I wish to sincerely thank those who have poured so much time into the installer project as a whole and have gone the extra distance to create an interface that reaches out to the less-technically-oriented crowd.

Evan Prodromou: 20 Messidor CCXIV

No honking today; I guess there just isn't a big German population in Montreal. But, y'know, fourth place is pretty damn good, Portugal! Nothing to sneeze at. Still ahead of Brazil, for what it's worth. Tomorrow's the big finale, of course. The Paramount Famous Players on Ste. Catherine downtown is going to have a live showing, free for the first 300 people. I dunno... I guess it could be fun, but it seems a little impersonal. I think I'll be watching from Niko's again. It's easy to walk to Little Italy, or Barouf, from there. tags:

Grillr I spent the day putting together household furniture. We stopped by Canadian Tire on Tuesday to buy lawn furniture, and we got a shipment from Ikea on Wednesday. This afternoon cleared out a lot of cardboard boxes from our house. First up was Amita June's big girl bed, which she got as a present for her month birthday. Yeah, Amita turned the big one-oh yesterday (10 months!), and although we've been doing wp:co-sleeping, we want her to start learning to sleep in her own bed. (Most co-sleeping babies want to move out after about 1 year.) She got a toddler bed, which is actually pretty cute, and fits perfectly in her room. Building Ikea furniture isn't really all that fun. First, they optimize for shipping size and storage, not for ease of building (or stability), so you get some really shaky stuff. Second, the instructions have no words -- assumably to avoid translation costs -- so you have to interpret their graphical V lapuk into some kind of reasonable instructions. Fortunately, just about the time I finished building it, Maj and Amita came home from a walk. Amita had just fallen asleep, so we put her in to see how it fit. Looks pretty good to me! [image] After that, I watered my new lawn. The grass seeds I spread on Tuesday are coming up in teensity-tinesity leaves. Huzzah! Then I turned my attention to the wt:Muskoka chairs we got from Canadian Tire. These turned out to be a lot easier, and they were made from cedar wood, so they were pleasant to work with. Maj had invited over some friends for grilling, so she went to the store to buy food while I worked on the Muskokas. The baby hung out with me outside in her playpen. The chairs turned out great, and we had a nice grill. Brenda, Parise and Tony all came over. Brenda and Tony are librarians, and Brenda and Parise grew up together in wt:Moncton. The Muskokas were a hit; here are Brenda and Amita enjoying one. [image] tags:

Fireworks I can hear right now the dull thump thump tha-thump-thump of fireworks going off down at La Ronde, the amusement park in the middle of the St. Laurent River. They're the hosts of the International Fireworks Festival, which happens every summer. It's one of the great things about living in Montreal -- fireworks every Wednesday and Saturday from early June until the end of July. The festival is a competition -- national pyrotechnics teams each provide a half-hour long show on one of the nights, and then at some point after the festival they decide on a winner (I think... I've never actually checked who "won"). The fireworks are first-class, and it's just fun to have explosions over the city all the time. Tonight's team is wt:South Africa -- it's the first time there's been an African national team. Go SA! tags:

Best show ever One of the best music shows I ever went to was a "surprise" event by Camper Van Beethoven at the now-defunct Mint Platter record store on Telegraph Avenue in wt:Berkeley, California around 1990. Probably one of the next best music shows I ever went to was a surprise (for me) when Maj took me to see CVB at the Just pour Rire Theatre in Montreal in 2004, one week after we were married. (The band had recently reformed, and that night their equipment was stolen out of their tour bus in Mtl. Such a shame.) I'm just thinking about it because so many of the shows I love are on the etree section of the Internet Archive. Secret message to every taper I crabbed out because their big boom mike was blocking my view of the stage: sorry. You were right. Thanks. And what reminded me of that? The NPR Live Concert Series, aka All Songs Considered. Man, there's a lot of good music in there. tags:

One So, has anyone offered Kyle Macdonald of One Red Paperclip a marketing job yet? Guy knows his marketing. tags:

Bignose strikes again I'll be honest -- most of the time, I totally don't understand fellow piglogger Michael Bakunin's blog. Here's an excerpt from Gasoline: FD: small short position in one US refiner, and thinking about crack spreads. Does that mean something to some species of animal? I dunno. tags:

8 July 2006

Hanna Wallach: more mind mapping

Kathy Sierra on the importance of using mind maps (as opposed to a linear format) and drawings when taking notes and why this is hard to do using a (non-tablet) computer. (Thanks for the link, Daf!) I’ve said it before—we need a mind mapping program in GNOME. If people like Kathy are considering buying a tablet PC and running Windows just so they can use MindManager and include sketches in their mind maps, we’ve got to think about how we can make this experience possible under GNOME. (A side note: I’d love to be able to write equations on a tablet PC and have them automatically converted into LaTeX. That, as part of a mind mapping program with an “export to LaTeX” facility, would totally transform the way I work.)

Gintautas Miliauskas: Localization coordination for Debian #4

This was a week of prototyping. I performed some more basic changes to the API. I introduced folders so that arbitrary tree-like grouping structures would be possible. I also moved the language layer below the module layer (previously it was above, like in pootle), because it eliminates parallel hierarchies in the whole structure. It also just appears more logical to me. While the bottom-most TranslationUnit class needs more work until it's complete, I hope that the container interfaces will not need to be changed much more, as there would be more and more work to update the corresponding implementations. I have written a prototype .po parser that uses Wordforge's tools to parse a .po file and converts the result into structures defined by the new API. Admittedly it's at a very early stage. There is also a preliminary implementation that can read Pootle's backend storage directory structure. It is read-only at the moment, and does not read Pootle's metadata files yet, but it is usable. There's also an XML-RPC server that demonstrates this backend: you can send XML-RPC requests to translate words in specified Pootle projects. After having dealt with containers this week, next week I will probably concentrate on the actual translation objects and look deeper into structure of XLIFF to ensure decent compatibility. I would like to accommodate most of what Wordforge currently supports in this regard. I will also probably start thinking about the security subsystem (I have a feeling that this will spur a few discussions on the mailing list). I have also tried to gently push Wordforge to migrate to Subversion. Sourceforge has its own migration facilities, so hopefully the transition will be easy and painless. CVS has been a little of a pain, and now I noticed that it's actually threatening me!
...
revision 1.1
date: 2006/07/08 12:06:43;  author: gintautasm;  state: dead;
branches:  1.1.2;
...
There was some interest on the Wordforge mailing list about using the XML-RPC interface to co-operate with thick clients (KBabel, etc.). For the moment I have enough work on Pootle itself and XML-RPC is not a priority, but if anyone would be interested in implementing the client side for some translation application, I would be very happy to cooperate and coordinate the server's XML-RPC interface. Hopefully next week the weather will be a bit cooler too: it's so hot that it is difficult to fall asleep because of the heat. The heat definitely does not help to get actual work done.

7 July 2006

Julien Blache: Debian France, finally !

Today, the founding members of the Debian France non-profit met during the RMLL in Vandoeuvre-l s-Nancy; we signed the required papers and proceeded to the election of the board. We’ve been working on setting up the Debian France non-profit for the past months, discussing the idea and drafting the legal documents. Now we need to incorporate, this is the last big step :-) We’re all very happy now, and very excited to complete the last steps needed before we can open the membership and start to lobby more efficiently, among other things ;-) The 12 founding members are : Unfortunately, not everybody could make it to Vandoeuvre today. A big thank you to all the people who helped in the process, and continue helping today!

Martin F. Krafft: Returning the E60

I went back to the shop today to return the Nokia E60 I had previously sought out. There were just too many gripes with the phone, and even though I could have possibly worked around (some of) them, I was looking for a phone that works, not one that I could tweak to work. Among the most prominent problems were:
  • Lack of STUN support, which means that you cannot do VoIP behind a NAT router without configuring a port-forward (which is often not possible). Nokia is also unlikely to add STUN support because the phone's target audience is clearly large businesses equipping their employees with phones that will work with VoIP locally, and "fall back" to GSM when on the road.
  • Broken WPA2 implementation. I could not get my phone to associate with my WPA2 router. Reasons may be the AES implementation, which seems broken (see below), or just a faulty WPA2 implementation. I can get other devices, including my Palm, to talk to the router over WPA2 just fine.
  • Broken AES (or VPN) implementation, meaning I could not get a VPN connection to either of a Cisco router, a Check Point VPN-1 gateway, a Linux host running FreeS/WAN, or OpenVPN when AES was used. I could connect to all but the OpenVPN client using 3DES.
  • No WLAN reconnects. If your WLAN connection drops while you're using it, you have to exit the programme (or reassociate with the VoIP gateway) to get it back up. This sucks when browsing the web!
  • Sucky battery lifetime. I was playing around with the device, using a fully-charged but two year old battery. After about 2.5 hours, it displayed the first low battery warning. Obviously, WLAN consumes a lot of power, but that's just too much and too fast.
Other than that, the phone seems to have the usual features you expect from an advanced phone that tries to also be a PIM. Believe it or not, I could make phone calls, but there was weird crackling noises to be heard; I am not sure whether the phone's at fault, I do have crazy power lines around my place. One thing that did drive me up the walls was the configuration. To set up VoIP, I had to first configure a WLAN connection (which you cannot do in the "Connection Manager" -- that one seems to be only used to kill connections and associate with unencrypted WLANs) in the system settings (which are to be found under Menu/Tools), then set up a SIP profile, then set up a VoIP connection, and then make sure it's active. If you change WLANs, you have to modify the VoIP connection, it cannot use an existing WLAN connection, or the current best default. I want a VoIP/GSM combo not because I want to spend two minutes to configure VoIP in a foreign network. Also, while we're on a topic related to WLAN: the device does not allow you to connect to a WLAN without starting an application that uses it. Sure, it's power-optimised, but still. Also, neither ESSID nor encryption status are shown anywhere when you're connected, and I did not find out a way to display the phone's IP address. Another beef was with the general device speed. There's a quick access button to write SMS. If you press that, it takes 5-6 seconds until you can type the SMS. I don't need to say more... The display of the E60 (and E70), however, do warrant their own paragraphs: it's gorgeous! Simply gorgeous. Unfortunately, that's not a selling factor for me. So I decided to wait for the next generation of WLAN/VoIP/GSM combos (or at least firmware updates to the E60), and especially the Motorola A910, which runs Linux. I am grateful to the shop manager for being so patient, making sure that I am satisfied rather than trying to make money, and generally just giving me a pleasant shopping experience the way it really should be these days -- given that there are shops out there that won't let you try electronic devices before you buy them. So, if you're ever in Zurich and in need of mobile communication devices or paraphernalia, visit the mobilezone shop in Oerlikon (Einkaufszentrum Neumarkt) and ask for Andreas Iseli! Apart from being next door to my flat, I'm definitely going to go back there next time I need something. PS: to all those who have been toying with the idea of buying (or otherwise drooling over) the E70, do note that the two run the same software, so most of these issues will apply to the E70 as well. However, it's always best to make up your own mind, so find a shop as professional and fair as mine and get your hands on it.

6 July 2006

Andreas Barth: More on xorg-x11 6.9 removal

Last time I had the assumption that python-gnome2-extras just needs to go to testing. Unfortunately, that's not the case. The package needs rather to build on all arches first, but we now have some circular dependency loops. Lo c Minier proposed now some way to escape from it, but we see how many days it continues till we finally resolve this issue. Actually, we couldn't investigate in the removal matter any more until the python-gnome2-extras build issue is resolved. (Just to prevent misinterpretations: As usually, I'm not complaining about anybody involved. I'm just not that happy with the issues we have.)

Martin F. Krafft: Ubuntu and Debian

Ubuntu caused a lot of friction with and for Debian. In discussions with its founder, Mark Shuttleworth, and other Ubuntu developers during (and before) Debconf6, I was able to spell out the main criticisms from the Debian perspectives of the way Canonical/Ubuntu is handling things (without a claim to completeness). These criticisms mainly stem from discussions with fellow developers over the past 18 months, and I largely support all of them. I am publicising them here to help make the status quo more transparent. Before I go on, I want you to know that my neutral and somewhat even supportive stance towards Ubuntu has led many Debian folks to conclude that I must be a Canonical employee; I never was nor will be. Let's go:
  • A major point of friction I've gathered from many (Debian) sides stems from the fact that many developers are largely unsatisfied with how Canonical/Ubuntu cooperates and "gives back" to the Debian community: essentially, at the moment all we get are monolithic patches describing the differences between Debian packages and their Ubuntu counterparts. Even though Mark has claimed that the patches should be modular if the underlying package uses a modular package management system (such as dpatch), this does not seem to be the case at first glance (c.f. e.g. squid). You have to look inside the monolithic patch to note that its changes are compartementalised into dpatch files. Yet, Canonical/Ubuntu continuously claims to be "good" and to "give back" to the Debian community, but that's just not happening in that way. Canonical/Ubuntu either has to start giving back according to their own claims, or stop pretending that it does, and it's good that I have heard this voiced by one of the Canonical employees as well.

  • The perception that Canonical/Ubuntu is taking advantage of Debian seems to prevail. Taking advantage in this definition entails using but not giving back, as well as dragging integrative work out of Debian, something Joey Hess described as the supermarket thing, which has the potential to ruin the Debian project. Whether this is true or false, intentional or unintentional, it is important to recognize that these sentiments do exist among a number of members of the Debian community. There's a related point, namely jealousy about Ubuntu's success, and the fear that it steals Debian's users. In response, it is often said that while Ubuntu depends on Debian, the reverse is not the case: Debian does not need Ubuntu. This is false and true at the same time. Debian surely need derivatives like Ubuntu, for derivatives bring users, and users bring improvements and weight. However, Debian does not need any one derivative more than any other, and in fact it has been considered harmful if any derivative stands out.

  • Many of those with whom I've spoken perceive that Canonical/Ubuntu do not acknowledge Debian enough, nor give credit where credit is due. And this lack of credit and acknowledgement further amplifies the fear. Two examples seem to stand out:

    • The "universe" community that gathered around Ubuntu's core surprisingly often does not know about Debian, or do not know how Ubuntu and Debian relate. I do not have any data on this, unfortunately (see below). This is something to take up with the Ubuntu Community Council.

    • On the ubuntu.com front page, Debian is not mentioned at all; if you actually follow the About Ubuntu link, you can find Debian mentioned once in the first paragraph (albeit without a link), and if you did notice the right hand menu expanding, you may even decide to click on Ubuntu and Debian, where the relationship is finally illustrated from the Ubuntu point of view. To many, this is just not enough. Update (+6h): the About Ubuntu page now links to the Debian homepage. Thanks!

  • Canonical people, and Mark especially, draw an important line between Ubuntu (which is mostly free/open-source), and Canonical with its other products (Launchpad, Rosetta; which are non-free). However, from the outside, this line does not exist, or at least it appears as if there's a much stronger relationship between the Canonical and the Ubuntu project. This impression casts a corporate shadow over Ubuntu which deters many developers, even if it's undeniable that Ubuntu is a project of its own (to a large degree).

  • There's no question about Mark being on an agenda, for which he has assembled an impressively powerful team (which indirectly includes many Debian developers) at an (even more impressively) cheap cost. It's not my business to speculate about other people's finances, but those that do conclude that Mark is very likely not running too much of a risk with what he does at the moment and could basically pull out at any point in time. To some, who have dedicated large parts of their lives to Debian, this seems like an unwelcome way to play a game.

  • When Canonical entered the market and hired some developers to work on a Debian-related project, a lot of jealousy boiled up among those who didn't get a job, because back then it seemed that Canonical was out to pay people to work on Debian -- which is a common dream among us developers; at least people hoped that's what it would be. Many fundamental contributors felt left out and confronted with the question why they should continue their work for free when others are now getting paid for it. The twist is that nobody wanted to ask themselves that question, because money was never the reason why they started to work on Debian. The situation has leveled by now (I think). More and more people realise that Canonical is taking Ubuntu into a direction where many Debian developers do not want to go. Nevertheless, it seems that some of the frictions we are currently facing between Debian and Ubuntu still have their roots in the bad feelings from those times (which may well still exist in the individual case). Canonical/Ubuntu (and some Debian developers) need to realise (and get over) this, and somehow I think they've got a long way to go.

On Friday night of the Debconf6 conference, Mark assembled a bunch of people discuss the inter-project relationship. The (large) number of people who eventually joined, as well as the choice of venue (with live music) made the discussion somewhat awkward, but we did manage to get some good talking done, and I raised all of the above points. See the minutes of the meeting if interested. With their latest release out the door and a little more time on their hands (at least for a while), I hope that Canonical will follow up on the resolutions of the evening, as they have promised. The same goes for Debian, of course. There's very little Ubuntu can do about the jealousy other than acknowledge it, but it would be an important start. In addition, I hope to see all of the following take place rather sooner than later:
  • quality improvements to the patches they "give back" to Debian, and the adoption of a more appropriate medium of exchange. Instead of patches, active reaching out to the Debian developers by the Ubuntu developers would be even better in certain cases. The claim by Mark and one of his employees that this is simply impossible because of the commonly misconceived size of the paid body of developers (which is just too small) is really their challenge, and if they cannot meet it, maybe they have to go around it. It should be noted that efforts along these lines exist, so Canonical does not have to start from scratch. Note to Debian developers: if you're so inclined, please add your name to the bottom of that page.
  • a clear statement about how Canonical/Ubuntu plans to coexist or cooperate with Debian, and then the execution of those plans without leaving any doubt.
  • a survey of the Ubuntu community to gather (and publish) information about common perceptions of Debians position and role with respect to Ubuntu and vice versa. Again, this is something for the Ubuntu Community Council.
  • steps to ensure better familiarity with the Debian-Ubuntu situation among the Ubuntu community members.
  • a dedicated space for Debian people to go and be heard. Maybe the #debian-ubuntu channel on irc.debian.org will suffice, if some of the Canonical/Ubuntu higher-ups make an effort to keep an eye on it.
  • further steps by Canonical towards improving the relationship between the two projects, which could include regular meetings (or even irregular ones), uniting prominent representatives from both sides.
If I may add a thought that has come up lately (it's not only mine): a derivative like Ubuntu, namely one pushing Debian to the desktop, is an important asset for Debian. However, the only way this is going to work from the Debian perspective is as a mutual effort. If Canonical/Ubuntu do not realise this, maybe another derivative has to step in to fill the void? I hope this blog entry accomplishes what it tries, namely to shed some (more) light onto the relationship between Debian and Ubuntu, and to help the Canonical/Ubuntu side better understand the Debian perspective. Sorry for the length, I've worked on this entry ever since Debconf6 and despite a lot of editing (also by others; thank you!), it just wouldn't get shorter. Thanks for reading it all (assuming that's what you did if you arrived here). Update: this post has spread significantly, it seems. Thanks to all who've passed it on. I know of the following threads that ensued: If you find any others, please let me know.

5 July 2006

Martin F. Krafft: The Nokia E-series cell phones (E60 and E70 specifically)

I am on the look for a new cell phone, and now that the Nokia E60 and E70 are out, I went to the shop to had a close look at them, and one thing I can say up front is that they're both quite okay for people who like Series 60 (v3) phones and all the colourful navigation stuff you (have to) do with them. I personally don't really care as long as I can quickly learn to find my way, and as long as the physical aspects of navigation are okay and responsive (which rules out Sony Ericsson for me). With that I can start at one difference between the two E series phones: the navigation nipple on the E60 seems a lot easier to use than on the E70. That said, the two phones are otherwise very similar under the hood (see this link for details, in the following are only the points I consider important):
  • both are triple-band with WCDMA support.
  • both come with bluetooth, infrared, GPRS, EDGE, WCDMA, and WLAN (incl. WPA/WPA2 and EAP support).
  • both have a VoIP client, though the store manager didn't know for sure whether I could connect to a SER (SIP express router) on the 'Net over a WLAN connection. They say that you can connect to a local gatekeeper [0], so I'd assume it's possible, but that's something to try out; read on...
  • both can assign ring tones per contact. Nokia heard my cries...
  • both can reuse my 6230's battery and charger. This is really a major selling point of Nokia -- all of their phones have the same charger, and batteries are compatible across many!
  • both run Series 60 v3, Symbian OS 9.1, which is somewhat outdates (9.2) is current, but it does give you "improvements in the OS [which] mean that applications and content, and therefore a developers investment, are better protected than ever." (Wikipedia). Boy am I glad!
  • both can run ScummVM, meaning I can play all of the best games ever released! If this is not a selling point for a business phone, what is?
Obvious differences include:
  • the E60 has no camera, while the E70 comes with a 2 megapixel one. I am actually not sure whether this is a plus or a minus, given that it is nice to have a camera handy when your life isn't all cubicles and security-conscious companies.
  • the E70 sports a keyboard that you can fold out (as does the 6822). Unfortunately, here in Switzerland, all they offer is a QWERTZ version, which I'll avoid if at all possible. I don't think I'll be using the phone for "working" (as in word processing or spreadsheet editing; who does?), and I avoid SMS when I can, so even though the keyboard is certainly cool qand usable, I won't draw too much benefit.
  • the E70 seems to have better battery life (according to the specs), but that's something that can be addressed with a more powerful battery, I'd say (plus, I can use my 6230 battery with both).
  • the E60 is 3 cm smaller and weighs 10 grammes less than the E70. That said, it's still a lot bigger than the 6230 I now have.
You can compare the specs of the two phones as well as the 6822 (which is like the E70 in some ways, but without WLAN and VoIP) at this link. Oh, and then there's the Motorola A910, which runs Linux, comes in a little heavier and at about the same volume as the E60, doesn't include infrared support, and doesn't seem to provide a VoIP client, which I'd say is less of a problem given the Linux basis. Unfortunately, it does not seem to available in Switzerland. Together with a contract extension, I can get either of the E series phones at about half the street price. In addition, the shop manager told me he'd allow me to return the phone within three days if it didn't meet my expectations. All of this, and the above combined makes me want to sleep for another night, and then try out the E60 over the weekend. I have to make a decision whether to prolong my contract by 24 months, or only 12 months and pay CHF 100 more for the phone. That comes down to around 5 /month, which is around 10% of my monthly bill. Given that I was always happy with Sunrise as provider, it would seem natural to bind myself for 24 months. However, prices are expected to drop substantially over the next year, and I am not sure whether a provider could lock you in to an existing contract, even if the government ordered a price decrease. So in the light of the expected availability of more and enhanced WLAN phones, such as the Motorola A910, I think a 12 month contract will be the better choice.
[0]"gatekeeper" is an H.323 term and I brought it up in the conversation because I am new to SIP and, well... He said it would be able to connect to a company-internal "thing, like a Cisco router," so this leads me to assume it will be able to connect to any SER out there. Thanks to Mark Brown for bringing this to my attention.

Daniel Burrows: Paintings make the room pretty.

<rant>
In my last post, I linked to the Wikipedia article on "kitsch". I generally use this to describe art that's in egregiously bad taste -- plaster sculptures of women with exaggerated breasts holding beer bottles, animal-shaped clocks whose eyes wobble with the pendulum, etc. I want to make this clear, because the Kitsch entry in Wikipedia suffers from a case of advanced artistic pinheadism. In short, their definition of Kitsch reduces to

It's pretty and people buy it.


For instance, Thomas Kinkade (the self-styled "painter of light") is disposed of with the offhand comment that his pictures are

scenes of stone cottages, lighthouses, cobble stone streets, rustic villages, and other vistas, with emphasis on the glittery ornamentation in the play of light and natural foliage. His work is meant to be sentimental, patriotic, quaint, spiritual, and inspirational.


While I'm a bit put-off by Mr. Kinkade's aggressive marketing, the quote above could only be considered a serious insult by people who describe the origins of the scourge of kitsch as follows:

Kitsch appealed to the crass tastes of the newly moneyed Munich bourgeoisie who, like most nouveau riche, thought they could achieve the status they envied in the traditional class of cultural elites by aping, however clumsily, the most apparent features of their cultural habits. ...

... in being too beautiful and democratic it made art look easy, non-involving and superficial. ...

In some sense the goals of democratization succeeded, and the society was flooded with Academic art, the public lining up to see art exhibitions as they do to see movies today. Literacy in art became widespread, as did the practice of art making, and there was a blurring between high and low culture. ...

The subjects and images presented in academic art, though original in their first expression, were disseminated to the public in the form of prints and postcards.


In short, "wasn't art great back when the only folks who could have it were rich aristocrats, back before those grubby ungewisserei [0] got their grubby hands on it and grubbied it up?"

I am reminded once more why I never took a single art course in college, and took only one English course (and that to fulfill a degree requirement). The worlds of "serious" art and literature seem to be about standing around in a circle telling all the other people in the circle how cultured and sophisticated you are, and how intellectually impoverished and shallow all the people outside the circle are.

Why are you sophisticated? Because you said so, and you ought to know. And be forwarned: any attempt to invoke logic will be refuted with an assertion that our thought systems are inherently socially constructed and there is no absolute truth anyway, except that we are far more intellectual and sophisticated than you.

This has gotten a bit long -- but in short, anyone who looks down on another human being because they would rather have this hanging on their wall than this has frankly given up any right to be offended by the term "self-important pinhead".


[0] This may not be proper German, but as I am apparently an inferior man-child for not seeing instantly how awful kitsch is, how can I possibly be expected to get any language but my own right anyway?
</rant>

4 July 2006

Steve McIntyre: Germany out

Wow! What a stunning game! Both Italy and Germany really played excellently, and both had good chances. Unfortunately, there has to be a loser in every game. Italy scored two very late goals and go through to the final on Sunday. *hugs* to Heike - you were there for me when England went out on Saturday. Have some sympathy - at least you played better and got further than we did...

Next.

Previous.