383667-384297

383451-384709 subjects 383865-384967

^ Re: How to instantiate SAVON::Client object from a wsdl stored locally
383667 [soman.abhiji] I guess that your problem must have been solved by now. If not then

^ Ruby and ActiveRecord : Reading informations
383676 [ruby.aix gma] So now, before I use the DBI module to communicate with my MySQL
+ 383697 [hassan.schro] def "clearly" -- what do you want to see??
+ 383707 [zettabyte gm] # One possible example demonstrating data access...

^ "Local variable within code blocks do not interfere with those outside the block"
383678 [sbstn26 yaho] I read this in a book.
+ 383680 [adam apresco] It's affecting `var` because of the assignment, and because it's not an
| 383681 [adam apresco] RUBY_VERSION #=> 1.9.2
+ 383717 [code apotheo] Others are handling your question well enough, but I have a comment.
+ 383793 [bdeveloper01] Here x is a variable(array_variable) it contains  5 elements
| + 383794 [josh.cheek g] I've never seen code like this in Ruby. In fact, I get a syntax error
| + 383796 [adam apresco] `var` is local to the block. Because of that, it doesn't accurately explain
| + 383811 [code apotheo] This code is not correct -- and furthermore, the interpoation syntax you
+ 383801 [bdeveloper01] I got the point if you try like this way
+ 383844 [bdeveloper01] I got the result
+ 383845 [bdeveloper01] I have jpg file Here the results are available(screen shot)
  383846 [josh.cheek g] r.to_s is equal to "#{r}", but more straightforward. So when you want to
  383850 [bdeveloper01] If you want to give some name string then

^ working with soap web services in ruby
383685 [rubyonrails.] I am new to using soap webservices in ruby. i have decided to using
383706 [zettabyte gm] Just read through this. It is as good a tutorial as anything I could find

^ Using sprintf() to print a Hash
383686 [ibc aliax.ne] listen_ip:            1.2.3.4
383687 [ibc aliax.ne] ue
+ 383688 [ibc aliax.ne] =A090
| + 383692 [botpena gmai] for simple formatting/justification, i just use the just methods since
| | 383693 [ibc aliax.ne] Great, I didn't know about it :)
| + 383699 [shortcutter ] That's overly complicated: you employ two text replacement mechanisms.  Jus=
|   383700 [ibc aliax.ne] =C2=A0Just do
|   383701 [fxn hashref.] Note that the colon belongs to the argument though. Otherwise they won't be
|   + 383703 [ibc aliax.ne] be
|   + 383704 [shortcutter ] be
+ 383689 [fxn hashref.] Not sure if I understand correctly, but this seems to do what you are
  383690 [ibc aliax.ne] Yes, I got exactly that as todl in my previous mail :)

^ GOOD STUDY METERIAL
383694 [k.sahithi286] GOOD STUDY MATERIAL FOR KIDS

^ [ANN] JRuby 1.6.2 released
383708 [tom.enebo gm] The JRuby community is pleased to announce the release of JRuby 1.6.2.

^ Keep your options open
383709 [rubfor recit] According to this
+ 383711 [spoon killer] Before my unbelieving eyes, you have transformed a discussion on using
| 383716 [code apotheo] He's probably too busy doing bridges.
+ 383714 [stu rubyprog] x11 is not an operating system. FreeBSD is not even on that list. If

^ Changes for Ruby in Debian (and Ubuntu)
383712 [lucas lucas-] Since the beginning of 2011, the Debian Ruby team has been working on
+ 383722 [echristopher] Do the other files belonging to gems still get installed under /var?
| + 383727 [lucas lucas-] + executables are now installed to /usr/local/bin.
| + 384157 [ibc aliax.ne] I've never understood why libraries should be installed under /var
|   384158 [echristopher] As I understand it, they're not in /usr/bin because they're not
|   + 384161 [ninja slapha] I'd actually agree with that, if it was a version Rubygems I installed myse=
|   | 384164 [ibc aliax.ne] dpkg,
|   + 384163 [lucas lucas-] You might want to double-check that you backup /var/lib/mysql, one way
+ 384180 [sophrinix gm] Any chance of getting RVM as a debian package?
  + 384181 [lucas lucas-] What would be the value added by a RVM debian package for Debian users?
  | 384182 [sophrinix gm] Standardization. More on this later.
  + 384184 [cmdjackryan ] is
    + 384188 [code apotheo] re is
    | 384194 [cmdjackryan ] Er, yes. It's been a long, long while since I had to use apt in any serious=
    | 384196 [code apotheo] I wish I could say the same.
    + 384202 [ibc aliax.ne] This is a very good point. I neither want to compile gems in my

^ [ANN] Early tix to GothamJS available
383720 [gray.herter ] has released a limit number of early tickets. Tell your friends. You

^ [ANN] flickr_airlift 0.1.1 released.
383721 [beholdthepan] *flickr_uplift *bulk uploads all photos in a given directory. (here's

^ Re: ARGV, STDIN and gets
383725 [daniel_anton] var2 = ARGV[1].clone
383734 [shortcutter ] Why do you clone when the next thing that you do is clearing ARGV?

^ Ruby AIML parser
383726 [tonytonyjan.] I am trying to make a chatbot using Ruby and AIML, but I can hardly find
383732 [ryand-ruby z] Does it work for you? If so, I'd say use it.

^ Please Help: Recursion and Array Problem (Noob)
383729 [loverevolve ] The explanation of what I'm trying to do are noted in the comments...
+ 383731 [shortcutter ] You are not loading data here, you are merely opening a file for
+ 383772 [loverevolve ] Thanks for your advice! I solved the issue and pretty much gutted the

^ 2d array of hashes
383735 [alexandru.ra] I am trying to solve the Sudoku Ruby Quiz using a 2d array of hashes
+ 383736 [jgabrielygal] So, what is the data model you want? A different hash for each cell?
+ 383738 [alexandru.ra] to be more specific...
+ 383740 [alexandru.ra] Thanks for the help. Indeed, I didn't realize I was instantiating the 2d

^ Impossible to enforce garbage collection
383741 [robert.panko] Can anyone tell me why the object created with finializer is not garbage
+ 383742 [whitequark w] (note the last rb_protect).
+ 383743 [robert.panko] But 'puts 12345' is executed at the end of the program instead in the
+ 383746 [shortcutter ] There are no guarantees - neither about when GC will occur nor about
+ 383780 [rogerpack200] The GC puts "objects with finalizers" on a queue to be GC'ed later,

^ keep gettting errors using Sequel  ODBC::Error: 37000 (170) [Microsoft][ODBC SQL Server Driv er][SQL Server]Line 1: Incorrect syntax near '1'.
383748 [junkone1 gma] i am trying to connect to MSSQL server from xP

^ Writing IM bot
383750 [redhotberry ] Hey ruby community! I am very happy to become one of you all!

^ String Element Reference
383751 [solomon.jas ] I am new to Ruby so I apologize if this seems dumb.
+ 383753 [shortcutter ] This has changed in Ruby 1.9.  You probably read 1.9 documentation
+ 383754 [solomon.jas ] Thanks, appreciate the help.
+ 383755 [bbxx789_05ss] For some reason Matz thought it was more useful to define the [] method
+ 383757 [cooljavy hot] That is the way String indexing works in Ruby=2C if you only pass one param=

^ Method that mutates object
383760 [solomon.jas ] Say we want to write a String method called clear that takes a given
+ 383761 [stefano.croc] This should do what you want
+ 383762 [adam apresco] String#replace
+ 383765 [sutniuq gmx.] Just in addition to what the others said, the method String#clear
| 383768 [solomon.jas ] =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
+ 383766 [solomon.jas ] Thanks for the reply.  Say we wanted to write our own replace method and
+ 383767 [solomon.jas ] I know this is changing gears a little here, but the previous post
| 383769 [b.candler po] You're wrong, so I'll correct you :-) "def" creates instance methods.
+ 383771 [solomon.jas ] Thank you for the help, that actually cleared up quite a bit for me.
| 383774 [bbxx789_05ss] asks the question, "What methods does Array respond to?"  It does not
+ 383802 [solomon.jas ] Thanks again for all replies as it has helped me to wrap my head around
| 383804 [jeremy bopp.] What exactly are you trying to accomplish?  The String class provides
| 383805 [solomon.jas ] Just for clarification, this is by no means a homework assignment.  I am
| 383812 [code apotheo] =20
| 383816 [josh.cheek g] ...
+ 383806 [solomon.jas ] /*
+ 383807 [solomon.jas ] I understand that using String#replace works for the String class, but
  + 383808 [jeremy bopp.] Instances of Integer are immutable, so you can't do that.  The
  | 383809 [solomon.jas ] Thanks.
  + 383822 [gwtmp01 mac.] number=20
    + 383885 [adam apresco] bindings that are out of the direct scope of the method but it is generally
    + 383928 [cmdicely gma] of Ruby's object model. =C2=A0Understanding the object model is the key to=
      383932 [gwtmp01 mac.] My main point was that 'immutable' is the wrong term to apply to
      383933 [code apotheo] irb(main):001:0> module Mod
      383934 [gwtmp01 mac.] module
      383935 [code apotheo] Thanks for clearing that up.

^ jruby --1.9 : Exception in thread "RubyThread-1: threadtest.rb:1" java.lang.LinkageError: loader (instance of  org/jruby/util/JRubyClassLoader): attempted  duplicate class definition for name: "threadtest$block_0$RUBY$true?"
383770 [markus fisch] the following script works under MRI 1.9, but not under jruby 1.9 (but
384091 [headius head] That's wacked. Please file a bug at http://bugs.jruby.org. Looks like
384147 [markus fisch] You can find it here: http://jira.codehaus.org/browse/JRUBY-5850
384226 [headius head] Fixed! Sorry I didn't update the bug until now; couldn't remember
384229 [markus fisch] I'm happy this is solved! You don't happen to have a time frame for
384297 [headius head] Soonish? :)

^ Ruby to C#
383773 [jheto2002 gm] could someone explain how to parse the exploit ms08_067_netapi.rb to
383781 [rogerpack200] You could call out to IronRuby from you C# app I suppose :P

^ [ANN] Rails 3.0.8.rc1
383777 [aaron tender] ZOMG HI EVERYBODY!!!!  HAPPY WEDNESDAY (UTC-7).
+ 383778 [aaron tender] he
+ 383834 [wayneeseguin] w00t!!!

^ Net::Telnet into Net::SSH
383782 [djotter mac.] Does anyone know if there is way to run a NET::TELNET object in a
+ 383862 [b.candler po] The question doesn't really make much sense in its current form, but the
+ 383894 [djotter mac.] Thanks Brian. Let me clarify what I want.
| 383899 [b.candler po] What sort of device is the jump box? Is it a Linux box, or a Cisco
+ 383895 [djotter mac.] port = ssh.forward.local(1234, "www.capify.org", 80)

^ [ANN] rubygems-update 1.8.4 Released
383783 [drbrain segm] rubygems-update version 1.8.4 has been released!

^ how to mark color on csv file
383784 [dickyhide gm] I can write/read the csv file by my ruby script.
+ 383785 [cmdjackryan ] If you mean the console, take a look at: http://ascii85.rubyforge.org/
| 383786 [dickyhide gm] Thanks,
| 383787 [cmdjackryan ] You'd've to create a spreadsheet for that, and maybe the spreadsheet
+ 383800 [bdeveloper01] require 'fastercsv'

^ to Adam Prescott,
383789 [sbstn26 yaho] a = 1; [2].each { |;a| p a; }; a            #=> nil; 1
+ 383791 [mt.lenik gma] This makes the variable's scope local to block (so when you change it in
+ 383792 [adam apresco] Mateusz has already explained it, but if you need more, you can visit the

^ CORE - Object Instantiation and Location
383790 [ilias lazari] #ruby 1.9
+ 383798 [roger rogerb] This seems to do what you need.
| + 383818 [ilias lazari] On 26 =CE=9C=CE=AC=CF=8A=CE=BF=CF=82, 13:31, Roger Braun <ro...@rogerbraun.=
| | 383820 [ryand-ruby z] BARRIER - Bad Design Smell
| | 383823 [james grayso] I laughed so hard!
| | 383878 [cmdicely gma] violate
| | 383879 [cmdicely gma] d violate
| | 383937 [ilias lazari] On 27 =CE=9C=CE=AC=CF=8A=CE=BF=CF=82, 17:54, Christopher Dicely <cmdic...@g=
| + 383849 [ilias lazari] On 26 =CE=9C=CE=AC=CF=8A=CE=BF=CF=82, 13:31, Roger Braun <ro...@rogerbraun.=
|   383941 [ilias lazari] On 27 =CE=9C=CE=AC=CF=8A=CE=BF=CF=82, 07:51, Ilias Lazaridis <il...@lazarid=
|   383942 [jgabrielygal] puts self
|   383943 [ilias lazari] On 30 =CE=9C=CE=AC=CF=8A=CE=BF=CF=82, 11:06, Jes=C3=BAs Gabriel y Gal=C3=A1=
|   383950 [shortcutter ] =A1n <jgabrielyga...@gmail.com>
|   383955 [ilias lazari] On 30 =CE=9C=CE=AC=CF=8A=CE=BF=CF=82, 18:00, Robert Klemme <shortcut...@goo=
|   383959 [shortcutter ] Since you didn't post a requirement yourself (you asked for a
|   383962 [ilias lazari] On 31 =CE=9C=CE=AC=CF=8A=CE=BF=CF=82, 11:28, Robert Klemme <shortcut...@goo=
+ 383799 [bdeveloper01] I think you can use class variable

^ 'parse': Fatal error from happymapper gem
383795 [rubyonrails.] "Fatal error: Document labelled UTF-16 but has UTF-8 content at :1.
383797 [bdeveloper01] I think it is work. in database.yml file like this way

^ Need help bringing select array lines together
383810 [tester.paul ] is really ugly. I'm hoping someone here can help me find a more ruby
+ 383813 [spoon killer] Do you need to handle nested strings?
| + 383815 [spoon killer] Ignore this bit, it's false.
| + 383821 [tester.paul ] I'm not sure. I don't think so. I think the content is scrubbed
| | + 383824 [spoon killer] Hey I was brainfarting at that point, you really don't need to do that!
| | + 383825 [bbxx789_05ss] original_lines = [
| | | 383847 [tester.paul ] That code _almost_ works. I changed the one line to "temp[-1,1]" and
| | + 383826 [bbxx789_05ss] require 'stringio'
| + 383827 [bbxx789_05ss] There are regexes for nested parentheses--they use recursive regexes.
|   383828 [gwtmp01 mac.] You are both right.  Johnny is using the formal language definition of
|   383830 [spoon killer] That's ambiguous.  Oh noes!
+ 383848 [bdeveloper01] I think this may be solution about that problem

^ Doing LSI at scale in Ruby
383817 [chris chrisk] I'm looking to find out whether anyone is doing latent semantic indexing
+ 383819 [ryand-ruby z] now.
+ 383836 [no.spam plea] The author of Picky <http://florianhanke.com/picky/> presented it last night
  383857 [chris chrisk] Thanks, Ryan.  I will do this too, was just looking to see what the current
  383892 [chris chrisk] So for what it's worth, the particular issue I was running into was not

^ ruby fork (thread like) on windows
383829 [adamlauper g] I'm trying to upload a number of large files to s3.  I want to do this
383832 [rogerpack200] yeah best bet is to spawn off multiple processes.
383835 [cmdjackryan ] Though, I wonder if this is an improvement over the serial uploading.

^ Jump box ideas
383831 [djotter mac.] I posted a differnt but related thread about this so though I would hit
383833 [wishdev gmai] Afternoon Josh,

^ [ANN] graph 2.1.0 Released
383837 [ryand-ruby z] graph version 2.1.0 has been released!
+ 383839 [default spir] Isn't "sudo brew" evil in the homebrew world?
| 383851 [ryand-ruby z] No, but dogma is.
| + 383854 [cmdjackryan ] % cat configure
| + 383873 [default spir] I'm saying this because I ran into trouble because of sudo brew, as the
+ 383856 [matthias wae] Do you consider this a good starting/entry point to graph 2.1.0?

^ require in 1.9.2 and 1.9.1
383838 [illeverbe ya] #i have a file 'user.rb' in the current directory. if i ...
383840 [josh.cheek g] It's intentional, because "." is relative. So your script would work if you
383842 [serialhex gm] require_relative
+ 383843 [josh.cheek g] According to the spec (
+ 383871 [steve stevek] do it!) to Ruby 1.8: https://github.com/steveklabnik/require_relative
  383913 [serialhex gm] spiffy!!!  thanks steve!

^ Ruby crashing... a lot!
383841 [threadhead g] charset=us-ascii
+ 383852 [ryand-ruby z] consistent.=20
+ 383853 [cmdjackryan ] is machine.
  + 383855 [ryand-ruby z] on this machine.
  + 383886 [threadhead g] on this machine.
    383936 [ryand-ruby z] methods for ruby/gem installation)

^ Gem::RemoteSourceException
383858 [unbewusst.se] ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-darwin7.3.1]
383866 [luislavena g] gem sources --list
383880 [unbewusst.se] First; thanks a lot for your clear answer !
383882 [unbewusst.se] $ sudo gem sources -a http://rubygems.org
+ 383883 [code apotheo] Use -r instead of -a.
+ 383887 [unbewusst.se] i found also right now, after having installed "rubygems-1.3.6" i had

^ print library version
383859 [tcblues gmai] How could I know in runtime the watir version I'm using?
383868 [tcblues gmai] gems=`gem list watir`

^ how to see help & availble commands in irb terminal
383860 [sathishcold ] HOw to see all availble functions in irb terminal.
383861 [cmdjackryan ] What do you mean? IRB specific things, or Ruby?

^ someone using rails with jruby?
383864 [music musi.c] bundle exec warble
384092 [headius head] Unfortunately bundle exec spins up a subprocess, so it might not get
threads.html
top