Search Results: "edd"

29 August 2006

Martin F. Krafft: Thank you, Uncle Steve!

Following my five week stay in Limerick to start my Ph.D. research, I headed for Cambridge for this year's Debian Barbeque at Steve McIntyre's house. For me, the event lasted from Friday night until Monday morning and involved many hours of joyous frolicing with happy people, and several insightful discussions. I would like to say thanks to Steve for organising the party, for putting up with all of us loonies, for driving Enrico and myself to the station in the early morning hours of Monday, and for memories of a funtastic weekend. ... and what better way to say thanks could there be than doing it a million times (warning, Flash animation; ha ha, imagine what would have happened if I had just embedded that in the post, dear readers of the planet).

26 August 2006

Russell Coker: big and cheap USB flash devices

It's often the case with technology that serious changes occur at a particular price or performance point in development. Something has small use until it can be developed to a certain combination of low price and high performance that everyone demands.<br /><br />I believe that USB flash devices are going to be used for many interesting things starting about now. The reason is that 2G flash devices are now on sale for under $100. To be more precise 1G costs $45AU and<br />2G costs $85AU.<br /><br /><a href="http://www.coker.com.au/hardware/usb.html">http://www.coker.com.au/hardware/usb.html</a><br /><a href="http://www.coker.com.au/hardware/usb.html"><span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"></span></a><br />The above page on my web site has some background information on the performance of USB devices and the things that people are trying to do with them (including MS attempting to use them as cache).<br /><br />One thing that has not been done much is to use USB for the main storage of a system. The <a href="http://laptop.media.mit.edu/">OLPC </a>machines have been designed to use only flash for storage as has the <a href="http://familiar.handhelds.org/">Familiar</a> distribution for iPaQ PDAs (and probably several other Linux distributions of which I am not aware). But there are many other machines that could potentially use it. Firewall and router machines would work well. With 2G of storage you could even have a basic install of a workstation!<br /><br />Some of the advantages of Flash for storage are that it uses small amounts of electricity, has no moving parts (can be dropped without damage), and has very low random access times. These are good things for firewalls and similar embedded devices.<br /><br />An independent advantage of USB Flash is that it can be moved between machines with ease. Instead of moving a flash disk with your data files you can move a flash disk with your complete OS and applications!<br /><br />The next thing I would like to do with USB devices is to install systems. Currently a CentOS or Red Hat Enterprise Linux install is just over 2G (I might be able to make a cut-down version that fits on a 2G flash device) and Fedora Core is over 3G. As Flash capacity goes up in powers of two I expect that soon the 4G flash devices will appear on the market and I will be able to do automated installs from Flash. This will be really convenient for my SE Linux hands-on training sessions as I like to have a quick way of re-installing a machine for when a student breaks it badly - I tell the students "play with things, experiment, break things now when no-one cares so that you can avoid breaking things at work".<br /><br />The final thing I would like to see is PCs shipped with the ability to boot from all manner of Flash devices (not just USB). I recently bought myself a new computer and it has a built-in capacity to read four different types of Flash modules for cameras etc. Unfortunately it was one of the few recent machines I've seen that won't boot from USB Flash (the BIOS supported it but it didn't work for unknown reasons). Hopefully the vendors will soon make machines that can boot from CF and other flash formats (the more format choices we have the better the prices will be).

23 August 2006

Jonathan McDowell: Hair cut

I haven't had my hair cut professionally in about 5 years. I figured it might be an idea to do so before the wedding, but also needed to do so long enough in advance so that if there was an issue I had time for it to grow out. So I finally did so yesterday, and ended up with something that doesn't look a lot different to what I had. Which is good as far as I'm concerned. :) Anyway, it finally prodded me into creating a Hackergotchi: Noodles

16 August 2006

Dirk Eddelbuettel: RQuantLib 0.2.4

A new RQuantLib package 0.2.4 was uploaded to R's master CRAN host and Debian. The principal changes are a small ajustments to work with the new QuantLib release 0.3.13, and the addition of some first unit tests. As of right now, this version will not build in Debian testing due to problems with g++-4.1 (see #383251). It works on unstable, and should work with either a slighly older g++-4.1 or g++-4.0. However, as CRAN runs Debian, it may not be until a fixed g++ hits testing that this package will hit the CRAN mirrors. There's always my page as a fallback.

14 August 2006

Neil McGovern: How to set fire to your hard drive

I was off searching for stock photos today on a site called istockphoto when I found my machine grinding to a halt. Thanks to the system load plugin in XFCE, I was able to tell that about half of my 515Mb of swap was being used. This laptop has 256Meg ram in it already, so what could possibly be using up that much memory?

Well, the answer was simple. Firefox. More precisely, the flash plugin for firefox. istockphoto uses a system called sIFR, which replaces text, mostly titles, with little embedded flash objects. More details about this technique can be found at Mike Davidson's blog. Now, it seems that this particular site is titling EVERY headline with a flash object, which is causing firefox to use up about 300Mb of ram. So, I installed Flashblock to remove this memory hogging flash from my web pages. It did indeed free up the memory, and stopped the flash from displaying.

Interestingly, Firefox did not free up the memory it was using until I shut the thing down and started it again. It was suggested that this may be due to the way that firefox has a built in memory cache of pages loaded. After a quick look in about:config, I discover that there is an option, browser.cache.memory.enable that's set to 'true'. However, setting this to false causes work's web page to fail to load at all. Having a look with ethereal, the request goes out, and the text comes back. It just displays about:blank.

So, in summary, if you need to reduce memory requirements, don't use firefox. This would be the favoured option for me, if there was a good alternative that has the Web Developer Toolbar, but unfortunately, there isn't.

Dirk Eddelbuettel: Chicago Distance Classic Half Marathon 2006

This morning, under what can only be described as unwordly gorgeous conditions, was the this year's edition of the Chicago Distance Classic. I had done this before in 2003 and 2004 but skipped it last year. In its thirtiest edition, the race has moved under the umbrella of the LaSalle Bank organisation that also produces the Shamrock Shuffle and the Chicago Marathon. In fact, it is now part of a challenge' series of three teams runs. Not sure yet how we did as a team. I was running with a friend who needed to finish in 1:35 to get a competitive start for the Marathon. And we did it -- very steady 7:15 min/mile paces made for a pretty well run race. We ran together for 4 miles, then he pulled ahead. I caught him once more, only to loose him again, but overtook him around mile 12. My chip time was 94:18 for a 7:12 pace; he came in a few seconds later. I was quite pleased how steady I ran the race; I didn't even walk a single water stop. I just checked, and this is in fact a PR for the distance. Nice. On the unpleasant side, I have the meanest blister I ever had. I had ordered new shoes from this place only to learn two weeks later that my order was lost but that I was free to issue a new order at their (higher-priced) mothership store Road Runner Sports (you know, the guys with the unstoppable supply of mail-order catalogues...). Thanks, but I didn't feel like falling for that. New order from Running Warehouse should arrive tomorrow. But I guess I need a few days to let the darn blister heal.

13 August 2006

Edd Dumbill: Ten things you need to know about me

To keep you reading all the way through, the best one's at the end.
1. I'm striking back out on my own againAfter a couple of years working full time in an office, I've decided it's the right time to take my own business, the Useful Information Company, further on. As the rest of this post illustrates, we'll be involved in web technology conferences, our own products, and Rails-based software development. I'm always looking for collaborators, comment and customers, so get in touch if any of this lot grabs you.
2. I'm organising an amazing web developer event in London, late OctoberUseful's first venture is XTech WebDev London. This is the first of a new type of event for XTech: a focused one-day training event for web developers. The idea is to focus on the best practice in web development that emerges from the cutting-edge work demonstrated in the regular XTech conference.This year, that means: Ajax, web standards, open data, REST and Ruby on Rails. Any web developer wanting inspiration and a view of the future should come along. London, UK. October 31, 2006. You can reserve your place now. (We're right-priced for your training budget, and start late enough that folks could make it from all over the UK and beyond without staying a night.)
3. The pace is hotting up for XTech 2007 in ParisMeanwhile, I'm busy putting together the call for participation and programme committee for XTech 2007, in Paris, France. Our theme is "The Ubiquitous Web." As keynotes, I'm pleased to welcome Adam Greenfield, Matt Webb and Jack Schulze.
4. I'll be off travelling shortly and reconnect with old and new friends Though a little daunted by the new face of air travel, I'm heading out to O'Reilly in Sebastopol at the end of this month to take part in FooCamp. One of my main aims is to seek out the ingredients required for a successful professional online community. In September I'll be putting in some time at EuroOSCON. Both visits will let me hook up with friends, many of whom I've not seen for a couple of years.
5. I'm on the programme committee for O'Reilly's Emerging Technologies 2007 conferenceThis one has me interested and engaged. Rael Dornfest is due to unveil the call for participation in a couple of weeks' time, and I'll give my take on the conference then. The show itself is March 26-29, 2007.
6. I have an exciting startup under the covers, in the area of conference and event managementOne of the things I've done a lot of over the last half-decade is organise, coax and bully people into presenting at conferences. I'm pouring what I've learned, and more besides, into a great product. You'll soon be bored of me talking about it.
7. I'm involved in taking Pharmalicensing into an exciting new phasePharmalicensing is an online exchange for intellectual property in the biotech and pharmaceutical world. I was part of its foundation in 1998, and am still involved. I will be part of a newly energized team of people pushing it forward into 2007. 8. I'm having a bit of a clean-out of projectsAlas, with so much going on, I need to cut out a few existing commitments. One of these things will be Monopod, my Mono-based podcast client for Linux. If I can't find anybody interested in its maintenance, I'll just hang the source code out there for anyone to pick up.
9. I want to get more energy put into DOAPOne of my long term projects I definitely don't want to cut out is DOAP, my project to describe software projects in RDF. It's had a slow but sure take-up over the last few years, and is finding its way into some significant projects. However, I do need a bit more energy for it, and one or two collaborators would certainly help. 10. Around Christmas-time, I'm going to become a father to twinsI've still not recovered from the shock. Rachael and I are going to be the proud, stunned, parents of a couple of bright shiny bundles of Human 2.0. Completely awesome, and I've absolutely no idea what to do! For now, we're just concentrating on throwing enough junk out to make room for them.

Clint Adams: Waiting for something to break

Looking out over Toronto from the top of the CN Tower, and still running for public office, I realize that I have taken several actions in my life for which I owe public apologies. Once, I blamed the entire history of Middle East politics on a hapless middle-aged retard just because he said that he liked malls. He is currently awaiting trial at the International Criminal Court in rainy The Hague. I would like to apologize to the people of the Netherlands for my part in inflicting an American on them. When I was 55, I strapped a large snowboard to each foot and sat in the middle of a narrow trail in Vermont, just to be a dick. I would like to apologize to all the skiers who injured themselves fatally in attempts to avoid me. Four hours later, I tried the same on a mountain in Utah. I would like to apologize to the American people for failing to injure any Mormons in that endeavor. In order to console myself, I broke into a beer brewery and upped the alcohol content to 4% by weight, in contravention of state law. I would like to apologize for wasting alcohol on the people of Utah. When I was three, my cousin hung up on an imaginary phone call with Mr. President and proceeded to place an imaginary phone call to Mr. Government. I became so overcome by stress from her antics that I cast away her mock aloe, peddled my tricycle to Boston, and pissed all over the First Church of Christ, Scientist. I would like to apologize for not having waited several years in order to piss on some Scientologists instead. I would like to apologize to Uncle Bill for having dragged his name into this blog entry, especially in such close proximity to the Scientologists, who hate him with aplomb. I would like to apologize for having re-enacted this episode every month since then, despite the protests of Mr. "I-am-not-a-Jew" Schwartz et al. Several years later, I defecated on the streets of Hoboken, Jersey City, Atlantic City, and Camden during rush-hour traffic. I would like to apologize for not doing this in every city in New Jersey (Newark in particular). Last month on a flight to Dar-us-Salaam, I noticed that Steve Martin was sitting across the aisle from me. While he was sleepily drooling into his pillow, I swiped his notebook. I would like to apologize to Steve Martin for plagiarizing this blog entry verbatim. I would also like to apologize for having sex with his wife Karen seventeen times. I would like to apologize to Karen for having sex with her three times without her consent, and I would like to apologize to both Steve and Karen for having sex with their children while pretending they were members of the Plimpton family. I would also like to apologize for having sex with their elderly Hawaiian turtle, whom I mistakenly believed was dead. In 1981, I dined at Sammy's Roumanian Steakhouse while wearing a purple zoot suit with a silver see-through mesh tank top. I would like to apologize to the Romanian people, the denizens of Chrystie Street, the City of New Orleans, the poblano farmers, the shiksa that gave me a lapdance, and the marmot named Stu who saw the pictures on the website of a Jewish dog rapist and promptly choked to death on his own vomit. In 1987, I dined at a Benihana with a girl who would later get tattoos and piercings. We sat at a hibachi with a truckload of Italian tourists who spoke no English at all. I would like to apologize for laughing hysterically at them when one asked, Du sprichst Deutsch? , and for getting blood all over the teppanyaki when I slit their throats after another asked, Quel pays ? On New Year's Eve in 1989, I dined at the same Benihana with a different girl whose command of Japanese was incomplete. When a middle-aged drunken British woman jammed her tongue into my mouth, a Brooklyn school bus driver laughed at me. After leaving the restaurant, he offered me a Werther's Original candy to get the taste of old woman out of my mouth. I would like to apologize for following him home and forcing him to watch the same episode of Full House over and over again for 37 hours. I would also like to apologize to Girl Scout Troop 5166 for calling them a bunch of stupid whores. While they still are a bunch of stupid whores, there was no way I could have known that at the time. Furthermore, when I was growing up, the term stupid whore approximated the use of Khidir beneath Momouteh and Shaka, when the walls fell. Finally, I would like to apologize for making a Star Trek reference when I could have said that thing about porchmonkeys instead. Now on with the campaign!

8 August 2006

Joey Hess: moving kite

(This is a long ramble with a concluding announcement that kitenet.net users should read even if they skip the rest.)
Back in spring of '03 I bought a used VA Linux 2u on ebay for $300 and dropped it a cabinet in the blue spaceship halls of the Hurricane Electic co-lo in Fremont, CA. I've never seen it again; I use it every day. Weird world.
Digression: The reason I needed to have a hunk of silicon and spinning metal hooked up to a power and an ethernet cable somewhere is this: On the internet you can either be a soverign entity, controlling your own computation, choosing your own software, making your own mistakes, and doing things your way -- or you can be a sheep. Or at least that's what I believe; reasonable people think otherwise. Here's a story illistrating this concept. Not only do I want to be a sovereign entity on the internet, but I want to empower others to be the same, to the small extent that I can: making software that supports it easier to install; contributing to co-ops like the one that hosts my computer; working on software that empowers users to become programmers; fiddling with making special-purpose embedded hardware useful for general purpose use; and letting a few users run code and such on my server and use it much the same as I do. It's a theme through a lot of my activities.
Anyway, it seems like my computer has been there longer than three years, and it's had a good run, despite little incidents like: Mostly though it has kept on running without problems for years, being my personal server and performing a few other roles. This seems to prove something I've long suspected; that computer hardware runs much better when I'm not near it. But that can't last. Eventually a hard drive will die, eventually whatever fans have (probably) already died will overheat it. Eventually I'll screw up a kernel update (which still have to be done blind, since I never did get grub talking to that serial port.) One option was to go back out there and do enough maintenance for it to last another three years. The other option was to move away from running my server on that nasty computer hardware stuff. Happily, in the intervening three years, that has become, in a way, possible. Xen and the like are big news, letting a single standard server appear as multiple separate machines. Not a new idea, but an idea newly within easy reach. So when I heard that Steve Kemp was puttng together a Xen co-op to buy a machine and split it up 6 ways, into 6 virtual machines, I jumped at the opportunity. Not only does Steve know a lot more about administering Xen than I do, but he got a good deal for on hardware that should be fully managed in case of breakage. Plus, he's providing a template for doing this on a grassroots level that I hope many other people follow. (Only partly because I want to have more than one little virtual server other there, rather than one big physical one..)
I'm still a bit unsure about Xen from the point of view of wanting to fully control my machine, since it does a) let the admin of the underlying hardware get at any data they want to if it's not encrypted and, b) it doesn't make it easy to run your own kernel. Luckily I a) basically trust Steve, and b) he seems to want me to run the exact same kernel (latest Debian unstable stock kernel) that I want to run.
So, the conclusion to this ramble is that kitenet.net will be moving, over the next few weeks, to wren.kitenet.net, which is theoretically located in London, but which is not a "real" computer as you might be accustomed to thinking of them. I decided against moving it all at once, and will be trying to keep all the various services working while shifting them around. The utterly gory details of the transitions are being kept on kite's page in my wiki, and announcements for kite users will be posted to kite's blog.

6 August 2006

Daniel Jacobowitz: Look Ma, I can blog too!

I've been meaning to set up a blog to keep track of random things that I run into and feel like sharing. One of those happened today, so I finally figured out how to install blosxom. I haven't gotten around to making a pretty CSS for it yet (not sure if I ever will, but I can pretend...) so for now it's somewhat utilitarian and default-looking. Blosxom is pretty bare-bones without plugins, and while Blosxom itself seems well documented the plugins are much less so. I spent about ten hours mucking around with the minimal set of plugins I needed to get something acceptable (timezone, autoblock, feedback, entriescache, interpolate_conditional, permalink, cooluri2, lastmodified, and a bunch of modified templates to use feedback and permalink). I tried and then discarded followsymlinks and metadate (for not playing well with other plugins I was using) and entries_index (lastmodified wanted something which set %others, so I used entriescache instead). I needed to hack lastmodified to work with entriescache, since it cleverly gets the timestamps from the cache, which are now publication dates. So here's a slightly modified lastmodified plugin which stats files directly. I spent a while getting RSS to behave, too. I used lastmodified to set lastBuildDate, modified the story template to use permalinks which were acceptable to feedback (it wants .rss on the end or it decides they aren't story pages), and eventually figured out that I needed to set <guid> to prevent liferea from thinking each modified post was new by comparing descriptions. All in all it was far more work than I meant to do last night when I decided this was a good idea. Hopefully I haven't messed it up too badly. We'll see whether I upset Planet. Leave me a note if it makes your feed reader unhappy, or something. I was actually going to use ikiwiki, but chickened out at the last moment; blosxom had fewer dependencies and I didn't want to mess around with getting ikiwiki to install on sarge. And it still seems to be evolving - so while it's wicked cool, I think I'll let it have a little more time to settle first. I spent most of this morning messing around with OpenWRT. I bought a LinkSys WRT54G quite a while ago (to replace a flaky D-Link DI-614+), and put OpenWRT on it. It took a little work to get it to do what I wanted, including fixing a quoting bug in the WPA startup script and tracking down an updated dnsmasq, but eventually I got it set up. Mostly the stock things: NAT, firewalling, wireless with WPA2, DHCP, internal DNS. Except that it can do one thing that none of the stock firmwares could: provide static DHCP addresses to specific boards, including custom options. This was absolutely essential for me to retire my old DHCP server, since I keep an embedded board lab in my office. I need the DHCP server to be able to tell boards where to get kernels and root filesystems. Anyway, it works well. Except that I've been having too many dropped connections lately and I have no way to track down whether it's the laptop (Dell Latitude D400, ipw2200 - mostly in Windows lately, I haven't retested it in Ubuntu in a bit) or the AP. I updated the Windows drivers and now it periodically tries to rekey, fails, reports "duplicated RSN" whatever that means, and periodically reports authentication failures. About the same as before except that now it has better diagnostic tools to tell me in undocumented messages what went wrong, instead of just telling me that something went wrong. So I next went looking for an updated driver for the other end. Which was a mistake. Note to others: if most of your packages are on a cromfs, running "ipkg update" is going to tear through your available MTD space really fast. And ipkg is not graceful at updates the way dpkg is; it failed to upgrade base-files due to file conflicts, leaving the updated dnsmasq unable to start. These are the same sorts of conflicts that you see in apt-get upgrade periodically: files moving from one package to another without sufficient package relationships (or in ipkg's case, maybe sufficient package manager support) to do it seamlessly. Then when I retried the update it succeeded, but it wiped out my firewall config and password file without asking. I don't really blame OpenWRT for this. "ipkg update" just isn't a good idea with their tools. But I miss apt. And I really miss 2.6 kernels; the binary-only Broadcom drivers that power the WRT54G only work on 2.4.30. And it's tight on flash/RAM anyway. So I went looking at options. Obviously, I can't get something that does exactly what I want for the kind of mass-market price the WRT54G sells at. But a suggestion from a coworker sent me looking at Mini-ITX systems, like the nice-looking Mini-Box M200. And at smaller things, like the WRAP WiFi and Soekris boards. I haven't done a hardware project of any sort since last summer, so I'm thinking about building myself an access point with benefits. I haven't decided what the benefits will be yet - if I get something like one of the Soekris boards, probably just bigger compact flash and back to dnsmasq for internal DHCP. But if I get a Mini-ITX system, I can throw a hard drive in it, arrange over-the-network backups, and use it as an incoming mail hub. This would let me decomission one of the always-on computers in my office. A mighty attractive proposition, although a bit less so now that the heat wave has broken.

4 August 2006

David Nusinow: And My Skinny Butt Stops Exercising Too

Please ignore the religious aspect of the following essay. Linked from reddit: this piece provides some interesting insight to what keeps people in Debian motivated. It's interesting to see people take jobs where they work on Debian, because I always wonder if they will keep working on Debian when the job is finished. This essay discusses why.

It's not personally important right now, but one day I'll finish my PhD and have to decide if this science thing is still what I want to do professionally. At that point, if I want to look for a Free Software job, what would be the consequences of doing so?

2 August 2006

Evan Prodromou: 15 Thermidor CCXIV

I'm at the Wikimania hacking days today. We drove down from wt:Montreal through wt:Vermont and wt:New Hampshire on Monday, stopping overnight in the beautiful town of wt:Lincoln (New Hampshire) in the White Mountains. Amita June had a crappy ride on Monday -- she was unhappy and uncomfortable and let us know it at every possible opportunity. We stopped in wt:Saint Johnsbury, VT for dinner, and she got some time to walk around and play, but beside that she was crabby. Tuesday morning was much better -- she had a big bagel from the Comfort Inn's breakfast buffet, and her Sleepy Bear teddy bear, and she was happy. Sleepy Bear is winning the war for hearts and minds in our house -- it's the bear that she's starting to sleep with more and more, and she makes a happy squeal when she sees it. This could be good or bad news. Anyways, we made it down to wt:Cambridge (Massachusetts) aaaalmost in time for the beginning of Hacking Days. HD is the technical pre-conference for the more sociological and content-oriented Wikimania. I thought it was going to be mostly MW committers and Wikimedia sysadmins, but it's turned out to be huge. I think there are about 40-50 people here -- a just gigantic group. Anyways, I was sitting in the One Laptop Per Child office meeting room with about 30 hackers yesterday morning. I was about 20 minutes late, but I managed to find a seat anyways. Everyone was giving introductions, and up stand David Recordon, Jonathan Daugherty, and David Strauss, all of whom say they're there to help me with the OpenID MediaWiki extension. As everyone's talking, I realize wp:Ward Cunningham is sitting right in front of me. The guy sitting next to me stands up to introduce himself, and says, "I'm Dan Bricklin, who many of you may know as the inventor of the spreadsheet..." Jeez. Anyways, the talk has been fast and furious. Yesterday was a long discussion about the state of Wikimedia servers, the upshot of which, for me, was: Holy Shit, Wikimedia is a big project. I managed to talk to a ton of people, including Travis Derouin of wikiHow, Jason from Wikia, all the OpenID folks, etc. etc. Jonathan Daugherty and I actually got some hacking done, which was great. tags:

The future of MediaWiki This morning Brion Vibber and Tim Starling gave a discussion about the future of MediaWiki. The story? More cool features, I think. The OpenID will be part of it; incorporating a WYSIWYG editor like WikiWyg or FCKEditor into the software. Also, more [[wp:AJAX]-y features, which are coming up through the codebase right now. I think in a large way MW's future is going to be outside of Wikipedia proper. Some of the cooler developments using the MW as a platform include WiktionaryZ and Semantic MediaWiki, both of which provide a structured data substrate to wiki pages. They're not compatible, which I think is something that needs to happen at some point in the future, but they're very promising for future projects. Another big class of projects is bots -- like PyWikipediabot or some of the "vandal fighting" bots and interfaces, e.g. Tawkerbot. I think that MediaWiki is drifting from being a monolithic browser app more into a Web-based service, which will be really productive from a content-production and -maintenance point of view, but which is extremely challenging from the social point of view. Finally, I think the great explosion in the world of customized MW extensions and skins is meaning a real marketplace for expanding the software is happening. I think this is pretty fabu, also. Some people have been discussing formalizing this ecology into a CPAN or JabberStudio-style site for hosting and organizing MW extensions. We'll see what happens with that, but if it comes around, I hope that it's named $wgForge. Maj and Amita June are running around Boston today... very slowly and carefully. They've got a brutal heat wave on here, and people are fainting and collapsing like wilting flowers. I think they're going to go places that have air conditioning, like museums and so forth. tags:

Isaac Clerencia: Debconf6

After a bunch of trains, subways, planes, buses and taxis I’ve finally arrived at Oaxtepec (Mexico) to attend DebConf6, the annual Debian conference. Besides doing some Debian work, having some fun with long-time-no-seen friends and enjoying the swimming pool, there are several interesting talks I’m interested on: Time for lunch here!

Dirk Eddelbuettel: New version of digest package for R

A few days ago, Henrik Bengtsson reported that my digest package breaks under R-devel, i.e. what will be R 2.4.0 come October. Being a good sport, he also debugged and patched this :-). I made a new version (0.2.2) available that is waiting in CRAN's incoming area until the CRAN maintainers come back from vacation. In the meantime, it is also available on a simple digest page I finally added to the code section here. So as an belated into, digest provides hash digests of arbitrary R objects by relying on the wonderss of R's serialize() function, and a simple interface to (C-level) md5, sha-1 and crc32 functions. Clearly, digest is not meant for crypto but rather to quickly summarize, compare or even cache complex R objects that may have arisen from larger computations or simulations. Apparently, Henrik uses digest to compute hash functions of arbitrary R objects that can be cached using his R.cache package.

31 July 2006

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?

30 July 2006

Joey Hess: ikiwiki as a planet

Well, I did it: I shoehorned feed aggregation support into an ikiwiki plugin. So now it can run as a cron job, pulling in updated from feeds, turning them into wiki pages, and saving the pages to disk, then rebuilding the wiki. Turning a wiki that grew blog support into a Planet engine has some interesting consequences. One of which is that the aggregated posts can be edited in the wiki unless locked, but more interesting is that the posts are first-class wiki pages that can be linked to from elsewhere in the wiki, and that can stick around even after they've fallen off the Planet's front page (although I do need to code up the support for eventually expiring them). Another interesting thing is how the feeds are configured: By directives embedded in the wiki pages themselves. So no need for config files, and the wiki page that configures the feeds builds into the web page that lists and shows the status of the feeds. The nicest thing about it though, is how little code I had to write, and how targeted it was. 300 lines exactly for it all. No need to deal with RSS generation, page formatting, full text search, any of that, it was all already there and works with the new source of pages like it would with any other pages. Very happy with this. If you want to check it out, I've imported the data from Planet Debian upstream into updo.kitenet.net. Now if you find a new blog for a Debian upstream author, you can just edit the feeds page and add it yourself.
PS: No, I don't know why Jeff Waugh is flooding it, but it's probably a minor bug in the page creation date parsing. Too late to check. (Update: Bug in the atom parser, bug filed w/patch.) PPS: I know about the problem with Lennart Poettering's blog encoding; a patch is in the BTS.

29 July 2006

Dirk Eddelbuettel: Patch to build palm-db-tools_0.3.6 with recent g++ versions

A freshly downloaded version of palm-db-tools (using the most recent version 0.3.6 from June 2003) will not compile with g++ 4.0.3 and its pickier interpretation of C++. A simple patch which removes trailing semicolons after class definitions, and adds virtual destructors for a few classes, is below. The mailing list archives show one other patch for a different (yet probably relevant :) problem, and its from November 2003. By the way, would be nice if someone added the package to Debian. The Makefile's make clean target isn't quite right, and make install isn't exactly correct either. Plus, I seem to be building this by hand every few years, and it's so much easier to just apt-get. And no, my plate is already too full.
diff -ru palm-db-tools-0.3.6.orig/libpalm/Block.h palm-db-tools-0.3.6/libpalm/Block.h
--- palm-db-tools-0.3.6.orig/libpalm/Block.h	2003-06-19 18:37:47.000000000 -0500
+++ palm-db-tools-0.3.6/libpalm/Block.h	2006-07-29 15:04:19.000000000 -0500
@@ -176,7 +176,7 @@
 	size_type m_size;
      ;
 
- ;
+ 
 
 bool operator == (const PalmLib::Block& lhs, const PalmLib::Block& rhs);
 
diff -ru palm-db-tools-0.3.6.orig/libpalm/File.h palm-db-tools-0.3.6/libpalm/File.h
--- palm-db-tools-0.3.6.orig/libpalm/File.h	2003-06-19 18:37:47.000000000 -0500
+++ palm-db-tools-0.3.6/libpalm/File.h	2006-07-29 15:04:42.000000000 -0500
@@ -89,6 +89,6 @@
 	uid_map_t m_uid_map;
      ;
 
- ;
+ 
 
 #endif
diff -ru palm-db-tools-0.3.6.orig/libsupport/infofile.h palm-db-tools-0.3.6/libsupport/infofile.h
--- palm-db-tools-0.3.6.orig/libsupport/infofile.h	2003-06-19 18:37:47.000000000 -0500
+++ palm-db-tools-0.3.6/libsupport/infofile.h	2006-07-29 15:07:08.000000000 -0500
@@ -33,6 +33,7 @@
          
         public:
             virtual void parse(int linenum, std::vector< std::string> array) = 0;
+	  virtual ~Parser()  ;
          ;
         class ConfigParser: public Parser
          
@@ -40,6 +41,7 @@
                 ConfigParser(DataFile::CSVConfig& state)
                     : m_Config(state)
                      
+	        virtual ~ConfigParser()  ;
                 virtual void parse(int linenum, std::vector< std::string> array);
             private:
                 DataFile::CSVConfig& m_Config;
@@ -50,6 +52,7 @@
                 DatabaseParser(PalmLib::FlatFile::Database& db)
                     : m_DB(db)
                      
+	        virtual ~DatabaseParser()  ;
                 virtual void parse(int linenum, std::vector< std::string> array);
             private:
                 PalmLib::FlatFile::Database& m_DB;
@@ -60,6 +63,7 @@
                 TypeParser(std::string& p_Type)
                     : m_Type(p_Type)
                      
+	        virtual ~TypeParser()  ;
                 virtual void parse(int linenum, std::vector< std::string> array);
             private:
                 std::string& m_Type;

24 July 2006

David Pashley: Strict feed parsers are useless

Erich, I'm not entirely sure what you did to break Planet, but using a strict feed parser will just result in you missing a significant number of entries. People sadly don't produce valid feeds and will blame your software rather than their feeds. It doesn't help that a number of validators aren't entirely strict and that RSS doesn't have a very comprehensive spec. RSS is a lot worse than Atom, in part thanks to the Atom validator and very well thought out spec. It's for this reason that I ended up writing Eddie rather than using ROME as it was a DOM parser and just failed to get any information out of a non-wellformed feed. Eddie on the other hand is a SAX-based parser. In a recent comparison, an Eddie based aggregator managed to correctly parse several more entries than a ROME based aggregator one particular day. You also have major aggregators being liberal. Sam Ruby discussed this recently with Bloglines becoming the defacto validator; if bloglines parses it, then it's valid. We had the same problem with HTML with people making sure their pages worked in a browser rather than met the spec. I suspect the problem you had with Planet is that you failed to close a tag, causing the rest of the page to be in bold or be a link etc. This is fairly easily solvable and in fact has been with FeedParser, which is the feed parsing library Planet uses. It has support for using HTMLTidy and similar libraries for fixing unbalanced elements. Eddie uses TagSoup to do a similar thing. As a result I've not noticed any particular entry leaking markup and breaking the page. Parhaps Planet Debian just needs to install one of the markup cleaning libraries. I agree that people should use XML tools where possible. Unfortunately, most blogging tools use text based templating systems, which makes producing non-wellformed XML too easy. To deal with this I pass all my output through an XSLT filter, which means that everything is either well formed or doesn't output at all. Unfortunately I don't think everyone would be capable or willing to use XSLT.

23 July 2006

Dirk Eddelbuettel: RQuantLib 0.2.3

A few minutes ago, a new RQuantLib package 0.2.3 was uploaded to CRAN and Debian. The main changes are an upgraded the very newest version 4.2 of RcppTemplate by Dominick, and updates throughout ensuring that RcppTemplate is now used for all R to C++ interfaces.

Andrew Pollock: [life] It's nice to be back

Today I drove back to Canberra from Sydney, which was a nice drive given the rental car had cruise control. That Canberra-Sydney drive was what made me wish I'd had cruise control in the last car... Caught up with Mel and Ash, who were incidentally in Canberra and returning to Sydney, and we had lunch at Gus' Cafe. That was nice. The Civic redevelopment is continuing, but far from complete. The new buildings look a lot higher than I expected for a construction in Canberra. It certainly looks like it'll be an impressive bunch of buildings when it's done, but I wonder if it'll steal all the focus from City Walk? Caught up with some Bilby friends for afternoon tea, ran a few errands to collect things we miss from Australia and can't readily obtain in the US, and offloaded some DVDs on our old flatmate. There seems to be a few people arriving for the conference this evening, a roaming horde of sysadmins went out in search of food a little while ago. My luggage also turned up. Apparently they thought I'd failed to board (how, I do not know) and so didn't put my luggage on the plane. I'm glad that's behind me now anyway. Looks like Sarah received the flowers I sent her, given that we're spending our first wedding anniversary apart...

Next.

Previous.