Search Results: "bod"

21 February 2007

Erich Schubert: Sending notifications from Python

I've been using Python to automate some tasks. A common thing with automation is to somehow notify yourself when it's completed. Here's an elegant way to do that in Python (at least for GNOME users):
#!/usr/bin/python
import dbus
sesbus = dbus.SessionBus()
notify_obj = sesbus.get_object('org.freedesktop.Notifications',
                              '/org/freedesktop/Notifications')
notify_if = dbus.Interface(notify_obj, 'org.freedesktop.Notifications')
notify_if.Notify('HelloWorld',0,'','Summary','Body',[], ,-1)
For details, see pydoc dbus and the Notification Daemon API.

16 February 2007

Alastair McKinstry: Tied up in Tentacles

Last year I was working for a small Satellite ISP : we installed broadband over satellite to small communities. Our satellite provider was Italian, so the IP addresses we used were mis-identified as being Italian (not Irish). This turned out to be a problem when google was appearing in Italian, and directing you to Italian sites; I fixed this with a hack redirecting google.com to google.ie using squidGuard in front of a transparent Squid proxy. One year later, Ildana has gone bust, but the servers and other subnets are still in the field, some with new non-Satellite uplinks. I got a call from an old customer who was having a wierd problem: they could reach all the internet except Google. Surely Google had not gone down? A quick look showed that google was now redirecting google.ie to google.com. Curse and recurse ad nauseum. Easily fixed, though. So whos to blame? Google and many,many other websites, for ignoring language preferences stated in the HTTP headers (especially those websites who pull in adverts based on IP address, while failing to pass on language preferences: we saw English-speaking newspaper pages with Italian adverts). The whole broken nature of GeoIP ? especially with Mobile IP, nobody should be making assumptions based on IP address to location. Try looking at geographical DNS extensions, etc. instead. And how should squid and squidGuard cope with mutual loops?

15 February 2007

Biella Coleman: I cite, you cite, I rant

Since there are few topics about academic etiquette than get me as excited as the norms of citations, I was quite fascinated by Joseph Reagle’s blog entry on the topic, a discussion that spanned a summary of Helen Nissenbaums’ work on the subject to his own wrangling with how he should recognize others who have independently reached similar conclusions as his own. Citations fascinate me because they are one of the few tangible inscriptions that reveal just how much of our work is indebted to others; it is stimergic (and if you don’t know what that is, read Joe’s entry as his moral wrangling over citations had to do with this term, his use of it and the discovery that someone else came up with it also). Despite the fact that all disciplines use them, we use them slightly distinctly. Lawyers use them in lawyerly-like ways: they cite the crap out of everything (it is kinda annoying but kinda helpful) and this makes total sense: they are covering their asses (lawyers know how to do this well), they are following the logic of their own practice as case law is quite citational, and well, law professors usually have one if not two research assistants, and this I am sure helps them in covering their citational bases. Another big difference in practices of citations is between a conventions that includes the name of the person you are citing in the body of the text and those that stuff all that data in a footnote. I can’t stand the later convention, not only because it is a pain in the neck to have to go back to the footnote JUST to see who the heck the author is citing but I think the credit should be right there, springing off the page so that the politics of collaborative recognition are, well, very evident (and I do understand that if you are citing a buttload of folks, that sometimes it is just better to do that in footnotes and sometimes with history they are citing way to may folks to really do it effectively in the body of the text). Joe raises some fundamentally thorny questions of who and how do we cite given that we may come up with an idea with the power of our own little brains, only to find out (gasp) that others, past and present and very unknown others, say something similar. On the whole, I tend to try to make clear, as Joe did in the example he provided, where I am totally taking the idea from someone to apply to another idea of mine and where I have an independently crafted idea and I am citing others so as to support my own position, which usually only strengthens my own argument. And what I find is that just because a cohort of folks may be working on similar topic (open souce, hackers), since we do so from our own perspectives and methods, most of the research will be original, though not as much as we tend to perform to our superiors. Also I sometimes find myself with an idea, which I consider as my own, but where I am so in need of a citation because it is an idea that seems at an intuitive level to be right on but it is hard to truly substantiate with the data I have (I am in that position right now and am desperate to find someone who says what I say and thus have a means to support what otherwise seems like a lofty idea…) And in fact, one thing that bothers me about citations is that we don’t seem to take seriously that the date of publication may not just tell us when something was published but help us gauge if something can become “dated.” What I mean is that when (and I guess if) I publish my book on hackers and Debian, it will not be a reflection not of some timeless aspects of hacking but firmly based out of the time period (roughly 10 years give or take 3 or 4) that I was either researching and writing about the topic. And while you can and should cite folks who wrote stuff in the past because that stuff still matters (a lot of what Steven Levy says for example still holds water) a lot changes. And yet I can’t stand how folks then cite someone as wrong when in fact all that went wrong is that time does what it does best: MOVE FORWARD and social phenomenon change along with the passing of new moons. This is not as likely to happen in the hard sciences but sure as heck happens with anything in the so-called human realm (which is why it bothers me that the social sciences and humanities model our citational and journal practices so similarly to the hard sciences, when it seems there are enough differences to warrant more differences than there are but that is a whole other topic). So now I try to note where my analysis diverges because the context so radically changed and really leave critique for those things I can safely and fairly disagree with on its own terms.
Finally, Nissenbaum’s article seems so interesting (I have not yet read it but now will) because it confronts how our practices of citations may or may not (or should) change in the face of a proliferation of access to work due to electronic media (she flags: wildcat publisher, grey literature, preprints). But I have found that, at least in anthropology journals, and especially in the anthropology of science, technology, and medicine, authors are mostly citing other anthropologists, as if a whole scholarship on a topic was non-existent, which seems more odd today when it has gotten easier to mine and find this stuff. They only cite “non-anthro others” when these folks are so standard, it would look horrible not to do so, but there is not a move to branch out, which I find a real shame and why I sometimes get really down on disciplinary journals (and why I am quite content to be joining an interdisciplinary department). And to be clear, I don’t fault individual authors, it seems that this is the unstated expectation and if that is what is going to get you in a journal, and that is what gets you tenure brownine-points, then you do as everyone else does. And that brings me to the final point which is the problem with standards in citational practices. So for example in the field of science studies, everyone must and usually does cite Bruno Latour. And as Chris Kelty reminded us, there is *very* good reason to. But I find what happens is that once a person is flagged and gets cited ad nauseum (which is mostly a decent but not full proof baramoter for judging good work), it become self-perpetuating reality/cycle because everyone else is doing it and it seems weird if you don’t (and I have sometimes seen some articles just awkwardly cite famous people in their discipline when it made little sense to do because, I think of this phenomenon). So all of a sudden, it becomes all Microsoft-Windows like: you cite, they cite, and it becomes “standard” who you cite and you can’t seem to escape the default. But alas, there is always an escape hatch, because one of the gems in academia is discovering that one theorist or book relate x to y and z topic that for some reason everyone else overlooked (because they were busy citing Latour,) to bathe some topic in a wholly new light and then a whole group of folks become unfashionable and the cycle begins, yet again…. The solution? If we only had a couple of research assistants like the lawyers, well maybe we could branch out a little and cover our bases a little..

David Welton: Caching "streamed" content in Rails

In a previous article, I illustrated one way of generating streaming content programatically. The application utilizing it is still slow in sending it, though, because it's got to interact with the database, process the data, and so on. The ideal solution would be to cache it, however, the normal rails cacheing solutions don't work, because the return value is a Proc, and if you try and write that to disk, it just writes the equivalent of proc_object.inspect, which doesn't do me much good. However, I figured out a clever way of running the exact same controller method "standalone", and stashing the results to disk. I placed this file in scripts/cacher:
#!/usr/bin/env ruby
ENV['RAILS_ENV'] = ARGV.first   ENV['RAILS_ENV']   'development'
require File.dirname(__FILE__) + '/../config/boot'
require "# RAILS_ROOT /config/environment"
require 'console_app'
app.get '/mycontroller/big_results_method'
resp = app.controller.response
File.open("# RAILS_ROOT /public/cached_big_results.csv", 'w') do  out 
  resp.body.call resp, out
end
I think it could be improved, because it seems to be running the DB query twice - once during the actual app.get, and once again when the Proc is called. But, in any case, it works, and now I can call it from a cron job.

Jordi Mallach: Tunisia

Last month, Bel n and I managed to secure our trip to Tunisia on the very last moment. So, planning trips on the very last moment isn't nothing new around this place, but we made a big effort to take things to the limit. I can't remember why exactly, but on January 31 we were *so* close to fucking everything up before it started, when we packed our stuff just a pair of hours before having to leave to the train station. My luggage was prepared in a rush, so while I think I took everything I thought I'd need, I didn't really select my clothes too much. The idea was to have our suitcases mostly empty to bring back stuff from the markets: smoking cachimbas, lamps, leather stuff, etc. At that time I didn't know that would end up being a great strategy. Anyway, like 9 minutes before the train's departure we were stuck in Nuevo Centro without a taxi and at that point I really had lost hope about being on time. For some reason, there were no taxis in the area, when it's normally a place where there's tons of them. Suddenly one appeared, we rushed in and I asked the taxi driver to please fly to the station. Happily, we got an incredible green wave around the avenues, he drove us at like 80 Km/h and we even had to wait for a few minutes at the station. In Barcelona, we prepared our small New Year's Eve dinner with my cousin Laia and Marc, and while the plan was to go to sleep pretty early to be in good shape to go to the airport next morning, the bottles of wine and cava emptied quite fast, and around 4:30 we were quite drunk when we decided it was enough. When some annoying sound woke us up next morning, it was really late, so we again rushed out to the empty streets of Barcelona, sneaked into a regional train, without knowing it was the only way to get in time in El Prat airport, and after some initial confusion trying to find the travel's agency desk in the wrong terminal, we managed to check into our flight, being the very last to do so. With all the rush, I couldn't get some clothes from my suitcase transfered into my hand luggage, which I really wanted to do after my nice lost luggage experience during Debconf 5 in Helsinki. Anyway, chances are small that your luggage gets lost, right? But of course, Murphy is always vigilant, and this was a great opportunity to fuck me up. After a short but horrible (due to our really bad hangover) to Tunis/Carthage airport, we were in the long security/passport check. When Bel n picked up her bag and mine didn't appear, I tried to tell myself hey, it'll appear, no worries! . After 15 minutes, the stupid suitcase was nowhere to be found. Apparently, another two pieces of luggage had the same luck, which made us contact a group of four Uruguayans who were missing one of them. Nothing too terrible; it'll surely come on tomorrow's flight. After reclaiming our lost luggage, we went out to the parking where a bus was waiting for us, and on the way there, the six of us nearly fell into the first Tunisian scam, involving a dude selling jasmine flowers at 2 each. The bus took us down to Jasmine Hammamet, the most touristic place in Tunisia. Valencians might have an easy imagining the atrocity of the area by picturing what twice Marina d'Or plus Benidorm including Terra M tica would look like. Kilometres and kilometres of a disgusting Who can build the most horrible giant hotel right next to the beach contest. So it was pretty clear we had to spend as little time as possible in the area. We soon learned about how transport works in Tunisia. The cheapest is to use the public busses and the luagge collective taxis, we soon found out. Our first morning there, our guide Rejeb, working for Iberojet and Solplan touroperators, gave a talk where he advised us against travelling alone, specially around the South, while he offered organised trips around the country for every day of the week. Although we expected this danger! speech, we decided to book the two day trip to the South and Great South of the country, basically because it was the best way to see many places in a short time, even if it meant having limited time in each destination. We wandered around Jasmine Hammamet and discovered Carthage Land, sort of a Disneyland set in the age of Anibal and Carthage's empire, which was inside a newly built medina complex. This was a really bad place to practice the art of haggling, as the place was so desert, merchants really tried hard to get you buy something. Again, we were close to fucking up after our first negotiation, but we finally decided we weren't so interested. Lucky, we later found out the price was outrageous. Sadly, we spent way too much time in that tourist trap, and we found it was too late to go to the real Hammamet town to see a real medina and real stuff, so we had a long walk around the immense beach until sunset. On Wednesday, we did organise a bit with the Uruguayans and some others we had met: Mar a and Santi Kuchi Kuchy , Cristina and Pedro and an Argentinian family, and managed to hire a van driver to drive us all over the North. For quite a good price, we were taken to a few ruin sites in Carthago, now mostly a residential area, and it was really impressive. While the condition of many of the remainings is not optimal, it was exciting to see things which had been built by Phoenicians and Romans 2,000 years ago. I really enjoyed the remainings of the Antonine thermal baths of the city. It had been a huge building right next to the sea; one of the standing columns helps figuring out how big it had been. Right next to this site, the Presidential Palace dominated the whole gulf. Military places are treated zealously in Tunisia, and it is against the law to take pictures of any bit of it, not even a barbwire of the fence. The Palace had a great Tunisian flag waving over it, and many signs advised you against taking pictures in that direction. I couldn't resist.


The ruins of the Roman Antonine Baths After Carthage, we went to Sidi Bou Said, a small touristic town, which had the peculiarity and beauty of having all windows and doors painted in a beautiful light blue colour. Our last stop for the day was in Tunis, where we visited the most amazing medina of the whole week. Unlike the new medina in Jasmine Hammamet, this one was literally packed with people going up and down the maze of very narrow streets. Every few metres you'd come across a new, attractive smell coming from the few salons de th or spice, leather or perfume shops. Here we finally started developing our haggling skills, and managed to get a few items for reasonable amounts.


Streets of Sidi Bou Said Back at our hotel, everyone tried to get a quick dinner and go early to bed, as next morning we were taking a bus for our trip around the South. There was time to call yet another time to the Airport, to find out that one of the luggage pieces had been found. While there was no news about my suitcase, we shared a taxi to the airport to pick the found suitcase, and see if mine was actually there by any chance. Unluckily, it wasn't, so I wouldn't have any clothes for the desert visit. Some people in the group were kind enough to lend me some t-shirts and pants. For my underwear, I actually resorted to using some of Bel n's (no kidding, it was way too sexy :P), while mine dried up after some manual washing. The alarm clock went off at 5:15 or so, and soon after we were ready in the hall with our small bags. When the bus was ready to pick us up, the guide said we weren't allowed in, as we weren't on the list. WTF? We were nearly the first ones to book and pay for it! So he finally let us in, for a short while, until he realised there was no space for everyone, so he demanded that we got off. Of course, we didn't, and a long and very disgusting argument started between the guide, us and a few people who had seen us pay for our trip, and were trying to support us. To make a long story short, we ended up stepping down when I noticed the bus driver calling the police, and after Rejeb, our guide, told us the other bus would be waiting for us at the travel agency if we quickly took a taxi there. We of course knew that was a fantasy to get the bus moving, but dealing with the police at 6:30AM wasn't on my list of activities for the day, so we finally gave up to let the rest of the people get in time to their visits, as they were very tightly scheduled to make everything fit in two days. Nobody was waiting for us at the travel agency, but we were promised our money back, which did happen in the evening; our plans for Thursday and Friday were a bit broken though, and the rest of the morning was spent looking for alternatives. When we had managed to book a new trip in a different agency for Saturday, we took the bus to Nabeul, the capital of the province, well known for their medina specialised in pottery. In Nabeul, we lived a tourist trap which I found to be quite original. Not having walked 3 metres into the city walls, some young dude stops us and tells us that he knows us, as he works in the restaurant of our hotel . I totally didn't remember his face at all, but why not? So he quickly tells us Nabeul has good carpet workshops, and her sister is working in one which is regulated by the Government, and you can only visit two days a week. Coincidentally, Thursday is one of them! So he literally grabs us by the arm and takes us to one of the streets perpendicular to the main market street, and we enter a carpet shop. To the right, his sister probably being like 45 years older, is knitting a nice carpet on the loom. And a few seconds after, we're taken upstairs, where a Teletienda show starts before us. Without being asked if we want to buy a carpet, some other dude starts to unroll carpets and more carpets before us, talking in some very basic Spanish. While we're offered jasmine tea, which is really nice, Ali the brother quickly excuses himself and vanishes, leaving us with the salesman, which continues unrolling more and more before us, now helped by someone else. When 10 minutes later we convince them that we won't buy any carpet, he asks a donative for his young employee, who has unrolled and will now roll back a zillion carpets. Back in the hotel, we have dinner with a pair of Catalans from our flight, and when we tell us about the carpet place, they tell us they went over the same story like one hour before us! On Friday, we got some advice on other places to visit, and decided to go up to Cape Bon and visit Kerkuan, the only important remainings of a Punic city which, when conquered by the Romans, was destroyed to the grounds, but not rebuilt on top (they were busy with Carthage). Romans did an excellent job when destroying cities, and the result is a site which still lets you see perfectly how a small town (around 1,500) looked like 2,000 years ago.


Ruins of a Kerkuan neighbourhood, with their red bathrooms nearly intact To reach Kerkuan we had taken the bus up to Nabeul and then our first luagge to Kelibia, where we took a taxi (after no less than half an hour arguing in French with the taxi driver to settle on a rate for a ride to Kerkuan and then to the tip of the Cape in El Haouaria. Luagges are undoubtedly the best way to travel medium distances for very little money, while getting mixed with locals. During our ride up North, we chatted with a nursing student from Kelibia who was going back to her town for the weekend. She was really open, like most of the people we found in Tunisia, and we ended up exchanging our post addresses; we still need to send her a postcard from Val ncia soonish. This area wasn't so touristic, so the roads, while totally acceptable, weren't as good as the highway from Tunis to Sfax we were used to. We had seen some bits of the local driving skills , but the luagge driver performed some of the most extreme overtakings I've ever seen. These happened every three of four minutes, so after a while I was actually amused about what was going on. We would overtake two lorries on one go when there was absolutely no visibility; if things went too far, people would just slow down to let the overtaker get back into his lane on time, and those coming ahead would just use their headlamps to make them know it was just a bit too close. The taxi driver, annoyed at us, took us to Kerkuan but didn't wait for us; he immediately left, leaving us without any transportation in the middle of nowhere. After a visit at the site, we walked around 2.5 kilometres back to the main road, where we decided it was too late and risky to continue the journey up to El Haouaria, so we waited on the road gutter for a taxi. The first one which stopped was, to our surprise, the same bastard who left us one hour before, who stopped, laughing at us a little. Luckily some other taxi came by in the correct direction, and soon forgot about that man. After a taxi, luagge and bus ride, we were back in Hammamet, and the desert group had already got back from the two day trip. We were asked over and over what happened, what did we do, etc. People who hadn't talked to us before would come over and see; we were really surprised about the warm welcome we had. After dinner, we improvised a customes party, and many people managed to dress up in Tunisian/arabic fashions using bed sheets and so on. We had to wake up at 5AM next morning, but didn't go to bed until 2AM. Nothing could go wrong this time. We had our tickets, we had confirmed we would be going on Sunday the night before, so at 6:15, our new guide came in, and came straight towards me. He said something in German, and after I told him I spoke absolutely no German, he said huh, well you know the bus is full of Germans, and my indications will be in German? . Pretty incredible, but again a fuckup by the agency. My ticket said, clearly: Sahara safari. Bus + 4x4. (ALL). Turns out ALL meant Allemand, not everything included , although we had requested English pretty clearly. This was quite a minor problem though, after having no clothes for a whole week and having been left behind two days before. I think we were really lucky getting that German group, though. We were only 16 people on the minibus, making the stops a lot faster than the normal ones, where 55 persons need to get out and in of the bus. We had our own Routard guide for Tunisia, so we could read about the places we were about to visit before getting ther. Also, I surprisingly knew much of what our guide was talking about, just missing the details he talked about oil production in Tunisia compared to Spain's, among other topics . When the landscape was becoming drier and drier, Bel n and I spotted something dark far away ahead in the completely straight road. As it became bigger, I started thinking it might be the #1 place to visit for me in Tunisia: El Djem's impressive Roman amphitheatre. When we got off the bus, I was totally excited. Before me, the walls of an incredibly well preserved, huge Roman building; in fact, the best Roman ruins in the whole continent. El Djem's amphitheatre was the third biggest of the Roman empire with 35,000 seats, only surpased by Rome's and Capua's. It remained mostly intact until the 17th century, when some of its stones were used to build the city and some of the treasures taken to the Great Mosque of Kairouan, but when it took more damage was during two consequent wars, when the Turks didn't have many problems to blow part of the wall away using cannons to end up a siege of the city.


The Roman amphitheatre of El Djem The underground tunnels are intact, and it's difficult to not have flashes of Gladiator while walking under the arena's trapdoors. Sadly, there was little time to spend there, and we had to continue the journey after just 45 minutes. I would have spent half of the day there. From here, the landscape truly started to get drier and more desertic. The south of Tunisia is a giant olive field, until you reach the Great South, where it's dry enough that the only thing that grows in the land are rocks. Hours later we arrived in Matm ta, the very famous troglodyte village of small holes in the ground. Although I was curious about being there, watching how organised and massive tourism has destroyed these Berber's ways of life dissapointed me greatly. Our guide stopped the bus in one of the pits, which was decorated with white and light blue. In the first room, an old woman was grinding something in a small, stone mill. The dwellers of the few pits still used by their original inhabitants now make a living by letting people into their homes and getting dinar as a payment for taking photographs. What the woman was doing was just a bit of theatre, part of the show. After this first room, we got into the middle of the pit, which had a series of other passages to some rooms, some of which were simply open so we could get in and have a look. I felt a little bit like violating someone's privacy, and wondered how much the house had changed in the last years.


Inside a troglodyte underground house in Matm ta After our visit, we continued up the mountains of Matm ta, and after going by a giant "WELCOME TO MATMATA" sign drawn in white in the middle of a mountain, Hollywood style (!), we stopped for a brief photo-stop (sic). Indeed, the view was quite impressive, and is universally famous as one of the filming spots of Tatoonie scenes in Star Wars: A New Hope. Speaking of famous places, a few minutes later we stopped at the top of one of the hills, were we'd have lunch in the Hotel Sidi Driss, a place of pilgrimage for Star Wars fans, as it was the troglodyte pit which served as the Skywalker's home. The place is full of references to the film saga, and one of the open pits is full of set pieces stuck into the walls. We were served couscous, which wasn't bad, but was cooked and served in the most genuine fast-food fashion. Everyone there gets couscous to eat, apparently, and it's the same in many other touristic places in the area.


Matm ta's lunar landscape From here, our journey headed straight West, in the middle of the rocky desert, until after some time, you could start to see lines of palm tree branches planted here and there, a sign that rocks would soon disappear, being replaced by sand and dunes. As when we were approaching El Djem, at some point a huge, dark spot appeared on the horizon. Douz, probably named after some 12th French batallion which stayed there, is a small town in the very limit of the Sahara desert, built right next to a huge oasis, exclusively dedicated to palm tree plantations, making dates production a big source of income, along with, of course tourism. The travel agencies use Douz as the starting point for several-day trips into the desert, camel rides and stuff like this. Our guide offered us getting a camel and carriage ride in Tozeus for 20 dinar, but Bel n and I declined. He didn't seem to be too happy about it, and had no problem commenting this in German and Arab with the driver (Spanisch and Spanien were clear to me). We learned that the agency (or the guide) makes around 3 Dinar for everyone who contracts the camel rides, after speaking to one native young kid who worked in the camel place. While our German trip mates got dressed in berber fashion, we opted to walk into the desert and play around in the sand on our own. I discovered a few desert insects which were unlike anything I've seen anywhere, and their diminute trails were all over the dunes. Looking West, the view was astonishing, with only thousands of kilometres of yellow dunes ahead us.


The evening sun over the dunes After they came back, we were taken to our hotel, which was really impressive. After leaving our stuff in our room, we headed back to the desert, which was like 300 metres away, to see the sunset over the Great Dune . There's a street which literally serves as the frontier between the rocky ground and the sand desert. From there, you could see many lines of palm tree branches, which are planted by locals in a futile attempt to stop the inexorable advance of the desert. Women in Douz and other towns in the desert limit spend their days sweeping the entrances to their homes, as sand gets in really fast. A small village next to Douz even had to be abandoned and rebuilt in some other place, with the old one being finally devoured by the dunes. When it got dark, we still had some time to kill before dinner, and we discovered a hammam in our hotel. I got in, and saw there was a bored young man inside. He informed us about the prices, and after some short deliberation, we realised we'd spent half of the camel money in some Arab relaxation; while I got a really cool massage, Bel n enjoyed a Turkish bath. I spoke to the guy for a while, and he said not that many people used that hammam. He actually handed the list of services since 2002, which easily fitted in one piece of paper. People don't know what they are missing; he explained that most of the hotel's clients just showed no interest in the baths. I wonder how Fins or Norwegians would react, given their sauna culture. The dinner and breakfast in that hotel was absolutely awesome, and I actually ate too much to have an easy sleep. Next morning we had to be ready at 5:30. That's pushing my limits. The bus started crossing the Chott Jerid when it was still quite dark. The chotts are dry, salt lakes in the middle of the desert, which during some seasons do get some water, sometimes from the underground. The Chott Jerid is the biggest of the three chotts in the area, and the views are fantastic. It's like a giant, totally flat muddy sea which reflects light creating dangerous mirages of oasis-like dark patterns. Before the construction of the recent road that links Douz and Tozeur, crossing the chott was so risky that many people died in the attempt. We had the unique opportunity to see the sun rise over the salty horizon.


Sunrise at the Chott Jerid Again, on our way to Tozeur, we were offered a carriage ride for ten dinar, and again we declined. The guide then asked us if we had no money or what. So in Tozeur we basically wanted to walk around the oasis fields, and ended up talking most of the time with some old man who sold drums and desert roses. On a 4x4, we went up North to Chebika, a really cool town with a small oasis of thermal water, which I guess was around 40 C. The short walk to the wall where the oasis surfaced was packed with children who insistently begged for money or offered necklaces and other items. It was difficult to make them understand you didn't want anything. We then went up the mountain behind Chebika through a road which had its own piece of history. It seems that during WWII, Rommel suffered an Allied siege in Chebika, with a range of mountains behind their backs. The Allies gave him one month to surrender, and he took his time to answer. During that time, he ordered his engineers to design and build a road which would let them escape Chebika through the steep mountains, and they managed. When the ultimatum expired, the Allies apparently found out Chebika had been abandoned by the Germans, including tanks and most of their equipment. So, on the way up, a few kilometres away from the Algerian border, there was another typical visit to the biggest oasis waterfall in Tunisia, which was several metres high.


The oasis at Chebika Our Sahara trip would soon end, and after lunch we headed Northeast on our way to Hammamet. On our way back, we stopped in Kairouan, one of the key Islam pilgrimace spots, with the Great Mosque as the biggest attraction. Unluckily, as we arrived after lunch, we didn't had a chance to see it. Apparently it is really impressive. We haggled a bit for a pair of babouches and a small leather couch in the medina. We came back to our hotel around 7, and found most of the people around the hall. After the obligatory update on how it went, we went to bed as we were exhausted, and of course we had to get up really early to head to the airport. The airport was at that early time of the morning a total chaos, and while people stood in the checkin lines, I tried to find out what was going on with my still lost luggage. I went back to the lost luggage window, which would be closed for 5 more minutes. When they finally opened, they told me once again they had no clue about what was going on with my luggage. I finally understood they had no clue: my tracking number wasn't in their database. I asked them if I could have a look at the unreclaimed luggage storage room. They kindly opened a small door for me, and invited me to go inside and have a look. The view was gross: hundreds of lost bags all over the place. As I was in a bit of a hurry (I actually had to get back to Barcelona), I asked him where to find the bags of one week ago, and he nearly bursted into laugher. Okay, I had to look all over the place, scanning every piece of luggage in an attempt to spot mine. There were bags of absolutely every type in there. In one of the corridors, I sensed a disgusting smell, and figured out some poor guy may have food or something in one of their lost bags, which was rotting in that horrible room. So wrong: soon after I found myself nearly stepping on a puddle of shit, as if someone had literally dumped it right there. Oh my... luckily my search was nearly over and unsuccessful, and I got back to Barcelona with the hope of finding my bag in El Prat. After looking in their two storage rooms I realised I'd probably not see the luggage again, which is a real pain in the ass. A few hours of train later we were back in Val ncia, with a feeling of having spent 3 or 4 weeks in Tunisia, not just 8 days. Really a great place to visit, not only for their cultural treasures, both current and ancient, but for the openness of their people. I hope I'll be back at some point!

14 February 2007

MJ Ray: Darling cheese head SPI was yards too greasy (2)

Jimmy Kaplowitz commented:
"The text "the board to confirm SPI's view of debian" goes to a 404 not found error page. If you are referring to this post: then I certainly had no idea what correspondence you were asking the secretary to report, and he may well not have known either if he wasn't up on the latest posts to debian-vote."
I'm not referring to that post. I sent a later message to board cc:general. I got bored waiting for it to appear, so I linked to where the next message will appear. I'm surprised it hasn't appeared yet. That's probably something to do with SPI's email-hostile server config, which I asked the board to address last month and they deferred.
"Please don't attribute a lack of response to a desire to avoid questions and add red tape when it can mostly be explained by a simple lack of understanding of the question. (Yes, if Neil had acted perfectly he would have replied to your mail asking what correspondence you meant, and if you had acted perfectly you would have included a link to the correspondence in the first place. Nobody's perfect.)"
I don't know what correspondence has been received, so how can I link it? I could link one example from me, I guess, but presumably there is more.
"I also can't find the correspondence to which you refer in any of my SPI list archives, private or not. If it was a direct mail to the secretary, then maybe Neil should have replied, but Neil is no more able to speak for the board in these matters than any other individual director. We'd need to pass a resolution if you wanted an official statement to end any confusion. Personally I think that SPI would act on a GR that overrode a DPL decision in keeping with the Debian Constitution, but as I just said, neither I nor any board member who spoke up on debian-vote can rightly express an opinion of the board on this matter in the absence of a resolution. Certainly a resolution would be reasonable."
I thought Neil is no more able to speak for the board than Joey or any other director. However, when I asked Joey to show proof that SPI only views the DPL, Neil posted. Neil's SPI secretary, so should know whether some proof exists, right? Now it seems a no-op resolution is needed to sort this out, as neither Joey or Neil agreed that SPI would follow non-DPL decisions. In a word: argh.

Bastian Venthur: DPL 2007, Current Candidates

For those who don’t follow -vote regularly, it seems like we have currently four official nominations for this year’s DPL vote: and two pending ones: A totally unrelated note: If you want to get really frustrated and angry but don’t feel like participating in Debian’s infamous flamefests — try to learn to juggle a 5 ball cascade. This will keep you busy for several months without getting on everybody’s (well, everybody but your neighbor’s) nerves. Update: Ooops, I forgot Wouter — thanks Alexander.

11 February 2007

Martin F. Krafft: Adding a note for IE users

I am not a web site designer, but occasionally I'll find myself creating a new website. No matter how ambitious I may be, it won't take long until I trip over Internet Explorer's pathetic XHTML+CSS handling. For sites that are not classified "business," I have long been using a little note at the top of pages, which would use the * html body hack along with display:none to display only in IE, simply because I can't be bothered and do not have the time to write hacks to cater for the family of broken browsers Microsoft forces upon most of the WWW users. This note would alert the reader that s/he'd be able to read all content, but as long as s/he'd be using an inferior browser, the layout and design would be off. There were three problems with this approach: text-mode browsers, search engines, and IE 7.0: text-mode browsers and search engines got to see the text (as they don't process CSS, generally), and I could not figure out how to prevent IE7 from hiding the note the massively skilled and capable Microsoft programmers fixed the oh-so-handy * html body hack and thus prevented CSS to be catered for the broken MS browsers, even though they still need cludges all over the place. I am sure it was just a side effect of clumsiness, but it's now fixed (as opposed to the million other bugs that persist). So today I sat down and implemented a Javascript solution, which uses the DOM to insert content, if it determined that it's running on Internet Explorer. I could have used the <!--[if IE]> ... <![endif]--> construct, but that only works on Windows and not on the Mac. Thus, the Javascript solution is better as it will reach more Internet Explorer users. I ended up using innerHTML, which is a non-DOM Microsoft hack, but in the end, I am coding this only for the Microsoft browsers, so I can just as well use their stuff. Note that you are welcome to use this script under the terms of the Artistic Licence 2.0. You will, however, need to ensure that the insertNote() function gets called after the DOM has loaded. I use this event handler for that. You can see the script in action on my Debian site, using a little hack to display it even in non-IE browsers. Suggestions welcome! NP: Amorphis / Elegy Update: lots of people have contacted me to let me know that the note was visible in Opera and Firefox and so on and so forth. This is due to the ?ie-note query string in the URL, which I added to allow non-IE visitors to view the note (for whatever reason). Simply remove the query string and visit the page directly and you will not see the note unless you are using Internet Exploder.

9 February 2007

Simon Richter: I love it when a plan comes together

So, it's the week before the fair. Last week, the main concerns were proper lighting and colourspace conversion, this week it is test-assembling the flyer stands. That's the cool thing about small companies: there's nobody telling you that certain things should be left to the appropriate department.

Christian Perrier: Interacting with translators: what to do?

Holger Levsen made an interesting suggestion to me today: instead of whining against maintainers who do not interact with translators without explaining what I expect from maintainers, I should maybe explain what we expect. This makes pretty much sense indeed...:-) So, below is the mail I usually send to these maintainers:
Hello,
I just noticed new/modified debconf templates appearing for this
package.
I would like to suggest you to consider calling for translations when
introducing new debconf templates or changing the debconf templates in a
package or, if you prefer, to send a call for translations after uploading
the first version that introduces new templates or templates changes.
How to do this?
0) Install po-debconf
---------------------
If you test-build your package on your system, you shoud already have
it. Otherwise, consider apt-get installing it.
it will bring the needed utility.
1) Call for new translations
----------------------------
Just go to your package's build tree and use:
$ podebconf-report-po --call
This will propose you a generic mail which is to be sent to
debian-i18n@lists.debian.org and call for new translations.
This utility will mention existing translations to avoid duplicate
work.
It will also attach the needed material to this mail.
Please also think about giving a deadline to translators. We like
deadlines..:-)
2) Call for translation updates
-------------------------------
If your package already includes debconf translations (ie *.po files
in debian/po), please consider calling for translation updates if you
happen to change something in the templates...or just in case when you
release a new version.
This is done with the following command:
$ podebconf-report-po
This will build private mails to translators (ie people listed in
"Last-Translator" in the PO files) for translations that are
incomplete. These mails will included the needed PO file for each
translator.
3) Check for writing style compliance
-------------------------------------
The Debian i18n contributors have developed a set of suggestions for
the writing style of debconf templates, to give them an overall
consistency all around Debian. These writing style suggestions are
explained in the Developers Reference. Lintian also warns about common
writing style concerns.
If you change your templates to fit this, please consider 2), of
course..:-)
Of course, everybody will notice that this can be applied to any gettext-based internationalised software.

8 February 2007

Andrew Stribblehill: Dublin and the absence of jet-lag

I’m back in Dublin, trying madly to lose the Californian mannerisms. Starting sentences with ‘So …’ is the most pernicious. It’s excellent to be back; there’s a great sense of camaraderie here, and people are easier to approach. It’s also good to have easy access to daylight — even though there’s less of it, I get to look out of a window. I had been intending to go straight from the airport to where I’m living temporarily, but I forgot its address so went to work instead. I’m so grateful to B and his wife for putting me up for the time being, but of course I’m now looking for somewhere in Dublin to live — preferably close to the Google office. So if anyone out there has a room to spare in Dublin for a non-smoker with simple needs, get in touch. I seem to have found the key to avoiding jet-lag. Stay up the night before you fly, so you sleep on the plane. When you wake up, your body clock will be so disoriented that it’s easy to persuade it to re-sync to wherever you are. It’s great to see colleagues again, but of course I’m now missing friends and colleagues from California. On the whole, however, Dublin is an upgrade. I’m even enjoying the rain. It gets so tedious in California, to know that the whole week will be 22-25°C, with no rain. Of course, the great benefit of Dublin is that it’s only an hour’s flight from Durham and the family. I’m seeing them on Friday!!

7 February 2007

Evan Prodromou: 17 Pluvi se CCXV

I got in late last night, and I've been trying to get caught up on all the various aspects of my life. I spent some time on the plane writing up my RecentChangesCamp 2007 notes, which aren't yet done. But I hit the ground running today. All charged up from a weekend of wiki talk, I decided to exercise some DoOcracy and organize this month's Wiki Wednesday here in Montreal. It wasn't really that hard -- I just made sure that the great meeting space at La Bande-passante was available, then updated the Montreal Wiki Wednesday page and sent out a link to the RoCoCo discussion list for good measure. I'm pretty excited to start discussions about RoCoCo, the Montreal RecentChangesCamp coming up May 18-20. We're about 3 months out, and although Anne and Antoine have done a ton of prep work, we still have a lot to do to get ready. tags:

Wiki Wednesday Portland Speaking of WW, I find it hard to believe that Portland, the so-called "Wiki City", doesn't have its own Wiki Wednesday event. I'm sure everyone there is burnt out right now, but it'd still be really useful. tags:

OpenID and CardSpace So, it seems like everybody and their dog is nattering about Bill Gates's announcement that Microsoft will be supporting the OpenID single sign-on solution in some future version of CardSpace. This is probably quite good for people who are using Microsoft desktop platforms, and obviously very good for those of us who already have OpenID deployed (like Wikitravel does). But I wonder if Windows Live ID users will be able to fully participate in the already growing world of OpenID-enabled sites. It would be cool if a Live Spaces URL, like http://evanprodromou.spaces.live.com/, it's possible someone smart is going to create a Live-ID-to-OpenID bridge, like idproxy is for Yahoo IDs. tags:

3 February 2007

Julien Blache: Solutions Linux 2007

I am running through my post-SL TODO list, and I’m down to the item which reads “Write a report”. We’ve had a very good time meeting users, prospective users and fellow DDs, as always. There were 21 people planned to man the booth, which is an all time record so far, and 18 out of those 21 showed up, which is really quite good :-) I’m not going to list everybody here, first because the list has grown quite long now, and because all in all it’s the usual French team that has been at it for the past few years already. We had a couple of firsttimers though, including Pierre Habouzit and Yves-Alexis Perez. Everybody did great, thanks for helping out, guys! Day 0: unpacking sl2007-booth… setting up sl2007-booth… We had less hardware this year than we had the previous years, for a variety of reasons, so the booth setup actually went quite fast. There were no separations between the booths in the .Org Pavilion this year, so we put a bit of thought into that and figured that, oh well, it’d do anyway. Pierre arrived at 7:30pm on the booth with some hardware from Sven and 1500 Debian flyers paid for by Linbox. We went for dinner, then Pierre and I spent the night hacking on the Babelbox scripts to get the damn thing to work with the current debian-installer. At 3:30am, we got to the point where the Babelbox would pretty much work, and couldn’t figure out what was going wrong at that point. Day 1: Fixing the Babelbox, frying a graphics card We ended up fixing the last bit of the Babelbox on the booth in the morning, and preparing the demo system (Pierre’s shuttle) at the same time. It all went fine and we ended up with a dual-head demo system and a beamer-equiped Babelbox in the afternoon after Niv brought a beamer. We used the back of Fr d ric’s Debian banner as the screen for the beamer. We had a nice chat with the Linux+ magazine team in the afternoon, discussing the upcoming Debian release and a dedicated Linux+ issue. We’ll be helping them out tracking the Etch release in the next few weeks until the release. Back at Pierre’s place, we found out that his shuttle apparently wouldn’t boot. Turns out that only the graphics card died, good news. Day 2: Business as usual, Debian France meeting The second day was really business as usual. We saw more people than the previous day, but still there were less visitors than the previous years. The exhibition was smaller than the previous years too, I just hope it’s only a temporary thing and that it’ll be bigger again next year. This also was the “dinosaurs day”, the day all the old-timers pop by and discuss around the Debian booth. This is becoming a tradition or something :-) As Christian wrote already, we met HP people and talked about Linux support from HP on HP hardware. In the evening, we had the first formal Debian France meeting. Julien Cristau and Christian Perrier got elected to the board of directors, replacing C dric Delfosse and Laurent Fousse. The board got reelected, so I’m still the President, Pierre is still the Secretary and Aur lien G r me is still the Treasurer. Thanks to Tarsus for lending us a room for the meeting! Day 3: Packing up Small day… Quite a few visitors in the afternoon, we talked about Debian France a bit more than we did on the previous day, mainly with other people from the .Org Pavilion. Conclusion Overall, a very productive edition this year, we talked about Debian France a lot, about Etch, about quite a few projects involving Debian too. Now we have a lot of work to do to release Etch and develop Debian France to the point were it will actually be really useful for Debian. Hopefully we’ll have things to show in a couple of weeks.

1 February 2007

Biella Coleman: 2 articles on the problematic effects of scientific endeavors

Technology and science are, at times, part of some solution. But once unleashed in the world, they can also perpetuate problems and act as barriers. I just finished two articles that have addressed this conundrum in provocative ways and I recommend both to read just for the sake of reading as they are written stunningly well and if you teach a course related to science, technology, medicine and society, these two would make excellent introductions to the importance of critically dissecting science, technology, and medicine (and I think you could unpack them for hours and hours, which is very helpful if you are looking to fill up some time). One, Happy Meal is by the author of the immensely popular Omnivore’s Dilemma, Michael Pollan. In the article he starts with the simple suggestion of trashing most fast/junk/processed food in favor of whole foods, notably plants. But then he delves into the much more complicated topic of the science of nutrition, making a pretty sharp critique of the field, especially for 1) its reductionism 2) and the ways in which the food industry mobilizes nutrition data it is favor and often to the detriment of furthering the goals of real nutrition. After I posted the link on an IRC Debian channel, I had a pretty heated conversation with a number of Debian developers about the nature of science and how one goes about critique it (and mobilizing data to make counter-claims). As often is the case, we ended up arguing over the merit of his attack (though everyone agreed that his food suggestions were quite sound, and I find this disjuncture pretty interesting), as some felt like his attack on the science of nutrition went too far. I did not feel like his article was anti-science or alarmist but saw it as attacking a particular configuration of nutrition science (the reductionism, the inability to admit more complexity, and the turning away from common sense principles), which carry with it serious consequences in the so-called real world. He offers a critical edge that I think does not attack the principle of science generally (after all, he is using the techniques of skepticism and he marshals plenty of scientific data, like studies on omega 3s and 6 to make his point, though he does not only employ the rhetoric of science, which I think is key to understand his critique too) but just what is sees as a particularly problematic rendition of it that is especially problematic for nutrition (though I am sure many of his critiques are easily transfered to other domains). Here, for example, is an attack on reductionism:
If nutritional scientists know this, why do they do it anyway? Because a nutrient bias is built into the way science is done: scientists need individual variables they can isolate. Yet even the simplest food is a hopelessly complex thing to study, a virtual wilderness of chemical compounds, many of which exist in complex and dynamic relation to one another, and all of which together are in the process of changing from one state to another. So if you re a nutritional scientist, you do the only thing you can do, given the tools at your disposal: break the thing down into its component parts and study those one by one, even if that means ignoring complex interactions and contexts, as well as the fact that the whole may be more than, or just different from, the sum of its parts. This is what we mean by reductionist science.
And muses on the effects of this narrow path:
No one likes to admit that his or her best efforts at understanding and solving a problem have actually made the problem worse, but that s exactly what has happened in the case of nutritionism. Scientists operating with the best of intentions, using the best tools at their disposal, have taught us to look at food in a way that has diminished our pleasure in eating it while doing little or nothing to improve our health. Perhaps what we need now is a broader, less reductive view of what food is, one that is at once more ecological and cultural. What would happen, for example, if we were to start thinking about food as less of a thing and more of a relationship?
.
But you will see here that he reaches into scientific facts so that he is not throwing out the bathwater with the baby:
Eat less is the most unwelcome advice of all, but in fact the scientific case for eating a lot less than we currently do is compelling. Calorie restriction has repeatedly been shown to slow aging in animals, and many researchers (including Walter Willett, the Harvard epidemiologist) believe it offers the single strongest link between diet and cancer prevention. Food abundance is a problem, but culture has helped here, too, by promoting the idea of moderation. Once one of the longest-lived people on earth, the Okinawans practiced a principle they called Hara Hachi Bu : eat until you are 80 percent full. To make the eat less message a bit more palatable, consider that quality may have a bearing on quantity: I don t know about you, but the better the quality of the food I eat, the less of it I need to feel satisfied. All tomatoes are not created equal.
There is no doubt that the article is advocating, very strongly, a point and he is not being all impassioned and neutral as may happen with a purely scientific rendition of the the topic. This will no doubt cause debate and reaction, which I am sure is what he was aiming for. And whether you end up agreeing or not with his critique, it makes for one fascinating read. Along with this piece is another engrossing, somewhat older one piece by Carl Elliot: A New Way to be Mad that examines the ethical complexities of what seems to be a relatively new phenomenon: Body Integration Identity Disorder (which he may have helped fuel a little via his very article and it is this issue of looping, first discussed by the philosopher of science, Ian Hacking that Carl Elliot nicely captures). Since the article is not available for free, here is another one, also by Carl Elliot, that addresses the same topic Unlike Pollan, Elliot does not have any clear cut answers or a really trenchant critique. More than anything he serves up a tasty meal that will in all likelihood be new to many readers, and the flavors he adds are those that make us confront the many interesting moral quandaries that this case presents.

Christian Perrier: Solutions Linux 2007

(update: numerous typos removed) This year, attending the whole Solutions Linux event wasn't compatible with my paid work (for those who care, I'm since September head of the Personal and departmental computing unit in the Networks and Information Department of ONERA, the French Aerospace Lab). Despite this, I booked at least yesterday afternoon to visit the expo and more particularly the Debian booth. It is always a pleasure to meet again French developers and contributors as well as all these old dinosaurs which I learned electronic communications with 1200bps modems with, some time ago. The Debian booth was as crowded as usual. It was still featuring a Babelbox, built in one night by Pierre Habouzit and Julien Blache. Congratulations, you did an awful job here. I'm glad I saw all those good people. I was tempted to cite everybody and will finally refrain because I'm too afraid of forgetting one of you guys. For our international readers, this includes several of the people I may have had a few flamy discussions and even blog "wars" with in the recent past (I'm just missing you, Joss, being told that you couldn't attend that Wednesday). As usual, we all survived very well. The other "big" event was also the first formal meeting of the Debian France non-profit organisation. Everything is pretty young but the hidden creation work done by the founding members has been huge and the base is now here. Debian now officially exists in France. I'll do my best to play my part in this action and work with other members of the board to fit the organisation goals and bring Debian more prevalence in our country. I also had a very long talk with Bruno Cornec and Louis Bouchard from HP. We discussed about HP customers needs for official support for Debian on HP machines, and not only servers (ONERA has an internal project to deploy a few hundreds of workstations aimed at being the scientific platform for ONERA scientists and PhD students. We already have more than 100 of these, based on RHEL and guess what are my mid-term plans for them? :-)). We just need some official commitment from HP to support using Debian to unlock the internal fears. It sounds like HP could go this way if customers show enough interest. Of course, ONERA's project is pretty small but we are one of the key players in out domain in the country so that could be kind of interesting marketing for HP...and Debian..:-). Bdale, I need to talk with you soon.... Back to work now, for a few days. Then, I'll take 3 days off next week to attend the 3rd Free Software World Conference in Badajoz and present the results of the Extremadura i18n session we held in September, along with other people who held some of these sessions, namely Frans Pop (about the D-I session), Wookey (about the Embedded Debian session), Knut Yrvin (about the Debian-Edu session) and Martin Michlmayr (about the QA session). All people who I will be very glad to meet again.

30 January 2007

Todd Troxell: Or-ing procmail rules

Is there no better way to OR procmail rules than these horrid kludges?

For now I'm going with the DeMorgan Rule method, because it's more efficient and to the point that the alternative kludges. I still feel a little dirty writing things this:
      :0
      * ! condition1
      * ! condition2
                      # official procmail no-op. MUST LEAVE SPACE
      :0 E
      action_on_condition1_or_condition2    
It would be nice to have a recipe flag that means "OR the conditions below"

29 January 2007

Gustavo Franco: Weird results

Your results:
You are The Joker


































The Joker
65%
Venom
53%
Mr. Freeze
49%
Riddler
49%
Dark Phoenix
49%
Dr. Doom
45%
Magneto
42%
Lex Luthor
40%
Green Goblin
38%
Apocalypse
38%
Two-Face
38%
Juggernaut
34%
Mystique
30%
Kingpin
29%
Catwoman
26%
Poison Ivy
15%
The Clown Prince of Crime. You are a brilliant mastermind but are criminally insane. You love to joke around while accomplishing the task at hand.


Click here to take the "Which Super Villain am I?" quiz...

24 January 2007

Miriam Ruiz: Burnout

According to Wikipedia: “Burnout is a psychological term for the experience of long-term exhaustion and diminished interest (depersonalisation or cynicism), usually in the work context. Burnout is often construed as the result of a period of expending too much effort at work while having too little recovery, but it is sometimes argued that workers with particular personality traits (especially neuroticism) are more prone to experiencing burnout.” In this web page there’s a global overview of burnout that might be useful: Burnout is a chronic condition that happens when your body or mind can no longer cope with overwhelmingly high demands. You are trapped in a state of emotional exhaustion, and it is hard to get out of that state. You stop caring about what you do, even though you may feel guilty about that fact. Even if you still continue working, it seems to be hard to make progress. You hardly accomplish anything significant, just go through the motions. Certain categories of people and professions are particularly susceptible to job burnout. Most often these are people who are highly committed and motivated, who have high standards and idealistic dedication to their jobs. Common burnout causes include: For all of those burnout causes what is important is not as much the external factors that fall on you, but how you interpret them, what you say to yourself, and what actions you take in response. Finally, it is important to understand the risks of burnout in your personal or job situations. Once you are its victim, it may not be easy to get things back on track. That condition does not go away in a day. You may not be able to recover by yourself, and you may need to have drastic changes in your attitudes and life style. You are much better off preventing it now than putting your life back together later. Some links:

23 January 2007

Yves-Alexis Perez: Xfce 4.4 released.

Ok, so now everybody knows, Xfce 4.4 has been released, the final version is now out since sunday.

During sunday I worked to package it, and by the time the release was announced, packages were (mostly) ready in our svn. It runs fine (no real changes since 4.4rc2 so there's no urgency).

4.4 won't be uploaded to unstable soon, because of the freeze status. It may be uploaded to experimental in the future.

I've made/uploaded preliminary packages to my repository. There are there packages for ppc and i386. ppc packages are built against gtk 2.10 from experimental, and they run fine (except mousepad with line numbers activated, known bug in gtk 2.10.7). i386 packages are built against gtk 2.8 except gtk2-engines-xfce, built against gtk2.10 because it now uses in the packaging a call to a module only present in gtk 2.10.

If you want to install Xfce 4.4 on i386 via my repository and don't wan't to switch to experimental gtk 2.10, you can do as follow:

apt-get source gtk2-engines-xfce
dpkg-source -x gtk2-engines-xfce_2.4.0-1.dsc
cd gtk2-engines-xfce-2.4.0
vi debian/rules


Now you just have to remove the call to dh_gtkmodules.
Then:

vi debian/control


In the Build-Depends: line, change the dependency from gtk 2.10 to gtk 2.8. (libgtk2.0-dev (>= 2.8) should be ok).

Then just rebuild the package as usual:

apt-get build-dep gtk2-engine-xfce
dpkg-buildpackage -rfakeroot -us -uc


As alway, don't use those packages if you want stability. Current i386 packages are not up to date (as I can't rebuild quickly for this arch), and they can change at anytime. If you still want to test, don't report bug on Debian BTS but rather on IRC (#debian-xfce@freenode).

Happy testing!

Rapha&#235;l Hertzog: More fun with Linux and serial ports on slow hardware

This is a never ending story for me. The first time I’ve had problems with Linux’s handling of serial UART dates back to 2005 (see my previous blog post on buffer overruns). At that time I could improve the situation by applying two patches (kernel-preempt and low latency). One year later, I have a situation where the buffer overruns are again easily reproducible at slower baudrate (54 kbauds), arguably there’s more than a serial application running this time, and it looks like the load generated by other processes (mainly watching digital I/O) renders the system less reliable with respect to its handling of serial ports. This time I follow the advice to try out the 2.6 kernel because many “real-time improvements” (coming from the -rt branch, check its wiki) and “embedded improvements” (coming from linux-tiny) have been merged. So I tried the stock kernel with very bad result. Results are better than the stock 2.4 but they are worse than the patched 2.4. So I decide to try the -rt patch on 2.6, but this patch doesn’t work on my CPU card and my bugreport didn’t lead to any fix (nobody responded even though I tried hard to include the necessary information and I was ready to do whatever I would have been asked to try). At the same time I explain my problem on the linux-kernel mailing list. The discussion doesn’t answer my questions but still brings two ideas to try out. In the end, with two simple tweaks to the stock 2.6 kernel (mainly configuring the UART to send the interrupt as soon as the first character arrives, instead of waiting for 8 chars to accumulate in the FIFO) I have been able to get something better than the patched 2.4. And it turns out my first choices for the 2.6 kernel configuration have not been very wise so the comparison between stock 2.4 and stock 2.6 above doesn’t mean much. Unfortunately, even if better than the patched Linux 2.4, it still doesn’t give good results in some conditions. So my primary question remains: is there a way to patch my kernel so that it will handle the serial related tasks (servicing interrupts from the UART mainly) as its primary job ? I don’t mind if such a change impact negatively the speed of the system if I can make sure that my serial exchanges are reliable. And by reliable I mean of course no buffer overruns, but there’s a second similar problem that has been discovered: when using software handshake, the system can send out between 10 and 25 characters after the partner has sent its XOFF. Sending up to 6 characters after the XOFF is ok, more is asking for troubles because the UART on the other side will probably encounter a buffer overrun… If you have any idea on how to resolve my problems, by any means, let me know.

Next.

Previous.