413731-414284

413529-413870 subjects 413933-414407

Fibers
413731 [joelvanderwe] Very nice. So, next time I see a chain of lambdas, I'll try to replace
413732 [tony.arcieri] Be sure to check out Celluloid if you're interested in these sorts of

[ANN] yahns 1.1.0 -_- sleepy application server for Ruby
413733 [normalperson] A Free Software, multi-threaded, non-blocking network application server

simple ruby program not working
413735 [lists@ru y- ] "`initialize': undefined method `+' for #<NumNode:0x82537b4 @num=2>
413736 [hassan.schro] Define a "+" method on the "NumNode" class?
413737 [lists@ru y- ] Thank you! Got it working.

[ANN] ruby_parser 3.4.0 Released
413740 [ryand-ruby@z] ruby_parser version 3.4.0 has been released!

How to obtain all methods defined in a module (but only those methods!)
413743 [lists@ru y- ] module Foo
+ 413747 [justincollin] $ irb
+ 413748 [lists@ru y- ] Thanks!
+ 413749 [lists@ru y- ] Hmm... I lose the information here which one is a class method and which
| 413751 [justincollin] Yes, as far as I know. This includes "singleton classes" for instances
+ 413755 [lists@ru y- ] Ok thanks! That should suffice to build a little convenience method that

Ruby and Word
413752 [lists@ru y- ] We can open the word file through code as follows,
+ 413753 [lists@ru y- ] word = WIN32OLE.connect 'word.application'
+ 413754 [lists@ru y- ] OK thank you.

[ANN] kgio 2.9.1 - kinder, gentler I/O for Ruby + Unix
413756 [normalperson] Just pushed out 2.9.1 which has some Ruby 1.8.7 fixes,

BasicObject help
413757 [lists@ru y- ] I need help with one question i am not able to figure out what it
413761 [iarunkant@gm] obj.class.ancestors
+ 413767 [abinoam@gm i] Dear Shoaib Ahmed,
| 413774 [lists@ru y- ] Abinoam Jr. Thank you so much :)
+ 413773 [lists@ru y- ] Yes ARUN

[ANN] unicorn 4.8.2 - Rack HTTP server for fast clients and Unix
413758 [normalperson] This release just adds a fix to avoid a race condition during worker

Create .exe from 64-bit to 32-bit compactible?
413759 [lists@ru y- ] I'm making a ruby program and I'm using a 64-bit windows but I'm trying
413760 [me@wa to ho ] I have not tested it, however, I believe it should be *if* you are using

Ruby Shoes Tic Tac Toe
413763 [lists@ru y- ] Im trying to programm the game Tic Tac Toe with Ruby Shoes. I finished

Array Decode
413772 [beerich@gm i] Been returned an array of a single item that=92s really confusing.  Any =
413775 [fluido@fl id] From your output, it appears that the object includes a hash called
413776 [beerich@gm i] Thanks for the reply.
413812 [stu@ru yp og] WHat's your other language? Erlang?
413814 [beerich@gm i] Lasso

Scrapping data from a webpage where the data is loaded dynamically
413783 [lists@ru y- ] I was parsing one web page, where data are loaded dynamically when a
+ 413784 [shane@sh ne ] you could use mechanize which will allow you to click buttons, fill
+ 413785 [HANSEM1@na i] []=facets.price_range%255B%255D%3DRs.%2B5001%2B-%2BRs.%2B10000&p[]=sort%3Dfeatured&sid=tyy%2C4io&ref=3de01d19-4e68-4ba9-9b3f-9c43497931b0).
| + 413786 [lists@ru y- ] Yes, 'selenium-webdriver' or 'watir-webdriver' will be helpful in this
| + 413826 [psynaptic_ac] ...
|   413827 [lists@ru y- ] Yes, using `Firbug` as you said, I got the link as
+ 413787 [lists@ru y- ] If no JavaScript is required, then mechanize is a quick and invisible
+ 413828 [lists@ru y- ] The problem is when I set the the search field "Matriculation year" as

Ayuda IDE para usar ruby!
413788 [lists@ru y- ] Hola soy nuevo en esto de ruby y quisiera saber que IDE podrian
+ 413789 [lists@ru y- ] It depends what platform you're using. Linux, Windows, etc?
+ 413792 [lists@ru y- ] Thank you so much for the info, im gonna use both and detetmine which is

unscribed
413790 [deepak.gole8] ...
413845 [lists@ru y- ] Genius.

Good Grades for Ruby Syntax
413794 [shortcutter@] "C-style syntax, as used in Java and Perl, is just as hard for novices
+ 413795 [nbarnes@gm i] To be honest, coming from a more Java-equse background, I had some trouble
| 413799 [shortcutter@] It's an open question how important that research is. The initial
| 413813 [tamouse.list] So does mucking horse stalls. :)
| 413815 [shortcutter@] I didn't say that it is necessarily desirable to get used to Perl. I
| 413871 [stu@ru yp og] ...
+ 413796 [stu@ru yp og] It's called a THUNK! not a *metaphorical placebo *declared as a "Token
  413797 [stu@ru yp og] I wanted to add, all playful joking aside, thank you for the link. I'm

(none)
413798 [imran.nazir@] #unsubscribe

confusion with attr_accessor
413800 [lists@ru y- ] I have two question regarding ruby programming if someone can help me
+ 413801 [hassan.schro] Actually, no - you have an imperative statement and an ostensibly
| 413804 [lists@ru y- ] for the first q
| 413805 [hassan.schro] That description is close to being a usable test, but I still don't see
| 413809 [ammarabuali@] On Feb 7, 2014, at 3:37 AM, Hassan Schroeder =
| + 413810 [lists@ru y- ] Yes they r homework qs i dont know hw to do them
| | + 413811 [hassan.schro] So what have you tried so far?
| | + 413816 [jgabrielygal] People in this list are usually reluctant to just hand out solutions
| + 413823 [alex@st nk .] Maybe someone should set up http://willyoudomyhomeworkforme.com/ ...
+ 413802 [lists@ru y- ] for the first q

basic question about gets.chomp
413803 [lists@ru y- ] Sorry if i am bothering you all with a silly question. I am new to
+ 413806 [stu@ru yp og] The command (yes consider it a command in this sense) puts does not accept
+ 413807 [lists@ru y- ] If we look at your last line, and remove the syntax sugar, we get one of
  413808 [lists@ru y- ] Thanks Matthew and Stu for the reply.

Anybody have any suggestions for DIFF?
413817 [wbrisett@at ] I searched through the various archives, and also tried nearly all the =
+ 413819 [shortcutter@] ms related to diff (I don't think some of them are Ruby 2.x compatible alth=
| 413820 [wbrisett@at ] As usual, thanks Robert!  I=92ll give that a look.=20
| 413821 [ruby-talk@ti] Not sure if this is what you're after?
+ 413822 [alexch@gm il] diff-lcs requires a bit of digging into the API but it works well. It's evengot a command line diff clone built in called "ldiff"  -- check out its source code in ldiff.rb (you can find it after install by using "gem which ldiff")

Re: 
413818 [HANSEM1@na i] Imran,

Re: ruby on rails
413824 [lists@ru y- ] Where can i get list of bloggers with their email ids on ruby on rails.
413825 [greggahorton] Like from The database?

Help with lineno
413829 [hsarkar.007@] of lines in the file 'testfile'. However it says. "Undefined method
413830 [mailme@hs s.] Well the reason you are getting this error is because. fo doesn't has the
+ 413831 [hsarkar.007@] Thank you for taking the time to reply. However now I'm getting the error
| 413833 [mailme@hs s.] Oh sorry i missed out an important thing. The 'w' attribute in the file
| + 413834 [lists@ru y- ] Still an error you would get, as you didn't close it. It will be as
| + 413835 [hsarkar.007@] Thank you so much!
+ 413832 [lists@ru y- ] mode.

confusion with the if modifier
413836 [lists@ru y- ] Look the below code
413837 [edd.rossi@gm] If you run your snippet with debugging on (-d) you will see a warning
+ 413838 [lists@ru y- ] (pry):11: warning: found = in conditional, should be ==
| 413839 [edd.rossi@gm] Because the assignment of x happens and it's not lost...
+ 413840 [echristopher] Your example doesn't show such a warning.
+ 413844 [lists@ru y- ] But 'a' gets defined after the error. Does it mean that it first gets
  413847 [lists@ru y- ] Another example, which doesn't create a noise like local variable in my first post.
  413851 [abinoam@gm i] Dear Arup Rakshit,

where is local variable declaration?
413841 [lists@ru y- ] people, WTF?
+ 413842 [lists@ru y- ] Good day to you too, malchik.
| 413846 [lists@ru y- ] ahh. i need to sorry for a first, i was too rude but you dont ban me,
| + 413867 [lists@ru y- ] Now we are talking :-)
| + 413875 [shortcutter@] First of all: no IDE in the world can know your intentions.  Consider
|   413899 [lists@ru y- ] Whoa, so the enumerator resets the variables to the defined value every
|   413904 [shortcutter@] That is common behavior for programming languages once a scope is
+ 413843 [lists@ru y- ] A loop does not define a new scope. So if you have defined a variable,
+ 413848 [lists@ru y- ] and im not from russia, im from Ukraine, so im not malchik, im hlopchik
| 413849 [lists@ru y- ] Vybachte
| 413850 [lists@ru y- ] ahh so nice to hear ukrainian in foreign forum, thank you
+ 413883 [lists@ru y- ] I already found an answer to my question it seems

names for gems - duplicates?
413852 [lists@ru y- ] Whoever is the first to upload a gem gets to keep this name, even if
413853 [ryand-ruby@z] Generic names are generic. You got beat to the punch by 6 years. Rename =
413854 [nbarnes@gm i] I feel strongly that 'configuration' is a terrible name for a gem.

Save $20 Best-selling Aunsoft SWF Converter
413855 [lists@ru y- ] During 2014 Valentine's Day, Aunsoft is offering 90% Off or more on

Help to refactor my code
413856 [lists@ru y- ] I want to delete the first 3 duplicate entries -
413857 [abinoam@gm i] Dear Arup,
413858 [lists@ru y- ] Nice re-factoring. But the point is, I want to delete first 3
413859 [abinoam@gm i] Dear Arup,
413860 [lists@ru y- ] Yes with your example target element would be 3.
413862 [abinoam@gm i] Dear Arup,
413863 [lists@ru y- ] This is good! Actually I forgot that `#times` give us `Enumerator`
413864 [abinoam@gm i] Great and you're welcome!
413865 [lists@ru y- ] I mentioned in main post.

Regex scan/tokenize from right to left order?
413861 [lists@ru y- ] I'm trying to evaluate an arithmetic operation of prefix type,
+ 413872 [stu@ru yp og] You need to show what code you have currently.
+ 413874 [shortcutter@] Note Ruby's regexp engine since 1.9 can parse nested structures (i.e.
+ 413877 [lists@ru y- ] why scans backward ?

How can a class call a class method that is defined on a singleton class?
413868 [lists@ru y- ] I know that when we define a class method on a class, it's created a
+ 413869 [abinoam@gm i] Dear Lazarus,
| 413927 [lists@ru y- ] Technically No. :)
| 413956 [abinoam@gm i] I'm not a "computer scientist".
| 413963 [lists@ru y- ] It seems you are by "Nature", don't know if by "Profession"!
+ 413954 [lists@ru y- ] Thanks guys, i understand now. "Everything is an object in Ruby", is

[ANN] tdb 0.6.1 - trivial database bindings for Ruby
413873 [normalperson] TDB is much like other DBM implementations, except it allows concurrent

What's Best Practice when you change your script's name?
413876 [wbrisett@at ] ...
413878 [jgabrielygal] Git tracks the contents of the files, so it's able to follow a rename
413879 [eveith@ww eb] If you (the OP) are interested in the actual background and sementics, =
413880 [wbrisett@at ] ...

confusion with wrapper methods and Proc object.
413881 [lists@ru y- ] Some sentences are making me confused from the link.
413978 [abinoam@gm i] Dear Arup,

Why lambda#arity always one complements of Proc#arity ?
413882 [lists@ru y- ] I was reading the official docs
413884 [lists@ru y- ] def m1(x);end
413885 [lists@ru y- ] Again exception -
413887 [lists@ru y- ] I don't know that that's an exception so much as an inconsistency in

[ANN] hoe 3.9.0 Released
413886 [ryand-ruby@z] hoe version 3.9.0 has been released!

[ANN] rubygems-sandbox 1.2.0 Released
413888 [ryand-ruby@z] rubygems-sandbox version 1.2.0 has been released!

[ANN] minitest 5.2.3 Released
413889 [ryand-ruby@z] minitest version 5.2.3 has been released!

[ANN] GORUCO 2013 CFP Announced
413890 [beholdthepan] The 2014 Gotham Ruby Conference (GORUCO) will be held *Saturday, June 21
413891 [beholdthepan] ERRR 2014. Sorry - bad subject.

getting error as "Can't set variable $`"
413892 [lists@ru y- ] a = 'foo bar baz 12 34 ret'
413902 [mike@st k. a] In the example above you have 4 matches, and you want the final string to be "bar foo baz".
413903 [lists@ru y- ] If there is a duplicate match, I am interested to take only the first one. So last "foo" is not desired.

Ruby Script for svn commit
413893 [lists@ru y- ] Please give me ruby code for subversion commit.I am able to do the

need help on libsvn-ruby
413894 [lists@ru y- ] We want to do checkout, checkin/commit on the SVN server.
413906 [kou@co mi ng] What is "libsvn-ruby gem"? Does it means Ruby bindings

Avoid dependency from a gem on the commandline
413895 [lists@ru y- ] Right now gem will refuse to install a program if a dependency is not
+ 413896 [jgabrielygal] -f, --[no-]force                 Force gem to install, bypassing dependency
+ 413900 [lists@ru y- ] Thanks! That seems to work.
+ 413901 [lists@ru y- ] Hmm... while installing works, running actually fails.
  413911 [justincollin] I'm not really a fan of this behavior, either, but it is what it is.

How to solve program ?
413897 [lists@ru y- ] First I done program like Write a program using Ruby and Print 1 to 10.
+ 413898 [jgabrielygal] What you need to do is to change the 10 in your first program by a
| 413959 [lists@ru y- ] x = 0
| + 413964 [sto.mar@we .] Did you *try* whether it works?
| | 413972 [lists@ru y- ] Yes, I tried to execute the program. Execution is possible.
| + 413975 [jgabrielygal] Well, as others have said, first is to check if the program actually
|   + 414000 [lists@ru y- ] Yes, your answer is very much helpful for me. I get my answer from your
|   + 414002 [johnmoonyy@g] List-Unsubscribe: <mailto:ruby-talk-ctl@ruby-lang.org?body=3Dunsubscribe>
+ 413905 [lists@ru y- ] Could you write modify program? please.
+ 413908 [lists@ru y- ] If you don't learn to read documentation and do your own research and
  413907 [lists@ru y- ] Yes, that's right. I am trying to do experimenting and I will read

dbi odbc problem
413909 [lists@ru y- ] I'm currently trying to connect to a couple ODBC data sources via the
413965 [lists@ru y- ] bump..

Installing rbenv?
413910 [lists@ru y- ] I'm seeking some help getting rbenv installed, for Ruby-on-Rails dev.
413914 [sergey.avsey] You should read the docs first

Best way start fresh install OSX
413912 [lists@ru y- ] I've installed multiple versions in multiple places trying to get
+ 413913 [ryand-ruby@z] ruby -S brew update
+ 413931 [lists@ru y- ] That didn't work for me.
| 413935 [hassan.schro] And it "didn't work". Huh. Fancy that.
+ 413948 [lists@ru y- ] Now I'm getting a different error
| 413949 [josh.cheek@g] It's a good idea, but unfortunately not going to work, homebrew is
+ 413952 [lists@ru y- ] But ruby works aside from that?

Source/script encoding (magic line)
413915 [lists@ru y- ] As you probably know, the source/script encoding can be specified by
+ 414057 [lists@ru y- ] <a href="http://www.changeyourlifespells.com/about.php" title="Free
+ 414274 [lists@ru y- ] No one knows the correct rules about the "coding comment" line?
  414284 [echristopher] Your Vim-compatible modeline does work; so I think there is just an error

Writing a script to download videos
413916 [hsarkar.007@] I'm trying to write a script to download my edX course videos for me. This
+ 413917 [lists@ru y- ] Is this legal?
| 413920 [fluido@fl id] If the download requires some sort of login, then he'd have to read
+ 413918 [fluido@fl id] When I try to download whatever points to your URL with 'wget', I do
+ 413919 [jgabrielygal] It seems that in order to access that video, you first have to login.

CSV::Table deafault mode vs by_col_or_row
413921 [lists@ru y- ] require 'csv'

Get and use computer name??
413922 [lists@ru y- ] I know multiple ways of getting the computer's name on ruby and the one
+ 413924 [lists@ru y- ] I didn't realise you needed the computer's name to get to the desktop,
| 413938 [lists@ru y- ] Huh? You serious?
+ 413942 [lists@ru y- ] It's the user name, not the computer name :)

Aunsoft offer $9.99 TiVo Converter:play TiVo file to DVD
413923 [lists@ru y- ] During 2014 Valentine's Day, Aunsoft up to 90% Off TiVo Converter is as

looping through tar file
413925 [octvrtnicek@] I want to loop through foo.tgz file using the Minitar gem.
413926 [lists@ru y- ] Perhaps the Rails console is wrapping the output and the terminal isn't?
413928 [octvrtnicek@] Any idea how to change terminal settings so the whole string is =

Ruby equivalent of Template Toolkit (Perl)?
413929 [gvimrc@gm il] I've been using Template Toolkit (Perl) for many years and need
+ 413946 [tamouse.list] have you looked at jekyll and/or middleman? there are other static
+ 413953 [lists@ru y- ] Do you mean a static website generator in Ruby?
  413958 [gvimrc@gm il] Well, both really. I've been using Template Toolkit to generate both

Testing rakes with rspec
413930 [ngw@no ee .o] rspec. I think I'm doing something terribly wrong here, and that's why

test-unit 2.5.5 and @test_passed
413932 [lists@ru y- ] how can i know in the teardown of a testcases if the testcase passed or
+ 413944 [ryand-ruby@z] Minitest has #error?, #passed? and #skipped?
+ 413947 [kou@co mi ng] Thanks,
threads.html
top