Moving history between git repos

So GLib and GTK+ have officially moved from svn to git this week. I had been doing some work in my own git repos, but they were based on various git-svn checkouts and they were all hashed differently, so it wasn’t possible to just merge from one of them into the new official git repos.

It turns out that it’s quite easy to merge your history over, though. Here’s what I did.

Say there is an old git repo with a branch called new-awesome-stuff. You want to create a branch in the new git repo with the same name, and merge the history over.

(in the old repo)

git checkout new-awesome-stuff
git format-patch master

This generates patches for each revision.. say there were 34 revisions in this branch. You’ll get 34 patch files whose names begin with 00nn (where nn is 01..34).

(in the new repo)

git checkout -b new-awesome-stuff
git am 00*.patch

If you’re putting things on github as I am, this should help you maintain your work in a single repo instead of having four different repos for the same project as I had. :)

Vote for Susie!

Billboard Magazine is running some kind of photography contest, and there is a photo of my friend Susie that’s entered in the contest by photographer Angela Morris. However, I voted for it yesterday and at the time it had very few votes.. I read today a comment by one of her Facebook friends saying she had like 430 votes. So I went and looked at the contest page and it said she had like 21 votes or something.

WTF.

She has at least 60 people in her “vote for Susie” Facebook group, so it seems likely that even if her friend who said she had 430 votes was wrong, she must have at least 60 votes by now. I call vote fraud on Billboard Magazine’s contest! Maybe they discriminate against violinists or something.

Vote for Susie

Let’s fight this horrible injustice! Everyone go vote for Susie!!

Project Ridle^H^H^H^H^HGiggity!

There’s been some interest in getting some of the features from Christian Hammond’s awesome libsexy merged into GTK+, and I’m happy to report that some progress is finally being made on this. I just committed support for icons in entries into GTK+ a few minutes ago, and this will be available in GTK+ 2.16. This is based on SexyIconEntry, but supports some additional cool features that weren’t in SexyIconEntry. Some new things:

  • Set icons from pixbufs, stock items, GIcons, and icon names
  • Control sensitivity of each icon
  • Tooltips on icons
  • Drag and drop with icons

It’s also more memory efficient now, allocating the data and subwindows on demand. This is important since the new feature has been merged into GtkEntry itself rather than providing a new widget, and would more than double the size of every GtkEntry otherwise.

Thanks to everyone who helped: Matthias Clasen (tooltips, drag/drop support, patch review), Emanuele Bassi (review), Ross Burton (review), Christian Dywan (review, testing in Midori browser), and of course to Christian Hammond for making SexyIconEntry!

Project Ridley doesn’t explicitly mention libsexy, so I hereby create a new project specifically for merging libsexy features: Project Giggity!

Next I want to finish working on URL labels, like SexyUrlLabel.

Project Giggity

Project Giggity

Gtk# 2.12.3 Win32 installer

There’s been a lot of talk on the Gtk# mailing lists about the lack of a 2.12 installer for Win32. I finally took the time to roll a new MSI installer for Gtk# 2.12.3. But Medsphere is not using Gtk# 2.12, and we’re not planning to use it any time soon so I don’t think we really want to provide support for 2.12, or for 2.14 once it comes out, until we’re actually using them.

My long-term plan has been that I want to get gtk.org distributing its own official msi/msm installers for each component of the stack. Then other projects, such as gtk# or any gtk+ app, could consume the msm installers for their own msi containers.

Boston Summit is coming up pretty soon, and Brad and I plan to take the opportunity there to try to get Medsphere’s installer code into shape to do this and then push it into an upstream svn module, probably on Gnome’s svn.

Vista. You know, the other one.

Linux Journal has an article entitled The *Other* Vista: Successful and Open Source. It’s a brief introduction to the VistA system that is used by the VA and now many private hospitals, and which is the basis for Medsphere’s current products. The article talks a bit about Medsphere’s open source GTK-based OpenVista CIS, the new Medsphere.org initiative, and Congressman Pete Stark’s proposed Health-e Information Technology Act of 2008 bill that would advance open source medical software in the US if it were passed.

It’s really cool to see that our work is being noticed, and that people are starting to think about how open source can affect the medical industry.

Ding Dong, the Witch Is Dead!

Seven years, 157 comments later.. IT IS DONE!

Witch

What was missing at Guadec?

I wasn’t even there and I can answer that question.

The answer to Guadec insanity

The Raconteurs

Megan and I went to the House of Blues in Dallas last night for the Raconteurs concert there. It was really awesome! Birds of Avalon opened for them. I had never heard of them before, but I thought they were okay. They had a funny gimmick where they have these little plastic birds, that I guess are battery powered since their wings could flap quickly, and the lead singer would turn them on and throw them out into the audience during one of the big instrumental sections of one song near the end. The Raconteurs came out later and it was the best show.. they did some stuff from their first album, and the new album, and a few songs that they have never recorded yet. Lots of fun. And House of Blues is a cool place, except that they charge you $5 for a can of beer.

Raconteurs poster

I picked up a concert poster for it while I was there, of course.

Help me find a printer!

This is a call out to anyone on Planet Gnome who can suggest a good printer that will work well with Linux. My ideal printer would probably be just a black-and-white laser printer that connects with USB, and is compatible with any recent versions of Ubuntu.

I’m not 100% sure about the B&W laser part. I’m also open to suggestions for inkjet printers, especially ones that have integrated scanners that also will work in Ubuntu.

Eroica Trio and the Greenberg Concerto

So last week I was playing with East Texas Symphony again, and we played Brahms Symphony No.1, some Copland overture that I didn’t care for too much, and a concerto for piano trio and orchestra by a young composer named Jay Greenberg. The concerto was nice, and Eroica Trio played with us for it. They played really well, of course, although this piece isn’t really the best metric for judging how good a piano trio is.

So during the first rehearsal with them, I was looking at the violinist and thinking, “Who is this girl? She looks so familiar but I’m not sure where from.” I’m not overly familiar with Eroica Trio, and I don’t yet own any recordings of them, so I knew I didn’t recognize her just from that. I obviously had met her somewhere. Well, later I found out that it was Susie Park who I had known when I was at Encore, a summer music festival one summer. I didn’t recognize her at first because she cut her hair short now, and I’m used to it being very long. So I figured she wouldn’t remember me, because she’s all famous and shit now. So after the second rehearsal I go up to her and I say, “Hey Susie.. you probably don’t remember me but…” and she just yells, “CODY!”

She also knew two others in the orchestra, Andrew and Ordabek. So after the concert we went to the reception and drank a lot of wine and hung out. Then after that we went to some local bar in Tyler to drink some more. Apparently some of the people in the bar had gone to the concert, because we walk in and they see Susie and treated us like fucking rockstars. It was pretty cool. :)

I wish I had my camera with me, but I didn’t expect to know one of the soloists.