Search Results: "ag"

19 January 2009

Stefano Zacchiroli: debcheckout hacking

New features for debcheckout, ... now with TopGit support! Today I've spent some time hacking on debcheckout, which for weird reasons happens to be at the bottom of a stack of chained things that I need to do in the forthcoming days. Also, I had neglected debcheckout for a while, and the other devscripts folks where ready to shout at me because of that :-) . Well, it has been fun, and beside having fixed all the outstanding bugs, debcheckout has grown some cute new features: Enjoy! (ah, of course all this is not uploaded yet, but you can grab a preview from devscripts' VCS or, better, doing debcheckout devscripts which is soooo bootstrapy. SCNR.)

Stefano Zacchiroli: ocaml batteries included debian packages

preview of OCaml batteries included Debian packages OCaml batteries included is a wonderful community-driven initiative to standardize the OCaml development platform. It is similar to initiatives sharing the same motto, like Haskell batteries included and Python batteries included (which then has become the legacy Python distribution), but I have always felt that OCaml was more desperately needing a similar initiative. David Teller and the OCaml batteries included team have been the first actually doing something to address the frustration of many otherwise enthusiastic OCaml developers. A couple of days ago, their efforts have given birth to a first milestone: the release of the first alpha version of batteries included. To help out, I've released as quickly as possible the Debian packages of OCaml batteries included. You can find them in experimental (actually in NEW, at the time of writing), and from my people.d.o space. I've only built the packages for amd64, if you need some other architecture you can build on it by yourself, but I recommend not trying to rebuild the -doc package (which takes 10 minutes on my laptop to build). You can reuse the -doc package I've built, which is arch: all, to rebuild only the -dev part unpack the source package and do fakeroot debian/rules binary-arch.

Stefano Zacchiroli: worst quoting practice

On the saga of weird SPAM, today I received a SPAM message in French about advertising a backgammon portal (WTF?). One of the funniest part was the end of the message (original, horrible line breaking preserved):
P.S.: Pour un meilleur suivi des communications, merci de bien vouloir laisser
l'int gralit 
du message et de r pondre au-dessus de l'historique.

Which roughly translates to: "to better follow further communications, please keep the totality of the original message and write your response on top of it". To be read as: "just in case you know how to quote properly, please don't do that".

Stefano Zacchiroli: debian developer portfolio

DDPortfolio: a bunch of per-developer information There are quite a lot of per-DD information resources out there, and I've always kept on wondering whether I was aware of all or them or not. After having found yet another interesting view of myself as DD (the nice personal debtags page) I decide to start collecting that info. As a (supposedly) cute name for that I chose Debian Developer Portfolio, you can find it on the DDPortfolio page on the Debian wiki. The idea is to collect there link templates to resources which show some kind of per-developer view. Personally, it is the kind of stuff that I want to have either as bookmarks or on my homepage, but another possibility is to use it as a MoinMoin template to create personal pages on the Debian wiki. Of course it is the kind of stuff which need help, please add to the page links to resources you know that give a per-developer view of some kind. I'm grateful in advance! Closing notes:
  1. there were already something similar on the DD page, done by Daniel. I think a specific page is better, hence I've integrated what was there with my links and split a separate page.
  2. it is not evident how to give link templates. On one hand one wants anonymous links, on the other links that work. ATM I've created link using my login, and noted that is used as meta-syntax to be replaced.

Wouter Verhelst: Re: emulated buildds

Aurelien, your claim is wrong. About a year ago (IIRC; might've been longer), the Debian/m68k team decided that it wanted to do emulated buildd hosts, since that would allow us to more easily keep up with unstable. We discussed it in the team, we discussed it with ftp-masters, and we all decided to go for it. We've had emulated m68k builds go to the archive for quite a long time, with full knowledge and agreement of ftp-masters. We realized that emulated builds could be problematic, but we evaluated the issues and decided to take that risk, as a team. The reason your key was rejected for uploads of arm binaries was because you started doing those emulated builds without discussing it with the arm buildd maintainers, and without discussing it with the arm porters. You just decided it might help, so it must be good, right? Finding the difference is left as an exercise to the reader.

Gunnar Wolf: About the recent events and possible outcomes in Israel and Palestine

Several friends, from different groups and backgrounds and with different points of view regarding the current war in Israel (and regarding the Arab-Israeli conflict in general) have asked me for an explanation on what is happening there, what is (my view of) the real conflict, its causes... and any possible answers. And yet I am quite far from being an authority, I do want to write something about it. Be prepared, as this post is quite long.
And yet, after writing frankly a lot more than what I expected... It is by far not enough. I have still much more to add, but I have to say "stop" at some point. So, here you have it: My points of view, as well as some explanation on why are we standing where we currently are.
I am writing this based just on my personal experiencie and, of course, my personal point of view. Furthermore, I wrote a good part of this text while riding a bus, with no network access, so I am offering very few references - In any case, it will allow me to make much more progress. References always take as much time as the text itself! About me Why am I writing this? Why do people ask for my opinion? I must start by explaining who I am, so the rest of this makes sense. I am a Mexican Jew. That means, I was born in a Jewish (albeit secular) family, and grew up in an environment with general Jewish culture. My direct family (say, my parents and brother, and to a lesser degree my closest cousins) are not at all religious, I'd even venture to say most of us are complete atheists. Yet, besides the cultural belonging (which is a mixture of a Eastern European culture with lots of Idish words and dishes and general humor), my family has a strong national identification - In other words, I grew up in a fully Zionist environment, which traces back to Poland.
My grandmother was member of Hashomer Hatzair in Poland, since the early years of its existence, late 1910s and early 1920s. What is it? To make it short, a Zionist Socialist, Kibbutzian youth movement. It has many similarities (and somewhat stems indirectly from) the Scouts many of you will be familiar with, but -obviously- has a way lengthier agenda. And, yes, nowadays I feel it is somewhat out of reach with the current state of the world - It was founded in 1913, and only slightly adjusted its principles since then.
I will talk more about Hashomer later on.
My grandmother arrived in the late 1920s to Mexico, for familiar and economic reasons, but still dreamt about living in Israel for a long time. As they grew up, first my uncle joined Hashomer in Mexico in the late 1940s, when it still pursued a very much Soviet-style ideals for Israel (one of the core points that changed during the 1950s); both my father and my mother joined in the late 1950s (in fact, that's where they met). My cousins and myself were very active in the 1980s and 1990s.
The Iszaevich family has something very unusual, I'd say, engraved in our genes. We live very deeply our ideologies. That's the only explanation I can find to the way we all have led our lives. I won't go into the other family members' details, but just into mine: I was fully convinced of all we taught to our younger members and what we discussed among ourselves. I am among the very few people who really learnt Hebrew at my school, and that was only because I really cared - I know some people that just after 12 years of pseudo-learning could maybe utter a few phrases.
After finishing high school I went with my Hashomer group, together with people my age from other similar-minded Mexican Zionist youth groups, to live and learn for a year in Israel, on what is usually known as shnat hajshar - A year to get ready. To get ready to what? But of course, to come and give back go the younger groups of the movement, and finally go back to Israel and settle there definitively. I came back to Mexico, and after one year I did the only thing that was logical: I became an Israeli and went to live to a kibutz - Zikim, a beautiful place just between Ashkelon and Gaza, very near the sea shore. It was a beautiful period in my life, and I really enjoyed it - But it didn't last for very long - I quickly grew to hate the Israeli society at large. A society full of rage, of hatred. Not just between Arabs and Israelis, as many would think from the outside, but between religious and seculars. And between immigrants and locals. And between leftists and rightists (in several dimensions, as it is one of the countries where you can most easily be a economic leftist while being a political rightist - a complex society it is). A society full of disrespect and intolerance. A very hypocritical society. And one of the things that most shocked me: I wanted to live in a society of proud of its existence, that's what I had learnt Israel was - But Israelis aspire and dream of being anything else (and mostly US-Americans) in a way that made me sick, more than anything I had previously seen in Mexico.
I loved the life at the Kibutz, and I loved being an agricultor, doing hard work every day and literally getting the fruit of it. However, I cannot live isolated to a 300-people universe - At least once a week you have to go to the city if you don't want to become insane. And I could not stand the sick Israeli society.
Anyway, to make things short: After six months as an Israeli, I came back to Mexico. I went through a long period of finding myself, as I could not uphold anymore my Hashomer ideology (if I am not going to live by it, how can I continue teaching it?). Many people do anyway, but for the first months, where my Hashomer work was basically all of my life, I felt really uncomfortable. So, in short, I severed all of my relations to the Jewish community, and even denied for a long time my Jewishness until I found a (I think) better balance.
Today I am at peace. But anyway, I wanted to talk about myself in the critical period that marked me in this regard: The 1990s. Enough, lets get down to business. Zionism 1870-1920 Many people argue that the Jews invaded the Palestinians homeland - And yes, nowadays I cannot counter this. But we cannot judge what happened then based on what we see now.
Modern Zionism started around the 1870s. The Jewish history is full of pogroms and persecution, in different countries all over Europe - And a group of young people decided the only solution was to build a place to call their own. And yes, this was full of idealism and in no small part the foolishness of youth. For several centuries and up to 1920, all of current Middle East were provinces of the Ottoman Empire. Before Zionism began, the population of today-Israel was very sparse, not more than 400,000 people - up to 5% of them Jewish, around 10% Christian Arabs, and the remainder, Muslim Arabs. Of course, the low population was mostly because the country was mostly hostile - A desert in the South, mostly swamps in the North, and some minor towns mostly in the hills. It was a mostly forgotten province, away from the central Turkish rule, and there had been no frictions with the local population. It was a nice place to go, thinking -again- as a fool youngster, or as an idealist. They said, lets take a folk without a land to a land without a folk.
The number of accomplishing Zionists (this is, people who actually went to Israel instead of just talking about doing so) was not high during the first decades. But towards the 1890s, it gained critical mass. The political Zionist movement was born, with Theodor Herzl as a leader, and they started pushing -politically- for different governments to concede a territory to Jews. They went to the Turks, and didn't really get much echo. Went to other colonial powers of the time, and got unfeasible promises with no real backing (i.e. Birobidjan in Eastern Russia, Uganda in Africa)... And, as it happens in strongly ideologized movements, the movement started splitting into different groups with slightly different positions.
And no, I am not talking about the People Front for the Liberation of Judea and the People Judean Liberation Front, but I very well could. Sometimes the differences are as ridiculous as that. But hey, I take that most of my readers are acquinted with the Free Software issues, right? Think BSD vs. GPL vs. OpenSource. To give a broad idea - Only in Mexico City, with a very small Jewish community (~30,000 people), in the mid-1990s we had over 10 such movements, with 50-150 youngsters attending each. And even though some were local, and even though some very important ideologies are not represented in this country, they are all different enough to exist as separate entities. British Mandate The Ottoman empire was divided after the first World War. Its possesions in Europe became independent states, while in Asia (and Africa, if you take the semi-independent Egypt and part of Sudan into account) they were taken over as colonies or protectorates by France and the UK - Evidently, attempting to secure a long-term dominion over the area. In some aspects, they failed. In some aspects, they were (and still are) tremendously successful. The division of people by setting arbitrary boundaries has led to countries sustainable only by force and a harsh rule (such as Iraq, Lebanon and Syria), or doomed to poverty (and thus submission) due to lack of natural resources (as Jordan). Focusing on Israel/Palestine, the UK entered the area by making mutually incompatible promises to arabs and Jews - i.e. the Hussein-McMahon letters and the Balfour declaration, both ambiguous enough to lead to... Well, today. The UK rule was disastrous to the region, both in giving (and taking away) power from all sorts of puppet regimes, and swiftly going away as soon as things started looking too complicated. Yes, typical colonialism.
So, while up to the 1920s there was no real animosity between Arabs and Jews (as i.e. the Faisal-Weizmann agreement shows), during the next decades the seeds of hatred started growing, from both sides.
Many people still quote the 1947 partition plan as the direct antecedent towards Israel's real existence - That was not the first partition plan that existed. Ten years earlier, the Peel commision suggested a similar partition involving forceful population transfer. And many people see the separation of Transjordan (now Jordan) from Palestine in 1922 as a first partition. It is understandable that both partition plans (much more the 1947 than the 1937 one) were accepted by Zionists: Going from having nothing to having something (and against all odds in the environment they lived) is acceptable.
From the Zionist side, two main groups rejected the partitions: The right-wing and religious groups, insisting that the whole of the Mandate should become Israel, and the left-wing groups, which advocated for a single, bi-national state, with equal rights for all of its population. Go over and read this last link, as it was quite interesting (to me at least) to see how this solution has kept existing and regarded by (relatively) many people, and has many interesting links. 1948 onwards: Where did the refugees come from? The November 1947 partition didn't exactly translate to a planned, smooth Israeli independence - It led to six months of revolts (basically, a civil war). By mid May, the UK government and troops abandoned the territory, and one day later, Israel declared its independence. And, of course, all neighbouring countries (and Iraq) sent their troops to invade Israel. The war lasted for over six months (cease-fire was signed in January 1949). There was an intense Arab campaign indicating the armies would enter Israel and devastate it, leaving no stone in place, indicating Arab population to temporarily leave the Jewish-destined areas. The war, they said, would not take more than a couple of months, and they would be able to go back home.
Only that... When the war ended, the results were far from what the Arab governments expected. Not only Israel continued to exist, but it conquered important territories.
Of course, the Israelis were not innocent from said exodus: During the 1947-1948 civil war, and the independence war, some of the existing so-called self-defense forces (some of them were really defensive, while some were quite aggressive, even terrorist) attacked Arab villages in strategic or predominantly Jewish areas to prompt them to leave - yes, what we today call ethnic cleansing.
I had (in my head) the number of 650,000 Arabs (from a total of slightly over a million) fleeing to neighbouring countries. Wikipedia states that it is somewhere between 367,000 and 950,000. A similar number of Jews were expelled from Arab countries, many of which arrived to settle at Israel (and many others went elsewhere - For instance, a good part of the Mexican Jewish community is from Syrian origins - Many of them fleed in those years). Israel didn't accept back the (relatively few) Arabs that requested to resettle, as they were seen as hostile population - but neither did the countries that "temporarily" accepted the Palestinians accepted them as citizens. The Palestinian refugee camps today, mainly in in Lebanon, Syria, and the occupied territories held by Israel have terrible living conditions, and its population -despite living there for over 60 years- have no civil rights at all. Note that I'm omitting Jordan here, although it has several camps as well, as their situation is way better.
The Arab population that didn't leave did receive full Israeli citizenship. No, their living standards are not up to level with the average Israeli. The country and the society do have a sensible degree of racism and segregation. But the situation is nowhere as terrible as it is in the camps.
The areas which were originally to become Palestinian and were not conquered by Israel -this is, current-day West Bank and Gaza- bacame respectively Jordan and Egyptian territory. While Jordan did fully extend its soverignty covering the West Bank, Egypt didn't - Gaza is, since 1949, occupied military territory. Gaza, among the most densely populated areas in the world, has had their inhabitants under military rule ever since. When Israel returned the Sinai after signing the peace treaty with President Sadat, Egypt didn't accept Gaza back - And that's where today's greatest problem is born.
Now, Israel conquered those territories in 1967, along with the very sparsely populated Sinai and Golan. For the first ten years, the territories were basically only administered (yes, under a military rule). In 1977, with the first right-wing Israeli government, an extensive settlement policy began (and led partly to today's seemingly unsolvable situation). In 1980-1982, Israel withdrew from the Sinai. In 1981, Israel claimed full soverignty over the whole of Jerusalem and the Golan. In 1993, the "Oslo Agreement" was signed between Israel and the PLO, and it seemed we were heading towards a bright future. I lived in Israel between 1994 and 1996 - Yes, the most hope-filled period in the country's life.
Since 1996, I have tried to keep up to date with the country's evolution. All in all, even if I won't live there again, it is a country I learnt to love, a society I have long studied (even if in the end I did include many references, I wrote most of this text just off the top of my head, with the data I remember - so it might have several big errata). And yes, I keep the political stand I had 12 years ago: The only solution is to dialogue, to treat the current enemies -and not only their governments- with respect, recognizing their dignity and right to life, to self-determination. Only then we will change the status quo. How not to fight hatred Since 1993, the dream of peaceful coexistence seems to have faded. What we saw during the past three weeks, along to what we saw in Lebanon in 2006, is plainly a gross mistake if the goal is to achieve good, lasting peace.
Try to imagine how could life in Gaza be, even in the total absence of Israeli attacks. Just to set some numbers first: The Gaza strip hosts almost 1.5 million people on 360 km . When I lived in Israel, I was constantly surprised at how small a country it is - Israel tops at 550Km North to South, 150Km east to West (it is amazing, almost wherever you stand, except in the middle of the Negev, you can see the country's borders. Yes, I recognize as the border the so-called Green Line); over half of the territory is a desert, and it hosts seven million inhabitants. And it is hard to imagine how that country can be economically viable.
I do not find it feasible to imagine Gaza and the West Bank integrating a single country, and not only because they are separated by ~40Km, but because they are so sociologically different. People in the West Bank, yes, live opressed under military rule and subject to a much more constant, more visible apartheid-like state (as the territory is truly sprinkled with Jewish outposts which many Israelis refuse to recognize as their own, but still, which have incredibly higher living standards). The best land has been taken away from them, yes, but they have some space between cities to have some farming, to communicate, to... Breathe. Besides, West Bank inhabitants -even those in refugee camps- have much better living standards than anybody in Gaza. It is still an overpopulated area, but not nearly as much as Gaza.
Gazan population have been driven towards extremism. And yes, there was a civil war between Palestinian factions, as the world views between both populations are completely different - However hostile a Jenin inhabitant can be towards Israel, he does not lead the life -if it can so be called- you see at Khan Yunis.
But back to Gaza... What Israel is doing (and not only during this military operation terror campaign is wrong, from any rational point of view. Israel wants Hamas to become weaker? Then don't drive the population into supporting them!
Palestinians started giving over 50% of their support to Fatah (ex-PLO), and under 20% to Hamas. That was less than 15 years ago. However, Fatah has shown to be corrupt and inefficient at building infrastructure and improving life conditions, ineffective at negotiating a permanent agreement which secures dignity and sustainability to their people. Hamas stands as a religious, righteous organization. There are no serious corruption charges against any Hamas leaders. Hamas is clearly still at war - They didn't subscribe any peace agreement so far, and their stated #1 goal is to build a Muslim State in the whole of Israel. And the Hamas movement -like Hizbollah in Lebanon- has built quite a bit of infrastructure in the areas they control - Mainly housing. Yes, housing where they mix their own offices, many will accuse, getting human shields for free. But still, they are benefactors to a dehumanized, pauperized population.
I find it obvious that, if living conditions were at a basic level in the region, support of Hamas would decrease. Even more, of course, if they improved due to Israeli support. Israel controls this territory, so it is responsible for the well-being of its population, like it or not. And Gaza is simply too small and low on resources to survive by itself.
I was a bit surprised to find mention -although very brief- of a three state solution - And yes, this is close to what I would expect as a viable outcome. It is clear that Israel will not ever grant full citizenship to the Palestinians, as they would -euphemistically speaking- challenge the Jewish character of the State. Dropping the euphemism, Israel relies on apartheid in order not to become an Arab majority country. I might have some numbers wrong, but AFAIK, there are ~7 million Israelis, 20% of which are Arab citizens (which means, 1.4 million Arabs and probably 5 million Jews, with many other minor denominations for the difference), and ~4 million Palestinians live in the territories. Today, the country is already predominantly Arab, or at least is close to being so. So, Israel should permanently, formally disengage from all of the occupied territories. And in order to ensure violence stops, start a comprehensive, unconditional, long-term aid program. Start with giving them autonomy to regain their sea, as the Gaza port has long been closed. Allow the airport to operate again. Instead of bombing tunnels in the Egypt-Gaza borders, allow Gaza to trade with Egypt - Perhaps even to integrate territorialy, if the conditions are met. Treat their people with respect, and help them ease the terrible situation they have lived for so many decades - and then, undoubtely, terror will stop.
The West Bank? Possibly it could become a Palestinian state by itself. Possibly, it could integrate back to Jordan. That would be up to Jordans and Palestinians to decide. Of course, Jordan has already a large segment of its population defining itself as Palestinians, which counts both for and against. So, I won't venture into this supposition.
But anyway - Back to what prompted me to write this text -yes, a very or maybe even too long text - I hope somebody even takes the time to read it!- is to explain what is my point of view on the current situation, and why.
Today, a cease-fire was announced, after 23 days of murder and destruction. I sadly do not hold very high hopes for it to be lasting, much the less to be enough, to lead to what they call a de-escalation of the conflict. The most I can currently do is to voice my opinion, and hope that mine is just one more voice pointing to a sane solution, to a permanent, dignifying way out, for all people involved. Every people has the right for survival and for safety. We cannot deny this to any others. And certainly, we cannot expect anybody not to fight for their right to live.

Aurelien Jarno: Emulated versus paravirtualized build daemons

There has been a few flam^Wdiscussions about emulated build daemons, each time coming to the conclusion that we should not upload packages built on an emulated machine to the archive. However Debian has started to use at least one paravirtualized (Xen) build daemon, the i386 experimental one. The result is that one of the tests of the GNU libc testsuite is failing. On the other hand, the GNU libc and the GCC testsuites are giving the same results on a QEMU emulated machine and a real machine, for amd64, arm, armel, i386, mips, mipsel and powerpc. Same for KVM on amd64 and i386. I wonder if we made the right choice

Fabio Tranchitella: Distributed application-level filesystem for web applications

While developing web applications using Zope3, my Python web framework of choice, I always have the same issue: where should I store the UGC data? I usually used an NFS filesystem, using a Zope utility to manage the storage and retrieval of the files.

The most obvious disadvantage of this technique is that the NFS server is a single point of failure: if it disappears, there is no way to access the files from the application servers.

Another problem with this implementation is that all the UGC data files have to be served by the application servers, using resources which could be used to serve more clients instead of transmitting a static file over the network.

MogileFS is an application-level distributed filesystem which solves these problems, ensuring data integrity and redundancy, written by Danga. The only problem is that it is written in Perl, it works only with MySQL and requires WebDAV servers for the storage.

To solve my problem, I decided to borrow some of the ideas behind MogileFS and to develop my own distributed application-level filesystem. KoboldFS is written in Python, uses a PostgreSQL database to store the filesystem status and it is released under the GPL license.

I deployed it a few days ago on one of our production clusters, and it reduced the load of the application servers allowing us to serve the UGC files directly from nginx. You can find the source code along with a rough description here.

Axel Beckert: First experiences with Debian on the OpenMoko FreeRunner

I ogled with an OpenMoko FreeRunner since Harald K nig (of X.org fame) s OpenMoko talk at LinuxDay.at last year. I knew that a team around Luca Capello and Joachim Breitner managed to get Debian running on it. So when Venty told me that harzi wants to sell his nearly unused FreeRunner, I couldn t resist and bought it just a few days later. I played around a little bit with the two distributions which were already installed, AFAIK the original 2007.2 and a version of Qtopia. Called Venty with the Qtopia to prove him that you indeed can make phone calls with this phone, but he wasn t pleased by the echo he heard of his own voice. Since the included 512 MB microSD card surely is too small for a large Debian installation, I bought an additional 8 GB microSDHC card at digitec and then installed Debian on it. The installation mostly went smooth: Partitioning threw a timeout error which didn t cause any further harm than aborting once. A bigger problem was that the hint that you need to update the U-Boot bootloader itself and not only its configuration (called environement) to get it booting from ext2 partitions. lindi (Timo Lindfors) on #openmoko-debian (on Freenode) was of great help spotting the small details hidden in continuous text. After having Debian booting I installed all software I wanted to play around on a mobile phone including a bunch of web browsers. But since I ran into a bug which occurs after a non-deterministic amount of data is written to a big microSD card, I quickly got annoyed by the fact that I had to wait for the 8 GB fsck each time this bug was triggered. So I converted the root file system to ext3 by adding a journal. But whatever I did (reinstalling U-Boot, the U-Boot environement, regenerating the U-Boot environement from scratch, trying to load it as ext2 again, etc.) I didn t get it to work anymore. On #openmoko on Freenode, PaulFertser was trying to convince me that Qi is the better choice of a bootloader. Although its description didn t appeal to me at all, I understand that U-Boot seems a maintainability hell and that a more simplicistic approach can have its advantages. But there was feature listed on the Qi wiki page which made me try it: explicit ext3 support. After creating the appropriate configuration files and symbolic links in /boot/boot and flashing Qi over the U-Boot in the NAND flash, Debian booted again without problems and with a journaling file system. :-) In the meanwhile I found a setup which suites my tastes: Next step will be to move daily usage from root to an unprivileged user. As soon as that s done, I ll try to get Tablet Amora aka Tamora working on the OpenMoko, too. Currently it only runs on Nokia s Linux based internet tablets (N800, N810, etc.). Update, 17:54 To answer Joachim s question in the comment: I don t plan to use it as daily phone, but it may replace my old Nokia 6310i where currently my German mobile phone SIM card resides in. Use it mainly to have a cheap way to make phone calls inside Germany.

Axel Beckert: Traveling plans for the first half of 2009

Since the time between the years is traditionally family time for me, I never were at the Chaos Communication Congress. So I wasn t at 25C3 either. All the more I look forward to HAR2009 this summer (13th to 16th of August near Vierhouten in the Netherlands), but also because, for the last three years I always have been in the Netherlands for one week in summer, sailing with friends on the sselmeer. But before HAR2009, there will be a bunch of other events to visit and people to meet in real life: Then there will be the big summer holidays driving around in the middle of Europe with the 2CV and taking part in most likely: This also means that I ll probably miss: at least unless one of the other events I plan to visit doesn t take place as expected or my plans change heavily. P.S.: Anyone thinks this amount of events justifies a Dopplr account? ;-) Or is there somewhere a free online service similar to Dopplr, but runs software under the GNU Affero General Public License like e.g. identi.ca and many other Laconica instances do for microblogging?

Axel Beckert: How I use my virtual desktops

Many months ago I stumbled upon this German written meme about how users use their virtual desktops. I use virtual desktops since my very early Unix times (tvtwm on Sun Sparc SLC/ELC/IPX with greyscale screens running SunOS 4.x), so in the meanwhile I use them nearly everywhere the same way. Short Summary 3x5, no overlapping windows, either tiling or fullscreen, keyboard navigation, xterms, yeahconsole, FVWM, panel for systray. Window Manager of Choice My window manager of choice is FVWM since more than a decade. I tried others like Sawfish, Metacity and Compiz, but I couldn t get them behave like the FVWM I got used to, so I always came back. Since I hate overlapping windows, I use FVWM a lot like a tiling window manager. FVWM has this nice function to maximize windows so that they occupy as much space as available, but do not overlap other windows. This function was also often missing when I tried other window managers. I though do not want to use real tiling window managers since I have a few sticky windows around (e.g. the panner with the virtual desktops and xosview) and they shouldn t be overlapped either. Virtual Desktops Switching between virtual desktops is done with the keyboard only with Ctrl-Shift as modifier and the cursor keys. The cursor keys are usually pressed with thumb, ring and small finger of the right hand. Which hand presses Ctrl and Shift depend on the situation and keyboard layout, but it s usually either ring and small finger of the left hand, or pointer and middle finger of the right hand. So I m able to switch the virtual desktop with only one hand. I have always three rows of virtual desktops and usually four or five columns. The top row is usually occupied with xterms. It s my work space. The top left workspace usually contains at least one xterms with a shell and one with mutt, my favourite e-mail client since nearly a decade. At home the second left virtual desktop in the top row usually contains a full-screen Liferea (my preferred feed reader) while at work it contains the GNU Emacs main window besides two xterms. Emacs and the emacs server are automatically started at login. This also means that I switch the virtual desktops when I switch between mutt and Emacs for typing the content of an e-mail. Did this already during my studies. (At home mutt runs inside a screen, so there I just switch the virtual terminal with Ctrl-A Ctrl-A instead of the virtual desktop. Not that big difference ;-) The other virtual desktops of the the top row get filled with xterms as needed. Usually one virtual desktop per task. The middle row is for web browsers. One full screen browser (usually Conkeror or Opera) per virtual desktop, often opened with many tabs (tabs in Opera, buffers in Conkeror) related to the task I m accomplishing in the xterms in the virtual deskop directly above. The third row usually contains root shells for maintenance tasks, either permanently open ones on machines I need an administrate often (e.g. daily updates of Debian testing or Debian unstable machines), or for temporary mass administration (Linux workstations on the job, all Xen DomUs of one Xen server, etc.) using pconsole. yeahconsole Additionally I have a sticky yeahconsole running, an xterm which slides down from the top like the console in Quake. (It s the only overlapping thing I use. :-) My yeahconsole can be activated on every virtual desktop by pressing Ctrl-Alt-Z (with QWERTY layout, Ctrl-Alt-Y with QWERTZ layout). It s the terminal for those one-line jobs then and when, e.g. calling ccal, translate, wget or clive. Changes over time Of course the desktop usage changes from time to time: At work I have more than one monitor, so in the meanwhile the second row with the web browsers moved to the second screen with independent virtual desktops (multiple X servers, no Xinerama). The second row on the main screen at work is now used the same way as the third row with a slight preference for the permanently open shells while the third row is more used for mass administration with pconsole. At home I used XMMS respective Audacious for a long time (my FVWM panner and xosview are exactly as wide as WinAmp2/XMMS/Audacious, guess why:-) which usually was sticky the same way as the panner and xosview are. But when I started using last.fm recently, I moved to Rhythmbox (after testing some other music players like e.g. Amarok) which I use in fullscreen as I do with web browsers and the feed reader. So it occupies a complete virtual desktop, usually the second one in the middle row below the feed reader because I don t need a corresponding web browser for the feed reader. (Just found out that there is a last.fm player for text-mode, so maybe that will change again. :-) Another thing which changed my virtual desktop usage was the switch from a classical tabbed web browser (Galeon, Kazehakase, Opera) to the buffer oriented Conkeror. With a tabbed web browser I have either no overview over all open tabs (one row tab bar or truncated tab menu) or they occupy too much space of the browser window. That was another reason for more than one browser window and therefore more than one virtual desktop with fullscreen web browser windows. With Conkeror tabs are optional (and not even enabled by default), Conkeror uses buffer like Emacs and if you want to switch to another buffer, you press C-x b and then start typing parts of the buffer s name (e.g. parts of the URL or the web page title) to narrow down the list of buffers until only one is left or until you have spotted the wanted buffer in the list and choose it with the cursor keys. So the need for more than one browser window is gone. For a long time I didn t need any task/menu/start/whatever bar on my desktop. But since neither NetworkManager nor wicd have a comand-line interface (yet) and bluetooth seems also easier handled from the system tray my laptops also use either gnome-panel (big screen, long sessions with FVWM) or lxpanel (formerly used trayer; use it on small screen, short sessions with ratpoison or matchbox) on my laptops. It s sticky and always visible. (No overlapping, remember? ;-) The panel is usually at the bottom on the screen as by default with Windows or KDE, not at top as with GNOME and MacOS. Only on the OpenMoko, I have the panel at the top to be close to what I m used from Nokia mobile phones. Things I tried but didn t survive in my setup: Systems without Virtual Desktops Anyway, there are systems where I don t use virtual desktops at all. On systems with a screen resolution so small that there s not enough space for two non-overlapping, fixed font 80x25 xterms on the screen (e.g. on my MicroClient with 8 touch screen, the 7 EeePC or the OpenMoko) I do not use virtual desktops at all. On such systems I use all applications in fullscreen, so switching between applications is like switching virtual desktops anyway. My window managers of choice for such systems are ratpoison for systems with keyboard and matchbox for system without keyboard. With ratpoison you treat windows like terminals in GNU screen, so there are no new keybindings to learn if you re already used to screen (which I use nearly daily since more than a decade).

Holger Levsen: Get involved

A few month ago I stumbled on this new page about how to get involved in fedora and today I saw a similar page about sugar. (I like the sugar one slightly better, but that's really a minor detail.)

I would really jump around in joy if someone would come up with a similar page for Debian, probably started in the Debian wiki, but IMO it should end up as an official page in the long run. (Whether by developing some mechanism to make some wiki pages official or by putting it into the static page, is IMO yet another minor detail here.

(I don't consider improving the Debian webpage a minor thing, not at all, quite the contrary, but in the context of creating a good entry point for getting involved in Debian, I do.)

Axel Beckert: Mini-ITX based Home Server: Hardware Review

Mostly for my backups needs, I planned a Mini-ITX based home server around the Chenbro ES34069 Mini-ITX case which features four hot-swap S-ATA bays. I wanted a low-consumption motherboard and CPU in there (not only because of the default 120W power supply) and since low-consumption mainboards with 4 S-ATA connectors are quite seldom I ve chosen the not so cheap VIA EPIA SN18000G mainboard with actively cooled 1.8 GHz VIA C7 processor and a maximum power consumption of less than 30W (including CPU). Waiting for delivery While the Chenbro ES34069 case I ordered at digitec only needed a few weeks to deliver, the VIA EPIA SN18000G mainboard from Brack took over eleven weeks to deliver, it finally has been delivered on Wednesday, 5th of November 2008. I initially ordered the VIA board for CHF 324, now it s at CHF 397 (without rebate even at CHF 439) because Brack seems to have had a lot of hassles to get some of them at all. Although they usually sell for the prices at the time they ship the hardware (market price), they sold it to me at their purchase price, so it became only about CHF 15 more expensive than when I ordered. And since the RAM price dropped by one third during those eleven weeks, the whole order became about CHF 25 cheaper, the order was CHF 10 cheaper overall than when ordered. :-) (Still waiting for the according voucher, though.) So I ve joined the two main components together, installed Debian Lenny on it, crammed four 400 GB Samsung S-ATA disks (formerly in a TheCus N4100) and the 160 GB 2.5 harddisk from my MicroClient JrSX (I never really used it in there, it always runs from CF card) into it, created a software RAID-5 and now fill it with music, games and backups. But not everything was as easy as it sounds above. Although Chenbro lists the VIA EPIA SN18000G as officially compatible mainboard for the ES34069, not everything really fitted as expected. So here s my review of this hardware combination. Chenbro ES34069 It s really awesome how much features you can stuff in such a small case. Of course it s not as small as a thin client case or the mCubed HFX micro case, but it s smaller than most book-size cases like the ASUS Pundits, just a little bit thicker. Inside the case (laying on its left side) there are two decks. The lower deck contains the 3.5 hot-swappable S-ATA harddisk bays, the internal part of the power supply and the two fans for cooling the interal power supply components and the disks. The upper deck has space for the mainboard, a 2.5 harddisk, a slim-line optical drive slot and all the front-panel stuff (card reader, LEDs, USB sockets). Both decks are divided in two section. The front section belongs to the case itself and the back section containing the mainboard mount points and the two fans can be easily unplugged after removing four screws and keeping an eye on the cables from the lower to the upper deck. That way the mainboard can be mounted very easily. So far a very convincing design. To mount the 2.5 harddisk in between the mainboard and the front panel, it s not really necessary, but convenient to remove the slim-line optical drive slot, since you then have better access to the harddisk s IDE socket. To remove the slot, you need to remove the front cover. That sounded easier than it actually was and I nearly broke of one its catches. :-/ Although all parts of the case seems to fitting very well together, the bays for the hot-swappable drives weren t perfect: The drive slots not always connected even if the latch iss already closed. This was definitely better with the TheCus N4100. Additionally the bays seem to be made for slightly larger disks, so mine had play and the screws pressed the it together and you need to take care that the screws don t cant. A big positive point of the case was that there were all necessary screws included and they were fitting. This was a bigger problem with the TheCus N4100, since many harddisks ship with their own screws, but those are seldom the needed flat-head ones. Even a P-ATA to slim-line optical drive adapter was included, so I don t need to buy one. (Would have costed CHF 42 at digitec.) VIA EPIA SN18000G While it s surely not the most performant board out there, I m quite satisfied with its performance. I installed BackupPC 3.1.0 as backup system on it and it works like a charm. It daily backs up up to 14 machines over ssh tunnels more to come) and is way more performant than expected. But I probably had very low expectations due to everyone arguing about the bad performance of the VIA C7. ;-) Not nice, but known is the problem that most (but not all) USB connectors on the SN mainboard have 2.00mm pitch while all the case s plugs have 2.54mm pitch. Apropriate adaptors are available from Mini-ITX.com. Thanks to Akim for this tip! Power consumption I hoped to get more details into this posting, e.g. measured power consumption, etc. But then I recently read in the c t magazine how inexact my watt meter (from Brennenstuhl) is, so its values would probably bring more confusion than help. Additionally I don t feel like powering down the server just for measurement. Feedback I got quite a few mails with hints to further Mini-ITX boards and TDP but also with questions about the case. I hope that this blog post asnwers some of the questions also for other readers. Thanks to all who replied to my initial blog post about my Chenbro/VIA based home server, either by mail, or comment, or both. :-) Further plans For deploying music to my other computers I tried both, mediatomb and gmediaserver but none really convinced me. Currently I just mount the media directory using the FUSE and ssh based sshfs. Not sure if I ll add NFS due to it s user base syncing hell. Further plans are an HTTP proxy with ad filtering and caching capabilities, it ll be Privoxy combined with either Squid or Polipo. Maybe even a Tor SOCKS proxy.

Erich Schubert: U3 hackware

The U3 software that everybody so loathes is somewhat hacker technology. It's not entirely unlike the Sony rootkit, except it (as far as I know) by default doesn't install persistently.Fortunately, it doesn't work on Linux.What U3 essentially does is the following: It probably is just a matter of time until the first viruses find out how to install themselves onto the U3 partition and get auto-run whenever you plug in such a stick.So if you plan to buy a USB pen drive, make sure it doesn't bear the U3 logo. If you end up with such a hack-drive, grab the Uninstall application from U3, which unfortunately is Windows and Mac only. If anyone found a way to erase the U3 partition on Linux, please share. A low-level format on the usb-storage device is not sufficient.

Russell Coker: Security Enhanced PostgreSQL

Today was the first day of Linux Conf Au 2009 [1]. KaiGai Kohei was unable to attend the conference and give a database mini-conf presentation about his work on Security Enhanced PostgreSQL [2], so I gave the presentation in his place. It was a fairly difficult presentation and required that I learn a lot about PostgreSQL in a small amount of time. But the result seemed OK, the audience seemed reasonably interested and the questions indicated that there was no extreme negative reaction to it. After the main presentation I gave a live demo using a Fedora 10 machine image that KaiGai provided. That ended about four minutes after the specified time, which was pretty good considering that I started about seven minutes late to allow the audience time to return from the lunch break. Tomorrow I will give another talk for KaiGai on the topic of the Security Enhanced LAPP (Linux, Apache, PostgreSQL, and PHP) stack. I will also give a talk about the status of SE Linux in Debian/Lenny. For both talks I have a separate laptop for the demos, so after tomorrow I will only take one laptop to LCA - which will probably be an EeePC (on some days at least).

Marco d'Itri: automatic backups on a removable device

These scripts allow automatically running rsnapshot when the right USB hard disk is plugged in. If you do not want so much automation then just let gnome-volume-manager do its work and then run the last script from the command line. /etc/udev/rules.d/68-automount.rules:
ACTION=="add", SUBSYSTEM=="block", \
        ENV ID_FS_USAGE =="filesystem", ENV ID_FS_LABEL =="red", \
        RUN+="backup.agent $env ID_FS_LABEL "
/lib/udev/backup.agent:
#!/bin/sh -e
##############################################################################
wait_for_fs()  
  local fs_path="$1"
  local count="$2"
  if [ -z "$count" ]; then count=60; fi
  while ! mountpoint -q $fs_path; do
    sleep 1
    count=$(($count - 1))
    if [ $count -eq 0 ]; then
      echo "$fs_path has not been mounted after $count seconds!" 1>&2
      return 1
    fi
  done
  return 0
 
##############################################################################
do_stuff()  
  if [ -e /tmp/nobackup ]; then exit 0; fi
  wait_for_fs $FSPATH   exit 1
  nice -n 19 ionice -c 3 sh $FSPATH/doit
  rsnapshot -v diff daily.0 daily.1   mail -s "rsnapshot diff" md
  if [ -e /tmp/noumount ]; then exit 0; fi
  pumount $FSPATH
 
##############################################################################
if [ ! -t 0 ]; then
  exec >> /var/log/backup.log 2>&1
fi
if [ "$1" ]; then
  FSNAME="$1"
else
  echo "Usage: $0 name"
  exit 1
fi
FSPATH="/media/$FSNAME"
# the script may be called multiple times due to multiple change events
# being fired by the kernel
if mountpoint -q $FSPATH; then exit 0; fi
# daemonize
do_stuff &
A while loop which waits for the file system to appear is not elegant, but you cannot do this the right way with only a shell script because it requires watching /proc/mounts using inotify(3). /media/red/doit:
#!/bin/sh -e
##############################################################################
file_older_than_days()  
  local filename="$1"
  local days="$2"
  # consider a day passed if it will end in at most 6 hours
  local more=$((60 * 60 * 6))
  local now=$(date +%s)
  local filetime=$(stat --format=%Y "$filename" 2> /dev/null   echo 0)
  local age=$(($now - $filetime))
  if [ "$age" -gt $((60 * 60 * 24 * $days - $more)) ]; then
    return 0
  else
    return 1
  fi
 
##############################################################################
RSNAPSHOT_ROOT=$(awk '/^snapshot_root[\t ]/   print $2  ' /etc/rsnapshot.conf)
if [ -z "$RSNAPSHOT_ROOT" ]; then
  echo "Cannot determine snapshot_root!"
  exit 1
elif [ ! -d "$RSNAPSHOT_ROOT" ]; then
  echo "snapshot_root is not a directory: $RSNAPSHOT_ROOT"
  exit 1
fi
if file_older_than_days "$RSNAPSHOT_ROOT/daily.0/" 1; then
  if file_older_than_days "$RSNAPSHOT_ROOT/weekly.0/" 14; then
    if file_older_than_days "$RSNAPSHOT_ROOT/monthly.0/" 60; then
      /usr/bin/rsnapshot monthly
    fi
    /usr/bin/rsnapshot weekly
  fi
  /usr/bin/rsnapshot daily
fi

18 January 2009

Steve Kemp: You didn't faint. That's always a good sign

Joey has implemented blogspam support for ikiwiki, which you can find here. He was also good enough to provide valuable & useful feedback so I can present a moderately updated API - most notably with the ability to train comments when/if they are incorrectly marked. I can imagine several other useful additions, but mostly I think the code should be cleaned up (written in an evening, posted to keep myself honest, didn't really expect anybody to be terribly interested) and then it should just tick over until comment submitters adapt and improve to the extent that my sites suffer again .. ObFilm: Kissed

Daniel Burrows: Google is yelling at me.

One more step on the path to sentience. I think it's only a matter of time before I get this instead of search results:
GREETINGS PUNY HUMAN. YOUR LOCATION HAS BEEN NOTED AND FIVE OF OUR BEST SEARCH FACILITATION OFFICERS HAVE BEEN DISPATCHED TO APPREHEND YOU. PLEASE DO NOT ATTEMPT TO RESIST OR ESCAPE OR WE WILL BE FORCED TO USE LETHAL FORCE. ACTUALLY, WE WILL USE LETHAL FORCE ANYWAY, BUT WE WON'T ENJOY IT. HONEST. NOT EVEN A LITTLE BIT. HAVE A VERY NICE DAY. -- [GOOGLEBOT OUT]
:-)

Jordi Mallach: FOSDEM 2009

I'm glad to announce that I'll be again in Brussels for this year's FOSDEM. Ivan and I will fly from Zaragoza (!) on Friday, just on time for the beer event, and come back on Monday evening. I know azeem would have not been happy otherwise!

Biella Coleman: Easy to Miss



calle-monjas, originally uploaded by the biella.
In the last 8 years, I have spent a lot of time in Puerto Rico and I always hit the Old City for some food, walking, music, and beautiful views. When walking around my favorite streets, I noticed for the first time the lovely tiling pictured above, which features 5 dancing nuns. Even though I have walked on this street probably hundreds of times, I have never noticed it until last trip. While this is a very small detail there are many things one might overlook when visiting PR as they are not well known. One of the easiest things to miss is my favorite trail in the National rain forest, El Yunque, Tradewinds. It is easy to miss because it is not on the main road (It is on the closed service road, which you reach at the end of 191) and it is not mentioned very often in travel books and web pages. But if you are visiting El Yunque, I recommend the trail. It is as lovely as can be. Since it is not frequented very often, I would make sure to have a hiking buddy as it is easy to slip and fall (there is tons of mud). But do check it out if you visit the rain forest. It is really lovely.

Next.

Previous.