8611-9708

8388-9042 subjects 8778-9307

^ Re: k.Net, GTK.Net, and FOX.Net?
8611 [matt msg.ucs] The answer from Microsoft is ... yes, this is possible.  I don't know
8614 [bradclark1 m] it's
8616 [ben_tilly ho] Not impossible.  ActiveState's reputation in the Perl

^ Yet another SWIG question
8617 [Dave Pragmat] I'm running in to problems converting constant structures into Ruby
8743 [fukusima got] This is SWIG bug again :-(

^ Possible Ruby Suggestions?
8619 [mitch venux.] I can't say enough good things about Ruby. I bought the book and read it
8624 [feldt ce.cha] It is of course depends on what level of "security" you want from such an
8635 [mitch venux.] True, very true.. Even making it inconvienent would be better than

^ mingw
8625 [dennisn pe.n] Can anyone point me to the source for the i386-mingw32 port of Ruby?
+ 8628 [feldt ce.cha] There is one tarball for minw32 at http://www.os.rim.or.jp/~eban/ but
+ 8629 [zarathustra ] ...

^ fun with voicemodems, dtmf, soundcards & ruby
8627 [trk hfx.east] I'm a non-programmer hoping to learn ruby by "scratching an itch"
8667 [sent quality] I'm not sure how far we can go without getting

^ Interesting Language performance comparisons - Ruby, OCAML etc
8633 [g24ever hotm] Interesting comparisons between languages for performance.
8650 [jmichel schu] The  individual memory/cpu  numbers are  quite interesting.  Contrary to
+ 8651 [g24ever hotm] Good observations.
| + 8653 [Dave Pragmat] But by that logic, C wouldn't have replaced assembler. Java wouldn't
| + 8672 [decoux moulo] Well, in the ToDo there is
|   8684 [Dave Pragmat] Mais oui! As I said, performance is important, and we should continue
|   8685 [elderburn mi] Actually, I believe a majority of the languages (and methodologies) considered
|   8687 [ben_tilly ho] I hope not.
+ 8652 [Dave Pragmat] And the interesting thing about that is that Ruby was added to the
| 8670 [jstern fosha] The tests in this shootout seem to be not quite serious.
| + 8683 [Dave Pragmat] There's more to it than that. Languages such as Ruby that
| + 8696 [matz zetabit] Why don't you try and see by yourself?
| + 8710 [steve deaf.o] Oooh, a bloom filter. :)
+ 8663 [ptkwt user2.] Actually, in the overall scoreboard on that page, Ruby is shown to be
  8764 [charleshixsn] Well, OCaML is Object CaML where CaML is a relative of ML, and that's
  + 8768 [jstern fosha] Ocaml is strongly typed, and the creators put a lot of thought and effort
  + 9101 [ljelmore hom] That's a common misconception. The more information about a program

^ Any way to get enumerated values?
8642 [ljohnson res] I checked the FAQ but didn't see this one addressed. Is there any automatic
+ 8646 [Dave Pragmat] Ah, the old "names have been changed to protect the constants"
| 8655 [ljohnson res] Ahhh, I didn't specify enough constraints on the problem ;) And those would
| 8659 [c.hintze gmx] Hmmm ... in the beginning, erhm ... I mean: once upon a time ... no.
| 8660 [sent quality] I had wondered about this myself. Since you
| + 8668 [sent quality] I haven't looked at enumerate.rb yet, but my def
| | 8669 [feldt ce.cha] If it's the only thread running... ;-)
| + 9013 [harryo zipwo] I like this.  However, it got me wondering about how one might modify
|   9018 [Dave Pragmat] def enum(count, start=1)
|   9015 [harryo zipwo] I'm guessing that #to_a returns an ASCII representation of the object.
|   9016 [harryo zipwo] Since I love talking to myself :-) ...
+ 8648 [masa stars.g] A,B,C,D,E = (0..4).to_a

^ Re: Inexplicable core dump
8656 [ntalbott rol] I had a problem...

^ Trouble with %x{} containing quotation marks
8657 [Joe.R.Swatos] This message is in MIME format. Since your mail reader does not understand
8706 [robertg swip] This is a multi-part message in MIME format.
8714 [Joe.R.Swatos] it downloading RedHat 7.0 though :-)

^ FW:  Trouble with %x{} containing quotation marks
8658 [Joe.R.Swatos] Sorry about the formatting in the last message
8666 [eban os.rim.] It seems that the Cygwin DLL is old.  1.1.4?
8694 [Joe.R.Swatos] Great idea, thank you.  Updating helped other things (now `dir` works with

^ tk.after memory leak on w2k
8665 [danny sofer.] i'm new to the list and i'm sure this is old hat, but...
8676 [decoux moulo] Try with
+ 8707 [danny sofer.] GC
+ 8841 [decoux moulo] It's normal, you must know that commands send to tk are stored in an hash.

^ Is there a precompiled java ruby interface?
8678 [tammo.freese] I would like to use the java ruby interface with jdk1.3. I tried
9657 [Jan.Duennweb] where to get a "java ruby interface" ?
9708 [tammo.freese] java-module-0_5.tar.gz

^ tr_s!
8679 [jens irs-net] I have a problem with tr! ...
+ 8680 [decoux moulo] tr!("b-y", "a-z")
+ 8681 [dblack candl] #tr takes strings as its arguments, not regular expressions.  So....

^ Comparing Ruby and Smalltalk
8682 [feldt ce.cha] A friend of mine, who is a Smalltalk fan, asked me if there are any
8717 [c.hintze gmx] I have used Smalltalk for some small projects and educational
8826 [wys helbling] <<SNIP>>
8839 [feldt ce.cha] Ok, and this might change in the future... 8-)
8845 [chadfowler y] In most languages, IDE/toolset is orthogonal to the
8854 [wys helbling] I agree, but Smalltalk seems to be slightly different in the sense that
8898 [patrickdloga] Maybe this has been discussed...
8933 [feldt ce.cha] Thanks everyone who contributed to this thread. I summarized your points

^ "the 3 great virtues..." Ruby port
8686 [jens irs-net] c = "\sTif\s3\s", "hsfbu wj",
8688 [decoux moulo] pigeon% cat d.rb
8690 [aleksi.nieme] I'm virtually partially back. So let's hope I'm half as annoying as during
8695 [jens irs-net] That was not my problem... Perl is known for the fact
8697 [Dave Pragmat] cc  =  %w?Tif\ 3\ hsfbu\ wjsuvft\
8698 [hgs dmu.ac.u] Consider the set of valid ruby programs such that
8699 [jens irs-net] ok, I'm a bloody Ruby newbie ;-))

^ Thanks Guys
8691 [ljohnson res] Thanks to everyone who responded! I think the quickest approach for my

^ Dev Ruby on Windows: How do YOU do that?
8700 [fgeiger date] I wonder how the Windows folks develop Ruby programs. Which editor do you
+ 8701 [ChrisM SNELL] I use UltraEdit (www.ultraedit.com) -- not the best editor, but it handles a
| + 8703 [schneik us.i] # I wonder how the Windows folks develop Ruby programs. Which editor do
| + 8772 [fgleeson my-] <2B92A3D0D399D311BA7E00A0C90F8FDD88BE50@mailgate.snellingcorp.com>,
+ 8705 [joeyGibson m] I use EMACS or vi (Vim, actually), since they can both understand
+ 8765 [charleshixsn] I usually use RubyWin, though I dislike the way that it handles tabs.  I
  8838 [philippe.luc] you

^ Braces and begin/end
8704 [robertg swip] I opened parse.y and made a serious try to understand why but my knowledge
+ 8708 [gotoken math] You can consider {} is almost equal to do/end which is used for block
+ 8709 [c.hintze gmx] Of course not! ;-)
+ 8719 [matz zetabit] It is my goal to build up friendly and respectful community as well as
  8723 [sent quality] As others have pointed out, { } is not intended
  + 8725 [Dave Pragmat] The style I've come to is to use do/end for multi-line blocks, and
  | 8727 [nahi keynaut] It's my turn.
  + 8730 [kom mail1.ac] Maybe you better take a closer look at the difference before deciding
    + 8732 [dblack candl] Have you tried it?  :-)
    | + 8734 [kom mail1.ac] Thank you for the correction.
    | + 8761 [hal9000 hype] This improvement came with 1.6, I believe.
    + 8735 [Dave Pragmat] That then invokes my second style rule. If there's any potential
      8751 [sent quality] Or my style rule, which is that ALL parameter
      8752 [sent quality] That's not bad. I rarely do single-line stuff,

^ Keyword arguments (was: Visions for 2001/1.7.x development?)
8711 [ntalbott rol] Referring to keyword arguments, matz said,
+ 8712 [avi beta4.co] The TOM solution, if I remember correctly, was to always have keywords as
+ 8767 [charleshixsn] Yes.  It can make sense to have the parameters be a part of the method
  8771 [steve deaf.o] def gigo(x, y, foo=10, bar=8, fred="hello", martha=[0, nil])

^ GC (was Re:  Re: Interesting Language performance comparisons - Ruby, OCAML etc)
8716 [aseltine cs.] Is this already in the HEAD cvs branch (1.7)?
8736 [matz zetabit] No yet, but it will be merged in several weeks.

^ Memory allocation strategy (was: Visions for 2001/1.7.x development?)
8724 [kom mail1.ac] I can't speak for matz, but I guess the logic behind it is something

^ Re: Praise for Ruby/GTK
8726 [schneiker ju] =================================================
8728 [schneiker ju] Peter Mattis and the GTK+ team
8740 [edwin localh] If you mean "are these features unique to GTK?", I'd say no. For
8742 [pixel_ mandr] AFAIK the ugly GtkCList and GtkCTree are deprecated in the new Gtk+ (v1.4)

^ Python to Ruby translation
8729 [jtc dimensio] I'm considering porting some scripts I've written in Python to Ruby.
8731 [c.hintze gmx] Not that I am aware of one, but perhaps somebody has already done such

^ Re: overriding Hash#[] (was: Re: bug??)
8733 [dblack candl] You can get around that, I think, with #has_key?

^ abstract  classes
8737 [maurice euro] is there any way to declare abstract classes/methods in ruby?
8754 [sent quality] It depends on what you mean by abstract classes.
8756 [chadfowler y] It seems like a lot of the rationale for having
8831 [maurice.szmu] This message is in MIME format. Since your mail reader does not understand
+ 8835 [hipster xs4a] Have a look at
+ 8891 [charleshixsn] It sounds like what you might want to do is
  8896 [sent quality] The private_class_method method (in Module) can

^ SystemExit exception in RubyWin
8738 [0317025435 t] I use "ruby 1.6.1 (2000-10-05) [i386-cygwin]"

^ FloatDomainError exception, bug in Ruby?
8739 [0317025435 t] Still using: "ruby 1.6.1 (2000-10-05) [i386-cygwin]"
8753 [masa stars.g] snip

^ Druby and `backquotes (bug or just me?)
8741 [ptkwt user2.] #drb_srvr.rb

^ Backquotes `somecommand` don't work on Windows (bug)
8744 [ptkwt user2.] Using backquotes to run a system command and collect it's output does not
8748 [0317025435 t] That is probably because you are starting command.com (MS-DOS emulating
8770 [ben_tilly ho] `cmd.exe /c ver`

^ (start..end) where start > end
8745 [0317025435 t] Is there any reason why Ruby can't handle a "backwards" range?
8746 [dblack candl] Oh thou of little faith! :-)
+ 8747 [chadfowler y] 7.downto(0) do
+ 8749 [0317025435 t] Do you agree with me when I say that (7..0) is more beautiful? And it would
  8750 [dblack candl] It's certainly more beautiful than the to_a.reverse version.  I don't
  8758 [gnhurst hurs] This leads into the discussion (again ;-) about #succ and
  8759 [matju cam.or] class Numeric; def pred

^ subscribe Jonghyouk Yun
8755 [guru13 netsg] subscribe Jonghyouk Yun

^ Backward Range implementation
8757 [sent quality] Here's what I came up with that seems to work. I
8788 [dblack candl] Using yours as a starting point, I tried to generalize it so that it
8799 [crippel prim] There is probably some code out there which relies on
8802 [dblack candl] No doubt.  The code Kevin and I were writing is not

^ ruby under dos 6.22?
8760 [rubinubi cyb] Is it possible for me to get ruby to run on an old 486-dx laptop which is
+ 8763 [chadfowler y] 1.  Install Linux
+ 8776 [gotoken math] It is compiled with djgpp.

^ >actually bug in backquotes on Windows
8773 [ptkwt user2.] Actually, I figured out that the problem is with using backquotes on the

^ No :<, :>, etc. methods for Array
8774 [green FreeBS] So, why not include Comparable in Array by default?  It shouldn't have any
8779 [matz zetabit] Because arrays are not always comparable.  `sort', `min', and `max' in
8780 [green FreeBS] So it's done to "discourage" people from doing it?  E.g. currently the best
+ 8781 [gotoken math] `Enumerable#inject' is introduced there.  That may be adopted if an
| 8782 [green FreeBS] Except that I don't really ever see the need for the inject functionality
| + 8783 [dblack candl] You're assuming a lot about what people might or might not do.
| | 8785 [green FreeBS] I simply mean that even with a lack of an inject method due to there not
| | 8789 [gotoken math] Does anyone know the name of operator family which consists of $\sum$,
| | 8790 [dblack candl] I don't know it, but I doubt it's "Jean".
| | 8793 [gotoken math] Ouch, I shoud not omit verb until I understand English more... :-(
| | + 8794 [avi beta4.co] Actually, you were using a perfectly normal and correct, if casual,
| | + 8795 [dblack candl] Anyone have a pen I could borrow?  David?
| | | 8798 [gotoken math] Oops, I might make serious mistake; I was so boorish that I fourced
| | + 8857 [hal9000 hype] Ah, Gotoken, he is only kidding you. There is nothing really ambiguous
| + 8784 [gotoken math] def product
| + 8786 [jmichel schu] It can also be used to create product (also very important), and, if the
| + 8797 [crippel prim] Obviously,
| | 8800 [gotoken math] I think such collections can be implemented as extension libraries if
| | + 8804 [sent quality] I think I agree, and not for performance reasons.
| | + 8820 [crippel prim] I see your point ... . I guess my idea was to be less greedy
| |   + 8822 [ben_tilly ho] I have mentioned before, perhaps I should mention again.
| |   | + 8824 [crippel prim] Since I am pretty about ignorant about Perl (among many
| |   | | 8827 [ben_tilly ho] If you have Perl installed the following commands will
| |   | | 8828 [crippel prim] Thanks
| |   | + 8851 [dblack candl] True, but when you write STORE() and FETCH() and all that in Perl,
| |   |   8855 [ben_tilly ho] I would not advocate using the names used in Perl.
| |   |   + 8856 [decoux moulo] pigeon% wc -l bdb.c
| |   |   + 8859 [dblack candl] Ummmm, not my book.  (Which is called "Law in Film" -- hey, I never
| |   |     8867 [ben_tilly ho] Ask yourself the following questions first.
| |   |     8869 [decoux moulo] True perhaps for DB_File but not for BerkeleyDB, verify it (no
| |   |     8870 [ben_tilly ho] Erk.  Oops.
| |   |     8887 [dblack candl] [me:]
| |   |     8890 [ben_tilly ho] Say modules called ArrayInterface, HashInterface and
| |   |     8918 [aleksi.nieme] At least David Alan Black and Ben Tilly have been conversating, the latter's
| |   |     8924 [dblack candl] I think the whole Perl tying part of this is not all that relevant.  In
| |   |     8926 [ben_tilly ho] It is a simple magic. :-)
| |   |     + 8927 [dblack candl] Hmmm....  Why is that good advertising?  Well, we can agree
| |   |     + 8963 [crippel prim] and probably the real reason behind the current
| |   + 8836 [crippel prim] I guess the ``type::''  prefix is totally unnecessary ... . This makes only
| + 8849 [jweirich one] I've used inject (or "reduce") in the following to build a list from
+ 8805 [Dave Pragmat] When we get around to adding versioning, I hope we'll have a version
  8811 [schneik us.i] it,

^ Modules and mixins
8775 [dsafari para] I find myself having a really hard time understanding what is really going on
+ 8777 [chadfowler y] Wouldn't it be nice to see something like "Ruby Best
+ 8801 [c.hintze gmx] do not feel to sad! It is not such a big issue. What makes it a bit
  8803 [ben_tilly ho] It supports more of course. :-)
  + 8806 [sent quality] Personally, I don't go looking for a reason to
  | 8899 [dsafari para] Just to clarify, I wasn't looking for a reason to use them, merely for a way
  + 8810 [c.hintze gmx] Of course. But because the original post was about modules, I have only
  | 8815 [ben_tilly ho] Ah, yes. :-)
  | 8858 [aleksi.nieme] I once tried the same, in particular to create keyboard short cuts easily. I
  | 8879 [yashi yashi.] good to see you back, Aleksi.
  | 8897 [ben_tilly ho] def bind_loops(fn, my_range, *more_args)
  | 8901 [crippel prim] The length was not the issue on the python ml. The original author of the MRange
  | 8902 [crippel prim] Ops
  | 8917 [ben_tilly ho] Say no more.  Explicit calculations open up room for all
  | 8962 [crippel prim] they are also very inefficient and are either (virtually)
  | 8967 [crippel prim] actually
  | 8975 [sent quality] Bingo. Typical aggregation would allow you to
  | + 8977 [Dave Pragmat] Just to back up what Kevin says: Mixins are also not just passive.
  | | + 8979 [ben_tilly ho] While the point is understood, in this case I suspect that
  | | | 8984 [crippel prim] I am not quite sure what the ``this case'' is refering to?
  | | + 9030 [crippel prim] I agree with you that Ruby facilitates AOP techniques (note that
  | |   9032 [hipster xs4a] is the site for general information about AOP (FAQ, working groups,
  | |   9033 [hipster xs4a] I forgot to mention
  | |   9034 [crippel prim] Thanks
  | + 9004 [dsafari para] Thank you very much for every contributing to my question. This has been a
  + 8861 [crippel prim] Yes, this is a very need solution!
threads.html
top