Gasland

Watching Gasland is depressing. While I like the idea of being energy independent and getting off of foreign oil, I don’t like the idea of fracking. It seems very short sighted and trying to solve the near term problem.

What I wonder is what the hell have we been doing since the 1973 oil embargo? Or even the panic in 1979. You would think that as a nation when we had to ration gas we would’ve learned and tried to solve the problem. But here it is 34 years later and we consume gas like it’s no tomorrow. Clearly we didn’t learn anything from our past. It’s quite sad actually.

I realize for every view point there’s a counter view point, the Natural Gas industry has a different opinion on Gasland:

Natural gas is a clean, abundant and domestic energy source that holds vast potential to promote cleaner air, grow local economies and enhance energy security in the United States and, increasingly, around the world. The natural gas community is committed to the safe and responsible development of this energy source, and we welcome questions about the film Gasland because it gives us the opportunity to set the record straight in a fact-based way.

Personally I think they’re full of it 🙂 Many will blame the Administration for not doing more but clearly the people to blame are the special interest groups that actually run this country. We have this belief that WE THE PEOPLE are in charge, we’re so wrong. I think the problem isn’t Congress or the Executive branch, but the lobbyist that have our leaders ears (or more likely other parts of their bodies).

Gnome 3 and themes are a disappointment

Getting a nice dark theme on a Linux desktop is probably one of the most difficult things I’ve had to do on a computer. I can install a machine from scratch, get virtualized systems working, connect to a SAMBA share, even get my Linux desktop to talk to a network printer. But can I get a dark network theme across the board? No way!

I recently upgraded from Fedora 16 to Fedora 18. Well not really an upgrade, more of a fresh install of Fedora 18 but kept my existing home directory. I enabled dark themes using the Gnome Tweak Tool. I thought this would take care of it but it only seems to work for some applications: Evolution, Nautilus, Gnome Terminal all seem to look just fine. But anything not included with Gnome 3 looks like rubbish.

Here’s the Gnome Tweak Tool. It looks pretty nice in a dark theme.
theme-tweaktool

As does the Gnome Terminal, especially with the transparency on the window.
dark-terminal

But any other application is horrendous. Checkout Google Chrome on the same machine.

theme-chrome

And Thunderbird is also a mess, I was able to get the message window be white on black, but there is no easy way to change the look and feel of Thunderbird. All of the themes are ‘cutesy’ trying to add splash graphics and what not. See Thunderbird themes for examples.

theme-thunderbird

And XChat is unusable at the moment with the white text on white background in the text entry box.

xchat-white

I’ve gotten to the point where I gave up on Thunderbird and XChat and started using mutt and irssi since the terminal theme works. But I have to say mutt is ok but I prefer Thunderbird’s folders and notifications. irssi is actually quite workable so if I can’t get the themes fixed in XChat I can live with irssi.

But this really shouldn’t be that difficult, why do app designer think people want whitewashed apps, it’s 2013 and we still can’t get themes working.

</rant>

First book of 2013

I got a Kindle Paperwhite this past Christmas. I’m not much of a book reader but for 2013 I wanted to read more. As a James Bond fan (I own the Blu-ray box set too 🙂 and the recent Amazon James Bond book sale ($1.99 each for the Kindle versions), I bought all 14 books. I know not that interesting, but I FINALLY finished the first book: “Casino Royale”.

The one thing I noticed about Bond in “Casino Royale” was that he wasn’t as ruthless as he was in the movies. I guess they have to have a lot more killing in the movies to keep folks interested, and it could have been the time when the book was written, 1953. If you are a James Bond fan,
I recommend checking out the books.

Next book is an actual paperback, also a gift, titled “Team Geek A Software Developer’s Guide to Working Well with Others” so far so good. It’s quite entertaining.

Apply github pull requests as patches

Our team uses Github’s pull requests as a code review process, which requires a fair number of requests that need to be tested. Github has a really cool feature where if you put the .patch extension to the url it will show you a diff that can be passed to git am.

So given a pull request 162 (https://github.com/candlepin/candlepin/pull/162) you can use curl to download the patch and then pipe it to git am. Once you’re done reviewing, simply revert your branch back using git reset --hard origin/master.

I added some functions to my .bashrc for the projects I review most often, here’s the snippet:

# apply the given pull request from the given project as a patch
# arg: project (i.e. candlepin/subscription-manager/etc
# arg: pull request number
__github ()
{
    curl https://github.com/candlepin/$1/pull/$2.patch | git am
}

# apply the given pull request for candlepin
# arg: pull request number
cppull ()
{
    __github "candlepin" $1
}

# apply the given pull request for subscription-manager
# arg: pull request number
submanpull ()
{
    __github "subscription-manager" $1
}

Summary