316768-318308

316530-325941 subjects 316985-317855

^ [ANN] mechanize 0.8.4 Released
316768 [aaron tender] mechanize version 0.8.4 has been released!
+ 316810 [gethemant gm] I saw some of yours posts about running Mechanize on top of
| 316814 [aaron tender] Not yet.  It's still on my mind, I just haven't had time to make it
+ 317933 [mark.gallop ] I am getting much use out of mechanize. Thanks for your work!
| 317982 [aaron tender] Thanks!  You're welcome!
+ 318221 [han.holl gma] I've got a smallish patch for www/mechanize/chain/response_body_parser.rb.
  318293 [aaron tender] Yes.  Unfortunately you have to install a couple dependencies.  First
  318308 [han.holl gma] Ok. Did that.

^ [ANN] icanhasaudio 0.1.3 Released
316769 [aaron tender] icanhasaudio version 0.1.3 has been released!

^ Using Shell linux commands in Ruby!
316788 [muasif80 gma] I have the following text that allows for having shell linux commands
+ 316789 [etaern yahoo] pros and cons ?
| + 316827 [ snk gna.org] => nil
| | 316829 [etaern yahoo] Interesting example of NOT using system .
| + 316830 [mguterl gmai] Actually Kernel#system returns true or false
|   316834 [etaern yahoo] sorry , I thought ruby went along the same way as the other languages
+ 316793 [sentinel.200] Please also look at: %x{command}
+ 316806 [Reid.Thompso] google ruby + popen

^ No warning for redefine
316797 [han.holl gma] #!/usr/bin/ruby -w
316798 [dblack rubyp] It's not discarded; it's still there (in the module) and you can use
+ 316807 [han.holl gma] Of course! How stupid of me.
+ 316868 [dan-ml dan42] But since the override doesn't use super, in effect it has the same
  + 316871 [ragavsatish ] The behavior is unsurprising if you think of inheritance when you see
  | 316888 [dan-ml dan42] Not if the derived class invokes 'super'. But if it doesn't, it can
  + 316889 [dblack rubyp] Yikes. Be careful what you wish for :-) That would put a damper on a

^ Iterate over array and add numbers of each object
316799 [forum josh.c] number = 0;
+ 316800 [stefano.croc] If objects is an array, or any other thing which mixes-in the Enumerable
+ 316801 [jcoglan goog] number = objects.inject(0) { |sum, obj| sum + obj.some_number }
+ 316802 [farrel.lifso] This is what inject is for.
| 316804 [lloyd 2live4] Is that an echo I hear?  :)
+ 316824 [erikveen gma] require "facets"

^ [ANN] RSpec-1.1.8
316805 [dchelimsky g] Thanks to some very quick feedback on the 1.1.7 release, the RSpec

^ Mysql + Ruby
316808 [javaplayer g] I'm trying to install the mysql module but I can't. I'm installing by
316812 [jim.mckercha] the mysql gem documentation. However from my experience, the gem itself

^ IO.popen fails to pen persistent ssh connection
316813 [hectorquiroz] What the?
316818 [ara.t.howard] the process has not exited yet - $? is therefore nil.

^ how to convert an array into a recursively calling string
316815 [wrapster aol] I am stuck with an issue of converting a set of values present in the

^ Explain this ruby regex
316816 [renton.dan g] Can someone explain this regex ...
316817 [ben bleythin] Try replacing #length with #inspect and seeing what the output of scan
316820 [renton.dan g] Yeah, you're right \w+ will pull out the words, which is what I want
316821 [patrick.he g] \w* does not match the space between string "one" and "two". it matches
316822 [wpdster gmai] The key idea here is that "*" means "match zero or more of" whereas "+"
+ 316841 [b.candler po] irb displays the expression value using "inspect", so you are using
+ 316930 [shortcutter ] It boils down to this statement: a subexpression with "*" potentially

^ Calling a Defined Method at bottom of script
316823 [js priceline] It seems that I have to place all the methods I have created at the top
+ 316825 [sepp2k googl] In short: no. You can only call methods after they are defined.
+ 316826 [tpreal gmail] As Ruby in an ObjectOriented programming language, it's best not to
+ 316831 [vjoel path.b] Sure,
  316835 [js priceline] I used this and it worked nicely...thanks for the help!
  317001 [shortcutter ] def main(argv)

^ [ANN] Ruby 1.9.0-5 was released
316828 [yugui yugui.] I released Ruby 1.9.0-5.

^ Re: Looking for a publicly accessible SOAP example
316833 [davidaustin7] I don't think SOAP is dead. I have had two requests to create a client

^ click and copy text into file or database using mouse event
316836 [heycoolfinen] am new at ruby and searching for a way to highlight a word in a text

^ [ANN] Configatron 2.1.4
316837 [markykang-ru] This release contains protection of already defined methods, such as

^ Cheapest Generic Tramadol
316838 [gerundialwei] generic tramadol

^ class << self
316839 [wpdster gmai] Sorry if this is a FAQ, but I was just looking at some Ruby code and
316840 [jeremymcanal] None of them are really better; they all do the same thing. :)
316843 [wpdster gmai] Well, there is one difference -- the last one returns a different value for
+ 316854 [ snk gna.org] Remember that (1) classes are also objects in Ruby and (2) every object
| 316855 [ snk gna.org] class << h
+ 316857 [stephen.celi] I believe this is an issue of scope, A.c is picking up #<Class:A>::B,
| 316931 [why ruby-lan] What it buys you is a namespace that cannot be addressed from the
| 316937 [rhkramer gma] What is the syntax #<Class::A>?  (I couldn't (readily, at least) find it
| 316938 [ragavsatish ] It's just a name for the eigenclass of A
| 316943 [rhkramer gma] Thanks!
| 317103 [wpdster gmai] Returning to this topic after a brief hiatus being distracted by other
| + 317104 [matz ruby-la] Yes.
| + 317114 [ymendel pobo] en
+ 316858 [ragavsatish ] Constant lookup works differently than other kinds of name resolution

^ Detecting with mouse-click highlighted text in textarea
316846 [heycoolfinen] Maybe I have more chance with this question.

^ Making/Compiling Gems on Windows with MinGW
316847 [house balara] Whenever I try to install a gem that doesn't have a precompiled binary
+ 316850 [house balara] Sorry - Windows XP, SP2, I've installed MinGW.
+ 316892 [luislavena g] What gem are you trying to compile?
  316924 [house balara] eventmachine is the one I'm currently having problems with but there are
  + 316945 [AEtzold gmx.] Dear Cayce,
  | 316961 [house balara] Appreciate the additional info. However, I'm on Windows XP and will
  + 316964 [quixoticsyco] Just to clarify, mingw32 is C-wise ABI compatible with VC6.  The
    317108 [house balara] Okay - I have gotten rid of MinGW and installed VC6. At least now I am
    317156 [nobu ruby-la] It's a famous pitfall of VC6.
    317185 [house balara] THANKS. But... and sorry for being an uninformed twit here... where
    317186 [house balara] Okay, so messed around - tried to add the code above to the em.cpp file

^ Tramadol Purchase Online 24/7
316848 [manleyfuincl] tramadol purchase

^ JRuby deprioritizing support for 1.8.7 behavior
316851 [charles.nutt] Just FYI, we've pretty much made the decision that JRuby will not make
316995 [roberto REMO] Can't we just forget that 1.8.7 ever existed and target 1.9 now? Please?

^ rcov fails with errors related to rexml
316856 [gaspard teti] Running rcov fails during post processing.
316903 [rsanheim gma] - Rob

^ Iterate through array and delete if match
316859 [johnsheahan ] I'm trying to delete elements of an array if they match a string but my
316860 [TimHunter nc] Use delete_if instead.
+ 316861 [shawn42 gmai] I believe there is a method on Array called delete_if for just such a case..
+ 316862 [ragavsatish ] Or Array#reject!
  316863 [johnsheahan ] hehehe...I know what you mean!
  316866 [dblack rubyp] Check out Array#partition too. What you've got there looks like it
  316882 [johnsheahan ] good call David.....I'm going to try and incorporate that into my code.
  316932 [shortcutter ] And, to give you another option you can fill the second array inside the

^ web-based code editor
316867 [jason.lillyw] Does anyone know of a tool that is just like Scite but a web
316883 [gaspard teti] I was not aware of amy.

^ Re: TK84.dll
316869 [stanbench gm] I know it is to late...just click the link

^ content of an array gets cleared
316870 [ghotrapa yah] Looking for you suggestions.
316872 [ragavsatish ] because array and tempArray are references to the same Array instance.
316873 [ghotrapa yah] That should do the trick for me.

^ Walkins,fresherjobs,exp,mba,bpo,technical,govt,networking jobs
316874 [hrnilesh.cyn] Freshershome.in

^ module scope not clear to me
316876 [sentinel.200] I had a program which inherits from a superclass. It also has
316878 [ragavsatish ] Depends on where the module is included. If its included at the top
316879 [sentinel.200] Wow ! That said, earlier in the case i gave above is it at the top
+ 316880 [sentinel.200] Sorry that should read Prog.new (old java habits still lingering) , the
+ 316885 [dblack rubyp] That's an error: you include modules, not strings. But there's no
  316887 [sentinel.200] My sincere apologies. In future I will make a running sample before

^ (none)
316877 [johanna_gabr] unsuscribe

^ handling tcl files in ruby
316884 [jarodzz gmai] Here's the problem occurred to me.
316893 [vjoel path.b] should be easy--a limited ruby json emitter is about 50 LOC). Dump your

^ Problems with RubyGems
316886 [forsakensoul] Hey,
+ 316897 [vjoel path.b] Same here... 901 with the default xandros. Ruby (1.8.6-p287) built from
+ 317033 [drbrain segm] Sounds like digest/md5 was built incorrectly.  I'm not sure why that
  317283 [stephen.g.da] VM running SuSE SLES10 SP2 s390x.

^ Syntax to include custom Java classes
316894 [thiagobranda] Java classes in a .rb file? Do I have to make a .jar file and then
316898 [thiagobranda] I figured out how to do.
316901 [james.britt ] Side note:  There's a good change that if one person has a question
316905 [thiagobranda] Every .class file that has a correspondent class I may use in a .rb
316906 [james.britt ] Cool!  Thanks.
316911 [robert.dober] I agree this was useful info, I played around with this and had some
316918 [thiagobranda] Sorry guys, I'm not used to it. I'll obey the rules of the list.

^ error: ...uninitialized constant Wxruby2
316895 [heycoolfinen] gem install wxruby and now I am trying to run a gui sample program. As
316896 [alex deletem] You need to add some code at the end of your sample to actually show one

^ Object Persistence for a MUD
316904 [brentdilling] For fun, I'm writing a MUD with Ruby. I thought I'd query the hive
+ 316959 [caduceass gm] There are probably a hundred different ways to approach this.  I've
+ 316963 [jcmoore pres] I've been doing something similar with a multi-user space game. I
| 317017 [b.candler po] You might want to have a look at Madeleine, which could be a suitable
| 317132 [brentdilling] Some great responses here! Thanks everyone.
+ 316971 [justincollin] I am working on a similar project. I started off using PStore but

^ stream closed (IOError)
316907 [rakaur malki] puts "closed?: %s" % @socket.closed?.to_s
316910 [matz ruby-la] It's hard to tell without full executable script, but at least the
316920 [rakaur malki] Line 231 is the @socket.close line. Nothing gets done to the socket
316925 [matz ruby-la] I don't think we can trust line numbers here, maybe due to bugs.  The
316926 [rakaur malki] Hey matz. Thanks for your help. Everything is within ioloop.
316927 [ibc aliax.ne] =20
316928 [rakaur malki] ml
316934 [matz ruby-la] * timer callback may touch the socket right after it's closed.
+ 316935 [rakaur malki] Thanks. I should have thought of that to begin with. :)
| 316939 [matz ruby-la] Show me the URL if you need further info, since I can read some
| 316948 [rakaur malki] I'm not sure if these are relevant, since Google now shows lots of
| 316965 [matz ruby-la] It's about the already fixed bugs.
| 316998 [rakaur malki] I think it was happening because the timer would kill off the socket,
+ 316950 [rakaur malki] While simpler version, this causes the same error...
  316951 [matz ruby-la] Hmm, let's step forward one by one.  You have two timers, which one is
  316953 [rakaur malki] I've tried wrapping the start method in timer.rb, wrapping the Timer
  316954 [rakaur malki] Yeah, that's as far as I can get. Wrapping different parts of

^ How to use st_table by oneself?
316908 [gpygood 126.] Is there some tutorials or examples about it?thanks
316947 [vjoel path.b] hash.c in the ruby source might help.  Also, the Ruby Hacking Guide has
316966 [gpygood 126.] oh,thank you!

^ question regarding sub!()
316912 [mchandler av] Please excuse the newbie question, but I am confused by something I see with
316913 [etaern yahoo] string2  = string1
316915 [ruby.student] But, why then, the following is not true???
316916 [dblack rubyp] When you assign to a variable, you break any previous binding the

^ Top 10 Things To Look For In A Web Host
316914 [so.sexy.hot6] Top 10 Things To Look For In A Web Host

^ timeout question
316917 [chen_li3 yah] I iterate an array. During jumping from one element to the next one I
+ 316919 [botpena gmai] how about Timeout ?
| 316944 [chen_li3 yah] I ran the script(script a) in irb mode and I find it never jumps to next
| 316967 [botp delmont] RnJvbTogTGkgQ2hlbiBbbWFpbHRvOmNoZW5fbGkzQHlhaG9vLmNvbV0gDQojLi4NCiMgIyMjc2Ny
| 316969 [ara.t.howard] gem install terminator
| 316977 [botp delmont] #..
| 316979 [ara.t.howard] hrm.  try 0.4.2 and let me know will ya?  no windows box handy...
| 317004 [chen_li3 yah] No luck for 0.4.4 version, either.
+ 316946 [ibc aliax.ne] =2D------------
  316962 [chen_li3 yah] It doesn't work for me. The timeout hangs out for ever if no input is

^ Problem installing rubygems in Vista/cygwin
316921 [mbrito gmail] I'm experiencing some trouble trying to install rubygems-1.3.0 on
316940 [mbrito gmail] Whatever the problem was, seems to be fixed in trunk. I've downloaded

^ Re: rake spec:rcov => Segmentation fault ruby 1.8.6  (2007-0
316922 [luislavena g] This only happens to you while running specs with rcov, correct?

^ The difference sports gambling online sport book
316936 [kamalaselvi1] webpage -  http;//elemotor.blogspot.com/

^ Great Lakes Ruby Bash -- Great Line-Up of Speakers -- Registration Open (Hurry for Lunch!)
316942 [eric greatla] Registration is open for the Great Lakes Ruby Bash, but given that we

^ Developing command line utilities
316949 [chrisjoha gm] I'm writing a command line utility who's interface will share alot in
+ 316976 [Bil.Kleb-use] IIRC, Vlad is built on rake, ssh, and rsync: http://rubyhitsquad.com
+ 316981 [ara.t.howard] look at the cap code.  you might also like to check out main

^ open file for reading as non block
316952 [junkone1 gma] how do i open the file for reading as non blocking mode. as you can
317000 [shortcutter ] MjAwOC8xMC81IEp1bmtvbmUgPGp1bmtvbmUxQGdtYWlsLmNvbT46Cj4gaG93IGRvIGkgb3BlbiB0

^ Unary operator
316955 [stephan.zimm] here is a novice's question: I am wondering how to equip a class with
+ 316956 [TimHunter nc] The method name for unary - is -@, and the method name for unary + is +@.
+ 317019 [stevemessamo] This shows binary and unary operator definitions.

^ Buy Cialis online
316957 [uqparimutuel] buy cheap cialis online

^ Highline: Can I "ask" to STDERR
316958 [jeremypruitt] listener.
316970 [james graypr] Glad you decided to join us.
316973 [jeremypruitt] Perfect, thank you so much!
317500 [kbloom gmail] By the way, a little known Linux trick is that if you can read from

^ Places that are hiring in my area
316960 [woodsonturtl] Enough to seek places that are hiring! You've already found the best

^ Ruby lacks atfork : The evil that lives in fork...
316968 [john.carter ] Consider this simple usage of Thread and Process....
+ 316972 [matz ruby-la] I am not sure what you meant here.  It worked as I expected.  You
| 316982 [john.carter ] unlocked
| 317041 [matz ruby-la] When you fork off the process, the entire resources are (virtually)
| 317044 [john.carter ] The problem with "don't mix threads with processes" is unless you
| + 317047 [vjoel path.b] module ForkSafely
| | 317055 [john.carter ] Hmm. Cute. Really cute.
| | + 317062 [drbrain segm] use alias to copy it to a "backup" name before overriding.
| | + 317097 [vjoel path.b] Chaining is possible. You can have multiple copies of the following code
| + 317063 [matz ruby-la] The point is not to touch thread related objects from the forked child
+ 317014 [b.candler po] That manpage is talking about OS threads, not Ruby threads.
  317028 [john.carter ] =80=94 the one

^ [ANN] Ruby Linear Algebra Library 1.0.0
316975 [quixoticsyco] = Linalg - Ruby Linear Algebra Library
316983 [znmeb cesmai] If you want to dynamically link -- for example, if you have a

^ Concurent (using threads) slower than sequential -doubt
316978 [caof2005 yah] While starting to study the benefits of using threads in Ruby, I tried
+ 316980 [matz ruby-la] Threads require context switching, so that they tend to run slower,
| 316994 [shortcutter ] 2008/10/6 Yukihiro Matsumoto <matz@ruby-lang.org>
| 317002 [caof2005 yah] Thank all of you (Matz, Charles and Robert)
| 317006 [shortcutter ] Well, this is obvious: you cannot access the result before it's there.
+ 316984 [charles.nutt] You may want to try with JRuby, which actually uses native threads. On a
+ 317035 [erikveen gma] If you are on Linux, you might want to have a look at the gem
| 317039 [erikveen gma] It's released...
| 317056 [caof2005 yah] Thank you Erik and Robert...
+ 317144 [Prashant.Sri] Carlos, that sounds about correct.  I did some similar tests early this
threads.html
top