365662-368466 subjects 366042-366776

^ Ruby best practice for "always on" app/service?
365847 [yermej gmail] I'm building an app that will essentially be a web service client. It
+ 365854 [richard.conr] So the web service client IS a web app? That proxies/intermediates
| + 365891 [b.candler po] Seconded.
| + 365900 [yermej gmail] Basically, but I'm not sure my web service client should be a web app
| | 365918 [richard.conr] This makes things a bit more challenging. While these kinds of architectures
| | 365957 [yermej gmail] Thanks for taking the time to reply. This conversation has given me
| + 365969 [headius head] It can be even easier... using JRuby, gem install trinidad and run it like =
|   365995 [richard.conr] Nice heads-up Charles. I didn't go into too much detail with JRuby options,
+ 365858 [ninja slapha] Or Mongrel, Thin, Unicorn, etc -- anything Rack-based. (If you aren't Rack-
  365887 [yermej gmail] then

^ bug in TkComm::list?
365848 [geoff.belkna] I'm running into a weird behavior while using TkComm::list and
365851 [nagai ai.kyu] Those methods convert a tcl string to a Numeric object, if the string

^ HighLine freezes when using wrap_at and page_at
365849 [blambeau gma] I'm experimenting a small problem when trying to use HighLine with
365855 [james grayso] MacOS
365865 [blambeau gma] Works perfectly now :-)
365881 [james grayso] are
365908 [blambeau gma] Works fine !

^ Ruby 1.9.1-p129
365852 [wesley.mw.wo] I was trying to install ruby 1.9.1-p129 through RVM and got this error
365862 [onepoint sta] Here we go again!  http://redmine.ruby-lang.org/issues/show/3528
365901 [wesley.mw.wo] Thanks for the reply Jeremy.
+ 365909 [robert.dober] Hmm maybe you can avoid this by installing 1.9.2 rc-2? That is the
| 365921 [wesley.mw.wo] Thanks for the reply Robert.
+ 365936 [onepoint sta] Actually, when  reading your post I  assumed that p129 was  a typo for
  365978 [wesley.mw.wo] Thanks Jeremy.
  365992 [onepoint sta] I'm afraid  I don't have any ideas.   Were you using rvm  when you had
  368685 [wesley.mw.wo] I have a few updates from this problem. I've managed to take RVM out

^ Re: Console-based Pixel Editor (#231)
365856 [sentinel1879] Could you give us some hints...
365859 [yahivin gmai] Sorry for the confusion. I meant to say that quiz #231 Console-based

^ air Jordan 11 Shoes cheap
365860 [fgfh155485 1] Air Jordan 1 Seller http://www.4usneakers.com

^ Re: differnce between .nil? , .empty?, .blank?
365861 [info israelu] This is answer was concise and helpful. Thanks!
365868 [fxn hashref.] It should work

^ what is the advantage is to use class methods over object me
365863 [jakheart001 ] Could u please tell me what is the advantage is to use class methods
+ 365864 [xeno.campano] 1.  All programming should be as much functional programming as is practical.
| 365866 [shortcutter ] 2010/7/15 Xeno Campanoli / Eskimo North and Gmail <xeno.campanoli@gmail.com=
+ 365867 [shortcutter ] IMHO the primary criterion for using class methods over instance
+ 365990 [ninja slapha] Because the code "belongs" there, for whatever reason. For example, in

^ xmpp4r and ejabberd
365873 [sid.ravichan] Im using xmpp4r and ejabberd and my server runs on EC2 on an elastic IP.

^ Can I install Ruby from a cd w/out the internet?
365875 [connor.labau] I'd like to program using Ruby in a secure environment, i.e. one that
+ 365876 [dhruva.sagar] There is a Ruby Installer for windows. If not that, you also have Ruby
+ 365877 [joseph.savar] You could use netbeans Ruby edition: http://netbeans.org/downloads/ choose

^ Can't change the value of self
365878 [ralphs dos32] Ok ... I've googled this error and I see stome explanations about usnig destructive methods ...
365892 [b.candler po] It can take care of itself, it can't turn into someone else :-)

^ Ruby for Windows Mobile (Win CE, CeGCC)
365879 [a.x.e.1 ya.r] I'm spent countless time in searching working ruby port on Windows
365880 [rogerpack200] If it's a dll it "should" work.
365941 [a.x.e.1 ya.r] How do I add it in a right way? When I add it to LDFLAGS and LIBS env
365959 [rogerpack200] is there an --enable-pthreads option?  I know 1.9.2 used to try to use

^ sinatra
365883 [dennis corte] May not be the best place to ask, but...
365886 [ammarabuali ] BasicSocket.do_not_reverse_lookup = true

^ New version 2.5.5 of IBM_DB gem now available
365884 [praveendevar] New version 2.5.5 of the IBM_DB gem, the Rails Adapter/Ruby Driver for

^ farming automation [parallel testing on multipe remote machines at  the same time]
365885 [cristina.tor] can we use parallel testing using few[a farm of] remote machines,
365923 [ryand-ruby z] Is there a difference between the scenarios?

^ OptionParser mandatory versus optional arguments
365888 [byrnejb hart] I am trying, without success obviously, to check for a mandatory

^ Sending packets over TCP server
365889 [hikay_akira ] I'm making a TCP server in Ruby, and I still haven't figured out how I
365890 [b.candler po] You need more detail than that. Is a string of a fixed size, or
365893 [hikay_akira ] I didn't know that we could just "escape" characters like that to make
+ 365894 [hikay_akira ] Also, if a string DOES contain bytes, it won't show.
| 365896 [b.candler po] a = "\x07\x00\x41\x42\x43\xff"
| 365897 [hikay_akira ] Amazing! Then again, thank you. I think I finally reached the point
+ 365895 [b.candler po] Navigate to chapter "The Ruby Language" in top-left box. Scroll down to

^ Getting docs on openssl in ruby
365898 [matt conundr] I've been digging around trying to find some documentation on using =
365902 [yermej gmail] sl in ruby, and having a terrible time of it. =A0The openssl sections of th=
365903 [matt conundr] It's hard to ask more specific questions since I'm just starting out.  =

^ Ruby 1.9.1 Array#combination kinda lazy
365904 [phrogz mac.c] count = 0
+ 365943 [ryand-ruby z] #!/usr/bin/ruby -w
| 365964 [phrogz mac.c] Just reproduced using 1.9.1p378 on Ubuntu. Looks to me like it's not a
| + 365965 [ryand-ruby z] charset=us-ascii
| + 365966 [phrogz mac.c] in `combination': too big for combination
+ 365970 [phrogz mac.c] ...

^ Think i just figured it out
365905 [sid.ravichan] Its actually an EC2 security groups issue. You need to ensure if the

^ Triggernig the debugger
365906 [ralphs dos32] In Rails I can use the
365907 [ralphs dos32] I found
365912 [robert.dober] akpoints manually when the program starts?
365910 [robert.dober] eakpoints manually when the program starts?

^ String#to_ptr w/ Ruby 1.9's DL library is undefined
365913 [andrewrousse] I'm working on porting up an extension from Ruby 1.8 to Ruby 1.9 and
365960 [rogerpack200] FFI has a working to_ptr

^ [OT] Setting configuration until end of parent bash session
365915 [transfire gm] Any advice on how a ruby script can set a config info that's per
+ 365919 [bob proulx.c] Using an environment variable?
+ 365927 [pdromero gma] $ env FOO=3D"something" sh

^ Triggering the debugger II
365920 [ralphs dos32] I'm still having trouble with the debugger and debugging
365947 [user compgro] ruby -rdebug UltraDedup.rb
+ 365948 [ralphs dos32] Rocky,
| 365961 [rogerpack200] Faster, less bugs.
+ 365963 [vikkous gmai] Furthermore, if you run your ruby program via the rdebug command, you
  + 365979 [gsinclair gm] With ruby-debug, I start debugging via the "debugger" method in my
  + 366012 [rocky.bernst] , you start debugging via 'rdebug'. This makes it more

^ Encode string in Ruby decode it in Javascript?
365922 [linusoleande] As the title describe.
365931 [m.fellinger ] JSON
365945 [linusoleande] I'm already using JSON to pass data to the client.

^ Re: Setting configuration until end of parent bash session
365924 [transfire gm] Thanks, I feel like I've gotten a step closer, but still no cigar. I
365926 [transfire gm] Just discovered that capitalized variables (environment variables) are
365935 [transfire gm] Looks like I am wrong about this. I ran an isolated test and they both

^ [ANN] minitest 1.7.0 Released
365925 [ryand-ruby z] minitest version 1.7.0 has been released!

^ [ANN] minitest-macruby 1.0.0 Released
365928 [ryand-ruby z] minitest-macruby version 1.0.0 has been released!

^ [ANN] rake-remote_task 2.0.0 Released
365929 [ryand-ruby z] rake-remote_task version 2.0.0 has been released!

^ [ANN] vlad 2.1.0 Released
365930 [ryand-ruby z] vlad version 2.1.0 has been released!

^ Segmentation fault in interpreter doing simple MySQL
365932 [jr openstage] I am a relative ruby-newbie (hey that rhymes!) but I am a python expert
365946 [mulder.patri] Just a small comment:  Your script works for my local environment

^ Re: farming automation
365934 [n8 adullmome] are you looking for something like capistrano, func, or maybe

^ help please with REXML
365937 [cornflaik gm] I am trying to make a simple ruby script that can look at a set of xml
+ 365939 [paradisaeida] If you can afford the time to install Nokogiri, this might be a good
| 365940 [cornflaik gm] Thank you for you help!
+ 365953 [brabuhr gmai] $ ruby /tmp/code_below

^ Sinatra + mumboe-soap4r + ruby1.9.1 problem
365942 [rkononov gma] and sinatra

^ Recurse through array of arrays
365949 [iainspeed gm] charset=us-ascii
365950 [iainspeed gm] charset=us-ascii
365956 [jcmoore pres] result = t.flatten.select { |e| e.whatever_attr == "anything" }
365958 [jcmoore pres] oh yes..
365967 [iainspeed gm] Thanks very much. Can't argue with a 12 line into 2 line reduction! :)

^ if __FILE__ == $0   & ruby & rdebug & FXRuby
365951 [ralphs dos32] The following line acts differently under rdebug and ruby
365962 [vikkous gmai] The name rdebug is ambiguous. Do you mean debug.rb, the debugger which

^ [ANN] Money 3.0.5
365952 [shane.emmons] Money 3.0.5

^ [ANN] webgen 0.5.13 released
365955 [t_leitner gm] Hey everybody!

^ Pstore confusion for a beginner
365971 [stevepauly c] Greetings,
365998 [gsinclair gm] a ||=3D b is short for "a =3D a || b", just like "a +=3D b" is short for "a=
366011 [rick.denatal] NOT AGAIN!

^ Hpricot test for equivalence of two xml segments?
365972 [xeno.campano] I'm looking through what documentation I can find for Hpricot (nokogirl wouldn't
365975 [ammarabuali ] I can think of a few definitions for equivalence. One definition would
365977 [xeno.campano] The only thing I am concerned about is permutations of attributes inside the
365980 [mike.dalessi] which is Nokogiri-based.
365984 [xeno.campano] I believe you.  Nokogirl wouldn't install though...yes, and nor did Lorax...
365986 [aaron tender] here

^ [ANN] horo 1.0.0 Released
365976 [aaron tender] horo version 1.0.0 has been released!

^ [ANN] Rumai 3.3.0
365981 [sunaku gmail] Rumai

^ Book problems and solution for windows 7
365983 [ilias.elissa] Book problems and solution for windows 7

^ client-side Ruby on iPad/iPhone?
365988 [jp jeffpritc] I've seen jRuby and IronRuby, and really want to use them since i really
+ 365989 [joelvanderwe] have you seen rhomobile / rhodes?
+ 365991 [ninja slapha] Do you really know JavaScript well enough to hate it? It's possible you're an
| 366007 [tony.arcieri] That's a pretty pretentious question to ask.  But I'll bite.
| 366017 [ninja slapha] I was never asserting that it was impossible for someone to know JavaScript
| 366047 [tony.arcieri] Of all of the examples of "weirdness" in Ruby, I wanted to single this one
| 366094 [ninja slapha] I don't see much of a difference, except where there are artificial
| 366215 [tony.arcieri] You know, we can beat around the bush all day about this.  I think I'll just
| 366441 [ninja slapha] ng
+ 366013 [jp jeffpritc] Just to clarify¡ÄI was hoping there might be a universal replacement, not
  366036 [cwdinfo gmai] not=20
  366039 [jp jeffpritc] Thanks Steve.  I will check these out.

^ how to test a ruby script from another ruby script?
365993 [dearsaravana] i have a ruby echo server script working, but to validate that its
366065 [rogerpack200] might be of some service to you.  I've also seen core do it by

^ Infinite Loop in Code -- Logic Error
365994 [jamesrasmus ] I've just started my journey as a ruby developer, and I'm going through
+ 366000 [dblack rubyp] Yes, but a little can go a long way :-) You definitely need to let Ruby
| 366026 [jamesrasmus ] David,
| + 366027 [dblack rubyp] Good -- I'm pleased.
| + 366028 [dblack rubyp] Following up my last reply: see http://pastie.org/1049200 for a version
| | 366029 [dblack rubyp] Just pasted a small correction to that last pastie.
| + 366033 [rick.denatal] James, at this point in your journeys in Ruby, it might be well to
+ 366049 [matt conundr] cannot
  366050 [jamesrasmus ] Thanks everyone who's helped out with this. I finally got my original

^ Different results in command-line vs. TextMate
365996 [dblack rubyp] This message is in MIME format.  The first part should be readable text,
366001 [ammarabuali ] Those are nonbreak spaces (U+00A0, 0xC2A0) that should be treated as \W.
366002 [dblack rubyp] Thanks for checking. It turns out to be an encoding thing: TextMate

^ Driving irb from IO.popen
365997 [jeanjulien.f] I'm stuck with a problem concerning IO.popen
+ 365999 [vikkous gmai] You could try to detect whether irb is waiting based an what prompt it
+ 366003 [shortcutter ] Not a workaround but a solution: since you only want to collect the
  366006 [jeanjulien.f] Yes. Bad habit on my side: I tend to find it more readable that way so
  + 366023 [shortcutter ] Correct.
  + 366074 [gabriel.horn] You may want to check out a recently released gem called greenletters,

^ Instance eval in 1.8 and 1.9
366004 [gsinclair gm] Porting a program from 1.8 to 1.9, I hit a stumbling block in the use
366005 [stefano.croc] Your code runs without errors for me with ruby 1.9.1-p376.
366008 [gsinclair gm] ruby 1.9.2dev (2010-07-02 revision 28524) [i386-cygwin]
366010 [vikkous gmai] It seems like this could be a regression. The error message at the
366068 [b.candler po] Seconded. The program works OK for me with ruby 1.9.2dev (2009-07-18
+ 366070 [vikkous gmai] Nobu says this is not a bug, and his explanation makes perfect sense
+ 366071 [gsinclair gm] * works on 1.9.1-p376 [Caleb, Gavin]

^ [ANN] Call for Participation for 2010 Workshop on Scheme and  Functional Programming
366009 [feeley iro.u] CALL FOR PARTICIPATION

^ [ANN] Kwalify 0.7.2 - parser, schema validator, and data binding for  YAML and JSON
366014 [kwatch gmail] I released Kwalify 0.7.2. This is a bug fix release.

^ ruby abstraction
366015 [jeob32 gmail] I'm a newbie with a background in Java. I've just about finished working
+ 366016 [steve stevek] There aren't interfaces in Ruby, because Ruby is dynamically typed. So
+ 366018 [ninja slapha] Yes and no.
| + 366024 [shortcutter ] You could not have Java without interfaces.  You would at least have to
| | 366089 [ninja slapha] I don't think so. It would be much like Java without Generics -- frustrating
| | 366093 [shortcutter ] Still, that would not be the Java for me that we have today.  Without
| | 366442 [ninja slapha] It seems like this exact problem exists just as much in an interface, though
| + 366030 [jeob32 gmail] David,
|   366032 [rick.denatal] when I was at IBM.  I've shared it with a few experienced Rubyists who
|   366090 [ninja slapha] Definitely a resonance.
|   366092 [shortcutter ] There once was the concept of "signature" in g++.  Basically you could
+ 366054 [no spam.plea] Interfaces provide Java with dynamic method dispatch, without the
  + 366056 [shortcutter ] That sounds interesting.  Can you please elaborate a bit more or
  | 366203 [no spam.plea] Because every object which implements an expected interface may have
  | 366218 [shortcutter ] Wouldn't that mean duplicate entries for a method which is part of
  | 366237 [no spam.plea] Yes, but the compiler knows which interface it wants,
  + 366076 [rick.denatal] Is the * the equivalent of Emily Litella's "Never Mind!"

^ Search Array
366019 [emily.ward89] I have an array which is created by reading a csv file
+ 366020 [w_a_x_man ya] time.find{|x| x[0]=3D=3D"valuea"}
+ 366022 [jeanjulien.f] def index_biarray(biarray,obj)
+ 366038 [Rob AgileCon] There's a particular method that applies in cases like this.  You have
+ 366044 [emily.ward89] Thank you so much. Very helpful I've got the program working!

^ Ruby Shoes: Self-contained?
366021 [spare frigid] I've been learning to use Shoes. The included manual indicates that to
366034 [steve stevek] Hey Terry-

^ Template is missing statement
366031 [borijee goog] Just starts wirth ruby. Everything is installed
+ 366035 [m.fellinger ] Do you notice any difference between the two filenames?
+ 366067 [b.candler po] You haven't actually said so, but I'm going to guess you're working with

^ Null checks in Ruby
366037 [carljenkins ] I am working to learning Ruby and have a bit of a question regarding
366040 [shortcutter ] That does make sense although often null checks are superfluous because

^ The price of a modern list architecture?
366041 [jackokring g] Simple really, if Lisp's (X , Y) construct should have limits placed
366064 [eleanor game] e59023a8ae4c/9eb9f6b99139a5df#9eb9f6b99139a5df
366066 [jackokring g] On 19 July, 12:22, Eleanor McHugh <elea...@games-with-brains.com>
366072 [eleanor game] Well if you need a testbed at some point let me know, I have a virtual =
366073 [jackokring g] There's a section started on http://sites.google.com/site/jackokring
366081 [eleanor game] Thanks :)