Search Results: "ana"

4 May 2006

Erich Schubert: On system init

I've been investigating alternative system inits from time to time the last few years. With the advent of bootchart, there was quite a hype around improving boot times with parallelization and such. Recently this topic has manifested itself in the initscripts-ng group on alioth, and some to-be Google Summer of Code projects. I've been using a modified version of minit for a long time, just lately I was to lazy and switched back to regular init. Since I use suspend2, I don't really reboot my system often anyway. However, minit has more features than being parallel and small. It offers service monitoring and respawning. Which brings me to something missing totally from current linux init systems: service state tracking. Right now, when you start a service, e.g. the web server, you pretty much hope it will never die. Agreed, apache does a good job here. Others may or may not. Mysql uses a really hackish shell script to respawn. And then there are of course tools like monit that check your services and respawn them when needed. There are a couple of things wrong with starting services via SysVInit style scripts from the shell. For example, in order to start a service you need root rights. And then this will "leak" file descriptors from your shell to the daemon (thats why some apps need to be started with "nohup"). Which also causes extra errors with SELinux, for example. And this is just one of the differences from services being started by manually running their init script from the script being run by runlevel changes. Therefore, I think we should move to a new init that can offer full state tracking for services, and is actually used for all services (and not just initial start and getty respawning...) Here's a fairly extensive state diagram I came up with:
state model for sysvinit Some features I'd like to have in a new init: Sorry, no comments on my blog, intentionally. Please use the initscripts-ng mailing list for discussion, thats what the list is for!

3 May 2006

Matt Brown: Local Loop Unbundling

Wow! It’s out. The government has finally gained the courage to force Telecom to unbundle the local loop. Possibly the most interesting part of the whole announcement is the circumstances of it. Cabinet signed off on it this morning, by midday it had been leaked to Telecom and the Government was forced to scramble to announce it to everyone to avoid regulatory problems from the Sharemarket. No doubt whoever leaked it is feeling very very worried about their job security right now! The Cabinet briefing paper and minutes that accompanied the original press release are a bad quality scan and have obviously been prepared very quickly with hand written corrections to the page
numbers in the latter half of the document. The document has now been removed from the website, which I guess means that it is being touched up. Email me if you want a copy. [Update 1am: It’s now back, but has had information redacted presumably because it is meant to be commercially sensitive!] If you want the hard facts the following are good sources: So, is this a good a thing? I think it is in the long term, but the best part of today’s announcement is what goes alongside the LLU decision, not the LLU itself. More on that in a minute. The Cabinet paper (60 pages) appears to be a very thorough summary of the detailed analysis that has obviously been performed over the previous months. What I think is a fairly reasonable argument is made for why the action is needed and why the chosen course of action is the best option. I’m very impressed with David Cunliffe’s handling of the portfolio and I hope that he continues to work to the high standard that he’s set himself in the few short months since the election. He’s certainly going to face some opposition now! One thing to keep in mind in reading the paper and analysing the information available is that the Government’s hand was forced and there is probably a lot of implementation detail that they would have planned to release with the offical announcement on the 18th. So theres not much point in nit-picking details at this stage. The meat of the announcement is that the Government has chosen a two-stage approach to increase the regulation in the sector. The two stages are basically short and long term actions designed to be complementary. The long term action is the LLU itself and promotion of investment in alternative infrastructure. Because this will not be completed and ready to use in any shape or form until 2008 at the earliest there are also a series of measures to beef up the current wholesale offerings to tide us over and improve the market in the interim. What we get in the short-term: With prices and access terms for all these services to be set by the Commerce Commision, which is directed to ensure that the pricing is applied to protect investment incentives. There are a few juicy paragraphs that suggest the Government has considered opposition and is ready for it, such as 113 that warns that is Telecom does not invest quickly enough then full structural separation will be considered. However there are also suggestions (para 113) that Telecom is going to be thrown a bone in the form of a recalculated TSO that will provide higher levels of compensation to support the necessary network upgrades in rural areas. Rodney Hide and no doubt other right-wing groups are already bleating about the “stolen” property rights. But as I see it thats not the case. Telecom still owns the local loop. ISPs do not get to use the copper for free! They must pay Telecom a market rent. LLU is about regulating that price and forcing Telecom to offer the service where there is no incentive for Telecom to do otherwise given their vertically integrated monopoly. Secondly, Telecom was given a chance to avoid this scenario with the 2003 decision not to unbundle. At that point Telecom and its shareholders were warned that if they didn’t invest appropriately and provide a competitive wholesale market the situation would be reviewed. These warnings increased in frequency over the past year. Telecom cannot say that they were not warned. They may have massively misjudged the government, but they were warned. The simple fact is that over the last three years Telecom has played games and stalled as much as possible. In many ways I feel they are the authors of their own misfortune. Overall, I’m very happy and excited. Its a great time to be involved in the Internet industry in New Zealand. The government has churned out an excellent paper that shows that they have carefully analysed the issues and decide on a course of action that I think has an excellent chance of improving the state of broadband in New Zealand. LLU is not viewed as a magic bullet, other measures have been put in place to ease its introduction and investment incentives to build the next generation of access infrastructure are mentioned and regarded as important. The big risk to watch is how the Government goes with the implementation. It is a hugely complex peice of policy to implement, with lots of potential for mistake and they are fighting against a well resourced company with lots to loose. No doubt this will not be my last post on the issue.

Martin F. Krafft: Money issues

I suck at spending money, and three hours on the market saw me spend not even 10'000 Kyats ($7.50). So I gave up and took a taxi to a nearby orphanage, where I left all my remaining money minus the small amount I was going to need for dinner tonight and the taxi to the airport tomorrow, which I thought was still in the safety deposit at the hotel. Yeah well... thought. I still have small dollars, but with those, you end up paying too much all the time, so instead I went out on the quest to change some money with the street touts. Normally, if you are walking the streets, you'll have someone approach you with "change money" every few metres, and it gets quite annoying. Of course, over time, you develop methods to deal with them, ranging from avoiding eye contact, walking fast, and simply answering their usual introductory questions ("how are you?" or "where do you come from?") with "no, I don't need any money". But of course, when you are actually searching for someone to change money, nobody comes up. I just spent an hour roaming the streets without a single tout approaching me. And when one finally did, I was surprised at what happened to the rate. He offered 1'300 Kyats for the dollar, when it was 1'450 this morning, and 1'400 while I was on the market. Naturally, I told him to get a grip and fortunately soon found the next one, who explained to me that the dollar is now at 1'200, but he'd be so gracious as to offer me 1'250. Yeah right. The next one, shortly afterwards, also offered 1'250, and so did the forth and fifth, with whom I then made the exchange, having grown tired of the search. What I find pretty amazing is how the word spreads. There are hundreds of those money changers all over the place, and if the rate really dropped by 200 Kyats in a single day (which my hotel confirms), then it's pretty cool how quickly everyone finds out. The Southeastasian countries never cease to amaze me. On a related issue, more infos on the beggars question: I enjoyed a cup of tea with a former professor of English at the Yangon University, and I asked him how Myanmar people deal with beggars of both kinds, the stationary (and less obnoxious ones), and the ones who keep pestering you for minutes on end. He pretty much gave me the same answer I had received the other day: "I have some, and they don't, so I give". Since the Portuguese traveller has not linked up with me so far, I guess that settles the debate for me. Thanks for reading along.

Martin F. Krafft: Eventful times in Yangon

The last 18 hours have been quite eventful, including a mugging, an accident involving first aid, two more confrontations with the military, a visit to the university, and a monk drowning a fly. Fortunately, the heat has gone down quite a bit, the thermometre at the pharmacy now measuring 44 degrees in the shade. When I left the Internet cafe yesterday in the early afternoon, thick clouds covered the sky and it was starting to become quite bearable. Thus, I decided to visit Shwedagon Paya that afternoon, but not before getting a massage (for $3), which was duly necessary after the two hours of almost continuous typing during the hottest hours. I reached the pagoda sometime around 16:00 and almost got into a fight with the ticket office. Admission is $5, and since I am keeping my dollars until all the Kyats are spent, I was asked to pay 8000 Kyats. The current exchange rate (which fluctuates +/- 50 Kyats per day, it's very unstable) is 1450 Kyats to one dollar (it was 850 just one month ago), so I'd have to pay a little more than half a dollar more if I paid in local currency. The lady tried to tell me that she's paying 1550 or 1600 for $1, so I tried to tell her that she better find some other exchange place because she's being ripped off. After ten minutes of a heated discussion, I turned around to leave and she finally settled for 7500 Kyats. You may wonder why I make such a fuzz about 500 Kyats, but the reason is simply that the money goes to the government, which I don't want to support unless I have to. The pagoda itself is quite impressive, rising 100 metres into the sky from atop a sixty metre high. In as such, you can see this pagoda from many places in the city, unless enclosed by tall buildings that usually line the streets. It's said to contain the hairs of Buddha, from when he shaved his head to go and contemplate under the tree in the forest for six years at the age of 29 years, while in Bagan I was told that Buddha threw his hair into the sky, where it hovered and bring luck as long as it remains up there. I suppose he had to shave more than once, so the theories can both hold. I had a guide show me around, but I ended up knowing more about Myanmar history and Buddhism than him, so it was kind of a joke when he asked me for $5 afterwards. I gave him a lecture that he needs to announce his price beforehand and gave him $3, then left him protesting. Again, I am not here to rip people off, but I also won't pay $5 for a half hour tour, when the guide should instead be at home and reading books about the stuff he told. Still, I found the pagoda quite impressive, even though the overcast sky prevented me from seeing the sunset, for which it is famous among tourists. I would come back again at night to watch the supposedly beautiful lighting after dusk, and headed back to the city, with a number of detours thanks mostly to hopping on the wrong busses. As I mentioned before, "yes" apparently means "no" and "yes" and "I don't understand" and "thank you" and almost anything else, if used as a response by a not-so-fluent Burmese. For dinner, I treated myself to a somewhat expensive Sushi dinner, came back to the pagoda to watch the evening life of families and couples strolling clockwise around the stupa (resembling a little the evening family strolls in small Italian cities), found the lighting too bright and still boring, and made my way to the hotel, on foot because I only had a $20 note on me, which is useless when trying to pay for a taxi. ... and then I was mugged; not by some evil Burmese or one of the many muslims living in the city, but by two American rednecks, who apparently ran out of money (and it's very hard to get more without going across the Thai border) and were desperate enough to threaten me with a knife. I really didn't feel like a hero and prepared to hand over the $20 bill, when I saw a military truck drive up the road behind their backs, and remembered the Burmese call for help ("Keh-ba!"), which I shouted just as they were about to pass. The rednecks tried to make a run but had no chance (the military did not even think about using guns, they just called out to a police man at the end of the street, in the direction the rednecks were running). There was not much discussion, the two were loaded onto the truck, and the police officer then explained to me that those guys will be held in prison for two weeks before handed over to their embassy for further prosecution in the US. He asked me if I wanted to press charges against them, in which case they could get sentenced to up to ten years in prison in Myanmar for use of a weapon against civilians (with no right to a lawyer or help from the embassy), but I declined. Curiously, just in the morning, I had read a bit in a doctorate thesis on Myanmar prison life in the bookstore on Merchant Street at the corner of 38th, and it was obvious that the next two weeks for them were going to be hell on earth and enough of a punishment for their misdeed. While handing over my passport, I was assured that the "prisoners" were not going to find out my identity (and I doubt they'll find this blog), and with still somewhat shaky legs and a slight feeling of guilt, I climbed in the back of a police truck to take me to the hotel, wondering a little about how friendly and cool the police were towards foreigners. The next morning, I rose early to confirm my flight reservation and make some arrangements for tomorrow's departure, then headed off to the university by public bus in the hope to talk to the folks at the computer science department about Linux, and to hand over some of the Ubuntu CDs I have left. In Mandalay, it was not possible for me to set foot on the campus, and here in Yangon it would not have been much different, had I not met a zoology professor on the bus, who took me to the campus and refuted everyone's claim that I could not enter. Instead, she called the computer science head professor, who then explained to the officials that she had been waiting for me and would come and pick me up. While waiting, I witnessed a Burmese student just falling to the ground and ran over to help -- nobody else did. With the military folks chasing me (I had not thought about that), I didn't actually have to explain a lot when I knelt down next to the guy, obviously trying to help. The officials just stood close by and watched my every move, as I scrambled to remember my first aid training, diagnosed the guy with a heat stroke, or something in that direction (no sweat, very hot forehead, rapid pulse, white face, mild seizures, uncontrolled movement of the eyes, and delirious lulling), and gave orders to the bystanders to help me carry him to the shade, get water (I had some electrolyte rehydrating solution left), sugar, to have someone fan his head, and someone else call a doctor. Nobody understood anything of what I said until another student with very good English skills translated. Nevertheless, noone wanted to get a doctor because it was too expensive, so I offered to pay the charges and off they went, and I handed over 10'000 Kyats (more than enough) to the translating student with instructions. In the meantime, the computer science professor had arrived, and took me to her office, where I found out that the university is already using Red Hat to teach some of their courses, that she's the vice president of the Myanmar Computer Professionals Association, and that she's also a member of the Myanmar Linux Users' Group. She set up a meeting for me with the founder of this group tomorrow morning, and I proceeded to show off Ubuntu's Live CD to her, and to explain the benefits of Debian over Red Hat, which she understood very well and seemed delighted, because "dependency hell" has been a major problem for them in the past. I left her with half a dozen CDs and information on how she could obtain more, then had lunch with two of the teachers (where I witnessed a monk drowning a fly into his soup while laughing! Imagine that!), who wouldn't let me pay no matter how hard I tried. Upon leaving the campus for the city centre an hour or two later, I was informed that the guy had recovered and was okay, and the officials gave me 3000 Kyats, which I suppose must be the return money from the doctor. Another instance of honesty. I'll spend the afternoon strolling over the market to spend some of my excess Kyats (the rest of which will go to an orphanage), probably get another massage, and finally take in my last Burmese dinner, together with the Burmese white wine I had picked up at the vineyard on the way to Taunggyi, possibly accompanied by the Portuguese traveller I had met before in Bagan and Inle, who's now in Yangon as well... ... which is good, because I found a new argument pro beggars the other day, as I was resting at a street tea shop: I witnessed plenty of Burmese people handing money to a bunch of beggars on the other side of the street. One benefactor then came over to the tea shop, sat down at the table next to me, and answered my question as to why he just gave them money with a simple "because I have some at the moment, and they do not." To me, it could not have been more convincing, and by now, the only argument against supporting beggars is the one raised by the Portuguese: if begging is lucrative, people will give up their self-sufficieny in the countryside and come to live on the streets in the city, in the hope for more money. I'll be looking forward to tonight's discussion. Tomorrow's my day of departure (after meeting the Linux Users' Group founder at the MICT park on the way to the airport), and I'll be in Bangkok for 24 hours before going home. And already the thought of Bangkok makes me sad, because it surely was a great trip in this lovely country, even though I wasn't always happy with how it turned out. I'll be back.

2 May 2006

Andres Salomon: rock n roll professionals

I was listening to a DJ Shadow album, “Preemptive Strike”, and recognized one of the songs. The track “High Noon” was from (or included samples of) a Therapy? album called Lonely, Cryin’, Only. I was curious whether Therapy? had originally written the song, or whether both were covers, so I dug around Therapy?’s site a bit and discovered this gem: “Here’s an example of how strange it can be. About a month ago we got a call from DJ Shadow’s management. He’s releasing a DVD and wanted to know if we would give permission for him to include a section of our cover of ‘High Noon’, a song he wrote! Apparently he uses it in his live set and needed clearance from us. How screwed is that? He’s asking us if we allow him to use a section of a cover of a song he wrote! Bizarre.” The music industry is a strange place.

Martin F. Krafft: The healing power of water

As previously mentioned, I apparently overchallenged my body just a little the last couple of days, eating mostly on the markets, where hygiene isn't really an existing concept. Without a "Delhi belly", I managed to overcome the symptoms, and I attribute most of it to dehydration, which I find had to explain given the amount of water I had been drinking. So this morning I went to buy electrolyte solution and drank a total of six litres before the cinema, and still have not had to go the bathroom. My body, which I can usually rely on very much in these parts (even to the point of digesting moderate amounts of the tap water here), must have been in dire need for salt and water. Now that it's refueled, it's not complaining anymore. ... which once again supports my theory that just water (with electrolytes at times) can cure way more bodily aches than the pharmacologists would like.

Martin F. Krafft: The Yangon cinema experience

I did leave the midday heat today for the cinema, but even though I wanted to buy the ticket already more than an hour in advance, it was completely sold out (and the cinema has 500 seats...). I ended up getting an upstairs seat for 1700 Kyats ($1.20) instead of 1000, and went to watch "The Myth" by and with Jackie Chan. The movie itself didn't strike my fancy. Imagine Jackie Chan and Indiana Jones tossed in a tumbler, and out comes this flick, a tale of ancient warriors, gravity defiance inside hard to reach caves, and love, of course, all interlaced with some ridiculous fighting scenes. Call me cheap or boring, but I certainly do prefer Jackie Chan in the streets of Hongkong, battling the mafia or other gangster clans, running up walls, and fighting Kung Fu as opposed to lances and swords. What made the movie an unforgettable experience nevertheless were the 499 Burmese in the room with me (or at least I could not spot another foreigner). The film was in English without subtitles, and most of the people (whole families, couples, little kids, elderly people) came for the fighting scenes and did not understand anything in between: most talked almost all the way through, the crowd growing louder as talking replaced the fighting, and their talk turning into rooting and laughing when Jackie picked up the sword again for the next butchery. The couple next to me were seriously making out, skin contact included, while the three guys diagonally in front of me were obviously drunk and got even more so during the flick. So in the end, I can't really say that I liked the movie, for I barely saw it. But I'll consider doing the cinema thing again, this time on the cheap seats down below, where the real party was apparently going on. "The legend of Zorro" strikes me as a good choice because it's probably pretty crap, judging purely from preview, actors, and director.

1 May 2006

Gustavo Noronha Silva: 1 May 2006

So, long time no blog entry. Work has been sucking my blood these days, but I managed to do some stuff recently that I feel like sharing. First of all, I've been enjoying TurboGears a bunch. Unfortunately I didn't get around to playing with it as much as I would have liked. Some time ago I became the maintainer of cherrypy, and that became an important piece of TG some time later. Now TG has been using something called Python eggs, and its versioning and dependency information. We fought a bunch on the debian-python mailing list trying to figure out how to handle that stuff in Debian packages and it seems like the best solution is the one which ended up on the new python-cherrypy package, which packaged CherryPy 2.1, and right now contains CherryPy 2.2. Most of the efforts of the Debian Python people has been documented on the Debian Python FAQ. Also, let me say that python-support is really cool; Thanks Joss! Also, I'm now a member of the Debian Python Modules maintainers team! Team maintainership is a really good idea, and I'm happy that it is becoming more and more the rule, not the exception; and I am very happy to be part of many very good teams. In other news, I've been working on the new version of libgksu/gksu. The API for libgksu has been greatly improved and simplified. The new design also allowed me to handle some situations in a much saner way; some things that bothered me for a long time are now gone. Packages are on their way to experimental, but if you want to take a look at what is happening, and comment on the new API (please, do!), you can look here: http://people.debian.org/~kov/gksu/libgksu2/ I'll upload some packages to http://people.debian.org/~kov/gksu/debian/ while the packages which are on NEW are not processed.

David Moreno Garza: DebConf starts this week!

While reading the available documentation on Joey Hess’s ikiwiki, I started to see his pics on previous DebConfs. It’s amazing how quick things can happen. It seemed to me DebConf5 happened last week or something and we are now facing the Mexican DebConf in a couple of days. :D Last months have been passing quickly, events and people around me are being completely appreciated and loved from my part (specially her). And now DebConf is here. Just here. It’s true that I wasn’t able to help as I wished on the organization people, because of my moving to Venezuela in the last couple of months, but DebConf, and everything around it, is starting this week for me. Tomorrow, being International Workers’ Day, I will be shooting pictures from the airport to the Taxque a bus station (and all the way on the subway), in order to help the tutorial on how to get to Oaxtepec. On Tuesday I will be heading to Instituto Nacional de Migraci n for some personal issues. On Wednesday, I’ll be picking rubito-g erito up from the airport. On Thursday, we’ll be heading to Oaxtepec and on Friday and Saturday more friends are arriving :) . Gunnar has also asked me if I can pick a couple of servers up at HP during the week. DebConf will start for me this week, and I’m really excited about it. :)

Martin F. Krafft: No lake for me

I am scheduled to leave Inle today for Yangon; that is to say, I was scheduled to leave to Yangon on a noon-time flight, and despite confirmation yesterday, this morning the flight was cancelled. Fortunately, I managed to get one in the late afternoon, but instead of a direct flight, I have to go via Mandalay, Bagan, and then Yangon instead. Fun fun fun. This also means my stay here at Inle Lake is almost over, and I have not even seen the lake. That was a conscious decision, simply the weather is quite bad, rain in the morning, and a drizzle most of the afternoon, and without a view of the surrounding mountains, there really was little incentive to subject yourself to tourist treatment on a loud boat, while unable to move and getting soaked. Despite the weather, I did pass a rather pleasant day yesterday. I joined the crowd at my hotel on a trip to Taunggyi, from where they continued to Kalak; I didn't have much interest in seeing this place, so I was to stay in Taunggyi and catch a bus back. Before we got there, though, we stopped over at a vineyard run by a German, which serves three "okay" wines made from French Shiraz and Italian Musquat grapes, which they grow here in Myanmar. After a wine tasting at 8:00 o'clock in the morning, we continued to Taunggyi, where is was raining unpleasantly, so I had only a short stroll across the huge market, then set off to find the cheroot factory (cheroots are a local type of cigarettes; see below), as well as the Shan museum and library. Unfortunately, all three were closed for the day, it being Saturday and market day and all. If it hadn't been for a short encounter with the military, I would have to admit that my trip to Taunggyi was pointless. I have yet to find out what actually went on in Taunggyi, but it seems that some important government people got together, while the police and military secured the area around it. My bus was about to leave, so I insisted to go the direct route and found myself accompanied by five armed soldiers, walking in a pentagonal shape around me. As we passed the Pagoda with the convention, I dared to take a peek but was immediately commanded to keep my head straight and not look. I caught the bus in time and enjoyed a one and a half hour ride back to Nyaungshwe, the town in which I am staying, perched on a rather small pickup truck with 31 other passengers. I guess you have to see it to believe it, but this sort of mass transport is common in most Asian parts, especially India. I got back in time to run some errands (like post a little present to Eddy back in Pyin Oo Lwin) and met a canoe driver around 15:30 for a three hour ride among the canals running virtually everywhere in the town and through the rice fields. The first stop was another cheroot factory, where I was introduced to the art of rolling these local cigarettes. They use some rather coarse tobacco, roll it up in a bamboo leave, which is glued in place with glutinous rice. As filter, thin bamboo wood is rolled up tight and rolled together with the tobacco. It takes the women working at the factory around 15 seconds to make one cheroot; it took me almost 15 minutes to make one. :) We continued, and my driver was all too keen about showing off the peculiar rowing style developed by the Intha people (those who inhabit the lake and surroundings) to decrease the strain on their arms: they stand on one leg, hold the padel in the arm on the other side, wrap the other leg around it, and then kick the padel in and through the water, while keeping a good balance. I wanted to try, but the driver would not let me, and it's probably better that way or else I would have most likely gotten really wet. Returning from three hours of canoeing, my arms and back ached, and I was dreaming of a shower and a massage when I ran into the Portuguese globetrotter from Bagan by chance and we decided to have dinner instead. Ending a lengthy discussion with whiskey at around midnight, I struggled to find my way back home, the streets being completely unlit (we've been without power for a while), my torch back in the hotel, and the whiskey skewing my sense of direction. I did eventually find the hotel, must have passed it several times looking for the sign, and was all too ashamed to wake the owner to let me in. My plan for this morning was simply to sleep in, eat breakfast, then go to the airport, but the couple next door to my room forgot to take the snooze function off their alarm clock before going to breakfast at 6:00, and with bamboo walls, the sound carried perfectly well. But I considered it no biggie, got up, ate, headed for a massage, and then was lucky to have some time to make arrangements for my next flight, after discovering the one I was supposed to take had been cancelled. So now, with four hours to eat, I am happy to sample another serving of Shan delicacies, undecided between rice noodles with a semi-sweet seasoning of green tea leaves and peanuts, or a pumpkin curry with ginger. Tonight, I'll be in Yangon, and I am looking forward to this city, having heard many great stories, and with some good references in my pocket. As always, stay tuned.

30 April 2006

David Welton: Rails Annoyances

First, let me say that I'm actually enjoying Ruby on Rails quite a bit. I agree with the large number of people who, like me, are finding that Rails hits a sweet spot between too much structure, configuration and overhead, and anarchy, on the other side. It's good code, fun to use, and for the most part I enjoy Ruby as a language. However, being a bit of a perfectionist, and since Rails is "opinionated software", I thought I'd fire mine right back at it regarding a few of the things I don't like. Mostly minor nitpicks, but I'll likely add to them as time goes by and I use Rails more (I'd like to use it more at work, for instance) - after all, I'm opinionated myself.

Joachim Breitner: Analog Clock for Gnome, Take II

A while ago, I made an analog clock for the gnomepanel, using ruby. It worked fined, but I missed the calender functionality of the standard Gnome panel clock. So today, I crudely patched the clock applet from gnome-panel to display a relatively nice clock, using cairo:

I have a patch against gnome-panel 2.12.3, and if you want, I can give you my locally built debian package.

29 April 2006

Simon Richter: Moving

Whee, the hard part of moving is over, thanks to my girlfriend Franzi, Sebastian and Martin who not only helped but also managed things where I failed. I'm currently sitting in the old flat, cleaning up the last bits of my presence there (like footprints that match the color of the wall paint). The next steps will be setting myself up in the new place, and finding back to normal life. This will also involve getting a DSL line, so don't expect too much Debian activity in the next time.

Steve Kemp: Every. Day. Psycho.

The transition of my main desktop machine to udev seems to be complete. Thanks to the people that offered useful suggestions to my previous post. The only additional problem I had was the loop module not being auto-loaded, causing Xen to fail. (I use loopback files for the Xen instances. Less efficient, but easier to manage, etc). Friday was my last day of working at Noha-Systems / Intasys / Acecomm Solutions, so I’ve got the weekend off and then I start working at Bytemark on Tuesday. (Monday is a bank holiday in England & Scotland) Happily this means I can stay out late on Sunday, dancing naked on a hill at The Beltane Fire Festival on Sunday Evening. Result!

Antti-Juhani Kaijanaho: HELP!!!! I VE BEEN JALDHARED!!!

I will wear this proudly like a badge of honor. Thank you, Master Vyas!

Clint Adams: And Minna hears Joni singing

She bragged, I speak French, so I could communicate with the Canadians. Canadians don't speak French, I corrected her. Ah, yes, that's true, she conceded. They don't speak English either. I lost my composure.

28 April 2006

Martin F. Krafft: Rain

I passed the remainder of yesterday essentially doing nothing, not even reading (I am trying to make Murakami's book, my last one, last as long as possible -- it's really good and has me thoroughly in its grip). So instead, I roamed the streets and observed people, tried talking to one or the other, but unfortunately did not get very far. What makes it all a little different is that the Burmese always say "ja" and shake their head, whether they've understood or not; effectively, this means paying attention that e.g. the motorcycle driver is going the right direction and aborting the trip as soon as you sense a misunderstanding (despite the convincing and assertive "ja"). Following breakfast (Bamar-style Mohinga, a noodle soup with seafood and unidentifiable cracker-thingies I'll just call corn flakes for now, vegetables or whatever else the cook decided to put in -- I've developed a strong liking to this dish in the morning), I took a taxi to the airport to board my flight to Heho, from where I would continue to Inle Lake. I still travel on a budget, so you may be surprised that I am hopping around the country with planes, but the $22 I had to pay for this trip (incl. taxes) and the 10 hours I saved compared to the $8 bus ride were well worth it to me. After all, I only had a few days in this country and tried to maximise the exposure I experienced. One thing is for sure: I will come back. Pwin Oo Lwin was nice, but I did not manage to go further east; A day in Mandalay is surely not enough. Bagan didn't do much for me, so I don't think I'll return there, but Inle, as well as the countless regions I skipped, including the pictoresque and untouched beaches, really make me want to plan my next trip now already. Arriving in Inle, it was raining, and the rains intensified towards noon. I am here to stay for two days, and the weather is unlikely to change, so after confirming that I could not take the next flight a day earlier, I bit the bullet, put on my rain jacket and sandals, rented a bike, and went off to visit the cultural museum, also known as the "Museum of Shan Chiefs" -- which was kind of disappointing. Set in a beautiful house (the sight of which was worth most of the $2 entrance fee), the items on display were scarce and almost exclusively labeled in Burmese. None of the folks working there seemed to be inclined to show me around, so after 20 minutes I left into the pouring rain, stopped by at a kitchen for a Burmese-style beef curry with jack fruit soup, and eventually returned to my hotel. I am staying at the Aquarius Inn, a cute place with simple and clean rooms, a cozy porch, and a little garden out front. The staff, a girl maybe a little younger than me, is very attentive and speaks good English, studies geography at university, and took a particular liking to making me feel good for the two hours I decided to flip pages in Murakami's book on the front, bringing me tea, fruits, and little snacks on a continuous basis, always with a huge smile on her face, and eager to help organising whatever I would want to do during my stay in Inle. But with the rain coming down non-stop, I am somewhat puzzled as to what I should do. The compulsory thing here is at least a day on a boat out on the lake, visiting floating villages, as well as the peculiar rowing style the people from this area developed -- using one arm and one foot instead of two arms --, hoping from floating market to floating market, and enjoying the scenery of the Shan hills surrounding the river. The Lonely Planet describes the places as a mirage. But with clouds and fod and water from above, it loses all its charm, and that's not because I fear getting wet. Not that I am bored or afraid of being bored, I'll just have to make sure to find some alternative programme, which could include spending the morning watching the market, reading, and talking to some fellow travellers who are in a similar situation as myself, but readily indulge in elaborate discussions on scientific topics, it seems. This much as an update. Internet access here is even more difficult than in Bagan, so all the other thoughts I meant to push out to this blog have to wait until Yangon, Bangkok, or Zurich. Thanks for reading along. PS: I don't think I'll travel with Lonely Planet again, it's just too inaccurate, and I disagree with their approach to research (e.g. not reconfirming facts researched a year before printing before the book goes to print), and happened upon too many errors this time around. Plus, I have sent them elaborate updates on four previous trips and have never heard a single word from them, no acknowledgement, thanks, nothing. Maybe I am spoiled by Open Source development. I have been recommended the Rough Guides, so I'll give those a shot for the trip to Debconf in Mexico.

Barry Hawkins: Nokia USA, TigerDirect, and caveat emptor

So I have been loving my Nokia N90 phone as far as functionality goes, but there are a few design issues that bug me. One is the rather primitive battery cover, which I managed to re-fasten a number of times until it finally came off without me realizing it. Beside that, a piece of the metal inlay by the camera button keeps popping loose on one end. I figure US$650 is way too much for a phone with pieces popping off, so I contact Nokia to send it in under warrantly. And that’s where we pick up in the story… I bought the phone from TigerDirect; they had the best price on an unlocked Nokia N90 that I could find while still being a store I knew of and felt I could trust. When the phone arrived, to my shock it had a UK charger. Weird! But, it was 2 days before I was going out of town for 10 days, and I had the phone rushed so I’d have it before leaving. I popped over to Radio Shack, bought an adapter, and got on with life. So I am on the phone with Nokia USA support, going through the steps for a warranty repair scenario. After they run my serial number, I am placed on hold for several minutes. The representative comes back to chide me for having bought a non-US phone, and says that if I ship it they will return it to me unrepaired. He goes on to explain that less-honest retailers will purchase overseas unlocked GSM phones and then sell them here. Purchasers of these phones basically forego any support or warranty for these phones except in the phone’s country of origin. Who knew phones could have nationalities and be refused care when not in their home country? Perhaps Nokia should set up embassies for these poor, displaced phones. Well, as you can imagine I am totally ticked by now. I call up TigerDirect and start in on them. Right now there’s an agreement of working out an exchange, though I am having to reiterate in every paragraph of the conversation that I do not want another UK phone. Heck, I didn’t want a UK phone the first time. My “case” is awaiting manager approval; I have to call back my phone’s social worker tomorrow.

27 April 2006

Martin F. Krafft: Almost crying in Bagan

I guess you could say I am now on the verge of tears, or at least have been for a while (and it's wearing off) -- since I came back from a little expedition on a horse cart around Bagan, visiting some of the poorest villages in the area to drop off a good share of the presents I still have with me (like marbles, balloons (latex ones, so biodegradable), soap bubbles, hair pins, fake jewellery, balls, and pens and paper), as well as a bunch of tubes of toothpaste, bars of soap, and bottles of shampoo, which I had picked up on the way just before. My sadness comes from two aspects of this experience. The first, which is minor because I had expected it, was simply to (once again) witness the conditions under which the poorest of the poor live: in bamboo houses together with their cattle and pigs (everyone here seems well aware of bird flu and have taken the appropriate precautions; the government apparently did a good job in educating its people), with trash and feces all over the place, kids with almost no clothing and the elderly obviously sick from a distance. But I've actually seen worse in Laos and expected it, so that wasn't the main source of my tristesse. What almost made my eyes water was rather the fact that in the first village of the two I managed today, my arrival and obvious wish to give out gifts resulted in fights among the kids, and in dishonest behaviour by some, while the mob was almost ready to run me over as everyone (including grownups) was stretching out the hand and grabbing at whatever I pulled out of my bag. Call me naive, but that part I did not expect. It's understandable, as for these people, anything makes a difference, sometime and existential one, but they are Bhuddist after all, and among the teachings of the Bhudda you can find such lines as "do not be dishonest", and its philosophy (which carries throughout many non-Bhuddist Asian countries) includes the rule to never lose one's face, which covers shouting or fighting. On my first trip to Southeast Asia -- Vietnam -- I reached some remote villages in the Tonkinese Alps in the country's north -- villages which where equally poor, but which were also quite detached from civilisation as found around larger cities. While money still served as the main means of exchange, it appears to have a much lesser meaning to the people, who are mostly self-sufficient to a point of independence from the government as far as you can get (I guess). In these villages, I also passed out presents, but never had an experience such as the one today (nor did we experience something of this sort in some of the villages in Laos, equally removed from the main lines of infrastructure). Rather than fighting for the gifts, the kids would share them. Rather than tears, the gifts brought smiles. It thus seems that civilisation as we know it causes the competition even among kids, and that's the part that fills me with sadness at the same time as it disillusions me quite a bit, because that kind of civilisation will inevitably spread. Going off on a tangent (without the intention to return), I have been thinking a lot about my "mission" in Myanmar, which was to bring clothing and medication, as well as gifts to the poor. While one could interpret this mission -- carrying more than 15 kg of "stuff" through the stifling heat -- as an altruistic act, I also cannot deny the selfish component, because I take great joy in helping people. If you recall, dropping off the clothing I had brought in a village a couple of miles outside of Pyin Oo Lwin didn't fill me with the satisfaction I had hoped to gain, mainly because I was obviously misinformed about Myanmar (btw: I am calling it Myanmar again, which is actually what locals use, unless they speak with tourists). Fortunately, however, I quite easily managed to accept that the mission was still a success for the people undoubtedly were helped quite a lot. If there is one thing I have learnt for sure this time around, then it's that I will return, sooner rather than later, and hopefully with a lot more goods than this time around. This trip has been self-funded, which is why I am also (trying to) spend most time on vacation. I could well imagine that the next time might see me just running the goods there and fly back after only a couple of days. Of course, there are no details, but keep this in the back of your heads (and pass it on), just in case you'd be willing to donate funds to finance the trip. This brings me to another, somewhat related topic, which I have been pondering ever since I arrived in Myanmar, and especially so after I met and talked to a Portuguese globetrotter, last night: the topics of beggars and how to support these countries in effective ways. Let me address those in turn, the second one first as it's more closely related to my braindump you just read (thanks for that), and because I am nowhere near a resolution and can thus sum it up in three sentences: even though individual aid trips, like the one I am on, are helping, I would guess their effectiveness to be quite low, and raising this effectiveness certainly requires a lot of effort and infrastructure. Thus, it may be more beneficial if I were to donate my will to help to an existing organisation already established and connected in the Southeast Asian countries. I am not talking Unicef and other, similar large organisations (some of which I do support already, and if only financially), but rather much smaller endeavours that concentrate on this area only -- surely the need for help exists in all developing countries, but I am most interested in helping Southeast Asia, for the people here have taught me so many valuable things that have changed my life. On the first topic -- beggars -- let me say this much: if you've been to developing countries, you know what I am talking about. If you have not, just imagine all sorts of people (but mostly poor-looking) coming up to you with their hand stretched out, saying "money, money" repeatedly and not respecting a "no" in any way. Any guide book advises you not to give any money, because it will increase the "nuisance" these beggars are to future tourists. But at one point during my time here, I was as far as giving a small amount to everyone who came up (unless there were more around, at which point it would just get out of control too fast) by reason that it doesn't hurt me a bit, and that despite the syndicates and other arguments against it, if you are actually helping one out of ten beggars, that's one more than zero. Since then, however, I've found some more compelling arguments, and the one that's been the most persuasive so far is that a beggar's success attracts more beggars, and while the guide books call that a "nuisance", the real problem is that these people come from villages to cities, from places where they are self-sufficient (at least in Myanmar with its vast resources) to places where they'll end up sleeping on the streets. Enough of that for now, you can be sure there will be more another time; on to something completely different: This is the first time I am travelling Southeast Asia while blogging, and I have very mixed feelings about it. First of all, Myanmar isn't the place for easy Internet access, so it's been quite painful to keep publishing (which was only possible thanks to the help of Hanspeter back at home; thanks), nor is it the place where you'd be inclined to spend a couple of pensive hours in front of the screen while serialising your thoughts into writing -- the power keeps coming and going every couple of minutes, and frequently the battery-backed power supplies most people have cannot bridge the downtime. But that's not the reason why I am not really too satisfied with my blog entries so far. I have found it difficult to write even in Thailand, where Internet access was excellent, and I guess it's mainly due to two reasons: first, there is too much going on outside and the fear of losing a minute of "street action" to these godaweful computers just keeps me from taking the time to think before writing. The second reason is related: impressions need time to settle, and I guess in some ways I do prefer very much to just "be", rather than experiencing with the objective to blog about it in the back of your head at all times (I am a geek after all, don't forget that). I guess I'll try it another time since having Aline along for the first part, and then being subjected to Myanmar's suboptimal information infrastructure, may be factors of larger value than I see them right now. By the way: this blog does not contain all of my writings while I am here, for obvious reasons, so there is more to come if you are interested, but not via this channel. I'll let you know. Now, on the boring side: I returned to the temples in the late afternoon yesterday and saw another three or four, before sprawling out on top of another in aspiration of the sunset to be Obscured By Clouds (which is when I talked to the aforementioned globetrotter for an hour or so). I did find that after all, Bagan didn't have much in store for me, having seen some of the temples at Angkor. The scenery is breathtaking, and some temples are really astonishing views, but as soon as you get on the inside, they are mostly walls and Bhuddas, one similar to the others, and thus quite unlike to what I'd seen in Angkor last year. Since I am also not the type of guy to go off meditating for a day in a remote location, or take my book far away to read in peace, I think that this one day between the temples was enough for me. Maybe the temperature did play a role too, but there was no question for me: I was to do something else the next day (which is today), rather than go out again on that horse cart. I thus joined up with some Australian travellers on their overland way to their new home, London, and hired a taxi to Mount Popa, home of the 37 Nats (spirits) which are closely knit into the Burmese culture. After a 25 minute climb up steep stairs, I found myself again disappointed by a somewhat dirty and absolutely non-pretty stupa on the top of the hill. The view (and temperature) was great though, so no hard feelings, but also no time lost to head back to the hotel, to get on with the village hopping I had planned for the afternoon. Tomorrow morning I am leaving for Hohe and Inle Lake, where it'll be much cooler (or so they say). Stay tuned. PS: And of course, Murakami's novel is not called "Kafka at the Beach", as I wrote in yesterday's entry, but "Kafka on the Shore". I guess it must have been yesterday's intense heat causing that Freudian slip. Anyway, the book is truly captivating and I am afraid I'll zoom through those 600 pages faster than I'd like, given that it's the last of the books I brought. Hopefully I'll find something to pick up on the way that's not Agatha Christie, Dan Brown, Jane Austen, or the other wonderful writers of entertainment fiction, which I'd rather not read even if you paid me for it.

Antti-Juhani Kaijanaho: Unnamed pie recipe

Note: Somebody help me name this thing! :) Serves 8.
Base liquid
4 dl water
2 dl (red) grape juice
0.5 dl white vinegar (10 % acid)
50 g baker’s yeast
100 g sugar
Base solids
2 dl oatmeal
1 dl oat bran
1 dl rye bran
2 dl textured soy protein
Seasoning
1 g cardamom
to taste:
garlic
oregano
mint
Flour
ca. 6 dl wheat flour (bread flour)
Finishing touches
1 dl oil
100 g grated cheese
  1. Mix the base liquid ingredients in the tin, making sure that the finished liquid is lukewarm (~37 °C), and that the yeast is thoroughly dissolved. The tin must be large enough that this mixture takes less than a third of the volume available.
  2. Add the base solids and mix thoroughly.
  3. Add the seasonings.
  4. Add the flour in small batches, kneading the would-be dough well after each batch. There is enough flour in the mixture when it starts behaving like dough instead of gruel. The dough can well be fairly loose.
  5. Mix in the oil.
  6. Put the tin containing the dough in a warm place with no draught, cover it with a cloth, and let the dough leaven for about 30 minutes, or until the dough has doubled in size.
  7. Bake in an oven preheated to 200 °C for an hour.
  8. When the pie is almost ready, cover it with the cheese and put it back to the oven, letting the cheese melt.
Serve warm (reheating if necessary) with fresh vegetables. Rough nutrient breakdown Computed from recipe and individual ingredient nutrient content.
recipe
Energy 16200 kJ
(3870 kcal)
Carbohydrates 494 g 52 E%
– sugar 100 g 10 E%
Protein 143 g 15 E%
Fat 139 g 33 E%
Dietary fiber 38 g 2.32 g/MJ
This pie is high in both fat and sugar, but both are within the limits of recommended intake for healthy adults. Just make sure to have the other parts of the meal to be similarly or better balanced in terms of sugar and fat :)

Next.

Previous.