15471-15895
15235-15829 subjects 15676-16111
^ RCRs?
15471 [szegedy or.u] Is the RCR list publicly readable?
+ 15477 [neumann s-di] I am neither Dave nor Matz :-)
+ 15478 [Dave Pragmat] Yes. There are a set of pages starting at
^ Jusritic question
15472 [szegedy or.u] If I create some commercial application, is it allowed to link
15488 [matz zetabit] Yes, but it should follow at least LGPL (which covers regex.c), so
^ Ruby catching error signals
15474 [elanthis use] Is there a way to get Ruby not to catch error signals like sigsegv and such? I'd prefer to handle everything my way, since there are certain actions that have to be performed on a crash in my app (remove lock files and the like).
15489 [matz zetabit] use trap("SEGV"){...} or call signal(2) after Ruby initialization.
15504 [elanthis use] Well, that's simple enough. I really should stop being lazy and start trying the obvious stuff before asking the list. Thanks Matz! ^,^
^ stdin/stdout 'name' ?
15476 [buter CWTS.L] is there a standard 'stdin' and/or 'stdout' "name", e.g. the '-' in perl? I
+ 15481 [Dave Pragmat] You can use STDIN, STDERR, and STDOUT as file objects connected to the
| 15483 [buter CWTS.L] Hmmm... I think I was a bit unclear in my request. What I meant was; are
+ 15484 [ljohnson res] but
^ Anyone use dyld?
15485 [b redhookgro] Has anyone on the list had to do any work with dyld at all? I have a
^ rdtool: how to add images?
15487 [Milan.Gardia] is there a possibility to add images to the rdtool-generated documentation?
15548 [toshirok yb3] You can. But the method is a little troublesome.
^ ranges & case
15490 [ms iastate.e] We don't have open-ended ranges; is it possible to accurately express
15491 [decoux moulo] If you don't want if ... elsif
15492 [ms iastate.e] Ah. Hadn't thought of a naked-case like that. But since it doesn't
15509 [jkaurin home] def func1(p)
^ One for the FAQ
15493 [mattbee soup] ./rotoproxy:86:in `initialize': wrong # of arguments(2 for 0)
15494 [Dave Pragmat] I've added it to http://www.rubygarden.org/ruby?SpellingInitialize.
+ 15495 [spwhite char] I've always wished "new" and "initialize" were the other way around.
+ 15497 [matju sympat] The purpose of #initialize is to initialise.
^ require doesn't seem to search $: on Win2K
15496 [ndrochak gol] (LoadError)
+ 15499 [benjubb symp] i was just about to post a query regarding this problem, so i'll just provide a few more details...
| + 15515 [nick jobdrag] Ben,
| + 15545 [ndrochak gol] Ben,
| 15546 [Dave Pragmat] I know nothing about IIS. However, does it somehow override the path
| 15553 [benjubb symp] i got version 1.1.6 of cygwin1.dll in ruby\bin, and i don't have a cygwin\bin. also, to your previous question: i don't know what the second %s in the IIS
+ 15500 [wayne.blair ] I'm running on windows 2k and require 'cgi' works fine. I get slightly
^ mysql-ruby-2.3.2a with mysql-3.22.32 ?
15498 [the-master-o] I a trying to compile mysql-ruby 2.3.2a with ruby 1.7 and mysql 3.22.32
^ StringBuffer IO Class
15501 [wayne.blair ] Is there a built in or has anyone developed a string buffer stream class as
15519 [matz zetabit] Here is realcode for what you want to do. ;-)
15536 [wayne.blair ] Thanks, matz.
^ Anyone wants to take over the Ruby/Carbon project?
15502 [cyberelf mac] Due to time constraints, I'm not able to continue working on the Ruby/Carbon
^ ftp client
15506 [todd designs] Where can I get code for an FTP client for windows?
15507 [Dave Pragmat] implements a client, but doesn't have the user interface.
^ net/ftp
15508 [todd designs] why doesn't his code work ?
+ 15517 [jkaurin home] You need
+ 15518 [matz zetabit] Try "Net::FTP", "class FTP" is surrounded by "module Net".
^ ruby methods and attributes
15510 [dthiel nexpr] I'm just working on learning ruby, and was trying to write a simple
+ 15513 [matju sympat] You use the class methods "attr", "attr_reader", "attr_writer",
+ 15514 [vjoel path.b] Outside of the object's namespace, you can't use @socket,. You have to
^ Tk Bitmaps
15511 [jkaurin home] The following code works when I use a bitmap from the Ruby Tk demos kit
+ 15522 [rise knavery] MS Paint creates a "Windows Bitmap" which is a different file format. The
| 15604 [jkaurin home] Is there a list of supported graphics formats for Ruby Tk? I was unable to
| 15607 [matju sympat] * XBM (indexed 1 bpp)
+ 15523 [jkaurin home] Ok, I put the patch in. I upgraded to the 1.6.3-1 and forgot, but the same
^ Newbie GC question
15512 [ashley.DONT ] I have a question regarding the Ruby GC and strings vs. symbols. I'm
15520 [matz zetabit] No. GC does not reclaim "unreferenced" symbols (because I couldn't
+ 15524 [patrickdloga] Lisp systems have traditionally had a function (often called GCTWA) in order
| 15531 [matz zetabit] Intersting. But recent Lisps like Common Lisp or Scheme seem not to
| 15542 [patrickdloga] order
+ 15525 [ashley.DONT ] OK, thanks for the reply matz. I will stick with symbols for now... I
15527 [matju sympat] It's closely like the # in SmallTalk. It is a very constrained version of
15532 [ashley.DONT ] Yep. "..kind of like...", but not quite the same :^) Internally, my
^ Perl's quotemeta in ruby
15526 [matt lickey.] 1) Is this the best way to implement Perl's quotemeta in Ruby?
15530 [matz zetabit] see above answer.
^ new xmp - please test
15533 [wayne.blair ] I modified xmp.rb to fix the bug declared in its documentation, in which the
+ 15534 [wayne.blair ] I modified xmp.rb to fix the bug declared in its documentation, in which the
+ 15535 [wayne.blair ] Sorry for that brutal first post. In any case, I modified xmp.rb to fix the
15557 [wayne.blair ] Somehow I messed that last one up trying to polish things off. Sorry I sent
^ Do you have Standards Committee in your language?
15540 [Just_Curious] All,
15556 [comp.lang.ru] Is this a request to do someone's coursework assignment? I ask only
^ net/ftp (again)
15541 [todd designs] require 'net/ftp'
15544 [Dave pragmat] Hmm. I just ran this under NT and it works fine.
15895 [todd designs] What if I don't have 'strace'?
^ file browser
15543 [todd designs] Does anybody know where there is code for a windows file selection box,
^ FW: evolving lisp
15547 [wayne.blair ] Thought you might find this interesting.
^ ColdFusion for Ruby
15549 [mdinowit i-2] I don't currently use Ruby. To tell the truth, I have no real reason to. I'd
+ 15554 [wayne.blair ] Here is a quick and dirty method to create ColdFusion type tags in an
| 15565 [wayne.blair ] Man, I'm always sending rough drafts instead of what I intended. Hope this
+ 15555 [comp.lang.ru] Why do you want eruby to change in such a way? It already has
| 15559 [mdinowit i-2] I'm not only looking for me. I'm kind of a leader in the CF community and
| 15560 [avi beta4.co] I'm not sure I understand how you're proposing to mix CF syntax and Ruby
| + 15562 [perkins99 ho] YES!!!!
| + 15563 [mdinowit i-2] The first reply I got suggested such a clone. That's what I'm going to
+ 15580 [shugo ruby-l] Your idea is interesting, but distant from the concept of eRuby.
15584 [mdinowit i-2] If I was that good a low level programmer I would. I've got the language
15589 [neumann s-di] I think it wouldn't be that hard, to write a XSLT stylesheet that transforms
^ array.last and array[array.size - 1] not equivalent?
15550 [colin webg2.] a = ['a', 'b', 'c']
+ 15551 [avi beta4.co] Well,
+ 15558 [knu iDaemons] Apart from the issue, you can use a[-1] for a[a.size - 1].
^ array.last and array[array.size - 1] not equivalent?
15552 [colin webg2.] No. Just from the intuitive standpoint - least surprise principle -
^ ANN: Facet - Ruby Web Application Framework
15561 [b redhookgro] FACET -- RUBY WEB APPLICATION FRAMEWORK
^ Cleaning up a 'gmake install'
15564 [erikp neumob] I recently installed 1.6.3 in a different place than my 1.6.2
15566 [matz zetabit] Unless you're using installer package like deb, rpm, or installshield,
^ detecting dead sockets?
15567 [dthiel nexpr] This is a multi-part message in MIME format.
15572 [Dave Pragmat] How about
^ mod_ruby
15568 [waisun.chia ] I've just discovered Ruby and it's great!
15570 [dthiel nexpr] Yup - http://www.modruby.org/
^ I like ruby-chan ...
15569 [rob carolnro] Ruby is more human(e) than Python. We already have too many animals :-).
+ 15571 [glen enabled] Rubi-chan (notice the Japanese spelling) is cute! A perfect mascot if
| 15573 [hal9000 hype] I also think the Rubi-chan logo is cute.
| + 15574 [dthiel nexpr] My vote is for the Kinglet. Cute or not, it's a darn good logo. Ruby-chan
| + 15575 [jim freeze.o] From my perspective, a 'cartoon' mascot makes it more
| + 15576 [dthiel nexpr] What would one have instead as a mascot? A photo of a Kinglet? :)
| | 15577 [jim freeze.o] ...man I don't know. I've seen a lot of discussion on this and
| + 15578 [waisun.chia ] Hmmm...reminds me of yet another cartoon mascot.. ;-)
| 15579 [jim freeze.o] a cartoon caricature of the girl Ruby.
+ 15629 [furifilo901 ] I still like the ruby laser...
^ shopping cart in Ruby?
15581 [armin approx] Dear Rubists,
^ how to get UTF representation of a string?
15582 [tjabo unix-a] I want to habe the UTF code of a String, "Äðfel" for example. The first
15586 [matz zetabit] First, make sure the target string really in UTF-8, then try "U*" template.
^
15583 [aleksei.guze] 1. Where could I obtain i586-mswin32 source from?
^ -lX11 error installing Ruby
15585 [erichey2 hom] I installed Ruby successfully once (./configure - make - make install), but
15590 [decoux moulo] You can run configure with some options. For example for tcltk you can
+ 15640 [erichey2 hom] I'm stumped. I tried various configures, but none allow the final ruby
+ 15648 [decoux moulo] Apparently this is like if configure was run with the switch
15657 [erichey2 hom] Done - same result.
+ 15666 [ljohnson res] Collins,
+ 15694 [eban os.rim.] ===================================================================
^ Parse error: if (this[x] == this[y] == this[z] and this[x] != '') ?????
15587 [cams89 hotma] if (this[x] == this[y] == this[z] and this[x] != '')
15591 [decoux moulo] Not valid, ruby don't understand 'a == b == c'
15596 [ms iastate.e] Hmm. I would have expected it to always return false, but not balk at
15597 [ms iastate.e] Whoops - sorry, newsgroup lag. I didn't see the intermediate responses
^ Chomp customization
15588 [jim freeze.o] I am working with files that can have either a DOS
^ Re: Parse Error
15592 [szegedy or.u] I would have almost answered the same.
15593 [decoux moulo] (a == b) == c is not a runtime error
15594 [benjubb symp] but its not even a runtime error. (1 == 1) == 1 evaluates as false, as it should (true != 1).
15595 [szegedy or.u] Obviously, it is better this way, but still a surprise for me...
^ Haiku and Ruby...
15598 [john johnkni] For me haiku honors both ruby's Japanese ancestry and the art of
+ 15685 [hal9000 hype] Actually, I've thought of the same thing.
+ 15788 [wayne.blair ] Dirt is rubbed away
^ Language specification reference
15599 [llothar mail] because i want to write a tool for ruby
15608 [sma 3plus4.d] I'm afraid, the only complete reference for Ruby's grammar is the YACC
+ 15611 [sma 3plus4.d] Bad style, I know... but this tiny ugly script can extract the BNF
| 15613 [glen enabled] Stefan.
| 15614 [acme astray.] One of the the most recent crazy things I've done is to try to rewrite
| 15620 [sma 3plus4.d] you use Perl (besides the obvious idea to embedd our Ruby system in
+ 15667 [llothar mail] Thanks, grammer is an imporant part but whats about
15669 [matz zetabit] Beware. parse.y is a dark side of Ruby source (along with eval.c). ;-)
^ multisend?
15600 [dfan harmoni] I frequently find myself wanting to take, say, the five matches
15619 [neumann s-di] Why not just use Enumerable#collect ?
15668 [dfan harmoni] Because I want to apply different methods to each member of the
^ How to avoid spelling mistakes of variable names
15601 [ndrochak gol] Since Ruby does not require a variable to be declared, do people find
+ 15603 [Dave Pragmat] Actually, this is not quite a true statement.
| 15605 [jim freeze.o] fred = 1
| + 15606 [Dave Pragmat] Umm, it does next time you try to use it. And if you don't use it,
| | 15609 [aaron hinnis] Actually it would matter if you had already used bert... then mistyped it,
| | 15610 [Dave Pragmat] Yes, that's true.
| + 15647 [benoit.cerri] I use an editor which has an autocomplete functionality, this together with
+ 15612 [aaron hinnis] These sorts of problems happen less often than you might think. When they
| 15638 [ndrochak gol] I am sure unit testing, especially with a dedicated framework, goes a
| 15651 [max malva.co] I don't remember when this happens to me last time.
+ 15649 [max malva.co] Use a good editor. ;-)
15652 [waisun.chia ] Pardon my ignorance, but how do you do that in vim?
15656 [max malva.co] Using CTRL-P and the friends. See :help ins-completion.
^ Interactive Ruby II
15602 [mlang home.d] I am new to ruby, writing code in Perl/Python/C since about 4 years.
15637 [matju sympat] Let me define both parts, Model and View.
+ 15650 [max malva.co] [ MVC pattern skipped ]
+ 15658 [mlang home.d] [.MVC.]
^ help attr_reader
15615 [baasad quali] am very new to ruby...and am trying to use attr_reader to create the
15616 [jim freeze.o] You need to define initialize
15617 [baasad quali] I initialize it and it worked ... but when can I use the attr_reader as a
+ 15618 [jim freeze.o] You could do something like
+ 15621 [aaron hinnis] attr_reader, attr_writer, and attr_accessor are shortcuts for creating
+ 15622 [sma 3plus4.d] attr_reader :x
15624 [ms iastate.e] Well -- I'm sure it was a typo, but the writer would be x=(x), not
15634 [sma 3plus4.d] Yes, that was a typo - thanks - and no, you don't need to add
15636 [ms iastate.e] Ah. Something like "def x @x end" gave me a parse error once, so I
^ $& works -- md[0] does not
15626 [ng zabelt.ne] 08:File.open('/var/log/online') do |f|
+ 15627 [ser germane-] If there is no match, md (and $&) will be nil... but you're trying to
+ 15641 [matz zetabit] Try
^ more fun with TCPServer
15628 [dthiel nexpr] I think there must be some kind of strange threading voodoo going on - I
15631 [Dave Pragmat] In this scheme, what happens if one use stops receiving the stuff you
15632 [dthiel nexpr] I put a couple puts statements in the loop, at the beginning and after the
15664 [decoux moulo] No, with your source :-)
+ 15670 [waisun.chia ] I was trying the code out but what is this "User" class??
+ 15671 [decoux moulo] See [ruby-talk:15632]
+ 15679 [dthiel nexpr] Doh! Thanks! Didn't mean to imply it was a problem with ruby, I'm just a
^ Re: Erlang
15630 [matju sympat] I don't know much about Erlang but wouldn't it be much like each "thread"
15643 [patrickdloga] More or less. Yes, each "process" in Erlang is "shared nothing" with other
^ Q: Function modification/Procedures
15633 [daishi cs.be] I'm wondering what the right way to do the following in Ruby, expressed
+ 15635 [Dave Pragmat] You can use '[]' as an alias for call, so something like
| + 15644 [matz zetabit] Because "ultimate.answer(42)" is considered as "invoke method `answer'
| + 15689 [daishi CS.Be] Thanks for the reply.
| 15697 [matz zetabit] Hmm, why did you inherit from Proc? Your Adder has nothing related to
+ 15642 [matz zetabit] You need "funcall" if you're using Lisp (except Scheme). ;-)
^ worldgeeks.org
15639 [hlva yahoo.c] Someone asked a while back about web sites written in Ruby. I was
15653 [todd designs] Is a site built in ruby generally faster or slower than one built in Perl or
15673 [hlva yahoo.c] For now at least, the answer seems to be slower. All I can really speak
^ Ruby mysql strangeness
15645 [Dave Pragmat] log.puts "Updating entry at #{posn}"
^ Disabling stderr
15646 [tspilman hom] Is there a way to keep Ruby from sending exception info to the stderr
15662 [jj5412 earth] nulFile = File.open('nul', 'w') # UNIX: nulFile =
+ 15663 [jimm eris.io] Untested answer: try assigning to $stderr and $stdout (global variables)
| 15672 [jj5412 earth] That takes care of the error about assigning to a constant (oops), but still
+ 15763 [tspilman hom] Actually i've been perusing the source to the ruby parser and found that
+ 15765 [tspilman hom] I've got a adequate fix that will work for me for now, but i'd really
| 15768 [matju sympat] Why don't you do STDERR.reopen "/dev/null","w" ?
| 15771 [tspilman hom] Yea reopen would be the better way if that were the method i'd chosen.
+ 15766 [decoux moulo] Just use rb_eval_string_protect()
15770 [tspilman hom] I wasn't aware of 'rb_eval_string_protect' and it seems that when it's
^ copy and paste ruby code under windows
15654 [ng zabelt.ne] I have a Unix Server and a Windows client here. The server has a
+ 15661 [Dave Pragmat] Did you know the source code is available for download at
+ 15665 [Torsten.Hilb] The HTML file contains a lot of non-breakable space (&nsp;) which are
^ Config file
15655 [max malva.co] I think about a configuration file for my utility.
^ putc ?.
15659 [ng zabelt.ne] aFile ¨Âéìå®îå÷¨¢ôåóôæéìå¢
15660 [decoux moulo] ASCII code for the character '.'
^ Having our cake, and eating it too
15674 [jj5412 earth] Would it be possible, sometime in the future, for Ruby to try a .rb
+ 15675 [glen enabled] Why not just write a small sh wrapper script to check if the filename
+ 15677 [bernie bould] I have trouble with the emacs syntax highlighter with both
15701 [max malva.co] ruby.vim works perfect for me. ;-)
threads.html
top