Search Results: "ina"

27 January 2007

Wouter Verhelst: Rock. Or not.

A week or two ago, one of the hard disks in rock utterly broke down. In itself, this wasn't a problem, since the disk was part of a 3x40G RAID5 set. Moreover, I knew it was dying, and was preparing to buy me a new disk anyway; the fact that it broke down only sped up matters. No worries. However, there's one slight problem with rock: it's a pretty old SMP box, and because of some bug somewhere (which I still need to hunt down), it can't run anything later than 2.6.12 in SMP mode. The new disk was a 80G disk, to replace a 40G disk. I wasn't very happy about the RAID5 array, but since I needed more disk space than what a RAID1 or RAID10 array on three 40G partitions would give me, I didn't have much choice. One of the disks in the RAID5 set was a 80G, too, however, with a 40G partition dedicated to the RAID5 set; so rather than doing ugly things with two disks only halfway committed to the RAID1, I decided to convert the RAID5 set to a RAID1 one. When you use LVM-on-RAID, as I do, that's pretty easy: you just create the new array (in degraded mode, on the new disk); add it to the volume group; use pvmove to move all data to the new array; use vgreduce to remove the old array from the volume group; and finally, repurpose the freed-up space to make sure the RAID1 set is no longer degraded. Which is all nice, except that on 2.6.12, when pvmove locks the entire volume group, you can't write to it anymore, which is quite painful if things like /var and / are on that volume group; gives you a nice deadlock. So I compiled me a 2.6.19.2 kernel with SMP support explicitly disabled, in order to be able to do the pvmove dance without much issues. That worked. I only forgot to do one rather important thing: to regenerate the initrd after all data had been moved; mainly because it took quite a while for the RAID1 resync to finish, and I had other things to do by then. Yesterday, we had a power failure, and obviously rock failed to come up again. By doing some utterly ugly things with the sarge d-i and forcing the yaird-generated initrd into a debug shell, I was able to boot the box properly again, and had it running 2.6.12. Which took all of three hours, or so. By then, it was kinda late, so I went to bed. This morning, my brother woke me to say he couldn't reach the Internet. Since rock is my gateway, I got suspicious. Running dmesg showed me a number of warnings from the kernel, where it said that it didn't properly understand some of the hashing stuff in some directory inodes. As a result, several files had been corrupted—including /var/lib/dpkg/status and /var/lib/dpkg/status-old. The file with 'extra' information that aptitude maintains, however, /var/lib/aptitude/pkgstates, still existed and was readable. So I downloaded me a one-week-old Packages file from snapshot.debian.net, and wrote this perl script:
#!/usr/bin/perl
open(APTITUDE,"</var/lib/aptitude/pkgstates");
open(STATUS,">status");
open(PKGS,"<Packages");
my $pkgent;
my $aptent;
my %aptitude;
my $i;
my $key;
my $val;
while(<APTITUDE>)  
	if(/^$/)  
		$aptitude "Package:" . $aptent-> "Package"  . "\n" =$aptent;
		$aptent =  ;
	  else  
		chomp;
		($key,$val) = split /:/;
		$aptent-> $key  = $val;
	 
 
close APTITUDE;
while(<PKGS>)  
	if(/^$/)  
		$aptent = $aptitude $pkgent->[0] ;
		if($aptent-> "State"  == " 1")  
			print STATUS $pkgent->[0];
			print STATUS "Status: install ok installed\n";
			for($i=1;$i<$# $pkgent ;$i++)  
				if(!($pkgent->[$i] =~ /^(Filename Size MD5sum)/))  
					print STATUS $pkgent->[$i];
				 
			 
			print STATUS "\n";
		 
		$pkgent = [];
	  else  
		push @ $pkgent , $_;
	 
 
close PKGS;
close STATUS;
... which generated a somewhat valid status file, that I copied to its right place. Yeah, that's an ugly hack, but at least I don't have to reinstall rock now. Phew.

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.

Meike Reichle: LinuxDays.lu anyone?

I'll be going to the LinuxDays in Luxembourg next week. As far as I know, there won't be an exhibition, so, no Debian booth. But I'll be giving a talk. It's not on one of my usual topics, but on security this time. The reason for this is, that I am giving this talk instead of Lukas Grunwald, who originally registered the talk but then couldn't give it. I am really looking forward to going there. I've never before been to Luxembourg and I am curious what it's going to be like. I am also looking forward to giving the talk, since it will be something very different from my usual ones and I am curious to see what differences there will be. If anyone of you is going to LinuxDays.lu too and wants to meet for coffee or a beer, drop me note!

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.

NOKUBI Takatsugu: Plagger: the UNIX pipe programming for Web 2.0

On the past Monday, Yoshinori TAKESAKO, the one of the developers of Namazu, talked about Plagger in FSIJ monthly seminar. Plagger is a very useful and powerful application, and I could make a planet site in my office. It is apt-gettable but not official. The apt-line is:
deb http://debian.hansode.org/ ./ 
and the package name is libplagger-perl. However, it has no "assets", the essential components for Plagger, so you need to get them from the svn repo.
svn co http://svn.bulknews.net/repos/plagger/trunk/plagger/assets/
The following is the example of YAML:
global:
  timezone: Asia/Tokyo
  assets_path: /home/knok/plagger/assets
plugins:
  - module: Subscription::Config
    config:
      feed:
        - http://internal.host/~knok/index.rdf
  - module: Bundle::Planet
    config:
      title: Planet Office
      dir: /home/knok/planet
      url: http://internal.host/planet/
      theme: sixapart-std
      duration: 30 days
      description: The internal RSS aggregation.

25 January 2007

Gustavo Franco: The truth that hurts

The follow up of my previous blog post: FLOSS in Brazil turns out to be a joke, was published today on Linux.com written by Bruce Byfield, with the name: Brazil's FOSS utopia image at risk.

Some of those who simple ignored my blog post are the ones calling and mailling me now. I don't like answer calls during the workhours, i prefer answer emails and i'm doing that a lot lately. I'm glad that Carlos Morimoto (Kurumin fame) mailed me open to discuss changes in their website and distribution to inform better their users what's free software into Kurumin distribution, where's the source code, what exacly isn't free software and the reasons. Let me inform you that Kurumin isn't maintained by a company as Bruce wrote, the only error in the article so far, IMHO.

What about the free software initiatives in your country? Do they really fit with what the gov't is spreading everywhere over the press? Do they really fit with what people write on their company website? Let the world know the truth, even if that hurts.

Update: I've just visited plurall.net website and some hours after the Linux.com article, that was translated and published in some Linux related brazilian websites. They managed to setup a svn repository and put the code there. The announce into their site states in Portuguese "Finally, after some technical problems we've published the Plurall source code at: http://svn.plurall.net/plurall_boot_server". Looking into the source now...

Wouter Verhelst: Solaris followup

I received a number of comments on my blog about the Solaris rant that I posted two days ago. The best one was this:
Have you ever kissed a girl?
- Bryan
----------------------------------------------------------------------
Bryan Cantrill, Solaris Performance. bmc@eng.sun.com (415) 786-3652
I have two things to say about that:

Steve Kemp: Tell you, might not believe it, but

I would like to have a simple way of mirroring a webpage, including any referenced .css, .js, and images. owever to complicated matters I wish to mandate that the file will be saved as “index.html” - regardless of what it was originally called. This appears to rule wget out, as the –output=index.html option trumps the –page-requisites flag (which is used to download images, etc which are referenced.) Is there a simple tool which will download a single webpage, save it to a user-defined local filename and also download referenced images/css files/javascript files? (Rewriting the file to make them work too) Using Perl I could pull down the page, and I guess I could parse the HTML manually - but that seems non-trivial - but I’d imagine there is a tool out there to do the job. So far I’ve looked at curl, httrack, and wget. If I’m missing the obvious solution please point me at it .. (Yes, this is so that I can take “snapshots” of links added to my bookmark server.)

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

Russell Coker: university degrees

Recently someone asked me for advice on what they can do to improve their career without getting a degree.

I have performed a quick poll of some people I know and found that for experienced people there seems to be little need for a degree. People who have extensive experience but no degree report no problems in finding work, and employers don't report any reluctance to hire someone who has the skills but no degree.

One thing that a degree is very good for is making a career jump. This is most notable when you get your first professional job, school results and references from part-time work don't help and a degree is a massive benefit. But if you have proven your abilities in the field then most employers will be more interested in checking references and the interview process than in qualifications. If you are only interested in getting a job that is one level above where you are at the moment then lacking a degree should not be a problem.

Another possibility for someone who lacks a degree is certification such as the Linux Professional Institute (LPI) provides and the Red Hat Certified Engineer (RHCE). One advantage of the RHCE certification is that it is based on fixing misconfigured Linux systems, no theoretical questions, just the type of work that real sys-admins do for their job - this means that people who do badly in traditional exams can be expected to do well, and it also means that the RHCE certification accurately depicts real skills in fixing problems (and it should therefore be more valuable to employers). The LPI exams can be taken by anyone, but to sit for an RHCE you have to be sponsored by an employer.

There are ways of getting career benefits without strictly going upwards. One way of doing this is to move to a region where the pay scales are different. Some years ago I moved from Melbourne, Australia to London to increase my salary. When in London I did work that was a lot less challenging and was paid considerably better for doing so. One thing I discovered is that in London Australians were widely admired for working really hard, I don't think that Australians work harder than British people on average, but people who will move to the other side of the world to advance their career are generally prepared to work hard!

If you spend some time working in another region and then decide to return home you will probably find that employers are more interested in hiring you for what you have learned in another region. Whether you actually learn things that are of value to potential employers when working in another country is debatable, it probably depends on the individual. But when applying for a job you want to make the most of every opportunity that is available - if someone wants to hire you for the special skills you learned in another country then that's OK. ;)

Another possibility is moving to a different industry sector. Some industries have career bottlenecks at different levels. If there is no possibility of moving upwards in the area where you work then getting a job with the same skill requirements in a different industry might open up more opportunities. An example of this is working as a sys-admin in a medium sized company that is not IT based. If you are the only sys-admin in the company then there is no possibility of promotion, moving from such a company to an ISP (or other IT based company) would then give the possibility of becoming a senior sys-admin, team leader, or even the manager of the ops team (if management is your thing).

A final option that few people consider is becoming a contractor. Contractors tend to earn significantly more than permanent employees when they do the same work (so becoming a contractor provides a significant immediate benefit) and as the duration of contracts is usually small there is less attention paid to degrees etc (what does it matter if the contractor will only be there for three months?). Of course most contracts last significantly longer than the initial term, some contractors end up working in the same position for 10 years or more!

There are some down-sides to being a contractor, one is that they get less interesting work (offering someone a choice of projects if they become a permanent employee or the project that is deemed to be least interesting if they insist on being a contractor is not uncommon). Another down-side to being a contractor is the way that contractors are used. The ideal way of running a company is to have mostly permanent employees and to use contractors for special skills, short-term projects, and for emergencies when they can't hire permanent employees. When a company has almost no permanent employees it usually means that something is going badly wrong. This means that if you select a random contract role there is a good chance that it will be one where things are going badly wrong. The money from contracting is good, but it can be depressing when projects fail.

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:

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..;-)

Christian Perrier: Respect

Dear M. Mouette, in my world, calling someone by his/her first name is a sign of familiarity and proximity. In short, when I use someone's first name, this is because I share something with him/her. As far as I can tell, this is a pretty common habit inside political parties. You know, the things very few people in our country involve themselves in (myself first), which makes easier later to complain about the lack of political conscience in our country. Please also note that I do not tend to write down my blog posts with the same care I write my professionnal reports or work. In short, I may sometime include wording mistakes and even sometimes use some inappropriate ways to share my ideas. This is the blogosphere, my friend... As far as I have re-read it, that "inappropriate" use of Segolene Royal's first name happened once in the entry title while the remaining of the blog post was appropriately balanced. I also tend to use respectful wording to mark my distance with someone. I use the same when choosing between "tu" and "vous" in our language. It even sometimes goes to the point that this is done on purpose. I would have rather appreciated comments about the general content of that blog post more than the way it was written. That is also respect, so please don't give me lessons about respect or I will have to seek for correct translations of "l'h pital qui se fout de la charit ".

Wouter Verhelst: Ian Murdock on Solaris...

If you want another example, one from a company who any developer would agree is an outstanding engineering organization, here's one: "Sun has maintained binary compatibility between operating system releases for nearly a decade, enabling existing Solaris applications to run unmodified on Solaris 10. This means that Solaris applications developed 10 years ago will run on Solaris 10 unchanged, taking full advantage of new and advanced Solaris features."
Yes, it's true that there is outstanding backward binary compatibility in Solaris. However, if you're going to try use that as an argument in favour of Solaris, try again. Have you ever actually used a Solaris system? If you're going to say that backwards compatibility is good and that we should incorporate backwards compatibility into Linux somehow, then please do not point people towards the two ugliest operating systems on the earth with a lot of garbage baggage for the sake of backwards compatibility...

Martin F. Krafft: A good interface for selection?

I am working on a script to help me switch mail profiles from within vim, because mutt's profile abilities are seriously limited (even with muttprofile). The script will have three modes: manual, menu, and auto. In manual mode, you tell it something like switch-profile debian and it converts an existing mail to use my Debian profile. In menu mode, it displays a menu of available profiles, and in auto mode uses heuristics defined by the profiles to determine which one to use. My problem at the moment is menu mode. What I want is a good selection interface that (a) works over most any terminal, and (b) allows quick and dependable keyboard-driven selection. So far, I've had multiple ideas:
  1. A simple shell script that would assign [0-9a-z] to the profiles and then expect me to press one of the letters to select the profile I want (also see ssft). I don't particularly like this because if I added a profile to the presumably alphabetically sorted list, I'd have to relearn which keys to press when doing quick (subconscious) selection.
  2. debconf, which comes with multiple interfaces, but doesn't really seem made for the task. In the end, it would probably end up giving the same experience as (1) above.
  3. A method which I've implemented in the script (run it with the --menu option), which is reminiscent of "autocomplete". I need to add arrow selection and I have to figure out how to actually access $result from outside the while loop (this method doesn't work, because I need stdout for the interface and I have not managed to figure out using file descriptors 3 and above), but I already like it very much, although it seems rather brittle so far.
Do you have any other ideas? Or do you know of a tool/library I could use for this? I'd much rather have this work without having to install a separate package, but there's also no point in reinventing the wheel. PS: I am using POSIX shell for this even though Perl or Python would be much better suited, simply because it's faster and available everywhere. NP: Man on Fire / Habitat Update: Jan Hudec points me to Vim's console-menus and now makes me ponder whether I want a vim-only solution, or one that could be used by friends of other editors too. And Simon Huggins is trying to get me to use htag, which I'll have to check out.

23 January 2007

Lars Wirzenius: Debian: Project Ummikko: Final report

Last July, I started an experiment, called Project Ummikko, with a friend of mine to see how well Linux is suited for a new user who has used Windows for many years, but is not a techie. I installed Debian, with GNOME, for her, and she went cold turkey: she started using Linux only, unless there was something she had to do, but could not achieve under Linux. It has been half a year, and it's time to report on the results. Translating and abbreviating her own words:
The good part of using Linux is that I don't need to worry about viruses or defragmenting the hard disk and so on. I would be happy to remain a Linux users for things like that. In basic everyday use I'm happy. The things that make me want to return to Windows are gaming, flash and other multimedia, and a feeling of helplessness. I want to play Alpha Centauri and adventure games I can borrow from friends. Flash doesn't work, and installing software from Debian via Synaptic is difficult, I'm not comfortable with it. With Windows, I'm used to being able to go online to find a program to solve some problem I have, or some plugin I'm missing, or some toy program I want, and after a few mouse clicks, I have it installed. There's many things that just don't work with Linux, like Second Life, or when my ISP would give two free movie downloads this month and next, but it only works on Windows and Mac. I have a feeling of being left out. I could manage with Linux, with the assumption that I have someone like Lasu to do installation and tweaking. The best thing about this experience? It was interesting to be able to make the experiement, the meta level has been the best thing. The best thing about Linux is the kind of maintenance things like no viruses or defragging, Linux doesn't rot like Windows does.
After we had the above interview, I upgraded her Debian, and this fixed at least most of the problems related to flash. Synaptic remains uncomfortable, and there's not much that can be done about Windows-only software. I was pleasantly surprised by the results. I had expected much worse problems, but I'm happy to report now that Linux really does seem ready for the average Windows user. The uncomfortability of Synaptic may be partly due to the fact that it is a different model from Windows: you get all your programs from one place, instead of anywhere on the Internet, partly due to just not using Synaptic much at all, and partly due to Synaptic not being perhaps as easy to understand as possible. I personally find Synaptic to be very nice, and use it regularly, but I am biased by having used Debian package managers for over a decade. Even if she had learned to use Synaptic, it would, of course, not have been enough: there's lots of Linux software that hasn't been included in Debian. My friend therefore feels that it would be nicer, more liberating, to be able to just download any old Linux software from a web page and install it easily. My conclusions: package management for Debian based systems could do with some work targetted towards neophytes. I am sure there are things that could be done to make package installation easier, less daunting, without dumbing down the system.

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.

Next.

Previous.