Re: [Haskell-cafe] Health effects

2008-10-03 Thread Brandon S. Allbery KF8NH

On 2008 Oct 3, at 15:50, Andrew Coppin wrote:

Paul Johnson wrote:

Andrew Coppin wrote:


Oh, no. The entire bar is 2 Kg, I wasn't actually planning to eat  
the whole thing! o_O My god, my pancreas would explode or  
something...
My Dad once ate two bars of dark cooking chocolate.  He said he got  
some odd visual distortions; flickering auras around things, and  
size distortions where small things looked big and big things  
looked small.


headaches). I suffer no such symptoms that I'm aware of. Never have.  
(But then, people tell me they get a "lift" from caffine, and I find  
no such effect. Nor do I have severe withdrawal symptoms when I stop  
taking it.)


I resemble that.  In fact, I have to be careful with caffeine because  
I won't notice how much I've had until I start having heart  
palpitations, odd joint aches, and other signs of caffeine overdose.


In other news... apparently chocolate is leathaly toxic to dogs.  
Random.



And cats.  Theobromine is fun stuff, as I said.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon universityKF8NH


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-10-03 Thread Miguel Mitrofanov


On 3 Oct 2008, at 23:50, Andrew Coppin wrote:


For what it's worth, 80% of my diet is cheese, and 10% is chocolate.


Remind me not to take food out of your hands, OK?
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-10-03 Thread Brandon S. Allbery KF8NH

On Oct 3, 2008, at 15:38 , Paul Johnson wrote:

Andrew Coppin wrote:
Oh, no. The entire bar is 2 Kg, I wasn't actually planning to eat  
the whole thing! o_O My god, my pancreas would explode or  
something...
My Dad once ate two bars of dark cooking chocolate.  He said he got  
some odd visual distortions; flickering auras around things, and  
size distortions where small things looked big and big things looked  
small.



Theobromine is interesting stuff.

--
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] [EMAIL PROTECTED]
system administrator [openafs,heimdal,too many hats] [EMAIL PROTECTED]
electrical and computer engineering, carnegie mellon universityKF8NH


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-10-03 Thread Alex Sandro Queiroz e Silva
Hallo,

Andrew Coppin wrote:
> 
> In other news... apparently chocolate is leathaly toxic to dogs. Random.
> 

 Chicolate is extremely toxic to cats.

Cheers,
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-10-03 Thread Andrew Coppin

Paul Johnson wrote:

Andrew Coppin wrote:


Oh, no. The entire bar is 2 Kg, I wasn't actually planning to eat the 
whole thing! o_O My god, my pancreas would explode or something...
My Dad once ate two bars of dark cooking chocolate.  He said he got 
some odd visual distortions; flickering auras around things, and size 
distortions where small things looked big and big things looked small.


I understand that chocolate does contain chemicals which are actually 
moderately toxic. (It just doesn't contain very much of them - or at 
least, the normal *milk* chocolate doesn't. Dark chocolate would 
presumably contain more of these.)


For what it's worth, 80% of my diet is cheese, and 10% is chocolate. 
Apparently that particular combination is supposed to have all sorts of 
dire effects (including severe headaches). I suffer no such symptoms 
that I'm aware of. Never have. (But then, people tell me they get a 
"lift" from caffine, and I find no such effect. Nor do I have severe 
withdrawal symptoms when I stop taking it.)


Maybe I'm just weird? (Oh, wait... I use Haskell!)

In other news... apparently chocolate is leathaly toxic to dogs. Random.

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-10-03 Thread Paul Johnson

Andrew Coppin wrote:


Oh, no. The entire bar is 2 Kg, I wasn't actually planning to eat the 
whole thing! o_O My god, my pancreas would explode or something...
My Dad once ate two bars of dark cooking chocolate.  He said he got some 
odd visual distortions; flickering auras around things, and size 
distortions where small things looked big and big things looked small.


Paul.
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-10-02 Thread Albert Y. C. Lai

[EMAIL PROTECTED] wrote:

One, if the cut is allowed to be curved and self-intersecting.


Crouching Tiger, Hidden Dragon? Kill Bill?

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-10-01 Thread ajb

G'day all.

Quoting Adrian Neumann <[EMAIL PROTECTED]>:


I often wonder how many cuts you need to divide a steak in n pieces.


One, if the cut is allowed to be curved and self-intersecting.

I think that the spirit of the problem, though is encapsulated in this
question: Given a circle, what is the maximum number of pieces that you
can divide it into by performing n straight cuts?

This is a great problem to set undergraduates, because if you work out
some small values of n on paper, you get:

n   #pieces
0   1
1   2
2   4
3   7

Most undergrads will stall at this point trying to work out how to
place the third line to get 8 pieces, and probably come up with an
incorrect justification for why it should be 2^n.

The details are here:

http://www.research.att.com/~njas/sequences/A000124

Cheers,
Andrew Bromage
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-30 Thread Adrian Neumann
I often wonder how many cuts you need to divide a steak in n pieces.  
You can obviously get n pieces with (sqrt n) cuts by cutting a grid.  
But I'm sure some smart mathematician thought of a (log n) way.


Adrian

Am 29.09.2008 um 21:43 schrieb Andrew Coppin:

The other day, I sat down to eat a 2 Kg block of chocolate - one of  
those ones that's divided into lots of little squares. I proceeded  
to recursively subdivide it into smaller and smaller blocks, and  
then eat the individual squares in depth-first order. It was only  
after getting through 16 of the things that I stopped to notice  
that the whole bar just happens to have an exact power of two  
squares on it.


And it was some time after *that* when I thought to myself  
"...woah, maybe do too much Haskell?" o_O


Seriously, who recursively subdivides their food? I think I have  
something wrong with me...


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe




PGP.sig
Description: Signierter Teil der Nachricht
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-29 Thread Simon Brenner
On 9/29/08, Gianfranco Alongi <[EMAIL PROTECTED]> wrote:
> Oh, yeah, I thought you really meant that you would force that "baby" down. :)
>  Nice to hear that you wouldn't. Not even "lazy evaluation" would save
>  you there 7-8 hours later.

2kg of chocolate 'thunks' to 'force' really might 'blow your stack' later on.

Harr Harr :D
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-29 Thread Alex Sandro Queiroz e Silva
Hallo,

Andrew Coppin wrote:
> Anton van Straaten wrote:
>> You're not alone:
>>
>>   http://xkcd.com/245/
> 
> Heh. Randel appears to have not heard of Haskell. He thinks _Lisp_ is
> the ultimate language. ;-)
> 

 Well, at least he's close, let's wait till he finds out about
Scheme. :-)

Cheers,
-alex
http://www.ventonegro.org/
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-29 Thread Andrew Coppin

Anton van Straaten wrote:

You're not alone:

  http://xkcd.com/245/


Heh. Randel appears to have not heard of Haskell. He thinks _Lisp_ is 
the ultimate language. ;-)


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-29 Thread Gianfranco Alongi
Oh, yeah, I thought you really meant that you would force that "baby" down. :)
Nice to hear that you wouldn't. Not even "lazy evaluation" would save
you there 7-8 hours later.

;)

/Gf

On Mon, Sep 29, 2008 at 10:00 PM, Andrew Coppin
<[EMAIL PROTECTED]> wrote:
> Gianfranco Alongi wrote:
>>
>> Maybe I haven't done enough haskell, but enough lisp to NOT eat _2_ Kg
>> of chocolate.
>> Did you really think you would get those 2 Kg's down?
>>
>
> Oh, no. The entire bar is 2 Kg, I wasn't actually planning to eat the whole
> thing! o_O My god, my pancreas would explode or something...
>
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Patience is the last resort for those unable to take action
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-29 Thread Jason Dagit
On Mon, Sep 29, 2008 at 12:43 PM, Andrew Coppin <[EMAIL PROTECTED]
> wrote:

> The other day, I sat down to eat a 2 Kg block of chocolate - one of those
> ones that's divided into lots of little squares. I proceeded to recursively
> subdivide it into smaller and smaller blocks, and then eat the individual
> squares in depth-first order. It was only after getting through 16 of the
> things that I stopped to notice that the whole bar just happens to have an
> exact power of two squares on it.
>
> And it was some time after *that* when I thought to myself "...woah, maybe
> do too much Haskell?" o_O
>
> Seriously, who recursively subdivides their food? I think I have something
> wrong with me...


You may have applied divide and conquer but I suspect your updates were
destructive.  Are you sure it's too much Haskell that is the problem? :-)

Jason
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-29 Thread Anton van Straaten

Andrew Coppin wrote:
The other day, I sat down to eat a 2 Kg block of chocolate - one of 
those ones that's divided into lots of little squares. I proceeded to 
recursively subdivide it into smaller and smaller blocks, and then eat 
the individual squares in depth-first order. It was only after getting 
through 16 of the things that I stopped to notice that the whole bar 
just happens to have an exact power of two squares on it.


And it was some time after *that* when I thought to myself "...woah, 
maybe do too much Haskell?" o_O


Seriously, who recursively subdivides their food? I think I have 
something wrong with me...


You're not alone:

  http://xkcd.com/245/

___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-29 Thread Andrew Coppin

Gianfranco Alongi wrote:

Maybe I haven't done enough haskell, but enough lisp to NOT eat _2_ Kg
of chocolate.
Did you really think you would get those 2 Kg's down?
  


Oh, no. The entire bar is 2 Kg, I wasn't actually planning to eat the 
whole thing! o_O My god, my pancreas would explode or something...


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


Re: [Haskell-cafe] Health effects

2008-09-29 Thread Gianfranco Alongi
Maybe I haven't done enough haskell, but enough lisp to NOT eat _2_ Kg
of chocolate.
Did you really think you would get those 2 Kg's down?

/Gf

On Mon, Sep 29, 2008 at 9:43 PM, Andrew Coppin
<[EMAIL PROTECTED]> wrote:
> The other day, I sat down to eat a 2 Kg block of chocolate - one of those
> ones that's divided into lots of little squares. I proceeded to recursively
> subdivide it into smaller and smaller blocks, and then eat the individual
> squares in depth-first order. It was only after getting through 16 of the
> things that I stopped to notice that the whole bar just happens to have an
> exact power of two squares on it.
>
> And it was some time after *that* when I thought to myself "...woah, maybe
> do too much Haskell?" o_O
>
> Seriously, who recursively subdivides their food? I think I have something
> wrong with me...
>
> ___
> Haskell-Cafe mailing list
> Haskell-Cafe@haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>



-- 
Patience is the last resort for those unable to take action
___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe


[Haskell-cafe] Health effects

2008-09-29 Thread Andrew Coppin
The other day, I sat down to eat a 2 Kg block of chocolate - one of 
those ones that's divided into lots of little squares. I proceeded to 
recursively subdivide it into smaller and smaller blocks, and then eat 
the individual squares in depth-first order. It was only after getting 
through 16 of the things that I stopped to notice that the whole bar 
just happens to have an exact power of two squares on it.


And it was some time after *that* when I thought to myself "...woah, 
maybe do too much Haskell?" o_O


Seriously, who recursively subdivides their food? I think I have 
something wrong with me...


___
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe