32803-33708

32594-33243 subjects 33048-36083

^ IOWA error and question
32803 [ntalbott rol] First of all, when I try to access IOWA pages (I've tried all the
+ 32824 [julian beta4] Nathaniel,
| 32850 [ntalbott rol] Nope. Basically all of the examples are giving me a similar error, and
+ 32825 [avi beta4.co] I've never seen that before (and can't replicate it) - the error is
  + 32851 [ntalbott rol] I researched that far, and indeed, it is not finding the tag it is
  + 32860 [avi beta4.co] Aha!  I bet the behavior of Class#name has changed.  Look at
    32873 [ntalbott rol] while

^ pstore issue on FreeBSD using latest source
32807 [mdavis sevai] I just grabbed the lastest Ruby code from cvs and compiled it on FreeBSD
32814 [decoux moulo] Well, normally digest/md5 is built when you compile ruby
32822 [mdavis sevai] Thanks, this pointed me in the right direction.  The last time I checked
32865 [matt lickey.] Small tip: you can run 'cvs up -d' and it will check out any new

^ Official web-site for the book Swing (free)
32809 [vladare yaho] Official web-site for the book Swing, a fast-paced guide with

^ Mysql Windows Binary
32810 [gulopine hot] I've tried compiling Mysql support on my Windows machine, and I just gave up
32816 [nobu.nokada ] Win32 Error 126 is ERROR_MOD_NOT_FOUND, that is, you don't

^ [ANN] Locana
32813 [mdavis sevai] I am pleased to announce the first release of Locana.  Locana is a GUI

^ extconf with multiple files
32828 [paul atdesk.] Is it possible to use a single extconf.rb to create multiple .so's?  The

^ [POLL] results from week-long poll
32830 [anany ece.vi] % ./ml-poll.rb -t

^ [ANN] Ruby named as a finalist for the Jolt Awards
32832 [pete mcbreen] Congratulations to Matz and everyone in the Ruby community!
+ 32833 [rich infoeth] And congratulations to you too Pete (great book BTW ;-) )
| 32837 [vruz ruby-es] I'd  like to express my congratulations for Matz
+ 32834 [ptkwt shell1] C# (Microsoft)

^ test for presence in array
32835 [kamk volny.c] I'm new to Ruby so now I just write simple scripts. Before I was coding in
32838 [paul atdesk.] If you already have an array, then your solution works, but is an O(n)

^ Object and message
32839 [thucdat hotm] <html><div style='background-color:'><DIV>
+ 32854 [ljohnson res] This is a multi-part message in MIME format.
+ 32878 [matz ruby-la] obj.respond_to?(:foo)

^ MethodFinder
32844 [grady xcf.be] For your amusement (and perhaps edification and/or utility), here is

^ Fw: Ruby VM
32848 [vruz ruby-es] Maybe you are already aware of this but I will post it anwyay.

^ Compiling tcltklibl on FreeBSD?
32858 [mdavis sevai] I have been trying all day to get ruby to compile tcltklib on FreeBSD
32899 [kjana dm4lab] You should specify X include/library directory with -with-X11-dir.

^ RE: Printing on Windows with Ruby (long)
32861 [david.naseby] Kinda tacky to reply to my own mail with an answer, but I figured I'd post

^ Newbie question about mixins
32871 [mwilson crt.] I have a module that I want to use as a mixin.  I have defined a method
+ 32872 [dblack candl] Welcome to Ruby :-)
+ 32874 [ptkwt shell1] module MyMod
+ 32890 [matju sympat] you just define a #initialize method in your module and you don't believe
  32928 [mwilson crt.] I created an initialize method, and called super from the class into which I
  32941 [moontoeki ao] # add here this

^ Policy Classes - Challenge
32875 [john.carter ] Alexandrescu's book Modern C++ Design
+ 32898 [sheepman tcn] I'm reading the book in translation.
+ 32909 [paul atdesk.] # foo requires x to have a method bar

^ integer method question
32876 [quadzero use] that I don't understand.
+ 32877 [quadzero use] sorry for the typo (extra vertical bar after "-")
+ 32880 [ jimm io.com] You see the last "2" because after irb executes the code it prints the
| 32881 [quadzero use] Right you are, Jim.  Thanks for the explanation!
+ 32893 [matz ruby-la] Your input generates your expected result "2-3-4-5-", then printed the

^ MOre RDoc HTML needed
32882 [Dave Pragmat] After the resounding success of yesterdays imagemap please, another
+ 32884 [djkea2 mugca] Well, you've nested your anchor elements there which _could_ be causing
| + 32888 [Dave Pragmat] I am now - what a fine tool.
| + 32891 [Dave Pragmat] Good idea (and html-tidy complained about it), but fixing it made no
| + 32892 [djkea2 mugca] Well another very preliminary investigation seems to reveal that
+ 32895 [r2d2 acc.umu] I believe it is the padding in the .methodtitle style of the <a> tag
  32918 [dff180 yahoo] Just want to say: Awesome work on RDoc!
  32922 [tom.hurst cl] The best way to hide CSS problems from NS4's braindead implimentation is

^ Win32API and dll programming in windows
32883 [rafemonkey y] Can anyone recomend a good reference on Win32API and dll programming in
+ 32885 [rafemonkey y] dllver=Win32API.new("NameOfDll", "GetDllVersion", ['P'], 'v')
+ 32886 [ralph.mason ] But the function you are calling returns a float, and I assume that 'n' or

^ Determining CPU and disk usage
32887 [ptkwt shell1] Does anyone have any code for determining CPU and disk usage on Windows?
32897 [armin approx] Sorry, don't know about Windows.

^ NNTP with AOL
32889 [moontoeki ao] NNTP with AOL

^ Unix->DBI->Proxy->ODBC
32894 [ngawor lucen] I am trying to contact an ODBC database on a Windows server

^ OLE VARIANT types in Ruby
32902 [jon_bills ho] All,
32910 [jon_bills ho] I've managed to solve this problem. For anyone who's interested,

^ Another prospective Ruby book sighting
32912 [avdi yahoo.c] In it Prentice Hall and HP announce a new series of

^ Thread schedule/contention
32913 [k.mckinlay b] Is there a fixed granularity to threads?  (in the sense that in an
33052 [ysantoso jen] Thread.critical=true is atomic.

^ latest ruby-mode.el messing up c++ mode fontification
32916 [brett_willia] I just grabbed the latest CVS version of ruby-mode.el last week, and it
32938 [matz ruby-la] Here's the patch.
32983 [brett_willia] Thanks--works perfectly now.

^ Newbie question
32920 [andrew_queis] What's the best way to return a substring that consists of the first 4
+ 32923 [mike lepton.] I would keep this one anyway. I don't think you can obtain much faster
+ 32924 [ cyo gmx.net] Andrew,
| 32990 [andrew_queis] Thanks, that almost gets me there. I wasn't clear enough in my
| 32992 [ptkwt shell1] I think it tends to be a cultural thing.  Apparently in SmallTalk this is
| 32993 [rich infoeth] This is fine especially if you are writing a script that simply needs
+ 32934 [r2d2 acc.umu] On the other hand the solution above is very readable. Are you sure that this
| 32987 [andrew_queis] Ahh, yes, thank you! That's what I was looking for. I missed the
+ 32937 [moontoeki ao] try this

^ Abuse and the newsgroup
32925 [Dave Pragmat] I have received a warning from my ISP about posting a chain letter to
32930 [djomilne hot] That;s bad luck there. I read the ruby news group directly but I get the

^ Re: smallest non-zero number (and other limits)
32926 [W.L.Kleb LaR] It looks like it has been a year since I first posed
32946 [decoux moulo] Well, you have the comments of matz about this
32961 [W.L.Kleb LaR] ANSI-compliant C compilers *have to* provide a float.h, viz,
+ 32976 [mkelly2002NO] Just as well.  I could never figure how to get the
+ 32984 [W.L.Kleb LaR] Done; attached is the proposed patch.
  32991 [matz ruby-la] (a) <float.h> is already checked by AC_HEADER_STDC in configure, so
  + 33005 [matju sympat] Remove the type prefix; keep only the ones for "double". the constants for
  + 33172 [W.L.Kleb LaR] Roger.
  + 33178 [nobu.nokada ] What about use of `long double' if it's available and can be

^ DRb not included in Ruby source tarfile?
32927 [ptkwt shell1] I notice that when you install Ruby on Windows you get DRb (dRuby).  But
32929 [robert.calco] % I notice that when you install Ruby on Windows you get DRb (dRuby).  But

^ using extend dynamically
32932 [ptkwt shell1] module MyMixin
32933 [nobu.nokada ] obj = MyClass.new(MyMixin)
32942 [nobu.nokada ] It doesn't concern #extend at all, however, you can use

^ RDoc error(?) with template file
32935 [moontoeki ao] RDoc error(?) with template file
32936 [Dave Pragmat] That's strange - I've never seen that problem. Could you send me the
32939 [moontoeki ao] It happened on my windows 98 with cygwin, ruby 1.6.6 system.
32944 [Dave Pragmat] Hmm. I can't reproduce this. Has anyone else seem something similar?
32947 [moontoeki ao] ==> in this routine, local variable "l" returns a line with \r in WINDOWS
32960 [Dave Pragmat] That would indeed be a problem: when I tried to reproduce it, I used
32968 [moontoeki ao] Dave, I've got another problem.
32970 [Dave Pragmat] Tobi has mentioned this too - I'll have to change to using a popen.

^ limiting data read by IO.gets
32943 [ysantoso jen] I am implementing a server listening on some wide-open ports. Each

^ Ruby + XML Proposal
32948 [bryan terral] The following is a sample application that will be included with the next revision
+ 32958 [dblack candl] (lots of interesting stuff deleted)
| 33011 [ser germane-] No, I think you hit the nail on the head.
| 33033 [ser germane-] Tobias pointed out to me that I sound bitter and resentful here.  Well, I
+ 33056 [msergeant st] What you have essentially created here is SAX plus Namespace dispatch.
| 33168 [ser germane-] Hmmm... this is a good idea.
| + 33171 [bryan terral] And that's more or less how the next version of the RPF framework works,
| | 33212 [msergeant st] I can't find this anywhere - has it just not hit Google groups (or usenet) yet?
| | 33216 [tobiasreif p] For all your Ruby&XML needs, check
| + 33211 [msergeant st] Right. I didn't want to make it out to be a bad thing. The DOM
+ 33337 [maki rubycol] Sorry to late response, but it's very interesting proposal.

^ found french book about scripting languages including Ruby
32949 [mjais web.de] I just saw a new book at
32955 [pcdavid info] There is only one chapter about Ruby, out of 22 chapters in the book, so I guess it only covers the very basics of the language. Still, to my knowledge it is the first french book mentioning Ruby.

^ for the FAQ maybe
32950 [ahumphr DELE] I didn't see this in the FAQ but its a frequently asked newbie question.
+ 32951 [decoux moulo] This is just a convention
+ 32974 [matju sympat] Improper syntax for Obj.method; this is crapwards compatibility with C++.
  + 32975 [decoux moulo] [ruby-talk:1704]
  + 32978 [Dave Pragmat] There is a difference between '.' and '::' in the context of method

^ Frame glitches in Ruby debugger?
32952 [Laurent.Jull] There is something I do not understand in the way the ruby debugger
32973 [decoux moulo] Probably a small bug, in your case it you ask for 'up 3' it will give

^ Actor & Ruby
32953 [ahumphr DELE] Does anyone else rember the Whitewater Group's programming language Actor?
+ 32962 [alwagner uar] I remember it. I bought a copy, but never got a chance to use it
+ 33708 [john.carter ] Oh yes, most clearly. I also remember my wail of despair when I was forced

^ [GUI] Signal/slot pattern in ruby
32967 [r2d2 acc.umu] I have been thinking a bit of how I would want message passing to work
+ 32969 [leon ugcs.ca] I like the pattern too. Incidentally, I created a weak, generic
+ 32972 [nobu.nokada ] It looks cool, but Signal is used as POSIX signal.
| 32979 [r2d2 acc.umu] I like most of your changes. Neat trick using append_features. But I like to
| 32982 [alwagner uar] the music is nothing if the audience is deaf."
+ 32977 [tsondergaard] Maybe I'm ignorant, but isn't this quite close to the Observer pattern,
| 32981 [r2d2 acc.umu] I guess the difference (as I see it) is that an observer is an object,
+ 32985 [dsafari xtra] I started my GUI programming using QT and I agree that it is a nice way to
+ 32986 [list chromat] with GTK is very similar.  It supports more than one event handler for

^ Extending Ruby in C++
32988 [elbows spamc] I am trying to write a ruby extension in C++ (specifically, a wrapper around
+ 32998 [chris darkro] I migyht be wrong but it would probably be wise to compile all off this with
+ 33075 [paul atdesk.] Just to be certain, how do you know that the code is crashing on the

^ Looking for Ruby/Tk code for Windows style Tree Control
32994 [simon_crase ] Does anybody know of a class I could get hold of to display a widget that
+ 33160 [sentinel_NO_] I think the widget you want is HList (hierarchical list). However, I'm not
| 33166 [alwagner uar] I don't think it's in the base package.  Maybe the extension
+ 33186 [alwagner tca] I have a tree widget written in Ruby, based on TkText.  It's not pretty yet.
+ 33189 [nagai ai.kyu] Please use 'Tix extension package (for Tcl/Tk)' on Ruby/Tk.
  33192 [simon.crase ] Albert,

^ RDoc parsing error
32995 [maki rubycol] I've written XML::SAX2 library for Ruby, and I'm trying to write
33009 [Dave Pragmat] It didn't, but it does now :)  The fix is in the latest CVS.
33036 [maki rubycol] Thanks!
33037 [Dave Pragmat] It isn't the notation. Right now, cross references are not very
+ 33095 [matt lickey.] Supporting Foo::Bar#baz (and linking to that method) would be cool.
+ 33149 [maki rubycol] Oh, I see.
  33150 [Dave Pragmat] Michael Davis has a wonderful example of RDoc in action at

^ [newbie] RubyWin question
32996 [r.boellaard ] This is a multi-part message in MIME format.
32999 [r.boellaard ] This is a multi-part message in MIME format.
33015 [samael-usene] Please fix your user agent to post only in plaintext.  HTML usenet postings

^ quit receiving
33000 [tawee199 ksc] may I quit receiving any messages  from ruby-talk @ruby-lang.org

^ Hiding net library passwords
33001 [W.L.Kleb LaR] What is the method for hiding/encrypting passwords for some of
33002 [kentda stud.] Are you the only one running the script, or are others supposed to be

^ Variable types
33003 [dcorbin impe] I know I'm new to ruby, but I feel obligated to share my dislike for
+ 33004 [alwagner tca] Hmmm...a baited hook
+ 33006 [dblack candl] I sort of like $ for global variables because it makes it easy to
| + 33008 [james rubyxm] I'm a little put off by required prefixes; it's basically the language forcing you to use
| | 33023 [chris darkro] True, but your example is a classic case of "where does it come from". It's
| | 33025 [Dave Pragmat] In that case, welcome over to our camp :)
| | 33028 [chris darkro] Heh, I love ruby, I am merely saying what I personally like :)
| + 33010 [dcorbin impe] I can see this, but at the same time, it makes it harder refactor your
+ 33007 [hal9000 hype] Well, I do *somewhat* dislike this... but I do like not having
| 33016 [drosih rpi.e] I think it's a pretty reasonable idea.
+ 33013 [ptkwt shell1] Well, it sounds like you understand how it works but you just don't like

^ tk.rb strange behavior??
33012 [philmi plioc] I have written a simple class (minibuffer.rb) that extends TkFrame, adding label and entry
33020 [decoux moulo] Write it like this
33158 [sentinel_NO_] Thanks, Guy! ... my silliness!

^ May I use the Ruby logo?
33014 [gehlker fast] Is the Ruby logo or icon, the ruby with code in front that appears on the

^ Pythons Webware
33019 [dsafari xtra] A couple of questions relating to Python's Webware, in particular the

^ eruby / mod_ruby - installation problems with header files
33021 [neil sentine] I'm having problems building eruby & mod_ruby on Linux Mandrake 8.1 (I
33022 [decoux moulo] See if ruby-devel is installed

^ Changing wrapped pointer
33024 [danny frouke] When writing a C extension, is this the proper and supported way to change
+ 33026 [decoux moulo] ruby use 'DATA_PTR(ruby_object) = some_pointer' but I don't know if this
+ 33029 [matz ruby-la] As long as you are responsible for what you've done ;-)

^ bash-like command splitting (for regexp wizards)
33034 [info chromat] I am trying to split a command line containing several commands that
33040 [jeffp crusoe] 'ls || cd dir; grep word * && beep'.scan(SPLIT_RE).flatten.compact
33089 [list chromat] ^      ^
+ 33091 [hgs dmu.ac.u] I think it will interpret the [] as a character class...
+ 33104 [jeffp crusoe] [posted & mailed]
  33144 [wmwilson01 h] Great to see you on the list japhy!  Your Perl knowledge is fantastic and
  33164 [jeffp crusoe] I'd say I envy Ruby, but I don't, since I'm starting to use it now; I have

^ bash-like command splitting (for regexp wizards)
33035 [list chromat] I am trying to split a command line containing several commands that

^ Soap4r/Webrick question
33038 [Dave Pragmat] First of all: I'm impressed! The combined webrick/soap demo in
33051 [nahi keynaut] Agreed.  SOAP server, XML-RPC server, dRuby session

^ range and modification
33039 [moontoeki ao] Two things to think about.
33041 [jeffp crusoe] That's because
+ 33043 [moontoeki ao] It's so simple. I thouht in hard way.
| + 33044 [jeffp crusoe] Well, you can tell chomp() to use "\r\n".
| + 33045 [matz ruby-la] 1.7.2 chomp works as you want.
|   33062 [moontoeki ao] I would like to summarize for others
+ 33059 [tobiasreif p] What's n here?
  33060 [matz ruby-la] Array.
  33061 [tobiasreif p] Ah, OK, thx :)

^ Gtk::Clist question
33042 [jacekpodkans] Does anyony know whats wrong. I get following error, but from Gtk Reference
+ 33046 [jacekpodkans] It's sorted now. Found clue in testgtk.rb.
+ 33047 [nconway klam] Hmmm... for some reason, Ruby-Gtk calls the method #remove_row, not
  33063 [jacekpodkans] Thank you for your help.
threads.html
top