Tuesday, February 22, 2011

TCL Code to convert Empathy Chat Logs to HTML

I have had it with Empathy and to completely sever my dependence to this Instant Messenger, I had written a TCL code to convert the chat log to something Pidgin finds easier to handle.

Please note that this script is in a very rough form and I cannot stress enough to BACKUP YOUR DATA. I've seen a couple of minor bugs but I think it should convert the messages just fine. This will delete the old log files after processing them, so please remember to BACKUP YOUR DATA.

THIS SCRIPT IS OFFERED AS IS WITH NO EXPLICIT NOR IMPLICIT GUARANTEES IT WILL WORK. USE AT YOUR OWN RISK.

Without further ado... TCL Script

Monday, February 21, 2011

UPDATE: And now, forced to backport Pidgin for Karmic

After some time of tolerating Empathy on Karmic, I have finally had enough of this. The app just does not get updates and I'm experiencing MSN frustrations with it as buddies do not appear when they do on Pidgin.

As it turns out, Pidgin is outdated on Karmic so, I am once again forced to cut myself my own release of Pidgin. This gets really boring after a while, but hopefully I can now get video and voice on Pidgin compiled to see how that goes.

Update: It's done. 2.7.10 on my Karmic. I had a few complications but nothing show-stopping. Libtools was complaining and I did this:
autoreconf --force

Tuesday, February 15, 2011

Git sucks...

For a while I've been using cvs and then moved to subversion for my programming needs. Two years ago, give or take... the team I work with decided to move to Git and it's been a love/hate relationship ever since.

For the most part, every time I try to use git's much praised branching abilities have been met with tragic consequences. For the past year, I've kept an ultra conservative work style with git that has worked for me for the most part.

Lately, I've been trying to expand the work to use more of git and like always, it's been a real pain. This much touted feature on branching has always, and I emphasize always, lead me to conflict resolutions even if the files I have a conflict to resolve does not involve any of the commits from other programmers. As the branch I create get more complicated, the more time I spend trying to merge the work I do with the current code snapshot. This is utterly stupid.

It does not end there. Git seems to literally drop what it's doing when coming across errors while moving to a new remote branch creating a totally weird branch snapshot. I've had years worth of commits disappear in the source tree I'm working on leaving me wondering what the hell just happened. Then I have to roll up my sleeves and try to fix the mess that git left behind.

Git works when I am just trying to code something and commit. Anything else, it's been a tragic mess. Git sucks... for me.