Skip to content

Category Archives: tech

git bisect: A practical example with yum

I used git bisect to track down a bug in yum last night. It was so easy and practical that I figured I should record it here, so that others might want to give git a try.
I was attempting to install mutt, and yum failed (printing a traceback) after the rpms had been downloaded, but [...]

Did I mention that svn sucks?

$> svn co svn://gcc.gnu.org/svn/gcc/trunk gcc
$> cd gcc
$> du -h

1.6G .
$> svn export . ../clean-gcc
$> cd ../clean-gcc
$> du -h

638M .
$>

Oh, yes, I did.

Mercurial Head Scratcher

I’m trying to generate a patch to send to a project that uses Mercurial for their scm. In the middle of some commits, I did an ‘hg pull’ and ‘hg merge’. Since I did not have ‘git rebase‘ available, I now have the merged code right in the middle of my commits. If all of [...]

On DNS

Late last week, the stalwart soupnazi née jerry crashed hard, taking a lot of data with it. Both Devan and I have since recovered most of our lost data, but the peculiar thing is that some hosts are still resolving dangerouslyinc.com to the old IP (including the Dal CS machines, which run the planet).
DNS is [...]

Giving back to git

It must be obvious from previous posts that I love git. Tonight I sent a patch to the mailing list. It’s small and simple; it lets you save options for cvsimport in your config file, rather than supplying them each time you run it.
Hopefully it will be of use to others.

Setting up wordpress

Since I’m running through the wordpress install again, I figured I’d take Marc’s advice and ‘blog my changes’.

Plugins:

Ultimate tag warrior
feedburner
related posts
seo title tag
sitemap
widgets
Tarski links widget
Popularity Contest (disable visible rankings for external viewers)

Tarski theme:

Edit footer.php to remove the recent entries section and lower sidebar.
Edit sidebar.php to always show the “Main Sidebar” widget thing, and only [...]

FUDCon

The Fedora Users and Developers Conference is on Friday. Weather permitting, I’ll be flying up to Boston to attend tomorrow night.
In no particular order, here are the parts of FUDCon I am looking forward to:

Cold Boston weather means I can wear my parka.
Riding the subway.
Meeting Mr. Katz and Mr. Vidal in person.
The yum hackfest.
Getting a [...]

git rebase: keeping your branches current

Where possible, I use git for my scm now. All software on dangerously incompetent is stored in git, and I do my personal yum work with git-cvsimport. One of the reasons I like git so much is git-rebase. Here’s an example of how it works:
There is some upstream project that you wish to work on. [...]

How much did wuja cost?

I heard about SLOCCount the other day from Caolan McNamara’s post on Fedora People.
Besides just counting source lines of code, SLOCCount also outputs some quick COCOMO calculations. According to these figures, wuja cost would around $55,265 to produce if it were written by paid programmers. Pretty neat.

The Bash shell and why you’re already using it

This is, of course, a reply to Devan’s post about the Z shell, as I was one of the curious folks always bugging him about why he used it.
First, the one advantage I know of that zsh has over bash: It lets me say “The Zed Shell” which is great fun down here in North [...]