Oct 30 2008

Go ahead answer yourself.

Category: 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

Category: 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.

Category: Insanityerm @ 3:30 am

My imaginary psychiatrist tells me I’m completlely insane.

Tags:


Oct 27 2008

reload program after logoff in python/pygtk

Category: 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)

Tags: , , , , ,


Oct 22 2008

TreeView and the frustration

Category: 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”

Tags: , ,


Sep 27 2008

Dying Blind – Escape

Category: Alternative,Good Musicerm @ 3:07 am

Dying Blind has put up a really good track Dying Blind – Escape

Take a listen.

Tags: , , , , ,


Jul 19 2008

Code snippit – ruby qt QPixmap

Category: rubyerm @ 8:41 pm

Here’s an example on how to add images to ruby qt applications. The key is to create a label, and then to set the pixmap to the label.

It’s a far cry from <img src=”file.jpg”>


#!/usr/bin/ruby -w
require 'Qt'
a = Qt::Application.new(ARGV)
pixmap = Qt::Pixmap.new("myimage.png")
label = Qt::Label.new(nil)
label.pixmap = pixmap
a.mainWidget = label
label.show()
a.exec()

Tags: , , ,


Jun 17 2008

Sick of the m$ tax

Category: Linux,Things That Get Me Maderm @ 9:37 am

Today I went to dell.com.  I saw a laptop at walmart for around $500, and I was curious if I could purchase it with ubuntu on it.

Continue reading “Sick of the m$ tax”

Tags:


« Previous PageNext Page »