Archive Page 4 of 29



Python imdb script

I wrote a tiny piece of code to enter a movie name and it gives you some imdb information on your console. I’m ironing out a couple of tiny kinks in the Plot reading code, moreover it’s 1 in the morning and I need to get to sleep.

Here’s a screenshot. It’s been ages since I posted images on my weblog.

This was written using python and beautifulsoup. And it seems Anomit really likes the combo too.

V for Vaatdafaak

I’ve noticed that certain posts of mine get more comments than the other, and there’s a common pattern between them, and that they’re all contreversial, yet sortof true.

It’s either that everyone likes to argue or I’m highly misinformed that I don’t notice. Either way it makes me feel important when people leave comments, quite a bit more than usual even.

While the right thing to do is go to other people’s weblogs and say “that was a very informative article, I enjoyed it thoroughly” so you can build “relationships”, I’m really not the kind of person who’ll write about how to create a shortcut to create a shortcut to create a shortcut to open a page in firefox, so you can increase your productivity to create more shortcuts. I don’t even have RSS feeds served fresh in enema format like most bloggers love it.

So people, hold on tight and pray to your gods of Internet, web 2.0, tips, tricks, tweaks, and your John Chow action figure. I’m ‘a coming, gravity gun in one hand and a red crowbar in another.

no satisfactory python ide.

I haven’t been able to find a python ide that I liked so far. While I’m currently sticking to vim and pydev, there’s nothing that has good code completion, is light, supports gtk, has a folder browsing and project management capacity, integrates autoconf and autotools, etc.

So far I’ve tried pydev, pida, wing ide(101), anjuta, komodo edit, stani’s python editor, etc, etc. ugh.

gnome-open is pretty handy

I used to find it annoying not able to open certain files using the command line as different apps open different programs.

I noticed that there’s a command “gnome-open” for gnome folks, which opens the files using the default handler (evince, eye of gnome, etc) and works with pretty much all files, folders, etc

Even better, created a bash alias for the same(put alias go=”gnome-open” in your .bashrc) and I can just “go” anywhere I please.

Ribbon interface in pygtk/wxwidgets

Noting how the ribbon interface is doing so well in MSOffice 2007 (even Jakob Nielsen was saying nice stuff about them), I’m wondering why the core gtk or qt developers haven’t tried to implement them?

I tried out a quick hack using a wx notebook or a pygtk tabbed vbox, and while it’s possible, it doesen’t have the same feel of the ribbon bar.

Microsoft shipped a Visual C++ feature pack, I heard, that allows the new MFC to comply to the TR1 release document (for the next version of C++ which’ll come with native Regular expression support), and this also comes with ribbon bar like functionality.

I don’t have the time to search if Microsoft has patented this or if there’s a way to use an interface like this in core of GTK or wxWindows, but there mostly will be. Nevertheless, we can take a cue from this and develop something similar.

I’m not gonna hack away at pygtk core source code. I’m barely getting used to the regular implementations anyways. So if some *nix gui guru is out there reading this, please implement this.

Calling you bashrc and zshrc hackers

One of the things I feel could really help out in bash is that if there’s a small column on the left showing all the files. Especially considering I have two terminals maximized all the time, and I keep typing in “ls” every five commands,

How nice would it be to simply be know the contents of the current folder which changes whenever you change the folder.

A similar functionality is provided in the “hotwire” shell, which failed to make sufficient impact for me.

Essentially, create a simple column on the lhs about ten columns wide, and print a list of files there. Of course there’re the issues that what happens with scrolling output, etc.

But you never know what’s going to be the next feature these days. I keep finding new features all around my operating system. Primarily because I forgot to include the hardy-updates branch in my sources.list and my system hadn’t been updated for four months. There were 850 mb of upgrades to be downloaded (which took a few seconds) and a few more to be installed.

Well, if someone does manage a sidebar console print hack, I’ll award them the “bash-tard of the month” award.

test post

test post from a gnome applet. this is actually pretty sweet

Rediscovering Judas Priest

I found out today that I hadn’t listened to Judas Priest for ages. I listened to three of my favorite albums for the last two days. Sometimes I get really sick of the music that I have, that I’ve heard it over and over again too many times. On the other hand, a lot of great music I haven’t listened to for many months.

I’m still unable to decide what to decide when I run. Somehow most of my downtime seems to be coming in from there.

Now Playing: Amon Amarth - Friends of the Suncross

Screw you mozilla

I saw the concept video for Mozilla’s Aurora, but all the internet retards think that the mockup and concept is a fully working application. Essentially, from what I figure, it’s a screen sharing and voice chatting application. The bigger(and thus, more retarded) blogs than this have been calling it “The browser of the future” and bullshit like that. It’s an idea and something an interface designer did up in his/her spare time.

At the core of it, it allows one person to show the other person a webpage (yank-pasting the URL became old-tech), and communicate and share on the screen in realtime. Being the cold lonely cynic that I am, I have this to say:

Dear Mozilla,

People use your browser. I don’t swear by it or want babies with it like some people do. All browsers suck, this one comparitively sucks less(yo mutt!). Please go ahead and waste your time, implementing a product, that allows you to “share information” and “communicate”, in a more effective way. It’s the seventh product I’ve heard about this morning that claims to do the same, and I’ve not even finished my coffee.

Considering you spent a year or so between firefox 2 and 3, and gave us a crappy new address bar that I seldom use, you must have soemthing else up your sleeves. But when I’m in my mid-30s when you do release Aurora, I won’t be using it. The reason is that I’ve got hundreds of ways to communicate, share information and text and links. I’d personally prefer email or face to face (not facebook you twat).

The trouble is not your product, dearest mozilla, it’s the time. There was a time, where you couldn’t be sure wether your information would be shared, because the messenger boy got naughty with the carrier pigeon, or when you use yahoo messenger 2.0 or something like that.

But now, we’ve got ways to share all kinds of basic data, and pretty optimized methods too (Though I’d anyday pick carrier pigeon over live messenger), and trying to reinvent the wheel will just land you in a patent lawsuit. I’m not trying to curb your imagination or killing your groove, I’m just saying: Don’t waste your time fixing something that works fine.

And I’m also saying: Screw you.

Love,
Me

delete oneclick

placeholder post. will be filled in later