Search Results: "nion"

10 August 2006

Erich Schubert: Going AMD64

Up to now, my dad was using my old desktop PC, a celeron 412 MHz (366 overclocked) with Linux. Unfortunately, this trusty companion started to freeze within a few minutes after boot (even in BIOS). So after some 7 years, a replacement was needed. The guys at the computer shop (Computer Gallerie in munich) tried to convince me that nvidia is best for Linux. Basically I followed this recommendation because ATI isn't better, and there are not Intel-based onboard graphics for AMD. And AMD Sempron sounded like the cheapest CPU. And definitely cheaper than an Intel Core... But dudes: Nvidia is NOT included in the kernel. Trust me on that one. Nvidia is non-free, and their drivers most likely violate the GPL. So I ended up buying an ASRock 939NF4G-VSTA mainboard and an AMD Sempron CPU. 1 GB of RAM, an HDD, an okay housing. Just below 400 Euro, that is what I had expected. After some fighting with the hardware (the HDD didn't fit into its slot, I had to bend away some metal. No docs on which way to put the power LED plug on etc.), I was finally able to boot the system. I used todays daily-build of the netinstall CD image for AMD64. I.e. the to-be etch installer. Worked like a charm. After some downloading over my 2 mbit DSL line the system was up and running. Graphics were VESA, as expected. With some fighting with the annoying non-free Nvidia drivers, I had them working, too. Ethernet worked out of the box; I don't know about S-ATA (a driver is loaded though), temperature sensors seem to work, too. Sound doesn't work yet. The snd_hda_intel driver is loaded, however there is no sound to be heard on any of the 7.1 channels. The mixer only shows "Master" and "Capture" volume controls. If anyone knows how to get sound out of a
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
Subsystem: ASRock Incorporation Unknown device 0888
device, I'd welcome any hints. Kernel is 2.6.17-1-amd64-k8. Maybe I just have to get a newer Alsa with some hardware information on this device? [Update: this is a realtek ALC 888, there is a patch for this to come in 2.6.18...] Anyway, I now have a AMD64 box, and as soon as I've setup some i386 chroot I'll have a useable build-box after all. ;-) And maybe I can do some SELinux testing on it, too. OTOH, I should get myself a diploma thesis topic now, and work on my final thesis.

Andrew Pollock: [opinion] An Inconvenient Truth gets bad press Down Under

Film at 11 My friend Andrew brought this article in the Sydney Morning Herald to my attention today. I was initially mildly incensed by it, then someone at work pointed out the author's Wikipedia entry, which led onto this Bulletin article on her. So it seems she's just a professional right-wing shit-stirrer. This other article she wrote managed to stir up some ire amongst the cycling community. Still, I am glad to see that An Inconvenient Truth is coming to Australia. Well worth the watch. Now I need to go find where Who Killed the Electric Car is screening...

5 August 2006

Evan Prodromou: 18 Thermidor CCXIV

The first day of Wikimania 2006 yesterday was fantastic. Jimmy Wales opened up with a great discussion of the achievements of Wikimedia in the last 12 months -- as well as the tough issues like the John Siegenthaler, Sr. problems last winter. I also caught Mako's discussion of his and Erik M ller's new Free Content Definition effort. Mako and Erik are both extremely smart, extremely passionate people and I think they've made a big step in getting this definition off the ground. It was great to hear Ward talk about his experience with the PPR and with Wikipedia. Lawrence Lessig's discussion of Free Culture was, as I've heard before, totally awe-inspiring. We chatted a bit after the talk, and he promised to add some info to Wikitravel's wt:Costa Rica page. tags:

All you do to me is talk talk So, I finally got around to giving my presentation on Wiki and Open Content travel guides: past, present and future yesterday. It was kind of nerve-wracking (good to know that Dave Weinberger was having problem with his speech, too, though), and I was revising slides up until a few hours before the talk. Jack Herrick of [[$$vote for http://www.wikihow.com/ and I kept planning to sit down together and go over our slides, but we kept missing each other... or, we'd have time, and neither one of us felt ready to show the other how far we'd gotten. I saw Jack about 5 minutes before our talk, and asked how he felt, and he said, "I've only got a few more slides to finish..." His talk was great. The work he's done on wikiHow over the last few years -- expanding the idea of eHow into the wiki environment -- is awe-inspiring. The community there is great. I also liked that he talked about some of the mistakes he made with wikiHow -- kind of a brave thing to do. My talk went pretty OK, I think. The group that was watching was really receptive to the ideas of wiki and Open Content, so I could really concentrate on the importance of applying the ideas to travel guides. I had that great feeling of conveying my ideas and having them understood -- always a fine thing for a speaker. Chris Bronk from the State Department finished up with a discussion on Diplopedia, which I thought was pretty neat, too. It's an internal project of the State Dept to apply wiki-based knowledge management to the diplomatic corps. It's just launching and I hope it works out. The Q&A session went well -- one woman in particular grilled me about ideas on how to build personal opinion, reviews and ratings into the objective wiki platform. When I left the room at the end, one of her colleagues caught up with me. "I'm from the arch-enemy," he said, and pulled out his card from TripAdvisor. They started a wiki recently, although it's not Open Content, and they're here at Wikimania, too. tags:

Par-tay We also had our wt:Wikitravel:10K Party last night at Tommy Doyle's Irish Pub right off of Harvard Square. The food was good, and the beers were excellent, and all the bartenders had Irish accents, which made the whole experience worthwhile. It was great to have both Wikitravellers (those few of us who are at Wikimania) and non-WTers at the party. Amita June loved the venue because it was below street-level, and she could walk up the stairs and down the stairs (holding Mama or Papa's hands), up and down, up and down... She also enjoyed the pub food (quesadillas, stuffed mushrooms, potato skins, etc.) a little more than is probably healthy for a 1-year-old. I got to hang out with a lot of wiki people who are doing interesting things. Paul Youlton at Yellowikis.org was fun to talk to -- the business listings he's doing are fascinating. His site just got served notice by Yell, owner of the "Yellow Pages" trademark in the UK, for "passing off" as a Yellow Pages site. "Passing off" is a weaker charge than "trademark infringement", but it has the advantage for Yell that it doesn't put their trademark in jeopardy. (The "Yellow Pages" trademark in the US passed into the public domain at the breakup of AT&T.) The part was a good time, but it made me miss a lot of the great people who work on Wikitravel. I'd like to make a plan for a Wikitravel Getaway -- just a group trip to some cool part of the world with as many other Wikitravellers as can make it. It could be a lot of fun tags:

Wikimania bloggers One cool thing about being at Wikimania is that I'm finding all of the really active Wikimedia-related bloggers out there. Andrew Lih, better known as "Fuzheado", keeps a good blog on wiki and Wikipedia-related items. Angela Beesley, Wikimedia Foundation board member and exec at Wikia, also has a good blog about wiki-related items. tags:

Busted! Dan Bricklin came up today and thanked me for my blog entry about meeting him (see Journal/15 Thermidor CCXIV. D'oh! Totally busted. But we had a lot of good talk about spreadsheets as a form of presentation, the parsability of MediaWiki wikitext, and SocialText's great work with the rest of the wiki community. Nice person with a lot of interesting things to say... I need to stop being intimidated by software and Internet superstars, I guess. tags:

2 August 2006

Roland Mas: Dead PDA

It seems what I've called my PDA for almost seven years (a Sharp PA-X500) is now dead. Well, it's not quite dead, but apparently the touch-sensitive screen is no longer sensitive to touching, and I'm not aware of any other input device for it. So I'm appealing to my fellow geeks, at least to those of you who know about this kind of things; hear my plea, and please provide some advice. People from Japan, I'm especially eager for your wisdom. First, is there any way I could recover the data that's in it? There's nothing deadly important, it's just to save me the bother of collecting all these phone numbers and addresses again. Some have sentimental value, even if I have totally lost touch with their owners. Before someone suggests deep hackery like removing the memory chip and plugging it into some hand-soldered adaptor then into their old Amstrad, I was more thinking about something infrared, since there's an infrared port. The problem is: can it be activated from outside? I can't switch the thing on the usual way (since the touchscreen is, well, not touchy), I can only get to what's best depicted by this picture of what happens when I remove and re-insert the battery. It's the standard touchscreen calibration tool, from what I understood, but maybe it says somewhere that it can be switched to infrared file-server or so. The manual (in Japanese) mentions Zaurus thingies numerously, but I don't know what they say about them (my Japanese skills are old, and they were never that great anyway). Any idea? Second part, in the very likely case I'm going to replace it: what should I buy? My specs are: stuff the PDA features, I initially bought that as a kanji dictionary, so the replacement needs to have a kanji dictionary too. One where you draw the kanji on the screen, and it recognises it. I'm clueless when it comes to classifying kanji, and if I have to tell the thing that what I'm looking for is something with 17 strokes and the key for "hand", then it loses much of its interest. A kanji→English dictionary would be nice, but not needed. I've managed to cope with kanji→Japanese then Japanese→English. The other, more normal, PDA thingies (addressbook, scheduler, world clock, alarm, etc.) would be nice, but are not compulsory. I don't care about games. I'm going to visit Japan in October, and yes I will spend a couple of hours of Akihabara, but I'd like ideas and opinions beforehand. If someone has an idea for getting the data out but it would require the manual, just say so, I'll bring it along. Why it chose to break down now will stay a mystery. Maximum embarrassment for me because I'll be dictionary-less for a few days in Japan? Or longing for some well-deserved rest since I'm soon going to have the opportunity to replace it? No idea. In any case, it sucks.

1 August 2006

Gintautas Miliauskas: Firefox tip-of-the-day

A small tip for Firefox: use mouse gestures for basic operations. They are provided by the mouse gestures extension. I am no big expert here, as I only use three gestures: go back (left), go forward (right) and close tab (down,right). Nevertheless, having these around is already very convenient, because they are so simple and so frequently needed. I usually do browsing with (surprise) my mouse and these gestures streamline the process because now I don't have to care about the toolbar (and the close tab buttton in particular) any more. If you are only interested in the simple gestures, I found that it helps to disable diagonal gestures: in the extension's properties, Additional Settings tab, set diagonal tolerance to 0 percent. This will disable some advanced gestures but I never wanted those anyway, so it reduces the chance of my gesture being incorrectly recognized. I also disable the New window (down) gesture ("General" tab, "Edit gestures" button) because it would sometimes be activated instead of close tab when the "right" in my "down, right" motion were too small. Mouse gestures, like anything, need some time to get used to, but after a while they require much less effort than seeking out a button. In a few days you will learn that very little motion is required for the gesture to be recognized. For other applications usually the keyboard is actively used, so keystroke shortcuts would be faster, but for web browsing in particular, mouse gestures fit the bill very well in my opinion. By the way, Opera supports mouse gestures natively. In other news, my work on Debian l10n project was mentioned on Debian Weekly News. I found it very funny that they linked to Worldforge, which is an open sorce MMORPG, instead of WordForge, the localisation project. Admittedly I had made this mistake myself previously, and unfortunately WordForge has a much lower profile than WorldForge. Oh well, real news publishers do this kind of stuff all the time :)

Adam Rosi-Kessel: The Onion Still Has It

Wikipedia Celebrates 750 Years Of American Independence:
NEW YORK. Wikipedia, the online, reader-edited encyclopedia, honored the 750th anniversary of American independence on July 25 with a special featured section on its main page Tuesday. “It would have been a major oversight to ignore this portentous anniversary,” said Wikipedia founder Jimmy Wales, whose site now boasts over 4,300,000 articles in multiple languages, over one-quarter of which are in English, including 11,000 concerning popular toys of the 1980s alone. “At 750 years, the U.S. is by far the world’s oldest surviving democracy, and is certainly deserving of our recognition,” Wales said. “According to our database, that’s 212 years older than the Eiffel Tower, 347 years older than the earliest-known woolly-mammoth fossil, and a full 493 years older than the microwave oven.”
I also thought this Dan Rather/Michael Stipe bit was hilarious, but it only works if you’re already in on the joke.

Gunnar Wolf: Israeli mistakes

Reading Jordi's blog, I cannot but agree with him (in most points): I plainly cannot understand Israel's actions in the last weeks. I can sadly understand how some people defend them, specially people not living in Israel - I was talking with a friend today, a friend who does not share a single political viewpoint with me, but still... The world seems to be completely polarized. Some have the impression that Israelis live under constant shelling, that life is unsustainable in that poor country, the last corner of civilization in that mess called the Middle East, and that the Arab countries (which are huge and petroleum-rich) just want to throw Jews to the sea or worse. The rest of the world think that Israelis are mass-murderers who decided to take a heavily populated bit of land and martyrize its originary population by any possible means, establishing an Apartheid.
Both views are false. But of course, both views hold their bits of truth.
I cannot claim to be neutral on this: Although I lived there in total for ~18 months, I am an Israeli by choice (I adopted the Israeli nationality in 1996 and wanted to live my life there - I came back to Mexico for personal reasons, and I later decided to stay here). I have not been to Israel since then - But I try to keep myself informed. And, living in a Jewish family, it's hard not to be somewhat informed - and of course, shocked at your relatives' opinions. Jews outside Israel tend to be right-wingers. I lived in a kibbutz, and I still sympathyze with Meretz, the most leftwing Zionist party.
I won't restate what Jordi eloquently said. I know not everybody who reads my blog reads Jordi's as well - Please do. If you missed it some lines above, here is the link. I insist: I agree with most of what he wrote. What could Israel do to protect itself from its enemies? The answer is simple: Don't give them a reason to hate you.
One year ago, I was optimistic because Israel was heading the right way. Of all people, Ariel Sharon (one of Israel's most hawkish, right-wing strongmen of all times) decided to withdraw from Gaza, and hinted that areas in the West Bank would follow. No, not the best way possible, not as his predecessor Menahem Begin did with Egypt leading to a strong and long lasting peace, and certainly not in the very notable way Itzhak Rabin did with Jordan, getting peace and even friendship. But at least, Sharon accepted the reality, and seemed he meant to let Palestinians build their state. When he organized a new party which reduced Likud to a shadow of its past, one of Israel's most prominent figures for the peace camp, Shimon Peres, joined. Amazing.
But still, there is too much hatred. Of course, life in Gaza is plainly not sustainable. You can walk the Gaza strip side to side in less than one hour, and North to South it's less than 50 Km long. Still, over 400,000 people live in there. The area is simply unsustainable.
Gaza depends for everything from Israel. Of course, according to the never-stable security status, the border between Gaza and Israel opens or closes every day. When I lived in Zikim, mostly every day there were five or six Arabs working with us... Except for the days when they weren't there. And, of course, Israel also depends on the Arabs for much of its hard labor jobs (as it's always the case when two economically disparate populations live together).
Anyway, back on track: Besides giving the Arabs their slice of land (which in a squeezed area as Israel is always hard; people have fought for such small spaces it's hard to believe), the only thing Israel can do is help them. It has worked before: Israeli Arabs (the Arabs living inside the internationally recognized borders of Israel) are full citizens. Yes, there is racism in the country towards them, and yes, they are not really equal with Jewish Israelis - But they have voting rights, they have the right to be elected, they can optionally join the army (it's not compulsory as it is with the Jewish population), and they get government aid. Arab towns are poorer than Jewish towns, yes, but they have their dignity.
The problem in Gaza and South Lebanon (somewhat less so in the West Bank, but also) is that it's plainly all made up of refugee camps. Refugees that were born there, and whose parents were born there as well. And, let me emphasize this, they are not Israel's fault. The refugees fled the newborn Israel because the Arab states said (in May 1948) they would enter Palestine and butcher everybody, inviting Arab civilians to flee and then get back home - of course, 700,000 (out of 1,300,000 who lived in Palestine by then) Arabs did so. And when the Arabs lost the war, the Palestinians were denied citizenship by all the Arab countries except for Jordan (not surprisingly, the most stable of them all, and with which Israel has the closest relation). They were given refugee camps to live, one over the other. When Egypt signed the peace with Israel, it demanded back every inch of the Sinai - But not an inch of Gaza. And not a single Palestinian refugee.
I agree here with Jordi as well: There is a huge military operation in Gaza, but it's more spectacular in Lebanon today. The media talks about Lebanon, but not about Gaza. And the crisis in Gaza is not easier. But how can it be solved in a permanent way? Israel does neither have land to spare to give to the Palestinians - and even if it did, most of Gaza is surrounded by the Negev, a desert where it would not be easy for them to get anything better than what they have inside Gaza. As desirable as it would be to have a completely independent Palestinian state, Gaza would just remain a concentration camp. There is too much hatred, and neither Arabs nor Israelis want to keep working together, not trusting each other. The only solution I can find to this is to have an agreement with Egypt, where Egypt opens its border with Gaza, gives either nationality or work permits to Gazan Palestinians, and Israel injects capital to develop Northern Sinai, to give some hope of survival to the almost half million people.
The same in Lebanon: Israel was widely applauded to withdraw from South Lebanon in 2000. The area is mostly peaceful - For $ DEITY 's sake, what is the kidnapping of two soldiers in a six year period compared to soldiers being killed in the occupation army every week or two? Israel did well to leave Lebanon. Lebanon was starting an incredible national rebuilding process, as Robert Fisk tells us (Spanish only. I could find only the first paragraphs of the original English version, which appears to require subscription) of the wonders of the rebuilding process, reduced to rubble again. Of course, Israeli and Syrian armies left Lebanon. The Lebanese government and army are plainly too weak to care for the country. Hezbollah (which, indoubtely, is a terrorist entity, no matter how many benefical aspects it does have) have poured tremendous amounts of money to rebuild its area of influence, South Lebanon. Of course, they rebuilt, healed and educated with a strong ideological inclination, and that's not good for Israel. What can Israel do to leasen the Islamist influence? Simple: Send aid. Don't just leave. Don't leave a void, don't invite bad people to loot, don't invite extremist people to recruite future bombers. Turn occupation into aid. Build hospitals. Build houses. Give money, give infrastructure. Do it behind your back, as you gave money to the South Lebanon Army for almost 20 years. But make the people see you don't want to kill and rob them - Make the Lebanese Arabs feel their neighbour as a friend, although different. Bring back the good border. What's that? That's the nickname for the Lebanese border between +- 1950 and 1970 - The only border that was stable, that was not filled with hatred, where Israeli doctors treated Lebanese patients across the fence. And still today, the border is just a simple fence.
How can you convince a people of not killing themselves to kill the invasor? Don't act as an invasor. Act in all your best self-interest - Save them from poverty and from indignity.

31 July 2006

Jordi Mallach: Qana, Lebanon

I've been watching the Lebanese bloodshed since it started. It really makes me sick. I have discussed this with many friends. There was little discussion though: we all thought this is a plain war against civilian targets. I tried discussing with people who could maybe be more supportive of the Israeli points of view. I tried talking to some of my right-winger relatives... and I haven't been able to find anyone that can say a word of support of what Israel is doing in Lebanon. In three weeks, I have seen how Hizbullah killed some Israeli soldiers in some area around the border between Lebanon and Israel. As far as my (as an international online paper reader) judgement can tell, the location where this happened is disputed. Some say it was inside Lebanese territory, the others say it was an Hizbullah incursion into Israeli soldiers. I really don't care. The immediate result of this action was a campaign of air strikes against Beirut and other Lebanese cities aiming to give a measured response (cache, and beware this is explicit) to Hizbulla's aggression. This, apparently, included destroying any vital infrastructure in heavily populated areas of Beirut, including bridges, power plants, hospitals and apparently random buildings. While the Israeli army said the military operations were aimed to get rid of the Hizbullah camps and infrastructures around the border where they fire their rockets against Haifa and other Israeli cities, and their headquarters in Beirut and other southern cities, what the world espectated during the first three or four days of air strikes was pure horror. Hizbullah-controlled areas were like ghost quarters, so any bombing of those were very unlikely to take any Hizbullah victims. On the other hand, the rising number of civilian victims was the first bits of news that I could hear in my radio as I woke up every morning. All of this, with a great amount of cinism and unlimitted cruelty. The Israeli army declared that the civilian population in the South should be leaving their homes (measured response), while they knew they were doing exactly what was needed to prevent this, by locking them up around destroyed bridges, harbours, airport and roads. The first columns of the lucky refugees who could afford fleeing to the North were greeted by Israeli bombs, leaving a good number of scattered bodies. In Spain, the news shocked the public opinion and Zapatero, along with Chirac (IIRC), declared those actions were untolerable and unproportionate, and should be stopped immediately. This brought some local politics fun, when on one side the Israel ambassador in Spain accussed Zapatero of being antisemitic, and the right-wing leader Rajoy called the thousands of people who spontaneously demonstrated against the war in a few cities "clowns" and "ignorant". Watching what the UN has done to stop these warcrimes, I really think it's a great moment to shut down that useless organisation and let some big corporation buy their nice building in New York City to build their offices in it. Once again, when some countries tried to come up with some resolution that forced Israel to stop, the United States waived their vetto flag. Once again, the Security Council has done nothing to put an end to another chapter of violence in the Middle East. The vettoing powers of some of the members is so ridiculous that it makes it totally inoperative. So, as the UK and US governments were not going to do anything to stop the air strikes, Israel had carte blanche to do whatever they wanted for a week. And then, Israel's measured response destroyed one of the UN's buildings in Lebanon, killing four annoying observers, despite their calls warning that the bombs were falling too near their location. Only then, the United States decided to send Condie to have a look around the area, surprise visit to Beirut included. I wonder, what phone number must the innocent women and children who cannot escape their cities and towns dial in order to warn the Israeli army about the proximity of their bombed targets? After two visits of Condie to the region, nothing has changed, as the fourth week of operations starts. This is getting on my nerves. I don't, and won't, justify any of the Hizbullah attacks on civilian targets using Katyushas, or the kidnapping of soldiers, or whatever. What I see is that unless Israel takes a radically different approach to their problem, nothing will change either. Violence isn't at least. Apparently, their military operation isn't going well at all, and is not damaging much of Hizbullah's military capacity. What are they going to do? Will they occupy southern Lebanon for 20 more years? The social movements this kind of actions are generating is also very, very worrying. On one hand, I read that around 85% of the Israeli population approve this war and think this is what their government needs to do to make them safe. This is pretty shocking. On the other hand, everyone still in Lebanon, even the Christian community, are united against the attack, helping each other in their survival quest, while the popular support to Hizbullah is rising, with big concentrations of people cheering them in the streets. This is just two years after similar demonstrations in Beirut forced the Syrian military out of the country. While the Israeli war against Lebanon (I won't buy the "It's against Hizbullah" bullshit), sadly all the media, cameras and journalists have given their back on Gaza, which is under similar, but probably more brutal and savage military operations by Israel, as another soldier was kidnapped just one week before all of the Lebanon stuff started. The press doesn't have any news of how things are going in Gaza. The last thing I remember is that the UN was warning about the threat of a humanitarian disaster due to the lack of any kind of supplies in Palestine. If Palestinian kids are starving, the media are not letting us know. Yesterday, 54 civilians were killed in an improvised underground bomb shelter in Qana, most of them being children. The Lebanese civilian death toll must be well over 500 as of this writing, with a ratio of at least 1:10 compared to Israeli military victims. When will Olmert have enough? The only way I see this will end up for good is when the Israeli public realises being at war in three fronts is quite expensive and damages their home economies. Maybe, at that point, people start hearing what the Meretz party minority in the country have been saying for years. Israel has the right to defend itself. This is the official motto of Israeli and American leaders. When this right is extended and abused to the point the main targets and victims are civilians, Israel walks quickly away from a perdurable solution. Today, hostility against the state of Israel is even greater than last month. Hizbullah in Lebanon, Hamas in Palestine, will probably be the winners of the conflict when the bombings end. Not the best recipe for a peaceful future.

Aigars Mahinovs: Spot focus

For a long time I have considered F-Spot to be a nice concept application, but not really fit to be the center of Linux digital photography experience due to general bloat and (most importantly) due to the lack of many important features that would compensate the interface lock in that this application demands. In this post I will try to list all the deficiencies and lacking features of F-Spot that I have found while using it to manage my photo flow.
First let’s talk about the bloat. I will compare F-Spot to GThumb. There are few points of comparison: first start up, viewing a bunch of photos and importing a bunch of photos. When starting up GThumb uses 17 Mb RSS memory (10 of them shared with all other Gnome programs) while F-Spot uses 33 Mb RSS memory (17 of them shared with other Mono programs, of which I do not have any). When viewing a folder with couple hundred photos GThumb uses 25 Mb RSS memory while F-Spot grows to 55 Mb RSS. On import GThumb calls gphoto that adds 3-5 Mb RSS to the memory usage, while F-Spot seems to implement some/most of the photo protocol internally and can easily grow in memory up to the size of the photos being imported (which is kind of problematic while importing a gigabyte of photos), but usually the memory usage on import hangs around 250-300 Mb and hovers around that level for some time after the import is complete. For me personally it does not make much a difference (I have 2 Gb RAM now), but conservative memory usage is still critical for a good Linux application because people expect Linux to be faster and high memory usage can slow down anything. In my opinion no photo management operation should take more then 50 Mb of private RSS memory (even importing several gigs of RAW files from the camera).
Now let me try to describe the optimal work process of a (semi)professional photographer, so that we can see what is missing in F-Spot to accommodate such work-flow and what is done right.
  1. The photographer takes one (or several) cameras, lenses, flashes, memory cars, spare batteries and tripods and goes to an event/photoshoot/modelling session/walk in the park/wedding/…
  2. He takes 3-5 Gb of pictures from lots of different angles with different cameras, different lenses on different memory cards with different settings. Most of them will be the highest quality available on the camera, usually those will be RAW images.
  3. Upon getting back to his computer, the photographer wants to drop all the data to a staging place dedicated to this event. He wants to do it fast and simple without sorting trough the photos at the moment, but at the same time he might want to split the staging areas (multiple models within one session) or join them (one model from different cameras). Sometimes he might not even have time for that and would just want to dump the data now and run to another event.
  4. After several shooting events the photographer finally has reserved the time to sift trough some of the photos from the staging area (modelling jobs first, then the friends wedding and the walk in the park as last)
  5. First the photographer decides to check if the times on the photographs are correct and discovers that at some shooting sessions one of the cameras was set to another timezone. He select all shots from that camera across several (but not all) staging areas and adjusts the time.
  6. Now he rechecks the logical groups of photos (which photos should be in which staging area) by dragging the photos around, splitting and joining the staging areas
  7. When the overall structure is clear, the photographer selects one (most important) staging area and starts working with images in that staging area not caring about any other images
  8. First he browses in full screen trough all the photos rating them in quality scores form 1 to 9 by pressing corresponding number keys. Rating a picture automatically advances to the next picture, which happens very fast because the software precaches several photos ahead for speed and displays without any flicker. Speeds in the order of 2 photos per second are expected on good enough hardware. One key operations for “view 100% zoom”, “rotate”, “view exif” and “quick note” are available. RAW images are automatically translated for preview with default settings.
  9. With couple clicks bad photos (with score of 4 or under) are selected and erased
  10. Now the photographer starts working with individual photos
  11. First step is the RAW->Jpeg conversion. An appropriate tool is brought up with default setting already applied and a preview of the photo showing up (like in dcraw). The photographer adjusts the conversion parameters (including and option to make a HDR-like effect by compressing the dynamic range of high bitness pictures). The converted Jpeg is saved as a version of the original photo and becomes the default for operations that do not understand RAW.
  12. A separate plugin is used to reduce digital photo noise from the pictures (new version)
  13. Photographer makes adjustments to the image inside F-Spot. Each modification makes a new version.
  14. Still not satisfied, the photographer starts Gimp from inside F-Spot and make further edits. Each time Gimp saves the file, F-Spot makes another version.
  15. The photographer erases some versions of the picture and also joins multiple near-duplicate shots into one picture as versions of that picture. One version is always marked as the top version and the photographer can easily change it.
  16. The good photos are tagged and imported to the main collection
  17. A subset of the photos is exported to: Flickr, personal Gallery installation, plain html photo album, a zip file with small (1024x…) versions of the photos, … Only the top versions of photos are exported. If unconverted RAWs are top versions, then they are converted to Jpeg with default settings. In most cases photos are also downsized before export according to the preferences. Highest quality downsizing is used (anti-aliasing) and also additionally small unsharp mask is run on each photo
  18. The photographer does advanced searches and advanced tag selections to select and display or export subsets of his main collection
  19. The photographer has three instances of F-Spot: his laptop, his main work PC and a backup hard drive that can be attached to either of them. He needs to keep his F-Spot photographs synchronised between the three locations for backups and for distributed work. Also after some point the main photo archive becomes too big to store it (with all versions) on the laptop or even on the main PC, so the photographer selects a set of older photos and selects an option to archive them. The next time a connection is established with the backup drive, all versions of archived photos are copied to the backup harddrive and the laptop and the main PC only keep 90% quality Jpeg format picture of the top version of each photo downsized to exactly fit the display resolution of the device. If even that takes too much space then “Archive Only” option is selected which insures that the backup harddrive has the copy of the photo and then erases it from primary data stores completely.
  20. When the backup harddrive is connected it is also very simple to make DVD/HDDVD/Blueray backup copies of subsets of photos from the archive with all the metadata and versions in such a way that other software (and even dedicated media devices) could easily browse the top versions of photos directly from the backup media. Of course, restoring from such backups also must be tested.
So, to summarise, the changes needed for F-Spot are: As you can see, many of those issues are already reported to F-Spot bugzilla, but have recieved little attention. So what shall we do about it?

29 July 2006

Joerg Jaspert: Little changes

Today aj applied two patches to the dak code running on ftp-master i supplied. One got the part in dak that processes NEW up to reality for non-free (well, non-main) debian-installer components, they are now able to go in. The other, more interesting one, affects the mails people receive when a NEW package is accepted. Those now contain an added paragraph, basically looking like the following:
   Override entries for your package:
   foo.deb - optional devel
   bar.udeb - extra admin
   foo2.0-1.dsc - source interpreters
That means you can now directly see if you have a different opinion of the override entries and change your package, avoiding a “Override disparity” mail with your next upload. And just because it was a nice rainy (and cold!) day today, I also went and rejected those two old packages we had in the queue. rte, real time encoder, was the first, and looks like it wont ever get included in Debian, containing non-free code. The other, more flame-attached package, is mplayer - which may get into the archive in the future, but needs a lot of work before that can actually happen. Now - people only need to stop uploading NEW packages, and we are all fine. :) Update: And after aj applied my fix to my override patch people now get the right data mailed…

28 July 2006

Joerg Jaspert: Little changes

Today aj applied two patches to the dak code running on ftp-master i supplied. One got the part in dak that processes NEW up to reality for non-free (well, non-main) debian-installer components, they are now able to go in. The other, more interesting one, affects the mails people receive when a NEW package is accepted. Those now contain an added paragraph, basically looking like the following:
   Override entries for your package:
   foo.deb - optional devel
   bar.udeb - extra admin
   foo2.0-1.dsc - source interpreters
That means you can now directly see if you have a different opinion of the override entries and change your package, avoiding a “Override disparity” mail with your next upload. And just because it was a nice rainy (and cold!) day today, I also went and rejected those two old packages we had in the queue. rte, real time encoder, was the first, and looks like it wont ever get included in Debian, containing non-free code. The other, more flame-attached package, is mplayer - which may get into the archive in the future, but needs a lot of work before that can actually get true. Now - people only need to stop uploading NEW packages, and we are all fine. :)

26 July 2006

Evan Prodromou: 8 Thermidor CCXIV

Yesterday was such an insanely long day -- we woke up in a tent, had breakfast over a Treo, then released a lot of software and went to sleep in the middle of the night. It seemed like 4 days, not 1. And this morning I had to take our new mini-SUV into the shop for its first maintenance checkup. For the last 6 years, I've driven a beautiful old wp:Citro n DS station wagon, but around the time Amita June was born I decided I wanted her to learn to drive on it. Maj and I decided that that meant it had to be taken care of a little better, so I put it in storage and we bought at 2005 Hyundai Tucson. (The Hyundai people here in Quebec pronounce it like "Tux-awn", to our endless amusement.) It's weird having a new car -- like, newer than 1972. Parts are not only plentiful but inexpensive. There is a selection of multiple mechanics in my major metropolitan area that can service the vehicle. And people don't point and wave when you're driving, or stop you on the street to tell you stories about how their grandfather used to drive one on their family farm. We'll be driving the car to wt:Boston next week for Wikimania 2006, so I'm glad it went to the shop. It should be in good shape for the drive -- I hope the rest of us are. tags:

Slides Speaking of Wikimania -- I'm nowhere near ready for my presentation. Jeez, how'd it get to be almost-August already? Thankfully, no one else I've talked to is really ready to talk, either... so at least I'm not the last one to get my homework done. tags:

Software The OpenID software I did for MediaWiki went out yesterday, and I got a lot of good feedback on it. OpenID requires that some state data is stored between participating servers, and the code I wrote uses the memcached client built into MediaWiki to store it. Not optimal but it works. Well, better today than yesterday, that is. There were some pretty gruesome bugs in the implementation that were only showing up for some exceptional circumstances. So I adapted the JanRain unit tests for the other storage classes to my Memcached class, and that helped a whole hell of a lot for debugging. Yay, unit testing! Some people are still having problems with the software, though. The main thing I've found is that the key-value pair output required by OpenID for its inter-server communications is sensitive to extra whitespace thrown in. Why would there be extra whitespace? I've found that a lot of PHP libraries have bits of whitespace at the end, after the closing ?>, and that will show up in the output. Whether it matters depends on how sensitive the output format is to whitespace. In the case of OpenID, the answer is: pretty sensitive. But I'm looking forward to having some more people try the OpenID MediaWiki extension out. tags:

Wikipedia's 25th of July Spot-on satire from The Onion: Wikipedia Celebrates 750 Years Of American Independence. I quote:
  • "On July 25, 1256, delegates gathered at Comerica Park to sign the Declaration Of Independence, which rejected the rule of the British over its 15 coastal North American colonies," reads an excerpt from the entry. "Little did such founding fathers as George Washington, George Jefferson, and ***ERIC IS A FAG*** know that their small, querulous republic would later become the most powerful and prosperous nation in history, the Unified States Of America."
Does the fact that I find an Onion article funny say more about my declining humor standards, or about their recent improvements? I don't know. tags:

Four ideas I was very interested to see Tim O'Reilly's Four Big Ideas About Open Source. I think that there are some fascinating developments over the last few years that have fallen under the rubric of wp:Web 2.0, and I think they affect those of us who put our hearts and minds into Open Source software. I think this was part of his keynote at OSCON 2006, which, y'know, I'm not techically at or anything. It briefly crossed my mind, but I've got too much to do for Thermidor and Fructidor to flit off to yet another conference -- this one only tangentially involved with what I do for a living. Still, it's interesting that Open Source software and Web services are crossing paths. FLOSS has been critical for making Web services possible, but taking that up to the meta-level and seeking the same freedoms from Web apps that you expect from "regular" software... that's a Moebius strip of rights right up in there. tags:

My life as a toolbar So, sometime in the last year I started installing Firefox toolbars. The main one that's useful to me is Chris Pederick's excellent Web Developer Extension, jam-packed with little tools that make my job as a developer that much easier. But I also install, well, pernicious toolbars. Judgemental toolbars. Toolbars that make me forget what really matters and turn the Web into a horserace or a highschool popularity contest. They're horrible, and they're addicting, and I can't stop using them. The Google Toolbar has some diddly little useless gadgets that I don't give a shit about, like searching my Gmail account for the given search terms (whoopee). What I loooove, though, is the wp:PageRank indicator. PageRank, of course, is the patented algorithm developed by Google founder Larry Page to estimate the importance of a page on the Web. It's incredibly accurate and valuable and though no longer the only criteria Google uses for ranking pages, it's still critical as a measure of the intrinsic value of a page. So, there's this little wp:progress bar on the Google Toolbar that shows the PageRank of any page you're looking at. It's an apparently logarithmic scale from 1-10, with the number showing up in a popup tooltip. Creative Commons? 9/10. Ted's story about the great worldwide race? 2/10. Technorati home page? 8/10. Male Secretary? 6/10. Wikitravel's France discussion? 3/10. And so on and so on. Even worse is the A9 Toolbar, which (again) has a whole bunch of bogus boring features, but also shows the Alexa ranking of any site you're looking at. Alexa ranking isn't some egghead hooty-tooty algorithm about the importance of a page -- it's a ranking on the Big Board of who's the most visited site in the world and who doesn't matter in the slightest. So, I can see that Flickr is ranked #41 today, le Sans Fil is #347,296, and wikiHow is #2248. Alexa is a lot more coarse-grained than Google's toolbar -- it measures the traffic to a given second-level-domain, not a particular URL. So any LiveJournal or Blogger site gets LJ's entire Alexa ranking -- not very useful. Still, I've taken to thinking almost entirely in terms of PageRank and Alexa rank. It's unreasonable. Every site I go to, my eye drifts up to my toolbars to confirm my idea about it. Do I really like Achewood? Sure, but it's only got an Alexa rank around 20,000... Doc Searls's blog has a PageRank of 8, which is really impressive; but... my page for 22 Prairial (Journal/22 Prairial CCXIV) apparently has the same PageRank. Holy moly! Why could that be? (I think it has something to do with the wp:Law of 22 Prairial, but I could be wrong.) Really, putting these numbers on everything is ruining the Web for me. It's turning me into a total jerk, too. I kinda want to go back to the time when I just found stuff on the Web and didn't think, "How do I measure up?" Thankfully the Yahoo Toolbar doesn't include anything remotely like rankings... just as well. Of course, that's the reason I uninstalled it, too. I can find my way to Yahoo! Canada Greetings just fine on my own if I need to. tags:

Clint Adams: The Dry Rub of Fatslaps

  • 6 T brown sugar
  • 1 T salt
  • 1-2 T chili powder
  • 1 tsp cayenne pepper
  • 1 tsp paprika
  • tsp black pepper
  • tsp cumin
  • tsp oregano
  • tsp dry mustard
maybe tsp thyme if you feel like Rachael Ray, add garlic powder or onion powder maybe a different chile powder like ancho or something taste and adjust, should be SALTY, sweet and hot in roughly equal parts

John Goerzen: Something I can't understand

I can't understand Bush's (and the typical Republican position in general) opinion on life issues. He recently said that it is wrong to "destroy life to save life" and that every being is a valuable person in the context of the stem cell debate. He also said last year that 30,000 Iraqi civilians had been killed as a result of the Iraq war.

So, here's a Handy Chart:







TopicBush TheoryBush Moral Judgement
Death penaltyKill known murderers so others won't kill more peopleOK
Iraq warKill 30,000 Iraqi civilians during operation to overthrow Iraqi governmentOK
Stem cell researchA small minority could become babies if implantedWrong
AbortionKilling an unborn personWrong


I can't figure out any possible way that the first two should be OK for someone that believes that the last two are wrong.

In fact, to me, the items in this list that most clearly are wrong are the first two. There is no question about whether life has begun with them. Treating 30,000 people as regrettable results of an operation is not treating them with full human dignity. 30,000 people were killed. That's more than 10 times the number of deaths from Sept. 11.

23 July 2006

Wouter Verhelst: Exim4-config-wouter

About a month ago or so, I joined in a discussion on the debian-boot and pkg-exim4-devel mailinglists about the current Exim (v4) configuration schemes. To keep you from having to google for that discussion, I'll quickly summarize my opinion on the subject of the exim4 configuration scheme in Debian: I think it sucks. I've been a rather fanatic (ish) exim user since about two months after I became a Debian Developer. Initially, I removed it to replace it with sendmail. But that was a bad idea, and I quickly found out why. However, I never liked the exim 3 configuration script, since I never could get it to do what I wanted; and, according to the exim 4 maintainer (and to anyone who compares both schemes), the current exim 4 configuration system is just a rehash of the exim 3 configuration system; not much more. But it's so backwards. The initial question which exim4-config asks you may have been relevant in the time the initial exim 3 config script was written, but it is so totally outdated in a modern Internet. As a result, my current modus operandi when I install a new box is to get out of the exim4 config system as soon as I can, to gunzip /usr/share/doc/exim4-config/examples/example.conf.gz to /etc/exim4/exim4.conf, and to open the file in a text editor. At least I know that works, the way I want it. No hard feelings, Marc (but you knew that already). Personally, I had different ideas about what an efficient question would be, and I posted those to the mailinglist (you will have to google for those if you want them, though :-). I also promised to come up with some code to implement my ideas. This has proven to be... interesting. Currently, I have a config script that does a few questions and then switches to "Not Yet Implemented" mode. As in: it displays a debconf template of "Type: error" that basically says "This part still has to be implemented". For the postinst script, I wanted to base myself on the existing postinst script. That does not seem to be a very good idea, however; the existing postinst script contains a lot of upgrade cruft. And then I still have to write my update-exim4.conf. Looks like I took on a job which turns out to be larger than expected... Oh well, I guess I'll cope. It'll just take a bit longer than I wanted it to.

22 July 2006

Uwe Hermann: ScatterChat - secure, anonymous, free, cross-platform Instant Messaging client

ScatterChat is a new cross-platform IM client announced by the Cult of the Dead Cow / Hacktivismo (during the HOPE conference, it seems). From the website:
ScatterChat is a HACKTIVIST WEAPON designed to allow non-technical human rights activists and political dissidents to communicate securely and anonymously while operating in hostile territory. It is also useful in corporate settings, or in other situations where privacy is desired. It is a secure instant messaging client (based upon the Gaim software) that provides end-to-end encryption, integrated onion-routing with Tor, secure file transfers, and easy-to-read documentation. Its security features include resiliency against partial compromise through perfect forward secrecy, immunity from replay attacks, and limited resistance to traffic analysis... all reinforced through a pro-actively secure design.
So the client is a "friendly-fork" of Gaim, it uses Tor to achieve anonymity, and for the crypto parts (secure messaging, secure file transfer) ScatterChat uses libgcrypt. It's a cross-platform application available for Linux, Windows; support for other OSes is planned (Mac OS X, others). You can always download the source code, of course, as it's free software. Actually, not quite. While ScatterChat itself is based on the GPL'd Gaim, it has to be GPL'd, too. However, the scatterchat-module package, which seems to contain the crypto-parts, is licensed under a custom "Hacktivismo Enhanced-Source Software License Agreement" (HESSLA) right now, which is so horribly long I didn't even bother reading it. However, the README says:
I am open to the possibility of re-licensing parts of this library to GPL, BSD, public domain, or some other license. I cannot make any promises, but I will try to accomodate reasonable requests.
I'm going to do just that, email the author and ask him nicely to change the license to some sane, well-known free software license. If you feel similar, please let the author know (hint, hint). Depending on what the HESSLA really says, it might prevent ScatterChat from entering Debian, for example. I haven't yet tried to use the application, but it sure looks like it has a lot of potential. It also seems do most security-related things right: Of course that's no guarantee that it's secure; I hope some crypto-gurus look over it soon. But at least they didn't make obvious stupid mistakes we've all seen in many other pieces of software. Anyways, I feel this is a real important project which will help lots of people (activists, political dissidents, normal people like me and you who value their privacy). Go check it out! (via Boing Boing)

21 July 2006

Ross Burton: Lens Opinions

My main camera lens at the moment is the EF 28-135mm IS USM, which although excellent for a non-L lens is limited as on a non-fullframe DSLR the widest it goes is 45mm. Now if I had a decent wide angle lens such as the 10-22mm this wouldn't be a problem, but the only lens I own going wider than 28mm is the kit 17-55, which isn't great. Thus I've been thinking about selling the 28-135 and buying the 17-85mm IS USM, which is clearly targetted as being the 28-135 for cropped digital SLRs. I'll loose the extra zoom but in return gain the wide angle in a single lens. However, the optical quality of the 28-135 is excellent for a non-L lens, and I'm worried that the 17-85 isn't up to the same quality. Are there any really picky camera geeks out there who have used both the 28-135 and 17-85 and can help me decide? NP: Prose Combat, MC Solaar

Evan Prodromou: 3 Thermidor CCXIV

Last night's CC Salon in Montreal went extremely well. I spent the time haranguing Marcus and Tina Pipers (the co-director of Creative Commons Canada) about the evils of anti-DRM clauses in licenses. (See Free content and DRM for my opinionated take on this matter.) Apparently there was a lot of talk about this at the iCommons summit in Brazil. Amita June enjoyed the noise and attention and spent an inordinate amount of time patting one hacker's very long beard. We'll see what kind of psychological symptoms that develops into later. tags:

Ben Macintyre on Wiki It was kind of tiring to see Ben Macintyre's note on How wiki-wiki can get sticky in The Times Online.
  • Many years ago, I wrote a book about a Victorian crook called Adam Worth, a subject so obscure that no one had ever written a book about him before, or since. When I found an entry for Worth on Wikipedia, I was at first astonished, then flattered to find the book cited in the references, and then slightly infuriated: whoever had written the entry had plainly read my book and summarised it, but added several small but irritating errors.
Wikipedia isn't perfect and contains some errors? Oh, really? Boo hoo hoo. Yawn, turn the page. Wait, though; what's that last paragraph say?
  • At first, I ignored the mistakes. This was only Wikipedia, after all. But the landscape of knowledge has changed since then, and I have joined the club. Wikipedia should always be taken with a pinch of salt. But the more we contribute and revise, the less salt we will need. We are all Wikipedists now.
Huh. A mainstream journalist who realized the way to deal with errors in Wikipedia is to fix them? Am I dreamin'? tags:

Dirk Eddelbuettel: Undeleting from ext3

Kudos to Paul Wise who suggested late last night to try magicrescue to recover an OpenOffice file with meeting notes I had mistakenly deleted from the laptop before I even got to editing these very notes, or backing them up. And it worked -- despite the dire warnings from the ext3 FAQ about the near impossibility of undeleting from ext3 partitions. But a few things worked in my favour here: OpenOffice files are zip files 'under the hood', and magicrescue knows how to deal with certain file formats via its collection of 'recipes' (which one can extend), and zip is among the shipped recipes. Also, I still had the 'ls -l' session in one konsole tab so I knew the exact file size I was looking for. And I wasn't in a hurry. So this morning, after magicrescue had faithfully restored 4479 files in over four hours, its companion magicsort then filtered these into a handful of directories, one of which was 'OpenDocument Text' -- which contained a few files, including two versions of the desired file as well as copies of the version from the previous meeting. Nice. And OpenOffice gladly opened the file. Lastly, it cetainly helped that I happened to have a lurking debian-devel irc session open where --- where Paul not only caught my remark, but almost immediately suggested to try magicrescue. So here goes a well-earned Thank You to Paul!

20 July 2006

Evan Prodromou: 1 Thermidor CCXIV

Happy 1 Thermidor to everyone -- I'm sure you're all busy meditating on the virtues of epeautre (wp:einkorn wheat), the wild grain to which this day is dedicated on the French Revolutionary Calendar. Thermidor is best known for wp:Lobster Thermidor, but also for the so-called wp:Thermidorian Reaction, a revolt by moderate revolutionaries during the French Revolution against the bloody excesses of the Committee for Public Safety. I think about this because I've just been reading Bob Sutton's blog today based on the reference in Ross Mayfield's blog. Sutton is the author of an upcoming book called the No Asshole Rule (pardon my French, but that's just the name of the book). It's about how poisonous, unhealthy personalities can ruin a workplace, and how beneficial it is to support your reasonable, human employees by kicking out the jerks. They're happier, more productive, and more loyal if you show some compassion and get rid of the a-holes. Coincidentally, I also saw the Top 5 reasons why The Customer Is Always Right is wrong on reddit. It also recommends against allowing unpleasant people to ruin your workplace environment -- but here, the culprits are the customer, not other employees. I especially liked the stories from Southwest Airlines. I think I'm going to have to pick up this Nuts! book about SWA business theories. Why all the thoughtifying about jerks and meanies in business? Because I think the same principles might be applicable to Open Source and Open Content projects. Specifically, with Debian, we've had a few personalities who generate a lot of discussion and attract a lot of attention, causing some real Excedrin headaches. The project as a whole has tended to bend over backwards to respect these individual's rights and personal values and blah blah blah, but maybe it's best to just say, "You're causing more conflict that you are providing value and no matter whose fault it is, we as a group will do our job better if you leave." In another realm -- that of wikis -- I know that I personally lean on longtime Wikitravel administrators, experienced users, etc. to be "the bigger person" and treat obnoxious personalities with respect and decorum. The theory is that every user counts, and any contribution is worthwhile. But maybe it's better sometimes to show some loyalty to the established contributors with a proven track record, and let the occasional mouth-foaming weirdo go wander off and bother someone else. We've got a real conflict-averse culture at WT, but sometimes it might be good to say, "We welcome everyone's input -- except yours." tags:

Next.

Previous.