From: Mark Hahn Date: 2002-01-07T14:07:49+09:00 Subject: [ruby-talk:30436] Re: snippet exchange (was: Re: Re: chomp for arrays?) A person could use this however they want. I personally want to be able to say net_require 'xxx'. ----- Original Message ----- From: "Jack Dempsey" To: "ruby-talk ML" Sent: Sunday, January 06, 2002 8:37 PM Subject: [ruby-talk:30431] Re: snippet exchange (was: Re: Re: chomp for arrays?) > The way i was thinking of this working would be this: someone has heard of a > good library to use but doesn't want to spend the time finding it > downloading etc...this little function will do it...basically, automate the > process of finding, downloading and using...not very ambitious,and it would > definitely need to be well thought out, but i think the idea could be useful > in the end...perhaps a function that searches for a module and downloads it > but doens't require it at the same time...whatever it is, this discussion > can only help... > > Jack > > I'm not saying don't do this. What I am saying is that there are a number > of potential vulnerabilities that you can't close, and a few you introduce. > It's something that needs to be considered very carefully before > implementing, and a feature that probably ought to be off by default. > > > > the potential checks out of the process. (FWIW, I considered this and > > > discarded it for parrot. It's the sort of thing I'd not allow to be > > > installed on a system I administered) > > > > > > > > -----Original Message----- > > > > > From: Dan Sugalski [mailto:dan@sidhe.org] > > > > > Sent: Sunday, January 06, 2002 9:38 PM > > > > > To: ruby-talk ML > > > > > Subject: [ruby-talk:30401] Re: snippet exchange (was: Re: Re: > > > chomp for > > > > > arrays?) > > > > > > > > > > > > > > > At 06:31 AM 1/7/2002 +0900, Mark Hahn wrote: > > > > > > > > > > >A daydream of mine is a "super-require" that if the file was not > > > > > found, the > > > > > >loader would go to a central place on the web and load it > > > (sort of like > > > > > >marimba). I don't tend to use other people's modules just > > > > > because I'm too > > > > > >lazy to find and install them. > > > > > > > > > > That's a rather dangerous thing to implement. There are an > > > awful lot of > > > > > security issues there... > > > Dan > > --------------------------------------"it's like this"------------------- > Dan Sugalski even samurai > dan@sidhe.org have teddy bears and even > teddy bears get drunk > >