Friday, April 29, 2005

The Long Tail

If you have not seen Chris Anderson's artical The Long Tail in Wired Magazine, it is worth a read. It is about how buying and selling books, music and movies has changed (and is changing) with the internet.

Tuesday, April 19, 2005

TaskList

TaskList is a cool command-line Windows XP command that can tell you additional information about processes that are running on your machine. I happened across this when I was looking for what the svchost.exe does. (You may have seen this in your “Windows Task Manager”.) svchost.exe runs services on your machine and to see what services are running enter the following at the command prompt.

tasklist /svc

Actually the /svc will display all the services for all the running processes and if the process isn’t running a service it will display “N/A”. If you only want to look at the svchost.exe process you can use the /fi switch.

tasklist /svc /fi "IMAGENAME eq svchost.exe"

IMAGENAME is the name of the column that you would like to filter (IMAGENAME is actually the process exe name). eq stands for equals and svchost.exe is the value.

Another useful switch is the /m. This will display all the DLL’s that are loaded for each of the running processes. Enter the following at the command prompt.

tasklist /m

To see a list of all the processes that have a specific DLL loaded you can enter the following.

tasklist /m netapi*

This will display all the processes that are running with the netapi32.dll loaded. (“*” is a wildcard. You can type out netapi32.dll if you like.)

For more help on this command you can use the /? switch. Enter the following at the command prompt to see more information on using the tasklist command.

tasklist /?

Thursday, April 07, 2005

Will monkeys replace programmers?

As I was pondering and Googling this, I came across the term “Code Monkey”.

Wikipedia's definition - "Amateur computer programmer who stiches together snippets of code found on the internet and in books and puts them together to make an application, without having an appreciation or understanding what the principles behind the code or the concept of coding are."

Another Wiki definition - (down on the page) "Rather than an insult for a programmer who is sloppy (which the above implies), I hear it used for someone who is doomed to work on "unglamorous" programming tasks, often using older/antiquated/"uncool" technology. Examples of work that a CodeMonkey might do in this definition (I do not intend to denigrate these tasks myself)" (hmm... Maybe I am a code monkey)

I also thought this was good (also from the wiki site above):

“If an infinite number of monkeys on an infinite number of type-writers randomly tap the keys, would they eventually produce Hamlet? And would they eventually be able to produce {insert your favorite program}?”

I also found this funny fictional story about monkeys on strike at Fox Broadcasting.
Monkeys NOT Working Around the Clock, On Strike