Search Results: "ag"

15 April 2006

Andrew Pollock: [life/americania] Taking separation of Church and State to new levels of silliness

It's always surprised me how for such a supposedly puritanical country, America seems very wrapped up in political correctness when it comes to observing holidays (gee, what's the derivation of that word?) based on Christian events. It's not "Merry Christmas", it's "Happy Holidays". There's no public holidays for Easter, for example. They get right into Halloween, which is a very pagan event. Today I tried to call a utility company, and got a recorded message, and it turns out that some employers to give their employees Good Friday off. They just call it the "Spring Holiday".

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

Aigars Mahinovs: First week in UK

Again, this article is mostly event description that would mostly interest my relatives, but this part of it still goes to the Planet in case someone out there would be interested in how I am doing here. (477 more words in the post)
Continue reading ...

Robert Collins: 14 Apr 2006

Easter Friday - always a fun day. Went and saw Ice Age 2 - mildly disappointed. Lovely animation, lots of laughs, but their continuity and consistency sucked. Later on, I bound subunit to ShUnit with this patch. This means that when you decide to add a hacky little shell script to some larger project, you can integrate the tests into your unit test framework rather than having to have multiple separate test suites.... which means your IDE's red/green test status bar will show those test results. ROCKING.

Joey Hess: debian nslu2 improvements

Here at Extremadura I've been using tbm's serial-console equipped nslu2 to improve Debian's nslu2 support. I've just uploaded version 0.10+r58-2 of nslu2-utils, which amoung other things supports generating usable initramfs images, and flashing the debian kernel and initramfs to the slug when the kernel package is upgraded. Once integrated into debian-installer, this will improve the installation precedure described here, avoiding the need for the second upslug2 run.

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.

Ross Burton: Sound Juicer "Don't Just Sit There Going Crazy On Your Own" 2.14.3

Sound Juicer "Don't Just Sit There Going Crazy On Your Own" 2.14.3 is out. Tarballs are available on burtonini.com, or from the GNOME FTP servers. A small selection of bug fixes before I branch: NP: 1st Born Second, Bilal

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.

NOKUBI Takatsugu: wire-swig 0.10

Today I released wire-swig 0.10, multi language binding of libwire. libwire is a part of WIRE, an implementation of Web crawler. I can made my local search engine like google mini with it.

13 April 2006

Erich Schubert: MusicSquirrel 0.1

Grab my new MusicSquirrel 0.1 while it's hot. MusicSquirrel is a duplicate finder and killer for your music collection. It will calculate Accoustic fingerprints for your music files (MP3, Ogg and such) and thus can detect the same song even when it was encoded in different formats or at different quality settings. The findings are presented in a sorted list, with checkboxes to pick which version of the files to delete. MusicSquirrel Screenshot It requires PyGTK, Python Glade2 and Python Glade2 and python-tunepimp. You can even run it on Windows (Don't ask me for help on that! Get ActivePython, PyGTK for Windows, Python tunepimp bindings and either compile all the libraries yourself or copy them from the latest Picard beta. Note that there is a memory leak somewhere in windows only, probably in the libs and not in the python code)

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.

Wouter Verhelst: Digital Camera

I bought myself a digital camera today. It's probably the most low-end camera you could imagine, approximately the size of the insert-delete-home-end-pgup-pgdown key block on an average keyboard. Well, slightly larger. Obviously the quality isn't very good. In fact, I suspect that many cell phone cameras are of better quality (I wouldn't know, I don't have a cell phone with camera). So why did I buy this thing? Because of its price, which is so low that it's laughable. And, well, because of the size—it can be stashed away nicely. Only I just found out that the battery life isn't very good. I had connected it to my laptop for a bit more than an hour, and now it doesn't power up anymore unless it is connected. According to the manual, it should not use the battery while it's connected to a USB port, but I guess they're wrong. Something else that isn't very good is the English translation they've been doing. Mooha.
Thank you for purchasing this digital camera. It not only can take photos but also has the built-in camera functions. This camera is equipped with a 64Mbit built-in SDRAM; if you want the photos in the camera to be download into the computer ,you are only required to connect the USB cable; and if you want to use the built-in PC camera functions, you can hold the video conference via the Internet to have a face-to-face online chat with others.
... is exactly what the back-cover of the wrapper contained. With no typos. No, not with typos in spaces and commas either. I do have one grunt with this thing, and that is that the 'viewfinder' (sic) is totally useless; if I want to take a picture with the thing, I have to point the camera towards the general area of my subject, cross my fingers, and hope for the best. But, well. It works, and while the pictures aren't very good, they're not that bad, either. I guess that's all I could ask for 14.40 euros.

Wouter Verhelst: X.Org 7

If you're using Debian unstable on powerpc and haven't done your update today yet, might I suggest you hold off on that for a few days?
apr 13 09:14:28 <Yoe>	xorg 7 also seriuosly messed up fonts
apr 13 09:14:48 <Yoe>	"display" from imagemagick doesn't work anymore, and neither does rxvt-unicode
apr 13 09:15:02 <Yoe>	so how am I supposed to do *anything* useful, now? ;)
apr 13 09:15:04 <simonrvn>	i've been using 7 from experimental, so i had to change my fontpath in xorg.conf
apr 13 09:15:10 <simonrvn>	was
apr 13 09:15:19 <Yoe>	oh?
apr 13 09:15:36 <simonrvn>	/usr/share/fonts/X11
apr 13 09:15:39 <Yoe>	is that documented somewhere?
apr 13 09:15:42 <Yoe>	ah
apr 13 09:15:55 <simonrvn>	might be, not sure
apr 13 09:16:16 <Yoe>	hmm
apr 13 09:16:16 <simonrvn>	though don't remove the old ones, add those, since some of the packages still use the old path
apr 13 09:16:26 <Yoe>	well, not here, aparently
apr 13 09:16:36 <Yoe>	my FontPaths all point to /usr/lib/X11/fonts/misc,
apr 13 09:16:37 <simonrvn>	if it is, either BTS or one of the READMEs
apr 13 09:16:44 <Yoe>	s/misc//
apr 13 09:17:06 <Yoe>	and /usr/lib/X11/fonts is a symlink to '../../share/fonts/X11'
apr 13 09:17:11 <Yoe>	which does not exist.
apr 13 09:17:27 <ejka>	Yoe: dpkg -l xfonts-base
apr 13 09:17:41 <Yoe>	that's installed
apr 13 09:17:53 <Yoe>	... but still the 6.9.0 version
apr 13 09:17:53 <ejka>	Yoe: version
apr 13 09:18:04 <simonrvn>	l /usr/share/fonts/X11/75dpi: -rw-r--r-- 1 root root 4.1K 2006-04-11 00:32 charB08.pcf.gz ....
apr 13 09:18:41 <Yoe>	ah
apr 13 09:18:51 <Yoe>	xfonts-base depends on xfonts-utils, which isn't available (yet)
apr 13 09:18:59 <Yoe>	so I s'ppose I'll need to wait another day
apr 13 09:19:02 <Yoe>	(powerpc here)
apr 13 09:20:25 <ejka>	Yoe: for now you can add fontpaths /usr/X11R6/lib/X11/fonts/ misc,... 
apr 13 09:20:49 <simonrvn>	xfonts-utils *just came in to ppc today (sid)
apr 13 09:20:55 <simonrvn>	*just*
apr 13 09:21:10 -->	gismo (i=luca@129.194.56.110) has joined #debian-devel
apr 13 09:21:37 <Yoe>	right
apr 13 09:21:42 <Yoe>	brb, restart X server
apr 13 09:21:43 Tcl interface unloaded
apr 13 09:21:43 Python interface unloaded
**** LOGGEN GESTOPT OM Thu Apr 13 09:21:43 2006
Hah.
wouter@country:~$ startx
bash: startx: command not found
wouter@country:~$ X
X: cannot stat /etc/X11/X (No such file or directory), aborting.
wouter@country:~$ su -
Password: 
country:~# apt-get install xserver-xorg
Reading package lists... Done
Building dependency tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
  xserver-xorg: Depends: xserver-xorg-core but it is not installable
                Depends: xserver-xorg-video-all but it is not going to be installed or
                         xserver-xorg-video but it is not installable
                Depends: xserver-xorg-input-all but it is not going to be installed or
                         xserver-xorg-input but it is not installable
E: Broken packages
country:~# apt-get install xserver-xorg-core
Reading package lists... Done
Building dependency tree... Done
Package xserver-xorg-core is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package xserver-xorg-core has no installation candidate
country:~# apt-get build-dep xserver-xorg-core
Reading package lists... Done
Building dependency tree... Done
E: Build-Depends dependency for xserver-xorg-core cannot be satisfied because no available versions of package libxmuu-dev can satisfy version requirements
Believe me, it's painful to have no X server available. Update: okay, by getting packages from experimental I've been able to get myself a somewhat working X again. Except that xkb doesn't load my modified keymap, which is horrible, and setxkbmap refuses to do anything when I say "setxkbmap wouter" and, on top of that, quits by segfault for good measure. I'm hoping that's fixed in the version that's been uploaded to unstable, but I can't check that—at the time of writing,buildd.debian.org doesn't even have a log file for some of the xorg stuff yet. Though some parts are in the building state at this very moment...

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.

Next.

Previous.