Friday, November 19, 2010

Court questions that make you go hmm.....

These are from a book called Disorder in the American Courts, and are things people actually said in court, word for word, taken down and now published by court reporters that had the torment of staying calm while these exchanges were actually taking place..
ATTORNEY: This myasthenia gravis, does it affect your memory at all?
ATTORNEY: And in what ways does it affect your memory?
WITNESS: I forget.
ATTORNEY: You forget? Can you give us an example of something you forgot?
ATTORNEY: Do you know if your daughter has ever been involved in voodoo?
WITNESS: We both do.
WITNESS: Yes, voodoo.
ATTORNEY: Now doctor, "isn't it true that when a person dies in his sleep, he doesn't know about it until the next morning?"
WITNESS: Did you actually pass the bar exam?
ATTORNEY: The youngest son, the twenty-year- old, how old is he?
WITNESS: He's twenty, much like your IQ.
ATTORNEY: Were you present when your picture was taken?
WITNESS: Are you kidding me?
ATTORNEY: She had three children, right?
ATTORNEY: How many were boys?
ATTORNEY: Were there any girls?
WITNESS: Your Honor, I think I need a different attorney.
                                                   Can I get a new attorney?
ATTORNEY: How was your first marriage terminated?
WITNESS: By death.
ATTORNEY: And by whose death was it terminated?
WITNESS: Take a guess.
ATTORNEY: Can you describe the individual?
WITNESS: He was about 20, medium height, and had a beard.
ATTORNEY: Was this a male or a female?
WITNESS: Unless the Circus was in town I'm going with male.
ATTORNEY: Doctor, how many of your autopsies have you performed on dead people?
WITNESS: All of them. The live ones put up too much of a fight.
ATTORNEY: ALL your responses MUST be oral, OK?
What school did you go to?
ATTORNEY: Do you recall the time that you examined the body?
WITNESS: The autopsy started around 8:30 p.m.
ATTORNEY: And, Mr. Denton was dead at the time?
WITNESS: If not, he was by the time I finished.
ATTORNEY: Are you qualified to give a urine sample?
WITNESS: Are you qualified to ask that question?
And the best for last:
ATTORNEY: Doctor, before you performed the autopsy, did you check for a pulse?
ATTORNEY: Did you check for blood pressure?
ATTORNEY: Did you check for breathing?
ATTORNEY: So, then it is possible that the patient was alive when you began the autopsy?
ATTORNEY: How can you be so sure, Doctor?
WITNESS: Because his brain was sitting on my desk in a jar.
ATTORNEY: I see, but could the patient have still been alive, nevertheless?
WITNESS: Yes, it is possible that he could have been alive and practicing law.

Monday, November 15, 2010

The Scientist and Engineer's Guide to Digital Signal Processing By Steven W. Smith, Ph.D.

Currently available at no charge on I've mirrored this complete guide as it is a must read.  Major kudos to the author.

DOE Fundamentals Handbook: Electrical Science (Vol 3 of 4)

I found this interesting read while cleaning up the hard drive (I have an avalanche of junk I'm getting rid of).  More stuff to emerge soon.

UPDATE: The first try was using a link to my Google Apps account (which didn't work).  This should work fine.

Friday, November 5, 2010

Blogger Integration

I wish Twitter would accept the RSS feeds from Blogger.  I'm starting to really get in to Solaris and have other projects that I'm going to be working on.  I found out that Facebook takes RSS feeds from Blogger.

Thursday, November 4, 2010

Getting Apache 2.2 working under Solaris using SMC

Don't ask me why I did this (it was painful), but I got Apache 2.2 running on Solaris 10 using the SMC instead of the default pre-fork model.  Results to be figured out later.  Anyway, for those interested here are the relevant files.  For those curious I do use zones and this is in one:


#ident  "@(#)apache22        1.1     08/04/30 SMI"

. /lib/svc/share/

# SMF_FMRI is the name of the target service. This allows multiple instances
# to use the same script.

getproparg() {
        val=`svcprop -p $1 $SMF_FMRI`
        [ -n "$val" ] && echo $val

APACHEBIN=`getproparg apache22/bin`
APACHEDATA=`getproparg apache22/data`

if [ -z $SMF_FMRI ]; then
        echo "Error: SMF framework variables are not initialized"
        exit $SMF_EXIT_ERR

if [ -z $APACHEDATA ]; then
        echo "Error: apache22/data property not set"
        exit $SMF_EXIT_ERR_CONFIG

case "$1" in
pidd="PidFile /tmp/"
$APACHEBIN/httpd -f ${APACHEDATA}/conf/httpd.conf  -C "PidFile /tmp/"

pidd="PidFile /tmp/"
        $APACHEBIN/httpd -f ${APACHEDATA}/conf/httpd.conf -k stop  -C "PidFile /

pidd="PidFile /tmp/"
$APACHEBIN/httpd -f ${APACHEDATA}/conf/httpd.conf -k restart -C "PidFile /tmp/ap"

        echo "Usage: $0 {start|stop|refresh}"
        exit 1



<?xml version="1.0"?>
<!DOCTYPE service_bundle SYSTEM "/usr/share/lib/xml/dtd/service_bundle.dtd.1">
 Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
 Use is subject to license terms.

 ident  "@(#)apache22.xml  1.1     08/04/30 SMI"

        NOTE:  This service manifest is not editable; its contents will
        be overwritten by package or patch operations, including
        operating system upgrade.  Make customizations in a different

<service_bundle type='manifest' name='apache22'>


Wait for network interfaces to be initialized.

        <service_fmri value='svc:/milestone/network:default' />


Wait for all local filesystems to be mounted.

    <service_fmri value='svc:/system/filesystem/local:default' />

    exec='/lib/svc/method/apache22 start'
    timeout_seconds='60' />

exec='/lib/svc/method/apache22 stop'
timeout_seconds='60' />

<instance name='apache22' enabled='false'>

    <method_credential user='root' group='root' />

    <property_group name='apache22' type='application'>
        <propval name='bin' type='astring'
            value='/opt/httpd22/bin/' />
        <propval name='data' type='astring'
            value='/var/httpd22/' />


<stability value='Evolving' />

        <loctext xml:lang='C'>
            Apache 2.2 httpd

        <manpage title='Apache 2.2' section='1' />
        <doc_link name='' uri='' />