Life Codecs @ NamingCrisis.net

Ruminations. Reflections. Refractions. Code.

Jul 8, 2012 - software dev

Converting from Mercurial to Git

This is basically augmenting (and repeating) this guide.

1
2
3
4
5
6
7
8
9
10
11
12
# get the hg-fast-export util
git clone git://repo.or.cz/fast-export.git

# create your git target repo, and cd into it.
git init git_migration_target_repo
cd git_migration_target_repo

# export the hg repo into (current git repo)
/path/to/hg-fast-export.sh -r /path/to/old/mercurial_repo

# don't forget to do this! or git status will show you a bunch of deletes
git checkout HEAD

Augments:

  • Under Debian, you can issue aptitude update && aptitude hg-fast-export, rather than cloning the repo, unless you want the latest and greatest I suppose.
  • My main use case was converting my bitbucket repo to git, I did the following:
    • bitbucket: renamed the mercurial repo (say call it “foo”) to foo-hg
    • bitbucket: created a git foo repo
    • local: git clone the empty foo bitbucket repo
    • local: perform the migration above into the cloned repo
    • local: push the cloned repo to bitbucket
    • bitbucket: trash foo-hg!

Jan 20, 2012 - general gripe politics

Loudmouth SOPA Proponents & Hypocrisy

It’s been several months since I stopped actively blogging with any real content (actively? real content? me? I know, “does not compute”), there had been nothing interesting to say, and overall I lost motivation.

Today, however, my blogging inertia has abated for a little while by virtue of coming across this article on BBC, discussing SOPA, One of the uniting traits of the world, for better or for worse, is the trait known as stupidity. Alas, there must be something most politicians and executives consume — their own steaming hot air aside — that inflicts this trait so readily in these poor (metaphorically speaking of course) humans.

The metaphor applies to both “poor” and “humans”. In case you were wondering.

I read the article on the way home from work today. My anger (and thus, inertia cure) stems from statements made by the Grand Overlord of the MPAA, a certain US ex-senator Chris Dodd.

Dear audience (or lack thereof), the previous sentence translated to Swahili would be “mgongano wa maslahi” (at least that’s what Google Translate tells me). In Indonesian, we get a clearer indication, “benturan kepentingan” — well okay, clearer if you’re Indonesian. Finally, in Swede: “intressekonflikt”.

To have initially worked for the people and then lobby for a broken corporation, that takes balls. Well, no, it takes very little effort for most politicians (ball bearings? Not even that heavy, sigh), you get the idea. Usually, Republicans are known for stunts like this; to my dismay, Monsieur Dodd is/was supposedly a Democrat. Perhaps, this is an instance of “I say to-may-toe, you say to-mah-toe”.

Let’s examine some statements made by the MPAA (henceforth all quotes are from the linked article):

But backers of the legislation, led by the Motion Picture Association of America (MPAA), described the action as an “irresponsible” publicity “stunt”.

This “stunt” is referring to sites, especially Wikipedia, that went offline, or publicly displayed their anti-SOPA stance. There was nothing irresponsible about it, a huge internet-based protest occurred, no one (except the MPAA and related clowns) got hurt — compare that to almost any other massive protest — the worst thing that happened (for MPAA of course), is enlightenment. People seeing the blackout (notice the irony?) woke up to the mess that is SOPA — which by the way, is irresponsible considering it wastes tax payer money to essentially assist a very, very rich bunch get even richer. This happened according to Wikipedia (in the article):

“More than 162 million people saw our message asking if you could imagine a world without free knowledge,” the site said. “You said no. You shut down Congress’s switchboards. You melted their servers. “From all around the world your messages dominated social media and the news. Millions of people have spoken in defence of a free and open internet.”

I am not a US citizen, however any bill that affects a global network needs to involve custodians and netizens of said network. I consider myself a netizen, so this matters to me.

The MPAA is neither a custodian, nor a netizen of the Internet.

It is a leech.

But pardon me, a leech has blood sucking as a natural instinct. Ergo the MPAA is a lot worse than a leech, incomparable even — please ignore my previous analogy.

The MPAA’s constituents happily use the Internet when it suits, then trash it when it doesn’t. In layperson terms, that’s akin to crapping in your community centre’s hall. That’s just how disgusted I am by this organisation. And if the organisation is not enough, let’s continue with Monsieur Dodd. Oh, boy… this is one broken toy… (woot, a rhyme):

Ex-Senator Chris Dodd, MPAA’s chief executive, described the blackouts as an “abuse of power”

One word: “intressekonflikt” (or is that two?). You’re talking about “abuse of power”? Really?

The above quote doesn’t take the cake though, next I reveal the real impetus behind my post. Check this Oscar-winning material out:

Ahead of the day’s action, Mr Dodd said: “It’s a dangerous and troubling development when the platforms that serve as gateways to information intentionally skew the facts to incite their users in order to further their corporate interests.”

I wonder if Mr. Dodd was in a room full of mirrors when he said this. Or perhaps he just came out of some form of freaky MPAA-sponsored Cataract-Vipassana 15-day retreat. I mean, really.

Okay, more talk of Mr. Dodd and yours truly will need to go on that retreat. Let’s move on to good ol’ Rupert Murdoch:

News Corporation chairman Rupert Murdoch, a vocal supporter of Sopa, continued to spar with users on Twitter. He tweeted: “Seems blogsphere has succeeded in terrorising many senators and congressmen who previously committed. Politicians all the same.”

“Terrorising”? If ever there was a Hackneyed Word of the Decade competition, this would get my vote. So protesting these days is “terrorising”? Hmm. And the News of the World crackery bullshit was, I suppose, ethical journalism in comparison. The only shred of truth in his tweet, in as far as generalisations go, is the last sentence. And Mr. Murdoch, Wikipedia is not a blog, in case you haven’t been doing rudimentary fact-checking in recent times. The Internet is not just the “blogosphere” (his actual tweet spelt it correctly).

And yes, when I said “good ol’”, it was sarcasm. In case you were wondering.

The sheer ease with which executives and politicians spout brobdingnagian volumes of pungent, diarrheic verbiage never ceases to both disgust and amaze me. I mean, that you can manage to stay in human form while expertly incanting turdspells like the above is nothing short of a miracle. The utter blindness to your own actions, the total inability to reflect on things as they are, the overreaching stupidity, the incomprehensible levels of arrogance… wow.

I need to do something about this naïveté of mine… one of these days.

As the Nihonjin say, well at least the Anime Nihonjin: yare yare…

Apr 25, 2011 - general gripe

Mystery of Dinkle Berry

Let’s edit this now1 force-footnote3.

“Dinkle Berry” is.. dinkle berry. A test user so abused in my test
data. Ah Dinkle Berry, where did your name come from?

I should google you, eh2?

Footnotes:

1yep, still messing with my blog to email thingie.

2ok, so I did google it… whatever you do, please ignore
urbandictionary’s
interpretation… it’s scary how I came up with that word
independently, and had no such mental association, kthnks.

33 6 edits now… textile support seems a bit.. flaky in Python.

Apr 23, 2011 - software dev

Love Will Keep Us Alive

Love Will Keep Us Alive1

I was standing
All alone against the world outside
You were searching
For a place to hide

Lost and lonely
Now you’ve given me the will to survive
When we’re hungry…love will keep us alive

Don’t you worry
Sometimes you’ve just gotta let it ride
The world is changing
Right before your eyes
Now I’ve found you
There’s no more emptiness inside
When we’re hungry…love will keep us alive

I would die for you
Climb the highest mountain
Baby, there’s nothing I wouldn’t do

I was standing
All alone against the world outside
You were searching
For a place to hide
Lost and lonely
Now you’ve given me the will to survive
When we’re hungry…love will keep us alive
When we’re hungry…love will keep us alive
When we’re hungry…love will keep us alive

1Of course, these are lyrics to the famous Eagles song. In the
context, I am messing with my
textile formatted
email to blog software.