Search Results: "tb"

19 July 2006

Andrew Pollock: [tech] Gadgets always seem to arrive in bulk

Whenever I get stuff, I always seem to get lots of stuff all at once. So tonight we went to the lovely Fry's, with a mission to acquire an Ethernet switch to plug in the new printer, which was due to arrive any day now. A co-worker had also recently bought a 160Gb hard drive that cost $40 after rebate, so I was on the lookout for one of them too. Instead, I came home with 1.6Tb of hard drive. Oh well. There were some Seagate 400Gb hard drives going for around 30 cents a gigabyte (that figure still blows me away, I remember when it was dollars per megabyte), so I couldn't pass that up. Hopefully it'll motivate me into getting a wriggle-on with building the MythTV box. I figure I'll try to get a USB-2 card and stick it in my 1RU server, attach the four disks to that, and export them via ATA over Ethernet, and I should be able to have an essentially diskless MythTV front-end (maybe boot it from a 1Gb USB key I've got lying around spare, or PXE boot). Should be fun, if I ever get around to it...

Erich Schubert: nofollow followup.

Micah Dubinko blogs on rel="nofollow" being a failure. I have to agree that this doesn't really stop comment spammers currently. I still believe that it will help on the long run, since most blog software will now use it by default. And people have to upgrade from time to time due to the lastest PHP security issue... However, I would like Google or other search engines to offer some "spam submission". It would be best if they had a common submission server. Then we could use the moderation tools of our blogs to submit these bad URLs to Google, who in turn could take measures to strip them off their index (e.g. by moderating indexing for these URLs, reducing their pagerank, freezing their ranking for some weeks etc.) I'm of course aware of abuse possibilities (e.g. spam with your competitors URL); but most comment spam I've seen so far uses new sites anyway. I think you can detect these by charcteristical URLs, site contents, incoming links etc. As for myself, I've never enabled comments on my blog for the very reason that I'm not willing to moderate all that spam. In my guestbook (which is mostly to reduce the number of emails I get because of certain popular contents of my german web page; people will happily post in my guestbook instead of sending me an email now), I've recently enabled a very simple filter. It will just reject any entry which contains http:// anywhere. My users don't need that, and it has reduced spam to 0 again. And I don't care for the entries there anyway. ;-)

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) )

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

Simon Richter: AOL users on the lazyweb

Joining Sesse, I am also on the lookout for notebook tips. Since I'm mostly asking on behalf of my girlfriend, who is an aspiring meteorologist, having an option to choose between really long battery life (because she might be in the outback) and acceptable computing performance (for the biweekly number crunching are strong requirements, just as a tough case and at #4, screen resolution.
I'm especially wary of "unified memory" graphics, as several people have told me that a high-res display will consume a large part of your memory bandwidth, which is the bottleneck for dealing with large matrices anyway.

14 July 2006

Andreas Barth: Uninstallability even more down

Today, the uninstallabilities went down even more. Istanbul has been updated from unstable, and is now installable again. So, this leaves us with:

10 July 2006

John Goerzen: Week 2 (ending Jul 8)

The big news this week: the kitchen is gone and the wash house was saved!

On Monday, I went out to take the week 1 pictures and clear out some junk from the wash house.

Workers started Wednesday. We thought we'd have to tear down the wash house, but they managed to save it! It'll make a nice outbuilding somewhere.

They pulled down the kitchen/bathroom. So things are looking very different already.

Check out the week 2 photos. Here's a sample:

8 July 2006

Uwe Hermann: ASCII art spam

Whoa, those spammers are getting really desperate now, aren't they? Today in my inbox:
apy8       0lyk   b8xvdtfa        glb13            0uurqjl     5xju3p0jb            1uk9z
 yhak     o3vl    tytjx4ui        m6frp           64zx9238iq   128lkxk2wh           fzqpv
 mkqj     g1tn    wgd293sv       s3mnhaq        y1vvng731dsy   f39iqddc65f         5fgnwcx
 t9ba4   wg8j1      ucq8         uviyoz6        4k2g4     fo   wz0i   q7pn         hqblemz
  pu9t   1dwr       mocp         nlihfws       mm3w0           j4zb   0fzh         o6nljyq
  0luy   to8a       ljd0        5bi8 zpfh      93ab            tbpr   hztc        foza p7sf
  5vw7t a4nce       2fjr        oxto 2t0r      37v3   mxvfq0   x6qtw1j6me         ye51 b7pt
   pwtx gg5l        mtfr       h7390 0voxg     btc8   t7vj3n   twn72qv80         92sj8 8qhuc
   4xoq 9m3u        r3i0       4dgf   2k8l     o6u8   eegabt   70vrl5ukj         6bpp   u336
    9p5tqyo         ixkj       7mkcss82ko2     6dgtj    tdei   eayi tnjgi        ujh0x073p63
    jbxotva         alrs      ubvdw9kele9rs     ed7bi   vbjz   0tlb b1svn       15xh90ojyj56u
    zzfla7m       3o1jnrrc    kvlxt74rl46l1     yy5mng2kl7dj   8bmq  793jb      qzqkjf00glzsf
     e6doi        hfcqgi2t    w8bd     vydk      elqfyxtdk7g   upqf   ippbf     ca5l     cgrm
     npnrd        dzsgo4jz   q9zo       co4g       6kabvxc     sqpy    5ds54   qhpb       krpw

6 July 2006

Simon Richter: W00t, Wolverhampton

It appears as if I have booked nearly all of the required tickets to get to this year's LUGradio live and back. Well, that probably means I'm going to be there. On my outbound journey the coach connections are not quite as good as they are inbound; so I am going to be bored in Birmingham on Sunday evening; is there anyone interested in drinking/keysigning there?

Erich Schubert: When soccer gets disappointing...

... is when the result seems to depend a lot on the referee. In the germany vs. italy game, an intentional handball close to their own goal by italy didn't gain the germans a penalty shot (which could have given them the lead). And in the france vs. portugal game, the french goal was a debatable penalty kick. It's also disappointing when one team makes a goal in the 119th minute, when the teams were of equal strength. Thats when you feel a penalty shootout would have been more appropriate. But thats life, and it just reminds me why I don't really like watching sports. And this probably means that both the final and the "small final" will be interesting to watch. Just don't pay attention to the final results. Still I think that soccer is more fun than e.g. basketball. In the basketball games of "march madness" I watched last year, most games were actually decided in the last 2 minutes of game time (which took them more like 20 minutes), which usually was one team trying to make a quick foul, so the other team gets two free throws, then trying to make a quick 3 point throw. And fouling again when the other team has the ball. Repeat until time is actually up, or you have the lead. Or your players don't manage to get the 3 point throws right, but the other team is too successful with their free throws. It's much like the actual game before that didn't really matter. I guess basketball could benefit from an extra time handling like in soccer. What I hate most about sports is that people who have just been watching the game on TV celebrate as if they had won themselves. There is no skill in cheering a team on TV... So please, don't sing "we are the champions", but more accurately "they are the champions". On the other hand, the "worldcup party" here in germany has been outstanding. It's like the whole country is celebrating with its visitors. We've raised the bar too high for south africa in 2010, I guess.

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.

4 July 2006

Evan Prodromou: 16 Messidor CCXIV

We hit Movies 4 Mommies again this morning, although some horrible construction project on Av Papineau around Jean Talon made us about 20 minutes late. They say that there are two seasons in Quebec: winter, and construction. I think they say that about a lot of places, though. Today's movie was The Devil Wears Prada, which reads much better in French on the posters at the theater: Le Diable s'habille en Prada. It's the story of a girl who wants to be a journalist and takes a job as the assistant to a powerful fashion publisher. It stars Anne Hathaway of The Princess Diaries as the earnest young striver and Meryl Streep as the Andy Warhol-like cruel and judgemental boss-lady. The girl learns about love, life, and being true to yourself. In other words, it was sappy dreck. But it was watchable dreck, unlike the horrible Click we saw last week. I didn't feel stupid for sitting through this movie, which is pretty low praise but for the Mommy Matinee there's only so much you can do. The only bummer is that Streep's character spoke in a ferocious, disdainful whisper, which was hard to hear over the crying babies. tags:

Lawn After the movie we stopped by the Canada Tire in March Central for some garden supplies. I'd promised Maj for a Mother's Day gift that I'd convert the 10'x10' square of weeds and trash outside the front door of our apartment into a nice lawn for sitting on and drinking white wine, but it was raining on Mother's Day and one thing or another got in the way of me actually doing what I said I was going to do. Until now. I had weeded the lawn on Sunday, which was pretty damn hard -- the weeds were waist-high and full of barbs and fluff and procrastination and other defense mechanisms. But I managed to rip out almost everything with a leafspan greater than half a centimeter, which left most of the area bare of plants. We spread out some grass seed given to us by friends Tara and Chris, but I wanted to give it a little more care. So I got one of those pushy lawn mowers at Canada Tire, and a big rake, and some grass seed with fertilizer mixed in since I'm apparently too lazy to mix it together myself. I assembled the mower when we got home, then mowed what was left of the grass down to a low buzzcut. I raked the little square like the dickens to get out the old leaves and dead grass and rocks and sticks and cigarette butts and wrappers, which had the side benefit of turning over the soil, too. Then I threw big handfuls of grass-seed with fertilizer pellets all over the resulting mulched up soil. Some water, some cleanup, and voila: I have what looks like a patch of dirt with seeds in it. Hopefully this will become a lush lawn sometime in the near future, because we also bought some beautiful fold-up wt:Muskoka chairs to put on the front lawn. I think these are just about the same as wp:Adirondack chairs, but I'm sure some expert in patio furniture could explain the difference. They are, however, my favorite kind of chair, and I'm looking forward to sitting out there with some white wine in a few weeks once the lawn grows in. Like, I dunno... maybe Labo[u]r Day. tags:

Hey, Baby Speaking of national (international?) holidays, in the aristo calendar it's the 4th of July. Happy Independence Day, everyone. My favorite 4th of July media item is the great song "4th of July" by X from their album See How We Are. X has an X the Band myspace thingy, which seems to play 4th of July when you navigate to it today. Which, like, hooray for them. Go, X. Amita June and I danced around the house this morning singing the "America -- Fuck Yeah!" song from Team America: World Police. Sometimes I wonder how Amita June is going to feel about her "dual heritage" when she grows up. She's got a Canadian passport and an American one; I hope for her that she'll be better able to appreciate the world by having that dual perspective. I've heard that there are parts of the world where Americans living abroad get together on the 4th of July and have hot dogs and toss the ol' pigskin around and stuff. I don't know if there's an Americans get-together in Montreal, and I kind of don't care. It's not like we're stationed in Siberia here, and we need to congregate once a year to remember what "home" was like. Quebec isn't so far from the US that I feel homesick for American culture -- just homesick for the people. I think the US Embassy in wt:Ottawa has a big party, but the Montreal US Consulate doesn't seem to. Which is probably just as well -- it's at the top floor of a 30-story building, which would make barbecuing hard, and playing tag football on the roof would probably be dangerous ("Go long!"). tags:

.de vs. .it Of course, there aren't any Stars and Stripes flying in Montreal today -- all the houses we passed today were flying the Italian flag, for the World Cup semifinals. Montreal has a vibrant Little Italy, and the residents and other Italians in Quebec are going nuts for the Cup games. I can't imagine what's going to happen tonight if Italy wins. I saw one car driving around with a German flag on the roof today... I hope they guy makes it home in one piece, is all I can say. I like the name "Little Italy" -- it makes me think of a cross between wt:Palermo and wp:Munchkinland. Like, 1-meter-tall Italians drinking espresso and playing tarantellas and dancing and cheering with those tiny squeaky speeded-up Alvin-and-the-Chipmunk voices. Teensy-weensy Italy! Itty-bitty Italy! It's so cute! tags:

Grilling After reading the Meathenge slapdown for once-a-year barbecuers, I'm once again happy that I'm a vegetarian (more or less). I just can't compete in that league, and my little propane BBQ with veggie burgers, portabellos and an occasional trout is enough for me, thanks. tags:

Wikitravel 10K Party I just announced on wt:Wikitravel:4 July 2006 that Maj and I are going to throw a little Wikitravel 10K Party during Wikimania 2006. I'm going to be presenting about Wikitravel and travel guide wikis, so it's going to be an exciting event for us. On a side note, it looks like we'll be in wt:Odense for Wikisym. Lots of people we like there, and Maj has always wanted to be in wt:Saint Petersburg for her birthday, so this will probably be close enough. tags:

El Destino One of the great minds of the Internet goes incognito as El Destino on Pigdog Journal. He may be one of the best media commentators I've ever read, and I'm proud to say that I know him well. Or, well, used to. He's written two articles for Pigdog Journal lately after a 3-4 year hiatus (I think... something like that). His article on the Devo + Disney combination is really funny and good. I hope I hear his voice more often; sometimes I wonder what he thinks of the Web in 2006. tags:

Stephen Hawking and the Long View Dr. Stephen Hawking asked Yahoo! Answers, " How can the human race survive the next hundred years?". tags:

Steve McIntyre: New toy on the way

Being around other geeks is bad, sometimes. Over the weekend I went to the UKUUG Linux conference along with a fair number of the other UK Debian gang. I had a great time, although the conference clashed with the football so I missed some talks. I also saw Wookey and Luke using their TomTom sat-nav units. I couldn't resist the temptation for long, and I've just ordered one for myself too. The 510 looks like a good choice - small, runs Linux, and is apparently compatible with OpenTom.

2 July 2006

Evan Prodromou: 13 Messidor CCXIV

Honk honk honk! honk honk honk honk! I guess Portugal just won the quarterfinals against England for the wt:World Cup 2006. We have a huge Portuguese community in Montreal, and the team's victories this year at the Cup and in 2004 for the Euro cup have been a huge source of pride. I'm not a big soccer fan, but I do love the fact that Mtl's cultural communities literally fly the colors, packing the bars and cafes and driving around honking after a win (or even a big goal). Italy, Portugal, Brazil (mostly Portuguese again), France... I even saw some cars with Ukraine flags. It's a cool part of being in such a multiculti city. tags:

Moving Day One of the things that's crazy about being in Montreal in the summer is that there's just too much to do. On any given day, there are just a billion jillion activities and things to do. Around May, the vegetation here just explodes into frenetic growth -- trying to get a full cycle of life in in our small sub-arctic growing season. Quebec's forests are as dense and overgrown as any Amazonian jungle. I think humans' social schedule during the summer is like that, too: trying to get a full year of fun into 4-5 months. Take today, for example. It may be 13 Messidor to us citoyens, but for the people of the North today is 1 July, officially wp:Canada Day. The national holiday of Canada, it's celebrated from Coast to Coast by lots of people who love Canada and want to celebrate their Canadianness. And then there's Quebec. Sure, Montreal has some nice Canada Day events, but there's something furtive about them. Even though somewhere north of 45% of Quebec's population wants to remain in the union, it's still rare to see overt Canada Day celebrations, outside the sponsored events. But for most Quebecois, July 1 is wp:Moving Day -- the day when everyone's lease is up, by government mandate, and those people who are going to move this year go to their new homes. There are moving vans in the street and people queued up at the rental places -- typical time to rent is 2-4 hours. We moved on Moving Day last year to our new, great apartment, and it's nice to be here. This may be the first Moving Day we've been here that no one's asked for help moving. That might say something about the stage of life we're in -- people are buying their own homes and settling down -- and it may say something about our reliability as friends since we had a baby. In any event, here's one Moving Day when any moving I do is on my own. tags:

Jazz There was a Canada Day parade this morning on the other side of town (where the anglophones and federalists live...), but we were too tired to go. So we instead skipped down to Place des Arts to visit the free outdoor parts of the Montreal Jazz Fest. Case in point with Montreal festivals in the summer: it was big, with tons to do, and we were totally unable to deal with doing it. We had some Molson Dry, saw some music playing and Amita June clapped along (she's a great clapper!), then we had quiche and a salmon wrap and some Molson Dry, then Amita June went and played in the kids' area, then we saw some more music, then some samba, then klesmer, then off to home. Good time, but tiring. I feel obliged to enjoy Montreal summers, but sometimes it's just too much. tags:

France Honk honk! Honk honk honk honk honk!! So I guess France just beat Brazil to get into the semi-finals. Is it actually allowed to have a World Cup without Brazil in the semi-finals? I thought it was a rule. Niko, my French Friend, was complaining last week that the French fans were just loitering around the bars on St. Laurent rather than being boisterous like other fans did when their teams won. Not today: on our way back from Jazz Fest, we saw a huge tow truck with a gigantic tricolor draped from the back trolling up and down Mont Royal. Kind of a bummer for the Brazilians -- and the rest of us who enjoy Brazil fans' antics. But I guess that's the way it goes sometimes. tags:

Fancruft I don't remember what I was looking up on Wikipedia, but there was some fancruft on the page and I ended up wasting half an hour reading Simpsons articles. I want my half hour back, Wikipedia! tags:

Marilynne Robinson When I was a freshman in college, one of my favorite instructors, Michael Near, assigned "Housekeeping" by Marilynne Robinson as an English 1B assignment. I found the story haunting and beautiful and altogether excellent. I tried digging up more of her work at the UC Berkeley main library, and all I could get was "Mother Country" -- her indictment of stratified society and nuclear energy. In it, she promised never to write fiction again. So I was stunned to read a quote by Robinson in Shannon's Livejournal. Wow. Apparently wp:Marilynne Robinson has written a book of essays in 1998 and a Pulitzer-Prize-winning novel in 2005. Incredible. Why was I not informed? I've got some reading to do. tags:

Full-text feed So I've got a full-text feed now. Hopefully it works for those folks with Planet aggregators or whatever, and especially for Joey Hess, who hates the stuff below the fold. Some corrections that I made to older posts seem to have fudged up some planets, notably Planet Debian, for which I'm kind of bummed. But I think I've fixed the problem, and this should be the only time it happens. Unfortunately, since I write a lot, it means a lot of scrolling. tags:

1 July 2006

Jeff Licquia: LSB Distro Testing

I’ve seen several requests for a simple set of instructions that test a distribution against the LSB. I wrote some Debian-specific instructions in a mailing list post back in October, and thought they’d do better as more general instructions. Before you start, you have to find out two things about the distribution you want to test: Go to the LSB download page and start downloading everything under the Runtime Tests for the LSB version and architecture you want to test. Make sure you don’t get the betas unless that’s what you want to test. You will also need the lsb-python package from the Application Battery list. Install all of these packages. Once all of the packages are installed, run the tests: Most of the tests are quick, taking less than 15 minutes usually per test. The runtime test takes somewhere in the neighborhood of six hours, and often looks like it has hung. Don’t assume the runtime test has hung until it’s run overnight. If you’re using an emulator, don’t give up on runtime until it’s run for at least 24 hours. The tests create two kinds of files: journal files, and the official runtime report (created by the runtime test). Where you ran the tests, look for files with names starting with “journal” in the current directory, or for paths like results/0001e/journal. The C++ tests create a directory called “qmtest_libstdcpp_[version]”. There’s a handy utility called tjreport in /opt/lsb/bin; run that on the journal to get a quick summary of the results. If you want to post results, use tjreport. The official runtime report (in /home/tet/test_sets/results) has some additional information: a list of FIP (Further Information Provided) results. What to do with failures: First, make sure it’s really a failure of the environment, and not a failure of the tests. The LSB publishes a list of official waivers for test failures; check that your failures aren’t on that list. For failures not on that list, Google is your best resource; most likely, someone else has experienced the same failure, and will have more information about it. If you really can’t figure it out, come over to one of the LSB’s mailing lists and ask around. On Xvfb: The Xvfb versions shipped with most distributions have bugs that can cause problems. Anything running XFree86 will likely not be able to complete the X tests, and anything running X.org may see a number of failures. Because Xvfb is not required by the LSB, you can replace Xvfb with one that doesn’t have these bugs. Recent Debian xvfb packages for etch don’t have these bugs, so Debian and derivatives can use them for testing. (The sarge backport of Xvfb can be installed on vanilla sarge without upgrading any of the other XFree86 packages; missing packages can also be pulled from the sarge backport without affecting the packages that do ship.) Please post questions, problems, criticisms, etc. in the comments. A version of this might end up on the LSB site someday, so any improvements would be appreciated.

30 June 2006

Andreas Barth: On the pain of having so many architectures

Now is a time where I feel the pain of supporting so many architectures again. I'm now not speaking about m68k, because that doesn't hurt the release team at all any more. I however speak about a dependency chain I blogged already about recently, which holds up removal of xorg-x11 (6.9) from testing. Now, we look at getting newer packages in. We basically need to update rhythmbox. However, rhythmbox is not yet build on sparc, because there some build-dependencies are not yet uptodate on sparc. Rhythmbox is not the only issue, it's indirect dependency qt4-x11 FTBFS on hppa with "*** glibc detected *** free(): invalid pointer: 0x00142838 ***". More issues to come, on another hint I'm trying to get resolved, I detected an ICE (Internal Compiler Error) on ia64. In sum, there is really some arch-specific pain available right now. I'm not happy with that at all.

Joey Hess: slow

Coming up on being a full year of only dialup internet at home. Slow dialup at that, generally 28.8. Most people I know who use the net a lot switched to high speed years ago and never looked back, while my internet speed graphed over time is a square tooth wave[1]. I seem to have learned to cope with a slow network, both in the tools I've chosen to use, the things I work on, and the ways I work. Oddly often slow internet turns into an advantage. Watching apt download the new pdiffs (which relieved at least 1/5th of my current pressure to get a faster connection), I seem to be able to see the steps it's taking to update better than people with insanely fast connections. Checking up on d-i's memory use the other day as it downloaded itself, I could get a much clearer picture of which components used how much memory. Loading a web page, I can tell if it's built on 200kb of crap html or a well-designed style-sheet. Using different revision control systems to download software trees, I can tell which have innefficient protocols. It's the effect of being able to turn a crank and watch the lights as the CPU processes one instruction at a time. Remember the first computer you used that could scroll text, maybe in a directory listing, faster than you could skim it? Did that feel like an improvement or a new burden? For me this happened with 486 66 machines in DOS as opposed to the older 33's. Now we have to remember to pipe certian commands through less or fiddle with a scroll bar to see their full output. Now when I am on fast internet, I often seem to feel like too many things are going on at once. I can no longer flip over to my mail reader and read one of the messages that downloaded this half hour while a web page is loading; instead the page loads in an instant and I find myself triggering one mail download after the other, since after all, each takes only seconds, not tens of minutes. And as the mail is downloading I can't watch it out of the corner of my eye and get a sense for whether I have a lot of new mails in one mailbox or the other, whether spam is attachment-heavy today or light, whether there's a lot of work mail today or not, etc. Instead it's all there at once and I feel compelled to go deal with it. The last time I had really fast internet at home, I ended up turning off my wireless for hours at a time so I could concentrate on coding or reading instead of the available distractions. Now I've inverted that pattern; I'll seek out a fast internet connection and spend a few hours soaking up the full slendour of the net, but then I'll go home feeling shakey and nervious and get back to getting something actually useful done on dialup. Sometimes I feel we've lost sight of the reason why we want computers to be fast; it's not an end into itself, it's just one more means to let the computer accomplish what we want it to accomplish, when we want it accomplished. Sometimes that's not right away; sometimes, the Italians tell me, you want a nice long compile to go out for a cappuccino. This all seems very interesting to me and ripe for more research. The rare bits of user interface that intentionally slow things down rather than operating at maximum possible speed (for example, edge resistance) are, I suspect, some of the hardest bits of UI design out there, and probably the most influenced by actual users. There are tie-ins with calm computing, all kinds of interesting UI and scheduling issues (for example, which download does the user need right away and which isn't a priority, as it's not really wanted until tomorrow), all kinds of stuff that we basically don't consider today in day-to-day program design. And if I could buy an old-style instruction-level crank and front panel lights USB dongle for my laptop, I would, in a heartbeat.
[1] Old-timey-net "fast" at college, then dialup, upgraded to ISDN, back to dialup, then upgraded to ADSL, then blazing fast nearly symetric DSL, then back to dialup, then pretty fast cable, then crazy latency satellite, then back to dialup.

29 June 2006

Andreas Barth: How to get xorg-x11 (6.9) out from testing - part 2

A few days ago I blogged about liboil being in the way for gst-plugins-base0.10, which itself blocks xine-libs being built, which is needed for gnome to go in, and the old xorg-x11 to go out. Now, we made some fantastic success. Liboil is in testing. However, now we get to more issues: xine-lib FTBFS on sparc with the wonderful error /tmp/ccoqKu6u.s:6222: Error: Illegal operands: There are only 32 f registers; [0-31]. Gotcha. Also, totem now needs also the new version of rhythmnbox in testing - and rhythmbox does not only depend on totem, but also on dbus (0 days), gnome-media (which waits for nautilus-cd-burner, which has itself a bunch of issues open), and the libsexy transition. Let's see how long it takes to sort xorg-x11 out.

27 June 2006

Joerg Jaspert: Miau

So, NEW down to 104 again. It was 111 yesterday at dinstall time, but people keep uploading NEW packages (was up at 121). Damn people. :) In other news I finished the project for work I had the last months, which was a nice server migration, getting some 50 machines from woody to sarge, with heartbeat, drbd, bonding and a lot of other things for some redundancy. But as thats finished for now, lets see what Im doing next. Oh, the next 5 days I will be on a trip to Sarajevo and Edinburgh, see this mail for the reason. We should have net there, so in theory I should be able to get more out of that NEW queue in the evenings, but if not - well, go bite in a table. :)

Next.

Previous.