38976-39400

38772-43039 subjects 39169-39950

^ outputting method name
38976 [normsu slab.] Is there a way to output the current method's name?  for example,
+ 38978 [pbrannan atd] require 'rbt/hacks/call_stack'
+ 38979 [matz ruby-la] Retrieve the method name from "caller" output.
  38981 [normsu slab.] Thanks for the answers!  Just what I needed.

^ Glade????
38982 [cparrish cox] Does ruby work with glade at all? I guess what I'm asking is, is there a
+ 38989 [jjenning ste] glad you asked! :)
+ 38998 [pbrannan atd] There are examples in the tarball.
  39011 [cparrish cox] Thanks,

^ appending methods to class inside module
38983 [ian caliban.] module Dog
38985 [edsin swes.s] That's right, you define String class under Dog namespace - its fully
39008 [ian caliban.] Ah, OK. I was confused about the namespace issue.
39062 [cjs cynic.ne] You want to do something along the lines of "friend" in C++, but
39063 [ian caliban.] The protected method was in class String and the method call was made
39170 [edsin swes.s] You should judge your right on calling someone's methods depending on

^ Problem? USENET NEWS split
38987 [m.rokos sh.c] it seems that NEWS-rubytalk GW is broken. Last MSG from
38992 [matz ruby-la] Probably something happened to Dave Thomas' site, while he's out for
39012 [Dave Pragmat] "Something happened" is something of an understatement. I'm still

^ [Patch] Macros #4
38988 [m.rokos sh.c] you must already hate me, but this could be really final patch
+ 38990 [nobu.nokada ] This doesn't work since stack_end cannot be seen after
+ 38991 [matz ruby-la] Not at all, rather if you stop helping me, I would be disappointed.
  38993 [m.rokos sh.c] 1 chunk from patch has been found by Nobuyoshi Nakada as
  38994 [matz ruby-la] Thank you.  They will be merged.

^ String#pred (long) (was: Numberic#prev)
38999 [pit capitain] implementation of String#pred

^ $_ if no |var|
39001 [kgergely mla] Is it possible to use $_, if you don't specify variable for a block?
+ 39002 [decoux moulo] ...
+ 39004 [larsch cs.au] I too miss this sometimes, especially when I chain methods, the |n|
  39090 [jean_hugues_] Very nice indeed. When is binding resolved, compile or run time ?
  + 39164 [dblack candl] Have you chosen a name for this new language? :-)
  + 39205 [jean_hugues_] about "proc { if |a| then |b| else |c| end }, what does that means ?"
    39208 [dblack candl] It's actually p[2] that's getting eval'd, so I think it would be more
    39210 [larsch cs.au] I think you are right--I think I would 'expect' all assignments to be
    + 39211 [dblack candl] I honestly don't think this syntax can scale beyond trivial cases.
    + 39222 [hal9000 hype] I agree with Lars, but I have misgivings about this construct
    + 39255 [jean_hugues_] This makes sense. The definition of the || construct would then be

^ class variable & file reloading
39005 [jean_hugues_] While debugging my code I often reload a ruby source file after a small
+ 39006 [pbrannan atd] class Foo
+ 39007 [matz ruby-la] def MyClass

^ threads and win98
39009 [kgergely mla] Threads under windows 98 doesn't seem to work properly.
39010 [nobu.nokada ] Threads with select work for only sockets under Windows.

^ [Patch] Macros #4
39013 [m.rokos sh.c] ...

^ a small ruby for embedded applications
39015 [mattmsykes y] I'm putting together a stripped-down version of ruby aimed for use in
+ 39016 [mwg fluffy.i] ...
| 39026 [mattmsykes y] It may or may not be possible; I'll know in a few days.  Ruby won't
+ 39092 [dennisn pe.n] I'm sorry I don't know the answer to your specific question.  Just
  39129 [mattmsykes y] The reason for taking out the regular expressions is because I need
  39165 [matz ruby-la] No.  Linking a GPL library will make your source code to be opened,
  + 39172 [mattmsykes y] You are right, I forgot about that part.  But practically speaking,
  + 39298 [dennisn pe.n] Thanks for the clarification.  Do you kno what "Micro Ruby" on the

^ RubyGarden down?
39017 [kentda stud.] Or am I the only one who can't get to it?
+ 39022 [nutate onebo] Supposedly (according to WorldCom support) there was a train wreck in
+ 39031 [Dave Pragmat] The server, which runs both the DNS and the web site, got seriously

^ getting reference to calling object
39018 [mrp cre.cano] ...
39095 [chris cmb-en] ...
39098 [ned bike-nom] No, self is the receiver of the current method, not the sender.
39099 [chris cmb-en] ...

^ NEWS gateway is down!
39021 [m.rokos sh.c] ...
39032 [Dave Pragmat] It should be back now (it went down when my DNS died, but I've hacked

^ strerror in Ruby?
39023 [rschmidt xmi] ...
+ 39027 [sean chitten] $stderr.puts "bad things go bump in the night"
+ 39037 [nobu.nokada ] Raised exceptions from syscalls have message, isn't it good
  39105 [rschmidt xmi] ...
  39146 [sean chitten] out = `cp file1 dir2/file1`

^ require 'aDir'
39025 [patrick-may ] Has this been discussed in the past?
+ 39036 [nobu.nokada ] It looks overdone.
| + 39049 [matz ruby-la] Agreed.  aDir.rb along with aDir directory will suffice.
| + 39056 [patrick-may ] the idea, or the example?
|   39060 [nobu.nokada ] The idea itself.
|   39166 [patrick-may ] Oh well.  I got tired of updating the aDir.rb file in a project I'm
+ 39066 [kentda stud.] Not really supporting that the idea gets into the language, but if it
| 39088 [matz ruby-la] It loads "aDir.rb".  So
+ 39067 [tsiivola cc.] require 'foobar'	# foobar.so, foobar.rb and directory foobar

^ Slow updates in Ruby/Tk
39028 [harryo zip.c] I'm still a relative Tk neophyte, so my apologies if this is
39045 [nagai ai.kyu] Is Tk.update not enough?

^ Ruby as a "sh" sucessor language
39033 [gregb laserl] I'm interested in using ruby as a super replacement for "sh" scripts.
39034 [pate eylerfa] Benjamin,
39132 [gregb laserl] I did, and ordered a copy. Thanks. According to customer

^ how to check for unitialised class variable?
39038 [ian caliban.] irb(main):006:0> class Foo
+ 39039 [dblack candl] I think I'm on safe ground here, because I'm cutting-and-pasting
+ 39040 [vjoel PATH.B] @@foo = true unless defined? @@foo
  39041 [ian caliban.] Thanks Joel and David. I'd already tried something similar, but hadn't

^ Small patch for ruby,vim syntax highlighting file
39046 [brailsmt yah] ...
39141 [jeff.gray in] Excellent.  While you're at it, would you consider finding a fix to
39150 [brailsmt yah] Does anybody know of any other highlighting errors with ruby.vim?  I
39151 [sean chitten] Emacs has syntax highlighting that (gets all wonkey when you use
39154 [brailsmt yah] Emacs has a dishwasher and kitchen sink too...

^ A Wild Idea: What do you think?
39047 [jim freeze.o] I have had an idea come to me on more than one occasion.
+ 39051 [xlucid users] Wow - you even need a fix while you're on holiday!
+ 39079 [pate eylerfa] Ooh, this is a terribly cool idea.  I'd actually thought about something
| 39114 [hal9000 hype] Yes, it's a cool idea... via chat or something, maybe we could even
| + 39117 [pate eylerfa] Ruby Beach is a nice (secluded) beach on the pacific, mostly sand, a
| | 39200 [ptkwt shell1] ...
| | 39203 [pate eylerfa] Okay, so I understated it a bit ... 'You will be awash in plants on your
| | 39209 [vjoel PATH.B] I'd be interested in that. My parents live on the north coast of the
| | 39212 [pate eylerfa] Okay, I just put together http://www.rubygarden.org/ruby?RubyGatherings
| + 39119 [dblack candl] OK, then let's have it in Texas.  How about August?  Oh, what do you
|   39121 [jim freeze.o] Go Greyhound!
|   + 39122 [chris.morris] I'll still be living in TX when August rolls around, so as long as it's in
|   | 39123 [jim freeze.o] I may have to schedule a visit to TX in August.
|   | + 39126 [xlucid users] area)
|   | + 39176 [pate eylerfa] Would it be worth considering holding multiple ruby gatherings in
|   |   + 39177 [dblack candl] Maybe worth considering, but I guess my reservation is that the more
|   |   | + 39185 [james rubyxm] <snipMuchStuff/>
|   |   | | 39237 [NoReply NoRe] ...
|   |   | | + 39245 [james rubyxm] Sedona would be a great choice, and not just because I can drive there in 2
|   |   | | + 39248 [carlom sprin] I vote for Phoenix too!
|   |   | |   39249 [dblack candl] Someone in the Phoenix branch might want to add something to the wiki
|   |   | |   39250 [james rubyxm] OK, done.
|   |   | + 39199 [tobiasreif p] I think both are great ideas (which don't collide in any way).
|   |   + 39187 [jim freeze.o] I think this idea has merit. I agree with Dave on not limiting
|   |     + 39189 [jim freeze.o] Ruby Coding Retreat (RCR)  :)
|   |     | 39192 [pate eylerfa] ohh, now that has class.  This one trumps my previous favorites.
|   |     + 39191 [pate eylerfa] I think we're approaching the point that we need a wiki page.  Anyone up
|   |     + 39266 [xlucid users] This is exactly the area I'm looking to work in.
|   |     + 39267 [xlucid users] Ruby Cutters ?
|   + 39125 [xlucid users] Oh, I'd recommend the Sweetwater Bar & Grill in Denton (a
+ 39081 [dblack candl] There's been talk in the past of "Ruby camps".  I think it's a great
| 39096 [chris cmb-en] ...
+ 39082 [elanthis awe] What about those cruises they offer?  I've seen adds.. something like
  39086 [jim freeze.o] I think it would be fun to go to a 'fun' place, but the super geek

^ SD Expo (Re: Problem? USENET NEWS split)
39050 [matz ruby-la] Too bad.

^ Help learning Ruby
39052 [david myth.s] Oreilly "Ruby in a nutshell", but cant make heads or tails of how to
+ 39054 [lucid connec] The 'Pickaxe' Ruby book comes with the Windows installation package of
+ 39055 [lucid connec] Okay, the less immediate, but more informative,  response.
| 39135 [david myth.s] I looked at the online version, and they still don't explain how to do the
| + 39137 [hal9000 hype] Are you on Windows, by any chance?
| + 39140 [james rubyxm] There are a few ways to execute Ruby programs.
| + 39147 [jlj cfdrc.co] ...
|   39197 [david myth.s] Yes! irb thankfully works on unix, and it's great. Interactivity is a must
|   39206 [chris cmb-en] ...
+ 39061 [tobiasreif p] here are some links that helped me getting started

^ Configuring Apache (Win) to use RubyWin for CGI
39057 [lucid connec] Preamble

^ Illogical proc argument binding
39059 [ekarttun cs.] def foo
39084 [matz ruby-la] Try

^ Parsing Repeating Regexp Matches
39069 [cjs cynic.ne] ["foo", "bar", "something else", "and so on"]
39071 [brailsmt yah] Try String#scan.  It is similar to te g options in sed/vim/perl's s///,
39072 [cjs cynic.ne] Ah, that's it. So I want
39075 [dblack candl] parsed_defs = defs.scan(/\{(.*?)\}/).flatten

^ German Translation of Programming Ruby
39070 [juergen.kati] I would like to announce the free online version
+ 39074 [dsafari xtra] I can't read German so I can't look over your fantastic effort. I'm sure it
+ 39077 [kentda stud.] Nice work.

^ newbie: embedding ruby and garbage collection
39073 [gaiacrtn fre] I started learning ruby and I'm trying to use it from one of my C++
39106 [decoux moulo] ...
+ 39111 [pbrannan atd] Will this also work with normal objects that are visible from Ruby?  It
| 39112 [decoux moulo] ...
| 39113 [pbrannan atd] Hmm, now that I think about it, the object being held still has to be
+ 39173 [gaiacrtn fre] Thanks. After looking at Data_Wrap_Struct implementation, I saw that the
  39378 [gaiacrtn fre] While struggling with some bugs that appeared during GC, I found the

^ 어린이날 BEST 추천상품 (광고)
39076 [dhl660717 ly] ...

^ unsubscribe
39078 [kenta ibest.] Thanks!!!

^ expand_path and overlap
39080 [chris.morris] I'm wanting something similar to expand_path, but that will detect overlap.
39085 [dblack candl] collapse_path("b/c/f", "/a/b/c/d/e/b/c/g/h")
39087 [chris.morris] /a/b/c/d/e/b/c/f
+ 39091 [nobu.nokada ] I'm not sure, is this like what you want?
| + 39100 [chris.morris] Thanks! It seems to be close -- though I haven't groked it myself to see
| | + 39107 [nobu.nokada ] Hmmm, it apparently passes.  Only 4th test failed.
| | | 39108 [chris.morris] 1.6.6
| | | 39331 [nobu.nokada ] I got it.  Modify base.rindex to base.index.  Anyhow,
| | + 39109 [pit capitain] On 27 Apr 2002, at 0:20, Morris, Chris
| |   39110 [chris.morris] At the risk of overwhelming this thread into oblivion ... I've compiled all
| |   39116 [decoux moulo] ...
| + 39101 [pit capitain] Here are two other implementations (using only the basic regular
+ 39102 [decoux moulo] ...

^ Return last match instead of first?
39083 [chris.morris] 'abcdefabc' =~ 'abc' returns 0
+ 39089 [matz ruby-la] p "abcdefabc".rindex(/abc/)  #=> 6
+ 39093 [bobgus mcs.n] a = 'abcdefabc'

^ RFC: File.join removing redundant /'s
39094 [mrp cre.cano] ...

^ RE: File.join removing redundant /'s
39097 [stathy.toulo] /foo/bar/baz
+ 39103 [eban os.rim.] % ruby -e 'p File::expand_path("/foo//bar//baz")'
+ 39104 [decoux moulo] ...

^ [ANN] Cherry Blosxom 0.1.5
39115 [nutate onebo] I have recently released Cherry Blosxom 0.1.5 to the world.  It is
39175 [decoux moulo] ...

^ SemiOT: Cherry Blosxom and blogs in general
39118 [hal9000 hype] Since Cherry Blosxom was just posted, I thought
39128 [nutate onebo] Let's look at blogging... What is the definition of blogging?  (I really
39136 [hal9000 hype] [snippage]

^ desktop applications in Ruby
39120 [winsim winsi] ...

^ extending ruby: defining method with default parameters value...
39124 [gaiacrtn fre] rb_define_method( ruby_cScintillaBase,
39167 [vjoel PATH.B] You can use rb_scan_args. See the "Extending Ruby" chapter of the
39174 [gaiacrtn fre] value...

^ CORBA on Ruby?
39130 [jlj cfdrc.co] ...
39131 [pbrannan atd] I got Rinn working, sort of, with some very basic CORBA code.  However,
39138 [jlj cfdrc.co] ...
39143 [pbrannan atd] Most of the time, it's just a matter of determining how to convert the

^ mod_ruby with mod_ssl segfault the problem and the soluction
39133 [domingo dad-] Recently I've installed mod_ssl in my apache webserver that is runing
39148 [sean chitten] This is a known problem that has been fixed.  If you upgrade ruby you

^ SOAP4R question
39134 [Mark.Volkman] ...
39139 [andrew_queis] ...

^ TCL interpreter in Ruby?
39142 [craig_files ] I am currently in the middle of a TCL user base and I want out!
39270 [nagai ai.kyu] Please read TkCore module and TkVarAccess module on tk.rb.
39337 [nagai ai.kyu] Sorry. That was not so good script.
39393 [craig_files ] Thanks,  I have been playing with this all day and have made some
39396 [Ephaeton gmx] Don't output $! then, but access the tcl variable errorInfo.
39398 [craig_files ] Thanks.
39400 [nagai ai.kyu] Please use TkVarAccess class. For example,

^ surway
39144 [qute klog.dk] ...
+ 39158 [Dave Pragmat] I'm working on it - RubyGarden is slowly coming back to life... :)
+ 39159 [Dave Pragmat] The survey's back online, as is the weblog, the wiki, and Ruby Weekly

^ Ruby and PalmOS
39145 [mnorton otak] ...
39355 [mmaciaszek g] According to the PalmOS documentation PalmOS has only very limited
39359 [mnorton otak] ...

^ Re: OT  Small patch for ruby,vim syntax highlighting file
39163 [michael_s_ca] This is your issue; you think emacs is an editor.  Yes, it also
threads.html
top