Minority Opinions

Not everyone can be mainstream, after all.

Archive for April 2012

Y-What?

leave a comment »

I have recently been encountering the word “ya” in contexts where I’m unsure whether it’s meant to convey excitement or agreement.  For some time, I thought it was completely invalid as an English word, though I’m familiar with its Spanish meaning.  That’s why I did a double-take when an author I respect used it, correctly.

Read the rest of this entry »

Advertisements

Written by eswald

24 Apr 2012 at 5:58 pm

Posted in Lifestyle

The Easiest Pet

with 2 comments

When I was young, my little sister had a kitten.  She lived outside, because it was always warm enough, and to avoid the effort of maintaining a clean house.  She was nice to hold, but eventually wandered too far from home, on too busy a street.

My beloved came from a home with a nearly steady stream of indoor cats and dogs.  Their philosophy was that if you keep the house clean, pets won’t stink the place up.  Most of the deaths in that family were caused by the deteriorating heath of old age.  That a few family members have been on daily allergy meds may or may not be related.

Read the rest of this entry »

Written by eswald

17 Apr 2012 at 10:35 pm

Posted in Lifestyle

Diagramming Git Commits

leave a comment »

Last week’s problem seems to have been solved, but I would still like a better solution.  It turns out that dot‘s dia format has been left dropped by the developers, waiting for someone to write a plugin for the new architecture.  Perhaps I could do that, if I cared enough.  However, it would probably require many more features than my use case before it could be accepted upstream.  I can get by with something quite a bit simpler.  In this case, I’ve bashed together everything I need into a single script, currently known as git-dot:

Read the rest of this entry »

Written by eswald

10 Apr 2012 at 4:09 pm

Posted in Technology

Manipulating Git Commit Graphs

leave a comment »

I have two repositories with very long, very complicated commit graphs.  In each one, I now have the need to tease out certain commits from one branch for insertion into another.  In each one, it’s being very messy.

What I really want is a combination of gitk/gitg/qgit with Planarity to let me move nodes or branches around with the mouse, while still being able to see what they are.  So far, I’ve come up with a combination of git-dot with dot and inkscape to get something that almost works.  As a very small sample:

I don’t even want to figure out which branches those are right now.  Sadly, with the svg format, I was able to ungroup the picture to allow me to drag these things around, but the arrows don’t follow.  Maybe I’ll try the dia format next, and trim out all of the history before the relevant split points.  If I can get either one to work, that is; dot’s man page claims to support dia, but the dot command itself doesn’t recognize it, and I’m getting iffy results from git log’s –since option.

Or maybe I’ll play around with the gPlanarity source until it can import a graph from git.  That sounds like a lot more fun, but potentially a lot more work.

Written by eswald

3 Apr 2012 at 6:11 pm

Posted in Technology