Right on! That Guido is just obsessed with speed <cackle>.
> ...
> This class would suggest some other uses -
> a 'kill by name' command would be convenient. 'kill.py prog' would
> send a kill signal to *MY* instance of 'prog' - maybe with a
> status printout and an "are you sure" prompt.
> ...
> The last time I remember having a big "my version of" contest was
> long ago with du-tree's ! ]
That was fun. Maybe Jeffrey would like to take a whack at making this a
"general ps-based server" kind of thing? E.g., move the grep into the
Python portion, offer different views of the info, draw a process tree
based on connecting PID & PPID info, send signals based on selection
criteria, look for resource hogs, develop an interactive mode with a
simple command language ... Python shines brighter the messier the task
gets.
> ...
> I actually LIKE the abuse I get from Tim and Guido and others.
Yes, we're all certifiable masochists here <wink>. And the best way to
pick up a _deep_ insight into Python's design is to get Guido so irked at
you that he feels compelled to ridicule your code <0.9 grin>.
> More than half the time they are objectively right. The rest
> serves to illustrate just how differently different minds think!
Hmm ... always thought of that as "the rest serves to illustrate how
foolish other people are" ...
> ...
> However, now that I'm using IBM RS/6000's, I'm growing partial to
> 'deadbeef' !
Back in my Cray days, we discovered that one of the true joys of working
on a 64-bit machine was the ability to stuff memory with the pithier
0xdeadbeeffeedface
Unfortunately, Cray's dump utilities-- carrying on a tradition that made
_sense_ on CDC machines (with 60-bit words) --displayed in octal.
nostalgicly y'rs - tim
Tim Peters tim@ksr.com
not speaking for Kendall Square Research Corp