249800-258208

245203-245955 subjects 249923-251769

^ Re: Microsoft announces IronRuby
249800 [charles.nutt] I would be very surprised if it was. Last I'd heard IronRuby was mostly
+ 249807 [Guido <"" .>] <http://channel9.msdn.com/Showpost.aspx?postid=304541>
| + 249826 [blowmage gma] I don't believe it is derived from RubyCLR.  Apparently it is a new
| + 249840 [charles.nutt] It's definitely not derived from RubyCLR, since that was just a bridge
+ 249827 [kevwil gmail] I suspect it's a merge between IronRuby and RubyCLR. Remember John Lam

^ Re: run 'some' code as a different user? NET::SSH?
249801 [B.Candler po] Another approach to consider, if the number of types of different requests
249811 [jfclisham gm] Brian,

^ Ruby syntax question: instance.method(args) { more_stuff }
249802 [Nic.Daniau X] charset="us-ascii"
+ 249803 [list.push gm] Here is one explanation.
| 249804 [Nic.Daniau X] Thanks, yes, I know about iterators and their use of blocks. But this
+ 249806 [B.Candler po] It's fairly standard. It has the advantage of only being run when required,
  249808 [Nic.Daniau X] Thanks a lot for the detailed reply, this is just what I needed!

^ Re: Problems to Compile Ruby19 using MSYS and MinGW on Windows for Ruby19   Snapshots starting 2007
249805 [wonado donne] In the meantime other person from german tested the Environment successfully
249828 [wonado donne] I've inserted some test outputs into "rbconfig.rb" an made some tests. Finally I

^ [ANN] RSpec 0.9.1 released
249809 [aslak.helles] The RSpec team is pleased to announce RSpec 0.9.1 (we skipped 0.9.0).

^ Fwd: Please Forward: Ruby Quiz Submission
249810 [james graypr] charset=US-ASCII;

^ [ANN] RubyConf 2007
249812 [dblack wobbl] On behalf of Ruby Central, Inc., I'm very happy to announce the
249829 [gregory.t.br] Sweet!

^ Re: Ruby syntax question: instance.method(args) { more_stuff
249813 [rmagick gmai] Brian's explanation is correct. I learned this technique from the 1st

^ Fwd: Please Forward: Ruby Quiz Submission
249814 [james graypr] charset=ISO-8859-1;

^ Re: cyclic array
249815 [fxn hashref.] It took me a while to discover where that non-core Enumerable#length
249838 [Rob AgileCon] For those who aren't reading Rick's blog (where this is now in a

^ Re: Please Forward: Ruby Quiz Submission
249816 [robert.dober] Sorry for crouding an already busy thread, but I cannot keep my curiosity!
249817 [james graypr] I don't think we've quite whipped pp Pascal.
+ 249821 [robert.dober] So there will be suspension; great.
+ 249929 [james graypr] The solutions are now online.  Sorry about the delay.

^ [OT] Logic Programming
249818 [benjohn fysh] Following a Ruby Quiz posting a while a go, and various prior mentions
249831 [libraramaANT] It does not have anything to share with Ruby, anyway try to
249833 [benjohn fysh] Thanks! That lokos like a good start.

^ Re: [QUIZ] Checking Credit Cards (#122)
249819 [doug.meyer s] The only reason I'm submitting this is because I added a
249885 [bob lisbonne] My second ever Ruby Quiz.
249946 [chneukirchen] #!ruby
+ 249969 [ruby frommkn] Wow, very nice solution! Impressive how short it is...
| 249978 [chase.southa] This is my first time submitting a solution to the quiz. I'll attach my .rb
+ 249991 [martin snowp] You do know that (e*f > 9 ? e*f-9 : e*f) is equivalent to e*f%9,
  + 249993 [james graypr] => [0, 2, 4, 6, 8, 1, 3, 5, 7, 0]
  + 250235 [chneukirchen] I first thought that too, and it cost me 10min to find that 9%9 == 0.

^ [offtopic] random ruby moment
249820 [martindemell] Playing Scrabble, I had AAMNNSW on my rack. Took me a moment to

^ Re: Logic Programming
249823 [chris.lowis ] Is this of interest to you ?
249830 [benjohn fysh] No, that's exactly the right kind of thing. There're some useful looking

^ Re: sprintf can not work in ruby c source?
249824 [ruby bandkbr] Have there been any studies on the security implications of using Ruby?
249825 [ruby bandkbr] I'll disagree somewhat here.  There are things C does much faster than Ruby
249837 [gethemant gm] Thanks for the links Adam.

^ Re: RubyConf 2007
249832 [rmagick gmai] Whoo-hoo! Between the Ruby Hoedown in Raleigh and RubyConf in Charlotte,

^ simple subclass question
249834 [donald.ball ] If I want a class and its children to have different values for the same
+ 249835 [robert.dober] 504/4 > cat subclass-vars.rb && ruby subclass-vars.rb
+ 249836 [dan fluentra] class A
  249861 [donald.ball ] Thanks to you and Robert for the quick answers. I think I get it now; I
  + 249862 [donald.ball ] class A
  | 249871 [logancapaldo] class A
  | 249948 [rick.denatal] Going a little further in answering Donald's question.
  | 249954 [robert.dober] I guess I lost you here Rick, is this for didactic purpose, or am I
  | + 249968 [donald.ball ] Okay, so maybe this turns out to be a not-so-simple subclass question
  | | 249979 [robert.dober] just initialize @foods in the class
  | | 249980 [donald.ball ] but then @foods doesn't exist in RubyBreakfast and BoringBreakfast. I
  | | + 249990 [pit capitain] Donald, I would add
  | | + 249997 [robert.dober] You mean you want to have your cake *and* eat it ;)?
  | | | 250049 [rick.denatal] Actually, this is no problem at all, in fact you have to have your
  | | | 250214 [robert.dober] As the English language is the greatest victim of trivialization by
  | | | 250218 [dangerwillro] But I'll bite.
  | | + 250018 [gwtmp01 mac.] class Base
  | |   250022 [robert.dober] Wow that scales much better than mine Gary, nice.
  | + 250047 [rick.denatal] D'oh!  You're right of course.
  + 249866 [robert.dober] That was the point I missed, but of course you did that nicely :).
  + 249872 [dblack wobbl] Possibly; have a look at: http://www.rubypal.com/singletons.html
  + 249898 [B.Candler po] ...
    249899 [hhausman gma] hth,

^ [ANN] pallet 1.2.1
249839 [stephen tous] I've been writing a multiplatform packaging tool for the company I work
+ 249843 [stephen tous] As part of this release, I'd like to extend a (limited) offer to
| 249905 [benjohn fysh] *snip*
+ 249907 [B.Candler po] I'd definitely be interested in RPM.
| 250336 [stephen tous] Not of rake tasks, but you could easily write a rake task which downloads
| 250421 [B.Candler po] Sure, but I was thinking of using it as a generic way to package third-party
| 250616 [stephen tous] That's what I really aim this project to deal with. It'd be exceedingly
| 250632 [B.Candler po] OK, so I'm not entirely clear how Pallet works then.
| 250674 [stephen tous] Yes. And, for debian, that's a whole slew of files in a "debian/"
| 250727 [tpo2 sourcep] Uhm - as far as I know you only need like - two - of them: debian/control
| 250909 [stephen tous] Right. Unfortunately, to do lots of things programmatically, you need
| 250958 [tpo2 sourcep] Take those easy. debhelper has some 61 helper programms of which most are
+ 249935 [d454d web.de] oh, this is great! I just grabbed it and like it. :)
  250207 [tpo2 sourcep] Have you been talking to Debian's Ruby packagers? Mutating this into

^ Multiple render :text, live
249841 [just_a_techi] <disclaimer>I'm new to rails and ruby</disclaimer>
249937 [rick.denatal] I assume that you mean that this is in the controller not the model.

^ Ruby on the Meraki Mini
249842 [dwrenne yaho] I have posted my experience using Ruby on the Meraki Minis. They are $50
257923 [gsc omegadog] Does the Meraki Mini talk directly to a wireless laptop ?
257938 [dwrenne yaho] You need one device connected to a router that is connected to the
258208 [gsc omegadog] Would this scenario work ?

^ infinite loop in Tempfile.new
249844 [d809fvy5rtsq] to that point, it would crash with a "too many open files" error.
249873 [matz ruby-la] Thank you for the report, but it's difficult to fix the problem

^ qt4-ruby-mswin32 progress
249845 [shea null.ne] Has there been any progress on a gem for qt4-ruby on windows with
249982 [leslieviljoe] The grapevine (internet) says that two people have now managed to compile

^ Re: SOAP problems
249846 [barjunk attg] Further study gives more information, the two fields are the 'names'

^ Re: Microsoft brings Ruby to the browser?
249847 [ljmorsillo y] There is more meat to this now that MIX07 has concluded.
249849 [james.britt ] Can someone confirm (or not) that this means one can write Ruby code,
+ 249850 [blowmage gma] Yes, when IronRuby is released it should run just fine on Mono, just as
+ 249851 [huw DELTHISB] So far I have only heard MS people talk about Windows and the Mac. I
  249900 [mberrow1 pac] About 5/6 of the way through this demonstration (using a Safari
  249901 [mberrow1 pac] Missed the video link.

^ ICFP Programming Contest 2007
249848 [johanj cs.uu] Want to show off your programming skills? Your favorite programming

^ Re: Bad file descriptor
249852 [ghotrapa yah] Anybody?
249874 [just_a_techi] Have you tried the openqa.org forums?
249886 [ghotrapa yah] Yes i have, but unfortunately no response.

^ ActiveLdap questions
249853 [krwightm gma] I have some silly questions about ActiveLdap.  I'm a pretty new Ruby
+ 249858 [garbagecat10] The ldapsearch line is setting both a treebase and a search filter. Neither
| 249876 [kou cozmixng] In <3a94cf510705011421r694abd13sf641b441d2f9d313@mail.gmail.com>
| 249880 [garbagecat10] currently support the STARTTLS verb, but this is planned.
| 249882 [kou cozmixng] In <3a94cf510705011743g3d71b501sfffc66183e519445@mail.gmail.com>
| 249892 [garbagecat10] Somehow I missed that patch. I just added it to Net::LDAP. Sync to head
+ 249875 [kou cozmixng] You need to add some configurations.

^ Re: What's a Mutex and how do I use it?
249854 [miloops gmai] elements (process, threads, whatever) is trying to take the control or
249857 [mental rydia] Specifically, things can get very confused if one thread accesses or modifies an object at the same time another thread is modifying it.  To prevent such situations, a mutex can be employed.
249961 [web.dizign g] Thank you all. And thanks Mental!

^ file & split
249855 [marcin.kulis] I'm very, very fresh in ruby so
249856 [logancapaldo] this line is almost certainly wrong, what you wanted was probably
249860 [marcin.kulis] thx for quick answer
249863 [logancapaldo] I' m not sure what you mean by "put together all this numbers."  A good
249864 [marcin.kulis] I've got this few lines
249865 [TimHunter nc] a) It's "+=" not "=+"
249868 [marcin.kulis] yep it's working better then before :-)
+ 249869 [ruy mezine.c] i = 0
| 249870 [ruy mezine.c] Oops, forgot to include the +=
+ 249983 [marcin.kulis] ok, guys I solved this very tough problem :-)

^ Re: relocatable ruby distribution
249859 [logancapaldo] Seems like, since you are already using java, that it would be better to use
+ 249884 [brabuhr gmai] /opt/lib/ruby/site_ruby/1.8
| 252042 [fkchang2000 ] I'm away from my system at work (at RailsConf), but if I recall, it
+ 250041 [richard.conr] Yes I second that. JRuby has some excellent features, but one of the nicest
  + 250057 [charles.nutt] With no gems and no docs included, we have a "jruby-complete" jar file
  | 250262 [richard.conr] Niiice. Didn't think it would go that low. Its not what I expected, but getting
  | 250353 [charles.nutt] Gems are a bit tricky, since they want to be loose on the filesystem and
  + 252044 [fkchang2000 ] My problem is the already developed apps use a number of C extension/c

^ [SOLUTION] [QUIZ] Checking Credit Cards (#122)
249867 [brian krahme] Here is my submission.  My first version was a bit shorter and more

^ Math Time!
249877 [ari aribrown] Alright everybody! Math time!
+ 249878 [miloops gmai] number.to_s[0..1000]
+ 249879 [james graypr] ruby -rbigdecimal -rbigdecimal/math -e 'include BigMath; digits =
  249889 [toddkennethb] Or you could do it the hard way (yes, reinventing the
  249890 [toddkennethb] Oops!  I meant -> puts pi( 1e1000 )

^ Re: Array.which_long? ( I coded an extension for Array )
249881 [w_a_x_man ya] I wondered whether these rather convoluted solutions had the
+ 249914 [shortcutter ] Actually you forgot an an even simpler solution - although it is not as
| 250002 [w_a_x_man ya] Although this is faster, it would take me a lot longer,
| 250056 [aquasync gma] module Enumerable
| 250070 [rick.denatal] Actually  Array#max already takes a block, and the Rdoc actually uses
+ 249981 [robert.dober] <interesting but long BM snipped>

^ Fwd: Please Forward: Ruby Quiz Submission
249883 [james graypr] ...

^ testing and assigning with regexp's
249887 [mikejaystein] str = ''
+ 249895 [eden.li gmai] str = $& if str =~ /something/
+ 249916 [TimHunter nc] str = ''
  + 249919 [B.Candler po] str = $1 if /(something)/ =~ str
  + 250236 [chneukirchen] str = str[/something/, 1] || str
    250261 [logancapaldo] In that vein,

^ strangeness with string concatenation and function return values
249888 [mikejaystein] I get an error when running code snippet A, but if I change it to B, there's
249891 [jesse.d.merr] You can't have that space between ReturnString and the parenthesis (you sure
249893 [list.push gm] Jesse explained the problem.

^ [ANN] Ruby Reports 1.0 RC2 (0.11.0)
249894 [gregory.t.br] We can really use your feedback, so please let us know what you think!

^ Re: Problem with RoR's controller getting too large
249896 [lojicdotcomN] I think you've created a false dichotomy. Have you, perhaps, come under

^ How to save the record in table using SQL query
249897 [mitijain123 ] how to execute
+ 249902 [akbarhome gm] What is your context?
+ 249903 [B.Candler po] At a complete guess - since you don't say so yourself - I think you're using

^ Re: Ruby load problem on AIX
249904 [nobu ruby-la] I eventually found this thread.
249915 [kinpoco gmai] Thank you very much for catching this thread.

^ Re: RoR how does scaffold work?
249906 [kazaam oleco] Is there at all any Rails newsgroup?!?
+ 249912 [cmdjackryan ] Just a guess, but checking a project's / software's website usually
| 249921 [kazaam oleco] what you wanna say with this? there's no info about a rails newsgroup on
| 249925 [sam powersou] Anansi,
| 250074 [kazaam oleco] lol there's a fucking huge difference between a newsgroup and a
| + 250082 [cliffrowley ] Ugh.  Lazy, rude and without gratitude.  This isn't your personal talking
| + 250258 [logancapaldo] Well,  since this  is a mailing list, and you seem only interested in
|   250277 [james.britt ] The Curse of the Mirror!
+ 250577 [skoot ideico] For quick questions you may want to look at #rubyonrails IRC channel on

^ Re: Windows new user cheat sheet?
249908 [hramrach cen] Thanks for the swift implementation.

^ How to save and display a newlinefeed with rails?
249909 [kazaam oleco] in my little rails application I've made a little database (create.sql)
249910 [alex blackke] <%= entry.news.split("\n").join("<br />") %>
249920 [kazaam oleco] arghh thanks for your help, wokrs great :)
249995 [skoot ideico] <%=3D CGI::escapeHTML(entry.news).gsub("\n", "<br />") %>

^ Inverse scanf: finding format specifers of existing fields
249911 [Bil.Kleb NAS] I have files full of numbers that I need to twiddle,
+ 249913 [fxn hashref.] Are there many different formats?
| 249926 [Bil.Kleb NAS] Yes, in that the field lengths are different.
| 249927 [fxn hashref.] Then I think you could base the solution on String#index/regexps
| 249931 [Bil.Kleb NAS] This, coupled with Robert's computed field lengths
+ 249917 [shortcutter ] If there is a fixed number of formats you can probably use a cascade of
| 249930 [Bil.Kleb NAS] Unfortunately not.
| 249932 [shortcutter ] For floating point numbers you might even get away with a single regexp
+ 249924 [dblack wobbl] require 'scanf'
| 249928 [Bil.Kleb NAS] The second output indicates that I failed to express
+ 250006 [rick.denatal] Bill,
  250279 [Bil.Kleb NAS] Excellent!  Thanks.
  + 250281 [Bil.Kleb NAS] Later,
  + 250444 [rick.denatal] irb(main):001:0> '%8.7f' % 0.0001170
    + 250446 [rick.denatal] By the way Bill, seeing who you seem to work for, I'd like to dedicate
    | 250544 [Bil.Kleb NAS] You helped me learn more Ruby; always a pure joy.  Thank you.
    + 250542 [Bil.Kleb NAS] Thanks,

^ Fwd: Please Forward: Ruby Quiz Submission
249918 [james graypr] ...

^ Newbie question: How to get an object in the Controller from a view's hidden field
249922 [agnisys yaho] I'm trying to pass an object from the View to the controller as a hidden field.
+ 249938 [cmdjackryan ] Please don't start a new topic by hitting "Reply" in your mail
| 249944 [zaphod s4r.d] But what about people, who do not want to use ugly webforums or
| 249945 [cmdjackryan ] What do you think is *this*? If you don't want to use the sources of
| 249947 [zaphod s4r.d] A news group about "ruby"? As far as I understood your last posting,
| + 249951 [damnbigman g] At the bottom of the Google Groups Page it give you the address for sending
| + 249953 [cmdjackryan ] On my end, it's a mailing list. For others, it is a webforum..
|   249956 [zaphod s4r.d] And on my end it is a usenet newsgroup. But as far as I know, even google
+ 249943 [zaphod s4r.d] I really do not understand, what you want to do. Which sense does it make,
+ 249952 [ivorpaul gma] You will need to pass the id and then get the object from the db using the
  250008 [agnisys yaho] Thanks Igor for you useful response. I would try the Rails community.
threads.html
top