Search Results: "tim"

27 June 2006

Pierre Habouzit: pbuilder custom configurations

I've noticed many times that people don't really use pbuilder with all the power and flexibility it allows. A lot of people don't want to mess up with the configuration files or write their own hooks, whereas it's quite simple, and powerful. Here are the dotfiles I use with my pbuilder install: The features those files provides are: There is nothing very new here, but it's a complete setup that some recent/lazy pbuilder users may find useful (it should not need any big modification to be used on anyone's computer). Also note that the linked files are the one I really use, and that it's meant to evolve with time.

26 June 2006

Jonathan McDowell: I'd like another one like that, please.

Good things about the weekend: On the flip side I only actually saw Andy (the reason I was in Amsterdam at all) for a few hours thanks to a combination of BA delaying his flight for over 2 hours and my body deciding at 2am that it was really time to wander back to the hotel and sleep.

Martin F. Krafft: The most expensive cities

I just stumbled over this report on the 50 most expensive cities (via Boing Boing). Zurich is down to position 9 (it was in number 5 the last time I read such a report), but that's not the only surprise -- I have not perceived London, Tokyo, and Geneva to be more expensive than Zurich, nor would I consider Zurich to have become cheaper. When I spot Hanoi and Saigon (Ho Chi Minh City) in the thirties, before Amsterdam and Munich (which doesn't even appear in the top 50), I am beginning to doubt the veracity of the list. Or well, at least I'd like to know more about how they've arrived at the ranking. Or it's been too long since my last visit to Vietnam. Yeah, that must be it. Update: Mike Hommey says:
I think what you missed is that the ranking is about comparing how cities are expensive for locals, not how inherently expensive they are. Sure Hanoi might be cheap for the European, but might not be that cheap for Vietnamese, when you take into account housing prices, etc. compared to the average salary.
I am aware of this; it's only one of the reasons why I am missing information in the study.

Roland Mas: Gforge in Debian, June 2006

…or, “Bits from a Gforge maintainer", if you’d like. After being neglected for way too long, the Gforge packages have finally started moving again. Packages for the most recent upstream release (4.5.14) are available in experimental, with quite a few improvements over the version currently in unstable: From a Debian maintainer’s point of view, my Gforge-related TODO list now mainly sports three items. I suppose I could also try and migrate to the webapps-common framework, but I’ll keep that for later. Of course, any help is welcome. Remember: the sooner I get the Gforge packages into a reasonable shape, the sooner they’ll go to unstable, then testing, and the sooner I’ll be backporting them to sarge, which means Alioth can be upgraded. But since I’ve heard a few complaints about Alioth being too damn slow or broken or whatever, I expect I’ll get lots of patches (in bug reports, please) from disgruntled users eager to help.

25 June 2006

Martin F. Krafft: The very first FrOSCon

I am sitting on the train, returning from the first FrOSCon, a conference close to Cologne, organised by a bunch of volunteers, mostly students of Department of Computer Science of the renowned Rhein-Main-Siegen Fachhochschule (which seemed to fully support the endeavour), as well as members of the Linux / Unix User Group Sankt Augustin. I gave a presentation on my doctoral research (slides available) and otherwise spent much time talking to people about topics ranging from issues in cooperation to strategical questions on Debian, and of course my well-known involvement with the Transnational Republic. It really does seem as if my little experiment in Mexico rippled a long way and made people more conscious of the meaning of key signings. At first, I did not want to go to the conference and had even called in a week before to cancel my slot. I had signed up as a speaker in February, just as I was starting to get on top of my incapacitated wrists (and the severe muscular problems in my shoulders, which are at the root of it all) after several months of "downtime". However, I had my hopes up too high and found myself still unable to work for reasonable lengths of time following my trip to Souteast Asia, as well as before, during, and after the Debian conference in Mexico I attended. Consequently, the "first results" I had promised in the abstract didn't exist, and my only option was to give a talk along the same lines as the one I had given at FOSDEM earlier this year -- and after three years of exposure to an academic field were people seemed to do nothing else than deliver the same talks over and over again, I wasn't too keen on boring my audience. But the organisers convinced me, so I went out to buy a train ticket, and sat my butt down to make as much as I could out of what I had. In the end, I was very satisfied with the talk (for one, I did not experience a total loss of slides 10 minutes into it), which was delivered to an audience of primarily non-Debian people, and I got some valuable feedback from some of them, especially during a longer conversation with a guy from the OpenOffice.org quality assurance team. Have a look at the slides if you're interested. I enjoyed myself at night at the social event, where my favourite wheat beer "Unertl" was served, and once again met up to my reputation of being among the last to go to sleep ()nd among the first to be up, as you shall see shortly) and found my place to sleep sometime between 3 and 4 in the morning, following very interesting discussion on some of the fundamental questions revolving around Debian, Ubuntu, as well as several other software projects. "My place to sleep", by the way, was on my camping mattress outside the campus on a big meadow, which I preferred over a stuffy gym hall shared with several dozens of others. I greatly enjoyed my time under the stars until 7 in the morning, when the sun was already radiating unbearable heat (I was in a black sleeping bag), some beast had stung my finger and had caused it to swell up so much that I couldn't bend it anymore, when I remembered that I am suffering from hay fever, and two stray dogs decided that they liked me. I made my way back to the campus, got lost on the way to the shower and hence could not get one for the gym hall had been closed by the time I arrived, didn't find any wheat beer for breakfast (remember, I am from Munich), and finally could not fall back asleep in the chill-out area, which was located on the top floor with windows in the ceiling and the sun right there on the other side causing happy sparks of enthalpy and a general sense of discomfort. Discovering "Mate Ice Tea" (which is just what it sounds like), I quickly got high on caffeine and spent the rest of the day wired, running about because I couldn't stay put. At least I got to see plenty of people that way. This was the first FrOSCon and I must say that I am very impressed by the organisation team. It was not difficult to conclude that they had spent a lot of time thinking and planing and researching and learning from other events. As participant, I had the impression that everything was working according to plan at all times, I never saw any of the crew members stressed out, and the service and little details really made one feel good, as participant and probably even more as speaker. We (the speakers) had our own catering room, as well as a work room attached to it, so we could always hide away from the masses and treat ourselves to a good selection of foods and drinks, and the work room was actually among the cooler (as in temperature) places to hang out, so that came in as a welcoming refreshment. Network coverage and uptime was flawless, the connection conveniently fast, and the atmosphere generally very pleasing. I definitely hope there'll be another FrOSCon next year, and that I'll be able to attend. Thank you to everyone who helped make this conference possible.

Mike Hommey: Wordpress and daylight saving

Wordpress has a wonderful feature: instead of providing a timezone where you live, you tell it how much hours your local time differs from GMT. Which just fails when dealing with daylight saving. And I just noticed that my setting was still 1 hour, instead of 2. I remembered to change time on my wallclocks, mobile phone, but I forgot my blog… But changing that will change it only for future posts and comments. So, for people who forgot like me, here are two SQL queries to fix the database:

update wp_posts set post_date = convert_tz(post_date_gmt, 'GMT', 'Europe/Paris'), post_modified = convert_tz(post_modified_gmt, 'GMT', 'Europe/Paris');
update wp_comments set comment_date = convert_tz(comment_date_gmt, 'GMT', 'Europe/Paris');

Don’t forget to replace Europe/Paris with whatever your timezone is ;) . Note that this will require you to run, if you’ve never done it before, something like
mysql_tzinfo_to_sql /usr/share/zoneinfo mysql -p -u root mysql

Mike Hommey: OpenGL performance and the importance of configuration

Until recently, I wasn’t really bothered by the poor OpenGL performance of my laptop. Though it has a Radeon Mobility 9200, the OpenGL “experience” was really bad. But since I was not using GL enabled applications, that was not an issue. Then, I tried Google Earth and thought “well, it’s slow, but it’s huge, I don’t know, maybe it’s normal”. A few days later I heard about neverball and gave it a try. It was even slower than Google Earth, and that seemed pretty hard to believe this time. Thanks to clues from people on #d-d, I figured out I didn’t have the libgl1-mesa-dri package installed. Quite simple to know if you are in the same case : first, grep “Direct rendering” in your X.org log file to be sure DRI is enabled on the server side. Then check for “direct rendering” in glxinfo’s output to know if it’s enabled on the client side. If not, try to apt-get install libgl1-mesa-dri. Trying neverball again was delightful: the game was playable. I thought I was done with my OpenGL settings until yesterday, when, for some reason, I read the X.org log and noticed AGP mode was 1x. I didn’t know exactly about nowadays, but I was pretty sure 4x was reached at some point, and that the chip in my laptop might support it. My friend google helped me finding something about “xorg.conf radeon 9200 mobility agp”, and gave me hints about three parameters to add to the xorg.conf file that might improve GL performance:

Option "AGPMode" "8"
Option "AGPFastWrite" "on"
Option "EnablePageFlip" "true"
Glxgears is not a benchmark, but still, it helps to make self comparisons. Before: ~260fps. After: ~1350fps. WAW ! Now Google Earth is really fast. Though I have a strange bug which appears whenever an X window (popup, balloon help, etc.) gets on top of the 3D frame: only the rightmost part appears… on the left. It appears on neverball, on glxgears, on Google Earth, but NOT on foobillard… moving or resizing the window usually fixes the display. Update: When switching to console and back to X, the glxgear performance gets back to ~260fps… Update 2: It seems my “before” score is not as bad as claimed. It’s actually ~950fps. Still a good improvement, though. The reason why i got ~260fps is that i almost never reboot my laptop nor restart X, and hibernate instead of shutting down the system. Which means I’m in the switched back from console case most of the time. Update 3: Thanks to Robert Hart for pointing to bug #363995. The patch from there works perfectly \o/. (If you can’t wait and want a patched .deb, send me a mail)

Mike Hommey: Anti comment spam measures

In the past months, I was getting more and more comment spam. Even though the configuration was set to moderate comments containing a link. It was a good filtering measure at the beginning, but became less and less handleable. When I decided to act, I was getting more than a hundred comment spams in my “Awaiting moderation” list. Per day. Maybe even more, I can’t remember. And about the same amount were actually able to go past the moderation filtering, by not putting links in the comment itself, but in the homepage field of the comment form. While wordpress’ comment moderation interface is pretty efficient at deleting a lot of spam, the comment management interface just sucks, even in the “massive editing” mode. So, after having spent quite some time in this sucky interface, I decided I didn’t want to resort to it any more. First I had to remove all these comment spams. I had to use use the SQL delete command myself, since Wordpress is useless. I basically deleted all comments posted after the last real one I saw. Sorry if someone posted one I didn’t see. The tricky part was that the comment count for articles is kept in a field of the wp_posts table. Which means there was a difference between the actual comment count and the count displayed. For those who’d want to do the same at home, here is the magical SQL query to refresh the comment count:
update wp_posts set comment_count = (select count(*) from wp_comments where comment_post_ID = id and comment_approved = '1'); Next step was to avoid getting more spam. I didn’t want to use captchas or any turing tests, because they basically all fail to be accessible in some way. So, I took a balanced decision. While I appreciate to get comments, I can’t stand any more the spam that get in posts as old as the blog. The best thing to do then, I think, was to allow comments on recent posts only. Sorry for those who’d like to comment on old stuff, but being able to comment on the newer posts is still better than nothing. I also kept the link moderation policy, which seemed to be helpful at the beginning. For the little story, again, Wordpress was not very helpful, so I had to resort to an SQL query to close comments on all the posts. It’s been 3 weeks or so, now, since I switched to this new policy. I got only 1 spam to moderate and none directly in the comments. Let’s hope it will last.

Biella Coleman: Before another month passes, a little on Mexico

Last month I went to Mexico to attend Debconf6 and then I traveled with 4 geeks to Oaxaca. Here are a few photos from the trip, which was quite lovely, though I stalled writing anything about it here because I was thrown into a strom of sickness during my last week there and into my first week here. I have been to Mexico a few times before though usually in passing or in Baja, which is somewhat nice but desolate. This was the first time I had any sustained exposure to Mexico and it was quite nice. Some of my favorite things about the country and my visit are perhaps a little odd but they are what took me in and here are some of them… For example, during Debconf proper, I feel in love with the following reptile and very surprisingly, because, when it comes to animals, I usually like the soft and cuddly and not the scaly and spiny. But…. this lizard was…. special. Here is how I found him: We were eating at a restaurant after a visit to some ruins and there we found this little guy caged at the back of the restaurant. I was more than a little miffed that he was trapped (and by butting his head against the cage, he clearly was saying I WANT OUT) and so was about to pull a “PETA move” and just let him out. But I decided that was not such a good idea so instead I went over to the owners to ask why the little one was caged. In answer to my query, they promptly pulled him out and told me he first that he was a chameleon (which does not seem right to me) and was usually free to roam but when there are a lot of folks (as there were) they lock him up. He plopped the little one on my arm and alas, what I pleasantly found out was that a lizard can act an awful lot like a dog. He LOVED to be pet and basically had a look of all-out-pleasure when you stroked his back. And at times, with a particularily good stroke, he would even subtly smile and flutter his hind leg a little just like a doggie. Aside from a special dog-like reptile, there were many other things that I loved about Mexico. The food at the market was divine, divine, especially the corn smut a.k.a huitlacoche and all the salsas were better than you could imagine. It is tragic that every city does not have a local market with such divine food. The architecture of Oaxaca was especially stuning as was the whole city center. It reminded me of viejo San Juan in Puerto Rico but the buildings were a little lower (apparently because of earthquakes) and the environment was dryer and more expansive. Our hostel was courtyard style (as were many houses there) and I think the courtyard should be revived as the defacto style for housing as this is probably one of the most enticing and smart architectural styles ever (at least in warm places). While a home is suppsed to provide shelter to enclose, the courtyard brings some of the outside inside and some of the inside outside. While in Oaxaca we met some folks from espora, walked a lot in the city, met up with other Debian folks traveling about, and cleaned out Vagrant’s ear which was truly … well I won’t go into that. We also drove for a few hours up to the mountains for a few nice hikes. The town hoped we happy trip and I think we did. Mexico city, by a number of measures, is one of the largest in the world and I unfortunately only got to see the Zocalo area as well as the subway. The center was quite impressive and especially nice before a thunderous storm One night at the Zocalo we happened upon a free concert, the lineup including the Tijuana Nortec Collective. One of the most dynamite parts of Mexico City is its impressive and I mean impressive subway system. In a nutshell, the system is large, clean, efficient, cheap, and quiet (thanks to thick and black rubber tires). The trains come quickly, ferrying the millions of riders who pay 20 cents for a ride on a lovely bright orange train. Every time I rode it, without fail, a vendor entered the car, loaded with a backpack that doubled as a radio/stereo, who was selling pirated music. I appreciated the sample and bought one disc chock full of mp3s. Like most urban trains, the riders are silent and I have always wondered why this is so. When I go to PR, I ride the busses much more and there, as in the states on the busses, there seems to be more open flow of chatter. Perhaps it is because trains are quite comfortable and they lull already tired riders into a state of quite contemplation. Who knows. So these are some of the things that I liked about Mexico but perhaps the most exciting part about the country was the clear political heatwave passing through, just as it is with much of Latin America. In the zocalo of Mexico City there were various stands protesting the attacks in Atenco, as well as general protests against neoliberal policies. The city of Oaxca was also filled to the gills with protesting teachers, demanding a pay raise. Thousands of them were camped out all over the city center, which is apparently a year rite. Sadly, in the last week the police broke up the protest, violently…

Robert McQueen: GUADEC and Telepathy

I made it to Vilanova on Friday for GUADEC, managed to get settled in to our chalet (I’m glad we opted for one with air conditioning!). After we got them to fix the hot water, I now think it’s pretty decent accomodation for the price, complete with wifi, swimming pool and a well-stocked shop. The only downside I can see is the distance from town. On Friday night we missed the last bus and walked in, which took over an hour and I developed a bad headache by the time we reached the town (we didn’t find the right beach, but stopped in a bar instead). My enjoyment of the walk wasn’t helped by the small children who were out on the street launching fireworks, mortars and other incendiary devices at or near us most of the way. :) Yesterday we hired bicycles to get to the town center which was certainly more fun, but there’s quite a hill on the way back. Also, bus in and taxi back is pretty much cheaper than the cost of hiring bikes here anyway, so I’m not sure I can recommend it as a long-term strategy. We might do it again for the novelty, and it has the benefit of not needing to wait around for a taxi to get back. Even before I made it to the conference venue yesterday, I’ve already met loads of cool people who hack on all sorts of cool software which I use every day, and I’ve recognised lots more people who I’ve not managed to speak to yet. I’ve also realised that we need to do a lot more work to raise the profile of the Telepathy project which I’ve been working on for almost a year now (eek!). It’s a really cool way to get IM and VoIP stuff properly integrated into the GNOME desktop, and everyone should go and check out the website, play with our releases, chat with me and come to my talk on Tuesday. Oh, and if anyone wants a Telepathy or Collabora t-shirt, grab one off me or daf. :)

Wouter Verhelst: Say hi to ragtime

A few months ago, my good friend Kris gave me an OldWorld Powermac (a model 8500/150, even though the processor really runs at 120Mhz) as a donation to the Debian project. I arranged to hand it to Sven Luther, who is very much into Debian on PowerPC, at FOSDEM in Brussels. Due to some misunderstandings, however, Sven did not take the mac with him; so it had been left at the office. And since I don't go to an awful lot of meetings (FOSDEM is probably going to be the only one this year), the mac is likely going to stay at our office. So I thought I'd put it to some good use. I saw last week that the PowerPC dailies hadn't been built for about a week or so. When I asked around, I found out this was because Colin Watson, who usually builds them, does so on his laptop. Since he was not directly available, however (due to him being on vacation or something similar), they were not getting built for about a week. An understandable situation, but rather suboptimal. So, since I had this unused PowerPC machine anyway, I installed Debian on it, called it "ragtime" in accordance with my usual machine naming scheme, did a checkout of the d-i subversion tree, and added the daily-build script to cron. As of yesterday, Frans Pop changed the different configuration items to point to my dailies instead of Colin's; so I guess it's now rather official. Ish. Update: NOW. Not NOT. Aargh.

Alexander Wirt: Froscon 2006 Day I

Its sunday morning and I'm trying to get back into life with some coffeine. I had a really nice time yesterday, the Froscon was excellent organized, even WLAN worked all the time. I had to talks yesterday, one about backports.org and one about spam. The first one had 5 persons or so, but most of them were developers and they were really interested so it really nice. In the spam talk were round about 30-40 persons and we had some very good discussions, so that I ran out of time at last. The feedback of both talks was very positive.
In the evening I managed the KSP, which went mostly well, even if I was too tired to organize it the way I normally prefer to do.
TODO: create some video/animation about how KSPs work. (any volunteers?)

I organized to get some pretzels that looked like debian swirls, Sven Guckes has some pictures of it.

Social Event was also pretty nice, much Wheat Bear and Food :-).


Thanks to all who made this happen and I really hope that it will happen next year too.
And now I'll get prepared for day II.

Small Comment:
Madduck asked me about taking the slides online, here

Daniel Burrows: Seth Crosson, are you out there? Your mother would like to speak with you.

Ever since I hooked up my phone line, I've been getting calls for someone named "Seth Crosson". The first call was fielded by my answering machine, and I figured it was a wrong number. The first two calls were from schools, and I figured maybe they just had an old number. But a few weeks later, I started getting calls from this guy's friends and family, wondering where he had gotten to.

Seth, whoever you are, if you by any chance happen to read this, please call your mother and let her know where you are. Also, please tell your family what your new number is so they stop calling me and asking for you. If you give me your new phone number (preferably by calling your old Redmond number), I'll be happy to redirect people to it.

And, next time that you move, please tell people that you are moving and where you're moving to, so they don't have to call the poor guy who gets assigned your old number.

Thanks.

24 June 2006

Piotr Roszatycki: Sorting the CDs

I'm spending the Saturday at home sorting the CDs collection. A lot of stuff is going to trash can, especially some warez like illegal Windows copies. I don't need them as far as I can use Debian, Knoppix or Kubuntu. At least there is a Windows 2003 Server trial which can be legally used for 180 days. I need the backup for some CDs on harddisk. I tried to use the K3b. Unfortunatelly, the K3b doesn't allow to choose the ISO image file name. I had to write some tool. It uses the standard command from mkisofs package. By the way, I've noticed that bs parameter in dd command has a big impact for copying speed. So I'm calling the dd twice time. First, with a large buffer size and another time for end of file. The code for isocat script:
BUFSIZE=$((128*1024))
bsize= LC_ALL=C isoinfo -d   sed '/^Logical block size is:/!d; s/.*: //' 
vsize= LC_ALL=C isoinfo -d   sed '/^Volume size is:/!d; s/.*: //' 
size=$(($bsize*$vsize))
if which pv >/dev/null 2>&1 && tty -s; then
    cat="pv -s $size"
else
    cat=cat
fi
( dd $ 1:+if=$1  bs=$BUFSIZE count=$(($size / $BUFSIZE)); \
  dd $ 1:+if=$1  bs=$bsize
    count=$(($size / $vsize - $size / $BUFSIZE * $BUFSIZE / $vsize))
    skip=$(($size / $BUFSIZE * $BUFSIZE / $vsize))
)   eval $cat $ 2:+> $2 

Christian Perrier: Adopting CRM114 for filtering spam

Last week, I finally becamed annoyed enough by the huge amount of spam I receive, mostly on my @debian.org address. So, I decided that my current anti-spam measures (SpamAssassin running on my home server, which receives all my mail, as well as my laptop, which collects it) are probably not enough. In the same time, I was seeing a few people talking about CRM114 in various occasions. It seemed easy to setup enough for me to try doing somethign with it (I usually give up on stuff that requires too much effort....). Installing it on my laptop was fairly easy, as a Debian package exists for it. Using it through procmail recipes required some documentation reading, but no more than 1 hour. The most important part has been training it. I did so for about one week by feeding undetected spam to it and teach it that it is actually spam...and of course doing the opposite with false positives on ham. One week later, I feel safe enough to actually filter all mails detected by CRM114 as spam to a dedicated mailbox, which I of course will have to investigate once a day to sort out remaining false positives. But now, my incoming mailbox is clean again and it really seems that the time I invested in learning CRM114 and teaching it about spam/ham will very quickly be worth it. In short, just try it: there are chances that you won't regret it. PS: of course, things would probably be better if Debian mail machines were using some measures similar to those finally adopted on Alioth with the help of Pierre Habouzit (RBL+greylisting, IIRC). Old debate in the project....let's hope it will happen some day if nothing I'm unaware of does prevent it.

Carlos Villegas: dash and LSB check

One new boot process hotspot was tested yesterday: using dash instead of bash. Got a good reduction of 3 seconds in the boot time. The results and method used are in the project webpage. Nevertheless, this was different from the 6 seconds obtained by Margarita Manterola in her slides from debconf6.
On the other side, with the aim of having a script for checking lintian rules and LSB compliance, I've started to take a look to the script written by Petter Reinholdtsen. It is written in perl so I took a quick tutorial of perl first :)

Andrew Pollock: [life/americania] I am finally a card-carrying, socially-secure alien

The other exciting thing that happened on Thursday is my Social Security card arrived. It's only taken me something like 7 months. Mind you, it's around 4 weeks since I applied for it the second time, so if it only took that long for Social Security to get their blasted secondary verification from the Department of Immigration, I'd love to know why I'm soon going to need my third temporary 120-day drivers licence from the DMV...

Andrew Pollock: [life/mtb] Biggest. Ride. Ever.

Yesterday I cycled from Mountain View to Santa Cruz. 50 miles (80 kilometres). Why? Google had its annual Engineering off-site, and there were a bunch of people riding. One ride was a "no rider left behind" one, so I figured I'd give it a go. We left Mountain View at about 6:50am, and 5 and a half hours later we finally arrived at the Santa Cruz Boardwalk. Man it was tough. I now have a much greater appreciation for the ride to Kosciusko that Sarah did, that one time, at band camp. I was really grateful for the use of Sarah's 2 litre Camelbak, and even then I was amazed at how fast I ran out water. And steam. Did I mention it was a tough ride? One of the highlights of the ride was the fact that Alan Eustace came on it. Here you've got one of the Senior Vice Presidents of the company coming along with the mere mortals. Early on in the ride, one of the riders got a flat tyre, and he changed it for her. He changes a mean tyre. When we reached the summit of whatever mountain it was we were toiling to cross, we came upon a store, and had a breather. He shouted everyone whatever they needed from the store to keep going. That was really nice. I was also really grateful to Richard, who saw me struggling at one point, and gave me a Power Bar to help keep me going. I really appreciated that. Just goes to show that eating only a banana for breakfast before embarking on a ride like this isn't such a good idea. The other highlight was the downhill coast once we got over the mountain. That was pretty sweet. Made me glad I was taking the bus back again, and not having to cycle back up it. Other than a lack of water and a lack of breakfast, I pulled up pretty well. I think I sat around for about an hour after arriving at Santa Cruz feeling pretty stuffed, but I didn't get any cramps or anything, and I cycled to work as usual the next day. I've got some funky sunburn on the backs of my hands where there's a hole in my cycling gloves. Would I do it again next year? Dunno. Maybe if I've improved my fitness some more, and maybe if it's on a road bike rather than a mountain bike.

23 June 2006

Joey Hess: berrying

Peak of the black raspberry season, picked nearly a gallon out of the patch here in the past hour; 2 days ago I got only 1/3 as much and I didn't even cover the whole patch this time. I enjoy berrying mostly because of the way a bramble that seemed picked clean can turn out to have more unpicked berries when seen from a different angle. Also, it's sort of like being in the zone of tetris after an hour or so; the hands proceed without concious direction and the mind is left free to drift or think about the big picture. More prickley than tetris though. Anyway, yum.

Adeodato Sim : Fancy tailor scripts to convert from svn to bzr

I’ve recently had to use Tailor to migrate a couple Subversion repositories to Bazaar-NG. I tend to be quite (too?) perfectionist with this kind of stuff, so I just wanted to make the config files I used available, in case they can help somebody who also wants the stuff I did: full names in the bzr log, and correct timezones for the commits. So there’s the one for amarok packaging, a simple one that just sets my name, and an e-mail address depending on the date of the commit; the timezone is okay, since by default the local timezone is used (IOW, mine, but see notes below). And the one for pkg-xiph, which does a bit more of stuff, like taking the module to work on from an envvar, and assigning a timezone to each commiter, in addition to a name and address. I’m happy with the end result of the conversion, but it’s come to a price: at first, the bzr timestamps for the amarok repo would be off by one or two hours. So I looked at the source and, after a fair while of wrestling with Python’s datetime module, I found that tailor/bzr.py is in fact buggy, and miscalculates the timestamp from the date Tailor feeds it from svn; either of these two patches, simple and better, fixes the issue. As for setting the timezone, this other patch is needed. (I sent all these uptream: link, and ‘yay pipermail’ link.) NP: Hooverphonic, The Magnificent Tree

Next.

Previous.