73646-74517 subjects 74038-93484
^ libldap-ruby and sizelimit?
73842 [fery domesti] I have written a curses-based ldap-browser in ruby, and faced with the
^ re-open a class --> re-open a method?
73843 [itsme213 hot] Ruby's ability to re-open a class is great! Among other things it
+ 73846 [batsman.geo ] matz is already thinking on that :-)
| 73852 [george.marro] And in the meantime there's AspectR: http://aspectr.sourceforge.net/
| 73855 [feldt ce.cha] Or we could make an effort to extend Ruth to do not only
+ 73848 [bob.news gmx] "you CAN teach an old dog ..." <email@example.com> schrieb im
+ 73893 [qrczak knm.o] Then changing a method to make the same thing in a different way would no
^ switching multiple interfaces of an object
73844 [batsman.geo ] I've been toying with some code that does what I believe people asking
73862 [ahoward fsl.] very.
73870 [batsman.geo ] [some 51 lines of code]
73873 [ahoward fsl.] lol. that's a *first* for me on c.l.r.! well - ts hasn't responded so
73875 [batsman.geo ] Now, it's really no wonder: as I love toying with singleton classes,
^ Tk canvas widget Id's
73847 [J.P.Fletcher] Is it possible to access the Id's of objects declared within a Tk canvas
73850 [tran55555 ya] item.id # this will return the id of the item
73853 [J.P.Fletcher] O.K. I can make that work and it gives a small integer value. Later I
73856 [tran55555 ya] q = w.find_withtag 'current'
73858 [J.P.Fletcher] Dave
^ DRbObservable : delete_observer ; clients shutdown ?
73849 [jhauss gfi.f] This is a multi-part message in MIME format.
73857 [m_seki mva.b] Please try require 'drb/eq'.
73860 [jhauss gfi.f] Great ("c'est g˝¤ial [French]") !!! Thanks a lot, this time
^ Categories like in Objective-C
73851 [stefan.arent] Hola,
73859 [laurent data] class Array
73865 [stefan.arent] Hmpf. That easy huh?
73902 [androflux so] This is Ruby we're talking about here. Nobody makes you crawl over broken
^ Test::Unit GUI
73864 [john.platte ] I'm planning on doing a lot of test-driven coding soon, so I'm scoping
73867 [djberge qwes] John,
73877 [nathaniel NO] scoping
+ 73881 [djberge qwes] D'oh! That's what I get for not looking!
+ 75045 [gour mail.in] Have you considered to include gtk2 patch for Test::Unit written by Kenta MURATA
75070 [nathaniel NO] I've applied it in CVS under rough/lib/testunit - can someone grab it
75072 [gour mail.in] ggd@gaura:~/program/ruby/testunit-0.1.8/examples> ruby ts_examples.rb --gtk2
75074 [nathaniel NO] Those appear to be warnings caused by the gtk2 extension itself, so
+ 75077 [gour mail.in] First I have to install GTK, but I'll report back.
+ 75080 [gour mail.in] I just checked and it works. Clean - no warnings.
75081 [nathaniel NO] Excellent! Thanks for your help.
^ TCP/IP protocol and Net::HTTP
73869 [n.gilbert so] For almost all web sites, such as www.ruby-lang.org, the code
+ 73909 [scobianchi r] It doesn't time out for me (just tried). I noticed, however,
| 73910 [n.gilbert so] It consistently times out for me. The default timeout time is 60
+ 73918 [alex pressur] Works for me (Thu 19/6 11:00) - a bit slow, but gets there with the default timeout
73924 [J.Hawkeswort] Works for me too.
73931 [n.gilbert so] I am beginning to wonder if this problem arises from the MacOS X
+ 73934 [pit capitain] irb(main):001:0> require 'net/http'
+ 73935 [dave.baldwin] Mixed results for me on 10.2.6 with ruby 1.6.7 (2002-03-01)
+ 73936 [billk cts.co] I ran a tcpdump when executing the
| 73937 [decoux moulo] See also [ruby-talk:66272]
+ 73940 [ jimm io.com] I just tried under OS X and see the same timeout problem.
| 73958 [michael_s_ca] As Guy mentioned, this is a doubleclick issue; they're not responding
+ 73945 [john.platte ] * Mac OS X 10.2.6 / ruby 1.6.7 (2002-03-01) [powerpc-darwin6.0]
+ 73946 [mwilson13 co] My results are below. I am using Mac OS X 10.2.6 and Ruby 1.8p2. I also
+ 73947 [koen.vervloe] I get a timeout too.
^ rubynet-announce Digest, Vol 4, Issue 1
73871 [rubynet-anno] Send rubynet-announce mailing list submissions to
^ syck/yaml fail unit test
73878 [guillaume.ma] I get 2 failures with the unit tests within syck (0.35, from tarball).
73880 [ruby-talk wh] Known issues. Both are encoding issues (UTF-32 and hex escapes in URIs).
73885 [guslist free] I used neither so I can safely ignore the failures. Correct?
^ Usable Windows interactive command shell in Ruby 1.8?
73884 [itsme213 hot] Will 1.8 include a good command-line shell for windows?
73900 [aredridel nb] I imagine not, since for that, just install Cygwin. It's a lot of work
^ Yaml, configuration file and comments
73886 [guillaume.ma] I am using YAML for configuration files, which can be hand edited or
73895 [ruby-talk wh] In YAML, comments are thrown away, so they are not officially supported for a
^ What next after Eclipse?
73889 [ergnosis btc] Apologies for posting here. My reasons are, I believe, legitimate.
73890 [hal9000 hype] Interesting, but it's a long way across
^ rb_protect and longjmp
73891 [sean REMOVEM] Looking for some insight about rb_protect and the longjmp calls.
+ 73906 [matz ruby-la] * you throw your own exception, longjmp.
| 73952 [0bz63fz3m1qt] see the implementation of 'Funcall'
+ 73971 [pbrannan atd] When rb_protect "doesn't return" what does happen? Does your code get
73973 [sean REMOVEM] Well, now I'm trying to determine when it does what. A simple test from the
74172 [pbrannan atd] It's possible that if you are linking against two different ruby
^ question on blocks and iterators
73892 [info mjais.d] at the end is a sample code
+ 73894 [hal9000 hype] class Array
| 73908 [info mjais.d] if
| 73912 [batsman.geo ] & reifies the "implicit block", that is, the one passed as in
+ 73921 [dmertz free.] the each method returns always the calling object, so your each_if returns also
^ Code generation and state machines
73896 [ruby-list ze] I'm starting a project for fun in Ruby, partly to help learn the language.
74011 [bob.news gmx] I'd store the state info in an instance variable of the class instance and
74017 [ruby-list ze] Okay - I understand that. I take it class instance variables are not
74022 [bob.news gmx] This is a multi-part message in MIME format.
^ Class variables in parent and child classes with the same name
73897 [ruby-list ze] Am I misunderstanding something, or can you not give a child class a class
+ 73903 [batsman.geo ] Right, class variables are "tree scoped", meaning that they're accessible
+ 73904 [idan idanso.] You can, however each class shares it's class variable with it's
^ Ruby/Tk update (for Ruby 1.8.x)
73898 [nagai ai.kyu] I commited Ruby/Tk patches. You can get it from CVS head.
^ ###<>>><Largest Loan Program aozi yk
73901 [GovtGrants32] This is a multi-part message in MIME format.
^ Good & cheap mp3 player, USB Flash disk, cd/vcd/mp3 player and digital camera etc
73905 [hytechhk 163] My dear friend,
^ Thread Problems - Random Segfaults
73915 [stefan.arent] I have a thread-intensive application that gives random segfaults. They occur at
+ 73916 [dcarrera mat] I have no idea, but if you send me your program I can test it ona Sun
| 73920 [stefan.arent] Sorry I can't do that. The code is part of a wifi network simulator that we
+ 73917 [decoux moulo] Well, 1.6.7 is known to have problem in some cases, see the thread
73919 [stefan.arent] What does this reference? How do I find this thread :)
+ 73922 [0bz63fz3m1qt] Simon Strandgaard
+ 73923 [decoux moulo] then you select "Thread frame"
+ 73926 [spam deck.dk] there is an archive of this discussion on www.ruby-talk.org
^ Test::Unit: assert in loop ?
73927 [holmberg iar] Sometimes I find it convenient to have some of my unit tests
73929 [mike ratdog.] You can add a message to the assertiom e.g.
73932 [holmberg iar] Thanks !!
^ embed Ruby/TK app in a web page
73928 [J.P.Fletcher] I am looking for a way to embed Ruby/Tk apps in a web page.
73941 [J.Hawkeswort] John,
+ 73944 [aredridel nb] Using the broadway plugin from the X consortium, it should be quite
| 73950 [J.P.Fletcher] Thanks for the idea.
| 73955 [aredridel nb] That's the best reference. It's a start, anyway. It's not a simple
| + 74019 [J.P.Fletcher] Does anyone know of a Broadway plug-in for PC/Windows/Netscape?
| + 74034 [rz linux-m68] iirc Tcl/Tk plugins exist for some browsers, see for example
+ 73951 [J.P.Fletcher] I have a simple test app which does a graph. The full app is an interface to a C++ class wrapped by SWIG, and turned into a dynamic library. I guess that is going to have to run in the server.
+ 73962 [keith_hodges] ...
^ collect info about ruby-api
73943 [0bz63fz3m1qt] I have long been longing for a good description of ruby C api.
+ 73988 [0bz63fz3m1qt] 1) rb_funcall3() what is purpose with it ?
| 73993 [matz ruby-la] It's almost like rb_funcall2() but raises error when it tries to call
| 74005 [0bz63fz3m1qt] class Test
+ 74227 [sdate everes] "Simon Strandgaard" <firstname.lastname@example.org>
74229 [sdate everes] To be more specific, I am on WIN XP Pro, using VC++ 6.0
74238 [0bz63fz3m1qt] Sorry.. I couldn't think of any good cutnpaste-example when I
+ 74344 [sdate everes] "Simon Strandgaard" <email@example.com>
| 74377 [0bz63fz3m1qt] At the bottom there is a link, labeled 'Edit text of this page'
| 74415 [sdate everes] "Simon Strandgaard" <firstname.lastname@example.org>
| 74416 [0bz63fz3m1qt] Can you post the whole program, then I will se what I can do ?
| 74471 [sdate everes] "Simon Strandgaard" <email@example.com>
| 74552 [0bz63fz3m1qt] Ok.. I also commented out Init_stack() because I don't know what it does.
| 74578 [sdate everes] "Simon Strandgaard" <firstname.lastname@example.org>
| 74609 [0bz63fz3m1qt] If you having trouble with it I suggest you spawn a new thread at this
+ 74400 [nobu.nokada ] #3 Init_stack(address)
74409 [0bz63fz3m1qt] I never heard about this before, what does it do ?
+ 74418 [batsman.geo ] The GC of Ruby is conservative: it will scan the stack to find VALUEs.
| 74425 [0bz63fz3m1qt] Sorry I don't understand Nobu's reason to added Init_stack as number 3rd
| 74432 [batsman.geo ] It doesn't register one specific instance, but sets the top of the stack
| 74441 [0bz63fz3m1qt] If I understand you correct, then its a sort of watermark mecanism, where
| + 74443 [decoux moulo] embedding
| | 74554 [0bz63fz3m1qt] I use embedding myself.. I am very curios how/if I can use it?
| | 74605 [decoux moulo] plruby_call_handler() is the entry point for plruby : each time that
| | 74606 [0bz63fz3m1qt] If its a nested request, then Init_stack will only be invoked once (first
| | 74607 [decoux moulo] Yes,
| | 74608 [0bz63fz3m1qt] Wow.. Now I know what Init_stack() does, I feel relieved :-)
| + 74444 [batsman.geo ] ????
| 74448 [0bz63fz3m1qt] I don't understand, so im guessing... as you can see im terrible at it :-)
+ 74477 [nobu.nokada ] Yes, it's an internal but would be necessary to embed (see
+ 74503 [tpeters uni-] Simon, remember how the GC works: Every time it runs, it marks all objects
74551 [0bz63fz3m1qt] Yes I know mark&sweep GC.
74570 [qrczak knm.o] Dnia czw 26. czerwca 2003 22:18, Simon Strandgaard napisa
74595 [0bz63fz3m1qt] OK, I have been told this many times.. What I don't realize is when to use
74654 [qrczak knm.o] When ruby_init() is called from a function whose local variables point to Ruby
^ Weird Fixnum division
73956 [haugwarb che] I'm new to this group but have used Ruby for quite a while now (it's a
73957 [dcarrera mat] I can't replicate your output. It works correctly for me.
73972 [mwilson13 co] I can't replicate your result either. Is there something else going on
74001 [haugwarb che] Yes, I've loaded a module I did'nt know about. The problem was (of course)
^ rescue + stack trace
73965 [orion2480 ho] I am working on debugging a program. I understand how to raise/rescue
+ 73967 [decoux moulo] This ?
+ 73968 [dwerder gmx.] I don't know exactly how it's called, but look in the built in classes
+ 73969 [joaopedrosa ] [dewd@localhost dewd]$ irb
^ Summary: TCP/IP protocol and Net::HTTP
73966 [n.gilbert so] Thanks to all who have run trials and especially to Guy Decoux who
73985 [n.gilbert so] The work around mentioned below does not seem to cure the problem (even
^ [Ruby-Eclipse-Win32] How to install
73974 [STUCKNER MUL] This is a multi-part message in MIME format.
73980 [djberge qwes] That is very strange. By any chance did you have Eclipse already
73981 [STUCKNER MUL] I never really installed eclipse. I just unzipped it and ran it. Is that
+ 73982 [michael_s_ca] *chuckle* I thought that *was* the install for eclipse!
+ 73983 [careylist ad] No, that's how it goes. If you've unzipped the plugin under the plugins
73984 [djberge qwes] No, you're right. There is no "install" script. Try deleting the eclipse
^ [FXRuby] Scrollable frame
73975 [STUCKNER MUL] This is a multi-part message in MIME format.
73976 [lyle users.s] I don't know the specific example you're referring to, but you just want
^ Production Code with Ruby
73977 [place4oracle] I really like ruby it is simple and much like Smalltalk and Perl that I like.
+ 73978 [armin xss.de] for Windows, exerb might do the job.
| 73979 [aredridel nb] You may solve the problem socially instead of technically: make sure
+ 74003 [bob.news gmx] "Warren" <email@example.com> schrieb im Newsbeitrag
+ 74015 [mailinglists] Use
^ ANN: SuperShape 0.0.2 (and comparing GUI toolkits)
73987 [ptkwt shell1] I updated the Tk app that demos the SuperShape extension so that it uses
74037 [ptkwt shell1] ...
^ rescuing errors.. catch-all
73991 [lists debona] Im trying to print all error information to the browser so I don't have
+ 73992 [ahoward fsl.] i think this is good as you can get - Exception is the mother of them all. if
+ 73994 [matz ruby-la] Exception should catch all errors. But rescue does not help, when you
| 74025 [lists debona] would this seem to be a reasonable feature request to make? it would be
| + 74027 [ahoward fsl.] ~ > cat index.cgi # wrap your cgi's in a baby shell script which dups 2 as 1
| | 74028 [lists debona] perhaps with cgi, but I'm using embedded ruby. And I was thinking if
| + 74030 [matz ruby-la] I'm afraid that your request is rb_protect() to catch _everything_.
| 74031 [guslist free] Could there be another form of load that would report parse errors as an
| 74048 [matz ruby-la] begin
| 74342 [guslist free] Oops, my mistake. It does work. I though, after a quick test, that it
+ 74013 [sdmitry lrn.] charset="koi8-r"
74026 [lists debona] thanks, I'll have a look at it :)
^ Re: class X; class << X : what is this idiom ?
73996 [ptkwt shell1] I think that's a pretty close guess...
+ 73998 [dooby d10.ka] That sounds a bit comp.sci :-)
+ 74057 [B.Candler po] Regards,
^ reading ruby source
73997 [sdate everes] I'm making a serious attempt to read and understand the C-source which
+ 74000 [dooby d10.ka] If you can accept the recommendation of someone with 10 minutes
| 74046 [sdate everes] Yes, I will definitely accept this recommendation because it makes sense.
+ 74002 [batsman.geo ] IMHO the source code is quite understandable, the only complicated
+ 74020 [ahoward fsl.] this is incredibly useful info - can we (you, i, somebody) create a wiki page
| 74021 [batsman.geo ] I prefer RubyInterpreterSourceCode, quite verbose but precise. And then
+ 74047 [sdate everes] And eval.c was the first file I tried to read ... no wonder I was
^ urgent help
73999 [jessicalove ] Dear Friend,
^ In 1.8.0 nil.to_s is not the same as ""
74006 [han.holl pri] class Awk < String; end
74009 [nobu.nokada ] Try this patch.
+ 74010 [decoux moulo] You have the same with
| 74012 [nobu.nokada ] I missed the same code just below.
| 74014 [nobu.nokada ] Sorry, this was wrong. rb_to_id() must return ID instead of
+ 74023 [han.holl pri] module Pql
74024 [nobu.nokada ] Sorry, try the patch in [ruby-talk:74014] instead.
+ 74049 [matz ruby-la] Commit the fix, please. I will release preview3 afterwards.
| 74051 [nobu.nokada ] What about the message mentioned at [ruby-talk:74012]? Since
| 74066 [matz ruby-la] "intern" is a canonical name for string to symbol operation in the
+ 74064 [han.holl pri] in `send': interning empty string (ArgumentError)
74067 [nobu.nokada ] * there's an incompatiblity for #intern already, which empty
74008 [supap_a13 ho] This is a multi-part message in MIME format
^ [ANN] DataVision 0.7.9 released
74016 [ jimm io.com] DataVision 0.7.9 is now available from SourceForge at
^ authentication and monolithic fcgi programs
74029 [ahoward fsl.] fastcgi'rs-
^ TypeError: Date is not a class
74033 [phlipcpp yah] I'm learning to use ieController from
74036 [phlipcpp yah] require 'runit/testcase'