[#5218] Ruby Book Eng tl, ch1 question — Jon Babcock <jon@...>
From: Jon Babcock <jon@kanji.com>
Thanks.
From: Jon Babcock <jon@kanji.com>
Ah, thanks, I think I get it, a slightly different nuance then.
From: Jon Babcock <jon@kanji.com>
'Because all of Ruby has been...' -> 'Because Ruby has been...'?
[#5221] better way to say 'recursive join' — Yasushi Shoji <yashi@...>
in [ruby-dev:6289], Shugo Maeda suggested better name for recursive
[#5240] Ruby for Win32/DOS — Dennis Newbold <dennisn@...>
Not all of us are blessed with the opportunity to be able to develop on
[#5254] problem: undefined method `size' for File — "葡ic Santonacci" <Eric.Santonacci@...>
Hi all,
HI,
[#5264] Re: problem: undefined method `size' for Fil e — Aleksi Niemel<aleksi.niemela@...>
matz critizes good solution argumenting with features lacking from some
[#5268] Proper ConditionVariable usage? — Aleksi Niemel<aleksi.niemela@...>
Abstract
On Wed, 04 Oct 2000 07:05:22 +0900, Aleksi Niemelwrote:
In message <20001004110040.A26666@xs4all.nl>
Hi,
[#5276] Re: Ruby Book Eng tl, ch1 question — schneik@...
[#5310] Errata for Ruby Book? — Jon Babcock <jon@...>
[#5318] Redefining super method as singleton? — Robert Feldt <feldt@...>
On Fri, 6 Oct 2000, Yukihiro Matsumoto wrote:
[#5329] Ruby vs PHP ? — "Valerio Bamberga" <bamberga@...>
Hi!
[#5331] Unit testing network code? — Hugh Sasse Staff Elec Eng <hgs@...>
Can someone give me pointers on how to Unit Test code that is run on
> I think maybe one would test each end on its own first, faking the
[#5335] string streams in Ruby? — Hugh Sasse Staff Elec Eng <hgs@...>
Is there any way, without going through "modifying the internals",
[#5346] Is Ruby "enough better"? — Gabriel Lima <Gabriel.Lima@...>
Hi.
[#5364] Allowing *ary's in the middle of a camma separated list — "Akinori MUSHA" <knu@...>
Hi,
Hi,
At Tue, 10 Oct 2000 14:17:24 +0900,
[#5404] Object.foo, setters and so on — "Hal E. Fulton" <hal9000@...>
OK, here is what I think I know.
At Wed, 11 Oct 2000 11:37:25 +0900,
Hi,
Hi,
Hi,
Hi,
[#5425] Ruby Book Eng. tl, 9.8.11 -- seishitsu ? — Jon Babcock <jon@...>
At Thu, 12 Oct 2000 03:49:46 +0900,
Thanks for the input.
At Thu, 12 Oct 2000 04:53:41 +0900,
At Thu, 12 Oct 2000 07:25:03 +0900,
oops, I didn't read this one before I went out for food..
At Thu, 12 Oct 2000 09:59:19 +0900,
[#5437] Editor recommandations? — "Chris Morris" <chrismo@...>
Any recommendations on editors for Ruby script on Windows?
[#5471] 2 ideas from Haskell — Mark Slagell <ms@...>
Do either of these interest anyone:
[#5479] Some newbye question — Davide Marchignoli <marchign@...>
I am reading the documentation I found about ruby but several points
[#5480] InstallShield version for Ruby soon... — andy@... (Andrew Hunt)
Okay folks,
[#5489] Regexp#matches — Aleksi Niemel<aleksi.niemela@...>
Would someone object aliasing matches for match in Regexp?
[#5505] Sorry, What is Ruby Book — Mansuriatus Shahrir Amir <chioque@...>
Sorry if this information is somewhere obvious. I just stumbled upon
[#5516] Re: Some newbye question — ts <decoux@...>
>>>>> "D" == Davide Marchignoli <marchign@di.unipi.it> writes:
Hi,
On Sat, 14 Oct 2000, Yukihiro Matsumoto wrote:
matz@zetabits.com (Yukihiro Matsumoto) writes:
Dave Thomas <Dave@thomases.com> wrote:
Hi,
> Proposal a and b have incompatibility. I'm not sure it's worth it.
>>>>> "Y" == Yukihiro Matsumoto <matz@zetabits.com> writes:
On Mon, 16 Oct 2000, ts wrote:
>>>>> "Y" == Yukihiro Matsumoto <matz@zetabits.com> writes:
[#5558] GC: malloc_memories — Mathieu Bouchard <matju@...>
Hi,
> |precipitate a new GC cycle if lots of resizing is done. My biggest
[#5570] Notes about GC — Mathieu Bouchard <matju@...>
[#5600] passing single or multiple strings. — Hugh Sasse Staff Elec Eng <hgs@...>
With multple assignments I can get nested arrays "shelled" (like peas)
In message "[ruby-talk:5600] passing single or multiple strings."
[#5603] debug command list in English — "Morris, Chris" <ChrisM@...>
I found this page which lists the interactive debugger commands ... anyone
[#5619] lint? — "Swit" <swit@...>
Is there something like lint for Ruby? I'd like to find NameErrors before
[#5705] Dynamic languages, SWOT ? — Hugh Sasse Staff Elec Eng <hgs@...>
There has been discussion on this list/group from time to time about
Hugh Sasse Staff Elec Eng wrote:
On Sat, 21 Oct 2000, Charles Hixson wrote:
[#5715] Help: sockets broken — jason petrone <jp@...>
I just compiled ruby 1.6.1 on an openbsd 2.6 machine(x86).
[#5716] Re: Array#insert — Aleksi Niemel<aleksi.niemela@...>
> From: jweirich@one.net [mailto:jweirich@one.net]
[#5727] String#slice surprise — "Guy N. Hurst" <gnhurst@...>
Hi,
Dave Thomas wrote:
[#5787] Shells and Ruby — "Dat Nguyen" <thucdat@...>
Hello all,
[#5850] Re: Array#insert rehashed — Aleksi Niemel<aleksi.niemela@...>
Dave asks for:
[#5862] succ but no pred? (& the MURKY award) — "Hal E. Fulton" <hal9000@...>
First of all, a serious question:
[#5873] Integer(String) weirdness for a ruby newbie — Stoned Elipot <Stoned.Elipot@...>
Hi,
[#5881] Q:what about "Programming Ruby"? — Gabriel Lima <Gabriel.Lima@...>
Hi to you all.
[#5882] [RFC] Towards a new synchronisation primitive — hipster <hipster@...4all.nl>
Hello fellow rubyists,
On Fri, 27 Oct 2000, hipster wrote:
[#5947] Hash.new {block} / Hash#default_proc{,_set} — "Brian F. Feldman" <green@...>
I've done very little testing, but I think I've successfully implemented the
[ruby-talk:5528] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2000-10-14)
RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2000-10-14)
This FAQ contains information for those who want to:
1) learn more about Ruby, and want to
2) post to comp.lang.ruby.
This FAQ is normally posted every 2 weeks or so.
1 About Ruby.
1.1 What is Ruby?
Ruby is a very high level, fully OO programming language. Indeed,
Ruby is one of the relatively few pure OO languages. Yet despite
its conceptual simplicity, Ruby is still a powerful and practical
"industrial strength" development language.
Ruby selectively integrates many good ideas taken from Perl,
Python, Smalltalk, Eiffel, ADA, Clu, and Lisp. (Ruby is more
fully OO than Python in so far as basic types such as hashes can
be subclassed. See Ruby FAQ 1.4.) Ruby combines these ideas in a
natural, well-coordinated system that embodies the principles of
least effort and least surprise to a substantially greater extent
than most comparable languages--i.e. you get more bang for your
buck, and what you write is more likely to give you what you
expected to get. Ruby is thus a relatively easy to learn, easy to
read, and easy to maintain language, yet it is very powerful and
sophisticated.
In addition to common OO features, Ruby also has threads,
singleton methods, mix-ins, fully integrated closures and
iterators, plus proper meta-classes. Ruby has a true
mark-and-sweep garbage collector, which makes code more reliable
and simplifies writing extensions. In summary, Ruby provides a
very powerful and very easy to deploy "standing on the shoulders
of giants" OO scaffolding/framework so that you can more quickly
and easily build what you want to build, to do what you want to
do.
For many former Perl and Python users seeking a more uniform and a
more powerful set of higher level OO programming capabilities
without the complexities of C++, or the compromises of Java, or
the subtleties of Smalltalk, Ruby is a "much better Perl than
Perl" and a "significantly better Python than Python". (This is no
small feat, since these languages contributed some big innovations
to the field of development programming languages.) You could
characterize the Ruby philosophy as "there's a better way to do
it" (TABWTDI).
Finally, Ruby is an "open source" development programming
language.
1.2 Where can I find out more about Ruby?
Ruby's home web site:
http://www.ruby-lang.org/en (Ruby English language home page.)
Follow the links to documentation, downloads, the Ruby
Application Archive, the Ruby mail list archives, and lots
of other interesting information.
Ruby's other major on-line documentation and links site:
http://www.rubycentral.com
Ruby FAQ:
http://www.rubycentral.com/faq/
Ruby User's Guide (introductory tutorial):
http://www.math.sci.hokudai.ac.jp/~gotoken/ruby/
(Look under "Documents" heading.)
Ruby Reference Manual:
http://www.ruby-lang.org/en/doc.html
Ruby classes, modules, and methods reference:
http://www.rubycentral.com/ref/
English language Ruby books:
Some English-language Ruby books are in the works; the ones
mentioned in comp.lang.ruby to date are:
"The Ruby Programming Language" (provisional title)
by Yukihiro Matsumoto (aka Matz) and Keiju Ishitsuka
Addison Wesley, 2001, ISBN: 0-201-71096-X
"Programming Ruby, A Pragmatic Guide"
by Dave Thomas and Andrew Hunt
Addison Wesley, October, 2000, ISBN: 0201710897
(Part of this book is already on the Internet; see
http://www.rubycentral.com/ref/ -- this is going to be
a great, "absolutely must have", best-of-breed book.)
Search past postings to comp.lang.ruby or the ruby-lang mail list
(which have been mirrored to each other since mid-2000):
http://www.deja.com/home_ps.shtml
(Enter comp.lang.ruby in the forum entry field.)
http://blade.nagaokaut.ac.jp/ruby/ruby-talk/index.shtml
2 About comp.lang.ruby.
2.1 Tell me about comp.lang.ruby.
comp.lang.ruby was officially approved in early May, 2000. Here
is the official charter:
CHARTER: comp.lang.ruby
The comp.lang.ruby newsgroup is devoted to discussions of the
Ruby programming language and related issues.
Examples of relevant postings include, but are not be limited
to, the following subjects:
- Bug reports
- Announcements of software written with Ruby
- Examples of Ruby code
- Suggestions for Ruby developers
- Requests for help from new Ruby programmers
The newsgroup is not moderated. Binaries are prohibited
(except the small PGP type). Advertising is prohibited (except
for announcements of new Ruby-related products).
END CHARTER.
2.2 Tell me about the prolific Matz poster.
Matz (aka Yukihiro Matsumoto) is the wizard who created Ruby for
us, so be nice to him. He is very busy, so be patient when asking
questions. See the Ruby home page to find out more about him and
his work. I founded comp.lang.ruby at his suggestion. Contrary to
lots of skepticism, it was approved on the first attempt, with 200
yes votes.
2.3 Tell me the posting guidelines for comp.lang.ruby.
(1) First of all, be considerate: don't be too lazy. If you are
seeking information, first make a reasonable effort to look it
up. As appropriate, check the Ruby home page, check the Ruby
FAQ and other documentation, use deja.com to search past
comp.lang.ruby postings, and so on.
(2) Make the subject line maximally informative, so that people
who should be interested will read your post and so that people
who wouldn't be interested can easily avoid it.
(a) Start with one of these keywords if appropriate:
ANNOUNCE -- new Ruby code, docs, or URLs of interest.
Bug -- report a definite bug.
Job -- advertise a Ruby-related job.
OT -- off topic.
Problem -- any sort of problem with using Ruby.
Product -- advertise a Ruby-related product.
(b) Describe the contents of your post:
This is OK:
"How can I do x with y on z?"
"Problem: did x, expected y, got z."
"Bug: doing x with module y crashed z."
This is *NOT* OK:
"Please help!!!"
"Newbie question"
"Need Ruby guru to tell me what's wrong"
(3) Keep your content relevant and easy to follow. Try to keep
your content brief and to the point, but also try to include
all relevant information.
(a) General format guidelines:
- Use plain text; don't use HTML, RTF, or Word.
- Include examples from files as in-line text; don't
use attachments.
- PLEASE NOTE! Include quoted text from previous posts
*BEFORE* your responses. And *selectively* quote as much
as is relevant.
(b) If reporting a problem, give all the relevant information;
this isn't the psychic friends newsgroup. When
appropriate, include:
- The version of Ruby. ("ruby -v")
- The compiler name and version used to build Ruby.
- The OS type and level. ("uname -a")
- The actual error messages.
- An example (preferably simple) that produces the
problem.
(c) If reporting a bug, please copy (cc:) your post to:
mailto:ruby-bugs@ruby-lang.org
This will enter your report into the Ruby bug database.
You can browse the database at:
http://www.ruby-lang.org/cgi-bin/ruby-bugs
3. Anything else?
This FAQ was produced by Conrad Schneiker (schneiker@jump.net).
I'm interested in corrections and suggestions, but remember that
the purpose of this FAQ is to be a brief and simple introduction
for new comp.lang.ruby readers.
In closing, one of the reasons that Ruby was designed to be
relatively simple, uniform, yet very powerful was to make serious
programming (among other kinds) fun. We hope you will help us
keep comp.lang.ruby fun as well. Enjoy. :-)