126063-130484 subjects 126427-127927

^ extending/embedding ruby (callbacks) [LONG]
126283 [peter.schram] I try to implement an interface for fuse with ruby but fail to a strange
+ 126302 [cmills frees] look
| 126311 [peter.schram] getdir
| 126321 [cmills frees] registered
+ 126408 [decoux moulo] try it with
  126413 [decoux moulo] This is wrong :-(((
  126459 [peter.schram] Yes... that's it. It wasn't ruby's fault at all but some kind of race

^ Why "pre" AND "code" tags in Textile Markup?
126284 [as computer-] I use Instiki and Soks ("Soks rocks." TM by James Britt ;-)) as personal
126293 [mental gmail] I haven't tried what you asked but, I think they actually meant use
126296 [as computer-] Yes ... "code" could is an inline tag and "pre" a block tag. However,
126357 [patrick.spen] I'd like to clarify a few things. The <pre> tag's purpose is to
127027 [as computer-] Thanks for your clarification! So <pre> saves the whitespace (tested in

^ HTML Entitities in Instiki: was Re: [ANN] Soks - Yet Another Wiki
126288 [rhkramer fas] Alex,

^ Proliferation of web frameworks
126292 [carlwork ycs] I don't know about you guys, but I'm starting to be overwhelmed by the
+ 126294 [petite.abeil] Ahhh... choice... choice... so much choice...
+ 126298 [george.mosch] the
| 126303 [mailinglists] But only very few of them are a good choice, and thats a bad thing.
| 126304 [petite.abeil] Why? The fact that there are so much choice, both good and bad, force
| + 126318 [rampant gmai] It might be more productive if there could be a way for people to more
| | + 126334 [carlwork ycs] That was kind of my thought.  Choice is good, but perhaps all this
| | + 126365 [david loudth] Actually, I think many are. I just did a quick count in the changelogs
| + 126344 [sera fhwang.] Some people probably want some help in their decisions, and that's a
| | 126445 [sroberts uni] Yes, the choice may be good - but the lack of docs and lack of summary
| | 126451 [sera fhwang.] All true. So instead of asking people to code less, we should probably
| | + 126458 [alang cronos] I think for some projects it's not a matter of documentation quantity
| | | 126476 [ehames gmail] How about putting up a page in the Ruby wiki stating tha capabilities
| | | 126491 [vanweerd gma] I would expect that someone might have the experience to do this
| | + 126519 [jamesUNDERBA] That's crazy talk!
| + 126389 [theebh gmail] Take a look at the python side of things. The plethora of web
| | + 126407 [zimba.tm gma] There is a difference, I think, in the ruby community. It is that it's
| | | + 126414 [rff_rff remo] well, I think this is actually done by the developer themselves. I.e.
| | | | + 126418 [mneumann nte] Often it's easier to write a new application from scratch then
| | | | | 126421 [petite.abeil] Beside "writing your own" as a learning experience, another thing not
| | | | | 126432 [mcl-ruby-tal] Seems to me that web sites are often highly customized animals, as well.
| | | | | + 126442 [mneumann nte] Yes, exactly. It is fun, and you can learn a lot of things in doing so.
| | | | | + 126520 [jamesUNDERBA] Quite true.  Often  it takes far less time to just write the code than
| | | | + 126539 [zimba.tm gma] IMHO there is no framwork that support that level of protocol
| | | |   126541 [rff_rff remo] I understand this. I nevere felt the need for it, anyway :)
| | | + 126415 [ptkwt aracne] But it appears that the Ruby community is experiencing (or is about to
| | | | 126426 [rff_rff remo] It is a general framework for writing asynchronous stuff, including
| | | | 126430 [aglarond gma] From what I just quickly read on
| | | + 126525 [patrick hexa] I think maybe the writers of the different frameworks should meet
| | |   126537 [george.mosch] I think you are overreacting.
| | + 126791 [martindemell] +1
| + 126404 [bob.news gmx] "PA" <petite.abeille@gmail.com> schrieb im Newsbeitrag
|   126444 [glenn.parker] I think it's pretty pointless to ask the world to stop writing free
|   126455 [bob.news gmx] "Glenn Parker" <glenn.parker@comcast.net> schrieb im Newsbeitrag
+ 126299 [djberg96 hot] the
| + 126300 [petite.abeil] Or writing yet another email client :o)
| + 126373 [rff_rff remo] actually, I think it's worth considering that some of the existing
+ 126376 [john.carter ] Open Source Development moves very slowly, but on a very broad front.

^ The IP of a XMLRPC-Caller
126305 [hen_WEG_dami] is there any way to get the caller's IP in my XMLRPC-method?
126326 [slr2777 cs.r] I don't know the answer to this, but I would also like to know. But I'm curious
126331 [djberg96 hot] I'm curious
126394 [hen_WEG_dami] That doesn't help me, though, because I have to connect to the caller to
126447 [sroberts uni] Have the caller tell you his IP?
126602 [hen_WEG_dami] That's a possibility, but the caller probably sits behind a NAT so he

^ Re: Segfault in timer.rb (segfault: message 13 of 20)
126308 [junkblocker ] +segfault+ruby-talk+d8ad413ff4.segfault.ruby-talk#spamgourmet.com@spamgourmet.com
126312 [decoux moulo] With such a name, ruby can only segfault and it do this just to be

^ Mutable strings
126315 [mystifier us] charset="us-ascii"
+ 126317 [halostatue g] "Foo Bar".to_sym
+ 126325 [cmills frees] trying to
+ 126346 [mailing-list] Python has immutable strings.  If you want 'em, use Python.
| 126391 [mystifier us] Dear Charles,
| + 126448 [flgr ccan.de] They are mostly immutable. I'd still consider them value objects. In
| + 126452 [halostatue g] Um. That's not the same at all. Symbols themselves are immutable.
|   126457 [mystifier us] Dear Austin,
|   126461 [halostatue g] Yes. The intrinsic value of a symbol is immutable -- and it doesn't
|   126464 [bob.news gmx] "Austin Ziegler" <halostatue@gmail.com> schrieb im Newsbeitrag
|   126466 [mystifier us] It says that immutable string class is necessary in VM because instead of
|   + 126469 [decoux moulo] Read this message [ruby-talk:113107]
|   | 126471 [mystifier us] Thanks.
|   | + 126473 [decoux moulo] Mailing list post, see
|   | + 126474 [transami run] Mailing posts I would think though I sure would like it if an actual link was
|   |   126478 [mystifier us] Uff! I did it again. Need to go to school back!
|   + 126501 [mailing-list] Ruby doesn't have an immutable string class, that's final.  Ruby has a
+ 126406 [bob.news gmx] "Mystifier" <mystifier@users.berlios.de> schrieb im Newsbeitrag
+ 126453 [halostatue g] All the time.
+ 126504 [drbrain segm] $ ruby

^ Where to install non-ruby files in ruby module
126319 [dan eparklab] I am creating my first rbuy app - porting FPDF (PHP used to create PDF
126327 [halostatue g] I have actually ported Cpdf to PDF some time back. It's PDF::Writer.

^ Mozilla binding
126320 [alex.martin ] Anyone knows if it exists some Ruby binding to Mozilla?
126324 [pabs pablotr] There's a gtkmozembed binding on RAA at
+ 126330 [rb raphinou.] I can only recommend using Ruby with the QtBindings if you can use it.
| 126384 [jeffrey.dik ] As far as I know, there aren't any ruby bindings to Mozilla.  However,
| 126405 [alex.martin ] I did before the post, but it seems to be abandonware.
+ 126436 [alex.martin ] It could be a good way.

^ [Q] Web Testing in Ruby
126332 [laurent__nos] Sorry if this question has already been asked 200 times... I'm trying
+ 126335 [alex verk.in] First of all, there is Net::HTTP library in the Ruby standard library
+ 126337 [stevetuckner] I am currently working on one (when time permits). My idea is to use a
  126338 [rasputnik he] did you find webunit? it's designed to allow unit testing of webapps, but
  + 126339 [alex verk.in] To clarify: the test framework available in Rails is very
  | 126340 [rasputnik he] Does this not do what i think it does then?
  + 126348 [stevetuckner] After downloading webunit and taking a quick look (thus all my
    + 126363 [eero.saynatk] Don't want to sound like a fanboy, but www.narf-lib.org has a
    + 126416 [rasputnik he] You've already got further than me then :) I installed it a while back but

^ Seeing a definition
126333 [pete petta-t] Is there a way to get Ruby to print the definition of a class or method,
126341 [halostatue g] Not without some parsing of the text involved as it's being handled or
126358 [pete petta-t] So does Forth (sorry to be referring to such an obscure language, but

^ Re: Web Testing in Ruby
126336 [djberg96 hot] browser
126345 [kohljonathan] There is Chris Morris' IEC and the new Watir library. Currently both
+ 126349 [kohljonathan] page by sending messages to objects."
+ 126379 [jim weirichh] I just stumbled across watir from a posting on Brian Maricks blog and am
  + 126381 [alex verk.in] For a non-MS based solution, there is an OSS project by some
  + 126390 [kohljonathan] <snipped>
  + 126393 [bret pettich] We have plans for just this situation.
  | 126496 [nathaniel ta] Couldn't a client-side HTTP proxy be used to remove the need for
  | 126733 [bret pettich] We've built at least one prototype for this and have been discussing other
  + 126514 [patrick hexa] ~ Patrick
  + 127870 [cjs cynic.ne] I've got a simple little framework that I use for testing my web-based

^ ruby-gnome2 : problem with signal "insert-text"
126343 [no in-your-d] i have a problem with the signal "insert-text", the signal was
+ 126429 [mcl-ruby-tal] Are you sure? insert-text should be getting called for every text
+ 126434 [peter.stuifz] widget.signal_connect_after("nsert-text") do
  126454 [no in-your-d] Thanks.
  126538 [no in-your-d] Humm, after many test, I see my code is executed immediately.
  126554 [mcl-ruby-tal] I've never noticed any sort refresh issues with the text
  126564 [no in-your-d] It don't work.
  126569 [mcl-ruby-tal] Do you have a short working example that demonstrates
  126574 [no in-your-d] #!/usr/bin/ruby1.8
  + 126587 [mcl andsofor] I guess in this case update_window isn't going to have an effect because
  + 126591 [joaopedrosa ] require 'gtk2'
    + 126597 [joaopedrosa ] require 'gtk2'
    | 126607 [no in-your-d] 2.times{
    | 126610 [joaopedrosa ] No problem. :-)
    | 126616 [no in-your-d] buffer.signal_connect_after('insert-text') do |a,iter,text,length|
    | 126617 [joaopedrosa ] Cool. :-)
    | + 126618 [no in-your-d] So you're the developper of aeditor ?
    | | 126620 [joaopedrosa ] It's not professional and I do not want to release it to the public in
    | | 126623 [no in-your-d] Hum good :-)
    | | 126801 [peter.stuifz] this is kinda weird, I'm trying to develop an editor, too. But instead
    | + 126805 [ruby-lists l] take a look at ruvi. and gruvi.
    + 126605 [no in-your-d] Thanks.

^ Method Dispatching
126347 [transami run] I've touched on this before with the idea of a "pre" method missing, but it
126368 [matz ruby-la] It is too low level for AOP.  It is difficult to manage multiple
126375 [transami run] Good points. Although I point out that what I'm working on is the low-level

^ [ANN] Tar2RubyScript 0.4.3
126351 [pan erikveen] Tar2RubyScript 0.4.3 is released!

^ [ANN] RubyScript2Exe 0.3.1
126352 [pan erikveen] RubyScript2Exe 0.3.1 is released!
126355 [flgr ccan.de] Thanks a lot for adding this! Can absolute paths be used?
126366 [pan erikveen] fromfile = File.expand_path(dll, fromdir)
+ 126367 [pan erikveen] I want a better newsreader! Now! The only handicap of Pan is
| 126371 [flgr ccan.de] Came through just fine for me on two lines. (Mozilla Thunderbird)
+ 126751 [horacio.lope] So can I use this to bundle a Windows XP manifest file?
  126757 [pan erikveen] All files in RUBYSCRIPT2EXE_DLLS are copied to the directory in

^ system? exec? fork? thread?  Help managing external process
126361 [chris.mcmaho] I'm new to Ruby and I need some help with managing an external
126370 [billk cts.co] system ("start C:\\filewatcher.exe file_to_be_handled_by_outside_process.txt")
126387 [mcl-ruby-tal] IO.popen perhaps? That would allow you to read or write directly to
126396 [vjoel PATH.B] Just doing the system call in a thread works on windows,

^ DRb: Using an existing auth mecha
126369 [kig misfirin] Is there a (easy) way to use existing authentication mechanisms with

^ Re:
126380 [johnwilger g] Why on earth would you want to do that? ;-)

^ [ANN] EasyPrompt 0.1.0
126388 [sera fhwang.] I've just released EasyPrompt 0.1.0, the initial release of a new

^ A patch for irb, where to submit?
126392 [csaba phony_] I hacked irb/completion.rb such that now it does filename completion (not
+ 126397 [vjoel PATH.B] I wonder if it is possible to restructure completion.rb so that instead
| 126422 [csaba phony_] Well, as for now you can require 'irb/completion' and the completion
| 126468 [vjoel PATH.B] I didn't even remember saying that until I looked it up on google, and
| + 126472 [transami run] It has certainly been said before. Who originated the statement I do not know.
| | 126497 [vanweerd gma] Ruby has been described as a dialog of lisp, with infix notation.
| + 126558 [csaba phony_] Well, that certainly couldn't make it into my "qoute of the week" even if
+ 126425 [mcl-ruby-tal] Wow. I've never had method-name completion until I read this post and thought
| 126440 [csaba phony_] I'm glad to have at least one user :)
+ 126485 [discordantus] Thank you! I have missed the filename completion ever since I turned
+ 126505 [drbrain segm] ruby-core@ruby-lang.org
  126560 [csaba phony_] Ah, thx.

^ request for times, step, upto...
126400 [botp delmont] 1. I am a Integer#times fan :-) So you see my (and my kids) nuby codes
+ 126402 [transami run] Whether these make it into Ruby core or not (I'm all for it) I will definitely
+ 126409 [bob.news gmx] "Peña, Botp" <botp@delmonte-phil.com> schrieb im Newsbeitrag
| 126417 [pit capitain] I thought he just wanted to change the values passed into the block. Instead of
+ 126423 [kristof vlee] I agree that Integer#step looks a bit odd.  The most
  126530 [botp delmont] //> "Peña, Botp" <botp@delmonte-phil.com> schrieb im Newsbeitrag

^ Duck Typing and automated Conversions
126411 [bob.news gmx] conversion of method parameters seems to be a quite common scenario,
+ 126419 [pit capitain] Interesting idea. I think it's very readable.
+ 126420 [dblack wobbl] I personally don't like the '.' notation used for anything other than
| + 126424 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
| | 126435 [dblack wobbl] def obj.times(&block)
| | 126441 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
| | 126446 [dblack wobbl] I thought that their main purpose was to be defined on objects that
| + 127872 [cjs cynic.ne] I don't see why there would be a need to add documentation indicating
|   127888 [bob.news gmx] "Curt Sampson" <cjs@cynic.net> schrieb im Newsbeitrag
+ 126428 [kig misfirin] Not to argue against possible syntatic sugar, but you can already do
| + 126433 [bob.news gmx] "Ilmari Heikkinen" <kig@misfiring.net> schrieb im Newsbeitrag
| + 126437 [dblack wobbl] silly_example("hi", 1, "hello", 2)
|   126438 [kig misfirin] Could argue that it's wanted behavior.. "if you want to hack this
|   126443 [dblack wobbl] You asked whether you could already do what Robert was proposing, by
+ 126439 [rff_rff remo] Yes, one. See RCR 280, add this, and you get quite far in replicating
| 126449 [bob.news gmx] "gabriele renzi" <rff_rff@remove-yahoo.it> schrieb im Newsbeitrag
| 126456 [rff_rff remo] Yes, I did not intend to say they implicate each other in some way, It
+ 126460 [itsme213 hot] I like this, and believe it can be generalized to be quite broadly useful.
| + 126462 [transami run] I think this is the problem with your suggestion. You want to put a lot of
| | 126467 [itsme213 hot] I think it is better to consider the proposed functionality separately from
| | 126508 [flgr ccan.de] I fear I'm not smart enough to understand all this pattern matching
| | 126529 [itsme213 hot] Looks like it uses eval, which only takes a string, so I'm not sure ... Do
| | 126561 [flgr ccan.de] Mostly. But you would need to initialize the variables x, y and z to nil
| + 126463 [bob.news gmx] "itsme213" <itsme213@hotmail.com> schrieb im Newsbeitrag
|   + 126465 [itsme213 hot] def f (str.to_str, count.to_int)
|   + 126475 [itsme213 hot] The fact that String#to_str returns self, and Fixnum.to_int returns self, is
|     126487 [bob.news gmx] "itsme213" <itsme213@hotmail.com> schrieb im Newsbeitrag
|     126493 [itsme213 hot] self,
|     126548 [bob.news gmx] "itsme213" <itsme213@hotmail.com> schrieb im Newsbeitrag
|     + 126576 [itsme213 hot] The property is not central to either proposal, imo. I'm interested in what
|     + 126582 [itsme213 hot] private_obj = ...
+ 126479 [discordantus] I could count on one hand the number of times I've converted arguments
  126488 [bob.news gmx] "Mark Hubbart" <discordantus@gmail.com> schrieb im Newsbeitrag
  126512 [discordantus] I think I probably was somewhat unclear in my other post. I wasn't
  126550 [bob.news gmx] "Mark Hubbart" <discordantus@gmail.com> schrieb im Newsbeitrag
  126556 [dblack wobbl] $ grep '\.to_str' `find . -name "*.rb"` | grep -v to_string | wc -l
  + 126573 [itsme213 hot] def meth (a, b = a.join(","))
  | 126578 [dblack wobbl] Yes -- a big difference, in my view.  Mainly I meant that there's is,
  + 126721 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
    126731 [dblack wobbl] I would tend to want to match /\.to_\w+/, though I guess some things
    126839 [bob.news gmx] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag