dead1e c0ffee

Its hexspeak, like DEAD BEEF CAFE

; Emacs Lisp

I have been playing around with the lisp integrated into emacs, rather than one that you bring up with slime and run alongside emacs.  Of course the first big difference is that so much is tied to how you call the function, pass it variables, and what it does.  Many if not all of the games are written in emacs lisp and you can go to help, read about them, and then pull up their lisp source.

Peter Seibel is the new prophet of the wonders of Lisp and has a online version of his book, Practical Common Lisp . Whether you use Windows or Linux, or something else, Lisp is a really cool thing to study and look at.

XEmacs Manual

There is alot here that applies to GNU Emacs too, but so far selecting with mark and point doesn’t seem to hightlight the same way this describes.

Suma (smitty suma) is a pretty cool automated patch downloader for AIX. I tweaked it a little bit to send me emails only when it finds something new. Just put this in cron and don’t worry about the cron setup through suma itself.

#################################################################
# Title      :  sumacheck - Goes to IBM and gets new patches
# Author     :  John Rigler
# Date       :  01-13-2009
# Requires   :  ksh
#################################################################

/usr/suma/bin/suma -x -a RqType=Latest -a Action=Download \
 -a Repeats=n  > /tmp/$$.sumafile

grep SUCCEED /tmp/$$.sumafile > /tmp/$$.sumasuccess

if [[ $? -eq 0 ]]
 then
   mail -s "New Packages from IBM" userid@company.com \
   < /tmp/$$.sumasuccess
 fi

rm /tmp/$$.sumafile /tmp/$$.sumasuccess

A while back I got a microsoft fingerprint reader, hooked it up, became frustrated with it and then installed Ubuntu. Well It turns out that work is in progress to deal with it. So far a fingerprint_demo program exists and can support it with this extra driver: http://www.qrivy.net/~michael/temp/ . The guy that runs this site is Michael Crusoe who says he is a System Administrator who also helps the BioMetrics Industry. Rock on System Admins!!! The temp part of his url is a little scary, but whatever.

So after getting the fingerprint reader demo working, I looked further and found that Daniel Drake is not working on fingerprint reader support but also a new version of libusb. Here is his blog: Reactivated.net

At HMC code level 3.2.5 and above, the .ssh subdirectory for an HMC user is owned by root, and difficult to write keys into by the method above. Instead, do the following as aixuser on the aix system:
mykey=`cat $HOME/.ssh/id_rsa.pub`
ssh hscroot@hmc.domain.com mkauthkeys -a \”$mykey\”

Sapir Whorf

This theory seems to say that language forms the way we think.

Practical Common Lisp

#! /usr/bin/ksh
#################################################################
# Title      :  pinghosts - Returns status of all hosts
# Author     :  John Rigler
# Date       :  01-09-2009
# Requires   :  ksh
#################################################################

grep -v "^#" $1 | while read HOSTNAME # Only read uncommented lines
  do
    # Execute the ping once and wait 2 seconds
    ping -c 1 -w 2 $HOSTNAME  2>&1 1>/dev/null
    if [[ ! $? -eq 0 ]]
    then
        echo "$HOSTNAME down"
    fi
  done