Oct 31 2008

Evil is evil

Tag: Things That Get Me Maderm @ 4:19 pm

Evil is evil, even if it’s legal.

Take that any way you want.


Oct 30 2008

Go ahead answer yourself.

Tag: Insanityerm @ 3:39 am

People say it’s ok if you talk to youself, just as long as you don’t answer.

Guess what, you’re some sort of gimp that has no ablility to think for youself if you DON’T answer.

So screw them, answer away, and if you want, answer in a yoda voice.  I don’t care have fun with it.  Just keep in mind you’re giving yourself advice, and while you know all the angles from you viewpoint, you don’t know all the angles.

Talking to yourself, thinking to yourself, and answering yourself all seem perfetly normal things to me, but then again I’m CrAzY


Oct 30 2008

It’s tough to quit smoking

Tag: Insanityerm @ 3:31 am

It’s tough to quit smoking when you have multiple personality disorder, and you’re the only one that wants to quit.


Oct 30 2008

My imaginary psychiatrist tells me I’m completlely insane.

Tag: Insanityerm @ 3:30 am

My imaginary psychiatrist tells me I’m completlely insane.


Oct 27 2008

reload program after logoff in python/pygtk

Tag: gtk,pygtk,pythonerm @ 6:28 pm

This snippit of code will restart/reload your python/pygtk app when you log out so you don’t have to keep restarting it.

import gnome.ui
gnome.program_init('program name', "1.0")
client = gnome.ui.master_client()
command = os.path.normpath(os.path.join(os.getcwd(), sys.argv[0]))
client.set_restart_style(gnome.ui.RESTART_IF_RUNNING)
try: client.set_restart_command([command] + sys.argv[1:])
except TypeError:
	client.set_restart_command(len(sys.argv), [command] + sys.argv[1:])
client.connect('die', gtk.main_quit)

Oct 22 2008

TreeView and the frustration

Tag: gtk,pygtk,pythonerm @ 3:47 pm

Anyone that’s ever used treeview, might understand my frustration.

I really don’t understand the reasoning behind forcing people to use cellrenders.

Continue reading “TreeView and the frustration”