Search Results: "sto"

11 January 2010

Riccardo Setti: news about me

It's a long time that i think to resign from Debian/Ubuntu. In fact i stopped the active development years ago.
I kept on following people and development in general, but i dind't produce anything new/cool.

The strange thing is that everytime i changed work one of my primary assigment was port all custom
software needed at installation time from stupid_install.script to common useful debian package.

I don't even know why i never fill an ITP, and/or find someone who want care about $package and give
my work to him (or maybe share it in a public place). i'm definetly lazy.

This time was the same. Changed job in october and (as said before) i had to create some
custom debian package.

So now that the Cascaad is out i can give away some of my debian related work.

If you care about:
solr
activemq
mcollective
mule
feel free to contanct me at giskard _ at _ debian.org OR giskard _at_ ubuntu.com .
i will be happy to give to you my debian/ and discuss where you can improve the package.

Ian Wienand: Salton (Sim)City

I was recently driving through the California desert and came across the Salton Sea. Long story short - it rained a lot and the Colorado River overflowed a bunch of dams and dikes meant to contain it and created a huge inland sea. Oops. Some enterprising souls must have decided that despite the lack of any natural flushing dooming the sea to a salty, polluted existence, there was ripe opportunity to create a sea-side metropolis. From the ground, it is a bit of a fun ghost town to explore. The typical "everything just abandoned" type thing. But when I came to geotag some photos I took there, I was quite astonished to see this. Salton (Sim)City That looks exactly like what I used to do in SimCity. I'd use the F-U-N-D-S cheat at the start to max out my money, then build my little empire with neat roads and school and harbours and whatnot they've even got an airport! Then I'd press "go" and people would slowly move in to the residential areas, one house on one block at a time. I guess poor old Salton City never made it past "turtle speed"!

10 January 2010

Robert Collins: Announcing testrepository


For a while now I ve been using subunit as part of my regular development workflow. I would pipe test results to a file, use subunit to report on failures from that file, and be able to inspect all the failures at my leisure without rerunning tests or copy and pasting from far back in my history. However this is a bit adhoc, and its not trivial to get good pipelines together while its not hard, its not obvious either. And commands like tee are less readily available for Windows users. So during my holidays I started a small project to automate this workflow. I didn t get all that much done due to a combination of travel and coming down with a nasty bug near the end of my holidays which I m now recovering from. Yay health returning + medicines. If only we had medichines :) . However, I managed to get a reasonable first release out the door this evening. Grab it from launchpad or pypi. Testrepository has a few deps all listed in INSTALL.txt. Folk on Ubuntu Lucid should be able to just apt-get them all (sudo apt-get install subunit will be enough to run testrepository). If you re not on Lucid you can grab the debs manually, or use the subunit ppa (sudo add-apt-repository ppa:subunit), though I ve noticed just today that that karmic subunit build there only works with python 2.5, not the default of 2.6 I will fix that at some point. Using Testrepository is easy if you are developing python code:
$ testr init
$ python -m subunit.run project.tests.test_suite   testr load
id: 0 tests: 114
This will report any failures that occur. To see them again:
$ testr last
id: 0 tests: 114
The actual subunit streams are stored in .testrepository in sequentially numbered files (for now at least). So its very easy to get at them (for instance, subunit-stats < .testrepository/12). If you are not using python, you can still use subunit easily if you are using shunit, check or cppunit . subunit ships with bindings for shunit and cppunit, and check uses libsubunit with the CK_SUBUNIT output mode. TAP users can use tap2subunit to get a subunit stream from a TAP based testsuite. It s still early days but I m finding this much nicer than the adhoc subunit management I was doing before.

Decklin Foster: man ascii

I find myself opening a shell and typing "man ascii" more than I would like. More recently, I've found myself looking (with no success) for a equivalent web page that isn't ugly -- sometimes a browser tab is just more convenient. Yesterday, I decided to stop searching and just write one myself: man ascii. (I was a bit surprised that this domain, and all the variants of it Joker came up with, were available!) I think it gives me everything I got out of ascii(7), but I would love any bug reports.

9 January 2010

Erich Schubert: Facebook Scam Groups

Facebook seems to have little interest in protecting its users from a huge flow of common scam/spam. Sure they do get active when accounts are mass hacked, and I havn't seen a "Facebook virus" for some time. Their JavaScript filtering is pretty neat, and they have implemented dereferrer pages they can use to quickly stop URLs from spreading.However, some of my friends keep on joining very dubious groups and installing very dubios applications. No wonder "FarmVille" is sometime nicknamed "ScamVille". There still is a lot of money to make in dubious ways.The big problem with Facebook is that everyone can set up groups and applications that look like they might be real. This is why people keep on installing "Mafia wars gifts" applications that have nothing to do with the actual game except the name. And sometimes not even realize they don't actually get these gifts in the real game.Even worse are the "pimp" groups. It's a classic pyramid scheme. Invite all your friends to the group, then you get extra Mafia points. Facebook really needs to stop that.A quick search for "invite proof" - these groups usually require you to post "proof" of having invited all your friends - turns up 246 groups, almost all of which promise you Mafia stuff.Searching for "getElementsByTagName" in Facebook turns up "over 500" groups. This string is a JavaScript command commonly used to auto-invite all your friends to a group. A typical mass-spread group will use this in its "join instructions".Facebook needs to combat this kind of spam/scam. And it's not too hard. Just actually check user complaints/reports, do simple searches like the ones I posted above, and have some employee go through them and just delete all these dubious mass-join groups. Pyramid schemes likely violate the Facebook TOS, and they definitely are illegal in at least Germany.

Christian Perrier: [life] [running] Some news

It's quite some time since I gave news about my running junkiness. So here they are. Apparently, my last blog entry was about my worries about which marathon(s) to run next year. At least one is scheduled, of course Paris. The highest probability as of now if Berlin in September (probable enough for me to register as soon as it becomes possible)...which would also leave a possibility to run Donostia in late November if I manage to convince Elisabeth that running 3 marathons in a year is not entirely crazy. I'll also try again to run a solo marathon in late May in for t de Rambouillet (: I still have to see some wallabies that are said to be living here). Other planned runs include the Semi de Paris (Paris half-marathon), which is twinned with the Paris marathon, 5 weeks before, as well as a much smaller one, the semi-marathon des Lions in Bullion, in the Rambouillet forest, where I had a memorable run on Dec 17th on a snowy day. That will make 3 mass runs in a row, one per month, culminating to Paris marathon. Sounds like a good plan. So, since I ran the Cologne marathon, my plans were mostly to stay trained enough. For this, I went back to me regular schedule of one short 10km run on Saturday morning, then a longer one on Sunday morning, plus hopefully small runs with colleagues, or alone, at lunch break. The most interesting things to notice during this October-December timeframe were then: All this, plus many others cumulated about 375km in 3 months which is fairly what I planned to do. The goal right now is to both enjoy winter runs in snowy landscapes as we are very lucky to have a real winter this year in Paris area (I'll try to shoot some pictures tomorrow and post them on my gallery)....and properly prepare the Paris marathon, where my goal is to break the 4h barrier and go down to about 3h50 (some might say I'm not ambitious enough). A long term goal (probably 2011) is the well-known Saint Lyon long distance night run, starting from my birth city, Saint- tienne: 69km, departure at midnight, 1300m positive slope (1700m negative), up to 850m altitude from 500m, 55 editions. This on the first week-end of December, which in that season may mean "snow" (the 1990 edition was stopped at the 2/3 of the run because of a 70cm snow fall, but 80 heroes completed the whole run anyway). That run will be the next Grail, as it seems.:)

Andrew Pollock: [life/americania] First encounter with the police

I was driving home from a late night at work recently, and I was almost home, when the car behind me lit up like a Christmas tree. My immediate reaction was, "Oh crap, I'm tired and I wasn't paying attention to my speed". So I pulled over. To my relief, it wasn't my speed that was the problem, my left-hand tail light was out. The officer was very nice about the whole thing, but he gave me a fix-it ticket. He told me I had until I think some time in February to fix the problem, then I had to get a police officer to sign off that it had been fixed. I thought that was the end of it, and continued on my way home. The other day, I got this official looking letter in the mail the Superior Court of California, County of Santa Clara. My initial thought was, "ha, the fools have issued me a jury summons like they did for Sarah. Can't they tell I'm an alien? Nanoo Nanoo." So I open the letter and start scanning it. It's a courtesy notice. The first actual sentences I run into start with "Failure to respond to this notice by the due date may result in your bail being increased...". Huh? Bail? What? It turns out that there's a bit more to the fix-it ticket story. Not only do I have to get a police officer to sign off that I've had the tail light fixed, to avoid going to court, I have to pay a $25 "dismissal fee" (also known as California is broke and needs every dollar it can get). Today was the first day that either of us have had any time to scratch ourselves, so we trekked off to Toyota. The guy yanked off the cover inside the boot, and was poking around to show us where to change the bulb, when lo and behold, it started working again. So it was just a loose connector. Dammit. So now I have to track down a police officer. Preferably under the cover of darkness, as we've tinted the front windows of the Prius, which is apparently cause for another fix-it ticket. Although I'm struggling to find the wording that specifically says that.

Andrew Pollock: [life] Renovations coming along

renovate
v 1: restore to a previous or better condition
  2: make brighter and prettier
remodel
v 1: do over, as of (part of) a house
  2: cast or model anew
I much prefer the term renovate to remodel. Remodelling to me feels more like tearing down internal walls and changing the actual layout of the place. But we're in America, so remodelling it is. We've had a bit of (mostly self-inflicted) scope creep. It started with just wanting to get some Ethernet cabling installed, then we decided to get recessed canned lighting (the whole lamp thing over here drives us nuts), and then we discovered that acoustic ("popcorn") ceilings are a haven for dust mites (we're both allergic) so it made sense to get the ceilings redone while they were putting the lights in. We're also getting the light switches replaced, and new childproof power outlets. We also got the electrical panel upgraded. Removing popcorn ceilings is somewhat hilarious. They put down plastic everywhere, then have at it with a garden hose, and then it just scrapes off. The ceilings they've completely finished already look a million bucks, so we're very happy with the decision to do that. The Ethernet cabling installation caused a lot of wall carnage, so we're going to get the walls repainted as well. Then we can get the carpets cleaned and stain proofed, and then we can start thinking about trying to move some non-essential stuff in. Hopefully it'll all be done by next weekend. The kitchen cabinets have a six week lead time, so the kitchen remodelling will have to be done while we're living there. Unfortunately some unexpectedly time demanding stuff has come up at work, right in the middle of this, so Sarah's had to do the bulk of the running around to sort out contractors for all of the work, and I've been stuck at work until all hours, 7 days a week. To cap it off, I've managed to come down with a cold, and feel quite crappy. NyQuil consumption is ensuing.

8 January 2010

Steve Kemp: For the record, that's a question you never have to ask.

Five years ago I spent an hour wandering around a large department store looking to buy a kettle & a set of bathroom scales. Much to the amusement of the woman I was shopping with I spent a very long time trying to find the cheapest available set of scales. (We're talking at least 20 minutes, due to the nature of the store and the crowds.) Once I'd selected the cheapest possible set of bathroom scales we walked over to the kitchen section of the store. I glanced over all the available kettles and picked up the one that looked the nicest (in terms of size, shape, and handle design) with no regard for the price at all. Why? A set of bathroom scales I use maybe twice a year. A kettle I use in excess of ten times a day. Something you use that often should be right. Even if over time you take it for granted and forget about it. (FWIW the scales were 6.50 and the kettle cost me 39.95 - John Lewis 15/03/2005 - I kept the reciept!) I'll haggle and quibble over prices for a lot of things, trying to ensure that I don't pay too much. But there are items which are worth paying for (and I don't just mean that "expensive == good" idea some people seem to have). On that basis I'll think nothing of paying 150 for a pair of shoes for example, even though I'll go out of my way to save 5- 10 on a DVD player. Because shoes are important, used very very often, and DVD players just aren't. (ObReference: I have one pair of shoes. I have five pairs of boots. I might pretend I don't but I also have a pair of sandals. Sshhh it'll be our little secret. ;) Anyway today my kettle broke. I had to buy a new one at short notice. I did so and the replacement is obviously more advanced. It boils quickly and quietly which is technically an advangtage but in practise is actually a drawback. Generally speaking I'll fill the kettle, turn it on, then wander away. I'll only return to the kitchen to make my delicous beverage when I hear the "click" signaling that the kettle's job is done. This new one? From outside the kitchen I cannot hear it at all... In conclusion: Technology and progress is all around us. Sometimes a technical step forward "being quiet" is a bad thing. In other news I'm fighting with IPv6 & a head cold. Both suck. ObTitle: Alias

Chris Lawrence: From the department of bad statistics

I m glad to see that some things never change; in this case, it s the low quality of local news reporting in Laredo. Pro8News breathlessly reports that Mexican drivers are less likely to be ticketed since less than 25% of parking tickets in Laredo are issued to Mexican-licensed vehicles. This story just begs to be placed on a research methods final as one of those identify all of the problems with this analysis questions. Bonus points for invoking Bayes theorem.

Ian Wienand: vi backup files considered harmful

Mark this one down as another in the long list of "duh" once you realise what is going on! Bug report comes in about a long running daemon that has stopped logging. lsof reports the log file is now named logfile~ and further more is deleted! This happens after a system upgrade scenario, so of course I go off digging through a multitude of scripts and what-not to find the culprit... Have you got it yet? Try this...
# lsof   grep syslogd   grep messages
syslogd    1376        root   15w      REG        3,1    99851    4605625 /var/log/messages
# cd /var/log/
# vi messages (and save the file)
root@jj:/var/log# lsof   grep syslogd   grep messages
syslogd    1376        root   15w      REG        3,1    99851    4605625 /var/log/messages~ (deleted)
vi is very careful and renames your existing file, so that if anything goes wrong when writing the new version you can get something back. It's a shame the daemon doesn't know about this! The kernel is happy to deal with the rename, but when the backup file is unlinked you're out of luck. Confusingly to a casual inspection your log file looks like it's there ... just that nothing is going into it. (oh, and if you tried that, you might like to restart syslogd now :) Moral of the story -- overcome that finger-memory and never use vi on a live file; you're asking for trouble!

7 January 2010

Debian News: Brief updates: Lenny d-i with kernel 2.6.32, GPG coordination, debian-ports archive key, python-stdeb and upcoming BSP

Kumar Appaiah: Brief updates and some advice

So, while Richard is busy doing research and arranging or facilitating several Debian workshops, here I am, gulping down Idlis and Dosas by the dozen. It's been a fun visit, and I got to visit several places in my native state, but since my visit to Mumbai is rather short, I won't be able to say hello to several friends this time (Sorry Kartik). Maybe this would happen only when I am back in India on a permanent basis; let's see...Here are some general guidelines for travelers which I'd like to share:It's been a really fun trip, and I am sure I'll enjoy the rest of the trip, till I get back to my old routine and resume work.Finally, in keeping with the spirit of a blog I try to understand (albeit, in vain, I must accept), I duplicate the concept of a post from that blog, here is an up-to-date list of airports in which I have sat, but never left except by way of airplane:More updates later. Bye for now.

6 January 2010

Dirk Eddelbuettel: littler 0.1.3

A new littler release (now at 0.1.3) just went out of the door this evening. littler provides r (pronounced littler), a shebang / scripting / quick eval / pipelining front-end to the the R language and system. This version adds a few minor behind-the-scenes improvements: As usual, our code is available via our svn archive or from tarballs off my littler page and the local directory here. A fresh package is in Debian's incoming queue and will hit mirrors shortly.

5 January 2010

Russell Coker: Which is Better, Original DVD or Pirate MP4?

For a long time it has been obvious that in all cases anti-piracy technologies discourage purchases and in many cases encourage piracy. I first discovered the significance of this in about 1991 when I attended a public lecture by a senior employee of Borland and a member of the audience claimed that the Borland product he bought didn t function correctly due to anti-piracy measures. The Borland employee firmly stated that Borland did not use anti-copying technology on any of it s products, didn t have any plans to do so, and the problem in question must have been caused by something else. Of all the hostile questions that were asked, this was the only one that caused the speaker to appear agitated so it was obviously an issue that was considered to be important within Borland. In the late 80 s anti-piracy measures were mostly based around creating floppy disks that couldn t be easily copied (violations of various aspects of the disk formatting standards). This meant that you couldn t make a backup copy of the data, so it wasn t uncommon for people to seek pirate copies of their commercial software for daily use to avoid wearing out their valuable original floppy disks. Then the dongle was invented and people who bought software sometimes sought pirate copies so that they could use their printer and their commercial software without having to change plugs on their PC. But in those cases the benefits to uncrippled software to the users were small. Now a large part of the battle on copy protection concerns DVDs. If you had a DVD of a recent movie and an MP4 which would you rather watch? Would you prefer to be forced to watch some anti-piracy rubbish for a couple of minutes at the start of the movie (with fast-forward disabled) or would you prefer to just start watching it? Would you prefer to be able to pre-program the sections of the movie that you watch (as some parents desire to skip the sex and/or violence in movies for their teenagers) or would you prefer to be forced to watch the movie straight-through with only a manual fast-forward to skip sections? Would you prefer to have a DVD that can t be played properly on many (most?) computers because of the CSS encoding or an MP4 that plays on everything from PCs to mobile phones without an issue? Would you rather have 100 movies in the spare space on your laptop hard drive when you travel and 1000 movies on your desktop system or the much smaller number of boxed DVDs that you can store? I think that in most cases a pirate MP4 will give a better experience than a DVD. So the question is, why pay for a DVD when in most cases you get a lesser experience than you will get from a MP4 file downloaded by bittorrent? One reason for buying the DVD is to support the film industry. But I doubt that such a profitable industry will get much sympathy in today s economy. Another reason is the morality, some people consider piracy to be theft (it isn t by definition theft requires that for at least a moment the property be completely in the possession of the thief) and therefore avoid it. One technical reason for buying a DVD is the fact that it may have multiple languages supported, it will have subtitles, it may have an audio track with the creators giving a commentary, and it may have extra scenes that were cut from the main release. I believe that work on adding subtitles to the video file formats is a work in progress, so it s only a matter of time before the DVD rips include all this extra data. Really the content creators should focus on making a product that meets the needs of users and that they want to pay for. Pirating books is technically possible, but almost no-one does it. Some successful authors such as Charles Stross freely publish significant parts of their work and Cory Doctorow freely publishes all his work in electronic form. Books just work well, they meet the needs of users and people want to buy them. Sure they can sell them second hand, lend them to other people, and it s technically possible to pirate them, but they remain profitable. On my documents blog I have a page of links to free short stories that I liked [1] and a page of links to free books [2]. It seems to me that creators of other copyright content should consider how they can be of service to their customers. We are all familiar with corporations and misguided individuals who get whiny about the supposed losses due to piracy. Bruce Everiss has unfortunately joined this trend and demanded the disconnection of Internet users based on unproven accusations of game piracy [3]. I don t know whether the game buying experience sucks as badly as the DVD buying experience, but based on the reports of locked-down consoles that have to be cracked before they run Linux I expect that the modern game industry is doing at least as badly as the movie industry. They need to provide things that users want! One thing to note is that a Windows or console game player who uses pirate games will probably buy some games at some future time, while someone like me who uses free software both by principle and because it gives a better user experience will probably never pay for a game (I haven t got time to play all the free games so I probably wouldn t even buy a Linux game).

Vincent Sanders: Back to work

Well that is the end of my time off, tomorrow it is back to work. However my break started with snow and it seems its finishing that way.


Unfortunately despite my previous enthusiasm this weather is becoming a little tedious. Schools have been closed today so I had to child mind instead of getting anything done.

Speaking of getting things done...I have completely failed to do anything productive whatsoever for the last couple of weeks. I have played some computer games, watched some TV read some books and listened to music and you know what? Aside from a tiny guilty feeling, I have thoroughly enjoyed myself.

I suppose I should apologize for not contributing to all those open source projects that could have used my help, but that would imply remorse which I seem to be lacking. Oh well

Mentioning music, I have acquired a selection of new music over the holiday which I ought to talk about. In no particular order:Unfortunately none of it was outstanding which sometimes happens when I take a punt on a large pile of new music. On the upside none of it was particularly bad either, so a kind of "no win" deal. Though on re-listening the "XX" album is starting to grow on me and the albums from the DFTBA label are so inexpensive they are more than worth it.

Russell Coker: An Interesting new Auction Site

BidRivals.com is an interesting new auction site, their business model is that you buy bids for $0.80 each. If you want to bid on an item it costs you $0.80, then if you win the auction you pay for it. Every bid increases the price by 2 cents. So if you see an auction with a current price of $2.00 that apparently means 100 bids have been placed IE $80 have been spent. Currently a Canon EOS 50D Digital SLR camera + a lens is on auction, it has a buy it now price of $2,499 (the same price that Harvey Norman advertises) and the bidding is at $163 and climbing so the auction site has apparently made almost $6,500 in revenue and the product has not been sold yet! The auction also has no fixed end time, it seems that about 10 or 15 seconds are added to the clock every time someone bids, and the autobidder will kick in when 4 seconds remain. So there will probably be an autobid every 6-11 seconds somewhere between 300 and 600 bids per hour at a cost of $0.80 each every item that is running with autobids will generate something between $240 and $480 in revenue without being sold! Now if you don t win the auction (or give up trying to win) then you can buy it for the difference between the cost of your bids and the product price. In the case of the camera in question if you had made 500 bids (which would be quite easy with the autobid feature) then that would be $400 worth of bids, and given a choice between losing that $400 and using it as a down-payment on the regular retail price I think that most people would choose to buy the product. Of course if you buy it from Harvey Norman you save the delivery fee and probably get more options if you want to return it I ve never had to return something to Harvey Norman but I m assuming that it would be a lot easier than returning an item to an online store! I don t consider this to be a real auction site. I believe that a real auction has genuine bids of a value that is determined by the bidder, the auctioneer (or auction software) may decline bids that are too low in value or which have too small an increment. Bidding in an auction generally costs the bidder nothing the only exception I ve personally seen is auctions which have a printed catalogue in which case you pay for the catelogue, a fixed fee which is small when compared to the auction prices. It seems to me that a significant portion of the revenue (possibly the majority of the revenue) of BidRivals is from the bidding fees, and the other significant portion of the revenue would be comprised of profits made from auction customers who opt to buy the item at it s list price to avoid wasting the money that they have put in to bids. The actual prices of the items are small by comparison. Note that I am not accusing BidRivals of doing anything illegal (such as running a gambling system), I am merely stating that I don t believe that they offer a good deal for customers. While they aren t strictly a gambling site, it seems that one could get lucky and make a single bid (costing $0.80) at the right time and get a $2,499 camera for $170 (or whatever it ends up selling for) while others may spend hundreds of dollars in bids and get nothing other than a potential down-payment on the full $2,499 price. That s a lot more luck than I want in any of my purchases! I recommend not doing business with them or anyone like them.

Rapha&#235;l Hertzog: 5 years of Freexian

5 years ago I founded my own company Freexian SARL with the goal to make a living out of my free software experience. I marketed the company as being specialized on the Debian distribution in the hope to combine my Debian work and my professional work. Given that Freexian is still alive I think I met the first goal. My free software experience allowed me to complete many projects: a large number of development projects for embedded devices running a custom Linux distribution (usually built with debian udebs), the development of a Debian derivative (SLIS) and some recurring tasks of remote system administration. However, even if I use Debian daily for all my work, very few of the projects that I complete for customers have direct results in terms of improvements for Debian (except some bugreports and some related fixes). And even when I m able to contribute something back to Debian, it s usually not in areas that I care about. My focus within Debian is on the technical and organizational infrastructure of the project: as a dpkg/dpkg-dev maintainer I try to improve the packaging infrastructure, as a QA member I maintain the Package Tracking System to ease collaboration, as an Alioth admin I ensure all DD can host VCS repositories for their Debian related projects, as a developers-reference co-maintainer I try to share good packaging practices, etc. Given this bias, it s difficult to find customer projects that would let me contribute in those areas. Thus I think I need to try another approach: the simplest solution would be to find sponsors for some of my own Debian-related projects (if you have something else to suggest, please leave a comment either in the blog or by mail). That said finding sponsors looks like a difficult task in itself. While I can imagine (for example) a company using Debian on embedded devices that would like to sponsor the rewrite of update-alternatives in C in order to get rid of the perl dependency in the dpkg package (if you know such a company, get in touch with me!), I don t see who would have an interest in sponsoring the time that I need to contribute new sections to the developers-reference manual. But who knows maybe I should just try and publicly solicit sponsorship for some of the projects that I care about. In any case, suggestions and comments are welcome! Partagez cet article / Share This

John Goerzen: Taking Out the Trash

Once a month, I take our recycling to the road. This is something far more annoying than most city-dwellers may suspect. For one thing, the road is about 1/4 mile away. Over a month, we fill up at least three large plastic trash cans full of recycling. If I walked each of those there to be picked up, then walked them back to the house after, I d have walked 3 miles. So, I use our $75 pickup to get the trash to the road. The process is a long one, and it starts two days before the recycling is due to be picked up. Monday, 5:30PM: Find an outdoor extension cord in the basement. Put on snow-suitable shoes. Go outside, plug the extension cord in at the elevator. Grab the battery charger, hook it up to the pickup. Unfurl and untangle the extension cord, plug it in. Blog about it if desired. Tuesday, 5:30PM: Go outside. Disconnect the battery charger, coil up the extension cord. Plug in the air compressor and get it going. Run the hose to the tire that keeps going flat and hope it reaches. Fill up the tire. Return the air compressor hose to the elevator, turn off the air compressor. Go to pickup and actually get in. Remove the bungee cord from the brake pedal that is holding it up, preventing the brake lights from being on 100% of the time and draining the battery even faster. Start pumping the accelerator. It s not a fuel-injected engine, after all. Crank the engine. Stop cranking, pump some more, trying to avoid the hole in the floor under the accelerator. Eventually get it started, hopefully. Roll down the windows to prevent the exhaust fumes from getting too strong. Drive the stuff to the road. Unload the three cans, plus all the extra cardboard from Christmas that didn t fit in them and is now soggy and snow-covered. Drive the pickup back to the yard. Park it. Replace the bungee cord on the brake pedal so it ll start again tomorrow. Wednesday, 5:30PM: Dress warmly yet again. Go to the pickup, hoping the tire is still inflated and the battery is still charged. I m going to be optimistic and assume they are. Hope that the pickup starts after only a few minutes of pumping. Go back to the road, only to find that the Kansas wind has scattered the trash cans and their lid all over the county. With luck, I ll be able to find them on foot. Sometimes, I have had to get in the pickup and drive down the road to find all my lids. Stash all of this in the pickup, drive it back to the yard, park, replace the bungee cord, and close it up for another month. I m promising myself that when I upgrade to a better pickup, it ll be one worth at least $200.

3 January 2010

Robert Collins: More evolution-reliability-speed


Evolution recently moved to a sqlite summary db rather than a custom summary db implementation. Its great to see such reuse of code. However, it s not really a complete transition yet as I ve had cause to find out today. I ve blogged before about performance with the sqlite summary sqlite database. Today I was greet with a crash-on-startup bug which happily has a patch upstream already. Before I looked in the bug tracker though, I did some house cleaning. I started with a 900MB folders.db. Doing a vacuum on the db dropped that to 300MB. It doesn t appear to be something that evolution does itself. Firefox too appears to lack an automatic vacuum. sqlite is an embedded database, and its wonderful at doing that, but its not as install-and-forget as (say) PostgreSQL which does autovacuum. So an additional tip is vacuum your folders, e.g. with http://www.gnome.org/~sragavan/evolution-rebuild-summarydb, a helper script that will run vacuum on all your account summary db s. Note that it *does not rebuild*, it solely vacuums, and as such does not add or delete (modulo bugs in sqlite) data to the summary database. After the housecleaning, I checked that the sqlite database was in good condition:
sqlite3 folders.db
pragma integrity_check;
This returned a number of indexing issues, so I reindexed:
reindex;
Evolution now starts up and crashes in a fraction of a second - a big improvement. Finally, I started looking at the evolution code as I now was fairly confident it was a bug - it was in a sqlite callback function - and the column the function extracts data from (flags) is missing a NOT NULL constraint, but the code doesn't check for NULL - boom. From there to finding the bug report and existing patch was trivial. And this is where my comment on reliability turns up: Evolution doesn't anticipate NULL flag values in its code, so why does it insert them into the database at all ? I suspect its due to some aspect of the incremental conversion to using sqlite summaries. More concerning for me is the possibility that there are many other such crash bugs lurking in the new sqlite based code. There are possibly some clues as to the excessive table scans done by evolution in the use of a flags bitset rather than separate columns, but I haven't looked close enough to really say.

Next.

Previous.