Archive for March, 2007

The Mercurial Plugin for Jira (or Read the Code, Luke)

Wednesday, March 21st, 2007

As Matt (the author of the Mercurial plugin for Jira) pointed out in his comment, there was an issue with the permissions for the plugin. Seemingly random people were able to see the Mercurial Commits tab, and all along I thought I messed something up when I ported the plugin from Jira 3.6.2 to Jira 3.6.5 and then to Jira 3.7. (Yes, I know Jira 3.8 is out, we didn’t schedule the migration yet).

Lately I’ve been busy closing bugs in Conary land, and haven’t got the time to go back and investigate what’s going on. Last week I finally decided I should look at the code – and it became very obvious. There is a View Version Control permission that controls who can see what, and it turned out only several groups were granted that permission. We’ve only allowed access to commits to internal users for now, but that may change in the future.

Also, yesterday I noticed that Jira was not indexing the Mercurial repositories anymore. As usual, catalina.out is full of useless messages, so reading the code again pointed out that I got the configuration wrong. Funny it did work at all. Turns out hg.clonedir.idx is indeed supposed to be the top directory where your Mercurial clones are, and not the directory where you cloned the repository. That is derived from the URL. Doh!

Funny error message from Yahoo! Mail

Wednesday, March 14th, 2007

Is it just me thinking this is funny?

Funny error message from Yahoo! Mail

I hate popcorn

Sunday, March 11th, 2007

I generally like popcorn, especially the one without a lot of butter on it. But I hate the smell of popcorn, especially the burnt one. If you’ve seen a microwave after someone accidentally nuked a bag of popcorn for 4 minutes instead of 2, you know what I’m talking about.

I hate even more the popcorn on the ceiling. I’m not talking about mistakenly popping the kernels and getting them on the ceiling, I’m talking about popcorn ceiling. Sometimes referred to as acoustic ceiling. I don’t need it for its acoustic abilities (unlike cement/concrete, drywall does a pretty good job of absorbing the sound). Some peope suggested it may be there as a fire retardant. That may have been true back in the time when they were putting asbestos in it, but that is no longer the case at least since 1976. To me it looks like styrofoam particles embedded in some gypsum-based compound.

From several sources I found out that, if you buy a new house, it will come by default with popcorn ceiling, and you have to pay extra to get the smooth ceiling instead. The only possible explanations for this, that I was able to find, are:

  • builders are too lazy to properly finish the ceiling. Unlike popcorn, smooth celings show minor imperfections in the drywall patches.
  • builders realize what a nightmare popcorn ceiling is for consumers, but they’ve purchased the sprayer and have to justify it. And they corner the buyer to fork more money for something that should be cheaper to begin with.

After reading directions on how to remove the nasty crumbs from your ceiling I’ve ventured to try it myself. It’s not really that hard, it took me about 2 hours to remove it in a medium-size room, but that’s just the first step. Second step is sanding, patching, sanding again. Repeat as long as necessary. Then two coats of primer and some flat white ceiling paint shoud do the trick. Once you get to the painting stage, the mess is gone.

Is it worth it? I don’t know yet. I do know painting it is just as messy as removing it, but once removed you don’t have to go through that pain again. Probably the place I noticed the most how nasty popcorn ceiling is was in the kitchen. Above the stove, it was yellow and probably saturated with 15 years worth of dirt and grime and food junk.

As I was inhaling dust while scraping and sanding, I thought popcorn ceiling must have been invented by a programmer (first intention was to say Perl programmer, but language doesn’t matter that much in my analogy). It’s complex to install, the benefits are uncertain and it’s a nightmare to maintain. Hey, I’m one of them. But then again it must have been the dust in my lungs getting me to think this way.

Simplicity at its best

Sunday, March 11th, 2007

In the process of fixing a bug in Conary, I got to play with derived packages. Erik Troan posted a description of derived packages in his blog. If you longed for the ability to change just one file in a shipped piece of software without going through the process of recompiling everything, this is a very nice answer. The feature is still experimental, but by all means try it and report back any problems you see.

My contribution to Foresight

Thursday, March 8th, 2007

In case you didn’t know Foresight is bleeding edge… gnumeric 1.7.8 and Liferea 1.2.7 are in the devel tree already. I find gnumeric to be much faster than OpenOffice (with the limitation that it only does spreadsheets). I saw claims that it’s more complete and more compatible with Excel – that was a while ago, things may have changed.