Search Results: "mak"

15 April 2006

Martin F. Krafft: Booking the remainder of my trip

This third day of the Songkhran festival in Chiang Mai, we again failed to stay dry, but escaped the fury a bit with a two hour river cruise, including a visit to an herb garden, and an expedition to the zoo. The zoo was unlike anything I would have expected, but showed how lazy the Asian people really are: most animal cages were accessible by car, and it was somewhat foolish of us to try to reach the aquarium by foot, but we were lucky to have a friendly Tai give us a lift with his pickup. We also witnessed the feeding of a panda bear, which is apparently a rather rare animal, or at least that's the way it was hyped to be. My favourite was the black panther in a cage with a leopard, in between the tiger and one of the very rare white Bengalese tigers. This tiger's skin is white and thus makes it rather difficult for it to attack in the wild. I described it as a evolutionary permutation with low fitness. Aline claims that these tigers are artificially bread these days, which makes it all the more peculiar. We returned to the city for another round of splashing bveefore stopping over at Julie's Guesthouse, the place where I was to meet a lady running clothing and other support items to refugee camps. It turns out that this is a programme by D.A.R.E., in which her guesthouse participates, running the goods to the Burmese refugees living in Thailand. The clothing I had brought along are destined for people in Burma though (there is surely an equal need), so I guess my options are down to a single one: take them with me, skip the monestary, and travel the country myself. So today I went ahead to buy my next two air tickets: I am flying out of Chiang Mai to Mandalay on the 20th, and I return to Bangkok from Yangon on the 4th of May. That will give me more or less 13 days in Burma (I am calling it Burma now, not Myanmar, since that is what the Burmese and the Thai people use) to get from Mandalay to Yangon, and having heard a bunch of times now that travel within Burma isn't all that easy, I figured out a way to do it: I shall spend a few days in Mandalay and meet some people, then hopefully find a student with good English skills to embark with me on the journey, meaning I will pay travel and hotel expenses for him/her, in addition to a flat, daily "wage". Until then, Aline and I have 4 full days left in Chiang Mai, so the 1-2 day trek has once again risen high in my list of priorities. Tomorrow, we are going to cooking school, and there is also rock climbing, a go-cart track, and various other things to keep us occupied. Thanks for reading along.

Erich Schubert: Weird font bug

font bug screenshot This weird font bug (notice the grey dots next to the upper prompt) has been around for some months now. I couldn't reproduce it in xterm, I've been seeing it in gnome-terminal for a long time now. I've only seen it with single bold > and < chars in the DejaVu and Vera fonts so far. Maybe these characters are too wide, and the antialiasing wraps back into the character cell? Focusing sometimes makes the bug disappear, sometimes not. Even (as in the screenshot) sometimes only for some of the prompts on the screen.

Steve Kemp: Deep down I know there is no other way

Looking over my server logs I see from the referers (sic) that somebody wrote a brief guide to using my xen-tools package under Ubuntu. It is a simple guide, but still useful since it doesnt actually need to be detailed. I wouldn’t have noticed had I not checked my server logs - so I thought it was worth suggesting that if you write documentation for any software it really is worth the time to point people to it. I know when I started writing pieces for the Debian Administration website I often pointed software authors at any article I’d written which described their tool/software. Partly for a good chance of a knowlegable reader who would correct any glaring mistakes I might make, but mostly because I think it is the right thing to do.

14 April 2006

Uwe Hermann: Debian Lessons

I've stumbled over Lars Wirzenius' article Debian Lessons (Subtitle: Project management lessons from the Debian project) today. The article is from 2000 (updated 2004), but is still very, very relevant nowadays. Here's the table of contents (reading this alone would already help many projects out there, I think): Make sure to read the whole article. This compilation of tips should prove useful for many community-driven Free Software project out there.

Amaya Rodrigo: Mallorca

I was invited to give a talk on Debian Women in Mallorca, last weekend, during the Jornades de Programari Lliure hosted by Bulma, the LUG from Mallorca. The island is a beautiful place, sure, over exploited because of tourism, and full of Germans, which is not intrinsically bad in itself, but if you know where to look, there s still virgin beaches with no electricity (power is provided by the sun) or tap water. There is 350 sunny days a year in Mallorca. Amazing. My pics are up at My gallery. My slides are also here. I even run into a mgp bug that I still need to report.

The organizers treated us wonderfully, we were hosted in a luxurious countryside hotel, where I found a cat that was Vi s wild twin, it was semi-feral, but enjoyed having (mooching) breakfast next to us in the sunny patio. Speakers even got a rental car to get around the island, which was greatly appreciated. If you want to meet some of us, download the hello world video . The organizers went out of their way to make us feel comfortable and at home, had video-streaming during the talks, real-time screenshots of the speaker s slides on a website, and every single detail that makes you realize they are one of a kind. I want to thank them for a wonderful weekend, that really recharged my batteries and karma, and also helped me remind the reasons of my involvement in Free Software, (total world domination, and of course, changing this ugly world into a more fair place), and why Free Software is (or should be declared) Heritage of Humanity.

Marcelo Branco attended with his wonderful namorada, Renata, a great girl. You might have met Marcelo in Debconf4 in Porto Alegre. He is in part responsible for Brazil s embracing free software, the point of reference in every party, and now employed by the Spanish Administration to build an international network of Public Administrations throughout the world to make Governments use, defend and embrace Free Software. His talk was one of those critical moments in life after which you find find yourself thinking faster and harder, on why. The figures he gave were hair-raising. Brazil s annual budget to put an end to hunger in the country is roughly half of the money spent on proprietary software licenses. It is a hell of a lot of money, given that only 8% of the population use software at all, and only half of them, that is 4%, is actually paying for a license. We also rode one of those rental cars around Mallorca, spotting the loveliest of places, wanting to retire there, after we change the world.

Ricardo Galli, upstream for Men ame.net, an improved digg in Spanish, also gave a mind blowing talk on ethical responsibility, intellectual property, and introduced me to the whole Zen-talk concept. His slides were awesome, so was his talk, and he was a pleasure to listen to.

Dato also gave a talk, on Debian, very complete, and very to the point. He could not make us play Mao, though, we were too tired at night.

Antonio Larrosa, one of our national glories. He is a KDE developer since KDE was born, and even got to work for Suse until it became Novell. As far as I remember, he was one of my youth idols in the times when Linux was still not ready for the desktop, he was one of the many that changed this. And we made a deal that turns him into one of my all-time heroes. He will write a KDE client for Mao, according to my specs, but I will have to switch to KDE. Therefore, here is my gpg-signed part of the deal:
I hereby declare that I will switch my desktop to KDE if my friend, Antonio
Larrosa, writes a Mao Client for me. This client will be networked, and have a
Chat window. It will follow the Cambridge Standard Five-Card Mao rules.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFEP/FONFDtUT/MKpARAiiaAKCZUGEzGDA1ioCFK60TrS7APp71/ACgsMJh
rENpTKAsUSmPf/YzDkY7wU4=
=OHpi
-----END PGP SIGNATURE-----

Ian Murdock: What does it mean to be a paying customer in Web 2.0?

Stephen O’Grady is wondering whether Google Calendar finally represents a solution to Redmonk’s calendaring woes. The downside?
Well, as Ian learned recently, you’d apparently have to be a “dipshit” to trust free services with “CRUCIAL” data (apparently your personal emails and such aren’t crucial). While I don’t buy that argument at all, nor do I fully trust services that I’m not paying for. That, more than any other reason, is why I believe Google ultimately will roll out for-pay services: folks like me are more than willing to pay for them, if the price is right.”
Stephen has a great point, and I agree wholeheartedly. I’m not going to fully trust a service provider unless there’s some financial incentive for them to provide reliable service—in other words, I’m a paying customer who can take his business elsewhere if the service isn’t up to par. But am I not a paying customer of Google already? As Steve Gillmor has said time and time again, Google makes money (boy, does it make money) by selling my attention to its advertisers. Just because I’m not forking over $59.95 per year or whatever directly to Google doesn’t mean I’m not paying for the service they’re providing me. To my mind, this is a whole lot like ABC vs. HBO. ABC makes money when I watch Lost, just like HBO makes money when I watch The Sopranos. They just have different ways of doing it—in other words, different business models. In earlier posts, I opined that perhaps the software-as-a-service model isn’t viable if the service providers aren’t willing to make quality of service guarantees, you know, like “we won’t lose all your stuff if you put it here”. Now that I think more of about it, though, it’s more accurate to say that it’s the advertising business model that isn’t viable. I don’t see too many people worried that they’re going to wake up one morning to find all their data is gone from Salesforce.com. So, can Gmail, Google Calendar and related software-as-a-service offerings really only have quality of service guarantees with a subscription business model? For Google’s sake (which, after all, derives 95%+ of its revenue from advertising), I sure hope not.

Ian Murdock: For every action, an equal and opposite reaction

Matt Asay: “[B]y not allowing companies to fire employees, France essentially makes it impossible to hire them.”

Martin F. Krafft: Wet in Chiang Mai

We got up early this morning to catch our flight to Chiang Mai from Sukhothai Airport, the most beautiful airport I have ever seen: it's not a cement brick with squared floors, but rather a group of traditional Thai hut houses, one for ticketing and checking, one for departure, and one for arrival, and all set in a beautiful surrounding -- no wonder this airport won the Thai environmental award every year since it was first given. If you ever consider visiting Sukhothai from Chiang Mai, fly there! I can imagine arriving at that airport to be a very special experience! Following the touchdown few minutes after takeoff, we sought out a couple of guest houses and finally settled at the Awana Guesthouse, which also offered a pool, although on seeing it, it's more like a bath tub for 5 people. Whatever... I used the morning hours, during which the Thai appeared to be still sleeping to run two most important errands: first, getting my ear unclogged, and second, picking up the bag with clothing from the train station. Our guesthouse referred me to the Chiang Mai Ram hospital, a privately run clinic, and once I got there (still dry), I didn't get to read as much as a single page in my new book (The Crying of Lot 49 by Thomas Pynchon) until I was lying flat and had an English-speaking doctor examine me. He told me that the Thai put some sort of stuff (I did not understand the name of the substance) into their pools, which causes European ears to clog up frequently, and after 15 minutes of routine, I was able to hear again on my left ear. I paid just short of 20 EUR for the cure and felt so good about it and the hospital that I talked my way up to the management to make a donation -- in the amount of the estimated difference between those 20 EUR and the amount I would have had to pay in Switzerland. They said that I was the first person to ever make a donation to the clinic, the other foreigners usually only complain about the high prices. Go figure about the kind of tourist who frequents Chiang Mai. Speaking of tourists, unfortunately, this place is crowded with Europeans, and not just any of them, but the worst kind. For me, dress code means a lot, and when I see Europeans without shirts, or women in bikinis in a Bhuddist city, I sometimes wonder why these people don't simply stay home. Of course, tourism is the number one source of income for about 70% of the Thai, so it's just as well that they come, but then they should not be complaining about medical care for 20 EUR, or bargain to the minimum price for handicrafts, or annoy themselves that the tuk tuk driver just "ripped them off" by charging 60 instead of 40 Bhat (again, around 1 EUR). Cured, I made my way for the station and almost made it there dry, if it hadn't been for that damned pickup van closing in from behind and hunting my taxi for several hundred metres, just to get a shot. At the station, I took some detours to find the cargo terminal, but was then surprised at how easy it was to claim the bag, even without the receipt (which, if you will remember, was in the wallet I had lost a couple of days ago). I am really relieved, once for the clothing, and second because the bag itself was lent to me by a friend (forgive me, HP). By the time I left the station it was about noon, and there was water everywhere, but I made it to the hotel almost dry. The Thai duly respect if you have a bag, smoke a cigarette, hold a cellphone, or simply wave your hand. It goes without saying that the two massive splashed I received nevertheless were from tourists, who must have reached some sort of overpowering state of joy and didn't care about what they sprayed. When I saw some tourists splash buckets onto a couple of old people (which is a no-do), I was really ashamed. The New Year festival in Chiang Mai is said to be the biggest and most lively all over Thailand. I met Aline back at the hotel and we headed out into the centre city for yet another day of soaked clothing, and we can probably agree that the "festivities" here are second to none. This time, following the bad experience of the inferior position of a water gun on a motorcycle, we bought two puckets and got up on one of the pickups with some Thais and Burmese people speaking excellent English, and had excellent fun for an hour or two -- gettting no further than 200 metres along one of the rivers or so -- there was no driving on the roads which were filled with people and vehicles, just not touching each other, and there was water everywhere with people getting fresh canisters from the rivers all the time. We then remembered that we were wearing our last set of clothing, the other stuff being laundered and ready for pickup tomorrow, so we disembarked the truck and headed out of the city to the market in hope to find some trousers to wear, but short of a Sarong for Aline, there was nothing striking our fancy (which, mind you, isn't high. I just don't want to be wearing thick jeans in this weather). Anyway, the trousers we were wearing had dried in the mean time, and now the challenge was to make it back to the guesthouse without being splashed again -- and quite a difficult endeavour it was, but we almost succeeded, only soaking up another litre each, which, believe me, was peanuts by then. Sorry for this somewhat unexciting entry. Starting tomorrow, we'll break with the festival as we've had enough of water for the time being. On our list are a day of cooking school, the zoo, a 1-2 day treck in the hills, a seminar with monks, and, of course, a bunch of the temples of the city. Thanks again for reading along.

Jordi Mallach: 75 years of the Spanish dream

Recently Spain remembered the 65th anniversary of our tragic Civil War, an episode which broke the state in two halves which still today haven't been glued together at all. The origin of that nightmare is the dream of many Spanish people of the early 20th Century. In the morning of the 14th of April, 1931, the Second Spanish Republic was proclaimed in Madrid, after two days before, a majority of republican and leftist parties won the local elections; many people celebrated throughout the Spanish territory, and the tricolour flag was shown in many town hall buildings. With the king in exile after these quick happenings, Spain was again a Republic, as decided by the election results. The Republic brought many social measures to Spain: women suffrage, eight-hour day and many other labour related improvements. The nobility titles were abolished, and those properties were confiscated by the government. And this was just the provisional government. All of this is regarded like a big social and cultural revolution, which was just starting. Not everyone was happy about this, of course. The newly approved Constitution of December 9 gave the government power to confiscate many of the Church's properties, and limit their great power in political matters. Soon, the episcopacy came with a strategy to defeat the Republic in any possible way. The Royalists were also not happy. There were a series of revolts in the South, and an attempt of coup d'etat by General Sanjurjo. These attacks were repealed; the Republic was still strong. In 1933, the Anarchists started to be seriously unhappy about the moderate path the government was leading and started striking, which led to violent repression by the Government. The General elections of November brought a victory of the right and extreme-right, and many social and anti-church measures were repealed. Riots and strikes spread throughout the territory. The Martial Law proclaimed by the right wing government resulted in thousands beings imprisoned. Things went even worse when three ministers of the fascist CEDA entered the Republican Government. A big worker uprise started the 1st of October in Asturies, and Catalunya proclaimed the Catalan Republic. The revolts were supressed by General Franco, who would be well known in the world just a few years later. Thousands were killed and injuried during the few weeks of revolt, and the Socialist Party was dissolved, leaving the Spanish Courts with barely no left representation. The next years saw a very unstable government from the right due to internal disputes within the parties that formed it. New elections were called in 1936, and the left united under the Popular Front, which won by a slight margin; Manuel Aza a was the new president. The right, the church and the army continued to undermine the Republic in any possible way. In an attempt to make the military heads more loyal to the established government, the fascist Falange Espa ola was dissolved. The 2nd Spanish Republic received a massive blow on the 17th of July, 1936 when Franco and other generals attempted a new coup d'etat in the Northern African territories. The Republic started to die as people started fighting the coup back, and the Spanish Civil War started throughout the territory. With the aid of Fascist Germany and Italy, Franco managed to seize control of more and more areas of Spain during the nearly three years of war, and the Government of the Republic had to move a number of times, to Val ncia and Barcelona. In January 1939, most of Spain was in Franco's hands, and Catalunya soon fell. Two months later, the fascist troops entered Madrid, and hours later, Val ncia surrended. Still today, people talk about dos Espa as , the victorious and the defeated. Still today, the is much difficulty in having official recognition for the thousands who died while defending what a majority of people had voted for in a democratic way. Still today, one of the major political parties in Spain refuses to acknowledge what the forty years of Franco meant for the disidents, for the exiled, and for the dead. They are the legacy of Franco. Today Spain celebrates the 75th anniversary of our Second Republic, with many events in many cities, which will be ongoing for a few weeks. Izquierda Republicana has a good list of events.

13 April 2006

Martin F. Krafft: Why Thai massages hurt

Naturally, in Thailand you ought to try a Thai massage. If you do, it's best to ignore all the things you ever heard about them, as that might stop you otherwise: the Thai massage is painful for a number of reasons, but one is the most prevalent one, at least for me. The idea of the Thai massage is that of "passive yoga." The masseur (or more likely, the masseuse) will knead your muscles beyond the point of comfort (unless, of course you tell them to keep it down, which I never did). They will bend your body, stretch it in ways you didn't think possible, crack your joints, rearrange your spine, and finally massage your head as if they are trying to make up for all the pain. However, all this is very bearable. What kills me each time I let a Thai massage me is the fact that the Thai apparently don't have hairs on their legs and arms. I do, however, and it's kinda hard to relax and breathe calmly while these hairs are being pulled every time he (or she) grabs part of my leg (or arm) to knead or twist it. But I'll do it again, and I recommend everyone who has the chance to try it -- at least once.

Martin F. Krafft: Soaking the city

We spent eight hours today, starting at around 10:00 o'clock, completely soaked with water. I had read about the Thai New Year celebration "Song Khran," but I would not have believed it to be as extreme as it turned out to be. But let me start where I left off: Phitsanulok. Following the recommendation of the director of the lower northern Thailand Tourist Authority (TAT), we spent the evening by the river running through Phitsanulok, where the Thai were celebrating the "food festival" -- it seems to me that the Thai, or Southeast Asian folk have a festival for almost anything to make it around the year... The road along the river was banked with little booths selling just about everything, from edible to handicrafts, with fair booths offering games such as darts, jumping castles, and live bands in between. Strolling around, we had a bite of the most appealing things -- I did stay away from roasted cockroaches, maggots, and other bugs this time, for I had already sampled them in Vietnam and felt no particular need to repeat the experience, although it was not revolting back then at all: it's just a little meat with a lot of crust that you don't want to eat, and the taste isn't particular. An excellent meal of noodles with some sort of sweet-spicy sauce, together with a beer and the company of some young Thai boys ended the evening for us and we returned to our hotel rather soon, with the intention to get up early to finish our errands and make a run for Sukhothai. So with our plane tickets and some fresh cash, we set out for "Sgt. Tawnee's Folklore Museum", a private collection of traditional Thai "things" -- tools, traps, toys, instruments, clothing, ... just about everything... Sgt. Tawnee was a poor soldier who realised that people were forgetting about how their ancestors went about to solve everyday's problems and consequently started collecting anything and everything -- a truly remarkable and beautiful collection! After a so-so Thai massage (see forthcoming blog entry), we quit the city by bus to arrive in Sukhothai about an hour later, where we were met by the pickup van of the guesthouse we had booked, also following the recommendation of the TAT director: we are staying at the Ruean Thai Guesthouse, a place with cozy rooms, a swimming pool, and very friendly staff, for about 10 EUR a night -- the best guesthouse I have been to in three vacations in Southeastasian countries, three thumbs up, I can recommend it to anyone coming to the area! We had just settled and taken a shower when the hotel clerk notified us that the director was waiting downstairs to take us to the "light show". We boarded his van, together with his family and colleagues, and drove about an hour to Srisatchamalai Historical Park, where we arrived just in time to witness an impressive ceremony, part of the New Year celebration: old people were sitting in rows on chairs, and younger folk passed from one to the next, pouring drops of water into their hands as a form of respect to the elderly to help them stay cool in the dreadful heat of the month. Naturally, we lined up and did as the others did -- and found us filmed and greeted by a television crew afterwards for an interview. Not wanting to be a burden to the director and his family, we followed the suggestion to stroll around in the park for about an hour, until we returned to the agreed meeting point. There, we found that mats had been rolled out on the lawn in front of one of the temples, and maybe 200 Thais were sitting and dining. The director invited us to join them, and we enjoyed Thai cuisine until dusk, when everyone got up for the national anthem and the show began. At first, a famous Thai singer (so we were told) performed a couple of folk songs and we learnt that, (to my knowledge) unlike European folk songs, the Thai sing songs telling real events in history. A fashion show of old, traditional Thai clothing followed, and finally, the stage was set for a performance of the history of Sukhothai. People were all over the place, fighting, dancing, or just "ruling" (as the king(s) would do), and a voice recounted the story, which one of the director's daughters translated for Aline, I was busy taking pictures. Fireworks accompanied the scene, along with flying objects consisting of a real flame underneath a balloon made of rice paper. Most flew high and far away, some got stuck in trees and went up in flames. After the show, I had a chance to see some of the costumes and must say that I am deeply impressed, not only by how Thai people used to dress, but also by the love and care the people put into the show to make it as authentic as possible. Interestingly, only one other tourist ("fallang") was at the event, something the tourist director wants to change in the future -- good thing we witnessed the "pure event"... I seem to prefer places not frequented by tourists, and in the Thais seem to be continuously surprised that we are not heading for the beaches in the south following our time in the north. Back at the hotel, we fell into bed, exhausted from the day and the nightswim in the pool. I got up this morning to find my ear clogged with water -- must have been the late swim. The guesthouse owner insisted to take me to a pharmacy to find some eardrops, and I hope this nuisance will go away soon. We rented a motorcycle for the day and headed in direction of the old Sukhothai city, or the Sukhotai History Park, as it is also called. Waiting for our photo chip to be beamed to CD, we made our first encounter with the way young people like to celebrate the New Year (which officially started today): all over the city, people rode around on the back of pickup trucks, emptying buckets of water over other people. We bought ourselves a water gun and plunged in for the fun. It didn't take 30 minutes until we were soaked, but nothing could stop us. The old city is maybe 10 kilometres away, and the drive was the most unforgetable motorcycle ride I'd ever had: all along the sides of the road, people were filling buckets and splashing everything that passed -- being on a motorcycle with merely a water gun, and as "fallang" (foreigners), we were naturally the primary target for just about everyone, so by the time we had reached the city, we had soaked up half an ocean each. We stopped by a group of kids, gave our water gun to the smallest one, bought a new one, and teamed up with them to fight the passing vehicles. Oh what fun! Dripping, we made our way to the park after a while, and strolled around some temples, the market, and many more water fights. Even though the water obscured the heat, we still didn't feel like taking the barrels of water we had collected for a walk and didn't last too long before we were on our way back, destined to stop again with our allies (the kids) to make sure no car and no passenger got by unwashed. The Thai also crumble up chalk, mix it with water, and smear it into each other's face -- you can imagine how we looked like after a few minutes: soggy and chalked. Finally, we made a run for the hotel and got back at about 16:00 o'clock for the first time of feeling "dry" in eight hours. Now, after some time at the pool, we are loathing for dinner but daren't go for the city as we are wearing our last set of clean, dry clothing; I doubt the Thai lay their buckets to rest at seven and call it an evening. Fortunately the hotel offers food too, so we'll likely be boring and stay in. Tomorrow morning is our flight to Chiang Mai for more of the wet fun. I'll keep you posted. Thanks for reading along.

Jeff Bailey: Tagging entries

First - I've switched the feed for http://planet.debian.org/ to RSS instead of atom. Atom doesn't work, and apparently never has despite there being a fair number of registered atom feeds.

Second - I'm likely to start blogging comments about religion. I think most people who know me know that I'm a UU and have been now for about half of my life. So this isn't new - I'd avoided posting religious things in my blog before because the software that I was running at home had no method for trivially separating things based on tags. I moved to LJ a while ago, and I think it has this. The question is what's the best way to keep things posted to planets without those entries? Is there some sort of a thing I can setup that says "make a feed for everything that *isn't* tagged religion?" If you have an idea, let me know. Or perhaps people don't care, in which case don't worry about it. =)

(Why doesn't the LJ spellchecker include obvious things like "RSS", "Blogging", and "href"?)

Matt Brown: 2.6 Suckiness

Has anyone else noticed a sharp decline in the quality and stability of the 2.6 kernels recently? I know that they’ve supposedly done away with “stable” releases and changes are being merged from the development trees straight into the 2.6 mainline, but surely we can still expect some level of stability. I’ve run into some fairly major problems lately. In early December I tried to upgrade our Biscuit PC distributions kernel package from 2.6.13.1 to 2.6.14 but was stymied by the fact that 2.6.14 seems to have completely removed support for building out of kernel modules against the kernel headers only, the full kernel source is now required to be present. This does not play nicely with Debian kernel packages. I haven’t had time to try 2.6.15 yet to see if this change has been reverted, but its a fairly major thing to drop support for and completely removes the ability for me to build packages for external drivers like madwifi. Today I was upgrading a machine with software raid from Woody -> Sarge and proceeded to upgrade the kernel too. I pulled down a copy of 2.6.15.4, ran make oldconfig and then verified that all the crucial options were still selected (raid, promise controller, e100, etc). make-kpkg, dpkg -i, reboot. BANG.

VFS: Cannot open root device "md0" or unknown-block(9,0)
Please append a correct "root=" boot option
Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(9,0)

A quick investigation revealed the promise controller as the source of the problem

PDC20267: IDE controller at PCI slot 0000:02:0e.0
PDC20267: chipset revision 2
PDC20267: ROM enabled at 0xf4640000
PDC20267: 100% native mode on irq 22
PDC20267: neither IDE port enabled (BIOS)

Now, the Promise controllor is certainly not disabled in BIOS, and 2.4.21 manages to boot off it just fine so what is wrong with 2.6.15!? Google suggested that I needed to enable the PDC202xx_FORCE option, (which was enabled in 2.4.21 but in 2.6.15 is only available if you happen to select the completely unrelated driver for the next model up promise card to what I have - a bug that has apparently been acknowledged since 2.6.9 but still not fixed!!), however that made no difference whatsoever. After a couple of hours of fiddling around with various kernel settings and boot options (did I mention this machine is 200km away from me…) I gave up and started trying early kernel versions starting with the existing 2.6.13 kernel I was using for the Biscuit PC distribution, which worked first time. So far I’ve not been able to find any other reports of problems with 2.6.15 and the Promise drivers, but from what I saw today they are completely non functional. The common argument I seem to hear when I usually mention this subject (2.6 suckiness) is “but you should just use your distributions kernel”, to which my reply is “but I do…”, for my desktop. The standard Ubuntu kernels work great and I have had no reason to meddle with them. However my desktop needs are a far cry from what I need to be able to do for the servers I maintain at work, or the kernel packages that I need to build for our BiscuitPC distribution. I’m certainly not one of those gentoo type people that need the latest and greatest the instant that it comes out, and I don’t try and run the latest kernel just for the sake of it. But the fact is, new kernels bring new features (not to mention bugfixes and security patches) that are frequently needed, especially in the networking and wireless areas. When I have to spend several days debugging and testing every time we need a new kernel only to find some critical flaw that prevents us from using it I have to stop and wonder whether the current kernel development process is working. Have others had similar experiences with 2.6 kernels recently, is the fact that the latest kernel-image I can find in sid is 2.6.8 confirmation that it’s not just me, or am I really just overly angry due to the hours I’ve spent battling 2.6 lately? Update: Several people have pointed out that I failed to look for linux-image instead of kernel-image and that 2.6.15 is already in sid. My mistake. And yes, I do plan to file bugs, not just rant, but sometimes you need to vent first :)

12 April 2006

David Welton: Ruby vs Tcl, round 2

Ding ding. (Round 1 - for those who missed it) Kidding aside, remember that I like and respect both of them. Libraries In the first article, I mentioned that Ruby has a lot of momentum, which is a pleasant change from Tcl's relative 'uncoolness' amongst the Web 2.0/O'Reilly/"next big thing" crowd. That said, there are still places where that momentum hasn't taken it. I set about writing some code that I'd wanted to play with that involves sending some email. Something that's very easy in Tcl: http://tcllib.sourceforge.net/doc/smtp.html (towards the end of thepage). Python seems to have a pretty complete email system too, for that matter: http://docs.python.org/lib/module-email.html. So it appears that, based on a sample of one attempted task (how's that for statistics?), that Ruby is still lacking a few things in its standard distribution. Note that this functionality is available elsewhere (TMail, to cite one), but email is ubiquitous enough that it ought to be in the standard library. Command line swiss-army knife While Ruby's OO system gives it a head start when you need to create a larger system with distinct parts, it can still be used as a quick'n'dirty scripting language for quick one-off jobs. From the man page:
% cat /tmp/junk
matz
% ruby -p -i.bak -e  $_.upcase!  /tmp/junk
% cat /tmp/junk
MATZ
Very handy. Tcl's command-based syntax just isn't quite as quick for those sorts of operations, so Ruby wins hands down here. I've suggested that the Tcl folks distribute a second program that takes a lot of the Perl-style command line arguments for this sort of work, but the idea doesn't seem to be of much interest. C API's On another tack completely, one of the things that originally drew me to Tcl was its very, very nice C API. It's documentation is clear, and thorough, and the API itself lets you get involved in pretty much any aspect of the language that you want. This makes sense, because when Tcl was originally created by Dr. Ousterhout in the late '80ies, the idea was to create a scripting language as a C library that would be loaded into other programs. The language has always been faithful to its heritage, and to this day I find it lots of fun to merge Tcl with C code. I have to admit that I don't know the Ruby API all that well, but what I have looked up looks pretty nice. To a certain degree, it's comparing apples and oranges, because Ruby requires you to deal with the very object oriented nature of the language, whereas Tcl is a lot more direct. The Programming Ruby book's coverage of the subject also leads me to believe that Tcl really gives you access to more stuff (interpreters, channels, events, and many other parts of the system). Ruby seems to take an approach that might best be described as letting you write Ruby in C - meaning that you create Ruby objects, use their methods, get their values, and so on, but you're still really dealing with Ruby. This has a certain elegance, but sometimes it's necessary to muck about with things at a lower level. I don't know how it works out in practice, but Ruby has a bit more infrastructure in place for actually building extensions once you've created them. Tcl has "tea", which is a set of m4 macros, but anyone can tell you that the auto tools are not much fun to work with (going to the dentist is more fun) - anything that keeps me away from them is welcome. Garbage collection One of the more interesting aspects of the different approaches to C interoperability is the fact that Tcl uses a simple, robust, straightforward reference counting system to keep track of, and throw away resources that are no longer used. Ruby has a mark and sweep garbage collector, which is probably more sophisticated, but also more complicated, and requires a bit more support from the programmer initially. The benefit is that once things are set up, they require less keeping track of, because you hand off memory management to the computer. From the end user's point of view, Ruby wins here, but if you happen to be writing a C extension, I could see it being more difficult to write and debug to this API, although Tcl has its own warts, one of the worst of which is the fact that Tcl values must be convertible back and forth to strings, so that for things like a file handle that can't really survive the round trip, because it's just a pointer, you use a hash table and some sort of string to hold onto the object:
 "file1" -> int fd1
 "file2" -> int fd2
which makes it impossible to GC these values. I suspect that both approaches have their merits - Ruby's is more elegant, but Tcl's is simple and rugged. Licensing Bouncing back to something completely non-technical, Ruby's licensing is either the GPL, or their own license. If I understand things correctly, you can get around the GPL's "viral nature" by simply renaming things, if you have a need to include Ruby in a proprietary product:
  1. You may distribute the software in object code or executable form, provided that you do at least ONE of the following: a) distribute the executables and library files of the software, together with instructions (in the manual page or equivalent) on where to get the original distribution. b) accompany the distribution with the machine-readable source of the software. c) give non-standard executables non-standard names, with instructions on where to get the original software distribution. d) make other distribution arrangements with the author.
So it seems that you're ok if you just call it something else. However, the license goes on to talk about several other files in the core distribution:
  1. You may modify and include the part of the software into any other software (possibly commercial). But some files in the distribution are not written by the author, so that they are not under this terms. They are gc.c(partly), utils.c(partly), regex.[ch], fnmatch.[ch], glob.c, st.[ch] and some files under the ./missing directory. See each file for the copying condition.
Looking through the LEGAL file in the distribution shows that there are files distributed under other terms. Of course, they're all free software, but some are LGPL, some BSD, and a few others for good measure. Tcl's licensing, on the contrary, requires very little understanding. The language was developed at the University of California, Berkeley, and the license remains BSD. This goes for many of the libraries and extensions as well. If you need to embed a language in your proprietary system, Tcl and its libraries present no problems whatsoever. Of course, I prefer to work with open source code and communities, but that's not possible 100% of the time, so it's always nice to know things are free and clear, should that need arise. Internationalization This is something the Ruby folks know they need to fix, and are working on, so it's not worth dwelling on it much, but it is a proud point for the Tcl community. Tcl has had very nice i18n setup for many years, at this point - since the 8.0 release. It's built into the language, so that everything works with it. You have commands to set encodings of IO channels, and even munge strings. Tcl wins here - no contest. As I continue exploring Ruby, I think I'll find more stuff to compare with Tcl, so we won't ring the final bell just yet.

Lars Wirzenius: Random hacks: doc-get

I often want to save interesting web pages on my own disk, so that I have a copy even off-line, or in case the page goes away. Occasionally a bit of a pack-rat I am, yes. Web browsers can do this, but not in a perfect manner. For example, Epiphany does not save all embedded objects (images), so viewing the saved page can result in images being loaded from the net. Another problem is that I'd like to record the URL of the page that was saved, in case I want to go back some day. And finally, I would like to be able to get an entire multi-page document (say, a manual) in one go. The other day I played around with wget options, and came up with this set:
wget -N -nd -k -p -H -P "$dir" "$url"
This seems to work fairly well so far. I've wrapped it in a little shell script I call doc-get. It doesn't do the multi-page document thing yet, but I'll look at that later. More things that doc-get might do, but that I'm probably too lazy to implement in the near future: updating an already saved document; better heuristics for the name of the directory (currently it's date + MD5 of URL); having a central registry of saved documents, so that you can do "doc-get --update-all" and refresh everything; inventing something to make it easy for publishers of free documents (say, much of the Creative Commons stuff) easily downloadable by doc-get, even if their directory structure is complicated.

Lars Wirzenius: Debian: Packaging tutorial next summer in Finland?

I met someone from HP Finland yesterday and he gave me a tentative promise that HP would be willing to give its auditorium for free if I want to arrange a Debian packaging tutorial during the summer. I've given such a tutorial to some friends, and it would be fun to do it again, if there's interest. The way I imagine it currently would be that there's a theoretical lecture first, say one hour, that covers the basics of packaging. The second part is hands-on training, where everyone builds packages, and if they have problems, I and others will help. Depending on how long we want to make this, we can then continue with more lectures, and maybe more hands-on stuff. In my calendar, the weeks starting June 10 or June 17 would be ideal. This would, of course, be completely free for participants, and open to everyone. If you would like to participate, either as a student or as a teacher, please drop me a note. Nothing is binding right now, I'm mostly just interested in how many people are interested.

Eric Dorland: The Pain of the GFDL GR and the DPL throws down

(aside: I love acronyms) The GFDL GR is particularly painful for packagers of GNU software like, say, automake. While I voted for it, and I think it was the right thing, it's almost physically painful to have to split my package apart for such ridiculously trivial 3 lines of Front and Back Cover Text:
     Permission is granted to copy, distribute and/or modify this
     document under the terms of the GNU Free Documentation License,
     Version 1.2 or any later version published by the Free Software
     Foundation; with no Invariant Sections, with the Front-Cover texts
     being "A GNU Manual," and with the Back-Cover Texts as in (a)
     below.  A copy of the license is included in the section entitled
     "GNU Free Documentation License."
     (a) The FSF's Back-Cover Text is: "You have freedom to copy and
     modify this GNU Manual, like GNU software.  Copies published by
     the Free Software Foundation raise funds for GNU development."

New DPL Anthony Towns has started his term, guns blazing. I like his idea. Making it easier to contribute to Debian can only really be a net win. The obvious objection is that this will allow untrusted people to upload to Debian. But does the current New Maintainer process really guarantee that an applicant is not malicious? I don't think so. It only weeds out impatient attackers, not determined ones. Now, if we really do believe that it is too dangerous to allow these "Debian Maintainers" direct upload, their uploads could go into their own queue. A queue that would be viewable by any "Debian Developer" to vet the package and approve it. I believe the Fedora Extras project does something similar.

Erich Schubert: Python pitfall of the day: <tt>def function(var= )</tt>

I was hunting an odd bug in a python program of mine. Here's a condensed code snippet for explanation:
class odd:
        def __init__(self, a, b= ):
                self.b = b
                self.b["a"]=a
one = odd(1)
two = odd(2)
print one.b["a"]
That code looks reasonable, doesn't it? The parameter "a" is required, but other parameters can be given in a hash. So what output would you expect? The output is 2. The reason is as follows: Python creates an empty hash, and b is a reference to this hash per default. To the same hash each time. So the code is basically equivalent to
class odd2:
        default_for_b_in_init =  
        def __init__(self, a, b=default_for_b_in_init):
                self.b = b
                self.b["a"]=a
and not (as I had expected):
class odd3:
        def __init__(self, a, b=None):
                if not b: b =  
                self.b = b
                self.b["a"]=a
Obviously, both behaviours make sense, and the python way is somewhat consequenter. So be careful when using default values in functions! Non-reference types such as integers are fine, so is None, and of course any outside objects you want to be the same for each call. Don't assume the def statement will create any new object. Even shorter example:
def test(a, b= ):
        print b
        b["a"]=a
test(1)
test(2)
will result in the output
 
 'a': 1 
again there is only a single hash b.

11 April 2006

Riku Voipio: planet techsupport

Ross, use

debuild --preserve-env

Now that we are aware of it, we might fix the default for the next release. Of course, if I guess correctly where you need scratchbox, you can't use a new version anyway anytime soon... Crappy Crap..

Speaking of new versions, Scratchbox 1.0.3 AKA Scratchbox Apophis (looks like our new developer is Starg te fan..) is out. Most important change is:

* easier support for "foreign" toolchains and host binaries.

In older versions toolchains and other host had to be built with scratchbox's own HOST toolchain using a gar-based build system. While making your own toolchain using scratchboxes build system is really not hard, it seems to scare people away. With foreign toolchain support, you can for example take CodeSourcery's excellent prebuild Gcc 3.4 2005q3-2 arm EABI crosscompiling toolchain and just drop it in. OTOH copying, setting up the symlinks, support files etc is a bit tedious, so that particular example is available Prepackaged too ;)

Bernhard R. Link: only DDs should be allowed to upload packages

Anthony Towns writes:

"Interestingly, the obvious way to solve the second and third problems is also to do away with sponsorship, but in a different sense - namely by letting the packager upload directly. Of course, that's unacceptable per se, since we rely on our uploaders to ensure the quality of their packages, so we need some way of differentiating people we can trust to know what they're doing, from people we can't trust or who don't yet know what they're doing."

I think the whole point of NM is to make sure we can trust people. This will be extremly different from sponsorship, as I hope no sponsor takes a packages and just uploads it, but makes sure it is as correct as any of his packages, using all his/her experience.

Even some little game or package for special use can cause severe headage, as the maintainer scripts can delete stuff outside that package or open security holes. Things having that much power should only be in the hands of people we actually know and trust. Thus some DD should be responsible. And I doubt that there are enough DDs wanting to be responsible for something another person does when they give a in blank upload privilege for some package without any chance to look what gets uploaded.

That said, I like the idea to make sure the Maintainer in the .changes file and the owner of the key that signed it are the same. (It's nicer to change it to get the mails yourself and bounce them to the person you are sponsoring, but I sometimes forget it). Does the field yet has any meaning other who get the mails from the queue daemons and dak?

Next.

Previous.