[#20651] Changing a program's name at run time via $0... — Sean Chittenden <sean-ruby-talk@...>
Anyone have any ideas how to change a program's name while it's
[#20675] RCR: non-bang equivalent to []= — Tobias Reif <tobiasreif@...>
Hi,
Hello --
Hi David,
I wrote:
--- Tobias Reif <tobiasreif@pinkjuice.com> wrote:
Kevin,
>>>>> "T" == Tobias Reif <tobiasreif@pinkjuice.com> writes:
--- ts <decoux@moulon.inra.fr> wrote:
Hello --
[#20680] Re: Do we about sub-second [amc]time on files? — "Brian F. Feldman" <green@...>
Oh yeah, and addresses for the specific diffs I've made:
[#20683] eruby 0.9.6 doesn't work with ruby 1.7.1 — Aleksi Niemel<aleksi.niemela@...>
I can't make eruby 0.9.6 work with ruby 1.7.1. It works fine with ruby
>>>>> "A" == Aleksi Niemel=E4?= <iso-8859-1> writes:
[#20701] ANN: Ruby/Mock 1.0 — "Nat Pryce" <nat.pryce@...13media.com>
I mentioned this in another thread, but thought I would announce it properly
[#20715] oreilly buch von matz - website online — markus jais <info@...>
hi
Actually, thanks for posting it here. I was trying to search OReilly's
Hi,
On Mon, 3 Sep 2001, Phil Tomson wrote:
> |> Oh, no. Last time I asked them sheep, they gave me goat. This time
Hi,
> |I understand, but let's look at it the other way:
[#20721] Possible typo bug? — Christopher Sawtell <csawtell@...>
Hi,
[#20730] Nightly CVS tarball? — Wai-Sun Chia <waisun.chia@...>
Hello Rubyists,
[#20747] how update anonymous classes? — "Henning von Rosen" <henning@...>
Hi!
[#20768] Minor cgi.rb question — "Hal E. Fulton" <hal9000@...>
I don't have much experience with
[Hal E. Fulton]
[#20770] Calling member methods from C++ — jglueck@... (Bernhard Glk)
Some quetsions have been solved for me, but my message system does not
[#20790] singleton help — Albert Wagner <alwagner@...>
I need some help with a singleton class.
[#20820] Ruby/Tk core dump — Harry Ohlsen <harryo@...>
I asked someone at uni to install Ruby for me, so I could use it for an
[#20822] Converting String to Symbol? — "Florian G. Pflug" <fgp@...>
Hi
[#20840] modify hash during iteration — Tomas Brixi <brixi@...>
Hello
[#20882] newbie question — Pat Eyler <pate@...>
Hello all,
[#20902] RubyConf registration is now open: sign up today! — Dave Thomas <Dave@...>
[#20907] Problem with druby related to TCPServer implementation on linux — Christian Boos <cboos@...>(by way of Christian Boos <cboos@...>)
Hello all,
[#20908] Removing singleton methods and instance variables - how ? — "Aristarkh A Zagorodnikov" <xm@...3d.ru>
Hi,
[#20937] trouble loading self-compiled extension in cygwin. — Matthias Lampert <ml@...>
Hello, folks!
I need to get the OpenGL module from the RAA working in a MS-Windows
[#20940] calling original method in overrided method? — Henry House <hajhouse@...>
I don't like the default behavior of String#to_i and String#to_f to return
[#20947] Is Ruby/Tk being maintained? — Albert Wagner <alwagner@...>
I there an active maintainer of Ruby/Tk? I have posted a couple of problems
[#20965] creating lots of files — Joseph McDonald <joe@...>
[#20976] destructor — Frank Sonnemans <ruby@...>
Does Ruby have a destructor as in C++?
"Nat Pryce" <nat.pryce@b13media.com> writes:
[#20987] put my vote down for ruby-chan! — Christopher Taylor <ct@...>
i'd like to see ruby chan as the `offical mascot`
[#21013] length of Ruby array from C? — Neil Conway <nconway@...>
Hi all,
[#21054] Question about RAA listings — "JamesBritt" <james@...>
I'm putting together a web site devoted to Ruby and XML, and plan to include
[#21070] build minimal Ruby interpreter — Max Ischenko <max@...>
[#21104] Ruby-GTK / Ruby-glade problems — Craig Files <Craig_Files@...>
We are very interested in using Ruby/LibGlade for a project, but in
[#21131] Robocode (RubyBot - perhaps a way to introduce people to Ruby?) — ptkwt@...1.aracnet.com (Phil Tomson)
Slashdot has an article about a game called Robocode that teaches Java by
[#21168] The Parrot lives! — stephen.hill@... (Steve Hill)
Slashdot is reporting that Parrot 0.01 has been released. Oh joy ;-)
[#21169] GUI toolkits for windows — Alva <alv@...>
Hi all! I'm a Ruby newbie, but strongly feel that it will
[#21200] strange warnings from the parser? — Paul Brannan <pbrannan@...>
When I write code that does this:
[#21212] What's the best book — jmp@... (Jean-Marc Pennel)
.... to learn Ruby.
[#21216] OSX — bobh@... (Robert)
Any problems getting Ruby to compile on MacOS X? Did you have to add
[#21218] Ruby objects <-> XML: anyone working on this? — senderista@... (Tobin Baker)
Are there any Ruby analogs of these two Python modules (xml_pickle,
[#21224] Redefining constants — Johann Hibschman <johann@...>
Hi all,
[#21234] Ruby/GTK maintainer? — Neil Conway <nconway@...>
Hi all,
[#21236] alternate Download-Site of IOWA? — horibo@... (Horst Rischbode)
Hi,
[#21245] Embedding Q's — Johann Hibschman <johann@...>
Hi all,
[#21263] Exceptions and Ruby — Alva <alv@...>
Hi,
[#21268] Re: alternate Download-Site of IOWA? — "Julian Fitzell" <jfitzell@...>
Yeah, it would wouldn't it? :)
[#21291] Image libraries — Jimmy Thrasher <jjthrash@...>
Is anybody working on Ruby bindings for libpng or libgif?
[#21292] PC Magazine — Ryan Tarpine <rtarpine@...>
In the October issue of PC Magazine, in his Inside Track column John C.
[#21296] nested require files need path internally — Bob Gustafson <bobgus@...>
Version: 1.64
Hello --
On Tue, 18 Sep 2001, David Alan Black wrote:
Hi,
On Tue, 18 Sep 2001, Yukihiro Matsumoto wrote:
Hi,
> The big difference is C++ search done in compile time, Ruby search
Hi,
On Wed, 19 Sep 2001, Yukihiro Matsumoto wrote:
Hi,
On 19/09/2001 at 10:12 AM matz@ruby-lang.org wrote:
Hi,
On Wed, 19 Sep 2001, Yukihiro Matsumoto wrote:
Hi,
On Thu, 20 Sep 2001, Yukihiro Matsumoto wrote:
[#21315] Suggestions for new CGI lib — anders@... (Anders Johannsen)
From the comp.lang.ruby thread "Minor cgi.rb question" (2001-09-03), I
Hi,
Hallo,
[#21321] iowa and win98 — horibo@... (Horst Rischbode)
Hi,
On Tue, 18 Sep 2001, Horst Rischbode wrote:
[#21362] [Ann] JRuby - Ruby interpreter in Java — Jan Arne Petersen <japetersen@...>
Hello!
[#21377] How to tell if port is in use... — "Hal E. Fulton" <hal9000@...>
Hello all...
"Hal E. Fulton" wrote:
[#21378] Path walking on windows — Ed Sinjiashvili <edsin@...>
Hi,
[#21387] Segfault: ruby 1.7.1 (2001-09-08) during mod_ruby-0.9.3 build — Wai-Sun Chia <waisun.chia@...>
[root@caspar root]# ruby -v
[#21413] Ruby/objects book in style of The Little Lisper — Brian Marick <marick@...>
I fell in love with Lisp in the early 80's. Back then, I read a book called
On 20 Sep 2001 06:19:44 +0900, Brian Marick wrote:
--- Christopher Sawtell <csawtell@paradise.net.nz> wrote:
--- Mikkel Damsgaard <mikkel_damsgaard@mailme.dk> wrote:
On Sat, 22 Sep 2001, Kevin Smith wrote:
--- Todd Gillespie <toddg@mail.ma.utexas.edu> wrote:
On Sat, 22 Sep 2001, Kevin Smith wrote:
On Fri, 2001-09-21 at 21:47, Todd Gillespie wrote:
--- Brian Marick <marick@visibleworkings.com> wrote:
[#21431] RE: chain methods inside and outside the class; how to intermingle mine and Strings' methods? — "Frykholm, Niklas" <nfrykholm@...>
[Tobias Reif]
[#21454] Interaction system() / $stdout ? — Johan Holmberg <holmberg@...>
[#21499] Speed — David Tillman <dtillman@...>
[#21503] Trouble in native library... — Kero van Gelder <kero@...4050.upc-d.chello.nl>
[Mailed to both ruby-talk and ruby-dev]
[#21504] Replacement for __FILE__ == $0 — "Nathaniel Talbott" <ntalbott@...>
OK, this will probably end up being an RCR, but first I want to get some
--- Nathaniel Talbott <ntalbott@rolemodelsoft.com> wrote:
Kevin Smith [mailto:kevinbsmith@yahoo.com] wrote:
--- Nathaniel Talbott <ntalbott@rolemodelsoft.com> wrote:
[#21535] irb — Fabio <fabio.spelta@...>
Hello. :) I'm new here, and I have not found an archive of the previous
>>>>> "F" == Fabio <fabio.spelta@tiscalinet.it> writes:
> Do this command work, for you ?
>>>>> "F" == Fabio <fabio.spelta@tiscalinet.it> writes:
I've restored the original ext/setup file (and all the others) and recompiled:
>>>>> "F" == Fabio <fabio.spelta@tiscalinet.it> writes:
OK: I'm a nerd :-|
>>>>> "F" == Fabio <fabio.spelta@tiscalinet.it> writes:
[#21564] Returnin own C++ type from ruby method — jglueck@... (Bernhard Glk)
Hi there again!
[#21605] Please translate this easy snip of C++ to Ruby — Phlip <phlip_cpp@...>
Ruby Users:
[#21606] gtk on win32 — "Benoit Cerrina" <benoit.cerrina@...>
Hi,
[#21613] C++ / Ruby questions again — jglueck@... (Bernhard Glk)
Hi there again..
[#21616] opening a named pipe? — "Avdi B. Grimm" <avdi@...>
I'm having trouble reading from a named pipe in linux. basicly, I'm
On Unix, opening a FIFO will block the process until the other end is also
On Mon, 2001-09-24 at 05:14, Nat Pryce wrote:
[#21645] Ideal ruby browser? — Johann Hibschman <johann@...>
Hi folks,
[#21663] Problems with the mysql-module — Jens Rohde <jr@...>
Hi
Jens Rohde wrote:
On Tue, 25 Sep 2001, Michael Neumann wrote:
Jens Rohde <jr@eos.dk> writes:
[#21668] Help understanding self ... — Phil Mitchell <phil.$DELETEmitchell@...>
I'm defining a simple class that extends Hash. The code below works. What I don't understand is why I can't replace
Okay, but according to Ruby library reference, and pickaxe, [] is a method in class Hash. A method that is called with
[#21669] Ruby-win syntax coloring — "Henning von Rosen" <henning@...>
Ruby win is very convinient in some matters, f ex providing a protected zone
[#21685] manipulating "immutable" objects such as Fixnum from within callbacks & al... — Guillaume Cottenceau <gc@...>
Hello,
> Here's the problem: it happens often that you need to pass "references" to
On Wed, 26 Sep 2001, Joel VanderWerf wrote:
Here's an easy one:
[#21688] net/http problems on FreeBSD 4.4-RC — Jason DiCioccio <geniusj@...>
I'm having the following problems with Net::HTTP on ruby 1.6.4 (and 1.6.5) =
[#21733] Re: manipulating "immutable" objects such as Fixnum from within callbacks & al... — "Brian F. Feldman" <green@...>
ts <decoux@moulon.inra.fr> wrote:
>>>>> "B" == Brian F Feldman <green@FreeBSD.org> writes:
Fair enough, for some reason it didn't work for me. The first thing I
Hi,
[#21740] scope in {} and do-end — "Hal E. Fulton" <hal9000@...>
Question...
[#21744] Running ruby scripts suid-root — "Florian G. Pflug" <fgp@...>
Hi
[#21745] inheritance Surprise! — Bob Gustafson <bobgus@...>
I had a problem with an object which, once it was created, would morph into
On Thu, Sep 27, 2001 at 04:14:43AM +0900, Bob Gustafson wrote:
[#21746] Problems with Net stuff on Win2000/XP — carlyoungblood@... (Carl Youngblood)
Please! I don't have the time or expertise to dig through the ruby
[#21772] Transparent Proxies — jason@... (Jason Voegele)
Hello all,
[#21798] Ruby internal (guide to the source) — "Benoit Cerrina" <benoit.cerrina@...>
Hi,
> The part I'm not sure to understand to well is the relationship between a
Dear All,
What? You didn't write the script in Ruby, but in Perl? ~,^
It does need the environment for the time being, tonight, I'll add in
[#21818] Embedding — "Drirr C." <drirr@...>
Hello
[#21821] ANN: HtmlDomGenerator 0.1 — "Jimmy Thrasher" <jjthrash@...>
I just released HtmlDomGenerator, for those of you who want a DOM =
Hello --
> # You should have received a copy of the GNU General Public License
[ruby-talk:20685] RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2001-09-01)
RUBY NEWSGROUP FAQ -- Welcome to comp.lang.ruby! (Revised 2001-09-01)
This FAQ contains information for those who want to:
1) learn more about Ruby, and want to
2) post to comp.lang.ruby or to the ruby-lang mail list, or want to
3) provide anonymous feedback to help us improve 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.
You will find many former (and current) Perl, Python, Java, and
C++ users on comp.lang.ruby that can help you get up to speed in
Ruby.
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.ruby-lang.org/~slagell/ruby/
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 book list:
"Programming Ruby, A Pragmatic Guide"
by Dave Thomas and Andrew Hunt
Addison Wesley, 2000, ISBN: 0201710897
(Part of this book is already on the Internet; see
http://www.rubycentral.com/ref/ -- this is a great,
"absolutely must have", best-of-breed book.)
Eratta: http://www.pragmaticprogrammer.com/ruby/errata.html
Forthcoming English language Ruby book list:
"The Ruby Programming Language"
by Yukihiro Matsumoto (aka Matz) and Keiju Ishitsuka
Addison Wesley, January 12, 2001, ISBN: 0-201-71096-X
FYI: http://www.amazon.com/exec/obidos/ASIN/020171096X
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
Local Ruby users and groups in your area:
http://www.pragprog.com/ruby?RubyUserGroups
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 the posting guidelines for comp.lang.ruby.
(You should also follow these guidelines for the ruby-list mail
list, since it is mirrored to comp.lang.ruby.)
(1) 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) The general format guidelines (aka USENET Netiquette) are
matters of common sense and common courtesy that make life
easier for 3rd parties to follow along (in real time or
when perusing archives):
- PLEASE NOTE! Include quoted text from previous posts
*BEFORE* your responses. And *selectively* quote as much
as is relevant.
- Use *plain* text; don't use HTML, RTF, or Word. Most
mail or newsreader program have an option for this; if
yours doesn't, get a (freeware) program or use a
web-based service that does.
- Include examples from files as *in-line* text; don't
use attachments.
(b) If reporting a problem, give *all* the relevant
information the first time; 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
(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.
*Usefully* 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) Finally, 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.3 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.
3. Anything else?
If you are new to Ruby (or haven't previously taken the Ruby User
Survey), please take a moment to anonymously tell us about your
programming background and about your Ruby-related interests. The
results will be reported back to the Ruby community from time to
time. This helps us do a better job of helping each other, and to
more effectively expand the Ruby community for our mutual benefit.
The survey is at:
http://dev.rubycentral.com/survey.html
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. :-)