Web Images Videos Maps News Shopping Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Matz talk at oscon
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Aaron Johnson  
View profile  
 More options Aug 8 2005, 4:15 pm
Newsgroups: comp.lang.ruby
From: Aaron Johnson <a...@colortechnology.com>
Date: Tue, 9 Aug 2005 05:15:28 +0900
Local: Mon, Aug 8 2005 4:15 pm
Subject: Matz talk at oscon
Hi -

I was unable to get in to see Matz' talk at oscon last week, the  
venue was full.
Are the slide available?

Aaron


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
gabriele renzi  
View profile  
 More options Aug 8 2005, 4:16 pm
Newsgroups: comp.lang.ruby
From: gabriele renzi <surrender...@remove-yahoo.it>
Date: Mon, 08 Aug 2005 20:16:43 GMT
Local: Mon, Aug 8 2005 4:16 pm
Subject: Re: Matz talk at oscon
Aaron Johnson ha scritto:

> Hi -

> I was unable to get in to see Matz' talk at oscon last week, the  venue
> was full.
> Are the slide available?

http://www.rubyist.net/~matz/slides/oscon2005/

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Emiel van de Laar  
View profile  
 More options Aug 9 2005, 4:08 pm
Newsgroups: comp.lang.ruby
From: Emiel van de Laar <em...@il.fontys.nl>
Date: Wed, 10 Aug 2005 05:08:39 +0900
Local: Tues, Aug 9 2005 4:08 pm
Subject: Re: Matz talk at oscon
* gabriele renzi (surrender...@remove-yahoo.it) wrote:

> Aaron Johnson ha scritto:
> >Hi -

> >I was unable to get in to see Matz' talk at oscon last week, the  venue
> >was full.
> >Are the slide available?

> http://www.rubyist.net/~matz/slides/oscon2005/

I was trying out some of the examples on the slides. Specifically
slide number 57 gave me an unexptected result.

wee% ruby -v -renumerator -e "p [4,2,1].to_enum(:each_with_index).reject{|x,i| i%2==0}"
ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.0]
[[2, 1]]

Is this 1.9 behaviour?

Thanks,

Emiel
--
Emiel van de Laar


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Emiel van de Laar  
View profile  
 More options Aug 9 2005, 4:15 pm
Newsgroups: comp.lang.ruby
From: Emiel van de Laar <em...@il.fontys.nl>
Date: Wed, 10 Aug 2005 05:15:56 +0900
Local: Tues, Aug 9 2005 4:15 pm
Subject: Re: Matz talk at oscon
* Emiel van de Laar (em...@il.fontys.nl) wrote:

Wait this is supposed to get rid of elements with even indexes; which
it does. Guess the slide is wrong.

Emiel
--
Emiel van de Laar


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Yukihiro Matsumoto  
View profile  
 More options Aug 9 2005, 7:17 pm
Newsgroups: comp.lang.ruby
From: Yukihiro Matsumoto <m...@ruby-lang.org>
Date: Wed, 10 Aug 2005 08:17:09 +0900
Local: Tues, Aug 9 2005 7:17 pm
Subject: Re: Matz talk at oscon
Hi,

In message "Re: Matz talk at oscon"
    on Wed, 10 Aug 2005 05:15:56 +0900, Emiel van de Laar <em...@il.fontys.nl> writes:

|> wee% ruby -v -renumerator -e "p [4,2,1].to_enum(:each_with_index).reject{|x,i| i%2==0}"
|> ruby 1.8.2 (2004-12-25) [powerpc-darwin8.2.0]
|> [[2, 1]]
|
|Wait this is supposed to get rid of elements with even indexes; which
|it does. Guess the slide is wrong.

It is.  The last minute change was wrong.  Replace "reject" with
"select".

                                                        matz.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google