August 2004

Monthly Archive

dysfunctional

Posted by phil on 29 Aug 2004 | Tagged as: Uncategorized

I hate moms! I hate them!
-Jonathan Rowley in a moment of weakness

chores

Posted by phil on 29 Aug 2004 | Tagged as: Uncategorized

For the next problem, consider a household with four members: Jon, Dustin, Joe, and Phil. There are five jobs that need to be done every week. These are (0) cleaning the kitchen, (1) cleaning the bathroom, (2) shopping for groceries, (3) vacuuming, and (4) emptying the trash. Due to an allergic reaction, Joe cannot clean the bathroom. Phil cannot shop for groceries because he has no car.

Devise a way so that the chores get distributed as evenly as possible but still rotated every week. You may write a program in LISP to help you.


(defun show-chores (weekStart weekDone)
  "Output the chores and who does them from the span of one week to another" 

  (setq week weekStart)

  (while (<= week weekDone)
    (insert-string "

For week " week ":
")

    (num-to-name 0 (% week 3) week)
    (insert "
Kitchen: " who)
    (num-to-name 1 (% week 3) week)
    (insert "
Shopping: " who)
    (num-to-name 2 (% week 3) week)
    (insert "
Bathroom: " who)
    (num-to-name 3 (% week 3) week)
    (insert "
Vacuum: " who)
    (num-to-name 4 (% week 3) week)
    (insert "
Trash: " who)

    (setq week (+ 1 week))
   )
)

(defun num-to-name (job cycle week)
  "Translate the cycle based on the job"
  (if (equal job 0)      (if (equal cycle 0) (setq who "Phil")))
  (if (equal job 0)      (if (equal cycle 1) (setq who "Joe")))
  (if (equal job 0)      (if (equal cycle 2) (if(eq 1 (% week 2)) (setq who "Dustin") (setq who "Jon"))))

  (if (equal job 1)      (if (equal cycle 0) (setq who "Jon")))
  (if (equal job 1)      (if (equal cycle 1) (setq who "Dustin")))
  (if (equal job 1)      (if (equal cycle 2) (setq who "Joe")))

  (if (equal job 2)      (if (equal cycle 0) (setq who "Dustin")))
  (if (equal job 2)      (if (equal cycle 1) (setq who "Jon")))
  (if (equal job 2)      (if (equal cycle 2) (setq who "Phil")))

  (if (equal job 3)      (if (equal cycle 0) (setq who "Joe")))
  (if (equal job 3)      (if (equal cycle 1) (if(eq 1 (% week 2)) (setq who "Dustin") (setq who "Jon"))))
  (if (equal job 3)      (if (equal cycle 2) (setq who "Phil")))

  (if (equal job 4)      (if (equal cycle 0) (if(eq 1 (% week 2)) (setq who "Dustin") (setq who "Jon"))))
  (if (equal job 4)      (if (equal cycle 1) (setq who "Phil")))
  (if (equal job 4)      (if (equal cycle 2) (setq who "Joe")))

)

(show-chores 0 10)

Well, if it isn’t my first LISP program!

a bit of math

Posted by phil on 25 Aug 2004 | Tagged as: Uncategorized

Bad news: my unweighted cool-to-suck ratio for classes next semester is only 0.6.

Here’s a fun mathematical exercise of your own: calculate your cool-to-suck ratio.

  • Divide your classes into two categories: those that are cool, and those that suck.
  • For each one that is cool, add one to C.
  • For each one that sucks, add one to S.
  • If you can’t make up your mind, don’t add anything.
  • Divide C by S to get your cool-to-suck ratio.
  • To get your weighted cool-to-suck ratio, subtract 0.1 for each time you have a class for which you have to get up before 8am.

Here’s hoping yours is greater than mine.

Two things

Posted by phil on 20 Aug 2004 | Tagged as: Uncategorized

Yeah, this is genius. And this is about genius. If you want to read through it, be sure you start at the beginning. It is very high-context humor, and an understanding of the characters is crucial.

Prophecy

Posted by phil on 17 Aug 2004 | Tagged as: Uncategorized

Check this out; it’s from the book Virtual Light by William Gibson, published in 1993:


[... she] imagined his bones as polished metal, triple-chromed, a quicksilver armature. Like in those old movies with that big guy, the one who went into politics, after he'd get the meat ripped off him.

-Gibson p. 109

The book is set in 2005. If that’s not a fulfilled prophecy, I don’t know what is.

Yankovic

Posted by phil on 12 Aug 2004 | Tagged as: Uncategorized

Q: Hey Al!!!!! What do you think about Napster? I just want to know if you approve.

A: I have very mixed feelings about it. On one hand, I’m concerned that the rampant downloading of my copyright-protected material over the Internet is severely eating into my album sales and having a decidedly adverse effect on my career. On the other hand, I can get all the Metallica songs I want for FREE! WOW!!!!!

Heh. He’s funny.

inadvertent promotion of immoderation

Posted by phil on 12 Aug 2004 | Tagged as: Uncategorized

Hide the Beer, the Pastor’s Here!

from the album “Outdoor Elvis”
Words and Music by Camarillo Eddy
© 1989 Broken Songs

the straw runs down his arm and leg
under the carpet out to the keg
a secret party tonight at Point Loma

and the hate in your heart you're hiding well
but the booze on your breath is easy to smell
there's a six-pack to hide
on the Oral U side
let's drive to oklahoma

hide the beer, the pastor's here
hide the beer, think of your career
he might find out that we're human beings"
and bring us all down to the rack and the ruin

she had a beer as an evening snack
when the "scripture man" planned a sneak attack
suspension's the buzz out at Wheaton
as she packed her bags and gathered her books
"scripture man" gave her that lustful look
yes lust is his brew but no one sees through
his minty fresh breath ain't reekin"

when the coast is clear, you can kiss me, dear
together we'll have hell to pay
so wear a beard, the pastor's here
put the "R" rated movie away

yeah, hide the beer, the pastor's here
hide the beer, think of your career
he might find out that we're human beings"
and bring us all down to the rack and the ruin

hide the beer (biola!)
hide the beer (bethel!)
wear a beard (west mont!)
hide the beer (calvin college!)
hide the beer (azusa pacific!)
hide the beer (liberty baptist!)
hide the beer (san jose bible college!)
hide the beer (bob jones!)
hide the beer (taylor u!)
hide the beer (california baptist!)
hide the beer (gordon college!)
hide the beer (calvin klein!)
hide the beer!

george fox, moody bible institute,
seattle pacific, baylor, smu, pacific christian,
jimmy swaggart u, john brown,
anderson, eastern mennonite, fort wayne bible,
grand rapids baptist, greenville, grove city, nyack,
travecca nazarine, multnoma school of the bible,
inland empire school of the bible, philadelphia college of the bible,
whitworth spring arbor,
and south & north western. . .
northwestern! 

I heard they played this song at Biola.

I would have paid money………

One Year

Posted by phil on 12 Aug 2004 | Tagged as: Uncategorized

Well gentle reader, tomorrow Philisha.net turns one year old. Yes, I know you’re trembling with excitement. Remember all those fantastic memories with the site formerly known as the Beach of One Thousand Shrunken Heads? (Wow, I haven’t typed that in a while….)

For a little nostalgia:

b1ksh


Who could forget the time people kept trying to mess up the forums?
Or how about those great polls?
Or when I upgraded my blog system?
Good times.

Anyway, I’m supposed to have a party tomorrow to celebrate. Of course, the fact that it’s still summer and people haven’t started moving back to the Biola area may mean it’s going to be a really small party. But if you are in the area and interested in coming over, drop a line (comment).

Huzzah!

Next Page »