249514-277705 subjects 249911-251769

http-access/2.0.7 RC
249695 [nakahiro@sa ] I posted a release candidate version of http-access/2.0.7.
249699 [nakahiro@sa ] I forgot to mention;  I seldom read ruby-talk these days so please send
249774 [caoyangruby@] I read the http-access wiki and the samples in svn, but can not find an

Re: Checking Credit Cards (#122)
249697 [olsonas@gm i] My solution is below.

249711 [osgxdvyg@gm ] In the current version of Ruby
274258 [osgxdvyg@gm ] In the current version of Ruby
+ 274361 [drbrain@se m] I have heard of attempts at backing TupleSpace with a database, but
| + 275657 [shawn42@gm i] ...
| | 275670 [waynefchin@g] Sorry to disturb the entire list.
| | 275829 [osgxdvyg@gm ] I think we need a rewrite of standard rinda's implementation, e.g.
| | + 275857 [vjoel@pa h. ] Is this even possible? IIRC, rinda uses #=== to match each element of
| | + 277014 [drbrain@se m] Last I read the code, Rinda would work with either an Array or a Hash
| + 277071 [ara.t.howard] i've backed it by sqlite, but not all functionality works due to the
|   277154 [osgxdvyg@gm ] @hash[size] ||= []
+ 274449 [youngh@ca da] I'm working on creating a faster tuple space implementation called

[ANN] Missoula Ruby Group Meeting
249718 [jgarvin.list] The May meeting for the Missoula Ruby & RoR Users Group is Tomorrow,

[SOLUTION] [QUIZ] Checking Credit Cards (#122)
249719 [blowmage@gm ] ...

All what you are looking for and much more
249721 [aasava@gm il] here www.urmania.tk you can find all what you are looking for and much

no such file to load -- openssl (MissingSourceFile)
249724 [dominicson@g] I'm on a CentOs, and that's what it says when it tries to load my rails

How do I prevent ruby on windows from automatically converting filename arguments?
249728 [robertlaferl] I have a Windows batch file (mytest.bat) that calls a Ruby script (mytest).
249734 [w_a_x_man@ya] Why not?  Are you aware that even under windoze, if a program

249730 [greg@ee s. a] ISMM'07 CALL FOR PAPERS

Rails Web services (in general), HTTP GET and JSON and other topics
249733 [daytues@ya o] I like SOA, I like Ajax, I like Ruby/Rails, but I am in doubt how to
+ 249740 [B.Candler@po] You'll get better answers from the RoR google group. You've come to the Ruby
| 249751 [daytues@ya o] Brian, thanks for a reply.
+ 249742 [garbagecat10] ...

run 'some' code as a different user? NET::SSH?
249735 [jfclisham@gm] I'm working on a ROR app that allows users to track batch computing jobs
249741 [B.Candler@po] The user will authenticate by providing their OS username and password?
249744 [jfclisham@gm] Yes, I will authenticate useing their OS username and password. I
+ 249747 [jan.svitok@g] Ruby is one process to the OS - so most probably it cannot have
| 249750 [jfclisham@gm] J.
+ 249796 [B.Candler@po] username = "foo"
  + 249801 [B.Candler@po] Another approach to consider, if the number of types of different requests
  + 249811 [jfclisham@gm] Brian,

249739 [tthmok@gm il] ...
249758 [ari@ar br wn] Why would you want to do that?!?!

FW: Fml status report (ruby-talk ML)
249743 [elliotth@bl ] silly question, because anyone who could answer "yes" won't read this, but has anyone been able to unsubscribe lately?

[ANN] isi-1.1.2 is released!
249748 [takeshi@ph s] Dear Rubies and TeXnichians,

Re: [SOLUTION] Checking Credit Cards (#122)
249752 [bartosz.blim] ...

Bad file descriptor
249753 [ghotrapa@ya ] Does anybody here use selenium?  If yes have you experienced an error
249852 [ghotrapa@ya ] Anybody?
249874 [just_a_techi] Have you tried the openqa.org forums?
249886 [ghotrapa@ya ] Yes i have, but unfortunately no response.

Microsoft announces IronRuby
249756 [TimHunter@nc] Interesting.
249795 [alex@bl ck e] Do we know if that's the same as this?
+ 249800 [charles.nutt] I would be very surprised if it was. Last I'd heard IronRuby was mostly
| 249827 [kevwil@gm il] I suspect it's a merge between IronRuby and RubyCLR. Remember John Lam
+ 249807 [Guido <""@.>] <http://channel9.msdn.com/Showpost.aspx?postid=304541>
  + 249826 [blowmage@gm ] ...
  + 249840 [charles.nutt] It's definitely not derived from RubyCLR, since that was just a bridge

relocatable ruby distribution
249759 [fkchang2000@] I've convinced the java project to allow ruby (yay!), and now we
+ 249762 [fkchang2000@] I should also point out we're running RHEL4 64 bit, though we want to
+ 249859 [logancapaldo] ...
| 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
+ 249884 [brabuhr@gm i] /opt/lib/ruby/site_ruby/1.8
| 252042 [fkchang2000@] I'm away from my system at work (at RailsConf), but if I recall, it
+ 250010 [brabuhr@gm i] it looks like they build a tree with the ruby binaries and libraries and

[ANN] ZenTest 3.5.2 Released
249760 [ryand-ruby@z] ZenTest version 3.5.2 has been released!

Microsoft brings Ruby to the browser?
249773 [wiremine@gm ] "Silverlight will now include a mini-CLR (Common Language Runtime)
+ 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@gm ] ...
| + 249851 [huw@DE TH SB] So far I have only heard MS people talk about Windows and the Mac. I
+ 249900 [mberrow1@pa ] About 5/6 of the way through this demonstration (using a Safari
  249901 [mberrow1@pa ] Missed the video link.

What's a Mutex and how do I use it?
249778 [web.dizign@g] Mutex seems very powerful and something I could use eventually as I
+ 249799 [B.Candler@po] There's a section headed "Mutual Exclusion"
+ 249854 [miloops@gm i] elements (process, threads, whatever) is trying to take the control or
  249857 [mental@ry ia] 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!

rails 1.1.6 & 1.2.2 compatibility
249779 [rubybox@gm i] ...

sprintf can not work in ruby c source?
249784 [axgle@12 .c ] where is my mistake??
+ 249787 [garbagecat10] ...
| 249790 [axgle@12 .c ] I am not an experienced C programmer,and just learn to write a Ruby
| 249793 [seebs@se bs ] Don't.
| 249825 [ruby@ba dk r] ...
+ 249789 [pragmaik@ar ] I guess your problem is that buf is an uninitialized pointer pointing to an
| 249791 [axgle@12 .c ] Oh,Yes,Thank you very much!~
+ 249792 [seebs@se bs ] Right about here.
+ 249798 [adam.boz@gm ] ...
  + 249824 [ruby@ba dk r] ...
  + 249837 [gethemant@gm] Thanks for the links Adam.

DBI, native extensions, etcetera.
249794 [seebs@se bs ] I want to do some databasey stuff.  DBI/DBD looks to be unmaintained

Ruby syntax question: instance.method(args) { more_stuff }
249802 [Nic.Daniau@X] ...
+ 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@do ne] In the meantime other person from german tested the Environment successfully
249828 [wonado@do ne] 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@gr yp ] ...

[ANN] RubyConf 2007
249812 [dblack@wo bl] 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@gm i] Brian's explanation is correct. I learned this technique from the 1st

Fwd: Please Forward: Ruby Quiz Submission
249814 [james@gr yp ] ...

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

[OT] Logic Programming
249818 [benjohn@fy h] 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@fy h] Thanks! That lokos like a good start.

[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@fy h] No, that's exactly the right kind of thing. There're some useful looking

Re: RubyConf 2007
249832 [rmagick@gm i] 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@fl en ra] 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] ...
  | 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@ca it in] 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@ma .] 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@wo bl] Possibly; have a look at: http://www.rubypal.com/singletons.html
  + 249898 [B.Candler@po] ...
    249899 [hhausman@gm ] hth,

[ANN] pallet 1.2.1
249839 [stephen@to s] I've been writing a multiplatform packaging tool for the company I work
+ 249843 [stephen@to s] As part of this release, I'd like to extend a (limited) offer to
| 249905 [benjohn@fy h] *snip*
+ 249907 [B.Candler@po] I'd definitely be interested in RPM.
| 250336 [stephen@to s] 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@to s] 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@to s] Yes. And, for debian, that's a whole slew of files in a "debian/"
| 250727 [tpo2@so rc p] Uhm - as far as I know you only need like - two - of them: debian/control
| 250909 [stephen@to s] Right. Unfortunately, to do lots of things programmatically, you need
| 250958 [tpo2@so rc p] Take those easy. debhelper has some 61 helper programms of which most are
+ 249935 [d454d@we .d ] oh, this is great! I just grabbed it and like it. :)
  250207 [tpo2@so rc p] 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@ya o] I have posted my experience using Ruby on the Meraki Minis. They are $50
257923 [gsc@om ga og] Does the Meraki Mini talk directly to a wireless laptop ?
257938 [dwrenne@ya o] You need one device connected to a router that is connected to the
258208 [gsc@om ga og] 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@ru y- a] Thank you for the report, but it's difficult to fix the problem

qt4-ruby-mswin32 progress
249845 [shea@nu l. e] Has there been any progress on a gem for qt4-ruby on windows with
249982 [leslieviljoe] ...

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

ActiveLdap questions
249853 [krwightm@gm ] ...
+ 249858 [garbagecat10] ...
| 249876 [kou@co mi ng] But Net::LDAP doesn't support START_TLS. I think Net::LDAP
| 249880 [garbagecat10] ...
| 249882 [kou@co mi ng] Yes. I know. And I already submitted a patch for supporting
| 249892 [garbagecat10] ...
+ 249875 [kou@co mi ng] You need to add some configurations.

file & split
249855 [marcin.kulis] I'm very, very fresh in ruby so
249856 [logancapaldo] ...
249860 [marcin.kulis] thx for quick answer
249863 [logancapaldo] ...
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@me in .c] i = 0
| 249870 [ruy@me in .c] Oops, forgot to include the +=
+ 249983 [marcin.kulis] ok, guys I solved this very tough problem :-)

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

Math Time!
249877 [ari@ar br wn] Alright everybody! Math time!
+ 249878 [miloops@gm i] number.to_s[0..1000]
+ 249879 [james@gr yp ] 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 )

Fwd: Please Forward: Ruby Quiz Submission
249883 [james@gr yp ] ...

testing and assigning with regexp's
249887 [mikejaystein] ...
+ 249895 [eden.li@gm i] 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] ...

strangeness with string concatenation and function return values
249888 [mikejaystein] ...
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!

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

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