Search Results: "sto"

27 January 2007

Daniel Burrows: Sandisk doesn't want your money for a music player unless you run Windows

I bought a Sansa e280 last weekend to replace my aging and bulky Neuros (the last straw was when I lost the charger for the Neuros). It's nice to have such a small, light music player, and having 8GB of space is a big bonus. But when I went to the Sandisk web site to get a new firmware, I discovered that they only provide a .exe of a magic firmware download program. This is despite the fact that, as you can find by searching on the Web, the actual firmware upgrade procedure is just "copy the firmware file onto the device".

So, I wrote to support, mentioning that I don't have a running Windows installation and asking if they could provide an alternate means of updating the firmware. Here's the response:


Please be informed that your Sansa e280 is supported on Windows XP. If the operating system of your computer is not Windows XP, if you have just bought your Sansa e280, we do recommend that you contact the store where you purchased it and inquire about replacements that can be supported on your operating system or if that store honor refunds, please do ask for it. Please do provide the proof of purchase and packaging for verification purposes.


Now, I can work around this problem -- but after reading that brush-off I think I might just take their advice; as it happens, I saved the packaging just on the offchance something like this came up. Can anyone recommend a decent, small, flash-based media player that works well with Linux? Must-have features are:



I still haven't made up my mind: I might hang onto the e280 out of inertia and wait for the Rockbox guys to figure it out (it looks like they're making pretty good progress). But if there's a better vendor out there that actually wants my money, I'd love to hear about them.

26 January 2007

Biella Coleman: Low-tech solutions in a pinch and in the tropics

Recently I complained about using dial-up in PR and I believe in response to my post, Joey Hess provided some great tips for making the dial-up experience a little more bearable. He, of course, was providing a set of solution to constraints, which is what the likes of Joey Hess do a lot of their waking (and according to a recent IRC conversation, even dreaming) hours. I as an academic am not involved so much in the business of finding real hard solutions but when I go to Puerto Rico, that is what I DO spend a lot of time doing. And I came up with 3 solutions this year, 2 of which I was particularly proud of (one of which may be useful to the blog readers), so I thought I would share them here: As I wrote about a few weeks ago, my mom has been plagued with a problem of choking on her saliva because she is not swallowing. It causes her and those around her a lot of angst. I tired many things but when I stopped trying and just started watching and observing to see when it seemed to be worse, I finally noticed that if she wore her dentures, the problem, while not totally resolved, was like 70-80% better. With her dentures, she would never choke on her spit and often times there would be not spit. I think the dentures changes the shape of her mouth so that she can swallow with less effort. I was pretty proud to notice this because it was the overwhelming problem of the season. Now, there is, of course, another problem. She loathes wearing those teeth and well, it has been a battle to convince her it helps (I think she sort of knows but does not want to admit it) but she is wearing them a lot more than she used to…. Maybe I will come up with a long-term solution to that problem later but I have failed in all of my attempts while still there which stretched from begging, to coy deception, to outright bribery. So in PR, we have an awesome mutt, who goes by one of three names, Isabela, Gordita (look at her tummy in the pictures to see why we call her chubster ) and Pucha. She is literally the joy of the house and she truly revels in this role. She is, in fact, like a hovercraft of love , in the sense that she will hover over you, as you are, for example, trying to get work done, and she will whimper, or lift her little paw, or more audaciously butt her head against your hand, until you assume the position and pet her, or preferably hug her. And she wants demands this sort of attention for as long as you can humanely sustain it. Ok this is not the problem part (though it can be a problem when trying to complete work and I usually just give up and give in to her or kick her out of the room). The problem was that the pucha would routinely despoil the same spot on the floor, usually every day, usually in dramatic response to leaving her in the house alone for more than 10 minutes. And I know this is willful because she is otherwise quite potty trained. She just likes to remind those who shower her with affection and love that she wants it to rain harder. The problem was that she was soaking and thus really rotting the wooden trimming (and poking around led me to discovering the third huge problem, termites, but more on that soon) and this had just had to stop. Giving her a light whallop in her chubby behind never helped (maybe she was too well padded?) and obedience school seemed like way too much effort and money. Eventually, I just threw her little bed right where she peed, and vualla, she stopped peeing there and thankfully she did not have the cojones to find another spot. I am not sure if this is long-term solution, but for now I am satisfied. Through the pucha, I found out that the wooden trimming in our house was ingested with termites. This caused a mini-heart attack, because well, termintes are a bitch to eradicate and they are a real problem in the tropics. I called the exterminators just to find out some information on termites and they assured me that once I ripped out the molding (which was my low-tech solution), I would not be putting the other wood in danger by accidentally flinging one of the little chubby white grubs over to another piece of wood and there is a lot of wood at home. Thankfully, since that is unlikely, with some help , I proceeded to tear most of the molding out only to disover a cornupia of bugs living there. It was so so so so so gross, really, gross that of course I am not replacing the trimming with wood but with some other bug-resistanant material. But that will have to wait till another trip.

Evan Prodromou: 6 Pluvi se CCXV

Maj woke me up at 6:41AM this morning. "Amita slept through the entire night in her big girl bed," she whispered. We've been co-sleeping since Amita was born, but over the last month we've been trying to do night weaning, which means Amita goes to sleep in her own bed in her own room now. But that doesn't usually last past 1AM-2AM. "Did you check her breathing?" I asked. "Yeah, I just did." "Wow. Our little girl is a woman now." "Well, a toddler at least." "Our little weaning toddler." Pause. "Our little weaner!" I drifted back off to sleep, but I got poked again about 10 minutes later. "I'm going to go check her breathing again." "OK. Lemme know how the weanie is doing." tags:

Other developmental milestones Amita and I had our day together on Wednesday, and we were playing cars in the living room when apropos of nothing she started saying "Pok". "Pok! Pok!" I didn't know what was up until she came over and pulled up the sleeve of my t-shirt and pointed to my upper right arm. "Pok!" I picked her up and hugged her. "That's right, honey. That's where I have my tattoo of Spock. Good girl!" tags:

RecentChangesCamp So, I'm excited about next week's 2007 RecentChangesCamp. I'd normally be on board to go, but a) we've got RoCoCo coming up in May here, and I should probably concentrate my energies on that, and b) I've already committed to going to the LinuxWorld OpenSolutions Summit in the middle of February. It just doesn't make sense to do more than one conference per month, unless you're on the circuit professionally. But I hope that RCC in Portland goes well. A lot of friends will be there, and it's always good to know that friends and colleagues are having interesting conversations and making new decisions. tags:

Martin F. Krafft: Having trouble at the US border?

This just in from the EFF's legal director Cindy Cohn:
Have you had any difficulties entering or leaving the United States? If so, EFF would like to hear from you. After focusing attention on the Department of Homeland Security's secret Automated Targeting System (ATS), we're keen to uncover and document its effect on the law-abiding public. We're interested in hearing from any travelers who have had repeated problems at the border or have been told by government agents that they are on a "list" or that there is some unexplained "problem" that needs to be resolved. Please share your story with us by writing travel at eff dot org and providing as much detail as possible. We will treat all responses confidentially and may contact you to follow-up.
NP: Katatonia / Viva Emptiness

25 January 2007

MJ Ray: Bad Tech: the Moral of a Parable of Plumbing

Update: within 30 minutes of posting the previous plumbing celebration, a coffee machine exploded, covering many square metres with coffee and grounds. Counter-top, walls, doors, floor. The wet/messy/damaging balance was restored. It took an hour to clean up. Moral: don't celebrate plumbing too loudly or water will take revenge.

Bastian Venthur: Pimp My Boot Process

I’ve tested Ubuntu the other day and I must say I was really impressed how polished the boot process looked. Ubuntu uses the same image as grub splash and as usplash image. This has the nice effect that there is no visible switch between grub and usplash. I don’t remember if they even used the same image for the login as well, but it would surely improve the boot experience even further. Since we have grub and usplash in our repository too, I thought it would be nice to create something similar for Debian. Creating an image and preparing it for grub is not that hard but creating something suitable for usplash actually is a problem. First obstacle: usplash uses certain defined colors from the palette of the splash to draw stuff like text, background and progress bar, so you almost certainly have to re-arrange the position of the colors in the palette of the image manually. Second: installing the image is not exactly user-friendly. You have to create a .c-file from the .png. Compile it to a .so. and regenerate the initramfs in order to activate the theme… While second part is not that hard and can be done by a script, the first problem (re-arranging the color palette entries) seems kinda unsolvable for me and my limited Gimp skills. So does anyone know a tool which allows to create a usplash theme painlessly? I think it would be nice to have some grub/usplash theme packs in our repositories. While it’s certainly uninteresting for servers it surely adds some extra fun for our desktop users.

MJ Ray: Bad Tech: A Parable of Plumbing

This addition to my Bad Technology page is plumbing. I hate plumbing. It is really inconvenient if it goes wrong, plumbers are pretty rare these days and most of my attempts to fix anything to do with plumbing end up wet and/or messy and/or damaging the house. I was just starting to understand the sealed system at the old house and then we moved to a house with an open vent system with loft tanks and inverted loops and draincocks and stuff. Humanity has invented the internet and other great stuff, but it seems we can't invent a heating system that is reliable, affordable, environmentally-friendly, understandable, hackable and doesn't fail messily. On what may have been the coldest day since we moved here, the heating stopped. Testing the controls, looking at the system design and working through a troubleshooting list suggested that the sensors were working and the boiler was working but the valve that sends hot water to the tank or heating was just clicking and sending nothing to the heating. I tried calling our usual plumber. Voicemail. So, I popped the cover off the valve. In addition to the wet/messy/damaging worry, that also involves electrics. Water and electicity - an ideal combination(!) There were some springs, a round bit and a worrying number of wires (live, for all I know). Also dust. A lot of dust. Thick lumps of dust. Grab the air gun, blow out the dust. Set the controls to try the heating. Still no joy. The round bit seemed to be twitching and making the ticking noise. Tapped it with the screwdriver handle. Nothing. Hit it. It moved. Pump starts, boiler starts, sound of heating pipes expanding as the hot water enters them again. I think that's my first successful fix to the plumbing in three months. Be cautious, but give it a go - I guess that's the same tactic that works for my successful computer hacks.

Andree Leidenfrost: linux.conf.au 2007 Gleanings

I was fortunate enough to attend lca2007 last week and to meet Bruno Cornec, the Mondo Rescue project leader, for the first time in the flesh.

The conference was pretty cool, and I found the quality of the program to be generally impressingly high: Excellent topics, superb presentation skills, humor and genuine passion for the topic at hand. The atmosphere and organisation were great, too - extremely well done, 7 Team!

My personal two highlights were:
Apart from the conference as such, it was super cool to meet Bruno. We had a number of good conversations and did some nice hacking, burning the midnight oil a couple of times. And HP gave me a (used) zx2000 (which Bruno carried all the way from France to Sydney!) to enable me to work on the (Debian) Itanium port of Mondo Rescue - thank you HP and Bruno! Bruno's talk was well received, and it was great to actually meet people that use the software that I spend quite a bit of time on. :-)

Finally, there is the Linus phenomenon (so you can tell this is my first
Linux conference) - he amazingly is basically left in peace: People who know him obviously talk to him and he participates vividly in discussions and so forth, but everyone else does the business as usual thing - no autographs, no photos, no nothing. I was (positively) impressed and refrained from asking him to sign my copy of Just for Fun (just kidding).

Finally, finally, I propose to find an alternative for the term 'awesome' next year. ;-)

24 January 2007

Eddy Petrișor: pppoe testers needed (ppp-udeb)

(Stop the tests for now, it seems I made a mistake. Will fix it tonight and make an update.)

I have been working recently on an update to the ppp-udeb package (responsible for configuring PPPoE networking in D-I and the target system).

I think I have finished fixing the last bad bits from the ppp-udeb package[*], but currently I am unable to do a test of a complete installation due to bug #407702 in qemu. Still, I am confident it should just work.

So I am asking if there are people interested in testing the image I have prepared with the new ppp-udeb package. The image can be downloaded from:



http://users.alioth.debian.org/~eddyp-guest/ppp-2.4.4rel-5/mini-with-ppp-udeb-20070124.iso



(Security concerned people can check the signature and md5sums and go on, if they trust me :-) )

How to test

In order to test, just boot the image (no boot parameters are needed) and try to do a basic installation via PPPoE.

What should be (or would be nice to be :-) ) checked:

Please respond as soon as possible (eddy.petrisor at_sign gmail.com).

[*] I did some tests myself but I can't test everything due to bug #407702 in qemu; some screen shots I made in qemu can be found at http://users.alioth.debian.org/~eddyp-guest/ppp-2.4.4rel-5/screen%20shots/


Update: thanks to some people that did the test, I found out that I made some wrong assumptions in my code. I will make another image tonight and make another call. This will hopefully fix the issue.

Wouter Verhelst: Debian motivation

Steve asks a pretty good question: what is the motivation to work on Free Software in general, and Debian specifically? There are actual scientific studies on that subject as academics try to wrap their head around this strange thing where people do not get paid, but still put in a hell of a lot of work. What motivates me to put in hundreds of, sometimes boring, hours working on this stuff? I honestly don't know. I started doing working on Debian with a desire to make some name and fame for myself; but frankly, if name and fame is what I'm after, I should have stopped doing this a long time ago and should have tried to go work for TV or something. Or I should have been working on some stuff which is central to Debian (either the OS or the Project). So while "name and fame" might've been the reason in the beginning, it's not my motivation today. It could be that I want to help shape the Debian operating system into something useful; that I want to contribute so that the system is something I like to use. But I don't think that's the case; if that was my motivation to work on Debian, I would have more interest in doing some infrastructure work, which I'm not doing: the m68k port is not exactly the most important port of the Debian project, and my most popular package, nbd-server, is installed by 101 popcon submitters, or 0.38% of them all. Why the server seems more popular than the client is a mystery to me, but well. It could be that the Debian project is this warm and fuzzy place which allows me to meet people from the comfort of my bed room, but I don't think that is the case. If I want to meet people, I'll go to a bar, or go sing in the choir, or go play my flute in the ensemble. That's a lot more direct, a lot easier than trying to set up some trip to Scotland, and a lot cheaper, too. And if I want a warm and fuzzy place, then with all due respect, Debian is not what I'm looking for. It could be that by working on Debian, I want to challenge my knowledge and in that way increase it; this would look good on my CV, and it could perhaps satisfy a desire to learn new stuff, all the time. But that's not entirely true. I don't need to be a Debian developer to challenge myself or to learn new stuff; and if I would really want to have something that looks good on my CV, I would be much better off by joinging a project that produces insane huge gobs of code, rather than a project which is perceived to do nothing more than 'just putting stuff in packages'. I think my real motivation is a bit of a mixture of all of the above. I still feel proud when people talk about things I've done, or when people praise me for the code I've written; and I still feel sad when people mock the m68k port, even if 'only jokingly' (because we've pulled off a lot). I often try to file good bug reports when I find issues with Debian, and purposely run unstable on my laptops to help find bugs quickly, in an effort to help turn Debian into something useful. There is a lot of flaming on Debian mailinglists, but there are also a lot of friends—who, contrary to those from the choir and those in the ensemble, actually know what I'm talking about if I say "I'm trying to port Debian to those ColdFire boards, which needs changes in the compiler, the linker, and the C library. Possibly also the assembler". And finally, while Debian work hardly challenges me anymore, it does still allow me to learn new stuff every day—which is quite useful in my day job. So, there you have it. I don't have a specific reason why I'm still a Debian Developer after five years; it's more of a general feeling that being part of Debian is the right thing to do. I guess you could also say I have this feeling that I can't abandon "them"—whoever these "them" might be. Obviously that's incorrect (I've seen much more important people, such as e.g. Herbert Xu, being replaced without much of a hitch), but the feeling still is there, nagging on me. So there you go. What's your motivation?

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:

Evan Prodromou: 4 Pluvi se CCXV

The server that this site is running on is a Debian sarge machine with some backports.org packages for things that I just have to have up-to-date. This has been a pretty successful strategy for me for running servers... except for one thing. If you're running any PHP code, you really need to have an opcode cache like eAccelerator running on your server, too. Otherwise, every single hit to a PHP app loads and compiles every single PHP page it uses before executing. For any kind of load, and any kind of non-trivial app, it's just not a question. But there's not an eaccelerator package in sarge or in backports.org, so I built my own, which I have to keep up-to-date with PHP packages coming down the line from backports. Today, I upgraded from PHP 5.1.x to PHP 5.2.x, and I rebuilt eaccelerator, and... blammo. Segfaults all over the place with MediaWiki, and Drupal decided it wasn't going to save sessions any more. Turning off eaccelerator was enough to solve the problems with MW, but I had to track down this Drupal-PHP-5.2 bug and apply the patch to make Drupal work again. Of course, performance is sucking because there's no opcode cache. I kind of hate that kind of day. tags:

xcache Update to that: I tried out xcache, and it seems to be working fine. So, y'know, hopefully that project keeps working in the future. tags:

Pirates So, probably the most interesting thing about getafirstlife.com is that the image chosen to represent analog reality is a bunch of kids dressed like pirates. That is one of the selling points of First Life, I guess. tags:

Goethe I had a really good class at the Montreal Goethe Institute yesterday. I'm continually impressed by the facilities there. My class did a little tour of the building, including the half-size movie theatre, the huge reading room (with the day's German newspapers), and the big library. They even have a TV going with the Deutsche Welle satellite feed coming in. It's a pretty cool thing to have this kind of resource in Montreal. tags:

Mon pays Speaking of great resources in Montreal, Amita June and I went for a walk through Parc LaFontaine today. It was a balmy -8C (18 F) and the sun was shining on the snow. They've opened up the pond for skating, and there were about a dozen people lazily twirling around on the ice. Well... they looked lazy. They were probably working pretty hard. Our stated purpose for the walk was to get to the Biblioth que centrale-jeunes on the other side of the parc. The main Biblioth que Centrale shut down about a year ago when the new Grande Biblioth que opened down by UQAM. But they've kept the children's library open, and Amita June's just at the age where she can actually enjoy it. It was really a very nice library. There were a ton of books in good shape, lots of open tables, and a couple of billion toys, blocks, and games to play with. Amita and I both got library cards, which should be pretty fun to use, and we played around with the different books and such. They also have story-time hours at 10AM each weekday, so we'll be going back soon. Amita's favourite part of the library, though, was a big rock dove they had. It had a nice cage with water and toys and mirrors and stuff, but it seemed to like walking around on the shelves better. Amita followed it around making dove noises -- coo ca coo! Our trip back across the parc was pretty nice, too. The kids in the school there were out for recess, and they had built some epic-scale snow forts and were involved in an 18-sided snowball fight as we passed. There was also a passel of kids from a nearby garderie (daycare) who were making Inukshuks out of hardened snow. By the time we got home, we were pretty exhausted, but glad to have gotten some winter outdoor time. tags:

Christian Perrier: Segolene Royal: shit begins

As I was "predicting" around myself as soon as Segolene Royal was designated as the socialist party candidate for the French presidential election (and thus becoming the very first woman in position to be elected as president here), the days of shit would come. They are coming now. Todays "small sentence" was an half-stolen sentence taken ex-abrupto in a live discussion during a visit to Canada. She expressed some "support" and "sympathy" for the ideas of Quebec autonomy. Of course, this became a big pleasure for the media around to emphasize this story, with the precious help of our right-wing parties supporters, especially those of the UMP dwarf, namely Nicolas Sarkozy. Last week, the shit was about a trip to China (with many care to not interfere in internal politics...apparently, this time she should have interfered....but not when going in Canada, strange...). The week before, this was about a trip in Middle East (a place where Sarkozy will never go during the campaign, will you bet). One woman already experienced this in the past, the only woman that has ever been Prime Minister in France, namely Edith Cresson. When Segolene's popularity was raising, some said that, in these Edith Cresson days, "minds weren't ready" and the like. Minds are still not ready. Our country, with the invaluable help of most of our political staff, does not want a woman to be our international representative. It's pretty likely that she will lose the election, and lose it by far. "They" are way too much powerful. Yes, I will regret it. Yes, I will still support her and though this becomes "ringard". I do want a woman as president and I do want *this* woman (and this party, by the way). Not only because I hate these UMP guys, with a special note for Sarkozy, but also because I really think this can change things. Yep, that may sound stupid, but I sometimes believe in politics. We suck. A lot. I just only hope to be proven wrong in April. Update: M. Mouette had a point about this original blog post, so I corrected its title. Now he can answer on the content if he likes to..;-)

23 January 2007

Christian Perrier: Segolene: shit begins

As I was "predicting" around myself as soon as Segolene Royal was designated as the socialist party candidate for the French presidential election (and thus becoming the very first woman in position to be elected as president here), the days of shit would come. They are coming now. Todays "small sentence" was an half-stolen sentence taken ex-abrupto in a live discussion during a visit to Canada. She expressed some "support" and "sympathy" for the ideas of Quebec autonomy. Of course, this became a big pleasure for the media around to emphasize this story, with the precious help of our right-wing parties supporters, especially those of the UMP dwarf, namely M. Sarkozy. Last week, the shit was about a trip to China (with many care to not interfere in internal politics...apparently, this time she should have interfered....but not when going in Canada, strange...). The week before, this was about a trip in Middle East (a place where Sarkozy will never go during the campaign, will you bet). One woman already experienced this in the past, the only woman that has ever been Prime Minister in France, namely Edith Cresson. When Segolene's popularity was raising, some said that, in these Edith Cresson days, "minds weren't ready" and the like. Minds are still not ready. Our country, with the invaluable help of most of our political staff, does not want a woman to be our international representative. It's pretty likely that she will lose the election, and lose it by far. "They" are way too much powerful. Yes, I will regret it. Yes, I will still support her and though this becomes "ringard". I do want a woman as president and I do want *this* woman (and this party, by the way). Not only because I hate these UMP guys, with a special note for Sarkozy, but also because I really think this can change things. Yep, that may sound stupid, but I sometimes believe in politics. We suck. A lot. I just only hope to be proven wrong in April.

MJ Ray: So, what happened at Cooperatives SW?

I left home a bit late and rushed to the train stop, but the journey was easy after that. There was quite a good turnout at the meeting: Chris (chair), Alex (clerk), Paul (treasurer), Brian (secretary), Malcolm, Paul, Andrew and myself IIRC. Continuing: A promo leaflet is on hold until after funding is sorted out; No mutuals responded to a funding request letter; The reply to the BASIS grant bid is expected some time in January; The database update is waiting on Plymco as far as I could tell. Financial: the clerking contract went about 700 quid over budget last year and has been reduced to a skeleton service until funds are sorted out again. Donations from the Coop Group and Midcounties were forecast but aren't in the bank yet. AGM: the aim is to return to more of an event next year. Holding it in October should hopefully avoid the transport and weather problems of the 2006 event. Fund-raising: Chris to draft a bid for the cooperation fund to try to secure enough money for a support worker. The priorities would be clerking and event organisation, with possibly marketing, communication and news-production tasks. Numbers to come from the support tracker that Alex has been using. Need some sort of corporation to apply. Alex, Brian and myself to assist. 12 February deadline. Reply expected in March. Future work: newsletter deferred to mid-March. News items to Alex. Paul (I think) mentioned that some Healthy Eating Partnerships seem to be promoting their box schemes as 'Food Coops' when they are not cooperatives at all. We need to contact partnerships and find out which is doing what. Alex handed out a few Principle Six speed-networking packs. Interesting idea. Paul mentioned Cornwall Switch which will find the best green energy supplier for you (even if you're not in Cornwall). Next meeting 16 April 2007.

Raphaë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.

Ross Burton: Drink The Lemonade

Dave Cridland posted to maemo-developers again today, spuring me to spend my lunch time checking out his email client instead of doing something productive like eating. It's very interesting. Basically he edits the RFCs for Lemonade, which is a IETF standard for email on mobile devices. Basically it is a set of extensions for IMAP and SMTP that improve their performance over high-latancy low-bandwidth connections (like bad wi-fi or GPRS), such as forward-without-download and efficient re-synchronisation commands. Existing extensions such as a useful IDLE implementation are also used to push new mail notifications to the client. To test the ideas in the real world there is Polymer. Polymer is a simple IMAP client that uses the Lemonade extensions as much as possible, so is ideal for mobile use. There is more: it uses ACAP to store the settings on the Internet (Dave also provides free ACAP accounts) so it's configure once, run anywhere. I've just tried it on my laptop, and it works nicely. But it gets better. There is also Telomer, an email client using Lemonade and designed for Maemo. I've just tried it out, it may be seriously lacking in features at the moment, but it works. Features can be written over time, but it takes serious thought to get something as fast and usable as Polymer on mobile devices. I'll quote Dave:
That all said, once it's started, it connects to the mailserver over GPRS in about 10 seconds and pulls up the summary listing in 15, with a mailbox size of 2,882 messages. With a mailbox with 33,732 messages in, it's a little slower at around 25 seconds. That's still way faster than a desktop client on a LAN, of course, unless that desktop client is Polymer - in which case it'll seem remarkably slow.
This is what we need for a mobile email client. I know I've found my email client of choice on my new N800. NP: Wish You Were Here, Pink Floyd

22 January 2007

Julien Danjou: DeFuBu contest #6

Bug Welcome to this 6th issue of the DeFuBu contest, the monthly (even if I'm late) championship of the funniest bug reported to the Debian BTS. The challengers How the vote has been done Three Debian related people voted for these bugs, Mohammed Adn ne Trojette, Pierre Habouzit and Florent Bayle Full ranking Bugs Challengers The winners Notes To participate, simply drop me an email with a bug number. About DeFuBu

MJ Ray: Cooperatives SW

Cooperatives SW is the regional council of cooperatives and mutuals in South-West England (Gloucs, Bristol, Wilts, Somerset, Dorset, Devon, Cornwall and the Isles). I attend on behalf of the small workers' cooperative partnership that I work for. At the 2006 AGM I was elected to its steering group and today (2007-01-22) is my first meeting. I'll be going along and learning about how coops are communicating and marketing in the region, and hopefully something about the nuts and bolts of structural funding. I think that's what BASIS bids are. I'll be travelling to the meeting by train on First Great Western, who have hit the headlines this morning because of a mass protest against overcrowding on the Bristol-Bath route. It'll be extremely unusual if there's any overcrowding on daytime Bristol-Taunton trains. I'll bike to the easiest station, but I can't remember whether I can take my bike on these trains. Update: The above was blog 128 on the BBC's First Post blog. Firstly, funny to be a power of 2. Secondly, the name just makes me think of hot grits and Natalie Portman.

John Goerzen: We're Home

We had some wonderful weather yesterday. I've always said that I like snow. It can completely change the landscape in an instant. And it looks so beautiful.

Yesterday we had a nice snowstorm all day. Large, wet flakes. It was the most snow we've had at once in a few years right around here. It was beautiful just like always. It started early in the morning before we got up and continued until almost midnight. This morning, I went out into a big open area and measured the snow -- 7.5".

There are two problems with snow. One is that it's difficult to get anywhere. The other is that it blows into everything.

And guess what -- yesterday was our moving day.

Fortunately, on Friday evening, most of the furniture that needed to go in a pickup did. But we still had to wrap some things in plastic on Saturday. We didn't get everything moved that we wanted to. Between icy ground outside, travel at less than half the usual speed on the roads, and snow blowing everywhere, things were slow. But that's fine; we'll get the rest later.

This was the scene during the move:



Not long after that picture was taken, it was announced that church was canceled today. We kept moving things though.

Although we didn't get everything moved that we had hoped to, we got enough moved to consider ourselves moved in. We have one fully-functional bathroom. Jacob's bedroom and our bedroom are done. The kitchen will get its floor Monday and we'll get appliances Thursday. The only big thing left is guttering, plus there are still a few doorknobs and light fixtures pending. But it was enough that the three of us spent our first night here last night!

We're very appreciative of the help we got from family & friends, who helped us move and brought us food (since we don't have a fridge for the next few days).

Jacob doesn't like change very much (he cried when he noticed that some clutter in our apartment living room was gone). But he likes to learn about his environment. So today, he woke up at 6AM (and got us up at 6AM), spent an hour happily looking around, then promptly started fussing. That's how the day has been for him -- interest and crying.

At about 7:30AM, we were shocked to see a road maintainer plowing our road. Why shocked? Well, nobody else lives on this road for a couple of miles. It's not exactly a popular spot. And it hadn't been in all that great of shape before winter.

Later in the day, I went out to take some pictures. Here's one of our driveway:



Doesn't it look fun?

I decided to see if we could get out. The short answer is yes. The long answer is "yes, if you have patience." After rocking the car back and forth to get it turned around in the yard, I was able to keep up enough speed to get to the road and back. So Terah and I had lunch with my parents, then went into town to get another carload of stuff. There were children out playing everywhere, and well-worn sledding paths down hillsides. Too bad Jacob isn't old enough to enjoy this!

It was last April when we first started thinking about this. By June we had bought the property out here, and in October we moved to the apartment. It's been a long time feeling like we were living somewhere temporarily.

And, right now, it is great to be home.

Next.

Previous.