Search Results: "tim"

7 July 2006

Martin F. Krafft: Returning the E60

I went back to the shop today to return the Nokia E60 I had previously sought out. There were just too many gripes with the phone, and even though I could have possibly worked around (some of) them, I was looking for a phone that works, not one that I could tweak to work. Among the most prominent problems were:
  • Lack of STUN support, which means that you cannot do VoIP behind a NAT router without configuring a port-forward (which is often not possible). Nokia is also unlikely to add STUN support because the phone's target audience is clearly large businesses equipping their employees with phones that will work with VoIP locally, and "fall back" to GSM when on the road.
  • Broken WPA2 implementation. I could not get my phone to associate with my WPA2 router. Reasons may be the AES implementation, which seems broken (see below), or just a faulty WPA2 implementation. I can get other devices, including my Palm, to talk to the router over WPA2 just fine.
  • Broken AES (or VPN) implementation, meaning I could not get a VPN connection to either of a Cisco router, a Check Point VPN-1 gateway, a Linux host running FreeS/WAN, or OpenVPN when AES was used. I could connect to all but the OpenVPN client using 3DES.
  • No WLAN reconnects. If your WLAN connection drops while you're using it, you have to exit the programme (or reassociate with the VoIP gateway) to get it back up. This sucks when browsing the web!
  • Sucky battery lifetime. I was playing around with the device, using a fully-charged but two year old battery. After about 2.5 hours, it displayed the first low battery warning. Obviously, WLAN consumes a lot of power, but that's just too much and too fast.
Other than that, the phone seems to have the usual features you expect from an advanced phone that tries to also be a PIM. Believe it or not, I could make phone calls, but there was weird crackling noises to be heard; I am not sure whether the phone's at fault, I do have crazy power lines around my place. One thing that did drive me up the walls was the configuration. To set up VoIP, I had to first configure a WLAN connection (which you cannot do in the "Connection Manager" -- that one seems to be only used to kill connections and associate with unencrypted WLANs) in the system settings (which are to be found under Menu/Tools), then set up a SIP profile, then set up a VoIP connection, and then make sure it's active. If you change WLANs, you have to modify the VoIP connection, it cannot use an existing WLAN connection, or the current best default. I want a VoIP/GSM combo not because I want to spend two minutes to configure VoIP in a foreign network. Also, while we're on a topic related to WLAN: the device does not allow you to connect to a WLAN without starting an application that uses it. Sure, it's power-optimised, but still. Also, neither ESSID nor encryption status are shown anywhere when you're connected, and I did not find out a way to display the phone's IP address. Another beef was with the general device speed. There's a quick access button to write SMS. If you press that, it takes 5-6 seconds until you can type the SMS. I don't need to say more... The display of the E60 (and E70), however, do warrant their own paragraphs: it's gorgeous! Simply gorgeous. Unfortunately, that's not a selling factor for me. So I decided to wait for the next generation of WLAN/VoIP/GSM combos (or at least firmware updates to the E60), and especially the Motorola A910, which runs Linux. I am grateful to the shop manager for being so patient, making sure that I am satisfied rather than trying to make money, and generally just giving me a pleasant shopping experience the way it really should be these days -- given that there are shops out there that won't let you try electronic devices before you buy them. So, if you're ever in Zurich and in need of mobile communication devices or paraphernalia, visit the mobilezone shop in Oerlikon (Einkaufszentrum Neumarkt) and ask for Andreas Iseli! Apart from being next door to my flat, I'm definitely going to go back there next time I need something. PS: to all those who have been toying with the idea of buying (or otherwise drooling over) the E70, do note that the two run the same software, so most of these issues will apply to the E70 as well. However, it's always best to make up your own mind, so find a shop as professional and fair as mine and get your hands on it.

Jordi Mallach: B tera 2006

For most of the past winter I've been trying my best to get back into a somewhat regular schedule of training. I have failed miserably. At most, I've managed to go swimming at 7AM once or twice a week with my teammate Rafa, but I've been quite irregular. I also tried getting some running done, which revealed my condition is the worse in the last 7 years, probably. The first days I went running I felt I couldn't go faster than 4.5 mins/km without having my legs warn me about what I was doing. It was horrible. And when I started to get into the habit, I had to stop. I started getting some pain in both knees whenever I ran more than 45/50 minutes, and I associated it to my weird knee crack I get after a while of cycling. So, in March or so, I decided to stop, frightened of the pain being a serious injury or something. I wanted to visit a physiotherapist as soon as possible, but that only happened a few months later. I visited my teammate Jordi Reig in Alcoi, and after exploration, he deducted my knee problems probably come from the massive contractures in both quadriceps. I was meant to start running again, adding minutes to the sessions progressively until reaching the problematic 50 minutes of pain. I've been so busy though, that I haven't been able to do anything in the last months, so I can't say how bad my quadriceps are now. Two weeks ago, during the WarmUp Weekend in Vilanova, I got a bad kick on my calf during the semifinals game, and the day after even walking was painful. I had already signed up for the B tera triathlon, so I thought I may not be able to finish it. I signed up as I did with other competitions last year, with the goal of finishing and nothing more. This time, all my cycling training was a 40km stage I did back in December. B tera is a sprint with swimming done in a 50m pool, 27kms of cycling in an irregular circuit and a bit more of 5kms of running around the town. It is organised by our team mate Jordi Jord , and this year was the second edition. I already attended last year. On Sunday, I had to wake up at 6:10AM after going to bed at 3 or so, had some chaotic breakfast and drove up to B tera. This year I haven't got a triathlon licence, so I was in the teamless and veteran people leg. The judges made us wait in the water for nearly half an hour, apparently because one team was missing and was about to arrive. They could have warned and I wouldn't have frozen in there. The people in my lane tried to organise the start of the race, in order of what people said they swam. As the older people claimed they swam in 14m or so, and I had no idea of how much I would do, I offered to go last. Ok, that was a fuckup. It seems the 4 guys immediately before me weren't exactly van den Hoogenband or Phelps. After the first 100 metres I got tired of swimming at half speed and decidedd to overcome a few of them. I managed to get rid of two on the 350, but when I tried with the third, he didn't seem too cooperate too much, so when there were just 200 metres left I decided to not waste more energy on that. My swimming time wasn't spectacular, but at least I got out without being tired at all. Cycling made me remember my biggest problem when there's some climbing in the circuit. I climb very well, but everything you climb you'll have to descend eventually. So the three laps were the same: I passed many people on the way up, but on our way down they would go past me again like rockets, due to my minimal body weight. That sucks. At this point, I thought I would have abandoned the race due to my calf injury, but as I was feeling more or less ok, I decided to give it a try. The first lap of two wasn't so good, I felt my legs weren't used to the transitions, but after they warmed up a bit I started running faster. Until, 1.5kms away from the end, the quadriceps started warning me; I had to slow down again until I crossed the finish line.


I would look more like an athlete if I shaved... The rest of the team did pretty well on their leg, specially Rub n who came in third after having raced on Friday night. A few hours and many children races later, we received the team award for the Komando's second place.


Everyone loves the Komando. Go Komando! It always feels good to do races like B tera. I plan doing a few more races this summer: Val ncia, Pinedo, maybe Antella, maybe Cuenca...

Ross Burton: Go Energy

To counter the Stop Energy I'm famed for (think of the Listen saga), I'm going to blog some Go Energy. Sputnik is a great little Internet radio player. The UI is heavily based on Muine, it uses Python and GStreamer, and pretty much Just Works. It's only up to version 0.0.3 but it's been my main source of music for the last few days, so it does what it needs to well. I'd like to see it displaying the song title and artist somewhere, but that is about it really. NFlick is a Flickr set browser for the Nokia 770. As it is only version 0.1 is has some flaws: it eats huge amounts of memory (no running it at the same time as the web browser). crashes a fair bit, doesn't cache images, and doesn't support the hardware keys. However, when it works, it works well: this is just the sort of tool I want on the 770. NP: Digitally Imported - Lounge

MJ Ray: Welcome, Panu Kalliokoski

The second of my New Model Advocate sponsorships to get a package into the archive was Panu Kalliokoski with the NEW tinyscheme package. It's good to have a lean, stripped scheme in the distribution for all those times when you just want to do a quick function or two. On the way, we bumped into various bits of policy like executable naming conflicts, but I think we ended up with a useful package. Thanks and welcome, Panu.

Lars Wirzenius: Debian: Photo mosaics of Debian logos

Metapixel seems very cool.
Photomosaic of Debian open logo. Photomosaic of Debian official logo. The full size pictures megabytes in size. Sorry.
I made these within minutes of hearing about metapixel. They can certainly be improved, but I don't have the time for that, sorry. I'm just happy to have made this easily.

Jordi Mallach: Jo no t'espere

Not at all! The Pope is visiting Val ncia next weekend. According to Rita Barber Noya, the mayor of the city during the last 16 years (I mildly remember her predecessor), All Valencians will welcome him warmly . Well, not exactly all. The Pope's visit was decided by the previous one a few years ago, and Ratzinger, shortly after being elected his successor, announced he would still visit Val ncia for the World Meeting of the Family. In principle, I would have no problems with him come visit the city, even if I have no sympathy at all towards his figure or the role of the Catholic church either in Spain or other places of the world. For example, I think the last two popes are direct responsables for the AIDS drama in many countries of the African continent. It is unacceptable and quite unethical that still today, after decades of fight against this deadly plage, the Vatican keep saying no to the usage of condoms. As I said, I would have no problems with his visit, if it was a normal visit. But no, this is the Val ncia, and the government likes to show that they can do things in a grand way. Not so long ago, Ratzinger visited Poland, and from what I've read, the authorities there didn't organise anything grotesque like what's going on here, in the sense that people living in the areas affected could more or less keep on with their lives, and the visit didn't cost much of their tax money. Val ncia won't work like this. Anyone who has visited us will probably know what I mean: the Ciutat de les Arts i les Ci ncies, Terra M tica, the America's Cup harbour... are examples of pharaonic projects, all funded with public money that are real black holes of budgets that never end up growing. The Pope will stay in Val ncia around 24 hours, and will give a series of sermons and speeches. For the ocassion, the Valencian local government has gone all the way to make his visit the most spectacular event of the decade. Although the government won't disclose it officially, the press talks about a cost of 30 or 40 million Euros, paid by all of us, including atheists, agnostics or muslims. Spain is not a catholic state, officially. Sadly, it is in practice. According to Vatican sources, 94% of Spaniards are catholic. The number goes down to 76.1% according to CIS, but the reality is that just a small fraction of these people are practising catholics. The Spanish church uses these figures to get funds from the state. I am included in that 76% just because I was baptised soon after I was born. There are people trying to apostatise, but it seems in most cases their efforts are futile, as the documentation sent to the eclesiastic authorities is either ignored or sent back with a hilarious excuse such as your baptism is a historic event and cannot be changed . Parts of Val ncia have been closed to transit for two months. This is because the authorities found that the optimal place to build his giant altar with a special microclimate was on top of the bridge of Mont Olivet, one of the arteries of south Val ncia if you want to leave the city. The neighbours of the area now popularly called "ground zero" have been subject to all kind of annoyances: the access to their houses is restricted, they've had to give lists of people living in each place, and they are now not allowed to use the upper terraces of their buildings (they are taken by snippers). The local police has designed a plan to restrict any kind of transit that affects basically half of the city, even my area which is like 6 kilometres away from the event. For months, our authorities have used this great opportunity to make religion and the greatness of our pope something normal and quotidian. I haven't seen such a big interference of my life by the church before, not even with the Aznar government, or when I was a small child and the dictatorship had just ended. They are also using the event to promote the achivements of the right-wing local government (via speeches and the propaganda that is distributed in the backpacks given to volunteers) and to bash the socialist central government (which recently approved gay marriage, a new education law that weakens the weight of religion study in public schools, etc.). I could go on and on, but this rant would get even more boring. I, like many others, think that all of this is not acceptable. As we tend to not shut up when things like these happen, a civic movement appeared two months ago, with a main goal of letting people know that we are not waiting for him, contrary to what the mayor says. The Jo no t'espere campaign has managed to make opposition to this pompous week by placing banners on balconies. Of course, I have my own, and I've also distributed a few more among my friends, one of them being placed a mere 70 metres away from the pope's altar.


No, jo tampoc t'espere Of course, the amount of Vatican flags outnumbers us greatly, in a ratio of at least 1:100, but anyway. There are so many Vatican flags that this looks more like St. Peter's Square. Others have taken the opportunity to exhibit Spanish flags all over the place, something that probably had not happened in Val ncia since the most obscure years of Franquism. Oh well, this is Val ncia. One piece of good news: due the chaos starting in just two hours, we're allowed to leave offices early today, so we can actually get back home. As soon as I get home and have lunch, I'll flee away to the mountains, like a maqui until the madness is over. The 1.5 million pilgrims can have my holy city. Have a nice time, Ratzinger!

Evan Prodromou: 18 Messidor CCXIV

Long hot days in Montreal -- which means a lot of fun for me. Yesterday, I had lunch with Marc Laporte, a Montreal Open Source developer and project lead for Tiki CMS/Groupware. Marc sent me email a week or so ago -- he saw on GeoURL that we lived right across Parc La Fontaine from each other, and since we had such similar interests it made sense to meet up. Wednesdays are my Daddy Day with Amita June. I try to work 4 10-hour days a week, and take Wednesday off to spend with the baby (and let Maj get some work done). It doesn't always work out that way -- I tend to work late night and weekends anyways, and Wikitravel never sleeps -- but at least theoretically I take the baby on Wednesdays. So I had the baby, and we went and met Marc at Universel Caf on Cherrier and Parc L.F. It's a nice place -- not too pricey and the food is good. It's also got a terrasse so we could sit outside in the sun. Marc is a lot of fun -- Tiki's got such an active user and developer community, and such a unique development strategy (very liberal CVS access) that we had a lot of fun and things to talk about. Marc spent six months in wt:Buenos Aires developing software, which is just about my dream job. I've wanted to go there for a long time, and it's on our list of "next places to live". We also talked a lot about how active Wiki culture is becoming, and how great that is, and how many blechy parts there are too. As when most Wiki makers come together, we bemoaned the lack of a Wiki markup standard, but hopefully the development of a text/wiki RFC will spur its growth. At least I hope so! tags:

Allez les bleus On the way back from lunch, Amita and I stopped in the great playground by the baby pools in Parc La Fontaine, when my friend Niko called and invited me over to watch the World Cup semi-finals between France and Portugal. Niko lives on Marie-Anne and DeBullion -- about half-way between the Portuguese neighborhood surrounding Iglesia Santa Cruz at rue Rachel and St Urbain, and the Barouf, a bar on St. Denis that has become the unofficial centroid of French World Cup fans in Montreal. Amita June fell asleep on the way there, so we didn't get to Niko's until the game was almost over. But that was OK -- it was kind of a boring game, as far as I can tell, and France won 1-0. What was fun was walking out to St. Denis afterwards. The police had blocked off the street for several blocks in both directions, so we were able to walk up and down the street, while people cheered allez les bleus and waved the tricolor and generally had a mad good time. We couldn't help ourselves -- we had to walk down rue Rachel and see how the other half was doing. Which was, in fact, not well -- there were an awful lot of glum Portuguese people hanging out at Rachel and St Laurent. The street wasn't blocked officially, but cars really couldn't get through the crowd of mopey, extremely well-costumed folks. It got a little ugly -- one drunk France fan came around waving a tricolor and nearly got his hat handed to him by 12 angry Portuguese, including one guy in a red, yellow and green wig with a big red clown nose. A car with a French flag driving up St. Laurent also got stopped. We figured it was time to get out, so I took the baby home and put her to sleep and hacked on my OpenID MediaWiki extension for a few hours. Things are going well -- I'm really close to a consumer and a server. The little UI niceties will have to come later -- right now I'm concentrating on the mainline functionality. tags:

6 July 2006

Enrico Zini: Passing data through vims using the X clipboard

So you have this nicely formatted piece of code in one vim and you'd like to paste it into another vim, but that usually messes up things. What I used to do was this:
  1. Select the code using V
  2. :w!/tmp/foobar
  3. Switch to the other vim
  4. :r/tmp/foobar
Then with vim7 I could just load files in different tabs and do everything inside vim. But sometimes I have more than one vim running anyway. Today I figured out a better way:
  1. Select the code using any of v, V, ^V
  2. Copy into the X clipboard: "*y
  3. Switch to the other vim
  4. "*p
It SO works. It'll even allow you to copy and paste block selections accross different vim instances. Of course this can also be used to copy and paste pieces of text to/from any other program that can access the X clipbpard, like X applications or the nice xclip commandline tool:
  1. (any command) xclip
  2. Switch to vim
  3. "*p
Of course that is just an example: a better way to do it directly in vim is:
  1. :r!(any command)
But I'm happy, for two reasons:
  1. I can copy an paste arbitrary vim things between aribtrary vims using the X selection
  2. Within 10 minutes I'll receive 5 e-mails telling me of even better ways of doing this.
Update: some kind people suggested to use the :set paste and :set nopaste trick and then do normal copy&pasting using the X terminal.
That is what most people do, and what I used to do sometimes, but:
  • it takes too much typing;
  • it makes it awkward to select big quantities of text that don't fit in one screen;
  • it can't copy and paste arbitrary vim objects (try pasting a ^V block selection with :paste);
  • it doesn't always exactly paste what was copied (you copy tabs and you're likely to paste spaces).

Andreas Barth: More on xorg-x11 6.9 removal

Last time I had the assumption that python-gnome2-extras just needs to go to testing. Unfortunately, that's not the case. The package needs rather to build on all arches first, but we now have some circular dependency loops. Lo c Minier proposed now some way to escape from it, but we see how many days it continues till we finally resolve this issue. Actually, we couldn't investigate in the removal matter any more until the python-gnome2-extras build issue is resolved. (Just to prevent misinterpretations: As usually, I'm not complaining about anybody involved. I'm just not that happy with the issues we have.)

Martin F. Krafft: Ubuntu and Debian

Ubuntu caused a lot of friction with and for Debian. In discussions with its founder, Mark Shuttleworth, and other Ubuntu developers during (and before) Debconf6, I was able to spell out the main criticisms from the Debian perspectives of the way Canonical/Ubuntu is handling things (without a claim to completeness). These criticisms mainly stem from discussions with fellow developers over the past 18 months, and I largely support all of them. I am publicising them here to help make the status quo more transparent. Before I go on, I want you to know that my neutral and somewhat even supportive stance towards Ubuntu has led many Debian folks to conclude that I must be a Canonical employee; I never was nor will be. Let's go:
  • A major point of friction I've gathered from many (Debian) sides stems from the fact that many developers are largely unsatisfied with how Canonical/Ubuntu cooperates and "gives back" to the Debian community: essentially, at the moment all we get are monolithic patches describing the differences between Debian packages and their Ubuntu counterparts. Even though Mark has claimed that the patches should be modular if the underlying package uses a modular package management system (such as dpatch), this does not seem to be the case at first glance (c.f. e.g. squid). You have to look inside the monolithic patch to note that its changes are compartementalised into dpatch files. Yet, Canonical/Ubuntu continuously claims to be "good" and to "give back" to the Debian community, but that's just not happening in that way. Canonical/Ubuntu either has to start giving back according to their own claims, or stop pretending that it does, and it's good that I have heard this voiced by one of the Canonical employees as well.

  • The perception that Canonical/Ubuntu is taking advantage of Debian seems to prevail. Taking advantage in this definition entails using but not giving back, as well as dragging integrative work out of Debian, something Joey Hess described as the supermarket thing, which has the potential to ruin the Debian project. Whether this is true or false, intentional or unintentional, it is important to recognize that these sentiments do exist among a number of members of the Debian community. There's a related point, namely jealousy about Ubuntu's success, and the fear that it steals Debian's users. In response, it is often said that while Ubuntu depends on Debian, the reverse is not the case: Debian does not need Ubuntu. This is false and true at the same time. Debian surely need derivatives like Ubuntu, for derivatives bring users, and users bring improvements and weight. However, Debian does not need any one derivative more than any other, and in fact it has been considered harmful if any derivative stands out.

  • Many of those with whom I've spoken perceive that Canonical/Ubuntu do not acknowledge Debian enough, nor give credit where credit is due. And this lack of credit and acknowledgement further amplifies the fear. Two examples seem to stand out:

    • The "universe" community that gathered around Ubuntu's core surprisingly often does not know about Debian, or do not know how Ubuntu and Debian relate. I do not have any data on this, unfortunately (see below). This is something to take up with the Ubuntu Community Council.

    • On the ubuntu.com front page, Debian is not mentioned at all; if you actually follow the About Ubuntu link, you can find Debian mentioned once in the first paragraph (albeit without a link), and if you did notice the right hand menu expanding, you may even decide to click on Ubuntu and Debian, where the relationship is finally illustrated from the Ubuntu point of view. To many, this is just not enough. Update (+6h): the About Ubuntu page now links to the Debian homepage. Thanks!

  • Canonical people, and Mark especially, draw an important line between Ubuntu (which is mostly free/open-source), and Canonical with its other products (Launchpad, Rosetta; which are non-free). However, from the outside, this line does not exist, or at least it appears as if there's a much stronger relationship between the Canonical and the Ubuntu project. This impression casts a corporate shadow over Ubuntu which deters many developers, even if it's undeniable that Ubuntu is a project of its own (to a large degree).

  • There's no question about Mark being on an agenda, for which he has assembled an impressively powerful team (which indirectly includes many Debian developers) at an (even more impressively) cheap cost. It's not my business to speculate about other people's finances, but those that do conclude that Mark is very likely not running too much of a risk with what he does at the moment and could basically pull out at any point in time. To some, who have dedicated large parts of their lives to Debian, this seems like an unwelcome way to play a game.

  • When Canonical entered the market and hired some developers to work on a Debian-related project, a lot of jealousy boiled up among those who didn't get a job, because back then it seemed that Canonical was out to pay people to work on Debian -- which is a common dream among us developers; at least people hoped that's what it would be. Many fundamental contributors felt left out and confronted with the question why they should continue their work for free when others are now getting paid for it. The twist is that nobody wanted to ask themselves that question, because money was never the reason why they started to work on Debian. The situation has leveled by now (I think). More and more people realise that Canonical is taking Ubuntu into a direction where many Debian developers do not want to go. Nevertheless, it seems that some of the frictions we are currently facing between Debian and Ubuntu still have their roots in the bad feelings from those times (which may well still exist in the individual case). Canonical/Ubuntu (and some Debian developers) need to realise (and get over) this, and somehow I think they've got a long way to go.

On Friday night of the Debconf6 conference, Mark assembled a bunch of people discuss the inter-project relationship. The (large) number of people who eventually joined, as well as the choice of venue (with live music) made the discussion somewhat awkward, but we did manage to get some good talking done, and I raised all of the above points. See the minutes of the meeting if interested. With their latest release out the door and a little more time on their hands (at least for a while), I hope that Canonical will follow up on the resolutions of the evening, as they have promised. The same goes for Debian, of course. There's very little Ubuntu can do about the jealousy other than acknowledge it, but it would be an important start. In addition, I hope to see all of the following take place rather sooner than later:
  • quality improvements to the patches they "give back" to Debian, and the adoption of a more appropriate medium of exchange. Instead of patches, active reaching out to the Debian developers by the Ubuntu developers would be even better in certain cases. The claim by Mark and one of his employees that this is simply impossible because of the commonly misconceived size of the paid body of developers (which is just too small) is really their challenge, and if they cannot meet it, maybe they have to go around it. It should be noted that efforts along these lines exist, so Canonical does not have to start from scratch. Note to Debian developers: if you're so inclined, please add your name to the bottom of that page.
  • a clear statement about how Canonical/Ubuntu plans to coexist or cooperate with Debian, and then the execution of those plans without leaving any doubt.
  • a survey of the Ubuntu community to gather (and publish) information about common perceptions of Debians position and role with respect to Ubuntu and vice versa. Again, this is something for the Ubuntu Community Council.
  • steps to ensure better familiarity with the Debian-Ubuntu situation among the Ubuntu community members.
  • a dedicated space for Debian people to go and be heard. Maybe the #debian-ubuntu channel on irc.debian.org will suffice, if some of the Canonical/Ubuntu higher-ups make an effort to keep an eye on it.
  • further steps by Canonical towards improving the relationship between the two projects, which could include regular meetings (or even irregular ones), uniting prominent representatives from both sides.
If I may add a thought that has come up lately (it's not only mine): a derivative like Ubuntu, namely one pushing Debian to the desktop, is an important asset for Debian. However, the only way this is going to work from the Debian perspective is as a mutual effort. If Canonical/Ubuntu do not realise this, maybe another derivative has to step in to fill the void? I hope this blog entry accomplishes what it tries, namely to shed some (more) light onto the relationship between Debian and Ubuntu, and to help the Canonical/Ubuntu side better understand the Debian perspective. Sorry for the length, I've worked on this entry ever since Debconf6 and despite a lot of editing (also by others; thank you!), it just wouldn't get shorter. Thanks for reading it all (assuming that's what you did if you arrived here). Update: this post has spread significantly, it seems. Thanks to all who've passed it on. I know of the following threads that ensued: If you find any others, please let me know.

Simon Richter: Praise

My DSL arrived today. A little earlier than expected (7:40 rather than 8:00 to 12:00), but it works absolutely flawlessly (as I expected). About ten minutes later, I had VoIP working too. I can still only recommend QSC, they manage to get things working, have a customer support line where they pay when the call takes longer and where the first person you speak to has access to all the data and metadata (so they can tell you why you had to wait five minutes to get VoIP, which is extraordinarily long, it seems). The email I was promised was there ten seconds after I had hung up. I guess the reason it works for them is that their focus is on businesses and technically minded people, as their list of services lists ping times (15ms, which is far from the truth; it's more like 8ms). I doubt they could maintain that level of service if they had to tell everyone how to turn on their computer.

Christine Spang: Very Much Settled (and loving it)

So I went from this: Suburban Upstate New York To this: Urban Cambridge Massachusetts It’s not called the Halfway House for nothing. The Halfway House It’s been just a couple days over two weeks, and I’m doing awesome. Loving every minute, or close to it. I love the freedom of being out on my own, love having my own schedule, love dealing with getting my own food, even don’t mind doing my own laundry. Not to say I don’t love my friends and family too. But still. Unpacking was fun. Apparently the person I’m subletting from played a tap-dancing stormtrooper in a student-written Star Wars musical. And there were… fun things left in the closet. And I couldn’t resist, if just a little. Stormtrooper It was beautiful for the first couple days of being down here, but lately it’s been not as good - muggy, hazy, too hot, etc. Though today was better than the last couple. Here’s Boston from Cambridge, two weeks ago: A Beautiful Day in Cambridge My house isn’t air-conditioned, but the Media Lab is — so it works out okay since I spend the middle part of my day there anyhow. I’ve been thinking about getting a window AC unit, but the trouble with relying solely on bike, public transport, and foot to get around is that it’s a pain in the ass to move around large objects. I love the Debian scene down here too. There are some great people, and since the rest of my college class doesn’t arrive until August, I’ve mostly been hanging out with them. There’s this bizarre feeling of connection with other Debian people. Not to mention I’d already met some of them when I was down in April. Last Friday I went out and biked around Boston with Boston’s Critical Mass. It was pretty exhilarating and fun. (This is before; I didn’t really feel like biking and taking pictures at the same time.) Before Critical Mass Boston And afterward there was an Acetarium sushi party which involved meeting Joe “Zonker” Brockmeier, who writes for Newsforge/Linux.com/etc. Yesterday I went out to visit the Boston Harbor Islands with Mako and Mika (nobody else showed up — too early or something). Mika, Mako, and Me in Boston Harbor They were pretty damn nice, if I don’t say so myself. The weather held up as decent, and although the ferry out from Boston costs money, the inter-island shuttle is free for moochers who want to cruise from island to island around the harbor. The islands weren’t even that crowded, which was surprising considering their proximity to Boston and abundance of pretty nice beaches. Of course, come August it will probably become impossible for me to hang out with Debian people 5/7 days a week. So, gotta stock up… y’know, before they kick me out and stop feeding me awesome vegetarian food…

Erich Schubert: When soccer gets disappointing...

... is when the result seems to depend a lot on the referee. In the germany vs. italy game, an intentional handball close to their own goal by italy didn't gain the germans a penalty shot (which could have given them the lead). And in the france vs. portugal game, the french goal was a debatable penalty kick. It's also disappointing when one team makes a goal in the 119th minute, when the teams were of equal strength. Thats when you feel a penalty shootout would have been more appropriate. But thats life, and it just reminds me why I don't really like watching sports. And this probably means that both the final and the "small final" will be interesting to watch. Just don't pay attention to the final results. Still I think that soccer is more fun than e.g. basketball. In the basketball games of "march madness" I watched last year, most games were actually decided in the last 2 minutes of game time (which took them more like 20 minutes), which usually was one team trying to make a quick foul, so the other team gets two free throws, then trying to make a quick 3 point throw. And fouling again when the other team has the ball. Repeat until time is actually up, or you have the lead. Or your players don't manage to get the 3 point throws right, but the other team is too successful with their free throws. It's much like the actual game before that didn't really matter. I guess basketball could benefit from an extra time handling like in soccer. What I hate most about sports is that people who have just been watching the game on TV celebrate as if they had won themselves. There is no skill in cheering a team on TV... So please, don't sing "we are the champions", but more accurately "they are the champions". On the other hand, the "worldcup party" here in germany has been outstanding. It's like the whole country is celebrating with its visitors. We've raised the bar too high for south africa in 2010, I guess.

5 July 2006

Martin F. Krafft: A Japanese book

My book is now available in Japanese (ISBN 4-8399-1897-X), thanks to the great work by our (Debian's) very own Kenshi Muto and Junichi Uekawa! It even comes with its very own Obi -- a ribbon wound around the book with commercial messages designed to draw the attention of the (potential) reader. The word derives from the sash worn with a kimono. It's weird to hold a text in your hands that has your own name on it, but which you cannot read, especially when you're such a pedantic perfectionist as I am. This dilemma I picked up in the Japanese translation's preface, which I include in full for your reading pleasure. And I'll do so both in Japanese as well as English, just because I don't know when I'll ever get the chance again to post some authentic Japanese on my blog!
Debian Debian Kenshi Muto Junichi Uekawa Debian Kenshi pbuilder Junichi Debian Kenshi Junichi honsho ga minasama no ochikara ni narereba saiwai desu.
And here for all those who cannot understand the signs from the land of the rising sun:
I have only had the chance to visit Japan once to date, but the trip left some unforgettable memories, which make it all the more an honour for me to see a Japanese translation of my book on the market. The Debian operating system is gaining popularity fast in Japan, and it is my hope that the book you are holding in your hands will help to accelerate this growth. Please allow me at this point to express my gratitude towards Kenshi Muto, a Debian book author himself, and Junichi Uekawa, author of pbuilder, a vital component in the making of my book! Kenshi and Junichi are both renowned Debian developers and have been instrumental in the coordination of this Japanese translation. As you will notice while reading my book, I invested a lot of energy into making it a quality reference. It was thus very difficult for me to accept a text with my name on it that I could not read, as is the case with the Japanese version you are holding in your hands. However, knowing the translation in the capable hands of Kenshi and Junichi quickly put my mind to rest and I am now incredibly proud to see my work translated into the language of the fast-moving and innovative culture of Japan. honsho ga minasama no ochikara ni narereba saiwai desu.
That last sentence means "I hope the book will be helpful to you," and was translated by Shuhei, a friend who's working on his Ph.D. at Zurich's AILab. Apparently Kenshi and Junichi thought it was so cute that they simply left it as is and did not translate it. In other news, my book's also available in German (and has been since late February), the French edition is on the verge of being released by Eyrolles (no link yet), and the Chinese translation is still work in progress (also, no link yet). The book's website needs a rework to integrate the other languages, and to fix up all the shortcomings I've encountered during one year of uptime with an average of around 200 unique visits per day. It's also still using Plone 2.0.5, but I just have not had the time yet to fix it all up in a migration to Plone 2.5, mainly because I've lost synchronisation with the Plone development team over the past year. Oh well. That ToDo list just keeps getting longer...

Jeff Bailey: Spam, meh

I just purged over 1000 spam that accumulated in my home email while I was away. Those were just the ones that got through. By best estimate, I have about 10 times that which actually got filtered.

My biggest culprits seem to be stuff that comes through @gnu.org and @debian.org, since those aren't subject to the RBLs that I use.

relays.ordb.org
sbl-xbl.spamhaus.org

I think I need to teach my spamassassin/mailscanner to go through the received headers and try the RBLs. IIRC it's an option that I disabled for some reason.

Daniel Burrows: Paintings make the room pretty.

<rant>
In my last post, I linked to the Wikipedia article on "kitsch". I generally use this to describe art that's in egregiously bad taste -- plaster sculptures of women with exaggerated breasts holding beer bottles, animal-shaped clocks whose eyes wobble with the pendulum, etc. I want to make this clear, because the Kitsch entry in Wikipedia suffers from a case of advanced artistic pinheadism. In short, their definition of Kitsch reduces to

It's pretty and people buy it.


For instance, Thomas Kinkade (the self-styled "painter of light") is disposed of with the offhand comment that his pictures are

scenes of stone cottages, lighthouses, cobble stone streets, rustic villages, and other vistas, with emphasis on the glittery ornamentation in the play of light and natural foliage. His work is meant to be sentimental, patriotic, quaint, spiritual, and inspirational.


While I'm a bit put-off by Mr. Kinkade's aggressive marketing, the quote above could only be considered a serious insult by people who describe the origins of the scourge of kitsch as follows:

Kitsch appealed to the crass tastes of the newly moneyed Munich bourgeoisie who, like most nouveau riche, thought they could achieve the status they envied in the traditional class of cultural elites by aping, however clumsily, the most apparent features of their cultural habits. ...

... in being too beautiful and democratic it made art look easy, non-involving and superficial. ...

In some sense the goals of democratization succeeded, and the society was flooded with Academic art, the public lining up to see art exhibitions as they do to see movies today. Literacy in art became widespread, as did the practice of art making, and there was a blurring between high and low culture. ...

The subjects and images presented in academic art, though original in their first expression, were disseminated to the public in the form of prints and postcards.


In short, "wasn't art great back when the only folks who could have it were rich aristocrats, back before those grubby ungewisserei [0] got their grubby hands on it and grubbied it up?"

I am reminded once more why I never took a single art course in college, and took only one English course (and that to fulfill a degree requirement). The worlds of "serious" art and literature seem to be about standing around in a circle telling all the other people in the circle how cultured and sophisticated you are, and how intellectually impoverished and shallow all the people outside the circle are.

Why are you sophisticated? Because you said so, and you ought to know. And be forwarned: any attempt to invoke logic will be refuted with an assertion that our thought systems are inherently socially constructed and there is no absolute truth anyway, except that we are far more intellectual and sophisticated than you.

This has gotten a bit long -- but in short, anyone who looks down on another human being because they would rather have this hanging on their wall than this has frankly given up any right to be offended by the term "self-important pinhead".


[0] This may not be proper German, but as I am apparently an inferior man-child for not seeing instantly how awful kitsch is, how can I possibly be expected to get any language but my own right anyway?
</rant>

Daniel Burrows: Not Bavaria, but still fun.

With today being a federal holiday, Kate and I decided to take a four-day weekend and head to Leavenworth. This is a little town up in the Cascades that calls itself Washington's Bavarian village, and seems to be part of the complete Seattle experience -- everyone around here has visited it at least once. The short description is that while the Bavarian theme is a bit of a gimmick, there's good hiking in the area and some good food (if you don't mind the touristy atmosphere).

NOTE 1:

Why is this post written in the present tense? 'cos I felt like it.

NOTE 2:

For the convenience and sanity of people reading this on aggregators like Planet Debian, this saga is broken into segments.

Day 0

We get a late start leaving Redmond and drive along some pretty spectacular scenery on Highway 2 East ... although after living here for a while, I've become somewhat inured to spectacular scenery. Another craggy mountain with snow-spotted alpine meadows, thousand-foot waterfalls, and blankets of pine forest? You woke me up for THAT? But even by the standards of the Pacific Northwest, this is a scenic drive.


Kate has picked out a short hike about halfway to our destination, but when we pull up to the trailhead we learn that a Northwest Forest Pass is required to park. We decide to cut out that hike and make a note to buy a pass when we get a chance. Probably they're sold in Leavenworth. Further on we see a little picnic area with a path going back into the woods. We decide to stop there for lunch and follow the trail, which turns out to be a pleasant loop through a patch of forest and up to a decent-sized waterfall.

We arrive in Leavenworth in the afternoon. The town has done an impressive job of building a city center of half-timbered buildings in what looks to me like a reasonably German style (bearing in mind that my last visit to Germany was about ten years ago when I was in high school). They even have a two- or three-story clock tower. After checking into the bed-and-breakfast where we're staying, we head downtown to explore.


Leavenworth, at least in the city center, looks very Bavarian from the outside. It's a little less impressive when you actually go in the buildings. Most of the shops sell generic American tourist junk -- shirts that say I can only please one person per day. Today is not your day. Tomorrow doesn't look good either., kitschy statues (women holding beer tables on their breasts), etc. However, while I see very little that's recognizably Bavarian in town, there are some stores with nice selections of work by local craftsmen and artists.

After looking around a bit, we head to the Andreas Keller Restaurant for dinner. We have a nice meal of j gerschnitzel, sp tzle, red cabbage and knackwurst while listening to (live!) accordian oom-pah. I am surprised to see the Chicken Dance mixed in with the rest of the performance, but Wikipedia says that this was composed in Switzerland in 1950s for the accordion under the name Der Ententanz. Live and learn.

After finishing dinner, we walk back to the bed-and-breakfast and get an early sleep.

4 July 2006

Evan Prodromou: 16 Messidor CCXIV

We hit Movies 4 Mommies again this morning, although some horrible construction project on Av Papineau around Jean Talon made us about 20 minutes late. They say that there are two seasons in Quebec: winter, and construction. I think they say that about a lot of places, though. Today's movie was The Devil Wears Prada, which reads much better in French on the posters at the theater: Le Diable s'habille en Prada. It's the story of a girl who wants to be a journalist and takes a job as the assistant to a powerful fashion publisher. It stars Anne Hathaway of The Princess Diaries as the earnest young striver and Meryl Streep as the Andy Warhol-like cruel and judgemental boss-lady. The girl learns about love, life, and being true to yourself. In other words, it was sappy dreck. But it was watchable dreck, unlike the horrible Click we saw last week. I didn't feel stupid for sitting through this movie, which is pretty low praise but for the Mommy Matinee there's only so much you can do. The only bummer is that Streep's character spoke in a ferocious, disdainful whisper, which was hard to hear over the crying babies. tags:

Lawn After the movie we stopped by the Canada Tire in March Central for some garden supplies. I'd promised Maj for a Mother's Day gift that I'd convert the 10'x10' square of weeds and trash outside the front door of our apartment into a nice lawn for sitting on and drinking white wine, but it was raining on Mother's Day and one thing or another got in the way of me actually doing what I said I was going to do. Until now. I had weeded the lawn on Sunday, which was pretty damn hard -- the weeds were waist-high and full of barbs and fluff and procrastination and other defense mechanisms. But I managed to rip out almost everything with a leafspan greater than half a centimeter, which left most of the area bare of plants. We spread out some grass seed given to us by friends Tara and Chris, but I wanted to give it a little more care. So I got one of those pushy lawn mowers at Canada Tire, and a big rake, and some grass seed with fertilizer mixed in since I'm apparently too lazy to mix it together myself. I assembled the mower when we got home, then mowed what was left of the grass down to a low buzzcut. I raked the little square like the dickens to get out the old leaves and dead grass and rocks and sticks and cigarette butts and wrappers, which had the side benefit of turning over the soil, too. Then I threw big handfuls of grass-seed with fertilizer pellets all over the resulting mulched up soil. Some water, some cleanup, and voila: I have what looks like a patch of dirt with seeds in it. Hopefully this will become a lush lawn sometime in the near future, because we also bought some beautiful fold-up wt:Muskoka chairs to put on the front lawn. I think these are just about the same as wp:Adirondack chairs, but I'm sure some expert in patio furniture could explain the difference. They are, however, my favorite kind of chair, and I'm looking forward to sitting out there with some white wine in a few weeks once the lawn grows in. Like, I dunno... maybe Labo[u]r Day. tags:

Hey, Baby Speaking of national (international?) holidays, in the aristo calendar it's the 4th of July. Happy Independence Day, everyone. My favorite 4th of July media item is the great song "4th of July" by X from their album See How We Are. X has an X the Band myspace thingy, which seems to play 4th of July when you navigate to it today. Which, like, hooray for them. Go, X. Amita June and I danced around the house this morning singing the "America -- Fuck Yeah!" song from Team America: World Police. Sometimes I wonder how Amita June is going to feel about her "dual heritage" when she grows up. She's got a Canadian passport and an American one; I hope for her that she'll be better able to appreciate the world by having that dual perspective. I've heard that there are parts of the world where Americans living abroad get together on the 4th of July and have hot dogs and toss the ol' pigskin around and stuff. I don't know if there's an Americans get-together in Montreal, and I kind of don't care. It's not like we're stationed in Siberia here, and we need to congregate once a year to remember what "home" was like. Quebec isn't so far from the US that I feel homesick for American culture -- just homesick for the people. I think the US Embassy in wt:Ottawa has a big party, but the Montreal US Consulate doesn't seem to. Which is probably just as well -- it's at the top floor of a 30-story building, which would make barbecuing hard, and playing tag football on the roof would probably be dangerous ("Go long!"). tags:

.de vs. .it Of course, there aren't any Stars and Stripes flying in Montreal today -- all the houses we passed today were flying the Italian flag, for the World Cup semifinals. Montreal has a vibrant Little Italy, and the residents and other Italians in Quebec are going nuts for the Cup games. I can't imagine what's going to happen tonight if Italy wins. I saw one car driving around with a German flag on the roof today... I hope they guy makes it home in one piece, is all I can say. I like the name "Little Italy" -- it makes me think of a cross between wt:Palermo and wp:Munchkinland. Like, 1-meter-tall Italians drinking espresso and playing tarantellas and dancing and cheering with those tiny squeaky speeded-up Alvin-and-the-Chipmunk voices. Teensy-weensy Italy! Itty-bitty Italy! It's so cute! tags:

Grilling After reading the Meathenge slapdown for once-a-year barbecuers, I'm once again happy that I'm a vegetarian (more or less). I just can't compete in that league, and my little propane BBQ with veggie burgers, portabellos and an occasional trout is enough for me, thanks. tags:

Wikitravel 10K Party I just announced on wt:Wikitravel:4 July 2006 that Maj and I are going to throw a little Wikitravel 10K Party during Wikimania 2006. I'm going to be presenting about Wikitravel and travel guide wikis, so it's going to be an exciting event for us. On a side note, it looks like we'll be in wt:Odense for Wikisym. Lots of people we like there, and Maj has always wanted to be in wt:Saint Petersburg for her birthday, so this will probably be close enough. tags:

El Destino One of the great minds of the Internet goes incognito as El Destino on Pigdog Journal. He may be one of the best media commentators I've ever read, and I'm proud to say that I know him well. Or, well, used to. He's written two articles for Pigdog Journal lately after a 3-4 year hiatus (I think... something like that). His article on the Devo + Disney combination is really funny and good. I hope I hear his voice more often; sometimes I wonder what he thinks of the Web in 2006. tags:

Stephen Hawking and the Long View Dr. Stephen Hawking asked Yahoo! Answers, " How can the human race survive the next hundred years?". tags:

Gunnar Wolf: The morning after: Mexican elections aftermath

Yes, this is one of those postings I'd like to make in Spanish. However, a long time ago I decided my blog should be in English, as many of the people I write it for don't speak Spanish, so don't bug me with that ;-) Besides, I do think it is very important not to leave this information inside the country. International pressure has proven fundamental to stop some of our government's flaws.
So... What happened with our elections? Nothing yet. As many expected, and as we all hoped it would not happen, the results are too close to call a winner. Ugly and tiring trend, just as it happened in the USA six years ago, and more recently in Germany, in Per (twice in the same elections!)...
As it stands now, it seems the candidate I have been favoring and promoting for quite a long time will not make it. The first results from the Federal Electoral Institute (IFE) show a ~1% advantage for the right-wing PAN candidate. That's a sad result for me and for those that think like me, yes... But what is even sadder is that there is evidence pointing out it might not be true after all. It is sad that we might end up winning. Or losing, for that matter. Why? Because it will show that we are not over the fraudulent electoral system that made my country famous for decades.
As a side comment: Blogs suck for interactivity. Either we read replies on the different planets that syndicate us (and come up with unfollowable threads) or we leave comments on people's blogs (and risk never being read, and never read an answer)... Damog [update No, it was not Damog, it was somebody else cowardly using his name :-/ ] left me a reply to my previous post that I think I should address: Regarding the FeCal website I launched with some friends a couple of weeks ago: A site meant to point out the lies on the campaign of the right wing candidate, Felipe Calder n. And, yes, the site is meant (now) to attack him. Dirty, yes. But definitively, it was the only way to answer, and it was the only way not to let his lies dig further into the collective mind of the people. And to a very good exent, we (not only FeCal, but the whole L pez Obrador camp) managed to turn the trend, pointing out Calder n's uncleanness and disrespect for the people and the law. And even if in th beginning we thought of making a site that would just make fun of the Feliz-pillo, we ended up writing or refering to articles we think are relevant. And after the elections are really over (the IFE will start doing the exhaustive official vote count only tomorrow, and it can take even until next Sunday), we will see how to transform this site (or at least this group of people, we will see what happens next) into an observatory, following the politicians' decisions and trying to avoid they are as obvious as they have always been.
Anyway, back on track: Hundreds of complaints have been reported already. A site that keeps track of many of them is El sendero del Peje al 2006 - There are many criticisms we can make to this site, and up to now I have avoided linking to it too much... But their work is very important today. There are many photos of the vote booths' sheets of results, compared with what is registered in the IFE's preliminary results program, and they show slight differences - Strangely, in the 1% margin. Strangely, small enough so most people will not complain. Strangely, just the exact amount needed to give the elections to the right-wing PAN party.
From the first minutes after the results were announced, L pez Obrador told the media that there are around 3 million missing votes. Today, the IFE president (and a polemic figure himself, obviously) Luis Carlos Ugalde admitted those 3 million votes exist, but their data shows irregularities. Lets see what happens. Lets hope the irregularities do not mean the results will be modified.
There are also reports about the data reported by the preliminary results being too perfect, following a linear trend that would be impossible to achieve in a real vote count. The results of both candidates have a constant distance, going up or down together, depending only on the third candidate (a distant third) going slightly up or down.
There are also reports of voting booths that were already captured and disappeared from the system, to reappear some time later - with very slight differences.
So... It is too early to call this a fraud. Yes, many of those things might happen because of real corrections, capture errors or such.
I want not to call fraud. I want to trust the authorities no matter what they decide.
They are just making it harder for me -and for a hundred million Mexicans- to do so. Lets see what comes in the next days.

Mike Hommey: Undeleting opened files on ext3

I’m a specialist when it comes to delete files I didn’t intend to. 3 years ago, I did an rm -rf that cost me most of my $ HOME , and I wrote some software (which i really should work on, BTW) which helped recover most of it (it’s tricky to get files back from ext3 once they are removed from the filesystem, since ext3 clears the block pointers from the inodes then). Today, I somehow managed to remove log files. Fortunately the log files were still in use by a process, so they were still in the filesystem. Unfortunately they were still in use by a process, filling and filling and filling… and in no way i wanted to lose all this data. Let’s consider, for the needs of the demonstration, the following case:
mh@namakemono:/mnt/test$ while true; do date; sleep 1; done > log That fills a 'log' file every second with the current date.
mh@namakemono:/mnt/test$ tail -2 log
2006 7 4 20:48:02 CEST
2006 7 4 20:48:03 CEST
The file keeps growing and growing. Now, let’s remove it.
mh@namakemono:/mnt/test$ rm log The file is not in the directory any more, but remains in the filesystem. It is actually readable through /proc:
mh@namakemono:/mnt/test$ ls -l /proc/10724/fd
5
lrwx------ 1 mh users 64 2006-07-04 20:52 0 -> /dev/pts/1
l-wx------ 1 mh users 64 2006-07-04 20:52 1 -> /mnt/test/log (deleted)
lrwx------ 1 mh users 64 2006-07-04 20:52 10 -> /dev/pts/1
lrwx------ 1 mh users 64 2006-07-04 20:45 2 -> /dev/pts/1
lrwx------ 1 mh users 64 2006-07-04 20:52 255 -> /dev/pts/1
mh@namakemono:/mnt/test$ tail -2 /proc/10724/fd/1
2006 7 4 20:52:45 CEST
2006 7 4 20:52:46 CEST
As you can see, it kept filling while deleted. The usual technique to recover such a file is to copy it from /proc. I happen to have done so some times before, it works pretty well for static files. But that doesn’t in our case: we’ll get a new copy of the file, frozen at some point in time. Here, we’d want to ‘re-link’ the file. Basically, that can be done with debugfs. The problem is that I didn’t find a clean way to get the inode number from the /proc/10724/fd/1 file. But that can be worked around. You need root access (what a surprise), and hope your filesystem was mostly clean before removing the file. namakemono:/mnt/test# e2fsck -n /dev/namakemono/tmp
e2fsck 1.39 (29-May-2006)
Warning! /dev/namakemono/tmp is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/namakemono/tmp contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 113570 has zero dtime. Fix? no
(…)
Don’t worry, the -n option will make the filesystem opened read-only, so there’s no risk for your data.
The interesting part of the output is obvious: the number of the deleted inode. You now only need to link the inode:
namakemono:/mnt/test# debugfs -w /dev/namakemono/tmp
debugfs 1.39 (29-May-2006)
debugfs: cd test
debugfs: ln <113570> log
debugfs: q
And see how it worked:
namakemono:/mnt/test# tail -2 log
2006 7 4 20:58:40 CEST
2006 7 4 20:58:41 CEST
You can tail again, it will show you the file is being appended to. I guess you can do something along these lines to restore a file from ext2. I don’t know for other filesystems. If someone knows how to get the inode number without e2fsck, comments are opened :) Update: Well, it didn’t take long for me to actually find a better way:
namakemono:/mnt/test$ lsof -p 10724 -a -d 1
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
bash 10724 mh 1w REG 254,3 13552 113570 /mnt/test/toto (deleted)

Basically, when the file can be found in /proc/$pid/fd/$fd, run lsof -p $pid -a -d $fd.

Next.

Previous.