201823-233190

201661-204985 subjects 202040-203436

^ [ANN] prototype-0.2.0
201823 [ara.t.howard] NAME

^ Initialize a variable in an extended class
201826 [Eric.Armstro] Interesting problem. There is undoubtedly much to
+ 201830 [sean.ohalpin] class REXML::Element
| 201833 [Eric.Armstro] Yup. Another good alernative. Do I then I share that
+ 201832 [dblack wobbl] I'm not sure what you mean by "somewhere".  It gets talked about and
| 201834 [Eric.Armstro] Thanks for the smiley. I haven't been spending enough time
+ 201841 [ara.t.howard] why not a module?
  201845 [Eric.Armstro] Yes! That is indeed clever. I overlooked

^ Problem with HTree installation
201836 [Eric.Armstro] I added HTree to my installation at

^ Module Definition Idioms
201840 [Eric.Armstro] Looking at HTree, I see a few more things
201857 [rsanheim gma] Probably to define the module HTree as the top level namespace.
+ 201869 [Eric.Armstro] Aha. Module as namespace. That rings a bell.
+ 201873 [Eric.Armstro] Ok. I get that using a module lets you establish
  201880 [M.B.Smillie ] This question sounds to me an awful lot like "why organise your code
  202046 [Eric.Armstro] You are kidding, right? I am just not grokking this

^ FOSCON II: The Ruby Rodeo!
201858 [rubyfan gmai] Last year FOSCON was a big hit....  So mark your calendars, get your

^ How to speed up ruby and make it as fast as possible
201864 [bjohnson con] charset=US-ASCII;
+ 201865 [zengke ce-la] Maybe you can try rubyjit, a ruby just-in-time compiler
+ 201888 [buppcpp yaho] Write it C.
| 202691 [phil shellar] And first place for the most useless and un-helpful comment goes to...
| 202726 [Gennady.Byst] And first place for the slowest responce goes to... ;-)
| 202930 [xmlblog gmai] I agree with the people who think the questions surrounding performance
| 202932 [jeff.avallon] Would it be possible to get a link to Stephen Kaes' blog? I've tried
| + 202934 [jan.svitok g] google for stefan kaes or stefen kaes ;-)
| + 202935 [phurley gmai] ...
+ 201895 [peter semant] Profile your code, see where the bottlenecks are and refine the
| + 201929 [Jamal.Mazrui] Of Reggie Mr
| | + 201933 [ksruby gmail] I find this attitude is quite amazing. We all know that Ruby is not a
| | | 201938 [mcgoverp lab] "I find this answer to be unsatisfactory.  I do not know C and neither do
| | + 201935 [peter semant] We all want Ruby to be faster but if the speed at which your application
| | + 201943 [greg.kujawa ] I prefer to use Ruby for _most_ of my programming work, but still
| | | + 201944 [Jamal.Mazrui] Here we go again .... ... characterizing my preferences in the extreme
| | | + 202024 [jeremy chaos] class LedZep < Rock::Default
| | |   202062 [greg.kujawa ] Ouch. That hurt :-/ Maybe I should've said a programmer not knowing C
| | + 201974 [collinsj sea] I don't think people are ignoring Ruby's performance or rationalizing it
| + 201936 [jp jeffpritc] Peter,
|   + 201945 [peter semant] Given a program written from scratch. Profiling and reworking the
|   | 201950 [Jamal.Mazrui] Assembler as the solution for performance, it appears that you did not
|   | + 201951 [ola.bini ki.] One, Rite seems to be what you're looking for, and it will come in time.
|   | | 201964 [james.britt ] C was taught at my college as part of a general program related to
|   | | + 201967 [Jamal.Mazrui] So, you choose to stoop to a lower level as well?  How unfortunate!  I
|   | | + 201975 [ola.bini ki.] I'm sorry to say that I don't understand half of what you're saying,
|   | |   + 201979 [Jamal.Mazrui] [Please forgive my top posting.]
|   | |   | 201985 [Jamal.Mazrui] I am glad that Ruby 2 is being worked on, which will bring speed and
|   | |   | + 201986 [khaines enig] You insist that this is a "problem".
|   | |   | | 201988 [mcgoverp lab] The Goal of all programs and languages is to execute in O(0) Time ;-)
|   | |   | + 201989 [kevin.clark ] Jamal,
|   | |   |   201990 [Jamal.Mazrui] Certainly, Ruby performance is not always a problem.  It may not even be
|   | |   |   + 201992 [Jamal.Mazrui] You are mistaken.  Current, stable Perl and Python releases typically
|   | |   |   | 202004 [billk cts.co] I'm jumping into the middle of the thread, but, I do believe
|   | |   |   | + 202008 [greg.kujawa ] There are certain sore spots in language discussions which tend to get
|   | |   |   | + 202009 [SimonKroeger] Just because you asked: yes.
|   | |   |   |   + 202012 [jtregunna bl] That's like saying if the moon was closer to the earth, the tides
|   | |   |   |   | 202013 [SimonKroeger] "Is there a ruby configuration file that I can change to help speed
|   | |   |   |   | 202017 [billk cts.co] It's not a holy war.  It's a spectrum of facts and
|   | |   |   |   + 202014 [billk cts.co] Yes... but the reason I stated it in terms of limits,
|   | |   |   |     202018 [SimonKroeger] Agreed.
|   | |   |   + 202000 [SimonKroeger] +1
|   | |   |   | + 202032 [jeremy chaos] irb$ parent.value += 1
|   | |   |   | | 202053 [dbatml gmx.d] There is Ruby2CExtension (http://ruby2cext.rubyforge.org/), one of it's
|   | |   |   | | 202205 [halostatue g] I'd love to hear what those changes are.
|   | |   |   | | 202257 [dbatml gmx.d] diff -ruw lib_orig/pdf/writer/fontmetrics.rb lib/pdf/writer/fontmetrics.rb
|   | |   |   | + 202192 [w_a_x_man ya] gforth uses special features of gcc to achieve high speed.
|   | |   |   |   202194 [znmeb cesmai] 1. The "enable-force-reg" optimization has some risks on some
|   | |   |   + 202200 [halostatue g] Performance concerns must *always* be quantified to be addressed. If
|   | |   |   | + 202203 [znmeb cesmai] There's actually more to it than that, as Zed Shaw pointed out in one of
|   | |   |   | + 202240 [jmg3000 gmai] TPFJ[1]
|   | |   |   + 202208 [wrecklass1 g] We agree on this point, completely.
|   | |   |   | 202213 [buppcpp yaho] The speed issue has been discussed many times on this list.
|   | |   |   | 202220 [matz ruby-la] Agreed.  Saying it's slow is far easier to make it fast.  I know it's
|   | |   |   | + 202231 [jeremy chaos] Would that *all* managers knew this!  ;-)
|   | |   |   | + 202236 [the.mindstor] Firstly, I want to make clear that I agree with Matz's point here.
|   | |   |   | | + 202238 [james.britt ] There was more than one question in the OP.  The last question in the OP
|   | |   |   | | + 202248 [bjohnson con] charset=US-ASCII;
|   | |   |   | |   202287 [alex blackke] Yes, but if you have a look through that thread, there was a specific
|   | |   |   | + 202255 [znmeb cesmai] One thing that would really help is a "standard Ruby benchmark suite"
|   | |   |   |   202288 [alex blackke] I've never heard of one, but I can't think of anyone better than a
|   | |   |   |   202318 [znmeb cesmai] Well, I'm on the YARV mailing list, and I just saw a message go by on a
|   | |   |   + 202336 [invalid inva] (sorry for my poor english)
|   | |   |     + 202369 [greg.kujawa ] Good points. But I think the overall progress of this thread tends to
|   | |   |     + 202384 [robert.dober] This is an excellent remark, unfortunately it  is  wrong in the human sense
|   | |   + 202026 [james.britt ] I was replying to a comment quoted in a previous post, not you, and the
|   | |     202029 [technel gmai] "In the 2003-04 school year, Java was used as the programming language
|   | |     + 202034 [rubyfan gmai] What happened to Scheme at MIT?  I thought Scheme was used as the
|   | |     | 202066 [ryand-ruby z] 6.001 Structure and Interpretation of Computer Programs
|   | |     + 202036 [james.britt ] Not if they keep that up.
|   | |     + 202061 [greg.kujawa ] I think you are oversimplifying the MIT example. Just a month or two
|   | + 201952 [mcgoverp lab] A university should not be the source of the languages you know.  I'm
|   | + 201953 [peter semant] Fine, use Ruby. But if performance is critical then you will be
|   | | 201957 [Jamal.Mazrui] Your misrepresentations of my position and attacks on me are unbecoming.
|   | | 201961 [asenchi gmai] It is unnecessary to post such useless contributions to the
|   | + 201962 [estiforta gm] For what it's worth here is my solution to the performance problem. When
|   |   201987 [collinsj sea] Thanks for pointing that out, it looks really interesting!
|   + 201972 [drbrain segm] Eric Hodel - drbrain@segment7.net - http://blog.segment7.net
+ 202003 [snacktime gm] Asking your question in such a general way is bound to produce more
  202005 [khaines enig] The problem is that there really is no answer for the question.  Any
  202007 [snacktime gm] There could be any number of things he could do to improve performance
  202015 [bjohnson con] My original post was to get a simple yes or no answer to my
  + 202016 [Jamal.Mazrui] I appreciate the more constructive tone.   By the way, I was unfamiliar
  + 202019 [billk cts.co] Assuming the algorithm itself isn't proprietary, you could
  | 202022 [Jamal.Mazrui] I think you've hit the nail on the head:  execution speed is apparently
  | + 202023 [khaines enig] I don't think that's it.  The common speed complaint on this list stems
  | + 202051 [hal9000 hype] The real point is: Speed is only a problem if you think it is.
  |   202235 [jeremy chaos] Matz thinks it is.  He's said so elsewhere in this thread.
  + 202275 [foamdino gma] For Rails, I think there are some configuration options you can

^ gem plist not found ???
201866 [pere.noel la] Could not find plist (> 0) in the repository
+ 201868 [pere.noel la] *** REMOTE GEMS ***
| 201870 [pere.noel la] ~%> gem query --remote
+ 201872 [snacktime gm] I think the repository is messed up.  I get the same thing no matter
| + 201874 [pere.noel la] thanks, i'm not too drunky on july 14th ;-)
| + 201883 [pere.noel la] ~%> gem install plist --remote --source
+ 201954 [collinsj sea] Try deleting the source_cache in the gems directory (which for me is
  201978 [yvonthoraval] charset=ISO-8859-1;

^ how to use Plist ???
201875 [pere.noel la] #!/usr/bin/env ruby
201876 [pere.noel la] also i should say i have the same prob running "test_plist.rb" included
201887 [pere.noel la] in fact, this has nothing to do with ruby nor ruby_gems, it comes from
201920 [ces.fci gmai] Try
201922 [yvonthoraval] charset=ISO-8859-1;

^ Receiving faxes and interacting with them in ruby?
201877 [bjohnson con] charset=US-ASCII;

^ Return parsed object from REXML::StreamListener
201879 [endlessinfin] I've successfully created a Listener class that creates a number of

^ About MyClass#my_method
201885 [zimba.tm gma] I always see the # notation in the docs to design instance_methods.
+ 201890 [transfire gm] It has it's merits. I have to agree, since we use the notation all the
| 201904 [zimba.tm gma] Yes but Matz said to optimize breakage for 2.0 so this might be worthwile.
| + 201907 [transfire gm] I would be even better if they retained state too.
| + 202131 [chneukirchen] Assuming you mean me, I dare you call me a "lisp guy".  Thank you. ;-)
|   + 202149 [zimba.tm gma] Hehe, no it's not you. I'm looking in ruby-talk but can't seem to find
|   + 202156 [transfire gm] There would be a difference actually.
+ 201894 [dblack wobbl] That syntax is already taken, for comments.
  + 201908 [transfire gm] We already have theat ambiguity though. That's why we have to append ()
  + 201914 [zimba.tm gma] I know but other characters are used differently in various
    201924 [dblack wobbl] OK, then let me put it differently: repurposing comment syntax is a
    201955 [zimba.tm gma] Yeah your point is really valid :-) Nonetheless, how often do you
    201958 [dblack wobbl] It doesn't matter.  There's no time limit: comments should have their
    202118 [transfire gm] But I would think this would be sufficient in the cases of capitalized
    202124 [zimba.tm gma] Nobody else want to join the discussion ?

^ GOLF (and improve) #instance_interception
201896 [transfire gm] I have been working on this and was hoping maybe others would like to
+ 201906 [dblack wobbl] module A;def f;"F";end;def g;"G";end;end
+ 202059 [ryand-ruby z] It looks an awful lot like MuffDaddy to me.
  202076 [transfire gm] 'Fraid MuffDaddy'z not so "ultimate" -- It's not dynamic.

^ subclassing assertions.rb
201899 [patrick pksp] I need to subclass Test::Unit::Assertions so I can log the assertions as
201966 [drbrain segm] You can only subclass a class.

^ rubywebdialog
201901 [rajib.chakra] This is rajib a ruby nub...e .
+ 201915 [fermikami gm] Because "$SAFE = 2"  in ev/rwd.rb:59.
| 202089 [rajib.chakra] ========
| 202111 [fermikami gm] The simplest solution could be installation of ruby 1.8.2,
| 202462 [rajib.chakra] Oh ... it is working now..
| 202588 [erikveen gma] That's because FireFox was already running. Instead of starting
+ 201930 [erikveen gma] If you set the environmental variable RWDBROWSER to nothing

^ [QUIZ] Negative Sleep (#87)
201903 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 202243 [robert.dober] As I was suffering from insomnia I had to try to solve this one ;)
| 202249 [hawkman.gelo] i'd like to see more of these quizes :-)
| 202259 [mrotondo gma] charset=UTF-8;
| 202263 [Pierre.Barbi] Well, as everybody are sending in solutions here are mines ...
| 202266 [rubytalk eac] Just something little I whipped up!
| 202268 [dingsi mistb] be too
+ 202272 [mitchell koc] Alright, I basically took that definition of negative sleep, although
| 202273 [hal9000 hype] This has to be the most useless Ruby Quiz I've ever seen.
+ 202363 [pit capitain] This is not a submission, I just wanted to show that with some evil
| 202372 [james graypr] But now we all want to see the code so we are curios why you didn't
| 202387 [pit capitain] Yeah, I think I shouldn't have posted it, but I couldn't resist to make
+ 202409 [adam.shelly ] When I read this quiz, it reminded me of the time I was working on a
  202461 [robert.dober] Dangerous !!!!
  202518 [adam.shelly ] oops. It's been about 10 years since I used Unix regularly, and I was
  202558 [robert.dober] Actually I am not clever enough to know myself, I suppose you are pretty
  202574 [robert.dober] I just checked rubyquiz.com for some submissions and realized that sending
  202585 [james graypr] The mailing list link requires a little work to extract it from,
  + 202612 [bonefry gmai] I am a beginner, so please forgive my newbish skills :)
  + 202646 [robert.dober] Robert

^ Re: ODBC Database Connectivity
201909 [kruse.walter] I'm having trouble with ruby + db's. I am running mysql for Mantis on
233190 [ruby openlin] First, mysql-2.7.1-mswin32.gem has nothing to do with ODBC. It will

^ Don't understand :: in ActionController::Base
201910 [pal palbergs] I understand the concept of classes and subclasses thanks to the
+ 201912 [pal palbergs] Btw, I'm told that I can find the answer in chapter 9, starting at page
| 201947 [jp jeffpritc] I'm a newbie too.  I'll stick my neck out and answer here just so as to
| + 201965 [logancapaldo] Everything but sentence was perfect. You can't inherit modules.
| + 201994 [pal palbergs] Thanks for the effort Jeff. A good trick :-)
+ 201913 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
+ 201980 [gwtmp01 mac.] This seems to be a common source of confusion when learning Ruby
  201995 [pal palbergs] Thanks. That helped.

^ HELP IMPROVE #instance_interception
201911 [transfire gm] Well, okay. I guess golf isn't exactly what I mean. Just *improve"

^ File::FNM_CASEFOLD doesn't work for Dir.glob?
201917 [transfire gm] Dir.glob('[fF][oO][oO][dD][iI][rR]/*')
+ 201927 [one.three gm] martins@thno:~/tmp$ touch file.txt
| 201940 [transfire gm] Oddness...
+ 201939 [nobu ruby-la] Seems nice to be backported from the trunk.
  201941 [matz ruby-la] Yes, please.

^ [QUIZ][SOLUTION] Re: Sokoban (#5)
201932 [m_goldberg a] Here is one more solution to the Sokoban quiz. I think people might
202055 [james graypr] Welcome to Ruby, Morton, and thanks for sharing your code with us!  ;)

^ RubyCocoa problem on Mac OS X
201956 [h.dunnil gma] I downloaded the binary version of RubyCocoa
+ 201959 [pere.noel la] if i remeber well i had months ago something like that...
+ 201963 [logancapaldo] The RubyCocoa packages for whatever reason use the Apple supplied

^ Re: how to download a file ?
201970 [Christopher.] To follow up on the excellent suggestion by Kenosis ;) Here is how

^ Re: Nuby Q: Daemonize SOLVED
201999 [rogueamateur] problem solved, or so it appears.  thank you, ALL of you, for your most

^ Populate Gtk::TreeView?
202006 [yottskry gmx] I'm in need of a Gtk::TreeView in an application. I create the treeview
+ 202011 [kenosis gmai] Posting the code could help us to help you.
+ 202135 [detlef.reich] there could different faults.

^ Handling cookies with Net::HTTP?
202033 [bjohnson con] charset=US-ASCII;
202035 [cdc cyphers.] How about using mechanize so you don't have to worry about handling cookies
202038 [bjohnson con] charset=US-ASCII;

^ [ANN] Ruby Win32 SSPI 0.0.1 - Enabling NTLM/Negotiate proxy authentication
202037 [jgbailey gma] My work place implemented install a proxy server recently, and because it

^ Help making a ruby module
202039 [mcgoverp lab] I am working on making a ruby module to wrapper the xsan quota fctl calls.
+ 202095 [decoux moulo] See ext/etc/etc.c in the ruby distribution to see how create and return a
+ 202104 [nobu ruby-la] Seems module functions better.
  203614 [mcgoverp lab] Thanks for the help, i also figured it out using SWIG, though it's just
threads.html
top