274946-297576 subjects 275317-293324
^ IronRuby...will it be like J++?
275156 [hawat.thufir] Could it be that Microsoft won't fully implement the language
+ 275159 [cmdjackryan ] I doubt, that Matz will sue Microsoft, like Sun did with MS (that's why =
| 275164 [james.britt ] There is no Ruby spec, other than than the C version itself.
+ 275182 [no spam.plea] They have no need to do that.
+ 275185 [ttmrichter g] Yeah. Because that worked really well for them with Java.
| 275187 [no spam.plea] It did on the desktop, where their installed base and revenue
| 275191 [ttmrichter g] What worked better for them there is that Java still basically sucks for
| + 275208 [phlip2005 gm] full-fledged applications even after all this time. Every time I fire
| | 275722 [julianraschk] Frankly, I think "C# is Java with replaced keywords" is the new
| + 275226 [james.britt ] I've met the core people working on IronRuby and JRuby. They are good
| + 275230 [dangerwillro] Check the archives of Ruby-Talk.
| | + 275236 [phlip2005 gm] I thought MS had an instant death policy for anyone caught even
| | | + 275240 [halostatue g] Except that they hired John in part because of his work on a .NET
| | | + 275262 [james.britt ] BTW, are there really two (or more) people on ruby-talk named James
| | | + 275350 [ttmrichter g] What is essentially the Haskell compiler is free, open-source software
| | | + 275359 [caduceass gm] Everyone seems to say these guys are good people. That's all great
| | | | + 275364 [rick.denatal] Rick DeNatale
| | | | | 276112 [caduceass gm] Since I have a lot of respect for your opinion, I did in fact race off
| | | | + 275365 [caduceass gm] I wasn't clear either :-)
| | | | | 275433 [dangerwillro] Don't worry Robert, I suspect there are some people who are not used
| | | | + 275370 [halostatue g] I think the biggest risk to IronRuby is the CLR, not the IronRuby
| | | | | 275450 [jflam micros] I'm interested in why you think that the CLR is a risk? We've standardized =
| | | | | + 275454 [dangerwillro] I think it is about the tendency for things to get a focus on calls
| | | | | + 275483 [halostatue g] Long-term risk. Microsoft could change how the CLR works to penalize a
| | | | | | 275485 [laurent.sans] But in that way, you would still have Mono+ForkedIronRuby as an
| | | | | | 275497 [gdonald gmai] Anyone with genuinely good intentions would contribute to the existing
| | | | | | + 275511 [charles.nutt] Anyone really interested in the welfare of Ruby would recognize that
| | | | | | | 275512 [gethemant gm] This has just snowballed into utter nonsense, Charlie, Evan and John (
| | | | | | | 275521 [james.britt ] Yes, and I believe we have a been lured into the Land of Trolls on this
| | | | | | + 275514 [caduceass gm] I'll personally try to not do a broad brush stroke, but you have to
| | | | | | 275517 [caduceass gm] I guess I should clarify. I wouldn't be revealing "secrets"; just
| | | | | | 275543 [mortee.lists] Hmmm... you have the Be tech letters archived? I guess it'd be nice to
| | | | | | 275546 [mortee.lists] Sorry, this was intended to be sent in private...
| | | | | + 275565 [hawat.thufir] Very cool to hear from someone at Microsoft. My concern, on reading the
| | | | | + 275589 [bplummer zap] My two cents on this thread...
| | | | | + 275590 [jflam micros] VGh1ZmlyOg0KDQo+ID4+IEkgdGhpbmsgdGhlIGJpZ2dlc3QgcmlzayB0byBJcm9uUnVieSBpcyB0
| | | | | + 275729 [diego.suarga] is
| | | | | | 275737 [jflam micros] You don't need a large team to build a compiler. Most compiler dev teams ar=
| | | | | | 275740 [charles.nutt] As another data point: JRuby's compiler (now complete, to be released in
| | | | | + 275741 [hawat.thufir] "The Microsoft compatibility stack provides a pathway for porting
| | | | + 275496 [charles.nutt] It's hard to argue that case for Sun, where the JDK is now open-source,
| | | + 275361 [rick.denatal] Yes
| | + 275452 [jflam micros] It is absolutely our intention to enable Rails running on IronRuby. If Rail=
| | 275465 [gdonald gmai] Why not contribute to the existing Ruby project instead? That's how
| | + 275478 [donald.ball ] I rather disagree. Competing language implementations help clarify
| | | 275490 [gdonald gmai] What ambiguous specifications and behaviour would those be exactly?
| | | 275498 [charles.nutt] There are some links that don't yet have articles; that's to encourage
| | + 275484 [halostatue g] I want a .NET native Ruby so that I can script .NET applications with
| | | 275494 [gdonald gmai] None of the existing M$ language atrocities suite you?
| | | 275515 [halostatue g] No. Nothing (IMO) is as beautiful as Ruby for this sort of thing. If I
| | + 275492 [charles.nutt] Real open-source develoment does not require everyone contribute to the
| + 275245 [charles.nutt] And for Sun, you can write me directly. I have no evil plans or pet cat
| + 275266 [rick.denatal] Ahh, but there's the rub! You never KNOW about cats, do you? <G>
| | 275306 [dangerwillro] require the cat singleton module
| + 275333 [hawat.thufir] Shouldn't the emphasis have been on "think" instead of "cat"?
| 275345 [charles.nutt] Caught!
+ 275218 [cmdjackryan ] First used by Sun in the Ruby space, since they took JRuby under their wing.
| 275244 [charles.nutt] Time will tell :)
+ 275220 [alex blackke] Note how this specifically hasn't happened with IronPython. At least,
^ Class variables
275158 [shuaib.zahda] I have tried to deal with class variables but I received weird output
+ 275160 [shuaib.zahda] Sorry guys
+ 275161 [bbxx789_05ss] Your problem has nothing to do with class variables. The gets() method
^ How does overload work in ruby?
275162 [shuaib.zahda] I was trying to overload one method but it does not work like Java.
+ 275166 [fxn hashref.] Ruby does not support method overloading that way. As you founded out
| 275180 [lists bertra] If you want to allow the caller to select the default value
| 275198 [rick.denatal] It seems to me that this is just a slightly less efficient way of
| 275390 [celtic sairy] It also means that if the caller really wants to pass nil, it'll get
+ 275167 [halostatue g] There is no overloading in Ruby, only overriding, and the last
^ Problem configuring Tomcat to handle .rhtml
275165 [RichardDummy] I'm trying to get my installed Apache Tomcat 6.0 to properly
^ Printing Line number during runtime
275171 [psash_tal ya] I am a newbie to ruby programming, Is there a way to print the line
+ 275178 [hariharan.sp] hai friends,
+ 275210 [shortcutter ] No, but you can cook something up with set_trace_func.
^ REXML (1.8.6-p110) backwards compatibility problem with rcov
275177 [B.Candler po] When I upgraded my Ubuntu 6.06.1 system from its stock ruby-1.8.4 to
275179 [B.Candler po] (but I don't think it has been merged to branches/ruby_1_8_6)
276738 [seanhussey g] Nice catch!
276949 [dlawlor tssg] Ive also applied both fixes and Im seeing exactly the same problem.
^ [ANN] Ruby In Steel 1.1.5 - Rails extras/ VS2008 beta
275181 [huw darkneon] Ruby In Steel 1.1.5
^ "Pluggable" base class architecture
275188 [weppos gmail] I need an help about designing a pluggable architecture for a library.
276330 [dan zeraweb.] The two options you mention would seem to be essentially one option,
^ Conflicts between using respond_to? and extending Ruby
275190 [transfire gm] I recently cam across an interesting conflict between open-uri.rb and
+ 275193 [dblack wobbl] I think this is just the age-old issue about adding methods to
| + 275207 [transfire gm] That's interesting. It makes me wonder if it's worth "hardening" with
| | 275211 [apeiros gmx.] I'm sorry, but that looks just so wrong to me. Take the case on .each.
| + 275229 [rick.denatal] Okay, I'm claiming stake to coining what I hope becomes as much of a
| 275231 [dblack rubyp] Be careful what you wish for :-) In any case, I'm glad to have
| + 275234 [dblack rubyp] I didn't put that very clearly, since you do too. What I mean is, it's
| + 275235 [rick.denatal] One difference between kind_of? and respond_to? is that it's slightly
| 275246 [dblack rubyp] The distinction I see is proximity to the object. respond_to? is
| 275248 [ara.t.howard] it all depends - consider the case of trying to tell wether or not a
| 275252 [dblack rubyp] I don't think there even is a right method for this purpose; I don't
| 275258 [ara.t.howard] not entirely - they both allowing pre-testing to see if code is going
| + 275265 [rick.denatal] Trans posted a reply to my article saying that I was being too hard on
| + 275267 [dblack rubyp] Pre-testing is what you do, not what the method does :-)
+ 275250 [ara.t.howard] respond_to? + arity it sometimes better. other alternatices are to
275280 [sean.ohalpin] I've been using something similar to this approach by using modules to
275282 [sean.ohalpin] should be
+ 275292 [transfire gm] That's interesting. I've aliased #include as #is, and #extend as #can.
+ 275293 [rick.denatal] Which is functionally equivalent to
275298 [ara.t.howard] if you are writing something like
+ 275300 [dblack rubyp] I've always thought that the situation with programming languages is a
| 275304 [rick.denatal] Not to mention different, and sometimes VERY different techniques to
| 275386 [ymendel pobo] For instance, playing a brass or woodwind instrument simply requires a
| 275424 [rick.denatal] I was thinking more along the lines like you don't play a kettledrum
| 275429 [dblack rubyp] I think I took the bit about hitting a clarinet with a violin bow, or
+ 275387 [ymendel pobo] Maybe I'm misunderstanding your point, but that doesn't do much.
^ Removing a directory that isn't empty
275194 [gabe dragffy] What would be the best way to use Dir.rmdir to delete a directory
+ 275195 [Bil.Kleb NAS] I normally use FileUtils for that sort of thing, e.g.,
+ 275196 [alex blackke] FileUtils.rm_rf should do the trick.
+ 275199 [hariharan.sp] Dear Friends,
^ cheap hosting!
275197 [ibnujamili g] ...
^ Stripping down One-Click Ruby Installer folder for deployment
275200 [philippe.lan] I'd like to deploy an client ruby application by copying the "c:\ruby"
275259 [luislavena g] On Oct 22, 9:35 am, "Philippe Lang" <philippe.l...@attiksystem.ch>
+ 275372 [djberg96 gma] I've asked for just a "core Ruby" distro in the past (i.e. no stdlib
+ 275393 [philippe.lan] This is the script I use. It strips down the c:\ruby directory from 179
+ 275459 [luislavena g] On Oct 23, 10:55 am, "Philippe Lang" <philippe.l...@attiksystem.ch>
+ 275477 [jan.svitok g] You may try (but not I am not sure if this will work, I *guess* it
+ 275482 [luislavena g] The other, more complex, will involve use of something like Exerb 
+ 275560 [philippe.lan] Thanks, I was able to strip the ruby directory even further, with your
^ Fwd: Correction (was RE: [QUIZ] Please Forward: Ruby Quiz Submission (Time Window #144))
275203 [james graypr] charset=WINDOWS-1252;
^ distributing a ruby program
275205 [w3gat nwlaga] I want to distribute a ruby program to 4 offices where I work.
275249 [virumoz goog] for exactly the same problem I use "RubyScript2Exe" and it's
275251 [virumoz goog] it's --> its
^ I have nothing to do with ORA-01756!
275206 [lzcarl gmail] I have create a oracle 9i (9.2) database and set its characterset to
+ 275209 [shortcutter ] Just a wild guess since I have zero Rails experience: I see these
+ 275213 [caduceass gm] You are receiving a string termination error, usually due to a missing
^ Coping all files in a folder
275215 [nicknewton g] require 'ftools'
275219 [nicknewton g] Figured it out using FileUtils.Copy, thank anyways
^ Coping all files in a folder
275216 [nicknewton g] require 'ftools'
^ How to make use of singularize method
275217 [advait.bellu] I need to know how to make use of singularize method with params[:path],
^ Ruby and barcodes
275221 [pjcarvalho g] 1 - I would like to generate a 2D barcode with ruby? Is it possible?
275228 [jan.svitok g] ...
275232 [pjcarvalho g] Thanks but i dont think that they able to generate 2D barcodes...
+ 275238 [yermej gmail] With http://sourceforge.net/projects/pdf417encode/ and the above info,
+ 275242 [jan.svitok g] Sorry, I overlooked the "2D" part.
^ Nth Root in Ruby
275253 [peterlaurens] I have tried Googling, but am finding it difficult to track down an
+ 275254 [aledonne.lis] irb(main):001:0> # calculate a third root
| 275255 [peterlaurens] Of course - thanks.
+ 275257 [fox nscl.msu] def rootn(x,n)
^ gem paths
275264 [redroofgreen] Hey,
275643 [drbrain segm] Is there a ruby-debug-0.9.3.gemspec? It would be in the
^ why is rbuygem required?
275269 [gianmh gmail] Maybe a very simple question but what exactly is included when you
275288 [halostatue g] I suggest that you do a bit of Googling about RubyGems. You'll find a
^ More elegant way to condense a date/time string?
275271 [jeff.fry gma] Hey all,
+ 275273 [lojicdotcom ] Time.now.to_i will give the number of seconds since the epoch.
+ 275275 [1337p337 gma] You can use Time.now.to_f.
+ 275278 [ruby anthrop] While #to_i will get you seconds since epoch, you should also be aware of
| 275286 [jeff.fry gma] On Oct 22, 1:25 pm, Gregory Seidman <gsslist+r...@anthropohedron.net>
+ 275284 [donald.ball ] They're standard, unambiguous, and have the handy property that
+ 275342 [shortcutter ] irb(main):015:0> Time.now.strftime "%Y%m%dT%H%M%S"
^ Problem connecting with ruby-net-ldap - Net::BER::BerError
275272 [djberg96 gma] Ruby 1.8.6
+ 275274 [garbagecat10] Dan, try syncing to the head revision of the library, there are a handful of
| 275276 [djberg96 gma] On Oct 22, 2:00 pm, "Francis Cianfrocca" <garbageca...@gmail.com>
| 275281 [garbagecat10] Yes, sorry about that, it's under branches/experimental_netldap. I came into
| 275289 [djberg96 gma] On Oct 22, 2:32 pm, "Francis Cianfrocca" <garbageca...@gmail.com>
| 275290 [djberg96 gma] meth ||= :simple
+ 275294 [garbagecat10] ldap.bind(:method=>:simple, :dn => 'cn=Admin', :password => 'xxx')
275297 [djberg96 gma] On Oct 22, 3:55 pm, "Francis Cianfrocca" <garbageca...@gmail.com>
275374 [garbagecat10] There is no unbind method. You don't need it.
^ Mixing define_function and class methods
275277 [garret.kelly] I'm sure if I'm missing something fundamental, but when you run the
275283 [rick.denatal] I'm not sure what you're actually trying to accomplish, so I can't
^ computers + floating-point = a chore
275279 [ymendel pobo] I recall seeing a few posts about the "fun" involving floating-point
275305 [dangerwillro] floating point math is always like this.
275316 [ymendel pobo] On Oct 22, 6:42 pm, John Joyce <dangerwillrobinsondan...@gmail.com>
275319 [gwtmp01 mac.] Well, the culprit is actually Float#to_s, which has it's own idea of
275388 [ymendel pobo] Thanks for this, Gary. I wasn't expecting that Float#inspect would
^ How do I save a row update using Sequel?
275285 [cremes.devli] I really like the simplicity of Sequel , but right now it is
275340 [ciconia gmai] Regarding your problem, when you get back records as a bunch of hashes
^ format string for array question
275291 [rlkeller yah] I have a great deal of data that looks like the line below
+ 275296 [Gennady.Byst] [rh-30-x86.irvspxl08:2182]gbystrit> irb
+ 275341 [shortcutter ] irb(main):002:0> s="db file parallel write 8816 391 25.49"
| 275385 [rlkeller yah] Cool, Thank you for the help!
+ 275588 [dirk.traulse] Or you could use "zero-width positive lookahead" /(?=)/ with -? for
^ [OT] Re: Conflicts between using respond_to? and extending Ruby
275301 [ara.t.howard] ot - but you'll enjoy
^ Writing to a file help
275308 [JeremyWoerti] I am trying to read 1 file then create another file from that 1. My
275310 [JeremyWoerti] ok, so it seems that it is not splitting the line into an array. so
+ 275311 [JeremyWoerti] HAHA, i'm dumb.. sorry, I forgot that using split returns an array, so
+ 275313 [alexg kuicr.] Your split should work. Take care with your Array though. Array#<<
^ Ruby Certification Test
275312 [dangerwillro] In the Japanese page of Ruby Association, at http://www.ruby-assn.org/
+ 275315 [ari aribrown] PLEASE tell me it's possible to achieve online! I've counted **two**
| + 275320 [dangerwillro] Not yet, but apparently it will be in the near future. There were not
| + 275397 [khaines enig] You aren't in Wyoming, are you? :)
| | 275524 [ari aribrown] Close.
| + 275412 [celtic sairy] Try Australia .... hm.. but certification sounds awesome.
| 275435 [dangerwillro] The US isn't the only place with "states"!
| 275467 [rick.denatal] Let alone the only "United States"
+ 275493 [jbornhoft gm] For me this is great news! I live in Colombia and this country is
+ 275501 [pergesu gmai] There's 0 chance that I'd get a Ruby certification, and I'd laugh at
+ 275507 [dblack rubyp] I would say that about any unofficial certification, but if Matz and
| 275519 [victor.reyes] My experience with certification is that they do not worth the paper where
+ 275522 [james.britt ] It's interesting how the tone of this thread differs from previous
+ 275624 [bplummer zap] I hold a number of language certifications and none will make you a
| 275751 [znmeb cesmai] Think of all the people who didn't get interviewed because they weren't
+ 275625 [caduceass gm] I agree. The best place to find Ruby talent is probably on this list
+ 275638 [peter semant] When we interview the only qualification that is acceptable as a
| 275675 [ news jay.fm] Once you got the third, couldn't you just make people think that you've
| 275707 [dangerwillro] The real reason certifications are weak is because they tend to only
| 275716 [xcampanoli g] There is another reason that is more soft and perhaps much more
| + 275750 [znmeb cesmai] *plonk*
| + 275754 [robert.dober] Wow!!
| 275781 [hramrach cen] Around here it's almost impossible to earn a living working 20
+ 275673 [ news jay.fm] Well, I, uh, meant a "great quote" in that I knew when I posted it, I would