43611-44681

43530-44138 subjects 43893-45166

Powered by Ruby (logo)
43611 [davey@it -e ] Hey,
+ 43612 [transami@tr ] ...
+ 43616 [Jean-Francoi] This one is very nice. I keep it for my site :->
+ 43617 [nobu.nokada@] I found some of them are still accessible.  Although they are
+ 43621 [sean@ch tt n] Actually, I believe I've collected every "Powered By" for Ruby.
| + 43647 [ser@ge ma e-] Sean,
| | + 43649 [james@ru yx ] James
| | | + 43695 [ser@ge ma e-] James, you rock.  Hm.  I have another friend named James who also,
| | | | 43703 [james@ru yx ] Thank you.
| | | + 43701 [nobu.nokada@] powered_eruby.png isn't mine, but made by Mr Tenmei
| | + 43656 [dblack@ca dl] I don't know -- sometimes I think it's more a matter of generating
| | | 43696 [ser@ge ma e-] Heh.  Interesting thought.
| | + 43666 [sean@ch tt n] Sure, just don't shoot me when I miss one.  :~) I'd like to convert
| + 43658 [hal9000@hy e] <davey@its-explosive.net>
+ 43623 [tobiasreif@p] nice logo, but this
| 43661 [davey@it -e ] OK, Just for that....
| 43717 [ser@ge ma e-] SVG.  :-)
| 43721 [james@ru yx ] And ASCII art. :>
| 43728 [davey@it -e ] - Davey
| 43730 [james@ru yx ] Wiseguy.
| 43785 [web2ed@ya oo] Awesome logo!  I've waiting for this for months...great job!
| 43788 [davey@it -e ] Is that for me?
+ 43626 [dossy@pa op ] Very nice.  Glad you replaced the red diamond with the

Ruby Xlib wrapper updated to use latest SWIG
43619 [derek@hi gr ] I have just updated my ruby-xlib-wrap project. It is a C-wrapper
43634 [lyle@us rs s] Thanks for the thanks ; And to give credit where credit is due, Brett
43653 [vor_lord@ho ] And thank you Lyle... but actually Craig Files did most of the work on the
43655 [lyle@us rs s] Whoops, you're right of course. I take back those nice things I said

rubymagick problem
43630 [engard@al .h] I am trying to work with some images using rubymagick. The problem is
43786 [list@NO PA c] Same here, Debian too.
44100 [engard@al .h] Anyway, I have installed imagemagick, and solved the problem with some

ipv6 on MacOSX (Was: Re: Make fails with missing header file (OS X))
43633 [urban@oo s. ] It seems that the ./configure --disable-ipv6 was necessary on MacOSX. If

Tk configuration issue
43635 [phlip_cpp@ya] color = @myColor
+ 43637 [Dave@Pr gm t] Yes. There's  a three sentence warning about it here (in Setting
| 43641 [harryo@zi .c] In an example such as Phlip gave, it would be nice to be able to pass a value
| 43650 [phlip_cpp@ya] Thanks Dave - the Bookmarks are set...
+ 43659 [mghall@en er] Is there any work being done to bring the syntax more towards Ruby?
  + 43665 [phlip_cpp@ya] line = TckLine.new(canvas, x0, y0, x1, y1).
  | 43673 [vjoel@PA H. ] line = TckLine.new(canvas, x0, y0, x1, y1)
  | 43682 [phlip_cpp@ya] A TkCanvas has sufficient performance issues that one hesitates to
  + 43765 [jeanfrancois] line = TckLine.new(canvas, x0, y0, x1, y1,"fill"=> color, "width"=> 3)

digest/md5 problem when using Net::SMTP
43643 [hgs@dm .a .u] If I use the Net::SMTP module I get
43669 [sean@ch tt n] It's odd that md5.so isn't in a digest directory.  I'd suggest
44078 [hgs@dm .a .u] Yes.
44080 [decoux@mo lo] Verify when you compile ruby, that it make the extension ext/digest/md5
44085 [hgs@dm .a .u] [ output was trimmed....]
44086 [decoux@mo lo] I don't need a 'make uninstall'
44088 [hgs@dm .a .u] Missed that step as I don't have the file...
44089 [decoux@mo lo] What is this ?
44096 [hgs@dm .a .u] Hmm. Yes, together with that it is rather suspicious.....

ri from within irb
43667 [W.L.Kleb@la ] Is there a better way than
43674 [vjoel@PA H. ] def ri arg
43678 [W.L.Kleb@la ] Beautiful.  Thanks.
+ 43681 [dblack@ca dl] You'll find not one but two emacs interfaces (Colin's and mine) in the
+ 43683 [W.L.Kleb@la ] Now that I look at the distribtion a bit closer, I find that
| 43686 [Dave@Pr gm t] I've added a README_FOR_BONEHEADS...  :)
+ 43684 [Dave@Pr gm t] The irb hint is a great on - I've added it to the README. As DAB

ssh utilities
43677 [W.L.Kleb@la ] Is there an net/ssh library somewhere?
44050 [ozzie@we nl ] Bil,

Doesn't quite work...looping question
43690 [bobx@li ux a] It parses, it opens, but it doesn't write to the outFile. So I am
43691 [Dave@Pr gm t] THis overwrites your kw array with 'line'
44013 [bobx@li ux a] Got me where I needed to go...!  :-)

Wired magazine being their usual acurate self...
43697 [kentda@st d.] (Sorry if this has come up already, I'm not all up to date)
+ 43699 [tobiasreif@p] 1. The graph is not good
+ 43700 [hal9000@hy e] A regrettable but not totally incomprehensible mistake.
+ 43702 [james@ru yx ] Of course, there's the Ruby language we know and love (and related to
| 43737 [kentda@st d.] Well, atleast I guess I should be thankful that there wasn't a line from
+ 43709 [ned@bi e- om] We discussed this earlier.

VIM/ruby
43706 [STUCKNER@MU ] ...
+ 43719 [ned@bi e- om] You don't need to subclass Array at all to do this. Just mix in
+ 43720 [ned@bi e- om] Or you could just mix in each() to VIM::Buffer and VIM::Window...

POLS (was: is there a better string.each?)
43710 [in6x059@pu l] 1) It doesn't work for me: Ruby surprised me many times and I am happy
43732 [jim@fr ez .o] POLS is a good thing when designing a language, but it should

Net::HTTPS ???
43715 [sean@ru y- a] Does anyone know of a Net::HTTPS class or of any code that'll let
43756 [alan@di ik t] You might be able to use curl. I believe there's a ruby binding.

Ruby extensions for VIM
43722 [ned@bi e- om] OK, here's a file that you can put in your ~/.vim/plugin directory
43961 [STUCKNER@MU ] Thanks so....much for your work! The solution (of course) was much more

Packaging ideas (was: Re: packaged REXML)
43726 [list@NO PA c] Sorry for not replying sooner.  I wanted to first do my homework and
43776 [ser@ge ma e-] Ok, so this is what I'm thinking.  Give me access to your sources, and I'll
+ 43778 [tobiasreif@p] Will this take care of conflicts?
| 43921 [ser@ge ma e-] Yes, and no.  I mean, nothing in what I described, per se, will take care of
+ 43784 [dsafari@pa a] Sounds practically like portage :)
| 43922 [ser@ge ma e-] Are you kidding?  It /is/ Portage.  I started this discussion with
+ 43832 [list@NO PA c] (1) (2) and (3) won't put anything upside down.  I'm not sure about

(none)
43733 [basad@ma da ] ...

RE: :HTTPS ???
43736 [barry_shultz] Install Ruby/OpenSSL from the RAA and then
43766 [sean@ch tt n] Heh.  I have Ruby/OpenSSL installed and didn't notice that bugger drop

Re: a new block parameter/variable notation (Re: ruby-dev summary 17252-17356)
43738 [qrczak@kn .o] This is what I will use in some language for anonymous function

rpkg snapshots
43739 [list@NO PA c] I've been asked to make rpkg available through anon CVS, but

fast "set difference" on arrays
43742 [crf@sb x. u-] 10100
+ 43744 [Dave@Pr gm t] s1 = {}
| 43747 [joe@vp p. et] Do you think Array#- should do the hash trick internally instead of a
| + 43748 [decoux@mo lo] It can't : the "hash trick" use #eql? and #hash
| + 43751 [nobu.nokada@] Already Array#& and #| use the trick, so it would be nice.
+ 43754 [martine@cs w] You could also do it without hashes (though that solution is clearly the
+ 43757 [ned@bi e- om] h2 = Hash.new(false)

Ruby Development Enviroment
43752 [davey@it -e ] Hey,
43768 [tobiasreif@p] Vim is quite cool; among endless great features: I can execute snippets,
+ 43769 [tobiasreif@p] oops; you asked about a hosting package? I'm sorry, I thought with "Ruby
+ 43772 [list@NO PA c] You got me curious.  Care to explain a bit more?
  43773 [tobiasreif@p] Massimiliano,
  43791 [dossy@pa op ] Slight correction:  either person can type vim.
  43814 [tobiasreif@p] thx; although two of two people got it to work with the old

to pass or to be?
43759 [transami@tr ] so i have a question realted to class inheritence: when a class inherits
+ 43761 [Dave@Pr gm t] If a superclass accesses its child's instance variables, then by
| 43762 [transami@tr ] so your saying i should pass the variables?
| 43763 [Dave@Pr gm t] That fact that you have a parent class intimately tied to its
+ 43764 [hal9000@hy e] class A

Re: to pass or to be? (Out of office)
43760 [NMASSARO@co ] Nick Massaro is out of the office untill July 15.

hideshow mode for ruby-mode.el
43770 [list@NO PA c] The `hideshow' Emacs minor mode lets you hide the content of a block
+ 43771 [tobiasreif@p] just out of curiosity; does Emacs feature folding, in general, or for Ruby?
| + 43804 [michael_s_ca] At least general.  You could add ruby w/o much issue, IIRC.  I
| | 43827 [ms@ia ta e. ] There is also emacs' selective-display facility, which shows or hides
| + 43854 [list@NO PA c] With the few lines I posted it supports the `hideshow' style folding
+ 43775 [airboss@no e] Thanks very much! That takes care of one of the two things I think

passing to objects at the bottom
43780 [transami@tr ] i have a chain of objects such that one object contains another which
+ 43781 [alan@di ik t] If only the bottom object is goind to need the parameter, why isn't
| 43783 [transami@tr ] well, i have an object called a Miter, and it has an array of Table.
| + 43794 [alan@di ik t] Hmmm.. is @prefix know when you're creating your Element objects?
| | 43796 [transami@tr ] it is known, as it is passed all the way down. if i understand you
| + 43797 [alwagner@tc ] I am probably totally off base, but maybe it will trigger another way of
+ 43782 [alwagner@tc ] I think the real answer would require more detail about what Top, Middle and
+ 43787 [shirai@p1 p.] How about using Environmental Acquisition? (Came from Python.)  In
| 43800 [dblack@ca dl] Interesting, and new to me.  I'm wondering how this compares to just
| 43899 [shirai@p1 p.] It depends on case. The Top/Middle/Bottom sample is not suitable for
+ 43812 [transami@tr ] hey i found the answer! i got a clue from david. thanks david.
  43850 [alan@di ik t] That design looks a little ugly to me. For one, if you can't have more than
  43857 [transami@tr ] no, i think you missed the structure.
  + 43860 [alwagner@tc ] And what to you consider the purpose of OO design?  Don't let the tail wag the
  | 43865 [transami@tr ] well, quite simply i was able to seperate these various "things" into
  | 43890 [alwagner@tc ] I don't think anyone was suggesting that you use only one class. But rather a
  + 43881 [james@ru yx ] Rather than pass data down through a series of innocent by-standers, simply

Pre-RCR... nil.empty?
43795 [Dave@Pr gm t] Working with CGI forms and databases, it's something of a pain having
+ 43798 [sean@ch tt n] Funny you should ask.  I've been holding onto said patch for a
+ 43799 [dblack@ca dl] if string.to_s.empty?  ...
| + 43802 [Dave@Pr gm t] And of course the existing Nil#nil? test is useful for those quantum
| | 43960 [mike@st k. o] Couldn't we tell CGI what we're expecting - declare that we expect the
| + 43816 [chr_news@gm ] "David Alan Black"  in message
|   + 43817 [chr_news@gm ] ops;-)             <= ..
|   + 43824 [Dave@Pr gm t] Of course, nil.to_a already returns [], so nil#each arguably _should_
|   | + 43825 [dblack@ca dl] But you could also argue that there's an element of chance or
|   | | + 43828 [Dave@Pr gm t] Of course, in a pure sense you're right.
|   | | | 43829 [dossy@pa op ] Again, a reason why I think CGI#params should return a Param that
|   | | + 43836 [transami@tr ] hmmm...that's a good case. by having empty? defined in nil, the only way
|   | + 43835 [list@NO PA c] More than once it has happened to me that I was iterating upon an
|   | + 43841 [vjoel@PA H. ] Hm, the way that story finished (perhaps apocryphally?) is that after
|   | + 43851 [hal9000@hy e] And carrying the analogy a bit further, things sometimes
|   + 43834 [transami@tr ] in reference to Christoph: why the sarcasim? these methods have been
+ 43803 [maki@ru yc l] string = cgi['field'][0].to_s
| 43806 [Dave@Pr gm t] Agreed, but having 'nil' respond true to empty? means I can do
| 43839 [maki@ru yc l] Uuumm, I think it's not to save a test. Converting into
| 44020 [patrick-may@] I agree with this.  CGI interaction with forms has some murky
+ 43811 [transami@tr ] i've done that too. in fact i've added a number of things to the
+ 43840 [avi@be a4 co] Since there seems to be some opposition to this, how about
| + 43846 [dblack@ca dl] Interesting that this discussion sort of swirls around an old issue --
| + 43847 [james@ru yx ] As opposed to what? mod_ruby?
+ 44016 [patrick-may@] This is related to the way cgi handles multiple parameters.  Your
  44044 [wakou@ru y- ] I change it in a few days for ruby1.7(ruby unstable).
  44049 [transami@tr ] did i miss something? how will it become unnecessary?
  44158 [patrick-may@] cgi["field"] == cgi.params["field"]         # <= these return an array
  44160 [transami@tr ] that's the future of cgi? begats! isn't that going to break existing
  44648 [wakou@ru y- ] $ ruby -r./cgi.rb -e'value = CGI.new["key"]; p value' key=value
  + 44652 [wakou@ru y- ] Oh, mistake!
  + 44681 [transami@tr ] very helpful. thanks. should make quick work of it.

unshifting a directory onto ENV['PATH']
43807 [W.L.Kleb@la ] Is there a more elegant (compact?) method than
+ 43808 [sean@ch tt n] ENV['PATH'] = 'mystuff:' << ENV['PATH']
+ 43809 [ned@bi e- om] But that doesn't change ENV['PATH'], does it?
  43813 [vjoel@PA H. ] ENV['PATH'].id == ENV['PATH'].id    # ==> false

Collapsing array output
43810 [W.L.Kleb@la ] I recall discussion of something similar a while ago, but I cannot
+ 43815 [phasis@ko ne] a = 3, 4, 5, 8, 10, 11, 15, 17
+ 43818 [decoux@mo lo] [ruby-talk:31789]
+ 43819 [dblack@ca dl] This was the subject of a little coding puzzle/challenge.  At
  43822 [W.L.Kleb@la ] That's it!  Thanks.

here doc indentation (was Re: Collapsing array output)
43823 [dblack@ca dl] Personally I tend to use the <<-EOE syntax pretty much automatically.

[ANN] Archive 0.2
43837 [info@NO PA c] Now supports writing of ar archives and reading of tar archives (code
43843 [ned@bi e- om] So when is Zip being added?
43875 [list@NO PA c] Uhm, I guess when someone needs it and can set aside the time to write
43892 [rich@in oe h] ...

Net::FTP hangs when connecting to a windows server...
43842 [rich@li hi o] Simple FTP connection. Linux servers work just fine. Windows seems to
+ 43845 [ned@bi e- om] Not in your case. The NameError above just means that the String
| + 43869 [nobu.nokada@] "puts" with debug option had emitted that message for a while.
| | 43873 [rich@li hi o] ???
| | 43897 [nobu.nokada@] You might use PragProg version, see [ruby-talk:43432].  Or
| | + 43898 [rich@li hi o] Thanks! I'll try that!
| | + 43907 [rich@li hi o] I ran everything with 167-0 and it doesn't report any of the errors I had
| + 43870 [rich@li hi o] No - this is the first ruby script that I've written, I'm not sure I'd know
+ 43864 [sean@ch tt n] Are you running into a passive vs. active FTP problem?  -sc
  43868 [rich@li hi o] I guess I'm not sure - how can I find out?
  43876 [sean@ch tt n] FTP is one of the worst protocols out there.  Try setting things to

Screen test (was RE: Ruby Development Enviroment)
43844 [james@ru yx ] I tried it on one of my home PCs, and it works just as you said.
43852 [tobiasreif@p] James,

Ruby-friendly Web hosting (was RE: Pre-RCR... nil.empty?)
43849 [dblack@ca dl] Funny you should mention that: it brings us full circle to the very
43863 [tobiasreif@p] I thought with "Ruby development environment" he meant an IDE/editor.

FXIrb
43866 [gilles.filip] FXIrb is intended to embed an IRB session into a FXRuby widget. It is
43878 [vjoel@PA H. ] Gilles, that looks great. I will definitely be using this!
+ 43909 [bobx@li ux a] Very nice.  I was thinking at one point of creating an IDE like Python's
| 43917 [rich@in oe h] Please see
+ 43928 [gilles.filip] - to emulate adequately a terminal so that IRB's readline would be

RE: Ruby Development Environment
43871 [james@ru yx ] OK ...
43934 [davey@it -e ] Heh, don't we all wish? :D

SV: [ANN] Archive 0.2
43888 [tsondergaard] ...
+ 43891 [ned@bi e- om] file system or operating system of origin:        MS-DOS, OS/2 or NT FAT
+ 43939 [list@NO PA c] Thanks. :-) I'm not terribly in hurry to add Zip support, but that
threads.html
top