Archive for April, 2009

Testing wordpress for iphone

Posted by Markus on April 4th, 2009

Testing my wordpress app.

A cool little discovery.

Posted by Markus on April 3rd, 2009

I work on HPUX hosts. The sad thing about HPUX is that it has very few of the oh-so-wonderful GNU tools that Linux and other *NIX OSes have.

Last night I tried to figure out which service has a particular port open on a host. I searched the internet high and low for something specific for HPUX. All I could find on all the HP forums, etc was that the best thing to do is install a little app name lsof that is normally associated with Linux. lsof will give you the Process ID of whichever port you give it. But alas, installing open source software is not an option.

But wait…if lsof most likely queries a system library to figure this out, why can’t I? My workaround is not as elegant, but it gave me enough information to find and kill the culprit:

perl -e ‘$i=getservbyport(”22″,”tcp”);print “$i\n”;’

Of course this is just an example, we all know tcp port 22 is ssh. Next on the list, find the pid…

Google CADIE

Posted by Markus on April 1st, 2009

This morning I woke up, and in my usual procrastinating fashion, surfed the web a little to see what is going on in the world. I noticed that Google launched something new called CADIE. Some sort of artificial intelligence super-computer. (http://www.google.com/intl/en/landing/cadie/index.html) Alas, half way through emailing the whole world about CADIE, I realized what the date was April Fools day!

I though CADIE was a cool concept though. I’m not a big computer dystopia fan (such as Terminator), although a very interesting movie was Eagle Eye, which had a supercomputer that guarded our constitutional rights.

Well, that’s all for now. Bye CATIE, and may you and all the other Google April Fools jokes see the light of day yet some day.. :-)