376088-376854 subjects 376499-377045

^ [ANN] rdoc 3.3 Released
376317 [drbrain segm] rdoc version 3.3 has been released!

^ New Savon Update, basic auth
376320 [rfsllc gmail] Does anyone know how to setup basic auth with the Savon gem update
376323 [rfsllc gmail] client = Savon::Client.new do

^ [ANN] ruby-doc.org API docs updated
376322 [james.britt ] API docs, both core and std-lib, have been updated on ruby-doc.org.
376336 [sutniuq gmx.] Thanks!
376872 [james.britt ] Yeah, the problem is that generating the std-lib docs requires a set of

^ SUNLisp 2: Josh vs. Kenny Flamewars Galore!!
376325 [kentilton gm] All they agree on is Common Lisp! Come join the Yobbos of MCNA at the
376327 [PointedEars ] ...

^ How to test I18 characters in watir/ruby
376328 [bhavesh1_sha] I have some chinese, french characters in the description filed of an

^ Is singleton class of an object already created?
376329 [samnang.chhu] I would like to know is there any ways to check is singleton class of an
+ 376342 [b.candler po] As an indirect test, you can't Marshal any object with a singleton class
+ 376348 [anurag08priy] Perhaps you need a method to determine the presence of singleton
| 376349 [samnang.chhu] I guess that a singleton class always exists for
| 376354 [timrandg gma] Could you simply count singleton_methods? If singleton_methods returns
| 376372 [mentionuse g] Really small point here, and not really on topic, but this is a little
| 376383 [shortcutter ] I couldn't agree more!  Using ternary operator with "false" and "true"
+ 376359 [samnang.chhu] I'm not sure every time we invoke 'singleton_methods', then it will
| 376368 [shortcutter ] irb(main):001:0> x="foo"
+ 376566 [zhangsu live] I just found that even though a singleton method is removed, the
| 376573 [jonas pfenni] Try reporting on http://redmine.ruby-lang.org/ . They are usually
+ 376580 [jrmair gmail] in YARV and MRI, the singleton class always exists for a class (it is

^ method `tlsconnect' not defined in Net::SMTP
376331 [avijit.shand] when I try to do script/server I am getting this error.
376341 [b.candler po] /opt/local/lib/ruby/gems/1.8/gems/mail-2.2.13/lib/mail/core_extensions/smtp.rb:7:in

^ Time + time.local
376332 [lister pikkl] I cant seem to get localtime to work, can anyone share some gotchas?
+ 376334 [skye.shaw gm] Unless you've `zic`ed otherwise, you'll need to use the right zone
+ 376360 [akr fsij.org] Ruby uses a C-level function, localtime(), to obtain the timezone

^ Threading in ruby
376333 [pathsny gmai] I was recently trying to solve a pet problem of mine where threading
376335 [shortcutter ] ng
376337 [pathsny gmai] oh absolutely.Once I learnt that Queue's exist,  I got the thing working
376338 [shortcutter ] In Java - which has far more sophisticated threading and memory model
+ 376436 [pathsny gmai] thanks for such a clear explanation. I have a couple of questions
| 376438 [shortcutter ] Yes.
| 376440 [pathsny gmai] oops Im sorry I wasnt clear. My question was why would I need to
| 376443 [shortcutter ] Ah, I see.  The reason is simple: if the thread reading the resource
| 376454 [pathsny gmai] aha, got it. A synchronized block guarantees that stuff in one thread
| 376493 [shortcutter ] I don't think this is not scoped to mutexes: a memory barrier is
+ 376437 [pathsny gmai] ah I see. So does each wait get the corresponding signal? so if I have
  376439 [shortcutter ] signals are not queued.  All threads waiting on the condition are
  376441 [pathsny gmai] hmm ok Im confused now. Say the main thread completes really quickly and

^ ripl - an irb alternative - 0.3.0 released
376339 [gabriel.horn] ripl, a light modular alternative to irb, has reached 0.3.0. ripl
+ 376340 [shortcutter ] This looks interesting, although I would only use it if I need a shell
| + 376355 [ryand-ruby z] So... you only advocate using 100% ruby-core + stdlib. Right.
| | 376367 [shortcutter ] Not exactly.  I am balancing benefits and costs.  For me using ripl as
| + 376364 [gabriel.horn] The point in giving a loc comparison is to draw attention to the
+ 376347 [sutniuq gmx.] Maybe a new hope for embedding an interactive Ruby in my GUI
| + 376356 [ryand-ruby z] Luckily with it only being ~270 lines long, you can easily find what =
| + 376363 [gabriel.horn] Should be possible. I've been able to bring ripl to the web via
| + 376365 [gabriel.horn] Should be possible. I've been able to bring ripl to the web via
| + 376366 [martindemell] Give my guirb project a look: https://github.com/martindemello/guirb
|   376370 [sutniuq gmx.] I will have a look at it, definitely. I'm working mostly with wxRuby,
+ 376392 [hramrach cen] There is a serious issue with ripl.
| 376424 [gabriel.horn] For ruby < 1.9.2, you'll need to have readline installed. I'm
| + 376426 [ben bleythin] It is on recent debian and ubuntu with their rubygems. You can add
| + 376435 [hramrach cen] I installed on another machine and do not get the error.
|   + 376485 [gabriel.horn] If your install is building the readline_line_buffer extension
|   | 376495 [hramrach cen] Apparently bond requires readline development files but does not
|   | 376500 [gabriel.horn] sts
|   | 376501 [hramrach cen] ists
|   | 376549 [gabriel.horn] exists
|   | 376560 [hramrach cen] exists
|   | 376563 [gabriel.horn] the
|   | 376584 [hramrach cen] the
|   | 376672 [gabriel.horn] s the
|   | 376676 [hramrach cen] Yes, this now works perfectly for me.
|   | 376735 [gabriel.horn] lib
|   | 376753 [hramrach cen] /lib
|   + 376564 [markus fisch] May I ask which version you're using? Afaik you didn't yet mention it.
|     376572 [hramrach cen] Debian 6.0
+ 376393 [hramrach cen] How is it supposed to be used?
  + 376404 [ryand-ruby z] You should probably fix that first.
  + 376427 [daniel degu.] $ gem --version

^ Excel encryption
376344 [stuart.clark] I have a script which runs across a directory and opens Excel files,
376386 [jude.dashiel] V2h5IG5vdCBleGFtaW5lIGEgZmlsZSdzIHByb3BlcnRpZXMgYmVmb3JlIG9wZW5pbmcgYW5kIGlm

^ Rails Position(s) in Ft Lauderdale
376346 [kentilton gm] It does not have to be at SUNLisp tonight*, but anyone with strong

^ Can't get class name
376350 [samnang.chhu] I am learning how to design a DSL by using const_missing, but I face a
376371 [shortcutter ] I am not sure what you are attempting.  But you should keep these facts in =

^ Rails Engineer for founding member role (SFBay)
376353 [andy hhinc.c] Started less than 6 months ago and and generated over $1million in Rev

^ gem: to_lang -- translating why to Japanese and back again ...
376358 [stephen.bann] $ ruby ~/Desktop/google-translate.rb

^ replacing inheritance with module inclusion, oh my
376362 [chastell cha] The problem: a Person should be an OpenStruct-like Entity, with the

^ Re: cartesian product of arrays
376369 [adriano.mitr] well as RubyGems, the project is now hosted at GitHub and its new

^ mixin technique overrides variables
376373 [konrad.krol8] module Parent1
+ 376374 [mentionuse g] It works this way because when you include Parent1, you give its initialize
+ 376377 [josh.cheek g] module Parent1
+ 376381 [konrad.krol8] You're right, thanks for explanation ;)
  376387 [shortcutter ] IMHO this is a superior approach: define a method initialize for all

^ Rubygems, RVM and Bundler Confustion
376375 [lakshmanan v] I am really confused with how these three (rubygems, rvm and bundler)
+ 376378 [steve stevek] If you 'gem install', it gets installed to your home directory. If you 'sudo
| 376380 [lakshmanan v] thanks. what about a directory called .bundle in our app's root folder.
| 376401 [steve stevek] It contains a file, config, which is a YAML file that saves the options you
+ 376390 [hassan.schro] `gem env` will show you where things are getting installed (and a lot

^ Ruby, rubygame, eventmachine
376376 [thisredoned ] Hey guys.
376421 [thisredoned ] It seems to be working using EM.tick_loop but instead of require

^ Re: Turning off WEBRick server logging (XMLRPC)
376379 [phil404 yaho] @server = WEBrick::HTTPServer.new(:Port => port, :AccessLog => [])
376646 [gal bar-or.c] Philippe - thank you, that did the trick... it's amazing how something

^ Class Initialization?
376382 [kedar.mhaswa] I have a class and two class methods: self.encode and self.decode. The
+ 376384 [shortcutter ] it is executed at "class load time" which in Ruby is "class definition
+ 376385 [wagner.andre] class MyClass
  376406 [kedar.mhaswa] Robert, Andrew,
  + 376409 [wagner.andre] To answer this, grasshopper, I suggest you study this code, and figure out
  | 376465 [kedar.mhaswa] My n00b parser is stuck at class << self for I have to yet learn that
  | 376469 [wagner.andre] Well, there are two variables, on two different objects (the class and its
  | 376470 [kedar.mhaswa] Andrew!
  | 376474 [gwtmp01 mac.] Careful here. The attr* methods are manipulating instance variables and
  | 376494 [shortcutter ] class
  + 376432 [shortcutter ] Good!
  | 376466 [kedar.mhaswa] Perhaps these are the Ruby Pro techniques. I think I have to read more
  + 376447 [b.candler po] And indeed, the execution of the code is what defines the class. The
    376467 [kedar.mhaswa] Brian,

^ Petition to add Metasploit Project as Ruby success story
376388 [Christian_Ki] I noticed the Ruby success stories on the Ruby website. I would like to mak=
+ 376410 [james grayso] website? I'm referring to page=20
| 376411 [Christian_Ki] Thanks for the response. I had tried contacting the webmaster several times=
| 376416 [james grayso] times but didn't hear back.
| 376418 [Christian_Ki] h4. Security
| 376419 [james grayso] Rapid7, is an open-source penetration testing software that helps IT =
| + 376420 [Christian_Ki] Fantastic - and very fast! :-)
| + 376450 [b.candler po] I hate "in the past year", as this information will automatically become
|   376451 [james grayso] Excellent point.  Updated.
+ 376429 [heloeaa hotm] I started a company, the main selling

^ Re: filepath in identify for paperclip cygwin
376389 [wtdnielsen g] I had the same problem, and it took me 3 weeks to solve.
376399 [luislavena g] Question, are you using cygwin Ruby or native Ruby? because
376433 [shortcutter ] No, you want

^ Re: [ANN] test-loop - Continuous testing with fork/eval
376391 [sunaku gmail] ### test-loop - Continuous testing for Ruby with fork/eval ###

^ How to view the converted sql from Activerecord method in view
376394 [jakheart001 ] I will be happy if someone clear doubt, i can see objects in view by
+ 376423 [me waltonhoo] This is really a Rails question and should go on the Rails list.  That
+ 376448 [b.candler po] If I google for "activerecord sql log", the first hit shows how to
  376505 [jakheart001 ] Thanks for quick replies

^ actual class name
376395 [pedzsan gmai] puts "#{foo.class}"
+ 376398 [ryand-ruby z] Why not tell us about the real problem and not the symptom?
+ 376405 [pedzsan gmai] Thanks.

^ Getting the actual size of a sparse file
376396 [djberg96 gma] How do you get the true size of a sparse file? Using /var/log/lastlog
+ 376400 [pedzsan gmai] I would go find the source for Ubuntu's ls and see what does it do for
| 376414 [djberg96 gma] Yeah, looks like ls -s defaults to a block size of 1.
+ 376403 [ryand-ruby z] ...
| 376408 [djberg96 gma] True, but I'd like to use pure Ruby (not system calls) if possible, at
| 376412 [matthew byte] dd if=/dev/zero bs=1 seek=100M count=0 of=out2
+ 376417 [johan556 gma] The st_blocks field indicates the number of  blocks  allocated  to  =
  376471 [djberg96 gma] llocated =A0to =A0the
  + 376472 [gwtmp01 mac.] I think you'll want to read up on the stat() system call. The POSIX
  + 376475 [johan556 gma] allocated =A0to =A0the

^ This Email List
376397 [pmacgown com] I have gone through the process of unsubscribing from this mailing list=C2=
376402 [josh.cheek g] Have you tried that one? There is a giant form at the bottom for
376407 [cmdjackryan ] And as large as the form is, teh "unsubscribe" option can hide itself
376413 [pmacgown com] Did that.=C2=A0 Several times, in fact.=20

^ Using rescue_from outside of rails
376415 [dennismonsew] I have a script that is utilizing the active_record gem outside of rails
376422 [pedzsan gmai] According to my ri, rescue_from is part of ActiveSupport.

^ Listening for keystrokes
376425 [flethuseo gm] How can I listen for keystrokes in ruby. I need to build a program

^ Execute Ruby code after Gem is installed
376428 [btrichardson] I'm creating a Ruby gem that utilizes the ruby_protobuf gem to generate
+ 376457 [luislavena g] No, post_install display a message, it doesn't execute code due the
+ 376476 [btrichardson] Sweet... thanks Luis! I'll try this out. Does the file provided to the
| 376481 [drbrain segm] configure + make
+ 376489 [btrichardson] Cool... that solved my problem. Thanks again!

^ Re: modules including other modules
376430 [adriano.mitr] Well, this limitation can be circumvented by runnning the following
377184 [adriano.mitr] makes it feels like it were part of the Ruby language.

^ problem with attachement_fu on sinatra
376431 [ganesh.katha] I am trying to user attachement_fu plugin on sinatra..

^ Watir 1.7.0 Released
376434 [jarmo.p gmai] This year's first Watir is here - version 1.7.0!

^ Error message installing the feedtools gem.
376442 [dev.leray gm] I'm currently studying Ruby with the book : "Beginning Ruby, from novice
376445 [dev.leray gm] sudo gem install builder -v=2.1.2

^ Exception 'LoadError' everywhere
376446 [sslayden gma] I am a total Ruby noob, so please forgive my ignorance.
376449 [cmdjackryan ] No worries. :)

^ ruby method definition
376452 [rail.shafigu] i'm somewhat new to ruby, and as it seems this language is redefining
376456 [jonas pfenni] you are right. [] is a special function among a list of other (like
376463 [rail.shafigu] where can i read more about this syntactic sugar? is there some sort of
+ 376468 [anurag08priy] Flanagan, and Matz' book is an excellent book to learn Ruby from. I
+ 376473 [gwtmp01 mac.] of=20
  376477 [rail.shafigu] thanks for the explanation. i think i got it.

^ Block variable - How is it read in English?
376453 [abder.rahman] Following the "Ruby on Rails Tutorial", and under section "6.1.1
+ 376459 [cjkske gmail] create a table named users as described in variable t
+ 376460 [jonas pfenni] The do..end notation is the syntax to describe a block. Blocks can
+ 376462 [cjkske gmail] Actually the Pickaxe book confused the heck out of me with regard to
+ 376488 [cjkske gmail] If you are running OSX/*n*x you can learn more by opening a terminal
+ 376528 [abder.rahman] Thanks a lot for your replies.
+ 376530 [abder.rahman] I'm actually still confused regarding understanding how the code I asked
+ 376535 [wishdev gmai] Good Afternoon,
| 376567 [abder.rahman] Thanks @John for your nice and thorough clarification.
+ 376591 [abder.rahman] Thanks for your replies and views.

^ [ANN] RubyNation CFP and Tix Available Now!
376455 [gray.herter ] At RubyNation, our call for presentations is open until January 28th,

^ From UTF-8 to windows-1252
376458 [casanejo gma] I have some data in a file with windows-1252 charset ("special"
376461 [nobuoka r-de] Although an encoding of the data from the DB is UTF-8, ruby doesn't
+ 376464 [casanejo gma] Hey, thanks a lot!! Now I can see the right characters =D
+ 376482 [matz ruby-la] mydata.encode("windows-1252", "UTF-8")
  376487 [nobuoka r-de] I missed the +src_encoding+ arg and  the +option+ arg.

^ [ANN] unicorn 3.3.1 and 1.1.6 - one minor, esoteric bugfix
376478 [normalperson] Unicorn is an HTTP server for Rack applications designed to only serve

^ [ANN] rdoc-tags 1.2 Released
376479 [drbrain segm] rdoc-tags version 1.2 has been released!

^ [ANN] rdoc 3.4 Released
376480 [drbrain segm] rdoc version 3.4 has been released!

^ [ANN] rubygems 1.4.2 released
376483 [ryand-ruby z] details.

^ accessing api with ruby
376484 [dejstone gma] I'm new to ruby and new to accessing api's over the web.  Below, I've
376496 [jonas pfenni] The stdlib includes an HTTP client library that you can use. See
376508 [anurag08priy] And there is Rexml (stdlib), or Nokogiri (gem) for parsing the returned XML=

^ gem install
376486 [bhsmitherINV] It's nice where you are given the command line text to use to install a gem
+ 376498 [jonas pfenni] If gem install works, then you don't have to worry about it. It's for
+ 376512 [luislavena g] On Jan 6, 11:44=A0pm, Brian Smither <bhsmitherINVA...@INVALIDgmail.com>

^ Install older  version of rubygem
376490 [bhsmitherINV] I see that a an advisory is made for uasers of Ruby 1.9.2 to wait to
376497 [ryand-ruby z] in=20
376506 [rajajeyammca] how to stop the msg from ruby talk
376510 [ryand-ruby z] List-Software: 	fml [fml 4.0.3 release (20011202/4.0.3)]

^ String#% is not working on Ruby 1.8.7
376491 [nasa42 gmail] To reproduce, I just copied the example right from ruby-doc
376492 [josh.cheek g] They changed the default Ruby on ruby-doc to 1.9.2, docs for 1.8.7 are at
376541 [james.britt ] I altered the RDoc template as well to show the Ruby version.
376548 [markus fisch] I've been hit by this a few times too. Usually I land in the middle of a
376557 [josh.cheek g] I always go the other way, since Google always found 1.8.6 docs, I only knew