2009-06-11

Two truths with one stone

[bash.org repost] DragonflyBlade21: A woman has a close male friend. This means that he is probably interested in her, which is why he hangs around so much. She sees him strictly as a friend. This always starts out with, you're a great guy, but I don't like you in that way. This is roughly the equivalent for the guy of going to a job interview and the company saying, You have a great resume, you have all the qualifications we are looking for, but we're not going to hire you. We will, however, use your resume as the basis for comparison for all other applicants. But, we're going to hire somebody who is far less qualified and is probably an alcoholic. And if he doesn't work out, we'll hire somebody else, but still not you. In fact, we will never hire you. But we will call you from time to time to complain about the person that we hired.

2009-06-09

Removing cruft that appears as false 'dpkg -L' positives?

Dear lazyweb,

I have one very last Debian host running "testing" that I keep as a development platform. The computer in question is an aging ThinkPad 240x whose LCD cable constantly threatens to make the display content unreadable and whose non-expandable 192MB of RAM is ridiculously small by today's standard. On the plus side, this makes for a very small development host that I can easily tuck away in the closet whenever I don't need it.

However, one problem currently plagues this computer: it has been through literally years of dist-upgrades and it has accumulated TONS of cruft on its filesystem, namely files that, according to packages.debian.org, should not longer ship with the packages "dpkg" claims they belong to but, for unknown reasons, nonetheless remained on the system, probably as the result of botched upgrades whenever package X had broken maintainer scripts during the development phase before "testing" was frozen and moved to "stable".

Making a clean install from Lenny could be a nice solution, but doing so on a laptop that has no CD-ROM, whose BIOS has no support for USB boot and whose only other boot option is an external 3.5" floppy disk drive, might prove more tricky than I'd bargain for (Google "ThinkPad 240x" and you'll see how tricky I mean).

I am thus wondering if anybody would know of any tool capable of comparing files present on the filesystem with those stated as shipping with packages matching versions currently installed, according to files lists found via packages.debian.org, so that I can at least sanitize the filesystem and restore the content to a fresh Lenny install state?

2009-06-06

When can we have a balanced and meaningful debate on immigration?

This question keeps on popping up in many recent newspaper articles, on discussion boards and in seminars debating immigration issues in Finland. At the core of the question is a general impression that, between the enthusiastic supporters of multiculturalism and the pessimistic nationalist rednecks, very little constructive discussion is possible in Finland.

At one end, humanitarian help organizations, as well as politicians from the Green Party and the Swedish Folk Party, keep on taking excessively generous initiatives towards refugees and asylum seekers, all while labeling their detractors as racists. At the other end, nationalist candidates in the National Coalition Party and True Finns Party keep on painting every immigrant as a refugee who is abusing social security and label their detractors as turning Finland into the easiest country to abuse social security, at the Finnish taxpayer's expense. In between, candidates from the Christian Democrats and Center Party spread equally among these two camps. Meanwhile, while the Left is currently avoiding discussions on this topic, Social Democrats have previously shown that they tend to side with the nationalists in labeling all immigrants as social security abusing refugees.

One interesting point is that, no matter at which end of the political spectrum one looks, the whole Finnish immigration debate keeps on focusing exclusively on refugees and asylum seekers, despite the fact that migrant workers and foreign spouses of Finnish nationals make up for a good 70% of the foreign population residing on Finnish soil.

This recalcitrance to discuss immigration from any other perspective than refugees is rather painfully noticeable. Some recent examples:

  • At the Maailma Kylässä ethnic festival, last month, the podium was given to a number of speakers to discuss immigration issues. In once case, Minister of Immigration Mrs.Astrid Thors made an appearance at the tent of Demo, an NGO promoting active participation in the electoral process. Sure enough, Thors repeatedly brought back the issue of refugees, leaving other aspects of immigration completely out.

    The next day, on the Mekong stage, a panel discussion was introduced by the MC as "discussing issues that affect refugees", despite the fact that the program read "panel discussion on immigration"... In fairness, the organization sponsoring that particular time slot was the Refugee Help Center but, thankfully, issues brought by the panelists clearly discussed a much broader perspective than merely refugees:

    One Estonian-born researcher said that she'd rather avoid putting all immigrants into the same bag, because there's so many different reasons for coming to Finland and few of those have anything to do with seeking asylum and one cannot make any assumption about an immigrant's motives for coming here.

    The other panelist, a professor from the university of Turku, astutely said that, if it was up to him, Maailma Kylässä should not exist, because the actual intent of the event is not to give immigrants a chance to be heard, but rather to entertain Finns with exotic culture and food, which is not the right way to make immigrants feel a part of society, in his opinion.

  • Independent member of the Helsinki City Council, Mr.Jussi Halla-Aho, repeatedly makes the headlines because of his blog's rather controversial statements. Probably his most famous stunt was the day he jokingly declared in his blog that, if the women of the Green Party are so keen on getting more immigrants admitted to Finland, they also ought to be enthusiastic at the prospect of becoming rape victims, cynically implying that immigrants all come from 3rd-world countries where women's rights are non-existent and, correspondingly, where the probability of women being raped is greater.

  • National Coalition Party candidate at the EU elections, Mr.Kai Pöntinen, used as his campaign slogan a decisively nationalist Sosiaalipummien maahantulolle stoppi! (Stop the immigration of social security abusers). Further reading on his homepage shows a rather misinformed statement, alleging that immigrants are systematically taught Swedish in language trainings offered via the Integration Act:

    Myös kotouttamispolitiikkamme on metsässä, on täysin järjenvastaista että tulijoille opetetaan ensimmäiseksi kotimaiseksi kieleksi ruotsia. Kyllä ensiksi on osattava suomea ja sitten muita kieliä.

    Reality is that, unless an unemployed immigrant lives in the monolingual Swedish municipality of Närpes or on the Åland archipelago, the only language they can learn via integration measures is ... Finnish.

  • At a recent "Meet the Immigration Department" seminar at cultural center Caisa, it transpired that the vast majority of the audience and of the employees working for the City of Helsinki's Immigrant Services department came to Finland as refugees. The moderator of the event also came to Finland as a refugee. Can anyone guess what issues were given preference by the moderator during that evening? 12 points go to ... those who answered "refugees and asylum seekers." Was there at least meaningful discussion about any aspect of the immigration process? As the former chairman of a particular Finnish political party's English section used to say:

    I will not tolerate this meeting turning into a Wall of Lamentations or a Complaint Choir! Are we here to discuss real issues or what?

What's remarkable about all these examples is how public opinion is so persistently hardwired into thinking that all foreigners living in Finland came here as refugees from 3rd-world countries whose culture is radically different from Finland's and that they all became perpetually unemployed, forever living off social security, to the point that even politicians who ought to know better go along with it.

When will we be able to have a balanced and meaningful debate on immigration, you ask? The day both multicultural hippies and nationalist rednecks will have been kicked off the podium. Of course, it would also help if the refugees themselves stopped monopolizing the podium, whenever the opinion of immigrants is solicited. Then again, perhaps these 3 groups benefit so much from the current status quo that they'd rather not see the day when others can participate in this debate on equal footing with them, so that a balanced and meaningful debate can finally take place?

Killing the console bell on Jaunty?

Every once in a while, rewrites in ALSA drivers or in desktop audio components (GNOME mixer or Gstreamer) result in an impossibility to completely mute the console bell. Until recently, ALSA offered a separate channel to control this. Since Jaunty (kernel 2.6.28, ALSA 1.0.18r3) came out, not anymore. As such, I was wondering how else could I mute the console bell?

Some people on Ubuntu Forum suggested blacklisting the pc-spkr kernel module, but this is entirely the wrong approach, as it completely kills sound output on this laptop's built-in speakers. I don't wanna completely lose sound support, I just wanna get rid of that annoying console bell!

Others recommended setting set bell-style none in /etc/inputrc but that only works for interactive shells. The console bell still rings e.g. whenever rebooting, probably because bash gets called as a non-interactive shell by init scripts. Actually, since Jaunty, restarting the system makes the bell ring not just once, but twice!

Can anyone think of any more permanent way of disabling the console bell in some global system setting?

2009-05-24

Atom feeds per-topic

Just a quick note for those interested in subscribing only to my blog articles pertaining to a specific topic that the following Atom feeds are available:

2009-05-18

Invandringskonsult

In close to 11 years of living in Europe, I've accomplished plenty beyond working in the high-tech sector: I've also been fairly active in Immigration Policy, especially on aspects that affect migrant labor. Because of this, I keep on getting more and more requests to produce statements or to appear on panels to discuss issues pertaining to migrant labor and to immigrants' integration.

The hot topic of last week was Swedish language for immigrants, the crux of the issue being that even though Swedish has an official language status in Finland, in practice, it is pretty much impossibly for immigrants to register their kids at the Swedish language school, to claim public services in Swedish or, even more so, to request labor training in the Swedish language at the Employment Office.

The weekly newspaper Helsinki Times, in collaboration with the media think tank Magma, recently conduced a survey of the immigrant population, to find out how much they know about Swedish culture in Finland and about the Swedish language.

It was in this context that the Helsinki Times and the national television's Swedish programming (FST) asked for an interview with yours truly, because I have recently visited the Ministry of Employment and Economics with a concrete proposal to facilitate the availability of labor training in the Swedish language.

This FST webcast, starting at 16:03 minutes into the show, and the above Helsinki Times article provide more details about the context and about my proposal to the Ministry.

2009-05-05

Debian CUPS transition in progress

Since Lenny was the first Debian release to feature CUPS under its new package naming strategy, I started going through 'rdepends' results to see which packages in Squeeze still present dependencies for *cupsys* packages.

Much to my amazement, there's quite many.

If you are the maintainer of a package that still has those dependencies, please fix them ASAP. Alternately, if you're aware of any favorite package that does, please do not hesitate at filing a patch to help the maintainer update their debian/control.

Comes June 2009, transitional CUPS packages will be removed from our debian/control.

2009-02-16

Roadmap to a better FreeDesktop: ridding us of the Firefox filth

Lately, I've been pondering how to solve one annoying aspect of the FreeDesktop, namely how to eject the piece of bloat called Firefox from the picture and get myself a fast web browser that I can rely on and that yet offers a similar UI experience based upon native GTK2 widgets rather than XUL components.

Just to investigate possible options, I tested Epiphany, Galeon and Konqueror. My conclusions were than a Gecko-based Epiphany or Gaelon is incredibly fast and that Konqueror offers a similarily efficient experience albeit using QT, rather than GTK2 widgets.

Why is Firefox so bloody bloated then, if it uses the same Gecko engine as Epiphany and Galeon? The only possible conclusion I could come up with is that its crappy XUL implementation, rather than leverage existing native GTK2 or QT widgets, tries to reinvent the wheel with its own UI toolkit running as a gigantic RAM blackhole.

One option that I wanted to investigate but found too deficient was a Webkit-based port of Epiphany. Unfortunately, at its current stage, the GTK2 port of Webkit simply isn't mature enough to consider, although the fact that Webkit has been succesfully ported to a number of platforms and constitutes the basis for Safari on Mac OS suggests that the potential is significant.

That only leaves one single aspect on which Firefox wins hands-down: its UI concept; it just works well, whereas Epiphany simply has a UI concept that is utterly inadequate, because it is too crude, lacking basic necessities such as a session saving feature that also works when purposely unloading the application, rather than only as a crash recovery measure. Simply put, Epiphany's premise that a browser should never be closed and thus ought to always remain open in the background of a desktop session is utterly flawed; it doesn't work like that in real life and Firefox acknowledges this, while Epiphany stubbornly doesn't because someone wreaked Havoc in our desktop paradigm.

Anyhow, to me the solution is clear: regardless of which rendering engine it uses, Epiphany's UI concept needs to become more like Firefox, before it can truly gain acceptance as the default browser among Linux distributions.

2009-02-12

Here's hoping for the best...

Life sometimes has extreme ways of waking people up and making them realize what matters for them. I'm going through such a phase right now in my romantic life. I won't discuss what happened here, but suffice it to say that I haven't felt so depressed in a long, long, long, long time.

The good news is that life has proven to me once again how having good friends who truly care for me makes a whole world of difference. The big slap in the face that life gave me over these last few days was a harsh lesson, but I think that it was worth it. Of course, it helps that people like Gilles, Jaana, Henni, Pia, Linda, Arno and Sailesh beleived in me enough to support me through this rough spot in my life. Although their advices were vastly different, they all pointed in a very positive direction and gave me the strenght to carry on.

I also must thank my beloved Anastassija; what she did was cruel beyond beleif and yet, if her few SMS from the last 24 hours are any indication, there's still hope after the storm. I'll be seeing her tonight again, after a few days of separation and I prepared her a truly romantic evening. It ain't much, but I hope that it truly succeeds in bringing the point accross that Love is stronger than everything and that even the unforgivable can be forgiven, over time, if everyone involved has enough faith in each other's future as a couple.

Tonight, I truly could use the prayers of a million voices to support me and Anastassija in this difficult time. Life slapped me hard and I got the message... I think... and whatever happens after tonight, I need to know that I gave it my best shot and that, whatever her and I decide, Life can only take a turn for the better from now on.

2009-01-21

Uninformed shoppers blaming Ubuntu: a brief TODO list for Canonical

My own perception of the debacle about the end-user who decided to cancel her college enrollment because she could not get Microsoft products to install on Ubuntu is three folds:

  • Canonical and Dell evidently need to improve their marketing efforts, because the user didn't realize what she was purchasing. Knowledge of what Ubuntu is and how it can interact with the rest of the world clearly wasn't passed on in the form of a small printed User's Guide that should have come with the newly purchased laptop computer. Additionally Dell most definitely needs to make emphasize the same information in its online shop to help customers make an informed decision (and, no, eschewing the problem by obfuscating or removing non-Microsoft alternatives to the purchasing options isn't the right answer).
  • The newspaper that reported on the story really needs to do its homework to more accurately report what is Ubuntu and, perhaps, participate in the efforts to educate the masses about non-Microsoft alternatives in the Operating System market. Educating the Press to enable this might require hiring a dedicated person at Canonical to work with the non-industry Press.
  • The girl in question really needs to get a hold of herself, the sooner the better. Her hasty withdrawal from her enrollment was clearly unwarranted and her attitude of crying wolf and blaming everyone else for her own failure at making an informed purchase speaks volumes.

Personally, I think that Canonical needs to hire an individual that understands the above three aspects and, most of all, how to remedy them, as its next OEM channel Manager, if they truly want to increase Ubuntu's market penetration.

2009-01-03

Geode X.org driver fix for GX2/CS5535 released

After a rather hectic holiday season, I returned momentarily to pending Geode X.org driver issues. The current status:

  • On Debian, 2.10.1 is in Testing and Unstable, while 2.11.0 is in Experimental. For those who need 2.11.0 right away, the experimental package builds as-is using Lenny dependencies. For everyone else, I'll probably get around producing a proper backport once Lenny is released.
  • On Ubuntu, 2.9.0-1ubuntu2.5 just entered Hardy-updates with cherry-picked fixes for DCC support on GX2/CS5535 hardware. Meanwhile, Intrepid has 2.10.1 and Jaunty has 2.11.0, with a backport of the later having been requested for Hardy-backports.

I'm especially interested in hearing from users of GX2/CS5535 hardware to see if these recent uploads finally fixed DDC probing for them or not. Just respond to relevant existing bugs or, if necessary, open new bugs to report any regression.

2008-12-11

xf86-video-geode 2.11.0: last call!

With yesterday's release of version 2.11.0 of the X.org driver for the Geode GX2/LX, a whole cycle was wrapped up for many of the developers involved:

  • Jordan Crouse was among the unlucky ones who recently lost their job at AMD. The same layoff also affected Coreboot developer Marc Jones and other Geode specialists (see Jordan's blog article for details).
  • Several members of the OLPC project are also moving on, now that most Linux kernel and X.org patches have been merged upstream.
  • People like myself who were working in the thin client industry on Geode-based products are also moving on.

As such, remaining bugs and our milestone goal to merge back support for older GX1 Geodes might never be taken care of. From this perspective, we welcome active participation of new developers with access to a wide variety of Geode hardware to contribute and, eventually, take over upstream maintenance of xf86-video-geode.

2008-11-06

Available for a new job

A couple of years ago, I started what has probably been the best job I've held so far, as a Business Development Manager for Artec Group where I focused on marketing and selling the ThinCan LTSP client.

During that time, I used a combination of Guerrilla Marketing techniques to spread the word about this cool Estonian embedded platform in its LTSP client configuration and defined an extremely tight market-oriented focus that saw this relatively obscure electronic design start-up rise to the forefront of the LTSP hardware market and also brought the company commendable notoriety in the Coreboot community, thanks to its Programmable LPC Dongle, a low-cost ROM emulator that can be used to bootstrap various embedded hardware and test firmware images.

Looking back at close to 3 years with Artec (if we include the stint I did at Linutop), I most fondly remember how I managed to bring the Estonian and Turkish nations closer together in collaborating on Innovation. On my first visit to Turkey, I had noticed that very little is know about Estonia in Turkey, even though both countries have a collaboration that dates back to the 1920's, so my tactic was to introduce Estonia's achievements as a whole, to establish confidence in Artec's offering. It worked:

Among other things, my idea to organize an Estonian ICT Conference during the visit of Estonian PM Andrus Ansip in Turkey created a lot of extremely positive buzz that resulted in Estonia being mentioned as a trendy country in a prime time Turkish TV series. During this time, I've also made a lot of contacts among the Estonian and Turkish business communities and, more surprisingly, among the Estonian diplomacy who, much to my amazement, welcomed my ideas for better promoting Estonian interests abroad with great enthusiasm.

Come December 2008, my time at Artec will become a page in my employment history. While the Thincan remains one of Artec's key products, current marketing and sales resources are focused on new markets and new technologies that completely fall outside my core expertise, which is why the company decided to let me go.

I thus welcome offers from interested parties in Coreboot or LTSP markets. Other refreshing offers from outside the box - such as in business diplomacy - are equally welcome, as I've been pondering a career change for a long time.

2008-10-26

Still more Old Skool goodies to send to a good home

Debian Developer Peter De Schrijver dropped by tonight and left with the Atari stuff, but there's still more stuff left.

2008-10-24

SBM that adds USB boot support?

Having recently demoted my old ThinkPad 240x to Debian/Testing testbed, I wanted to re-install Debian from scratch on it, to make sure that I would have a clean reference system to work with.

However, this being a very old ThinkPad model, there is no CD-ROM drive to speak of. The only external means of booting is with an optional floppy disk drive. Sure enough, there exists a nice helper called SBM (included in the utility folder on all Debian CDs since several releases) that adds CD-ROM boot support to any BIOS.

Instead, My idea would be to perform the reinstall using the USB stick version of Debian-Installer, bootstrapped by SBM on the floppy disk. Does anybody know of an SBM release that adds USB boot support? If not, is there any other tool that performs a similar trick?

2008-09-03

another Tux bites the dust

At the dayjob, we've been evaluating various OS options for a customer project. Without going into details, it involves installing embedded software on a ThinCan for a special usage case. The basic needs are simple: graphic environment to run a custom application (OS neutral), plus a few drivers for hardware attached to the ThinCan. That's it. Nothing to excited about.

Comparing various team members' proposals to implement the OS base was the real shocker: no matter how optimized the software base and compiler options, no matter which build environment was used (Thin Station, Open Embedded, Gentoo, etc.), we couldn't get a performance that was remotely usable:

  • Boot time goes well over a minute, which is way too slow.
  • The graphic environment is sluggish, to say the least. True enough, distributions like Thin Station come with rather outdated versions of everything, but still... that slow?!
  • Refactoring IceWM to provide clean 95-ish functionalities using current XDG standards would require a fair amount of work. By the time we'd be done, IceWM would probably gain a thick footprint like XFCE progressively did.

Then came the proposal from our team's lone Windows guy: XP Embedded. Booted in less than 10 seconds, has a graphical environment that is usable out of the box and integrating the customer's application was a breeze. Heck, the demo is practically a finished product already and took just a couple of hours to assemble! To make matters worse, the total we'd be paying in licensing fees, for all the Windows components we choose, would amount to far less than what it would cost to polish either of the Free Software -based proposals.

Before anyone goes and puts on their asbestos suit, I'm already aware that the point of Free Software is to keep people employed and to make the community at large benefit from everyone's code improvements by contributing patches to upstream. Please keep in mind that, in contrast, business requirements are to get results at a reasonable cost, reasonably fast and to produce a well-polished product. The Free Software community has finally conquered the challenges of the desktop and was already on the server ages ago, but we ain't quite there yet on embedded devices, I'm afraid.

While I personally refuse to run anything else than Ubuntu on my laptop, let's face it, in the above case, the savings in time=money were obvious and the resulting product quality, even at demo stage, spoke for itself. Thus, another Tux bit the dust.

2008-08-29

Québec government sued for buying Microsoft products without any public call for tender

As per the original press release:

In Quebec, access to public markets is the rule while contracts attribution without invitation to tender is the exception. A public market should be transparent, fair and most importantly, open to all. The solutions as well as the propositions must be evaluated objectively on known and accepted criteria. Furthermore, the regulation implies that public markets have to enhance the local economic development as well as the Quebec technologies.

From February to June 2008, FACIL has noticed sales of proprietary software for more than 25 million dollars. These purchases were made for products offered by large multinational enterprises, with no regard to suppliers in Quebec.

Much to my surprise, news about this lawsuit have spread as far as Vietnam! Something tells me that this court case might have lasting repercussions...

2008-08-15

Dear Lazyweb: constructive homelessness

Dear Lazyweb,

I'm a permanent resident of one country, but I'm representing the interests of another one as a part of my job. Anyhow, I'm constantly traveling, so I cannot consider myself as having a residence anywhere in particular.

Still, the health insurance and taxation offices of the country where I'm registered as a resident are constantly annoying me with requests for additional clarifications about "working abroad" (trying to imply that I might have relocated to the country where my employer has their head office), which is a complete waste of my time, because the previous explanation is never good enough for them and they keep on twisting every word I say.

I was thus wondering if someone ever found a way to not have any official place of residence anywhere and still be able to get visas for the countries they need to visit and also be able to rent apartments in the countries that they visit the most frequently without ending up with residence permits for each of them, so as to avoid the above mess with multiple jurisdictions?

This question is not about evading taxation. It's about finding a solution to avoid wasting time constantly filing paperwork just because the bureaucracy cannot understand a situation where someone's lifestyle doesn't fit the traditional model of living and working in exactly one city.

2008-08-08

brainstorm: new LPC dongle design

One of our most popular products at the dayjob has been our Programmable LPC Dongle. It has seen widespread use as an embedded hardware development and debugging tool and is particularly popular among Coreboot developers as a ROM emulator, because of its low price and because we publish the FPGA code under the LGPL.

Unfortunately, our current LPC Dongle product is nearing end of life, because some components are no longer available.

We're currently designing a brand new Programmable LPC Dongle and, noticing the plethora of improvement ideas we already received from the Coreboot community, we decided to widen the scope and invite a larger group of hardware developers to tell us what features they want to see in our next-generation Programmable LPC Dongle.

Anyone interested in participating in this brainstorm is welcome to send me their ideas to first-middle.lastname@artecgroup.com by September 1st 2008. While we cannot guarantee that every idea submitted will be used, we will definitely be reading all the feedback we receive.