Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

SICP

Name: Anonymous 2009-12-29 23:30

The Society of Invasive Cardovascular Professionals

Name: Anonymous 2009-12-29 23:54

Reported.

Name: Anonymous 2009-12-30 2:59

Thread locked and hidden

Name: Anonymous 2009-12-30 6:33

Thread enjoyed and bumped

Name: Anonymous 2009-12-30 6:38

This thread is boring, let's post some answers to random SICP exercises

Exercise 4.42.  Solve the following ``Liars'' puzzle (from Phillips 1934):

    Five schoolgirls sat for an examination. Their parents -- so they thought -- showed an undue degree of interest in the result. They therefore agreed that, in writing home about the examination, each girl should make one true statement and one untrue one. The following are the relevant passages from their letters:

        * Betty: ``Kitty was second in the examination. I was only third.''
        * Ethel: ``You'll be glad to hear that I was on top. Joan was second.''
        * Joan: ``I was third, and poor old Ethel was bottom.''
        * Kitty: ``I came out second. Mary was only fourth.''
        * Mary: ``I was fourth. Top place was taken by Betty.''

    What in fact was the order in which the five girls were placed?


1. Kitty
2. Joan
3. Betty
4. Mary
5. Ethel

Name: Anonymous 2009-12-30 7:10

>>5
I wrote a progam to solve it and got the same answer as you

Name: Anonymous 2009-12-30 9:30

>>5
The answer is: all of them are whores.

Name: Anonymous 2009-12-30 9:34

>>7
* Schoolgirls

Name: Anonymous 2009-12-30 10:46

>>5
Ethel, Kitty, Joan, Mary, Betty

Name: Anonymous 2009-12-30 10:55

>>9
It also works for Kitty, Joan, Betty, Mary, Ethel.

Name: bitches and hoes 2009-12-30 10:57

bitches and hoes

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-12-30 13:09

Kitty and Joan:  http://bayimg.com/image/oajlhaace.jpg


________________________________
http://bayimg.com/image/iafhbaacj.jpg
«Art is the expression of the conviction that we can have a rational relationship with the world and each other. It isn't the faith or hope that we can, it is the demonstration that we can. »

Name: Anonymous 2009-12-30 13:32

>>12

Oh look, it's back.

Name: Anonymous 2009-12-30 13:32

>>12
I lol'd

Name: Anonymous 2009-12-30 13:50

>>12
http://bayimg.com/image/iafhbaacj.jpg
Wait, is that the real FV?

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-12-30 14:17

>>15
No, just the image i use as my fursona. This is my avatar : http://bayimg.com/image/aadbjaace.jpg


____________________________________
http://bayimg.com/image/iafhbaacj.jpg
«Science is not a game in which arbitrary rules are used to decide what explanations are to be permitted.»

Name: Anonymous 2009-12-30 14:21

>>16
my fursona
You've got to be fucking kidding me.
I'm sorry, the filter is on again.

Name: Anonymous 2009-12-30 14:25

BRING BACK AADBJAACE.JPG !

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-12-30 14:27

>>17
Whats so bad with having a fursona?
 Is it alien? Scary? Breaking cultural mores? Non-conformist? Rebellious?



______________________________________
http://bayimg.com/image/iafhbaacj.jpg
«...what we call education and culture is for the most part nothing but the substitution of reading for experience, of literature for life, of the obsolete fictitious for the contemporary real...»

Name: Canwegetbackontopicplease 2009-12-30 14:32

>>19
I think it's that they equate furries with bestiality I know I do, and I hope I do not have to tell you what is wrong with bestiality.

As for non-conformist, please do not make me laugh. All you are doing is rejecting one set of social norms for another.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-12-30 14:39

>>20
Thats not uncommon, like thinking of Arabs as terrorists. Furries do seem like "X related to animals" and people can form hasty generalizations on the spot. I bet they would say "Anime watchers are pedophiles" without second thoughts.

_____________________________________________
http://bayimg.com/image/iafhbaacj.jpg
«A thing is not necessarily true because a man dies for it. »

Name: Anonymous 2009-12-30 14:41

>>9
Ethel, Kitty, Joan, Mary, Betty
>>5
* Kitty: ``I came out second. Mary was only fourth.''

Name: Anonymous 2009-12-30 14:44

>>21
Stop trying to delude young VIPPERS in becoming part of your Fursona http://dis.4chan.org/read/vip/1262199443/1-40

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-12-30 14:51

>>23 Thats not my email address. People often like to impersonate me, with varying degrees of success.

____________________________________
http://bayimg.com/image/iafhbaacj.jpg
«However, this campaign is not about killing Spartacus. It is to kill the legend of Spartacus.»

Name: Anonymous 2009-12-30 14:53

>>21
Thats not uncommon, like thinking of Arabs as terrorists.
Oh I see, your an American.

Furries do seem like "X related to animals"
Furries are the answer to "What do you get if you cross a human and an animal?" and given the average depiction of a furry, it's no difficult guess how they ended up that way.

Name: Anonymous 2009-12-30 14:59

>>25
s/your/you're/
Damn you to fucking hell /prog/

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-12-30 15:04

>>25
>your an American.
Automatic conclusions? Europeans can have such preconceived notions too.
>average depiction of a furry,
Since furries don't exist, artists freedom to depict anything they conceive shouldn't label for a real paraphilia. 
>it's no difficult guess how they ended up that way.
Isn't this prejudice: if it looks like animals, thus->bestiality.
Angels look like human crossed with birds. Isn't having a guardian angel/believing in angels/drawing angels bestiality then? Compare and contrast with furries.


__________________________________
http://bayimg.com/image/iafhbaacj.jpg
«Tragedy, for me, is not a conflict between right and wrong, but between two different kinds of right. »

Name: Anonymous 2009-12-30 15:07

>>24
Don't be shy about it. We all know your email by now.

Name: =+=*=F=R=O=Z=E=N==V=O=I=D=*=+= !frozEn/KIg 2009-12-30 15:15

>>28 You don't need to.
As for >>26 i'd like to know about what mix of pedophilia and bestiality you categorize cupids as. You know these mythological child angels. With bird-like wings. If you're honest about your prejudices you'll tell it.


__________________________________
http://bayimg.com/image/iafhbaacj.jpg
«Art is the expression of the conviction that we can have a rational relationship with the world and each other. It isn't the faith or hope that we can, it is the demonstration that we can. »

Name: Anonymous 2009-12-30 15:34

>>29
When can I expect aadbjaace.jpg back as your normal picture?

Name: Anonymous 2009-12-30 16:25

>>29
I consider it merely paedophilia now that is a phrase you don't hear very often. To be honest, the angel example is rather akin to suggesting that masturbating to a picture of Icarus is akin to bestiality. As far as I am concerned, they are both disgusting but not equivalent.

THIS TOPIC HAS RUN IT'S COURSE, THIS IS /PROG/ NOT FCHAN

Name: Anonymous 2009-12-30 16:26

>>31
s/is akin to/is/

Name: !aY9rqY3RWs 2009-12-30 16:32

This thread has been derailed quite enough. Here's the next puzzle, again from SICP. Either write a program or don't, solution available on request.

Name: !aY9rqY3RWs 2009-12-30 16:32

Exercise 4.43.  Use the amb evaluator to solve the following puzzle:49

    Mary Ann Moore's father has a yacht and so has each of his four friends: Colonel Downing, Mr. Hall, Sir Barnacle Hood, and Dr. Parker. Each of the five also has one daughter and each has named his yacht after a daughter of one of the others. Sir Barnacle's yacht is the Gabrielle, Mr. Moore owns the Lorna; Mr. Hall the Rosalind. The Melissa, owned by Colonel Downing, is named after Sir Barnacle's daughter. Gabrielle's father owns the yacht that is named after Dr. Parker's daughter. Who is Lorna's father?

Try to write the program so that it runs efficiently (see exercise 4.40). Also determine how many solutions there are if we are not told that Mary Ann's last name is Moore.

Name: Anonymous 2009-12-30 17:08

 Exercise 4.43.  Use the amb evaluator to solve the following puzzle:49

 Mary Ann Mousedicks's father has a yacht and so has each of his four friends: Colonel Crushcock, Mr. Haxus, Sir Clitoracle Hood, and Dr. Porker. Each of the five also has one daughter and each has named his yacht after a daughter of one of the others. Sir Barnacle's yacht is the Gabrielle, Mr. Moore owns the Labiah; Mr. Hall the Ramrod. The Menses, owned by Colonel Fisting, is named after Sir Clitoracle's daughter. Gabrielle's father owns the yacht that is named after Dr. Porker's daughter. Who is Labiah's father?

Try to write the program so that it runs efficiently (see exercise 4.40). Also determine how many solutions there are if we are not told that Mary Ann's last name is Mousedick.

Name: Anonymous 2009-12-30 18:06

>>35
Mocking SICP is like totally not cool, man

Name: 34 !aY9rqY3RWs 2009-12-30 19:23

No takers?
Here's some PLT scheme that will do the job. It's ugly (partly because the question specifies nested lets), but it will do the job and I don't think that a more abstract version will necessarily be more readable in this case (perhaps if we use table lookup)
;; There is exactly one solution, regardless of whether or not we know Mary Ann's
;; last name. Lorna's Father is Mr Hall

;;   Name             Daughter      Ship
;;   Mr Moore         Mary Ann      Lorna
;;   Sir Barnacle     Melissa       Gabrielle
;;   Colonel Downing  Rosalind      Melissa
;;   Mr Hall          Lorna         Rosalind
;;   Dr Parker        Gabrielle     Mary Ann

;; The program that generates this answer is
(require (planet murphy/amb:1:1/amb))
(define (lornas-father)
  (let ((mr-moores-ship 'lorna)
        (mr-moores-daughter 'mary-ann)
        (sir-barnacles-ship 'gabrielle)
        (sir-barnacles-daughter 'melissa))
    (let ((colonel-downings-ship 'melissa)
          (colonel-downings-daughter (amb 'mary-ann 'gabrielle 'lorna 'rosalind 'melissa)))
      (amb-assert (not (eq? colonel-downings-ship colonel-downings-daughter)))
      (let ((mr-halls-ship 'rosalind)
            (mr-halls-daughter (amb 'mary-ann 'gabrielle 'lorna 'rosalind 'melissa)))
        (amb-assert (not (eq? mr-halls-ship mr-halls-daughter)))
        (let ((dr-parkers-ship (amb 'mary-ann 'gabrielle 'lorna 'rosalind 'melissa))
              (dr-parkers-daughter (amb 'mary-ann 'gabrielle 'lorna 'rosalind 'melissa)))
          (amb-assert (not (eq? dr-parkers-ship dr-parkers-daughter)))
          (amb-assert (distinct? (list mr-moores-ship
                                       sir-barnacles-ship
                                       colonel-downings-ship
                                       mr-halls-ship
                                       dr-parkers-ship)))
          (amb-assert (distinct? (list mr-moores-daughter
                                       sir-barnacles-daughter
                                       colonel-downings-daughter
                                       mr-halls-daughter
                                       dr-parkers-daughter)))
          (let ((gabrielles-dads-ship
                 (cond ((eq? 'gabrielle mr-moores-daughter)        mr-moores-ship)
                       ((eq? 'gabrielle sir-barnacles-daughter)    sir-barnacles-ship)
                       ((eq? 'gabrielle colonel-downings-daughter) colonel-downings-ship)
                       ((eq? 'gabrielle mr-halls-daughter)         mr-halls-ship)
                       ((eq? 'gabrielle dr-parkers-daughter)       dr-parkers-ship))))
            (amb-assert (eq? dr-parkers-ship gabrielles-dads-ship))
            (cond ((eq? 'lorna mr-moores-daughter)        'mr-moore)
                  ((eq? 'lorna colonel-downings-daughter) 'colonel-dowling)
                  ((eq? 'lorna sir-barnacles-daughter)    'sir-barnacle)
                  ((eq? 'lorna mr-halls-daughter)         'mr-hall)
                  ((eq? 'lorna dr-parkers-daughter)       'dr-parker))))))))

(define (distinct? items)
  (cond ((null? items) true)
        ((null? (cdr items)) true)
        ((member (car items) (cdr items)) false)
        (else (distinct? (cdr items)))))

Name: Anonymous 2009-12-30 19:25

I should add that this program only generates the answer for the first question, the second can be obtained by replacing the value of mr-moores-daughter with (amb 'mary-ann 'gabrielle 'lorna 'rosalind 'melissa) and including a (amb-assert (not (eq? mr-moores-daughter mr-moores-ship)))

Name: Anonymous 2009-12-31 0:55

>>31
Deep down Icarus wanted to be a big bird. Big fuzzy gay bird with ruffled feathers.
His father saw this and sent him to death, and the myth is about his POV.

Name: Anonymous 2009-12-31 2:03

ok now you fuqin angered an EXPERT REDDITOR

http://www.reddit.com/r/ExpertProgramming/

Name: Anonymous 2009-12-31 4:36

>>40
ExpertProgramming
created by modesty

Name: Anonymous 2009-12-31 8:50

CREATE MY ANUS

Name: Anonymous 2011-01-31 20:35

<-- check em dubz

Name: Anonymous 2011-02-03 1:33


Don't change these.
Name: Email:
Entire Thread Thread List