368077-369851

367843-372771 subjects 368278-370552

^ Is there any clever way to encode the uuid string with base64?
368077 [terry6394 gm] ree-1.8.7-2010.02 > uuid = UUID.new()
+ 368079 [cremes.devli] If anything, base64 encoding will make it *longer*.
| 368104 [no spam.plea] Not if he converts it to binary first.
| 368105 [terry6394 gm] it's cool! thx Clifford :)
+ 368115 [b.candler po] str = "d52553808dda012d4ba834159e33f83c"

^ Soap4r method not allowed
368081 [christoforev] I'm a noob when it comes to soap so forgive me if the solution is
368089 [mike osdn.or] soap4r only does WSDL 1.1 and doesn't do 2.0 IIRC...

^ Recommendation on Forum software?
368084 [sophrinix gm] Greetings,

^ ruby 1.9 path
368085 [drdos.boy gm] i have installed ruby 1.9.1 but.. when i execute it ... on shell
+ 368086 [martindemell] That's just the ruby interpreter waiting for input
| 368088 [drdos.boy gm] Martin yes it did work .
| + 368091 [martindemell] If this is ubuntu, you should probably do it using
| + 368092 [drdos.boy gm] done i used your link = guide thanks
+ 368087 [martindemell] martin

^ Ruby Installation Help
368096 [surprisevall] In a nutshell, I compiled ruby-1.9.2 and installed it in my /home
368100 [surprisevall] Naturally, after I sent out my SOS, the answer occurred to me. As it

^ [ANN] Camping 2.1 - ERB, Haml, 1.9, bug fixes, new website!
368097 [judofyr gmai] {}

^ Segmentation fault zlib.so
368101 [ghotrapa yah] ruby 1.8.7 (2010-08-16 patchlevel 302) [i386-mingw32]
+ 368122 [ghotrapa yah] fault
+ 368131 [luislavena g] Do you have any previous Ruby installation in the PATH?
  + 368133 [ghotrapa yah] Luis, thanks for the reply.
  | 368150 [luislavena g] dll
  + 368153 [djberg96 gma] Another case for using pr-zlib, at least on Windows. :)

^ method mixin?
368102 [opti900 gmai] Just wonder is there any way to inject a bunch of code into an instance
368109 [shortcutter ] One thing you can do is alias the original and use it.

^ Extract domain name
368107 [cbciv yahoo.] All,
368110 [utkarsh2012 ] I think the best way will be actually match with a list of TLDs and
+ 368114 [b.candler po] And remember that some things which look like domains have set
+ 368254 [cbciv yahoo.] [snip my question about extracting domain name (e.g. "example.com"
  368257 [m.fellinger ] .dat
  368301 [cbciv yahoo.] For a minute, I thought your reply was generated by a porn spam bot

^ Re: MacRuby 0.6
368112 [sentinel1879] Dear Laurent
368139 [sentinel1879] Laurent, pls see http://www.ruby-forum.com/topic/215349

^ Need help with hash.to_s for enumerated items
368116 [rubyforum ch] I have a grid with keys
+ 368117 [rubyforum ch] Would it be a better option to create a custom class for linking?
+ 368120 [shortcutter ] Combinations of what?  Combinations of all Arrays that are your keys
+ 368147 [gf.bozzetti ] On my system array#to_s joins the arrays' elements ("12")

^ RVM macruby install procedure needs improvement
368118 [sentinel1879] I could be doing something wrong, but this is how it went.
368141 [b.candler po] "FAQ
368143 [sentinel1879] Just checked. I have no dir called ruby in /usr/local/lib.
368149 [b.candler po] I was just trying to answer your question as to why files are installed
368154 [sentinel1879] My copying the files to /usr/local/bin was actually a continuation of my

^ Eyewitness account of an 8-year old Girl
368119 [hduyewjhf gm] Eyewitness account of an 8-year old Girl

^ function call using reflection
368121 [raj_plays ya] I get each part of the following command in a string at runtime
+ 368123 [shortcutter ] const_get will only resolve a constant (as the name indicates).  You
+ 368124 [jgabrielygal] irb(main):001:0> module A
  368127 [raj_plays ya] Thank you, Robert and Jesus,

^ RINDA Probem
368125 [nandrolone66] I'm sure that i'm making a big mistake but i can't see it.Now i'm trying
+ 368126 [nandrolone66] sorry previously i postetd a wrong Cosumer class here the right ver
+ 368136 [martindemell] missing this code

^ 1.9.2-rc2 -> 1.9.2-p0 breaks Sinatra
368128 [onepoint sta] My Sinatra apps work with 1.9.2-rc2.  After upgrading to 1.9.2-p0 they
+ 368130 [luislavena g] Can =A0anyone
| 368135 [onepoint sta] No, because I never imagined that it might be necessary for an upgrade
| 368137 [chastell cha] Yes, I upgraded a (granted, trivial) Sinatra app from Ruby 1.9.1-p378 to
+ 368134 [abhijithoske] Sinatra's behaviour has appeared to change in the 1.9 compatible
  + 368138 [onepoint sta] Thanks!  That  was it!   But why should  Sinatra change  its behaviour
  + 369851 [rdoggsv svco] Thank you very much this solved my problem also, executing sinatra code

^ Aws S3object exists? method
368129 [brijeshshah8] through S3Obejct , I am trying to check whether file is exists or not on

^ gems directory not getting installed
368132 [ghotrapa yah] I've tried installing different versions of one click installers on a
368151 [luislavena g] 'gem env'

^ GEM's on Ubuntu
368142 [gonzalezgjai] ruby1.9.1-full
+ 368145 [rogerpack200] Recommend trying 1.9.2 or trying it in irb like
| 369239 [samweber01 g] Here's what happens on my Ubuntu 10.04 box.  I may be standing on my air
+ 368146 [erniervx gma] perhaps, if you try with export GEM_HOME="path_gems" ?

^ Openssl gem segfault
368144 [clemmece gma] I'm seeing an unusual segfault when running unit tests. Google hasn't

^ Re: Rails and windows
368148 [rogerpack200] Just 'cause it's slow in starting up each time.

^ Dealing with dates & timezones
368152 [stuart.clark] Hey all,
+ 368155 [sentinel1879] I have once done some time zone conversion in ruby. My apologies, I do
| 368156 [sentinel1879] Please note in the above program, i am always converting incoming time
| 368161 [stuart.clark] Thanks a lot for getting back to me. The first problem I have noticed
+ 368158 [b.candler po] Just sub out the "o'clock" and you should be fine.
  368165 [stuart.clark] Yeah sorry, got my words tangled up regarding + and - of hours.

^ require gem problem
368163 [gonzalezgjai] ruby1.9.1-full
368213 [rogerpack200] might help.  Worth a try (has instructions on how to avoid using

^ [ANN] JRuby 1.5.2 Released
368164 [tom.enebo gm] The JRuby community is pleased to announce the release of JRuby 1.5.2.

^ Using Test::Unit and running operations before and after a test suite
368166 [cpasillas ly] I am a very new Ruby user, trying to automated some tests.
368174 [ryand-ruby z] the setup of an entire suite of tests and another operation once for the =

^ It's a Bird, It's a plane, no! umm, it's a Distributed Agent?
368167 [gmkoller gma] Some months ago I showed up here after I had just finished a big part

^ case and class
368168 [ralphs dos32] Why does "YYY" get printed out here?
368171 [colinb2r goo] It's because of the definition of "===" which is used in the case statement.
368175 [ralphs dos32] Colin,
368183 [colinb2r goo] and uses
368185 [ralphs dos32] Colin,
+ 368239 [b.candler po] I think of === as meaning 'matches' rather than 'equals'. This is
+ 368246 [dblack rubyp] case obj
  368251 [ralphs dos32] David,
  368326 [dblack rubyp] Every object has a lookup path, consisting of classes and modules in a

^ stripping whitespace while reading CSV
368169 [r alum.mit.e] I'm perplexed over what ought to be a simple CSV question: can you ask
368260 [sentinel1879] I can't recall why I stopped using CSV, so I am not the best person to

^ "rake test" broken after upgrade to 1.9.2 (NameError)
368170 [eveith wwweb] I've got a quite deep class and directory hierarchy. It worked perfectly
368173 [martindemell] It's probably the removal of "." from the load path. Try adding
368177 [eveith wwweb] Martin,

^ Net SSH Problem?
368172 [astahl hi5.c] Today I get to jump in to the net::ssh gem to start using it to control
368184 [paradisaeida] This works here....

^ Problem installing some Gems on Linux
368179 [baldio gmail] I can't install some gems (nokogiri, hpricot, sqlite3-ruby...) on Slitaz
368202 [tn.pablo gma] For nokogiri you need all these (I *think*, I can't confirm right
368211 [baldio gmail] Thanks Pablo,

^ [ANN] RubyInstaller 1.9.2-p0 released - Newer DevKit and instructions
368186 [luislavena g] I'm very pleased to announce the release of RubyInstaller packages for
368197 [allenlooplee] great job!

^ convert  125% into  1.25?
368187 [myocean135 y] irb(main):011:0> format("%.2f",125)
+ 368190 [lists kempge] From a mathematical aspect the % sign means 1/100 so 125 % equals
+ 368196 [eveith wwweb] Pen,
  368241 [rasputnik he] You can sort of cheat, thanks to Rubys open classes.
  368252 [ryand-ruby z] the appropriate place to put that is Integer, not Fixnum.
  368253 [Rob AgileCon] => [Fixnum, Integer, Numeric, Comparable, Object, Kernel, BasicObject]
  + 368261 [rasputnik he] Ah, good catch both, thanks.
  + 368266 [ryand-ruby z] BasicObject]
    368274 [colinb2r goo] I said Integer because of how the original problem was described. I thought

^ 1.9.2 breaks ncurses (STR2CSTR) - pls help
368188 [sentinel1879] I am on Snow Leopard, installed 1.9.2 using rvm.
368189 [unexist dorf] Actually STR2CSTR was marked as obsolete in 1.8 and removed in 1.9.1.
+ 368192 [sentinel1879] I've tried various combinations. I either get runtime errors relating to
| 368218 [ralf.papenko] Unfortunately replacing STR2CSTR with StringValuePtr is not enough as
| 368225 [sentinel1879] Thanks a lot, Ralf. Working fine :)
+ 368193 [sentinel1879] On a fresh copy I placed the above lines, in the ncurse_wrap.h file.
  368194 [m.fellinger ] Michael Fellinger
  368201 [sentinel1879] Is anything other than ncurses port required to be installed ?
  368208 [m.fellinger ] e ----

^ Re: eventmachine 0.12.10
368195 [2006hz13084 ] I am struck with this wierd problem in windows when I am trying to use
368215 [rogerpack200] An excellent addition.  And a much more sane default.

^ Re: Happy Intransition Day! [ _why article link ]
368198 [wruyahoo05 c] Bill

^ A small problem for arrays
368199 [unc88 mail.r] I have 2 array. ar_1, ar_2
368200 [jeanjulien.f] =3D> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
368203 [unc88 mail.r] Can do the subtraction of arrays without using the operator "-"?
+ 368204 [jeanjulien.f] =3D> [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
| 368228 [shortcutter ] Just adding to that: if Arrays are large and / or there are frequent set
| 368656 [unc88 mail.r] set
| 368659 [jgabrielygal] r_array.
| 368721 [shortcutter ] he
| 368724 [jgabrielygal] the
| 368725 [shortcutter ] the
+ 368205 [code apotheo] The method is `-`, and using it as an infix operator is just syntactic

^ YAML::dump slow
368206 [ralphs dos32] This is interesting and counterintuitive ...
+ 368214 [rogerpack200] A couple ideas: do a custom yaml dump by hand, or use Marshal.
+ 368219 [m.fellinger ] e "reflects" the data structure of a directory tree of a disk. =C2=A0 All I=
  + 368234 [chastell cha] What exactly do I need to have Psych on an Ubuntu/rvm install?
  | 368243 [eregontp gma] oad -- psych (LoadError)
  | 368310 [chastell cha] Unfortunately, both rvm-wrapped and vanilla Ruby 1.9.2-p0=E2=80=99s configu=
  | 368312 [eregontp gma] That is a serious problem, you should probably fill a bug report with it.
  | 368339 [chastell cha] igure
  + 368236 [ralphs dos32] Michael,

^ I HACK $3500 FROM PAYPAL...
368207 [magguri.hare] I HACK $3500 FROM PAYPAL  At http://quickpaypalmoney.tk

^ Adding *each*
368209 [ralphs dos32] I'm trying to wrap my head around how to do an "each" for objects of a class that I have created.
+ 368210 [m.fellinger ] ass that I have created.
+ 368227 [ninja slapha] You can do that anyway, it just doesn't do anything. All methods can accept a

^ Directory copying using hard links?
368212 [michael schu] Is there an "official" way of recursively copying directories so that

^ Re: RubyInstaller 1.9.2-p0 released - Newer DevKit and instructions
368216 [rogerpack200] Nice. It worked.  Much easier than the old way :)
+ 368217 [michel demaz] Just for the record. In the file 'rubygems.rb' shipped with the
| 368220 [luislavena g] Indeed is wrong, as it assumes that the system drive is C:. Please
| 368221 [michel demaz] Done : 28494
+ 368222 [luislavena g] Sometimes I really wish you were less disperse.
  368276 [rogerpack200] Better late than never, I suppose.

^ RDBI 0.9.0 (release candidate) is out for testing
368223 [erik hollens] RDBI is yet-another database access library, currently in release

^ Ocra chat list?;  Ocra crashes;  Subclassing String
368224 [ralphs dos32] 1) Is there an active OCRA chat list?
+ 368235 [ralphs dos32] Well, it was not subclassing, I think, that was messing OCRA up.
+ 368245 [larschbelunk] You can go to http://rubyforge.org/projects/ocra and post to the forum
  + 368247 [ralphs dos32] Lars,
  + 368255 [ralphs dos32] Lars,

^ Help me realising my dream
368226 [aamir.coding] I have been featured on My Nokia Moments, check it out now. Help me becomea

^ CodeSnipr Learning can be simple!!
368229 [ashish.satap] All the group members right at here, we people recently lunched a
368336 [sentinel1879] Interesting. However, it seems you are filling the site not with

^ Module and protected/private functions
368230 [ajfrenzel we] Is it possible to declare parts of a module as private or protected to
368244 [robert.dober] as a matter of fact it is,

^ Mongrel1.1.6 Installation not working with Ruby 1.9.1 in Win
368231 [2006hz13084 ] I am facing with this problem where I am trying to install mongrel in my
368238 [luislavena g] On Aug 22, 10:32=A0am, Anand Srinu <2006hz13...@dlpd.bits-pilani.ac.in>
368299 [2006hz13084 ] Thanks verymuch for the lead. I got them installed and things are going
368311 [jzakiya gmai] On Aug 23, 10:47=A0am, Anand Srinu <2006hz13...@dlpd.bits-pilani.ac.in>
368321 [luislavena g] Before suggesting something, please read all the details that the
368366 [jzakiya gmai] Tested OS and platforms
368367 [luislavena g] I remember back in 0.6 only cygwin support was available.
368380 [2006hz13084 ] Going through the NGINX documentation, I learn that
368401 [2006hz13084 ] I found the solution for the DNS lookup issue. Finally, as usual, there

^ Help Support BING
368233 [aamir.coding] Help Support BING by Voting for it..
368250 [vikkous gmai] That's a microsoft product isn't it? Why would we want to help
368258 [sophrinix gm] Probably SMS message 45644 to the number 55555?
+ 368259 [synfinatic g] Funny, when I read "gift hampers" I thought he meant the containers
+ 368285 [code apotheo] Good call.  I had initially thought it might be vote totals.

^ Quickbooks gem
368240 [eblumenfeld ] Has anyone have any recent notice about www.behindlogic.com - the author
+ 368308 [eblumenfeld ] Has anyone have a hint?
+ 368309 [cbciv yahoo.] It looks like his last tweet was in April 2010 and his last update to
+ 368313 [sunaku gmail] Cheers.
| 368382 [cbciv yahoo.] Note that the key phrase here is "by Microsoft".  The project is still
| 368403 [eblumenfeld ] Charles, you are right.
| 368410 [cbciv yahoo.] Out of curiosity, does it come with source?
| 368413 [eblumenfeld ] Charles,
| + 368419 [cbciv yahoo.] Don't know, actually.  I suppose it depends on whether the purchasing
| + 368439 [code apotheo] Am I incorrect in my understanding that a binary library written in C can
+ 368320 [codyfauser g] Unfortunately Daniel Parker, author of the Quickbooks gem, passed away
  368323 [eblumenfeld ] It is sad to hear that, specially being so young (23 years old!!!)

^ directory listing without . and ..
368262 [raj_plays ya] How can I get an array of all legitimate sub directories in the current
368267 [ryand-ruby z] current
+ 368269 [shortcutter ] s. I almost _always_ use Dir.glob (aka Dir[...]). I also almost always use =
| + 368272 [raj_plays ya] Thank you, Ryan and Robert
| + 368315 [sunaku gmail] dirs = Dir["#{path}/*/"]
|   368316 [sunaku gmail] dirs = Dir["#{path}/{*,.[^.]*}/"]
+ 368305 [vikkous gmai] Omitting all hidden entries may not be what OP wants. This skips not
  368314 [ryand-ruby z] Yes. I said that.

^ unsubscribe
368263 [dekirunigen ] unsubscribe
368264 [raj_plays ya] ??
368291 [code apotheo] Yeah, I'm pretty sure that unsubscribing isn't going to fix the problem

^ assert "foo"[3] != "foo"[3,1]...revisited
368268 [timrandg gma] consider the following irb session;
368271 [matz ruby-la] "foo"[3,1] is "" since when index is within the string, the sought
368273 [colinb2r goo] 2010/8/23 Yukihiro Matsumoto <matz@ruby-lang.org>
368275 [matz ruby-la] Yep, description proposal is welcome.
368331 [timrandg gma] Thanks for responding to my question--it is something akin to getting
368344 [colinb2r goo] At the end of this post I've put examples of what I had in mind for slice
368347 [colinb2r goo] Correcting my own post to remove confusion between length as in array.size
threads.html
top