08 August 2009

Howto: Remove processes in Unix by searching their names

I sometimes have the situation where I am left with some stuck processes from previous sessions. I'm sure this could be done better by the application, but it's not in this case. I therefore have the following command line (bash on Solaris) that solves my problem:

$ ps -ef | grep {myuserid} | grep {procname in ps} | awk '{ print $2 }' | xargs -l1 kill -9

Might be of use for anybody out there.

16 January 2009

The user interface library Qt is licensed under LGPL

There's great news: Qt will be free starting in March 2009, finally. Qt is a cross platform GUI development library. It's a library for GUI development using C++ and Java (which I was not aware of until now). The Java integration is done via JNI. Check this out, there are some Webstart based demos available. I could not get it running on my Mac OS X, unfortunately. But it's tested on Windows and Linux only, anyway.

Should Software Architects write code?

Gregor answers this nicely in https://youtu.be/31qcPwAv8Zw . Yes, they should. But not to create production code, but to grasp the idea and ...