Search Results: "tim"

31 May 2006

Simon Law: Debconf 6, Day 9


Sheep in the streets
Originally uploaded by sfllaw.
By Monday morning, it was my turn to get up ludicrously early. I managed to catch a hot shower, which was very welcome. You see, they turned off the hot water late at night, and didn't turn it on early in the morning. So if you kept hacker hours, you'd get a cold shower before going to bed. I bid goodbye to my sleeping companions as I rolled my suitcase out of the room and checked out at the Reception desk. I sat on my suitcase with laptop in hand, as we waited for the others to show up. We were carpooling to town in some taxis, as I had an awful bus experience coming in to Oaxtepec. It was in this hour that I taught myself how to blend exposures in the Gimp. There was a lot of fiddling with alpha channels and masks, until I hit upon exactly the right solution. By the time I was done, a rather large group of people had gathered about me. It was about then that four taxis pulled up and we threw all our luggage into little hatchbacks. Then Nattie, Ben, and I squeezed inside and we were off! Instead of choosing the toll highway, our driver decided to take the country roads. This was not such a poor idea, since we got a good look at the countryside. I had never seen fields of cactus before, but I suppose that makes sense. After all, it is edible and requires very little irrigation.

Popocatepetl
Originally uploaded by sfllaw.
We drove along the winding roads and passed through town after town. In one, we had to stop momentarily. That's because a herder was driving his flock of sheep through town. We saw them turn a corner, and then our car was surrounded by a sea of bleating wooly sheep. Then, as quickly as they appeared, they were gone. As we neared Mexico City, we noticed a rather large mountain in the distance. A mountain that spewed smoke. Our driver informed us that it's Popocatepetl, a local active volcano. He pulled over by the side of the road and let Nattie hop out to take photographs. The taxi behind us pulled over as well, and they spent a few minutes snapping shots. I noted that where we had stopped was rather hazy, so I just snapped a few photographs when it appeared in my window. I lucked out, I suppose. You could tell when we approached the city, as the traffic got heavier and things got louder. I awoke from my brief nap to see us pull through a toll-booth and on to a six-lane highway. We managed to get to the international gates at the aeroport, have our luggage unloaded, and paid our driver for his troubles. Then we checked in. My luggage tested positive for explosives about four times. The security guard for Mexicana kept swabbing away with test strips, each time coming up with a different result. Eventually, he printed up a chart, stared at the squiggly lines, and let me put it on the conveyor belt. Then, I met up with Nattie and Ben, and we also bumped into Peter.

Over New York
Originally uploaded by sfllaw.
We bought some postcards and sat in a restaurant. There, we ate overpriced American food and wrote back home. Or rather, Nattie and Ben wrote charming postcards and I dashed off twenty-three hastily worded missives. Then, we hugged goodbye and it was time for me to board my flight. Ben graciously offered to post my mail, because I had run out of time. Liftoff was quite exciting. The wind was gusting so as we took off, I got to see the engine shake furiously in its housing. And we did a little hop as we pulled off the ground. A little girl, sitting behind me, shrieked in distress when we did that. I really don't blame her. Landing in Montr al was a lot safer. Even though we had to go through layers and layers of clouds to do it. It was sort of depressing, actually, flying from gorgeous blue skies into a city covered by grey. But I had brought the sunshine back with me!

Jeff Bailey: Montr al goes non-smoking

This lovely city is about to get nicer for me. Montr al is going non-smoking in all indoor enclosed public spaces. The law takes effect in about 40 minutes.

It's tempting to go play pool at midnight, but:

1) I'm sure it'll take a week or two for the residue smoke to actually clear out of the pool hall.
2) I'm *tired*

But there needs to be a game sometime soon... I'm thinking next Tuesday, 11pm, Berri and Mont-Royal, right above the Jean Coutu.

John Goerzen: Midnight Musings on a Dark Train

I stepped out the front door Monday morning at 2AM. Our house was a bit warm and stuffy, and I expected a nice, cool breeze. But instead I got a blast of... slightly warmer and stuffier air. Summer must be here.

Terah and I were setting out on a train trip. The train east out of Newton, KS leaves at 3:01AM. We got our bags loaded and set off to the station.

Not long after we got on the train and to our room, the train started moving. Terah fell asleep right away. It's hard for me to fall asleep so quickly the first night of a train trip. The excitement of the upcoming trip keeps me awake. Plus, once I wake up, I usually stay awake. Even if the alarm woke me up at 1:20AM.

This time, I lay awake remembering my ancestors, who migrated from Russia to Kansas in 1874. Some of our trip will follow the same route that they took 132 years ago.

In the train, you hear what sounds like a distant train whistle fairly frequently. It's from the locomotive on our train, but sounds distant because the passenger cars keep the noise out.

We slowed a bit, went around a gentle curve, and the whistle sounded again. Off to one side of the train were the lights of a small town. It's Peabody, KS -- where my ancestors arrived in the middle of the night back in 1874. They were excited to finally be at the end of their journey -- which had taken months and spanned oceans and railroads on two continents. So excited, in fact, that they set off to find their new land in the middle of the night rather than wait for dawn. But how did they cover those 15 miles at night? Did they rent horses and wagons from someone? I couldn't remember, trying to sleep here in the middle of the night.

I'm still awake. I come to a pause in my thoughts and notice the train's horn again. Somewhere ahead, there is a dirt road crossing the tracks. Nobody is there, but the train is sounding its horn to keep them away anyway.

I think back to 1874 in Russia. Not everybody in the Mennonite settlements there left. Those that were too old, too weak, or that couldn't make the trip for whatever reason stayed behind. For most, when they left Russia, they were saying goodbye to their families for the last time. They would never have the opportunity to see them again.

Then their trip began. Through rickety Russian railroads, to long days at sea, then through New York, and on the railroad again, stopping some points along the way. They'd never seen what would be their new home. And there was no going back if it wasn't to their liking. I can only imagine how hard that must have been for this group of German-speaking immigrants from Russia. And how anxious and exciting it would be to finally get off the station and head to their new home.

This group of settlers made quite the impact on Kansas. They brought their "turkey red" winter wheat with them from Russia. This wheat turned Kansas into the world's leading wheat producer. And it helped rescue the ATSF railroad from the precarious financial situation it was in. That was a good move on the railroad's part -- they were the ones that sold land to the Mennonites in Kansas, recruited them to settle in the area, and even built them temporary housing for their first winter in Kansas.

And that's the same railroad we're taveling on now, as I hear the crescendo and then the WHOOSH of a passing train just a few inches from ours.

By now its 4AM. I think back to the train station in Newton, which we left behind just an hour ago. I remembered how earlier in the 20th century, after the Mennonites were well-established in Kansas, they would send off missionaries to other parts of the world -- China or India especially. Those that went off served two 7-year terms. They departed from the Newton train station, just like we had. They probably waited for the train to carry them away in the same room we did. But they knew they wouldn't see their friends, relatives, or home for 7 years.

When missionaries would leave, a large group of church members would accompany them to the station. As the train approached, the people there would start singing their favorite hymns -- a capella, in German. The sound filled the old station, and followed the departing family out onto the platform as they boarded their train. The people leaving weren't the only ones to miss their friends and relatives. Those staying behind would also go 7 years without being able to talk to the missionaries that were departing.

A light flickers by the window. Maybe a yard light, or a small town, or the back side of a warehouse somewhere. Off in the distance, the horn sounds at another crossing.

Time for some sleep.

David Pashley: Eddie RSS and Atom Feed Parser

I'd like to announce the initial release of Eddie, a feed parser library written in Java. It's taken me over 100 hours, but it now correctly parses 90% of the FeedParser unit tests, including all the rss and atom tests. It's GPLed, with an exception allowing you to use it in any open sourced program. Get it at my website. Need to add documentation and character set and encoding support. Also need to separate the testing infrastructure from the rest of the code. This is the first time I've done any java programming in anger, and I have to say I'm surprised to discover I quite like it. In many ways it seems a very quick language to program in. It seems almost like programming in a scripting language, but stronger typed. This is probably due to not having to worry about memory management. Certainly I don't think I could have written this quite so quickly in C++. Having said that, there are a couple things that I don't like about Java. Everything is a pointer. This is useful at times, but it means that every time you want to call a method on an object you have to test whether it is null or you run the risk of getting the dreaded NullPointerException. Java also doesn't have keywords for and, or and not. I know not everyone likes these, but I keep finding myself trying to use them. I'm sure there are other things I hated, but I can't remember them now. I think I'll end up doing more java programming in the future.

30 May 2006

Simon Law: Debconf 6, Day 8


Tree climbing
Originally uploaded by sfllaw.
I awoke to a very early alarum clock, which I shut off quickly. I dragged myself out of bed to see [info]ze_dinosaur off, but he was far more prepared than I was. I waved goodbye and then collapsed back into bed. Sunday morning was pretty difficult for me. In fact, I only got up in the afternoon. I ate some bananas and showed up to the HackLab where I socialized for a good while. Then we realized that lunch would be smart, so we went to the market. Instead of tortilla based food, we managed to get some stewed meat and deep-fried vegetables. That was rather tasty and I had to waddle back. I spent the rest of the day touching up photographs instead of going on the waterslides. I'm now wondering if that was wise. But at the time, it seemed like a lot of fun. What wasn't so wise was trying an iced treat when I didn't want one. I got some money out of an automated teller and saw a shop across the street that sold iced things. Well, I crossed into the shop and ordered one. They scooped out some ground ice, topped it with mango syrup, splashed it with lime juice, and topped it with salt and chili powder. Now that I think of it, it would be tasty and refreshing if you drank lots of water all day.

The end of the road
Originally uploaded by sfllaw.
Somewhere along the line, we got the idea that our last meal in town should be wonderful. So I rounded up a rather large group of people who wanted to go out for dinner, expressed that we'd be going all fancy, and generally herded them into the fanciest restaurant in town. Some people initially complained about the potential cost, but the convival atmosphere and cloth napkins overruled this. So did the tasty platters of beef. We were all quite happily stuffed. Afterwards, a few of us strolled through a park attached to a local historic site. There were plenty of benches to sit upon and we contemplated the night air. I'll have to say that Mexico's nights are a lot less chilly than Montr al's. But the resort had all the lights on, so you couldn't see any stars at all. By the time we had strolled back to the HackLab, people were disassembling the network. I lugged a big server into a van and brought a few more boxes of things there. After the heavy lifting, I took a few more photographs of people, wonderful people, before deciding to retire. But the camera never does capture the fleeting moments.

Philipp Kern: Load Cycle Fix for Toshiba HDDs

Toshiba HDDs, especially in Apple laptops, are vulnerable to a high rate of load cycles (about one per second instead of a few per hour) on Linux. This has a major impact on the lifetime of the device. I had two HDDs breaking in short time intervals (less than a year), due to exactly this issue. You could fix this problem by putting "apm = 254" into /etc/hdparm.conf. But please note that 255, which should turn off APM, does not fix the problem. The load/unload cycles just continue. You could verify the fix by looking at the count in the output of the following snipplet. If the value does not increase after two minutes you should be safe and enjoy a much longer lifetime of your drive:
smartctl -a /dev/hda grep 'Load_Cycle_Count' awk ' print $10 '

Alexis Sukrieh: About Bugzilla 2.22 Debian package

Yes, Bugzilla 2.22 is not yet in Debian, I know. And you know what?
That’s my top priority in my todo-list. Just be patient, I’m working on it. It’s just that I had a lot to do in real life recently and didn’t manage to find the time to focus on my pretty-complex-and-patched package, named bugzilla. By the way, as there are sometimes requests for help about the bugzilla debian package on irc.mozilla.org (chan #mozwebtools), I created a new chanel to gather those discussions: #debian on the same server. Feel free to join if you like.

Jos Parrella: The magnets

While being in Mexico City, I walked around downtown and several other places of the city. One of this places was a block full of chinese restaurants which resulted to be (guess what) the Chinatown in Mexico City. Besides the real cheap buffet deals (60 MEX -> 6 USD -> 12000 VEB) in chinese food, I found a street seller (which in Venezuela is called a buhonero but I’m not sure how they call it in Mexico) which was selling all kind of chinese overstock stuff. This usually includes those kitties with chinese eyes, and the little bells painted, and maybe some handcrafted sticks… but this guy was throwing a pair of magnets in the air while selling this stuff. The magnets made an incredible sound when they attracted themselves in the air and bounced. I asked if those were on sale (of course, it’s Latin America) and I bought a pair for 20 MEX. While in home, I was playing around with the magnets, impressed by the power they had (in my first term in the University I had to made a maglev train and we spent hard time finding good magnets to show the different forms of generating magnetic fields). If you place one of these magnets in the floor and approach to it with the other at, say, 10 centimeters, the other magnet starts moving away really fast (and chaotically, also) One of the most interesting parts of the magnet stuff was making both of them to spin about 7 centimeters apart. One of them stops at some time and starts spinning again just by the magnetic fields they produce. Of course you can play all sort of stuff like making a dog chase a magnet around a table while you “move” it with the other magnet under the table. All the fun stuff has a bad part, of course. I was hanging around with the magnets around my home and then my girlfriend found out “weird” purple spots in all the televisions and monitors around the place. Damn magnets!

Adam Rosi-Kessel: Yahoo Qmail Daemon and Mailman

My server’s mailman (or postfix) installation is mysteriously rejecting mail from one Yahoo! mail user. I don’t get it:
Hi. This is the qmail-send program at yahoo.com.
I'm afraid I wasn't able to deliver your message to the following
addresses.
This is a permanent error; I've given up. Sorry it didn't work out.
:
72.1.169.10 does not like recipient.
Remote host said: 550 : Recipient address rejected: undeliverable address:
unknown user: "[list name]"
Giving up on 72.1.169.10.
72.1.169.10 is, in fact, the IP address of my server. [list name] is (in the real version) the real live name of the list. The list seems to work for everyone else. And it’s certainly not true that I, or my server, doesn’t like this recipient (or sender). Aside from this anomalous behavior, it’s also funny that Yahoo! provides plain old unfiltered qmail bounce messages to its users. Wouldn’t you think a fully matured webmail service like Yahoo! would, by this point, have somewhat customized their mail error reporting messages? In fact, wouldn’t you think they would want to hide the fact that the use qmail at all, if only for security purposes? Couldn’t they hire an intern to write a few replacement error messages? Maybe I’m missing something. A propos, I discovered this nice piece from McSweeney’s, entitled YAHOO’S MAILER-DAEMON AUTOMATED REPLY FOR FAILED E-MAIL DELIVERY IS GETTING A LITTLE TOO INTIMATE. Update 5/30/06: Figured it out. Oddly, Yahoo! was looking up the CNAME DNS record for the domain name and replacing that in the mail header. While the original email went to e.g., listname@lists.mydomain.com, the message as delivered was addressed to listname@servername.mydomain.com. Because only lists.mydomain.com processed email for lists, the message bounced. The solution was to change lists.mydomain.com from being a CNAME entry to its own A entry with the IP address specified directly. That fixed the problem. I’ve never seen any other mail service work this way — gmail certainly doesn’t.

Clint Adams: The Alaskan pipeline

Joey, zsh does the subshell on the left side of the pipe. This is aggravating in far fewer cases than the right-hand way. In times past, this would lead to confusion when one would try piping the output of the jobs builtin to, well, anything. That's why jobs is now special-cased to magically work in a subshell.

Philipp Kern: bcm43xx wireless

Oh yeah, time to get rid of that silly USB WLAN device I had to carry with me for Linux wireless networking. Ubuntu Dapper supports BCM43xx almost out of the box, heck it is even displayed correctly in d-i, albeit not working (or at least I did not try it). After enabling universe, fetching bcm43xx-fwcutter, running the provided script (/usr/share/bcm43xx-fwcutter/install_bcm43xx_firmware.sh) and a reboot I have WLAN working on my iBook. How nice. The signal strength displayed by both iwconfig and network-manager is sticky at 100%, though.

Evan Prodromou: 10 Prairial CCXIV

I've been very interested in the development of semantic markup in HTML pages over the last few years. I find it particularly interesting, since I've been invested a lot of time putting RDF features into MediaWiki, which has paid off with some interesting features on Wikitravel (see wt:Wikitravel:RDF). I think further semantic markup could be very useful to Web users. Encapsulating semantic info into HTML is not a new idea, but it's picking up steam and I think it will 'tip' as major systems start using it, and with built-in browser tools like Flocktails. But I'm worried about competing efforts to make semantic-data-in-HTML work; I've written an essay on the subject in RDFa vs microformats.

Joey Hess: laptop keys

I knew when I blogged about all the breaky bits having already broken off the slowly dying laptop that I was asking for trouble, but I'm still suprised what broke off next: The Enter and "D" keys no longer stay attached. I guess these must be the keys that I use and abuse the most of them all. The Enter key is worn so thin that it's got a crack in the middle. This makes using the laptop an interesting experience, even with key remapping used to make some other keys take their place. I have already ordered the replacement laptop, unfortunatly my timing was horrible, I didn't want to make a large purchase while in Mexico, and then was too busy until too late Friday, and I've had to wait all weekend and Monday for confirmation of the order. Maybe tomorrow..

29 May 2006

Martin F. Krafft: Shell sucks

Shell programming must be the most depressive waste of time out there, and if only because things sometimes just don't work the way you'd expect from a scripting language. Take the following simple examples in bash (3):
for i in 1 2 3; do
  echo $i
  exit 1
done
echo END
==> 1
echo -e "1\n2\n3"   while read i; do
  echo $i
  exit 1
done
echo END
==> 1
==> END
WTF? The result of the first -- the whole script exits entirely after the first iteration -- is what I expect. After all, I did not call break, but exit. The result of the second is totally unexpected. I understand that for and while each execute their iterations in a subshell, but why don't these behave in the same way? The fix here is a exit $? following the done keyword. Urks! Here's another one: the task is simply to output the number of 1's in the output (yeah, I realise grep -c can do this too):
cnt=0
echo -e "2\n1\n3\n1"   while read i; do
    case $i in
      1) cnt=$((cnt + 1));;
    esac
  done
echo $cnt
==> 0
The reason? The while subshell receives a copy of the caller environment, so when it updates $cnt, it only updates a copy of the actual variable, leaving the original untouched. Similarly, a variable defined inside the subshell won't be available after the while loop is done. I cannot find a fix that's not bash specific. Of course, it works fine when I replace the while loop by a for loop:
cnt=0
for i in 2 1 3 1; do
    case $i in
      1) cnt=$((cnt + 1));;
    esac
  done
echo $cnt
==> 2
Great, isn't it? And I am not surprised that zsh gets it right. Why would anyone actually want to use bash? Update: here's Joey's explanation for the behaviour, and Clint's account for why zsh does it right. I still can't figure out how to count the 1's. Update ^2: Axel Liljencrantz sent in this message. Update ^3: Alexander Sieck showed me that process substitution ("<(command)") instead of the pipe does work (for both cases):
while read i; do
  echo $i
  exit 1
done < <(echo -e "1\n2\n3")
echo END
Of course that's nowhere near POSIX compliance... Update ^4: my solution, which allows for spaces in the lines:
IFSOLD=$ IFS:- 
IFS='
' # yes, a newline
for i in $(the_command): do
  IFS=$IFSOLD
  ...
done
What a hack!

Norbert Tretkowski: Remaining photos uploaded

As promised before, I uploaded the medium and high quality photos from DebCamp, DebConf, the daytrips to Teotihuacan and Xochicalco, and LUG Camp into my gallery. Have fun. Update: Unfortunately I forgot to adjust the date on my digicam from CDT back to CET, so the time in the exif tags from the photos I made at LUG Camp was 7 hours behind. This problem can be fixed using the -ta option of jhead, thanks Colin for the hint.

Enrico Zini: Debconf6 talks material now online

I've finally put online slides and notes for my debconf6 talks:
Many people had asked me the notes for the "Advanced ways of wasting time" talk: they're finally online, translated and with the links pointing to English Wikipedia pages. Sorry it took me so long.

28 May 2006

Philipp Kern: XFS on root -- a no-no

You must not try to put your root filesystem on XFS, at least with the current debian-installer used by both Debian and Ubuntu. Even though the installer offers this, the boot code fails mysteriously by not finding an appropriate device to boot from. So it leads to a kernel panic on both distributions just after the installation, without any modification to the boot loader:
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
It might be possible to fix this issue by putting some magic into the kernel parameter list. I recall that I had this problem already with Ubuntu Breezy, and even with the help from the Ubuntu powerpc kernel maintainer I did not get it to run properly. I hoped that it is fixed by now, in the standard distribution, but no, sadly enough it isn't. I used reiserfs in the meantime, even though I had some data losses and thus bad experiences about four years back in time. Well, but what's nice with those old Open Firmware Apple products: You get netboot for free. This guide helped me a lot, my desktop now provides powerpc installation images for both Debian and Ubuntu. But then... I only have one powerpc-based computer in my possession. And I won't buy another Apple again, due to the low manufacturing quality of their mobile products.

Meike Reichle: Lost my mobile phone

I case you wrote me a text message or called me on my mobile phone lately and never got a response, here's why: It's gone.
I lost it some when between arriving at FRA airport on Monday evening and looking for it before going to uni on Wednesday morning. I already checked with the German Rail's lost and found service which - unsurprisingly - was little helpful. Basically they now have all my personal info, a detailed description of my mobile phone (Siemens C55, blue, battery empty, sim card pin-protected, transparent sticky tape on back that holds the battery cover) and told me to call back later since they haven't found anything yet. I have not yet given up completely, but for the moment please don't try to call or text me on my mobile phone. Use my home number or (much better) Email. The phone was nothing special, but I am still pretty unhappy about its loss, since I don't have the money to get a new one (this one was a gift, yet another reason why losing it sucks bigtime!) and it holds a few numbers that I don't have anywhere else. Oh well, just not my week. At all.

Meike Reichle: Still jet lagged

Although I've back from DebConf6 for almost a week now, I somehow still suffer from the jet lag. I am rather surprised by this since I usually don't have too many problems with changing my sleeping times and also the jet lag when going from Germany to Mexico was practically neglectable. However, this one is a real sucker! By now my sleep times are pretty much erratic, I have an almost constant headache and my stomach gives me trouble after each meal. Surprisingly I didn't have any problems with such stuff when I was in Mexico! I was neither sick nor heat struck or dehydrated. In fact I didn't even have so much as a sunburn. But ever since I got back, life has been pretty yargh. Why am I posting this?

Ian Murdock: Picasa: Why not a native Linux port?

Robert Love: “In Google’s calculation, the cost of a native port outweighed the benefit of a native [port] v s-a-v s a WINE-fueled Picasa. Is that really unexpected? Our development platform is no shining star. We have two toolkits, poor binary compatibility, and unclear direction. To be sure, vendors such as Novell are devoting increasing effort toward improving the Linux ISV and platform story. But the community must make it a priority as well, from the kernel up through the highest levels of the graphical desktop.” That’s part of it (and certainly an accurate assessment of the kind of thinking we need as a community to make Linux a better platform). I think there’s another part of it, though, and that’s that operating systems in general are fundamentally uninteresting to Google as platforms in themselves, as well they should be—after all, the web is Google’s platform, and they dominate there, so why should they promote an alternative where they are much weaker? In my view, the (fat) client bits merely exist to ease the transition from the current, predominantly desktop centric world to a new web centric world where Google naturally thrives. After all, such paradigm shifts are always gradual. There’s the offline question too—if all your data is in the cloud, how do you get to it when you’re not online?—though I suspect over time the browser will provide offline capabilities of some sort, so this is largely a temporary problem too. So, using Wine in ports not only minimizes the incremental cost of building out a foothold on the client (which, again, is a necessity for Google, given that Google’s biggest competitor is between them and 90% of their customers), but it raises the fat client platform up a level too. In other words, it builds a fat client platform with a consistent look and feel across desktop environments; and with this, the operating system underneath rapidly becomes irrelevant. The real question is when Google will hook Picasa into a photo sharing service of its own. I already keep my photos in the cloud, and I’d love to organize and edit them in Picasa (Organizr is nice, but nowhere near as nice as a desktop application, and it doesn’t have some basic functionality, like import from camera and red eye repair). Of course, this is just one example of Google having some platform thinking issues of its own, though that’ll have to be a rant for another day.

Next.

Previous.