Re: prove that the meaning of live is math

2013-05-28 Thread webmind
On 26/05/13 16:54, Hao Wu wrote: > Thanks for sharing. > > I think Moritz's answer is great. I may change 'a'.ord - 1 to 96 because I > know the ascii code for a, which was a question in my exam. > > However, why 42? any relation to meaning of life? It seems I miss > something. Thanks. This is a

Re: prove that the meaning of live is math

2013-05-27 Thread Marc Chantreux
On Sun, May 26, 2013 at 02:37:24PM +0200, Moritz Lenz wrote: > On 05/26/2013 12:49 PM, Marc Chantreux wrote: > > say [+] > > ('a'..'z')\ > > .pairs\ > > .map: { 1 + .key if .value ~~ any < m a t h > } > > > > i already know i have to get used to the anoying \ at the end of the > > li

Re: prove that the meaning of live is math

2013-05-26 Thread Hao Wu
Thanks. I will put this book on my reading list. Best, On Sun, May 26, 2013 at 10:02 AM, Patrick R. Michaud wrote: > On Sun, May 26, 2013 at 09:54:21AM -0500, Hao Wu wrote: > > However, why 42? any relation to meaning of life? It seems I miss > > something. Thanks. > > 42 is the "Answer to the

Re: prove that the meaning of live is math

2013-05-26 Thread Patrick R. Michaud
On Sun, May 26, 2013 at 09:54:21AM -0500, Hao Wu wrote: > However, why 42? any relation to meaning of life? It seems I miss > something. Thanks. 42 is the "Answer to the Ultimate Question of Life, the Universe, and Everything", which is sometimes shortened to be "meaning of life". See https://e

Re: prove that the meaning of live is math

2013-05-26 Thread Hao Wu
Thanks for sharing. I think Moritz's answer is great. I may change 'a'.ord - 1 to 96 because I know the ascii code for a, which was a question in my exam. However, why 42? any relation to meaning of life? It seems I miss something. Thanks. Best, Hao On Sun, May 26, 2013 at 5:49 AM, Marc Chantr

Re: prove that the meaning of live is math

2013-05-26 Thread Moritz Lenz
Hi Marc, On 05/26/2013 12:49 PM, Marc Chantreux wrote: > say [+] > ('a'..'z')\ > .pairs\ > .map: { 1 + .key if .value ~~ any < m a t h > } > > i already know i have to get used to the anoying \ at the end of the > lines but i'm pretty sure there are plenty ways to make this expressi

prove that the meaning of live is math

2013-05-26 Thread Marc Chantreux
hello guys, seen on facebook today: https://fbcdn-sphotos-h-a.akamaihd.net/hphotos-ak-frc1/575835_600378583316490_2003314912_n.jpg which is a good excuse for a little perl6 exercice: proove it! my result: say [+] ('a'..'z')\ .pairs\ .map: { 1 + .key if .value ~~ any < m a t h >