Search Results: "bab"

23 April 2006

Zak B. Elep: Aren t I free to blog, or what?

It begins like this:
  1. Charo posts; gets syndicated on Planet Ubuntu-PH
  2. Some bloke notices it, and eventually gets into rant mode talking about freedom of choice’.
  3. Same bloke posts something really stupid:
you’ve completely diverged from the topic. the original question is why this individual is advocating non-free and proprietary toolchain in a group that is supposed to advocate free software. Freedom is subjective and we will not be able to end up this topic when we go to technicalities and social relevance.
Um, I’m having a difficult time parsing this. See below:
I guess what the Geekette should do next time is fix her drupal to categorize her blog and have only those free stuff aggregated to the community site then let her non-free stuff just stay here and its case closed.
Or get a better feed reader that filters out what you want to filter out. Be as persnickety as you can be. Go figure. You’re free to do the above, just as the Geekette is free to blog what she wants to blog, in whatever category she feels like posting in. After all, its her blog, and definitely not yours (or mine either.) Which is why I chose to post this as my post, not as a comment. Feel free to be an ignoramus. Planets, for those of you playing at home, can be thought ouf as just fancy RSS aggregators on the Web, especially for those who don’t have the luxury of a good RSS reader (or those who choose not to read via RSS, like me.) The Ubuntu-PH administrators could in theory impose some Draconian criteria for selecting which blog posts from persons to show, but in practice, they just don’t, probably because they feel that contributors are smart enough to be able to judge for themselves what they want to blog. I can understand this bloke’s pain, since our Planet is, after all, a “window into the world, work and lives of Ubuntu Team Philippines community members.” However it should also be obvious that the world is not so perfect, since even if we do get to use Ubuntu freely, we also get to have the choice to use some shackled software for some end. Freedom may be subjective, but it is definitely also self-referential too; you may have the freedom to not have a particular freedom to do something, and vice versa. A little Matrix philosophy is in order, care of the Oracle: “You’re not here to make a choice, for you have already made the choice. You are here now to understand the choice.” Now, figure me as stupid. I’ll just move along DhIconCacheChanges, help my fellow cadet in the X-SWAT, fix Debian Bug#360950 (despite lacking an amd64; readers, care to donate one? ;-) and continue to give my love for FOSS…

Brett Parker: Ooooops!

So, that was Saturday then... I managed to get nothing at all done, but I did manage to watch some snooker, Taxi, Taxi 2 and Taxi 3... So maybe it wasn't wasted? Apparently it's St Georges' day tomorrow... Hmm... I think that means that I shall find a pub sometime after lunchish and have a few celebratory pints for the old, somewhat dead, bloke! Otherwise, just did the beginnings of an extendable buildd, sometime I might get it to actually build stuff! At the moment it's very skeletal, need to finish building the foundations for it to be stupidly generic before going much further... but then, extending base classes to make it "just work" (tm) and having a nice base set of classes should make it all soooo much better. Will probably use it initially for automatically building django packages from svn, you know, as a test case - might then extend it to build bpgallery packages - though that's less useful (afterall, I haven't bothered packaging that yet, it being, erm, a shell script :). Hmm, now is probably a good time for sleep, though.

22 April 2006

Joey Hess: ugh, mailman

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

Erich Schubert: Debian quality assurance

Some time ago I blogged about what I think sets Debian apart from other distributions. Here's another posting of that sort: Debian goes a long way to ensure quality of packages. I don't know what other distributions do to keep packaging quality high, but Debian does lots of stuff. (Well, Ubuntu probably uses the same tools ;-)) For example, meet lintian and linda. These two tools run a set of sanity checks on any package (usually the maintainer runs lintian when building the package, but they are independently checked, too). The sanity checks include Debian policy checks, checks for missing manpages, some linking tests all the way to testing for common spelling mistakes. Getting a package "lintian-clean" usually requires some extra efforts by the maintainer - cdbs, debhelper and other build tools can't just do everything automatically. So it is good to have lintian run some final checks.

21 April 2006

Ross Burton: The Good Stuff

This arrived in the post today: Has Bean coffee Brazil Sitio Boa Sorte coffee, freshly ground yesterday. It won Cup Of Excellence last year and Has Bean bought the entire supply. It's good. At £4.99 a packet it's not really expensive, but it's not cheap. I must avoid buying the other Cup Of Excellence winners, for example El Salvador San Roberto which is fourteen pounds a bag. I'm probably going to buy most of my coffee from Has Bean in the future: the coffee is good and the delivery is fast. They freshly grind on demand so it's always fresh, and it comes in airtight re-sealable bags (none of that fold it over and sticky bit of plastic nonsense) that sit nicely in the fridge. All in all: heavily recommended. NP: Buena Vista Social Club

20 April 2006

Gunnar Wolf: Hot

Ok, the time has come: Now I work with my 20" fan on. Lucky me, my office has no windows, it's in the middle of the building - A bit cold in the Winter, but that's OK with me... But the people with real windows have been sweating for some weeks already. Well, design details of a 50 year old building which cannot be moved :)
Anyway... For people coming to Debconf: Be prepared for hot weather. April-May is Central Mexico's hottest season. For Mexico City, it means we have reached 30 Celsius, and will probably reach them again a couple of times (this week's forecast says we will be under 28, which is good news)... But for the Oaxtepec region (the closest cities are Cuautla and Yautepec) we are reaching 33-35 Celsius every day.
By May, we will have the first scheduled rains (although this has been a rainy Spring, but still, it's formally the dry season), so I hope it will not be _that_ bad... But be prepared to sweat.

19 April 2006

Simon Richter: Madrid or Babylon?

Yesterday we went for some Japanese food, and while Amaya and Miriam were talking in Spanish, Franzi and Jonas spoke German and I was thinking of some English sentence, one of the waiters made a remark in Japanese. That was where I lost track.

Martin F. Krafft: Last days in Chiang Mai

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

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

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

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

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

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

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

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

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

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

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

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

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

Jeff Bailey: Give us the election, Stephen!

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

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

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

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

18 April 2006

Uwe Hermann: Why disk-encryption is not only useful for paranoid computer geeks

According to this (German) spiegel.de article, thieves have stolen a hard drive from the recording studio of the quite popular German band Rosenstolz. Among the contents of the drive are unreleased songs from the past six years and two songs which should be released on a new single in a few weeks. Apparently those two songs on the drive were the only instance they had, off-site backups only contained older "beta" versions of the songs. As the band is touring at the moment (i.e. no time for re-recording the songs), it's unclear whether the single can be released in time. Lessons learned: (via Fefe) [1] Well, I am a paranoid computer geek, and I'm probably not a normal person, but you get the point ;-)
[2] Oh, and if the thieves are stupid enough they will get caught while uploading the files ;-)

Uwe Hermann: Debian packages release names

The "I'm bored" release.

nice -n 19 find /usr/share/doc -name changelog.Debian.gz -exec zgrep "\* The .* [Rr]elease" \; sort uniq bogosort -n head -40
* The "Crack-smoking Squirrel" release.
* The "I should not have got out of bed yesterday" release
* The "Wohoo-we-are-going-to-main" release.
* The "And I thought IE had security bugs!" release.
* The "First snow in Finland" release.
* The "please buy me a brain" release
* The "I speak better English than this villian Bush" release.
* The "Brief Return From The Hell" release.
* The "Stoned Monkey" release.
* The "Let's do it cleaner" release.
* The "Fuck Me Harder" release.
* The "All or Nothing" release
* The "What's my name? Say my name, bitch!" release.
* The "next time I will buy myself a powerpc" release.
* The "I'm in such a hurry" release!
* The "I *hate* when that happens" release.
* The 'DOH!' release.
* The "laptop envy (damn tbm for having a nicer one than me)" release.
* The "Drunken Iceweasel" release.
* The "Follow the white rabbit" Release.
* The "someone should take my compiler away from me" release
* The "Ooops, I did it again" release
* The "Argh-I-took-the-wrong-version" release.
* The "Friday before Christmas" Release :-)
* The 'Yes, I need more sleep, and also to test my releases' release.
* The "you can't get sunburn at Finland" release.
* The "Chainsaw Psycho" release.
* The "Son of Drunken Iceweasel" release.
* The "Perl Sucks" release.
* The "I fucking hate libtool" release.
* The 'No, I don't use CVS' release.
* The "Throwing stuff away like mad and seeing if it still builds" release.
* The "This Space Intentionally Left Blank" Release
* The "From now on all of my world-killing weapons will be kept a TOTAL SECRET!" release.
* The "Lesbian Seagull" release.
* The "Oh my God, they killed Python, you bastards!" release.
* The "Evil Bitch Monster of Death" release.
* The "Pain as bright as steel" release.
* The "I've been hiding under a rock for two weeks" release.
* The "Suddenly the Dungeon collapses!! - You die..." release
I didn't bother to run it on the whole Debian archive on one of the Debian developer machines, as that would have probably pissed off some admins... (via Jonathan Carter)

17 April 2006

Andree Leidenfrost: mindi 1.07 & mondo-2.07 Packages

are available from the Debian unstable repository. It's i386 only atm, but amd64 is hopefully going to follow soon. In fact, I'm writing this from a restored amd64 installation.

The upstream ChangeLog can be seen here: http://www.mondorescue.org/.
.

The main Debian changes are:
  • package reorganisation to adjust for upstream changes
  • fix for #357785
  • fix for #331060
  • fix for broken '-I' and '-E' parameter handling (from SVN r468)
  • fix for verify via NFS not working
  • fixed compiler warnings on i386
There is still a handful of 64 bit related compiler warnings because the code wrongly assumes that pointers are 32 bit and can thus be cast to int that I am not sure about how to best fix:

newt-specific.c: In function 'popup_changelist_from_file': newt-specific.c:1651: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'redraw_filelist': mondo-rstr-newt.c:1007: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'edit_mountlist_entry': mondo-rstr-newt.c:1374: warning: cast from pointer to integer of different size mondo-rstr-newt.c: In function 'redraw_disklist': mondo-rstr-newt.c:2506: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'redraw_mountlist': mondo-rstr-newt.c:2538: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'redraw_unallocpartnslist': mondo-rstr-newt.c:2575: warning: cast to pointer from integer of different size mondo-rstr-newt.c: In function 'redraw_varslist': mondo-rstr-newt.c:2610: warning: cast to pointer from integer of different size

Other than that things have been tested successfully on amd64 with kernel 2.6.16-1-amd64-k8 using NFS as backup media and on i386 with kernel 2.6.16-1-k7-smp using both NFS and DVD as backup media.

With the etch freeze still some time away, I'll try to focus on the following issues in the given order:
  1. get RAID and LVM to work - this is by far the most important task and there are numerous bugs in BTS
  2. improve FHS and other compliance, in particular default the location of the scratch and tmp directories to something sane (cf. #312546) and move the location of floppy and ISO images away from /root and make it configurable (cf. #222065)
  3. fix things so that NTFS restore leaves Windows in a bootable state rather than requiring the workaround using gparted - this may require switching things from fdisk to parted which Bruno doesn't like much...
  4. IA64 support for mondo - depends largely on what happens upstream and probably also on whether I can get my hands on an Itanium box that I can actually reboot and restore...
  5. general clean-up and wishlist stuff
I think I'll be quite happy if 1. and 2. are done before etch freezes (and all new bugs are addressed as well). We'll see.

14 April 2006

John Goerzen: Are we crazy?

Last month, I wrote about some reactions to the news that we're expecting a baby. Now we have some additional news that we've been sharing with people. Here are some of the reactions we're getting.

"You have NO IDEA what you're getting in to."

*laughter* "Oh, you were serious!"

*stunned silence*

"That's GREAT! I'm so happy for you!"

"That's exciting!"

"A REALLY, REALLY, REALLY.... BIG, BIG, BIG project!"


So.... We're planning to sell this house:



And buy this one:



The place we're buying is my grandpa's farmstead. As you can see, the house needs a lot of work. We'll hire the same person that did some remodeling in our current house to work on it. We'll be replacing the foundation, siding, roof, interior walls, wiring, plumbing, etc. A big project for sure. But it should be very nice when it's done.

The floorplan on that house is, for us, more suited for having children around. It has some large common areas and smaller bedrooms (our current house is the opposite). The house is smaller than our current one, which is actually a plus. Terah is even interested in learning how to drive on dirt roads! Plus it will be nice to live at a place that's been in the family for so long.

Also, there's little chance that this area will be developed any time soon.

I'll post some more pictures in the next few days.

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

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)

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.

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.

Daniel Stone: [tech/x] xlib abortions

Joe muses about Xlib and connection aborts. Two things:

Yes, libX11 is going away. It's unfixably broken (not only is the implementation utterly horrendous, but the concept is exactly what toolkits don't want), and we can't change existing behaviours because libX11 is just one of those API/ABIs you cannot break.

Yes, the ability to recover from connection aborts is essential. D-BUS is broken in the exact same way, yet some people feel inclined to defend it (e.g. mandating reboots when either of the D-BUS daemon, or libdbus, are upgraded; advocating segfaults in client applications when the bus dies as the right thing to do?!?). I don't think either behaviour is in the least bit sensible, and it would be really keen if both could be fixed (by using XCB in toolkits for the former, by fixing libdbus to be less obnoxious for the latter).

Next.

Previous.