Search Results: "ah"

2 November 2006

Gunnar Wolf: Oaxaca on fire

Before anything else: Please excuse some grammatical mistakes I've made in this post. You should understand the topic is really upsetting, and typing while searching for links, listening to news, and gathering the basic information for a five month old conflict is not exactly compatible with me spewing out proper English ;-)
Just to re-state the obvious: Mexico is, once again, on fire. This posting is mainly written with the Debian people in mind - An important number of them, after Debconf 6, went to visit Oaxaca - In late May, during the first weeks of this incredible, stupid and scary conflict we are now facing.
I've written in my blog every now and then about our political situation. Many of us had high hopes on our current government. We thought that the authoritarian regimes were a thing of the past, we hoped for real democracy, we hoped for a government that would honor human rights and solve long-standing topics for our society - Yes, we all knew president Fox came from a right-wing party, and didn't expect much advance in the social agenda -which many of us perceive as the real problem in Mexico- but still, hoped for openness and reconciliation with the past.
I won't repeat what I've extensively said over and over - The thing is, Fox's government continues to amaze us with its stupidity, with its near-sightedness, with its hypocresy. Fox's term is really close to an end - In one more month, the govt. will change hands to the first de-facto president since Carlos Salinas (going over another story we hoped to forget).
As some of you wittnessed, there was a popular protest taking place mainly in Oaxaca - Basically, the State's public elementary school teachers demanding better payment for their work. Such a protest is already a common occurrence in Mexico, as public school teachers are among the worstly paid workers (no wonder, then, our country is still undeveloped - Make public education worse, and you have the warranty of an unprepared, ignorant population). The teachers went on strike in early May, briefly returned to classes on late June to properly close the 2005-2006 lective year, but went back on strike afterwards.
Of course, the local government (Mexico is a federative republic, each state is autonomous and makes decisions independently) took a very long time to act - and acted the worst way possible: By sending policemen to forcefully throw the teachers from their camps in the downtown streets, with no negotiation, no answer, not a drop of common sense.
That led to the formation of the (pleonasmicaly named) APPO: Popular Assembly of Oaxaca's People - A group of people, partly formed by the unhappy teachers, mainly demanding the Oaxaca state governor to step down, after he proved he is inept for his office. And yes, I'm oversimplifying here, but I don't want to dig too much - There is fortunately plenty of available information in this regard.
That happened over four months ago. APPO kept control of the city. Nobody denies that this has caused Oaxaca, a city that attracts national and international tourism like few others in the country, a great deal of economic damage - Oaxacan people are, however, still sympathetic to APPO's demands. Governor Ulises Ruiz (from PRI, the party that ruled the country for over 70 years) has not been able to be seen in public in his state for some months already. The legislative power has also been unable to work properly, and the judicial power is half-dead, doing only its most basic tasks. Renowned jurists, such as Miguel ngel Granados Chapa, have repeatedly stated that this is enough for the Federal Senate to declare the governing powers in Oaxaca have disappeared - This would put an end to the conflict, leading to immediate elections, but the Senate has denied taking this course of action. Not only that, but the Federal government took the command of the local security forces, tacitly recognizing the local government is unable to coherently excersise their authority. After almost five months, last week they issued an unanymous -but mild- exhort, asking Ulises Ruiz to consider stepping down.
So far, 15 people have been killed in the different represive actions taken, first by the local police under local command, later by the local police under federal command, and starting last week, by the federal police. Today, it seems the army is getting in the conflict as well, despite promises of not doing so by the federal authorities - Of course, they have become masters in the art of breaking promises.
Why is the federal government upholding Ulises Ruiz? Simple: After the undeniable electoral fraud we had some months ago, there are too many indicatives pointing out that our (supposedly) elected president Felipe Calder n (FeCal, as he is better known as) will have a hard time becoming the president, and many people doubt he will be able to hold the authority for the six years. So far, he has shown no better aptitude as a statesman than Vicente Fox: Instead of boldly facing the claims of fraud, he just chickened out and has spent many months hiding from the public, appearing only for selected, friendly audiences. For many months already we have heard "Ulises ya cay , le sigue Calder n" (Ulises has fallen, Calder n is next). This country has not been so badly shaken in decades - Of course, Great Statesman Vicente Fox insists the country is in peace and there are no red spots. Fox even was stupid/blind enough to state that the problems in Oaxaca would be dealt with easily and successfully, just as the problems in Chiapas and Atenco were doing his term. During Fox's campaign, he promised to solve the centuries-old Chiapas problem (that resulted in the EZLN uprising in 1994) in just 15 minutes - He just has not had time to do so. Atenco? Yes, in 2002 an angry people made him step back from the most important project of his term (a new airport for Mexico City). In May 2006, Atenco sprang again to the news because of a massive repression - I'm not going into details on Atenco right now, as it would be off-topic, but you can look at my article in FeCal.org.mx or watch a very strong video by Canal Seis de Julio (both in Spanish only) for further details.
Last Friday, however, something was different. In a repressive action, a USA citizen, the Indymedia reporter and cameraman Brad Will was killed by a paramilitary group. Even more, he was killed while doing his work, and we can clearly see this evidence on his last tape. Of course, the US ambassador issued a warning, asking the US citizens not to go to Oaxaca. And, as Lorenzo Mayer says, hay de muertos and muertos - There are different categories of dead people. A highly visible US citizen is more important than the other 14 dead Mexicans, and now the Federal Preventive Police is clashing in Oaxaca.
What should be shocking, but is not so much to those of us who know this beaten country, is the attitude of the authority when taking the city. After five months of occupation, the Oaxacan people have got used to living with APPO - be it for good or for bad. Tourism has diminished, but the people's living sources have not been attacked. Of course, as soon as the Federal Police took the downtown areas, all sorts of reports of looting have been reported. The policemen are robbing even sodas and chips, and up to TVs and microwaves. As many people state, this is a very Kafkian country.
Of course, we don't know what will come next. Most of the city has been "freed", and the APPO is holding at the University. The University is autonomous, and the PFP commands have promised not to break its autonomy - but we don't believe that. There are fights very close to the University. The Rector himself spoke a couple of hours ago at Radio Universidad, the main broadcasting point for real news on this subject (I am following on the news thanks to KeHuelga, 102.9MHz FM in Southern Mexico City, or at their webpage, from where they link to many other underground or Internet radio stations joining in the broadcast), and the reports are dramatic. Dramatic, as well, is the way all of the commercial news sources are ignoring the facts.
I want to keep you updated, as one of the very few reasons things are not worse is the public opinion and, even more, the international pressure. I'm sorry I'm not giving more links right now, but I will soon. I don't want, of course, to flood people that read my blog through the different syndications with a technical profile, so updates via my blog will be quite sparse. If you can read Spanish, we have posted many articles at FeCal, and many other individual sites are also joining in. A couple of links, and I'm off for now.

Daniel Stone: input hotplug merged to master

So, I finally merged the input-hotplug branches on master. Basically, this means that instead of attempting to hide behind one device (/dev/input/mice, the console keyboard), and hacking around it with gash and tape when we actually expose multiple devices[0], we finally expose multiple devices in a useful way. This is consistent through out the Xorg and KDrive servers; Xnest and Xvfb also have support, but that's not the most useful thing ever.

This required a huge overhaul of the old input code, much of which dates back to the mid-80s; the bits that don't were sticky-taped on the side, working more in spite of our core input code than with it. So, in addition to being generally useful and providing things like multiple keymaps on different keyboards and different acceleration (and so) on different pointer devices, it also actually caused a net removal of code.

So, once you've set yourself using evdev for the drivers, you can also now dynamically add and remove devices. Last night, not long before I released all the components, I removed all the input devices from my configuration file, told X not to add any, and added 'respeclaration --daemon' to my session: completely dynamic input. I've been using the core bits (the whole input API rework) for quite a long time, along with Zepheniah's evdev driver, but this is the first time I've been using a session with completely hotplugged input, as opposed to adding and removing devices every now and then to test the hotplug capabilities, which was actually a piece of cake, compared to reworking all our core input code to deal with devices appearing and disappearing.

Still, this all needs good desktop integration. Keyboard and mouse applets need to become aware of multiple devices[1], and allow people to configure them separately. The desktop should also take over the role currently filled by respeclaration, which works perfectly well, but shouldn't be generally deployed; management of input devices thus turns into a session management issue, which leaves the desktop to dictate policy.

There are still some nits in the D-BUS policy to sort out (right now, only root can reconfigure the devices), but I believe it's fundamentally the right model: it's machine-oriented, rather than session-oriented. There are still some minor changes that need to be made, but working out who should be trusted to add input devices was more or less impossible in the X security model.

xserver 1.3 (for Xorg 7.3) should be good fun.

[0]: Key presses/releases from your second device will just magically appear from your first device. Useful, huh?
[1]: In brief: check for inputproto 1.4 at build time, check DEVICE_CORE on whatever appears as the core pointer, and if 'iscore' is 1, then you have a virtual core pointer. Anything that sets status to 1 for DEVICE_CORE will also generate core events. Setting controls on the core keyboard or pointer will propagate those changes down to all the devices which also send core events. I'm going to document this soon.

1 November 2006

Antti-Juhani Kaijanaho: 035 years old

I was born on 19771102T2018+0200. Thus, it is now almost an hour into my 29th, that is, 035th, that is, 0×1Dth birthday. And what am I doing right now? Celebrating? No, actually I am writing a novel. This is the fourth time I participate in the interNational Novel Writing Month. The MissionImpossible is to write 50 000 words of fiction, a single story, in thirty days. That makes about 1667 words a day, roughly half a dozen pages of manuscript for each 24 hours of this month. I won last year, but whether I cheated or not only $DEITY can tell. I certainly can’t. This year, I want to finish with flying colors. Yesterday (the first day of the hellride) I learned a valuable lesson. If my writing slows to a crawl, then I am writing something I should not be writing. Rethinking the scene in question, to include some sort of jeopardy, usually helps. Not that my writing is anything close to stellar when it flows; but in NaNoWriMo it doesn’t matter. Quantity is the only thing that matters, quality is left as an exercise to the reader. Um. No. Quality is the worry of the National Novel Editing Month, in March. Last year I cat-vacuumed by writing blog posts about the Finnish judicial system. This time I wised up and made it a topic of my novel. It is a sf story, set in a future colony world populated by Finns. Who have refrigerated the Finnish system. Well, almost. They have changed it enough that I can call it fiction. Um. Also to be able to write about things that cannot be written. If it is fiction (in fact, not just in fiction), I am not breaking my oath to keep the deliberations secret. Because it’s fiction, I am not actually writing any court case I have sat in. Setting it in a different world allows me to create court cases that would not exist in the real world. Like trying someone for a murder they are alleged to have committed fifty years ago on another planet, with no physical evidence. Oh wait, almost sounds like the Lake Bodom murders. Damn. Oh right, I forgot. I didn’t sit in that panel of judges. Here is a bit of infodump I wrote two hours ago:
Some of the first-generation boardmen had told him stories about grand courthouses with metal detectors at the doors, a dozen courtrooms, the same number of judges and hundreds of boardmen. That was in Finland on Old Earth, of course. Not so here. The courthouse was really a modified small apartment building. There were no metal detectors; the technology was hellishly expensive and wasteful. There were no guns on the planet (except in the Old Earth Museum) and knives were not a problem. There were only eight thousand people, so one judge was quite enough, and twenty boardmen. Well, four judges, one at the Thing’s Court and three at the Apellate court. And occasionally a new graduate from the university doing their clerking to obtain their attorney status. The courthouse had two large courtrooms. The larger generally hosted criminal trials of the Thing’s Court; the smaller was used by the Apellate court when they wanted to hear evidence themselves. Which was not very often. Civil cases sometimes used both rooms at the same time; the wall separating them could be easily removed and put back. The old-timers did approve of the layout and furnishing of the big room. Apparently they did much resemble the Old Earth system. Riku went in, said hello to the janitor and used the ultra secret boardman access hatch to reach the back room. He was the first boardman there, so he took his time to check his appearance, took a crap and made coffee. Justice must not only be just, it must also look just and stay sharp.
Wish me luck in this insane journey, would you? (Notice how I cleverly avoided asking for conga rats for the birthday. Tee hee. Or something.)

Uwe Hermann: Famous Unsolved Codes and Ciphers

Here's a nice list of Famous Unsolved Codes and Ciphers. Makes an interesting read for a rainy day... Or if you want to give one of the codes a try and solve it, go ahead, and let us know the results :-) (via joatBlog)

Wouter Verhelst: Hello 2.9.0!

No, not the Linux release of that version (that's still far away, if it will ever be developed, and I don't think I'll be wanting to run that if/when it does). Instead, I'm talking about the NBD userland tools of that version, which I just released. Today we're only a few weeks after the release of 2.8.7—sorry for all you packagers out there who now have to throw away your work. But it's well worth it; nbd-server now finally functions like a real UNIX daemon: you specify exports in a configuration file, you can export more than just one export from the same server, and it has some interesting new features today. If you ever looked at nbd-server and decided that the way it's implemented is too hackish for your taste, then 2.9.0 may be a good time to revisit that opinion. Of course, I should note that 2.9.0 is a .0 release, so does still need some testing in the wild, so might not yet be ready for your production server. But other than that, it should be pretty much okay and usable. Give it a try! In related news, Ronnie Sahlberg, one of the wireshark developers, has made my day by writing an NBD dissector, which I've been wanting to have for quite a while now. Happy happy, joy joy.

Ross Burton: EphyDeli 0.2

EphyDeli is a Python extension for Epiphany that adds Post To Delicious menu and toolbar items, for posting the current page to Del.icio.us. It's lean, mean, and very simple, but does the job. I've just released EphyDeli 0.2. Johan Dahlin was disgusted enough by my quick hack to refactor it for me, and Gareth Murphy drew some cool new icons. Thanks guys! To download it you can either the tarball or fetch the bzr tree.

Antti-Juhani Kaijanaho: I was wrong

It’s snowier now than it was then.

31 October 2006

John Goerzen: Jacob update: Week 4

Well, it's been busy around here. Since Jacob was born, we moved, and the house project is keeping us busy, too.

Jacob gave out his first smile Sunday morning -- and, much to Terah's shock, it was to me. He's a lot of fun to be around when he's alert.

But he's also preparing for a promising career as an opera singer, late in the evenings. He's got a voice that projects well. So Terah and I are still not getting a whole lot of sleep.

I've posted a few new photos of him as well.

30 October 2006

James Morrison: Alumnit

Yeah, I'm back on alumnit. I'm sorry to all those that had to see those same old 4 posts for so long. What happened is that my feed changed and it looks like PlaNit didn't deal too well with redirected feeds.

29 October 2006

Benjamin Mako Hill: Myopia

Maybe I'm just uncultured but when I first heard the name of the Myopia Hunt Club, my thoughts leaned more toward my vice president than a golf club. Apparently, I wasn't too far off etymologically.

28 October 2006

MJ Ray: The Dunc-Tank: Clarifications

Wouter Verhelst kindly replied to my comments on his calculation of Steve's net pay :

"The point wasn't getting a "correct" number; only Steve could produce those, if he wanted to. The point was proving that if you get 6000 for one month of work as a business, then those 6000 aren't what you can spend on your personal life. Whether the exact number is 2400 or 3400 is, thus, totally besides the point." "But, yeah, thanks for the clarification :-)"
I agree that 6000 gross works out as a lower net figure. So what? That's obvious to anyone who works and has noticed their gross pay isn't what they actually get to use, even if these "people have never had to run a business". (And I think running a business is a choice, not something anyone ever "had to" do.) If whether it's 2400 or 3400 net wasn't the point, why use inflated figures to advocate paying 6000 gross? My main point was: Dunc-Tank is not buying in a free market, so how can we tell what the fair rate is? Brian M. Carlson explained the lack of VAT:
"States in the US have either an income tax, a sales tax, or both. In the general case, non-profit corporations are exempt from taxation, as long as they have the proper paperwork. Also, certain essentials, such as necessary foods (cheese, but not soda) are exempt from sales tax where it exists." "Since Steve is almost certainly not a non-profit, he will have to pay income tax to both the state and federal governments; the rate depends on his annual income. He will have to pay FICA (social security) taxes, which are approximately 7% of the income. Any amount over $90,000 is not taxable under FICA."
Thanks for the explanation. I hope it'll help other non-US people. Of course, the actual payment rate is minor to me, compared to the problems of dunc-tank being designed as a market for lemons and being driven through by brinkmanship.

Antti-Juhani Kaijanaho: First snow

I woke up this morning and found the following scene outside the window: It’s first snow and I think it is on time. First snow rarely lasts, though; it is likely this snow will have melted away by midweek, if not earlier. Permanent (well, one that lasts until spring) snow generally comes a month later. Last year permanent snow came just before Christmas.

27 October 2006

Scott James Remnant: What I want in edgy+1

Now that edgy has been frozen for the beta release in a week’s time, and the next developer summit, where the plans for the next release will be discussed, has been announced, I think it’s the perfect time to start thinking about the kinds of features we want to see in that release. At our recent sprint in Wiesbaden, Mark reminded us that when Ubuntu first released we were leading the field in many of the components we installed by default. Many users came to us because we provided Linux 2.6, hotplug/udev and Project Utopia by default; along with the latest GNOME release and development framework. Now everybody does that, butwe led the way. With the dapper release, we produced something that could be supported for a long time. With edgy we’ve scratched our itches and fixed things under the hood that have been causing us problems. edgy+1 seems a good time to integrate the hottest new technologies and lead the way again. So what do I think is exciting, and what do I want in edgy+1? telepathy, farsight and galago Anybody who has used the 2006 software release for the Nokia 770 Internet Tablet will have seen these in action already. They’re, in my opinion, some of the most exciting projects currently being worked on; and ripe for integration into Ubuntu. Telepathy is a communication framework built on DBus that allows any application to establish communication with users all around the world, using any protocol from IRC to MSN to VoIP. It uses Farsight to provide the codecs and protocol support on top of the (GStreamer)[http://gstreamer.freedesktop.org/] media framework. And Galago glues it all together; providing presence information about contacts and allowing users to specify their own status. Galago Presence Applet This means that you’ll be able to contact your contacts. Your calendar alarm tells you that it’s a colleague’s birthday, you’d be able to click their name and see a selection of different ways that you can contact that person right now. From e-mail, opening an MSN or Jabber window or even establishing a VoIP or SIP call to them. The most exciting thing is that because every application on the desktop has easy access to this, people are coming up with fantastic ideas for using it! zeroconf By this, I mean zero configuration networking. Something the OLPC project appears to be going to do very well indeed. Where no existing network infrastructure exists, your computer should still be able to communicate with other nearby computers. It should use ad-hoc wireless networks, link-local IP addresses and server-free DNS resolution with libnss-mdns. Play games with your friends on the train without touching a button. Chat with other people in a lecture hall or at a conference where the existing network is unavailable. Hassle-free home and office networking without any complicated set up. Networking that “just works”. avahi Whether your computer is on an infrastructure or ad-hoc network, it should be able to locate resources on the network and share its own to other people. Avahi allows applications to, via DBus, do this by using a mulicast form of DNS; compatible with Apple’s Bonjour protocol. The immediately obvious benefits of this are that one can locate such things as file servers without any complicated directory; more fun things can be done too, such as sharing your music from RhythmBox with other users on the network. Combine it with telepathy, etc. and you can establish communication with anyone else, with a wide range of different protocols. The immediate problem here is that we currently have a “no open ports” policy, which if we’re going to give the users the opportunity to establish ad-hoc networks is almost certainly a very good thing. We already have exceptions for that policy for DNS and DHCP, it may be that Avahi (mDNS) joins that list. Another option is a “mobile-phone like” interface for enabling and disabling discovery and sharing. Bluetooth I don’t think we should stop discovery and sharing at 802.* networking either. Linux actually has a pretty decent bluetooth stack, it’s something that we should start taking advantage of. Your computer should be able to discover paired or known bluetooth devices when in range without intervention and communicate with them. If I attempt to establish a network connection, and my phone is nearby, that should be offered as a method for getting on the Internet. If possible, it should also be offered through telepathy as a method for contacting people in my address book! Synchronisation These technologies together give us a really big possibility, automatic synchronisation of user’s information. When I bring my laptop home, it should automatically update my desktop with any changes I’ve made to my address book or calendar, and any shared files, etc. Likewise it should be automatically be updated with any changes made on the network, to a company address book on a server, for example. And why stop there? Don’t use share your music, synchronise it so that your laptop, desktop and iPod have the same selection available at all times. Hassle-free backups is an obvious win here. But we’re stopping again. Why is my mobile phone, and PDA excluded from this? Via bluetooth, my address book and calendar should be automatically updated from these and these should be automatically updated themselves. If I add a new number to my phone’s memory, it should appear in my computer address book; and my computer should offer me the ability to contact that person (using VoIP, for example).

Erich Schubert: mDNS is nice

I'm setting up my new laptop, and for obvious reasons I have to copy over some data from the old to the new laptop. The wireless network here at my apartment-sharing is crappy; and it lacks a local DNS server offered by newer DSL routers. So I would have to find out the current IPs of my laptops to copy data around (note that the router also doesn't give you IP persistence apparently, the laptops have new IPs each reconnect...) mDNS to a rescue. Multicast DNS (Bonjour / Zeroconf / Avahi) comes in handy here. It allows me to locate my laptops by just using "hostname.local" (using the libnss-mdns package) or using the avahi zeroconf browser (package: avahi-discover).

Julien Danjou: Knud can't

Or Dunc-tank in sorted order. I never wrote about this until now. But today, when I woke up, I had this strange feeling saying "jd, you gotta do something about DT today.". Actually, that was just my f**** alarm clock. And here I am, and I'm gonna talk to you about the dunc-tank experiment. First it's important to know what a real dunk tank is, because personally I've got no idea until I looked up on Google. So, you see? A dunk tank is a funny game finally. I must admit, if Anthony Towns was seated above the dunk, I would have vote in favor of DT!
Maybe I'm trying to give you some idea for the next DebConf, who knows More seriously, after the co-signed mail that Joerg Jaspert just sent, I wanted to say something more.
Some weeks ago, when our DPL (amen) asked us our opinion about that idea, I said "yeah, go ahead". Of course, that was my opinion at this time, and it changed a little. I still don't have objections about people getting paid, because I'm not jealous.
What does that mean? This means that if Debian was only composed of me, Anthony, and two release managers, I wouldn't have any problem. But that's not the case here, I discovered that there is a lots of people in Debian. Maybe should I tell DT people about that, don't you think? Reality is obviously different, and DT has been launched without a real consensus. We lost valuable people, and I dislike this project for that. We lost time. And we lost money, because time is money (don't beat me). That's an organised foutage de gueule [1] . But please, remember this is an experiment, so kids: don't do this at home.
Notes [1] Feel free to translate yourself

MJ Ray: Google Software Project Hosting

Google's hosting service seems to share Sourceforge's non-free code problem. I've not many reports about the hosting yet, but I'll be surprised if old problems like the registration pressure, accessibility failures, .coop bans and so on from above aren't repeated. I'd avoid Savannah and GNA for now, unless you know you are happy with their policies (such as required early adoption of FDL, or HTTPS-only). BerliOS.de and TuxFamily.org seem more relaxed, but that does mean you have to check each licence - a problem for browsers more than publishers, I guess. If there's a debian angle, alioth.debian.org is another option.

26 October 2006

Wouter Verhelst: US$ 6000

There's a bit of commotion around the amount of 6000 US dollars that's being paid to the RMs for a month of work; some people seem to think that this is a lot of money for one month of work. My guess is that these people have never had to run a business. Steve does run one; I don't know about aba. But let's just make some calculations here, shall we? I'd make them with the US system in mind, but as I have a business in Belgium, that's kinda hard to do. So I'll make them with the Belgian system in mind instead. And now if you want to pay yourself, you get to do the above dance all over again. You get to pay income taxes, insurance, rent or mortgage, Internet, phone, water, and whatnot. Plus food. In addition to all of the above, I don't know how much Steve has to drive around to talk to his customers, but if that's "quite a bit", then he may be leasing a car. I don't know whether he's got an ad running somewhere to attract more customers for the months after his paid Debian work, but if he is, he may have to pay a considerable amount of money to do so. And there can be any number of things that I've forgotten to include, but for which you still need to pay. In addition, if you want to run a business in a sane way, you need to ask a bit more than what your costs are, because there'll always be a few days that are not billable, and on which you need to live and pay expenses, too; but I could imagine that these were dropped for this particular month. Obviously the above numbers all involve some guesswork. I've been running a business for quite a while now, but it's only recently become profitable; many of these numbers will go up when your business is profitable for a long time. 6000 is nothing. I've had customers tell me you're cheap five seconds after I asked nearly twice as much. Trust me, that's no fun. It's one of the things I've had to learn while running a business: some amounts of money that seem hugely expensive in a private capacity are next to nothing in the business world. That's just the way it works... Finally, let me note that this is not meant to take any position one way or another in the matter. I did feel that experimenting with paying fellow developers was a good idea, but not at all costs; and certainly, I don't feel that going ahead with this by setting up something of the likes of dunc-tank is a very bright idea. I just thought it good to put some numbers into perspective. Update: Set the numbers straight. 6000 - 1200 is 4800, not 5800. Whoops. Yes, usually I do use a calculator :)

Peter Van Eynde: A deja-vu moment

Here I was reading up on how to install software on the PVR box we bought (a dream 7025). I find the developers information corner and read the ipkg documentation. Talk about a deja-vu. I feel I'm going to get along just fine with ipkg creation.

In other news I've uploaded a new version of slime to main. Yeah. Many thanks to Luca, Marco and the other slime developers!

Ben Armstrong: Tuxpaint GUI testing with xautomation

Tuxpaint could be a poster child for l10n. It has translations now for 68 different locales. The large number of locales poses somewhat of a problem for testing1. Tuxpaint 0.9.16 just released. During the release preparation, the manual testing of all of these locales drove me nearly insane. So to help out next time, I created the following bash script using xautomation2, imagemagick and xprop (from xbase-clients):

#!/bin/bash
testname="tuxpaint" 
root_geometry= xprop -root _NET_DESKTOP_GEOMETRY  cut -d= -f2 
root_x= echo $root_geometry  cut -d, -f1 
root_y= echo $root_geometry  cut -d, -f2 
xc=$((root_x/2-1))
yc=$((root_y/2-1))
capture_tuxpaint ()  
   tuxpaint --startblank --nolockfile --lang $1 --640x480 --windowed --nosound &
   sleep 1
   xte "mousemove $xc $yc" 
   xte "mouseclick 1" 
   sleep 1
   xte "key Escape" 
   sleep 2
   import -silent -window "Tux Paint" $testname-$1.png
   xte "mousermove -120 -40" 
   xte "mouseclick 1" 
 
for lang in  tuxpaint --lang help  awk '$1~/^[[:lower:]]/  print $1 ' ; do
   capture_tuxpaint $lang
done

I’m not entirely happy with it, but it’s at least a starting point. Ideally, I’d make .pat files to use with visgrep to find coordinates for the button images instead of hardwiring the approximate button positions. Also, the script needs a companion script to configure the system for testing (i.e. perform the locales configuration and install all fonts). Here are the resulting screenshots which show up a few problems with the translations. It looks like the quit dialog strings have been updated since they were first translated, so now we need retranslation for several languages. Also, there are some languages, like Swahili and Klingon, for which there are no locales in glibc in Debian. I’ll have to talk to the glibc maintainers about that. And for that matter, I don’t even know if a DFSG-free Klingon font exists. In any event, I’m delighted with the results, and look forward to using xautomation more for GUI testing.

1 For one thing, several languages require special fonts. For another, there is no way to get tuxpaint to tell you what locales it supports. Granted, there is --lang help, but this is a crude approximation, as the mapping between language and locale is arbitrarily hardwired (which hmh on #debian-devel irc pointed out to me is just plain wrong). It doesn’t help me at all in the arduous task of configuring glibc locales so I can test them. For that, I need to look at i18n.c.

2 I tried using xmacro at first, but xmacrorec just made my pointer jiggle back and forth. It seemed like it was updating the position for a short distance, and then X was resetting it back to the former position of the pointer. Some strange interaction with my window manager, perhaps? But ultimately I am happier with the xautomation approach anyway.

24 October 2006

Wouter Verhelst: Conversion in progress

Sometimes the things you want don't happen until you stop trying so hard. For as long as we've had Intel-compatible computers here at home, my parents have been running Windows. At first I didn't care—this was before I had even heard about Linux, let alone install it—but as I became more and more involved in Linux, I wanted more and more for them to make the change, too. Especially given how I'm still supposed to be responsible for making sure their machine keeps running; if I wasn't, I wouldn't care as much. These are the approaches I've taken to try to convert them, and why they failed: All in all, my message is this: if you want to convert people like my parents—who couldn't care less about all this freedom stuff and whatnot, shit just has to work for them—to Linux, then you should make sure that they have a reason to use it. They didn't use it when I tried to push them behind the curtains. They didn't use it when I tried to push them openly. They only decided to use it when, eventually, they had a solid reason to use Linux: there were applications there that weren't available on Windows. Of course, there's nothing in gnucash, the gimp, or scribus that prevents me from installing it on Windows. But installing software on Windows is such a pain—and, well, I did have a hidden agenda.

Next.

Previous.