Search Results: "tim"

4 July 2007

Meike Reichle: On Beauty

Every day, when sitting in the bus, I see a lot of girls who obviously invest a lot of time, effort and money into looking good. ... and then render the whole effort useless by putting on this horribly bored, ill-tempered and disdainful look. Tsss.

3 July 2007

Gustavo R. Montesino: Debbugs SOAP

Following the hints by Bastian Venthur, which answered my last post (thanks, Bastian), and some suspicious mails to debian-debbugs, I've finally gotten to know that the debbugs' SOAP get_bugs is finally fixed. Of course, this means that btsutils has just got its query function implemented in SOAP besides the html parsing stuff.

Also great news on the debbugs' SOAP camp is that get_status now works on more than one bug per call. Yay! Debbugs people rocks. I'm not realy in place to ask something more drom these great folks, but it would be great if those cool features they keep adding were announced somewhere.

Now, the downside: Querying through SOAP is still quite slower than parsing the html. According to Python's timeit, getting a list with the bugs on all packages maintained by me takes about 17 seconds, while the same operation through HTML parsing takes about 10 seconds. I believe this differences comes from accessing the server one time on the HTML parsing and two times (get_bugs and get_status) on the SOAP.

John Goerzen: Mail Readers Still Stink

Five years ago, I started work on OfflineIMAP. I couldn't find any mail reader that offered good IMAP support and a good feature set. Rather than write my own mail reader, I simply wrote OfflineIMAP and used it with mutt. OfflineIMAP does a bi-directional sync between an IMAP server and local mailboxes. This lets you work offline, and also speeds up reading since each new message doesn't have to be downloaded from the network on the spot.

I kept hoping that OfflineIMAP would become obsolete soon, as mail readers got better. Back in 2004, two years after writing OfflineIMAP, I looked at mail readers. In 2005, after some more frustrations with mail readers, I wrote a comparison. I wound up sticking with mutt and OfflineIMAP each time.

I've gone out looking at mail readers again. Here's what I've found.

KMail
Overall a nice reader, KMail has almost every feature and setting I want. It has "disconnected IMAP" folders, which download every new message in folders to the local disk as part of the routine mail checking. It then caches local changes and syncs them to the remote on the next mail check. This boosts interactive performance and permits offline operation -- very similar to OfflineIMAP. KMail has keyboard shortcuts for most things, and keyboard shortcuts can be added or changed for most other things as well.

KMail also integrates with the KDE calendar and addressbook, which I already use. That's nice, too.

I have two big gripes about it though.

Back in 2004, I noticed that KMail crashes a lot. By 2005, it was worse. Sadly, KMail still has a tendency to crash. I've seen an average of 1-2 crashes per day, due to SIGFPE, SIGSEGV, and I think also SIGILL. This doesn't make me happy at all. Especially to see that it's no better on that in three years. Just don't try emptying trash while your mailbox is being synced, for one thing....

Gripe #2 is that there is absolutely no way to select a different alternative in a multipart message without using the mouse. Simply no way using the keyboard. It's also cumbersome, though possible, to view attachments using the keyboard -- you have to press Enter to open the message in its own window, then tab to the attachment.

KMail also sometimes works a bit sluggishly -- for instance, when you delete a message, you first see strikethrough through it, then it disappears. It doesn't feel very "snappy".

Evolution
Evolution has a decent core. It is easy to get set up and has an extensive set of keyboard shortcuts. It does IMAP downloading and syncing like Kmail, and it does it by default. It doesn't offer all that much flexibility in configuration, but probably enough.

Here's my gripe. There is no way for it to show a total message count next to each folder in the folder list. It will show an unread message count, but not a total message count. You have to click on each folder individually to see a total message count. I can't figure out why this is missing from Evolution. It's one of the main benefits to switching from mutt, and so I didn't bother looking at Evolution any more past there.

Thunderbird / Icedove
By default, it isn't all that capable of a mail reader. There aren't that many configuration options, and the keyboard shortcuts -- while existing for most things -- are cumbersome.

The Nostalgy extension helps with the keyboard shortcuts significantly. You still can't change some of them (Ctrl-L for forward, anyone) -- at least not without an extremely cumbersome process involving editing text files.

Thunderbird can do automatic IMAP downloading and syncing like KMail and Evolution, but for some inexplicible reason, only for your INBOX. In fact, Thunderbird won't even check for mail in folders other than INBOX unless you set an undocumented configuration option. It seems to assume that nobody does server-side mail filtering.

If you want IMAP downloading for offline use or performance, you have to manually invoke a download operation. There is a Sync on Arrival extension, but it isn't compatible with Thunderbird 2.0. From reading comments online, there are a lot of people frustrated about that.

So Thunderbird strikes out as well.

mutt + OfflineIMAP
The good thing about this combination is performace. mutt is extremely fast, and OfflineIMAP works faster than anything else for IMAP downloading. mutt is also far more configurable than anything else.

There are some annoyances about mutt.

#1 on that list is the lack of a folder list. There is just no way to see a list of folders along with new or total message counts. You can press c, Enter to go to the next folder with unread mail, which is something, but not enough. There have been numerous abortive projects over the years to address this, but for whatever reason, mutt itself doesn't have this yet. Probably the most promising current project is this one.

#2 is HTML mail. I don't mind the lack of default support for HTML mail. That's to be expected. There are some things that do bug me involving viewing HTML mail. First off, sometimes people attach graphics to messages that also have an HTML component. Viewing these graphics doesn't represent a security risk, but mutt doesn't make them available to a browser for viewing -- you have to manually save them if you want to view them. Also, you normally don't want to load graphics from the Internet for HTML mail. The only way to accomplish that with mutt is to set your browser to lynx or something; just using Firefox to view a HTML component will load all of that.

#3 is handling of embedded URLs. xterms can pass mouse clicks, and it would be nice if mutt made URLs clickable like other mail readers do.

#4 is the IMAP support. No support for caching, fragile, etc. That's why I use OfflineIMAP. That works, but it's a hassle.

#5 is printing. Printouts from mutt just spew the text of the message at the printer. No page numbers, formatting, nothing. muttprint makes that situation a bit better, but the integration is flaky and weird.

Conclusions
I'm not sure what I'll do. None of these are really where I want them to be, though mutt and KMail are probably the closest.

Paul van Tilburg: Ruby D-Bus 0.2.0

Arnaud and I finally managed to release Ruby D-Bus “Almost live from DebConf 7” 0.2.0. The release was planned for DebConf 7. However, I didn’t manage to get it ready in between all the talks, meetings, and other social stuff. Ruby D-Bus is an implementation of the D-Bus protocol in pure Ruby. After starting the development in February, it soon became apparent that several other projects were out there with about the same goal, such as Pure Ruby DBUS and R-Bus. Our approach is to have an API that is close to the old Ruby D-Bus bindings. While the other, similar projects seem to have a slightly different goal, we still invite them to come to some sort of merging so that no duplicate effort is put into three or four separate projects with almost the same result. The 0.2.0 release is our first real public release. We have a large subset of the features working and documented. The main focus of this release was to improve the API documentation and the tutorial. The 0.2.0 release is a release for exploratory purposes. We invite everyone interested to have a look at the API and inner works and provide us with feedback and/or patches. This means that the API can still change a bit over time based on feedback and tweaks performed by ourselves. So don’t built a big application on it just yet if you’re not willing to make some changes later on. For more information, see our project (Trac) page.

2 July 2007

Mike Hommey: svk vs. git for xulrunner maintenance

I’ve been using svk for xulrunner maintenance since the first test packages. And I’ve been thinking about switching to git for a while now. I did some testing in march, which led to my post about diffing. I went a bit further today by actually trying to convert my svk repository. And I got both interesting and surprising results. The repository is (only) about 250 revisions in svk, and includes 15 upstream releases (or CVS pulls). I had to reorganize the svk repository so that git-svnimport could do its work properly. [ Note: these tests have been done on a 5 years old laptop ] The first surprise is the time it took for the conversion : almost half an hour. Dumping (svnadmin dump) and reloading (svnadmin load) the svk repository takes a bit more than 3 minutes, in comparison… I guess git-svnimport is very ineffective. The second surprise is that the svk repository is actually almost twice as small as the git equivalent: 116MB for svk vs. 224MB for git. On the other hand, git is amazingly fast. One of the most common things I do on this repository is a diff between the upstream branch and the trunk. I create the .diff.gz file I give pbuilder this way. It’s much quicker than doing a real dpkg-source, especially considering pbuilder does one itself. After dropping caches (echo 3 > /proc/vm/sys/drop_caches), such a diff takes about 50 seconds with svk and… a little more 2 seconds with git. Without dropping caches, it gets down to 38 seconds with svk and… 0.05s with git. That is pretty damn fast ! Update: after a git repack -d, the git repository is down to 61MB.

Adeodato Sim : The right place for staging areas?

During DebConf7 in Edinburgh, a dak BOF was held. Several topics were covered, one of them being staging areas. It was an interesting discussion, during which I had a recurring thought: that staging areas should be between testing and unstable, and not behind unstable (like experimental is), like everybody suggested. By the time I decided to share this aloud, though, the discussion was already over.

Christoph Berg: Looking for a Window Manager

I had been using fvwm2 for some 10 years when around the beginning of this year, I thought it might be time for a change. My config was originally copied from some SuSE templates and then heavily tweaked over the years, but recently broke more and more in subtle way with new fvwm upstream versions, e.g. moving windows suddenly required a different mouse button. Probably the config was just slightly out of spec and fvwm got "fixed", but it was annoying. The "tiled" window managers I had seen on others' desktops made me curious, so I gave ion3 a try some months ago. The overall appearance was all cool, but it tried a bit too hard to squeeze all windows into tiled windows - of course there's the floating workspace, but creating one was weird, and moving windows even weirder. And if only the (default) key bindings were more vi-like... I admit I never really bothered to read the documentation - probably everything would have been much nicer otherwise. Then there was the big license "wtf" with ion, at which point I started looking around further. dwm looks clearly too l33t to be serious, so wmii was the next choice, 3.1 to be exact. vi key bindings, a nicely configurable status bar, easy workspace switching and window moving. wmii doesn't have horizontally split windows (windows are always in columns), and no "tabbed" windows, though. It didn't warp the pointer to the currently active window (something I got used to with fvwm), but some config tweaks mostly fixed that. This time, I read the documentation, but there's only a 10 page pdf beginners document, but there's not much to configure anyway. Then came lenny. Testing and unstable currently feature version 3.6 which is a big disappointment. It is broken (the default config is unusable), and even after fixing that, it looks like they removed all the little details that I liked. The status bar is still there (though with a new location in the virtual filesystem), the color cannot be changed anymore (unless changing some other color as well). The windows used to have slim 1-pixel (configurable) borders. Now they still have, but the border will be expanded if the window chooses a different size - xterm always rounds down to the next character size, so all my terminals have fat surroundings now. The last-active window in a inactive column still had some markup so I knew which window Alt-Left/Right wound return to, now I have to guess. I wouldn't mind fixing my 3.1 config for 3.6, but I don't think I will, given these issues look unfixable. The 3.1 wmiirc file looked like a sh script, the 3.6 uses eval and a bunch of functions that frighten me. On a positive note, it is now possible to create new workspaces by just selecting them, which is much handier than start-program, wait, move-window-over, move-workspace. I guess I will give ion (2, 3?) another try...

Evan Prodromou: 13 Messidor CCXV

More weekend stories: on Friday, we had a Geek Lunch at La ka to welcome Tara Hunt to Montreal. She's in town for a few days for Montreal Jazz Fest, and she asked to meet some people in the local Web/BarCamp/hacker scene. Lunch was good and interesting people came. Austin Hill made it, as well as Patrick Tanguay, Fred Ngo and Ben Yoskovitz, and Niko. I was especially glad to see Seb Paquet, who I don't get enough time with. All in all a good time was had. tags:

Rest of the weekend Friday night John Usher came over for our weekly Pizza Night and we had beers until very late indeed. Saturday I got a nice glass desk for my office, and we got a big square wooden coffee table off of Montreal Craigslist. We went down to the Pont Jacques Cartier to see the fireworks on Saturday night, part of the International Fireworks Competition. Except there weren't any fireworks on Saturday night. Doh! Long walk home. Yesterday, Canada Day, we had our new neighbours Jake and Magda over for a get-to-know-you brunch. Jake is a structural engineer, and Magda is a professor of history at UQ M. They're expecting a baby any day now, so we figured it was a good idea to hang out with them before the madness begins. I made a couple of quiches, a big green salad, and some banana bread. It was a good meal. tags:

Gunnar Wolf: Keep rolling!

It seems that I've held up -at least for half a year- what I stated back in January - I come by bike to work almost every day, and really enjoy the time spent on two wheels. My times have -of course- improved, as has my dominion of the bike - I make ~10 minutes each way (must be a bit more on my way to work than on my way back, as it is uphill).
My city's government seems to be seriously promoting people to consider using the bicycle as means for regular transport and not just as a recreational device - I see some of its measures as quite silly, but some are just perfect. One week ago, while I was on the plane from Edinburgh, we had the first Ciclot n, a 32Km ride open to everybody (and of course, Nadezhda was among them). Over 70,000 people took part, reportedly, and it seems it will be held monthly. Besides that, yesterday we had the paseo dominical in Coyoac n very close to my house - What's that? Something similar to the ciclot n, only much smaller (14Km), much less publicized, and in a different place of the city every Sunday. Well, we started up the day at 8 AM by cycling from Metro Copilco to Miguel ngel de Quevedo, Av. Universidad, R o Churubusco, Divisi n del Norte and Henriquez Ure a back to Metro Copilco. We later learnt that around 10,000 people took part. 14 Km, 30 minutes - not bad, and quite enjoyable!
We didn't go for the second round, because we wanted to be by ~10 AM at Reforma, probably the city's most emblematic avenue, to be part of the demonstration marking one year of the electoral fraud. But... Well, we didn't want to just leave the bikes at home and go by metro - What can we do? Yes, take the open streets. We followed a bit of the path we had taken a bit earlier, then took Minerva, Insurgentes until Reforma (~45 minutes). And once we got to the meeting point, we didn't want to step down and crawl the bikes along... So we both found out that not only we dared take the main streets where people are not really used to cyclists and where taxi drivers will often try to make a point that if you don't own a car you should use a taxi and not a bike - We were able to cycle most of our way to Z calo, going slowly and moving through people, in what seemed to be almost an unthinkable feat for me just a couple of months ago. We can now control the bike, we can even be almost still while riding it, and not crash into anybody!
Of course, the way back was similar - We took our bikes across Obrera, Doctores, Algar n and lamos, then took Av. Universidad all the way down to Copilco, and -after some three hours riding, with my arms quite red and of course somewhat dehydrated and sore-butted- got home.
It feels great to have a well-deserved siesta! And... Well, biking is just too enjoyable. I guess we had ~45Km yesterday, plus some ~5 extra zig-zagging through the crowd. It rules.

Benjamin Mako Hill: Measured Response

I once saw a vending machine in Japan with a 200ml Coca-Cola, a 300ml Coca-Cola, a 500ml Coca-Cola and a 800ml Coca-Cola. Each one cost 120. I was perplexed. I couldn't imagine paying 120 for 200ml of something when they could get more (four times more!) of the same stuff for the same price from the same place. Just then, I looked over at Mika at the next vending machine. She was buying a 200ml Coke. "Why are you buying the 200ml one " I inquired, shocked. "You could have 800ml for the same price!" Mika thought for a second and replied, "I only want 200ml of Coke." I just posted a short review of a slightly related study on the Science That Matters blog.

Russell Coker: New Storage Developments

Eweek has an article on a new 1TB Seagate drive. Most home users don’t have a need for 1TB of storage (the only way I’ve ever filled a 300G drive is by using it for multiple backups) and enterprise customers generally want small fast drives (with 100G drives still being sold for servers). One interesting thing to note about this is the fact that the new drive is described as being able to sustain 105MB/s (although I suspect that is only for the first few zones of the disk - see my ZCAV results page for graphs of the performance of some typical disks). The previous disks that I have seen have topped out at about 90MB/s. However even if the drive could deliver 105MB/s over it’s entire capacity it would take almost 3 hours to perform a backup - increases in IO speeds have not been keeping up with capacity increases. Another interesting thing is the potential for using the same technology in low power 2.5 inch disks. While a 1TB disk isn’t going to be much use to me a 300G 2.5inch disk that uses less power will be very useful - and it might be possible to perform a backup of such a disk in a reasonable amount of time! The latest trend in PCs seems to be small form factor (SFF) and low power machines that don’t have space for two drives. If you want RAID-1 on your home machines for reliability then that isn’t very convenient. But two 2.5 inch disks can fit in less space than a single 3.5 inch disk and therefore all the SATA based SFF machines that are currently being shipped with a single 3.5 inch disk can be upgraded to a pair of 2.5 inch disks - this will be convenient for me when those machines start going cheap at auction next year! Even for servers the trend seems to be towards 2.5 inch disks. I recently bought a 2U HP server that supports up to 8 hot-swap SFF disks, I wonder how the performance of 8*SFF disks would compare to 4 of the bigger and faster disks. The next thing we need is a method of backing up large volumes of data. The 650M data CD came out when a 150M disk was considered big. The 4.7G data DVD started to become popular when 45G disks were considered big. Now almost everyone has 300G disks and 1TB disks are becoming available yet the best commonly available backup method is a double-layer DVD at 9.4G - it seems that the vast majority of home users that make backups are using cheap IDE disks to do so. Fortunately there are some new technology developments that may improve the situation. Call/Recall has developed technology that may permit multiple terabytes of storage on an optical disk. It’s yet to be seen whether their technology lives up to the claims made about it, but we have to hope. The current storage situation is getting unmanagable.

Edd Dumbill: Nokia N800, the second time around

Nokia's N800 internet tablet is an intriguing device. When I originally got one a few months back I tried to treat it purely as a consumer object, just using the installed apps and things available through the obvious point-and-click channels.As a consequence it served mainly as a portable (and expensive) internet radio, streaming me the cricket commentary from the BBC. And when I upgraded my wireless network I somehow managed to make it WPA2 only, knocking the N800 offline. An offline N800 is an almost thoroughly useless device, so it went into the drawer and I forgot about it.Ultimately you can't leave something that expensive unused, so I dragged it out again, fiddled the wi-fi router into compliance, and decided not to deny my hacker nature this time. The N800 is Linux underneath, so who could resist?
The result is two-edged, really: I'm a lot happier with the device, but on the other hand must conclude that the N800 is still a bit far from being consumer-ready.Must-have softwareSo, what things did I install this time around that made the device happier?Claws Mail is a nice email client that works well with my IMAP accounts, which all use SSL and TLS, have lots of messages and a deep folder hierarchy. I don't really want to write much mail on the N800, but an easy reading interface is a bonus.The FM radio is something I can't believe I missed before. I had no idea this was in there, but plug some headphones into the N800 and they act as the antenna for an FM receiver. Desperately cute and old-world, a bit like when laptops still used to have parallel printer ports.I had previously ignored Maemo Mapper, thinking it was useless without a GPS, but it turns out to work very nicely as a dedicated client for Google Maps, as well as several other mapping sources. Must-do geeky bitsTry as I might to like the touch screen, the first thing I had to do with the device was find a way of not using the stylus to do sysadmin type tasks on it.So, first stop is to get a terminal up, figure out how to use the root account, install a SSH client and server, and get my pubkey onto the N800. Now I could shell into it and use a decent keyboard.On my local network I hate maintaining DNS if I don't have to, so the next thing I wanted was Zeroconf support in the shape of avahi. One of the quickest ways to get this going is to install the Canola media application, which uses Zeroconf to find shared music.With these basics in place, the N800 supports APT package repositories familiar to Debian and Ubuntu users, so the device becomes a lot less weird and much more manageable. I felt the same pleasant familiarity as I did with the NSLU2. Things to look forward toThe N800's video camera is neat, but nobody I know uses Google Talk for conferencing. Fortunately it seems that Skype for the N800 is just around the corner. Initially, video support is unlikely, but I imagine that if Skype on the N800 proves popular, it won't be far off.The N800 is something I don't mind having kicking around the kitchen or nursery, so staying in touch with my family while I'm travelling will become a lot more fun.
Also, I'd like to get NFS running on the N800, but that requires the installation of a new kernel, which I've not quite yet had the time to do. Once that's done, all my media, photos and storage will be handily available. 

Evan Prodromou: 12 Messidor CCXV

Long fun weekend here. Last Thursday, Maj's brother Brian appeared on our doorstep unexpectedly. He'd been driving across the country from Santa Barbara for a few weeks, stopping to see friends and go camping and rock climbing along the way. Every few days he'd call our home number to tell us when he'd be coming in... but our home phone has had mixed-up wiring since our move on June 1. So his arrival was a really pleasant surprise. That night we went out to dinner at Ouzeri, the upscale Greek restaurant around the corner. We had been trying to connect with Matt Biddulph and Alexandra Deschamps-Sonsino, who are visiting Montreal for a month. Matt and I were introduced at South by Southwest by connector Ben Cerveny, and Maj and Alex met separately and serendipitously at Montreal Pecha Kucha. So we did a big dinner at Ouzeri to talk and have fun. Boris Anthony came along, which made for a really great time. We had a lot of good wines at Ouzeri -- they have the best-known Greek wine cellar in town. We started off with an Ayiotiriki white (in a cool bottle), then a Naoussa, then a Rapsani. All very tasty. Dinner was a mix of appetizers, moussaka, and a big grilled shrimp platter. Boris got a nice-looking slice of lamb, too. Oh, and we got Ouzeri's trademark saganaki: a big raw cheese, doused with ouzo and cooked flamb at the table. Amita June doesn't like sitting at the table too much, so we took a walk outside so she could burn off some energy. A little bored, I twittered about where we were. Within 20 minutes, both Hugh and Niko cruised in to join us. Power of the Internet, dot dot dot. We finished dinner and decided to take the talk on the road. Everyone came over to our house at 4690 rue Pontiac and we... uh... opened another bottle of wine and hung out and talked for a couple of hours. By the time the bars were open and active on Mont-Royal, everyone streamed out and Maj and I put Amita to sleep. Good time! tags:

1 July 2007

Gustavo R. Montesino: Exception handling on PyGTK applications

A feature I've been wanting to implement on bug-triage for some time now is to have unhandled exceptions shown in a gtk message dialog instead of getting lost on the terminal. And I've finally got it working now.

At first, I had some vague impression of having read about changing the default exception handler on Python. Maybe I've just mixed things up, but I couldn't find anything about that today (maybe it was Java?). Instead, I found out some information about Python decorators.

This is the first time I've seen anything like the decorators, and I must say this is a concept a bit hard to get used to, at least for me. Basically, if is a function that gets a callable (ie, a function or anything else that can be called) and returns another callable to be used in its place -- usually the original one with some nice extra.

I've created a python decorator to wrap the function call it decorates inside a try statement, whose except clause show some info about any exception it gets. The code can be seen on the bug-triage git repository.

On the linked file, errorhandler is the decorator and msg_exception takes an exception as argument and shows a message dialog. Applying the decorator to a function is simple, import it and add an @errorhandler just before its declaration.

Some references on decorators:
PS: I just got really happy to discover that this blogger/blogspot draft autosaving stuff works...

Steve Kemp: I'm starving now, feeling dead on my feet

Three, count them, three local root exploits discovered so far via the source scan of the Debian archive. More to follow. Right now my biggest irritation is the amount of time it takes to report bugs in packages which don't have security issues - just bad coding. It takes me a fair while to do it, since I either have to install the package and use "reportbug", or lookup version numbers and submit manually. I should think of a better way of doing it.

Russell Coker: Committing Data to Disk

I’ve just watched the video of Stewart Smith’s LCA talk Eat My Data about writing applications to store data reliably and not lose it. The reason I watched it was not to learn about how to correctly write such programs, but so that I could recommend it to other people. Recently I have had problems with a system (that I won’t name) which used fwrite() to write data to disk and then used fflush() to commit it! Below is a section from the fflush(3) man page:
NOTES
Note that fflush() only flushes the user space buffers provided by the
C library. To ensure that the data is physically stored on disk the
kernel buffers must be flushed too, e.g. with sync(2) or fsync(2).
Does no-one read the man pages for library calls that they use? Then recently I discovered (after losing some data) that both dpkg and rpm do not call fsync() after writing package files to disk. The vast majority of Linux systems use either dpkg or rpm to manage their packages. All those systems are vulnerable to data loss if the power fails, a cluster STONITH event occurs, or any other unexpected reboot happens shortly after a package is installed. This means that you can use the distribution defined interface for installing a package, be told that the package was successfully installed, have a crash or power failure, and then find that only some parts of the package were installed. So far I have agreement from Jeff Johnson that RPM 5 will use fsync(), no agreement from Debian people that this would be a good idea, and I have not yet reported it as a bug in SUSE and Red Hat (I’d rather get it fixed upstream first). During his talk Stewart says sarcastically “everyone uses the same filesystem because it’s the one true way“. Unfortunately I’m getting this reaction from many people when reporting data consistency issues that arise on XFS. The fact that Ext3 by default will delay writes by up to 5 seconds for performance (which can be changed by a mount option) and that XFS will default to delaying up to 30 seconds means that some race conditions will be more likely to occur on XFS than in the default configuration of Ext3. This doesn’t mean that they won’t occur on Ext3, and certainly doesn’t mean that you can rely on such programs working on Ext3. Ext3 does however have the data=ordered mount option (which seems to be the default configuration on Debian and on Red Hat systems), this means that meta-data is committed to disk after the data blocks that it referrs to. This means that an operation of writing to a temporary file and then renaming it should give the desired result. Of course it’s bad luck for dpkg and rpm users who use Ext3 but decided to use data=writeback as they get better performance but significantly less reliability. Also we have to consider the range of filesystems that may be used. Debian supports Linux and HURD kernels as main projects and there are less supported sub-projects for the NetBSD, FreeBSD, and OpenBSD kernels as well as Solaris. Each of these kernels has different implementations of the filesystems that are in common and some have native filesystems that are not supported on Linux at all. It is not reasonable to assume that all of these filesystems have the same caching algorithms as Ext3 or that they are unlike XFS. The RPM tool is mainly known for being used on Red Hat distributions (Fedora and RHEL) and on SuSE - these distributions include support for Ext2/3, ReiserFS, and XFS as root filesystems. RPM is also used on BSD Unix and on other platforms that have different filesystems and different caching algorithms. One objection that was made to using fsync() was the fact that cheap and nasty hard drives have write-back caches that are volatile (their contents dissappear on power loss). As with such drives reliable operation will be impossible so why not just give up! Pity about the people with good hard drives that don’t do such foolishness, maybe they are expected to lose data as an expression of solidarity with people who buy the cheap and nasty hardware. Package installation would be expected to be slower if all files are sync’d. One method of mitigating this is to write a large number of files (EG up to a maximum of 900) and then call fsync() on each of them in a loop. After the last file has been written the first file may have been entirely committed to disk, and calling fsync() on one file may result in other files being synchronised too. Another issue is that the only time package installation speed really matters is during an initial OS install. It should not be difficult to provide an option to not call fsync() for use during the OS install (where any error would result in aborting the install anyway).

Matthew Palmer: This is what Web 2.0 is for

Very cool and ultimately largely pointless: I give you "If The Earth Were A Sandwich" -- a tool to let you see what is directly on the other side of the earth from a given point. (No, I have no idea what the meaning of the title is either). Ever wanted to know exactly where you have to dig to end up in China? Well, now you can find out.

David Welton: 10 Years of Debian

I'm not sure of the exact date - if my memory serves me correctly, it was sometime during the summer of 1997 - I was given an account on Debian's server (located, at the time, in Beaverton, Oregon). I didn't go on to upload my first package until October of that year, as I had landed my first programming job at the same time, at CKS Partners. The "new maintainer process" in those days consisted of Klee Dienes calling me up and checking that I was a real person, had a pgp key, and wasn't completely clueless. It was a very different project in many ways than it is today - much smaller, much more informal, and of course much less well known in the world at large. Some elements were in place, though - my recollection is that the "flame friendly" atmosphere, while perhaps not quite as accentuated as it at times appears today, was firmly in place even back then. In '98, '99', and 2000, the Linux world was an exciting place to be. I still recall reading about the database companies deciding to release their products on Linux, reading The Cathedral and the Bazaar, and going to one of the first big commercial Linux conferences, in San Jose, in early 1999. Debian was well poised to take advantage of Linux's growth, too. Under Bruce Perens' leadership, several key elements of Debian had been put in place, like the social contract and free software guidelines. Fortuitously, Jason Gunthorpe was working on apt in that time period as well, which was another key element in Debian's success. One of the things I've always admired about Debian in the open source world is that it is in some ways a "stepping stone" project, meaning that it's a good way for people to start getting involved with free software, to get their toes wet "giving something back", without already being an expert hacker. It's easier to maintain a package of code, if you're willing to put in the time and attention to details, than to, say, write a new kernel module, or some other piece of critical C code. I've seen a number of people take this route - they get started with Debian, and as they go, learn more about the packages they work with, and perhaps even get involved with them "upstream", as they acquire skills and knowledge. By no means is everyone in Debian in that situation, though - there are some really first rate hackers, who tend to be the small core of people that really make Debian zing along. Indeed, being an autodidact in the world of computers, outside of one very forgettable term of C++ at Lane Community College, has given me an immense appreciation for the enormous opportunities open source affords in terms of learning - and especially hands-on learning. How many other fields let you work from anywhere in the world with an internet connection, with anyone else who is interested in the same subject, at whatever time you want, with tools that you can download entirely for free? It's really an intoxicating sensation realizing that you can do anything you want if you are willing to put the time in to learn how. The learning opportunities are one of the many things I'm grateful to Debian for. These days, I'm really not involved much with Debian anymore. I mostly run Ubuntu, which I think has perhaps improved on some of the social aspects of Debian (although Mark's zillions of dollars certainly play a large role, too). In terms of free software, I don't have as much time, and dedicate more of it to my own projects like Hecl. I still love the idea of open source software, but I'm also older and wiser (or more cynical?), and must face the reality that without scarcity, you have nothing to trade with others for things like food. Due to my lack of activity, perhaps I should resign, but ... I really don't want to, and who knows, maybe I'll have more time, and an "itch to scratch" at some point in the future. Who knows what the next ten years hold for Debian?

Biella Coleman: The Worst of the Web: Punditry 2.0

Tonight, instead of minding my dinner, which did burn, I was drawn into and extended a pretty fiery IRC conversation on debian-devel on a topic that does not like to die: the merits and demerits of Wikipedia. It is not worth summarizing the conversation here for it followed a pretty predictable arc. There were those who thought Wikipedia was novel and valuable, others who saw it as a pit of bad facts, and inaccuracies and a few others who saw it in ways negative and positive. I found the conversation somewhat ironic, because I usually find myself defending free software to outsiders much in the same way I was defending Wikipedia to free software developers. I tend to be in the camp of admirers, and for many reasons, although, of course, I also was arguing that it is too early to judge the value of Wikipedia as it is in its infancy. Like Debian, since Wikipedia is an institution that has changed *a lot* in its short history, it is hard to make any hard and fast conclusions about its worth, impact, etc, although more modest and qualified claims are certainly in order. The only reason I feel like I can argue anything about Wikipedia is because I am currently reading a dissertation on Wikipedia by Joseph Reagle. He not only has really insightful things to say about the collaborative culture driving the online encyclopedia, but also about the prolific commentary that has closely followed the heels of Wikipedia in the last few years. Just today, he wrote a blog entry entitled, Punditry and The Web 2.0 debate, which so hit the nail on the head on the problems–not with Wikipedia–but with the peanut gallery (commentary) on Wikipedia. As he notes, the problem is often not with the so called correct or incorrect judgments on Wikipedia (or other Web 2.0 phenomenon) but with the very debates themselves, because many of them are built on a shaky foundation of sand, but this punditry, as Joe rightly calls it, is nonetheless worthy of critical examination:
.. while I follow the discussion with interest, I actually don’t find it substantively engaging. Many of the arguments, particularly Gorman’s, tend to be characterized by unsubstantiated claims and the purposeful construal of nuanced issues as extremes — propping up strawmen for subsequent potshots. As I’ve already indicated, while it might bring pundits a sense of righteousness and attention, in the end “Time, not arguments, will utlimately tell.” (And, for this reason I appreciate Larry Sanger’s continuing efforts to implement his vision.)Why, then, do I find this discussion of interest? Punditry, communicative disorders, and history. First, I’m trying to come to an understanding of “punditry,” and I think Gorman’s recent bloggings is an exemplar. My sense is that sometimes people argue for arguments’ sake. That is, even if they genuinely believe the thing they are arguing for, attention, not persuasion, is the goal. (In a sense, perhaps it is a high-brow, and perhaps more genuinely held, form of trolling — another interesting phenomenon.)
While punditry has always existed, there is no doubt that the Internet has accentuated and facilitated this form of (often male) communication and it is great to see someone tackle this topic. Because let’s face it, there is a lot more “garbage” spewing from Web 2.0 or Wikipedia commentary compared to than the actual Wikipedia articles themselves.

Junichi Uekawa: qemu user emulation.

I was reading Qemu User emulation wiki page, and 306637, and noticed that I could invoke ld.so directly.The main problem I encountered when running qemu (shared library version) within chrootwas that the fact that the name of ld.so can be the same for different architectures (mips and amd64 being an exception).If I can directly specify the path to ld.so, then I can work around that.I can even use the --library-path command-line option to work around the problem of not having a shared library path (last time I used /usr/lib/tls/i686/cmov, but that's not something I can take advantage of on every arch)

Next.

Previous.