[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[(CORE/)LIB:PROPOSAL/DISCUSSION] Rifling Through Smalltalk's Drawers

thoran@thoran.com

8/24/2006 11:03:00 PM

Dear Rubytalkers,

I wrote a small bit of code called MethodShopping a little while back
which as it turned out had just been done in Ruby a few days earlier!
More importantly however is that both the name, MethodFinder, and the
inspiration for that other Ruby version, was Smalltalk. Smalltalk had
a version who knows how many decades ago?...

My inspiration wasn't Smalltalk, but laziness. I didn't want to have
to go pouring over a class' interface in a tedious search for a
method. I just wanted to be able to throw the result at a class and
have it spit out the right method. Still, I thought, hmm, somethin'
to this Smalltalk stuff. (A slight overstatement, at least given my
understanding that much of Ruby's object system, classes and methods
are already derived from Smalltalk.)

Then I noticed that Rick DeNatale (or is it De Natale?), an old (Your
term Rick!) Smalltalker has recently starting blogging, and about
Ruby. I'm really stoked that we're getting old Smalltalkers
participating. There's a ton of fantastic experience there. What
other gems like MethodFinder am I busily reinventing? I'd like to
know!

Well, right now I'd like to know what Smalltalkers think of the
discussion about collections. What of your experience helps inform
the class structure for Array, Hash, etcetera? With all those extra
years, there's sure to be a few new (to Ruby) wrinkles.

Similarly, there's Lisp. Way older than Smalltalk again. What has
Lisp to contribute? Well, I read the other day about Rails' new
method alias_method_chain at
http://weblog.rubyonrails.org/2006/4/26/new-in-rails-module-alias_me....
And according to Jon Tirsen, who commented therein,
alias_method_chain is apparently very much like a Lispy technique
which is known as 'around advice' although I'm not sure how it gets
that name and haven't encountered it myself.

Having written a bit of Lisp in my time and having declared it my fave
language, and now loving the Lispiness of my new fave language, Ruby,
I was wondering what could be got from it's drawers too...

Although we don't seem to be getting so much from Lispers, but perhaps
they're more curmudgeonly old bastards than I am? Any heavy-duty old
Lispers out there?

So, anyone up for some rifling? By that I mean a vaguely organised
and much more proactive and unprincipled band of raiders go thieving
through every nook and cranny of Smalltalk's (or Lisp's) libraries; or
any other room of their houses...

Sincerely,



thoran

"Bad artists copy. Great artists steal." --- Pablo Picasso


10 Answers

James Gray

8/25/2006 12:22:00 AM

0

If you're trying to win us over to the idea with your message title,
I'm sad to say it's having the opposite effect, for me at least. My
MUA didn't even show me the subject because there was so much noise
in front of it. I've been on Ruby Talk for years and that's easily
the ugliest subject to date. :(

James Edward Gray II


pat eyler

8/25/2006 1:52:00 AM

0

On 8/24/06, James Edward Gray II <james@grayproductions.net> wrote:
> If you're trying to win us over to the idea with your message title,
> I'm sad to say it's having the opposite effect, for me at least. My
> MUA didn't even show me the subject because there was so much noise
> in front of it. I've been on Ruby Talk for years and that's easily
> the ugliest subject to date. :(

I agree completely, the idea was interesting but almost overpowered by
the UGLY subject line.


>
> James Edward Gray II
>
>
>


--
thanks,
-pate
-------------------------
http://on-ruby.bl...

Ryan Davis

8/25/2006 8:20:00 AM

0


On Aug 24, 2006, at 6:51 PM, pat eyler wrote:

> On 8/24/06, James Edward Gray II <james@grayproductions.net> wrote:
>> If you're trying to win us over to the idea with your message title,
>> I'm sad to say it's having the opposite effect, for me at least. My
>> MUA didn't even show me the subject because there was so much noise
>> in front of it. I've been on Ruby Talk for years and that's easily
>> the ugliest subject to date. :(
>
> I agree completely, the idea was interesting but almost overpowered by
> the UGLY subject line.

thirded... partially to agree, and partially to demonstrate that
nothing you do is going to improve the signal:noise ratio here.

-- ryan -- who gave up arguing that we should split/improve this list
in Oct 2002. :P


Christian Neukirchen

8/25/2006 2:22:00 PM

0

thoran@thoran.com <thoran@thoran.com> writes:

> Similarly, there's Lisp. Way older than Smalltalk again. What has
> Lisp to contribute? Well, I read the other day about Rails' new
> method alias_method_chain at
> http://weblog.rubyonrails.org/2006/4/26/new-in-rails-module-alias_me.... And
> according to Jon Tirsen, who commented therein, alias_method_chain is
> apparently very much like a Lispy technique which is known as 'around
> advice' although I'm not sure how it gets that name and haven't
> encountered it myself.

It's called "around advice" because the function to define it is
called DEFADVICE with an "around" parameter (as opposed to "before" or
"after").

> thoran
--
Christian Neukirchen <chneukirchen@gmail.com> http://chneuk...

pat eyler

8/25/2006 3:25:00 PM

0

On 8/25/06, Jake Cutter <cutter38@gmail.com> wrote:
> Bad subject line aside, I still feel it's a worthy discussion that I'd love
> to hear folks input on.
>


I agree. Could we please trim the subject to something reasonable?


> Jake
>
>


--
thanks,
-pate
-------------------------
http://on-ruby.bl...

kbliznick

9/21/2010 8:52:00 PM

0



It's not illegal to make your own set for a game you own.

mdolshan

9/21/2010 9:06:00 PM

0

On Sep 21, 4:51 pm, kbliznick <kblizn...@aol.com> wrote:
> It's not illegal to make your own set for a game you own.

That's right. It's perfectly legal to make a set for your own game.



M

theefxman

9/21/2010 9:08:00 PM

0

On Sep 21, 4:06 pm, mdolshan <mdols...@aol.com> wrote:
> On Sep 21, 4:51 pm, kbliznick <kblizn...@aol.com> wrote:
>
> > It's not illegal to make your own set for a game you own.
>
> That's right. It's perfectly legal to make a set for your own game.
>
> M

Ok well then I guess I just need a really good color printer :)

Rob

JeffB418

9/21/2010 9:19:00 PM

0

On Sep 21, 3:56 pm, theefxman <rmo...@gmail.com> wrote:
> On Sep 21, 12:44 pm, kbliznick <kblizn...@aol.com> wrote:
>
> > On 21 Sep, 07:13, theefxman <rmo...@gmail.com> wrote:
>
> > > I have a chipped cap, looking to buy one or a set, please provide
> > > condition/price prefer NOS.
>
> > > Also look for slingshot plastics, and a few plastics, may be
> > > interested in complete set of plastics if the price is right.
>
> > > Rob
> > > D & D Amusement
>
> > Complete set was reproed by CPR and should be available from their
> > distributors. BAA among others
>
> > Otherwise this guy on ebay is breaking a sethttp://cgi.ebay.com/High-Speed-Playfield-Plastics-Slingshot......
>
> MA is sold out, and I don't see the complete set on BAA, didn't see
> the set on Marco either. Too bad it's illegal to make your own set for
> the game you own or I'd do that since I have all the scans. I want to
> stay legal though I'm a good guy after all.
>
> If anyone runs across a set still for sale let me know, thanks! :)
>
> Rob

Yeah I bought the last set from CPR a month ago, all he had left was
the set he used to take the photos for the site. Will be tough to
find.

Jeff B

JeffB418

9/22/2010 12:25:00 AM

0

On Sep 21, 5:18 pm, JeffB418 <jbedna...@gmail.com> wrote:
> On Sep 21, 3:56 pm, theefxman <rmo...@gmail.com> wrote:
>
>
>
>
>
> > On Sep 21, 12:44 pm, kbliznick <kblizn...@aol.com> wrote:
>
> > > On 21 Sep, 07:13, theefxman <rmo...@gmail.com> wrote:
>
> > > > I have a chipped cap, looking to buy one or a set, please provide
> > > > condition/price prefer NOS.
>
> > > > Also look for slingshot plastics, and a few plastics, may be
> > > > interested in complete set of plastics if the price is right.
>
> > > > Rob
> > > > D & D Amusement
>
> > > Complete set was reproed by CPR and should be available from their
> > > distributors. BAA among others
>
> > > Otherwise this guy on ebay is breaking a sethttp://cgi.ebay.com/High-Speed-Playfield-Plastics-Slingshot......
>
> > MA is sold out, and I don't see the complete set on BAA, didn't see
> > the set on Marco either. Too bad it's illegal to make your own set for
> > the game you own or I'd do that since I have all the scans. I want to
> > stay legal though I'm a good guy after all.
>
> > If anyone runs across a set still for sale let me know, thanks! :)
>
> > Rob
>
> Yeah I bought the last set from CPR a month ago, all he had left was
> the set he used to take the photos for the site. Will be tough to
> find.
>
> Jeff B

Plastics set: http://pinballdecals.com/PartsByGamePages/HS...