Search Results: "sto"

23 April 2006

Martin F. Krafft: It's cool in Pyin Oo Lwin

While the heat in Mandalay was stifling, here in Pyin Oo Lwin it's quite bearable, at about 1000 metres elevation. I accepted Adam's offer to accompany him and his friends, and on Friday morning, after I climbed the Mandalay hill and visited some of the caves at its foot, we were off to drive the two hours into the Shan hills. The car ride was exhausting, so when we finally arrived, I blew off my initial plans to go to walk the botanical garden (which Adam calls the most beautiful in the world) and instead stayed in started to read my new book, "From the land of green ghosts" by Pascal Khoo Thwe, a Burmese fugitive's memoirs about his travels from this most remarkable country to Cambridge, where he went to university. We went to eat Chinese that evening and I tried to chat up some locals afterwards, but without much success, so after everything had closed at around 9:30, I headed back to the hotel. The lodge is a beautiful British colonial house with great teak-floor rooms and most helpful staff, set in a very nice setting overlooking the lake up here. At $30 per night, it's actually above my budget, but given that so far I didn't pay anything for transport or food -- Adam and his friends have taken me around -- I am still within the bounds of the expected. And for sure, those $30 are worth it, I slept great, but woke for an hour to witness a giant storm followed by a downpour of really cold rain. Saturday morning, we visited the local market and I made a reservation for my return flight from Yangon to Bangkok on 4 May. Then, following a recommendation by Adam's friend Eddy, I took a motorbike taxi to a nearby Bhuddist cave and some waterfalls. The cave was great and very unlike the ones we had seen in Laos. It extends several hundreds of metres into the mountain with a river running through it, but stairs and planks have been built everywhere, and there was plenty of light from bulbs hanging everywhere to illuminate the Bhudda statues. Actually, being very close to the Shan state, which hosts the only people with a catholic religion, I was able to witness some statues of Jesus, and also some icons of Bhuddist images with clearly Christian tendencies, such as the halo, giving it all a very weird touch, or at least I cannot place it yet. I returned for a longer chat with Adam and then set off to meet James, a former employee of the British government, who runs a computer school and was able to help me out with his satellite dish to at least allow me to send an email to a friend, who will hopefully publish my blog entries for me. Burma is really cut off, many websites are blocked, SSH seems impossible, as does HTTPS, so the sshd I had bound to port 443 is of no use to me. Also, my cellphone has no reception -- only local cellphones that cannot make international calls are allowed -- and telephone calls from the public booths are very unreliable (I tried a couple of times at least to reach my mother to say I am still alive), and a call to Germany comes in at $6 per minute and seldomly work. My time online is short as I don't want to be a burden to James, and I also want some of his time to talk about Linux and computers in Burma in general. I left eight Ubuntu CDs with him and hopefully he can put them to good use. He seemed interested at least. My further itinerary is beginning to solidify: I shall leave for Mandalay on Monday and head to Bagan on Tuesday, by boat, which a friend from college recommended to me when he read about my expedition. From there, I am considering to fly to Inle Lake and then take local transportation down to Yangon, where I want to spend four or five days. That's it for now, thanks for reading along. I will write more about my impressions of Burma when I have more time, at the latest when I get back home.

Martin F. Krafft: Offline in Burma

Our last night in Chiang Mai saw us eat at the market and take our rented motorcycle for a spin around the town, before falling into bed in order to get up early the next day. In the morning, we ran our last errands, including the buying of a lovely 14 litre Deuter backpack as my hang luggage -- Aline took the backpack I originally brought along with her as a shopping bag -- at a 30% discount, as well as breakfast, before we were off to the airport to part ways. Even though at first I really did not want to take Aline along (because I had planned this vacation as my first ever vacation alone in an unknown area), we had a great time, and I am glad I did. This way, she got a first glimpse of Southeast Asia, which may well be my future home, and if it turns out that way, hers too. In the checkin queue for Mandalay Air, I brushed up a conversation with the gentleman in front of me who turned out to be a regular visitor of Burma. He -- Adam -- supplied me with plenty of advice, and as we ended up sitting next to each other on the plane, he told me a lot about his business and the friends he was going to meet, eventually inviting me to come along to a lodge in Pyin Oo Lwin, east of Mandalay, for the weekend. Adam apparently knows the drills and by his side, I passed immigration and customs in a jiffy, without having my bags searched and no questions asked (not that I had anything to hide, but it saved us some time). His friends were waiting at the airport and gave me a ride into town (about one hour), dropping me off at a nice hotel right by the railway station. I am not yet decided whether and how long I will come along, but it's certainly a great offer, especially to get in touch with some of the people who could pull the right strings to help me in case of problems, or in the future facilitate further "clothing expeditions" into the country. I am to meet them again for dinner in about an hour but decided to check out the town a bit on feet, as well as investigate the Internet situation. As it turns out, it's pretty much all locked, so if you end up reading this entry, it means I either found a backdoor, or managed to sign up a freemail account somewhere, and mailed it off to a friend with write access to my blog. In Pyin U Lwin, I am supposed to meet James, a British expat who runs the only computer in the town, so maybe I'll be more lucky there. He'll surely be an interesting person to talk to with respect to the Linux CDs I brought along, and the Internet in Burma in general. It's a shame I did not set up a DNS tunnel before the trip, but the connection seems too slow anyway. Oh well, good thing I bought that USB stick! Mandalay so far strikes me very similar to the outskirts of Bangkok or Hanoi, I have not encountered too much poverty yet, but it's generally dirty and loud. I will probably not spend too many days here, but am always flexible to go along with what comes around. I do find myself stared at a lot more than I am used to from other countries on this side of the globe. Usually it takes them a while longer to respond to my smile, but if they do it is generally followed by an invitation to come sit with them. "Generally"... ha! I've only just come here, we'll see what time brings. Stay tuned.

Paul van Tilburg: Gaia Contemplation

For the course Big History (taking history a little further back than just written history) I have been reading up on Lovelock’s Gaia Theory. Despite the existing criticism on that theory it still made me wonder… Given that life on Earth seems to exists for at least 3 billion years and that it is increasing in complexity (Fred Spier). Also given that to increase this complexity the biosphere has made an uncountable large number of optimisation attempts in this period, most of which we have no knowledge about. It occurred to me that as our human history is nothing on the scale of this process, we as species must be just such an attempt. Now that puts doing the almost biweekly laundry in a completely different perspective.

Joey Hess: ouch!

I've added a sigprogs page listing some of the signature programs I've written over the years. As I was researching that, I discovered pictures of one of my programs, a variant of the RSA in 3 lines of perl, that two people have gotten tatooed onto themselves. tattoo2.jpg tattoo3.jpg
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_= echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp" dc ;s/\W//g;$_=pack('H*',/((..)*)$/)
I remember sending that in, but until today I hadn't realised that my keystrokes had actually translated into needle sticks for two people, Youch! (The history of why a few people did things like getting programs tattoed on their bodies as a form of political protest is pretty interesting, if you're not familiar with it, the basics is that this tiny 3 line program was considered a dangerous "munition" by the US government, and was thus illegal to export. Nowadays you just have to mail a copy to the CIA or someone before exporting it; OTOH I think my DVD decoder T-shirt is still illegal.) Anyway, I wonder how to represent this acheivement in my resume? "Munitions tattoo artist"?

22 April 2006

Joey Hess: ugh&#44; mailman

Just wasted 3 hours fighting with my mailman installation, which had, unnoticed to me, stopped processing any mail two weeks ago. It seemed to be either getting completly stuck on some messages in the outgoing mail queue -- strace and ltrace showed it was in some kind of tight loop processing their contents. So I solved that by removing some 900 of the 1000 queued messages (the ones that were messages about bounces, held messages, and spam), then it processed the rest of the actual important messages quite quickly. I think I've had enough of mailman. The web user interface is great for letting nontechnical users admin their own mailing lists, but every time the package upgrades I seem to have to manually delete cruft out of the queue; the spamassassin integration sucks, it doesn't allow configuring it on a per-list basis; its mail archiving is sucky, especially its attachment handling; it seems to shunt random messages constantly for no apparent reason; mailing list admin is unending drudgery of processing mails that it thinks are spam; this is at least the third time in the past year that it's just died for no apparent reason; and in general it seems the be designed with the idea that there will be a human constantly in the loop babysitting things. Oh and it still defaults to sending stupid monthly password reminders in cleartext. Guess I should try Enemies of Carlotta or something, ezmlm used to work fine w/o handholding back when I used qmail.

Tollef Fog Heen: Am I spoiled?

(By way of magnio) Go through the list. Tick everything you have or have done. If you can tick 40 or more, you're spoiled. Do you: Are you: Have you: Did you: 24, so a bit more spoiled than Magni. Not that much, though.

Joachim Breitner: Silencing my Slug

Some time ago, I bought a LinkSys NSLU2, that’s a very cute little box with power, usb and network plugs, and nothing more. Inside sits an ARM processor and 16MB RAM. The great thing is: You can install linux on it, even a complete Debian sarge installation.The box is not very performant, even after I de-underclocked it by scraping away a resistor from 133MHz to 266Mhz, but it is quite cheap and very handy. I use it for nightly backups. Unfortunately, the attached external Maxtor OneTouch harddrive is quite loud, even when it is idle. Here are the steps I took to make the setup zero-noise as long as the slug is doing nothing:Some further plans for my slug involve a USB attached LCD display and a temperature sensor, so I can be informed about various stuff, incuding the outside temperature, even with my regular computer off. Suggestions of what hardware I could use is highly appreciated.

21 April 2006

Alexis Sukrieh: First Backup Manager Bug Squashing Party

As there are some bugs waiting for being fixed, a bug squashing party will take place this weekend. It will start on Friday (2006/04/21, 20:00 UTC) and will stop on monday (2006/04/24, 20:00 UTC). During this timescale, every patch submited before the end of the party will be applied on tuesday, if the patch is granted. Moreover, the team will try to fix as many bugs as possible, enhancement items will be applied, if accepted too. The goal of that event is to speed-up the release of backup-manager 0.7.3 and to prepare the next stable release: 0.8.
Any kind of help is welcome during this event, testers, documentation writers and developers, you are welcome. If you want to give a hand, come on irc.oftc.net, chanel #backup-manager during the weekend.
See you online, happy hacking.

Wouter Verhelst: Hmm.

You know all these "FW: Re: FW: Doorst.:" emails your mother seems to be sending you all the time? At least my mother does. Some of such emails consist merely of a "Warning, there's a new virus out there!", but luckily mom's stopped sending me such mails, after I explained to her how pointless and (especially) incorrect such emails are. The next stadium was one of those "Please help, cancer kid! Forward this email, please!" which she's now stopped doing, too. She's even passed the stadium in which she sends jokes, now, and gone towards trivia; today, I got this in my mailbox:
On thursday, may 4th, at two minutes past 1 AM in the morning, the time and date will be the following:
01:02:03 04-05-06
This will never happen again!!!
She's got a point. Of course, this only applies if you live in a place where the time is usually stated in DMY order. But still, that's kinda funny. But I'm not going to forward it to anyone. Update: 5. ('course I knew people would react. I just wanted to know how many people would react, given that I'd only be AFK for four hours)

Antti-Juhani Kaijanaho: Ibid s mush

Serves 2
ca. 1 L bouillon
500 g frozen precooked vegetables (a mixture of e.g. peas, beans, carrot, cauliflower)
ca. 2 cl oil
1 dl rice
1 dl oat bran
100 g meat in small pieces (usually pork or beef)
2 dl red wine
seasonings to taste
Start these “background processes” at the beginning: Heat the bouillon close to boiling point and try to keep it there while preparing this dish (try not to let it boil). Thaw and cook the vegetables by steaming. Mix rice, bran and meat in an oiled frying pan. Toast these in the pan until the meat is brown at least in the surface. Add the red wine and stir it well. When the liquid has properly soaked in the bran and/or boiled off, add just enough bouillon to make the mixture resembles thin gruel. Let the mixture boil, adding bouillon as required to keep the thin-gruel likeness. Continue this long enough that the rice has cooked properly (the time required depends on the rice variety used). Then stop adding bouillon and boil the mixture down into a thin porridge. Add the vegetables and season to taste. Serve immediately. Rough nutrient breakdown Computed from recipe (assuming pork as the meat) and individual ingredient nutrient content.
recipe E%
Energy 4600 kJ
(1100 kcal)
Carbohydrates 127 g 55 %
Protein 48 g 21 %
Fat 24 g 24 %
Dietary fiber 24 g
Notes Meat can be replaced with TSP. The wine can be replaced with (possibly thinned) grape juice.

Jose Carlos Garcia Sogo: GCompareFunc...

or why C++ sucks. I am wondering if someone could be able to explain me why this piece of code fails when I try to compile it:
  1. GMJabberClient *GMJabberManager::GetClient (GmAccount *ac)
  2. {
  3.   GMJabberClient *client = NULL;
  4.  
  5.   client = g_slist_find_custom (jabber_client_list, ac,
  6.                                 (GCompareFunc) compare_clients_by_account);
  7.   return client;
  8.  
  9. }
  10.  
  11. gint GMJabberManager::compare_clients_by_account (gconstpointer a,
  12.                                                   gconstpointer b)
  13. {
  14.   GmAccount *client_ac;
  15.  
  16.   GMJabberClient *client = (GMJabberClient *) a;
  17.   GmAccount *ac = (GmAccount *) b;
  18.  
  19.   client_ac = client->GetGmAccount();
  20.   if ( strcmp(client_ac->aid, ac->aid) )
  21.      return 0;
  22.  
  23.   return 1;
  24. }
It fails at g_slist_find_custom call, why GCC saying:
endpoints/jabber.cpp: In member function GMJabberClient* GMJabberManager::GetClient(GmAccount*):
endpoints/jabber.cpp: 6 error: invalid use of member (did you forget the & ?)
make[1]: *** [jabber.o] Error 1
I have been only able to fix this by declaring compare_clients_by_account () function a static function, while it actually should be private method of GMJabberManager client. Ideas?
Update 04-21-2006 11:31:34.- First of all, thanks to everybody who have replied to me by mail. Fot those who wonder why I don't have comments enabled, the answer is easy... it is another place to look at, to keep clean of spam, and to care. Those who suggested using constructions like this->compare_clients_by_account or &compare;_clients_by_account that won't work, as other people explained to me (and GCC says a bit more clearly if you try to compile that). As this is C++, when using such constructions you get a member function which gets passed a pointer to the class instance. This way, the prototype for what g_slist_find_custom expects and what it is actually being passed is not the same. This is where static member functions enter in action. Those are functions belonging to a class that not get passed the this pointer, avoiding the problem. Please, follow next week our "C++ sucks / what the hell" show!

20 April 2006

Andres Salomon: k5

Five years ago, I’d have never thought I would be reading things like this on Kuro5hin.

John Goerzen: Debian From Scratch 0.99.0 Is Out

At long last, I've finally updated Debian From Scratch (DFS). For those of you not familiar with DFS, it's a single, full rescue CD capable of working with all major filesystems, LVM, software RAID, and even compiling a new kernel. The DFS ISO images also contain a small Debian mirror subset that lets you use cdebootstrap, along with the other utilities on the CD, to perform a manual, "Gentoo-like" installation. It also serves as an excellent rescue CD, with a full compliment of filesystem tools, backup/restore software, and a development environment complete enough to build your own kernels.

DFS also refers to dfsbuild, the tool that generates DFS images. dfsbuild is available as a Debian package. dfsbuild is designed to make it trivial to build your own custom DFS images. You can have your own set of Debian packages on your images, your own kernels, etc. Unlike many other systems, you can go from the example dfs.cfg to a customized DFS build in just a few minutes, even if you've never used dfsbuild before.

Version 0.99.0 is a from-scratch rewrite and port to Haskell. You can read the full list of new features in the announcement, but the biggest is that it now supports standard Debian initramfs kernels in addition to ones that have enough drivers statically linked to be able to read the CD-ROM.

You can also download my DFS images or browse the docs online.

19 April 2006

Jesus Climent: bookmark server/client

Dear lazyweb. I want a client/server solution for my bookmarks. I want a way to use the same ones from any web browser (even if I need to install plugins in all of them) that every time I save a bookmark, it stores it on a server, and every time I start the browser (or make a special request via keyboard combination) it refreshes the bookmark list. XBEL and delicious might be a solution but I need to keep some bookmarks internal at work, so no public service can be used. A small client/server solution (with or without network capabilities, but of course with authentication and encryption if it can work over the net) would be perfect. Thanks.

Jordi Mallach: Siemens-BenQ mobile and Catalan support

While Catalan in the computer industry slowly advances, thanks to volunteer efforts and Free Software, it's difficult to see any sign of improvement in other areas of the technology world. Mobile phones are not an exception. In Catalunya, many people own a Siemens, Alcatel or Sagem mobile phone because they are the only companies that include Catalan as an option for their terminals. When I first got my mobile phone one and a half years ago, I chose an Alcatel, and while the phone was more or less ok, and Catalan was present in the interface, it lacked some Catalan characters like , , or in the input system. The battery wasn't that good, and it was a bit slow at times, but in general I was happy. Three weeks ago, I decided to switch to Telef nica's mobile phone provider, Movistar, because Vodafone has no network coverage in my mother's town, Vall de Almonacid, where I spend many weekends and vacations, and I was getting tired of my mobile turning into a plastic brick when I went there. I hoped the switch would be painless. As people talked positively about Siemens, I went for one of their free Siemens offerings: the Siemens AP75. Ugh, fellow Catalans: DON'T DO IT. So, it seems Siemens has sold or merged their mobile division with BenQ. The girl in the shop said one of the cool new features was better battery lifetime. This terminal was advertised as having Bluetooth, Infrared and other goodies. As soon as I got it (and couldn't give it back), I found out the extensive language list in BenQ mobile phones doesn't include Catalan anymore. Actually, it just offers Spanish and English. Had I known this, I would have quickly got a Nokia, which I believe are the best phones out there. But I'm silly enough not to pick the best just to support some practices, in the same way I won't but nVidia unless they do something about their drivers. Anyway, ignoring the lack of Catalan fact, the mobile was supossed to be quite good, or so I thought, until I tried to transfer my contacts list via Bluetooth. My mobile phone wasn't able to find other devices at all, and the interface doesn't list IrDA at all. What's the story? Yesterday I had the opportunity to go to the Movistar shop, and I was told a tale about the mobile phone having those features built in, but they are deactivated by the telco. This is pretty difficult to believe, and googling around, I haven't seen any proof about the AP75 having any Bluetooth support for anything other than voice transmission (ie, for use with headphones, etc). It plain sucks. So, dear Catalan readers, if you're getting new phones, avoid these BenQ-Siemens idiots, as they don't have a clue about Catalan. Either choose Alcatel, Sagem, or one of the older real Siemens mobiles. Softcatal has a Catalan mobile phones Wiki page with detailed information of the current situation. I'll have to update it to warn about current Siemens practices. In a happy future, Nokia will hopefully support Catalan and things will be a lot easier.

Jordi Mallach: Siemens-BenQ mobile and Catalan support

While Catalan in the computer industry slowly advances, thanks to volunteer efforts and Free Software, it's difficult to see any sign of improvement in other areas of the technology world. Mobile phones are not an exception. In Catalunya, many people own a Siemens, Alcatel or Sagem mobile phone because they are the only companies that include Catalan as an option for their terminals. When I first got my mobile phone one and a half years ago, I chose an Alcatel, and while the phone was more or less ok, and Catalan was present in the interface, it lacked some Catalan characters like , , or in the input system. The battery wasn't that good, and it was a bit slow at times, but in general I was happy. Three weeks ago, I decided to switch to Telef nica's mobile phone provider, Movistar, because Vodafone has no network coverage in my mother's town, Vall de Almonacid, where I spend many weekends and vacations, and I was getting tired of my mobile turning into a plastic brick when I went there. I hoped the switch would be painless. As people talked positively about Siemens, I went for one of their free Siemens offerings: the Siemens AP75. Ugh, fellow Catalans: DON'T DO IT. So, it seems Siemens has sold or merged their mobile division with BenQ. The girl in the shop said one of the cool new features was better battery lifetime. This terminal was advertised as having Bluetooth, Infrared and other goodies. As soon as I got it (and couldn't give it back), I found out the extensive language list in BenQ mobile phones doesn't include Catalan anymore. Actually, it just offers Spanish and English. Had I known this, I would have quickly got a Nokia, which I believe are the best phones out there. But I'm silly enough not to pick the best just to support some practices, in the same way I won't but nVidia unless they do something about their drivers. Anyway, ignoring the lack of Catalan fact, the mobile was supossed to be quite good, or so I thought, until I tried to transfer my contacts list via Bluetooth. My mobile phone wasn't able to find other devices at all, and the interface doesn't list IrDA at all. What's the story? Yesterday I had the opportunity to go to the Movistar shop, and I was told a tale about the mobile phone having those features built in, but they are deactivated by the telco. This is pretty difficult to believe, and googling around, I haven't seen any proof about the AP75 having any Bluetooth support for anything other than voice transmission (ie, for use with headphones, etc). It plain sucks. So, dear Catalan readers, if you're getting new phones, avoid these BenQ-Siemens idiots, as they don't have a clue about Catalan. Either choose Alcatel, Sagem, or one of the older real Siemens mobiles. Softcatal has a Catalan mobile phones Wiki page with detailed information of the current situation. I'll have to update it to warn about current Siemens practices. In a happy future, Nokia will hopefully support Catalan and things will be a lot easier.

Martin F. Krafft: Last days in Chiang Mai

Our time in Chiang Mai is nearing an end, and with the end my lonely adventure to Burma is coming closer. Having had three days left in the city when I last wrote and deciding that a two day trek would just be too stressful, and the chance of it not meeting our expectations too high, we chose to stay put and get the most out of the city. We hired a motorcycle Monday night and rode around the town for a while, finally ending at an Italian restaurant for dinner. Aline is half Italian, and not quite as promiscuous as myself when it comes to Thai food, and had I known how much joy even my willingness to eat Italian in Asia would have caused in her, I may well have gone easier before on my motto not to eat anything but the local food. Dinner was quite good, although the wine (they only had one open white, red wine was not an option for me in the heat) again met confirmed my dislike of Chardonnay: it's oily and sour, or at least I have not yet had a taste of a different one. With the motorcycle waiting for us downstairs, I was unable to stay in bed for long, and we got up early the next morning to head to the Mae Sa waterfalls in a national park just 30 kilometres north of Chiang Mai. After a bit of zig-zag navigation, trying to get out of the city which has just a little too many one-way streets for foreigners, we didn't have any more problems reaching the site, disembarked and hiked around a bit until after about 30 minutes we got to one of the falls with a lot of Thai (no tourists whatsoever) bathing and trolling about in the water. We joined, of course. With the plan to drive further north to visit the "Hmong Lodge" and another waterfall, we walked back and I could not believe it when my pocket did not contain the motorcycle keys anymore. Damn. Once again I felt foolish that I just cannot seem to keep my stuff together, and I punished myself running back to the falls while Aline was already making arrangements for our rescue. Fortunately, I eventually did find the keys just in time to call off the arrangements, and -- soaked in sweat -- we were on the road again. I really should exercise more. About 30 minutes of a beautiful ride down into the park, we reached the "Hmong Lodge", only to find it to be nothing more than an overpriced lodge, offering its guests "local culture" in the form of shows and displays of Hmong handicraft work. We enjoyed the most expensive beer of our trip up there, then turned around and stopped at another waterfall, where a bunch of Thai youth had assembled. With a subtle intention to crash their party, we joined, but the heavy rain that started after a few minutes drove those intentions away. After spending 15 minutes-or-so sheltered in a hut with some of the Thai and making almost no contact, we took off and rode the bike back to Chiang Mai, stopping by one of the cinemas and deciding to spend the evening watching "Ice Age 2". We got back to the hotel just in time to meet our tailor to fit the shirts, trousers, skirt, and jacket we had ordered, sending her back with quite a few changes to be made. Then, with an hour left to kill, we opted for a massage before the movie and headed into the shop we thought the hotel owner had recommended. Turns out that we took the wrong door, and while Aline was getting a good knead, I found myself under the incapable hands (and feet) of an overweight Thai woman, who apparently seemed to think that litres worth of massaging oil would somehow obscure her inability to massage muscles and instead apply moderate pressure to my bones only. I told her a bunch of times but really only made it worse -- in the end I must have upset her to a point where she started bouncing up and down on me with the clear intention to torture and eventually murder me... but fortunately the 60 minutes were over just in time. The movie theatre itself wasn't spectacular (and I didn't think the movie was either), and if it hadn't been for the national anthem and some low-budget film flashing pictures of the King, while everyone stood and paid due respect to him, I'd have said it was just another cinema night I'll quickly forget. At 70 Baht entrance fee (about 1,40 EUR) it didn't hurt either. The evening ended as we met some folks from a bar back in Ayutthaya and chatted for a while, learning that the Thai elections are on today (Wednesday), and as a result, no alcohol is served in the city throughout that day, as well as after 18:00 o'clock the night before. Tough luck for them, especially after we succeeded in getting another can each while they did not. The trick is simply to take the beer out of the fridge and hand over the money without asking questions. So today, our last day in the city, was supposed to be museum day, with the tribal museum, the national museum, and possibly even the insect museum on our list. Negotiating with a tuk tuk driver for the right price, it then occured to us that it's cheaper anyway to hire a motorcycle at 200 Baht/day (4 EUR) -- and way more fun -- so we again hired a bike and drove off to find the museums closed due to the elections. Not that this upset us in any way; we rode back to the hotel, spent the hottest hours of the day reading by the pool, and went for another cruise in the afternoon, returning again just in time to meet the tailor a second time; while my shirts and trousers are fine (and beautiful), Aline's skirt needed yet another modification, so we are expecting her again tomorrow. By the way: yesterday we rode a Yamaha Mio 125cc automatic bike, and today I settled for the Honda Dream 125cc manual, which I had ridden before in Laos and which seemed like a good bike. If I ever have the choice again, I would certainly go with the Yamaha, which was a joy to ride, especially since this has been only my third time on a bike. Now, the last night in Chiang Mai will probably see us dining somewhere, packing, running the last errands, and sleeping in, so we can actually make it to the airport tomorrow in time and rested. I hope I'll be able to continue writing from Burma. Apparently, network access is restricted, so I fear I may have some difficulty logging into my servers. However, I bought a USB stick today, and with that, and maybe A Little Help From My Friends back in Zurich, I can publish entries nevertheless. Stay tuned.

Steve Kemp: You ve got to manage

Large Scale Automation I’ve been revisiting CFEngine recently in anticipation of installing it on around 50 notes. Matthew Palmer has given me a lot to think about, suggesting that maybe CFengine isn’t the right tool for the job and suggesting I look at Puppet. It seems very new, and I’m not overly fond of the Rubyness - but otherwise it looks good. There are some things that CFEngine gets right, and some things it gets wrong. One of the biggest “right” things is the split of the code: That strikes me as being a perfect split. The “script” file which is executed cfagent.conf is really a ruleset which is executed once on each host. The rest of the CFEngine setup is mostly concerned with distributing this file, handling updates, logging, security etc. If I were to code a similar system that is exactly how I’d seperate it. Now we come to the rules themselves. What do we do inside them? Well in my use of it to date I’m mostly doing a small number of things: So those are my primitives. They can actually be reduced further. Assume that the central server runs a HTTP server - then “copying a file” becomes “execute a command (wget/curl)”. None of these jobs is complex. None of them are things that couldn’t be written with a simple scripting language such as perl, lua, etc. It is almost tempting to write a simple rule-file-intepretter/parser. But down that path lies madness. I’m going to install Puppet tonight and play with it. Gotta love Xen :) If that works out nicely I might switch to using it, despite my concerns that it isn’t mature and is Ruby based. If it doesn’t it becomes a choice of writing a simple intepretter + deamon which accepts SSL connections with client certificates, or living with CFEngine.

John Goerzen: ANT WARS Episode II: Revenge of the Raid

Just today, in a bathroom really quite near....

I woke up this morning. I used the toilet. I flushed it. There was the satisfying sound of a toilet, well, flushing.

Then there was the very unsatisfying sound of the toilet not refilling its tank. I tried a faucet -- sure enough no water. Obviously, the ants were at it again. (Read this story from yesterday for how they disrupted our water supply once before.)

So, now I have to rush out there and fix the well before I can get to work. This time, I'm going to be prepared. I found a can of insecticide, a metal file, and head out there. Sure enough, more ants had been killed in the pressure switch. I cut the power to the switch, cleaned off the metal contacts, and sprayed insecticide everywhere I could. I restored power, and there was a satisfying faint hummmm as the water pump whirred to life.

So then all I had to do was cut power again for a moment as I did a final cleaning and reassembly of the switch and headed back inside.

All was fine until this evening. I noticed somewhat low water pressure. I tried to be optimistic -- "the pump's probably kicking on right now." But no. Once again as I flushed a toilet, the toilet tank didn't refill.

By now I am MAD. These ants are going down. I was a few minutes late to work because of them, and now I'm going to have to go out to the well in the dark to fix them. So I again grab my tools, and this time I find the stickiest thing I can -- some tape. I figure I'll wrap it around the post the pressure switch is on, sticky side out, and trap them on their way up.

So I turn on the flashlight and head out to the well house. I open it up. And hmm -- different problem this time.

The power is off entirely. The little twerps have somehow applied 20 pounds of force to the power lever and cut it out!

I'm sure there is no way that I would have forgotten to turn the power back on this morning, in my thirsty trying-not-to-be-late-for-work semi-tired daze...

All I can say is: it amazing how much water you can store up when you have two pressure tanks. Terah even ran the dishwasher today.

Jeff Bailey: Give us the election, Stephen!

In A recent CBC article, Stephen Harper is quoted as saying that his plan for the national child care program is simply a part of the budget. Failure to pass a budget is seen as a failure of confidence, and triggers an election.

This puts the opposition parties in a tight place. Specifically, the Liberals aren't ready to head to the polls yet. Paul Martin hasn't been officially replaced, with a successor not expected to be chosen until October or so. An election in May would go very poorly for them.

Since getting elected, Prime Minister Harper has managed to trigger an ethics inquiry into his government, and is already taking a hard line that risks bringing it down or screwing the opposition party. He told us that he would bring new things to our government, and certainly he has. This type of maneuvering can only be described as "incredible" for what, the second week of parliament?

Don't let the door hit you in the ass on the way out, Stevey-baby.

Next.

Previous.