392735-393593

392466-392851 subjects 392979-394515

^ uninitialized thread error with a Thread subclass
392735 [te_hem yahoo] #!/usr/bin/ruby
392736 [whitequark w] Add `super' call within your `initialize' method.

^ Help with back references in regex
392740 [sathyalevy g] Amatuer programmer here, just need some help inserting a * between a
392742 [ondemannen g] equation.gsub((/(\d+)x/), '\1*x')

^ Cassandra + Ruby
392744 [dhaval.deshp] I am new to cassandra and was trying to achieve some simple

^ Upcoming changes to the pg gem
392747 [ged FaerieMU] ...
392748 [ged FaerieMU] Well, that was an inauspicious start. I sent the original mail signed, =

^ [ANN] Tork 17.0.0
392754 [sunaku gmail] Tork - Test with fork - https://github.com/sunaku/tork#readme

^ Ruby et java
392759 [priscillacol] French ^^
392780 [tony.arcieri] If you're having trouble with the built-in SOAP library, you might take a

^ [ANN] Whitestone 1.0.2
392760 [gsinclair gm] Whitestone 1.0.1, a unit testing library, was released on 2012-01-02.  This

^ Re: Ruby and java
392762 [rogerpack200] might be interesting to you.
392765 [priscillacol] Thank you for your answer ! I downloaded and installed RJB. There's a
392771 [priscillacol] It finally work but in my program that doesn't change anything, my web
392783 [priscillacol] Thanks a lot :)

^ Windows RubyInstaller 1.8.7: Installing missing TCL/TK packages?
392769 [axel.friedri] (I asked this before via google.groups, but I think this was wrong; so
392774 [jon.forums g] Our main RubyInstaller ML is
392775 [axel.friedri] Yes, for me it's very interesting. Doing such things with Ruby.
392879 [axel.friedri] Solved.

^ Re: Whitestone 1.0.2
392773 [jon.forums g] I just skimmed the homepage; what do you think are the _primary_
392790 [gsinclair gm] was used to for years. Minitest may have implemented some of those; I

^ method_missing - but can it be "isolated" to per-project basis?
392786 [shevegen lin] I have been playing with the following code (explanation follows after
+ 392793 [transfire gm] Not exactly sure what you are trying to accomplish, but you could create a
+ 392813 [josh.cheek g] You require pp but never use it.

^ Why is a = a nil instead of giving NameError
392788 [navindra cs.] Could someone help me understand what is happening here?
+ 392789 [brabuhr gmai] "Local variables are created immediately when the Ruby parser parses a
+ 392791 [navindra cs.] Thanks for that.
  392802 [josh.cheek g] It enables

^ [ANN] Fluidity v0.1.0 released
392792 [transfire gm] Fluidity 0.1.0 has been released.

^ [ANN] unicorn 4.2.0 - Rack HTTP server for fast clients and Unix
392795 [normalperson] Unicorn is an HTTP server for Rack applications designed to only serve

^ Class variables
392799 [jinjosh97 gm] Hey guys,
+ 392800 [josh.cheek g] Use instance variables, not class variables.
| 392811 [jakekaiden y] you could use attr_accessor -
| + 392814 [josh.cheek g] attr_accessor doesn't get around this, it writes methods that access the
| + 392816 [atreidesenar] VW5zdWJzY3JpYmUNCg0KDQpTYWx1ZG9zLA0KDQpFbCAyOS8wMS8yMDEyLCBhIGxhcyAxOTozNywg
+ 392804 [jinjosh97 gm] Thanks for your response so quickly!

^ [ANN] Tork 17.0.1
392809 [sunaku gmail] Tork - Test with fork - https://github.com/sunaku/tork#readme

^ [ANN] ANSI v1.4.2 released
392815 [transfire gm] ANSI 1.4.2 has been released.

^ Help please Undefined Method error
392818 [andres.1996.] well im new at programming and ruby is the first language I'm trying to
+ 392832 [chris.hulan ] words is an array, but you put it inside another array when you call sort
+ 392833 [apolo-andres] But there is another error in this code that is basically the same but
| 392844 [chris.hulan ] I suspect you're var is getting incremented past the size of the array
+ 393023 [apolo-andres] The program is done !!!!  i was only checking it for the last time
  393053 [peter vanden] I took the liberty to propose an alternative to the
  + 393054 [peter vanden] I see now that I misread your name (it should be Andres if I see
  + 393067 [matma.rex gm] Aw. Do not abuse #tap, please. It's extremely unreadable, especially
    393068 [peter vanden] Thanks for the feedback.
    393070 [matma.rex gm] def get_words
    393074 [peter vanden] Thank you for the clarification :-)
    393075 [matma.rex gm] Haha, yeah, I guess :)

^ AFC v NFC NFL Pro Bowl 2012 live streaming watch free online,
392820 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ !!FREE NFC vs AFC Live NFL 2012 Pro Bowl game streaming hd video watch@
392821 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ Watch NFL Pro Bowl 2012 AFC vs NFC Live streaming American football all-star game,
392822 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ @!@ AFC vs NFC Live Stream NFL's Pro Bowl game 2012 PC TV!
392823 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ watch @@ 2012 Pro Bowl NFC vs AFC American football live stream***
392824 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ Watch^^ Pro Bowl Live Stream AFC vs NFC 2012 NFL All-Star Game Online!!
392825 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ AFC vs NFC Live stream NFL Pro Bowl 2012 Online TV
392826 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ @ watch 2012 Pro Bowl Live AFC vs NFC Live NFL Online PC to TV 2012##
392827 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ **Pro-Bowl**AFC vs NFC Live streaming NFL-Pro-Bowl online^^
392828 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ Pro Bowl 2012 Live Streaming | AFC vs NFC Live Stream
392829 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ live tv~~ free AFC vs NFC live streaming Pro Bowl online tv Link
392830 [sharmin.srk5] The 2012 Pro Bowl will be the NFL's all-star game for the 2011 season.

^ Is there a gem that packages common activerecord related rails tasks?
392834 [darkintent g] There are times when I would like to use ActiveRecord outside of a
392836 [josh.cheek g] I've had success using https://github.com/thuss/standalone-migrationsbefore.
392849 [darkintent g] es

^ Embedding Ruby debugging and gems using
392839 [matejuh gmai] Embedding Ruby in C is poor documented part of Ruby programming. When I
+ 392858 [ruby-ml kitt] First and foremost, update your Ruby. 1.9.0 is old, and buggy. If you =
+ 392882 [matejuh gmai] Thanks for response. I tried to build Ruby 1.9.3 from source, but Im not
| 392886 [ammarabuali ] IIRC, to build a shared library you need to configure with --enable-shared.
+ 392894 [matejuh gmai] ruby/ruby.h:25:25: error: ruby/config.h: No such file or directory and
| 392905 [ammarabuali ] That was not clear in your question.
+ 392941 [matejuh gmai] I tried to reinstall Ruby with GEM_PATH set but no success in my issue.

^ Why Ruby 1.9 GUI hangs if i do any intensive computation in separate Ruby thread?
392848 [grigory.v.p ] Ruby 1.9 suppose to have native threads, and GIL is supposed to lift
+ 392853 [ryand-ruby z] Please send this to ruby-core@
+ 392924 [markkirby80 ] I dont know how to help you but if you are having gui troble switch API
  392935 [grigory.v.p ] ...

^ [ANN] treequel 1.8.3 Released
392852 [ged FaerieMU] treequel version 1.8.3 has been released!

^ [ANN] ambit 0.12 Released
392854 [jwise draga.] ambit version 0.12 has been released!

^ [ANN] unific 0.10 Released
392855 [jwise draga.] unific version 0.10 has been released!

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

^ [ANN] Tork 17.1.0
392857 [sunaku gmail] Tork - Test with fork - https://github.com/sunaku/tork#readme

^ [ANN] graph 2.4.1 Released
392860 [ryand-ruby z] graph version 2.4.1 has been released!

^ Re: read_nonblock' : end of file reached (EOFError)
392861 [shishacheck ] i got the same error during devoloping an Siri-Proxy-Plugin...
392866 [shishacheck ] def search_google

^ RUBY_CRITICAL
392862 [tridib04 gma] Can anyone tell me about RUBY_CRITICAL(). I want to know what this
392865 [sophrinix gm] it's a ruby c function. There doesn't seem to be much in the way of
392876 [garthy_lmklt] Out of interest, I just did that, and in 1.9.2 at least, it is defined
+ 392877 [garthy_lmklt] Ruby 1.8.7 wraps the statements in rb_w32_enter_critical() and
| 392893 [sophrinix gm] I bet this is windows specific legacy code then.
+ 392878 [amichai teum] unsubscribe

^ Help me please
392864 [aport99 gmai] nonarguments method of Fixnum class using yield. That'll be passed if i
+ 392872 [garthy_lmklt] You need to add it to the Fixnum class, and use self to get at the
+ 392884 [aport99 gmai] Thank you Garthy it's very helpfull for me. and i'll remember about
  392885 [garthy_lmklt] Happy to help. :)

^ Multiple assignment in conditional
392867 [gsinclair gm] I find this a strange Ruby error.
+ 392868 [josh.cheek g] What did you expect your real code to do? It seems to me that it should
| 392944 [gsinclair gm] Nope.  It can return anything at all and Ruby will deal with it.
| + 392965 [joelvanderwe] def foo; nil; end
| | + 392976 [botpena gmai] indeed. ruby just checks the last assignment.
| | | 392980 [shortcutter ] Probably because (a,b=3Dfoo) in all but the latest version always yields
| | | 392981 [botpena gmai] ah, portability/compatibility. i guess we're stucked then :)
| | | 392982 [botpena gmai] ok, i'll take it back, since,
| | | 392984 [shortcutter ] I think so.  But that still does not make it a brilliant idiom in my
| | | 393031 [botpena gmai] given a conditional expression like,
| | + 392988 [gsinclair gm] Done and done!
| + 392968 [josh.cheek g] Sorry, but I find this incredibly opaque.
|   392986 [gsinclair gm] Yes, I expect what you expect.
+ 392870 [garthy_lmklt] I can understand why the language rejects that construct (I've never
| 392873 [now bitwi.se] of
| 392874 [garthy_lmklt] Haha, I *knew* someone would call me out on that one if I wasn't more
+ 392891 [botpena gmai] because it's a parallel assignment and ruby would not know which to
| 392892 [botpena gmai] ok, ignore.  i get gavin's point regarding expression
+ 392914 [shortcutter ] Yeah, I'd agree.  But why write such obfuscated code?
  + 392919 [botpena gmai] i dont know, Robert,  since i also find
  | + 392921 [josh.cheek g] I don't think it would be elegant, because the relationship between the
  | + 392939 [shortcutter ] I find
  + 392945 [gsinclair gm] Here's the code with the thing that doesn't work.  Of course you don't
    392946 [gsinclair gm] Sorry to reply to my own message, but I thought of something I should
    392947 [shortcutter ] def week_and_day(date)
    392948 [gsinclair gm] Ruby is beautiful for many reasons.  One of those is the ability to
    392949 [shortcutter ] On first sight it looks like it's probably the best solution for the
    392987 [gsinclair gm] Well spotted wrt 1.8.7.  That behaviour is contrary to what I expect.

^ Imap constantly connection with events
392869 [pdobryakov g] Can i using net/imap keep the connection constantly and react to the

^ 'Special' characters - °Ú sign showing as 
392883 [cyreath gmai] Continuing on learning the basics of Ruby I've stumbled on a common
392906 [matma.rex gm] Set the correct encoding for the source file - in this case, at this

^ why we need heredoc
392887 [lakshmi27.u ] In ruby we have the concpet "heredoc" to handle multiple line strings
+ 392889 [now bitwi.se] puts <<EOA, <<EOB, <<EOC
+ 392890 [flo andersgr] We don't exactly "need it", but its nice to have around.
+ 392898 [josh.cheek g] It's great if you want to copy and paste some text. The text might have
| + 392900 [shortcutter ] Well...
| | 392902 [adam apresco] But!
| + 392903 [matthias wae] take care of °»some text°… here. If the text contains your stop word,
|   392920 [josh.cheek g] 2012/1/31 Matthias W=E4chter <matthias@waechter.wiz.at>
|   392938 [flo andersgr] have
|   392951 [rubytalk2dav] Not *quite*.  If you left out the dash, it would have to be at the
+ 392909 [code apotheo] I use heredocs in my programs primarily for documentation that is output

^ the future of ruby
392895 [mark_f_edwar] both ruby and php are loosing "market share", perl is holding its own,
+ 392896 [josh.cheek g] Java or Javascript. Both are tolerable, even enjoyable at times. Java and C
+ 392897 [steve stevek] TIOBE is worthless.
+ 392899 [marco-oweber] define "market share" ? How do they do it? lost 2%? Wow..
+ 392911 [mark_f_edwar] thank you all very much!  this is quite a community that ruby has.
| 392912 [matma.rex gm] For heavy web development, probably yes. For a simple site with a
| 392937 [flo andersgr] Define "heavy web development". I actually don't like Rails for special =
+ 392913 [mark_f_edwar] i would expect to pay a few $$$$$ to actually attend a class and learn

^ seg fault
392901 [phildobbin g] I'm trying to push another app to Heroku & `bundle install` is telling
392910 [matma.rex gm] Why does it mention both Ruby 1.8.7 and 1.9.3? If you're using native

^ PHP vs Ruby is it worth it?
392917 [sasogeek yah] there that is good enough to start learning if you aim to build a real
+ 392926 [transfire gm] Do you intend to use a database? That's really the first major question
+ 392927 [tony.arcieri] I think many of us started doing web development in PHP (I started using
+ 392930 [code apotheo] Keeping in mind that this is unvarnished personal opinion . . .
+ 392933 [sasogeek yah] well I want to build a real time website, exactly what languages should
| + 392954 [code apotheo] My suggestion is Ruby.
| | 392955 [christopher ] I suggest Python.
| + 392956 [echristopher] A question that I haven't seen anyone else ask: what do you mean by
|   392960 [code apotheo] I get the impression it's more like what people often mean when they say
+ 392963 [sasogeek yah] By "real time" I mean, having every activity occur synchronously on
| + 392966 [sduncan weta] You probably don't mean synchronously. If you required all your clients
| + 392974 [tony.arcieri] It sounds like you want a publish/subscribe system which streams events to
|   393049 [kim burgestr] Keep in mind there are a bunch of different services that allows you to do
+ 392964 [sasogeek yah] more like how the facebook ticker works... if you know what i mean

^ [ANN] net-http-persistent 2.4 Released
392918 [drbrain segm] net-http-persistent version 2.4 has been released!

^ ruby executable on ubuntu
392923 [markkirby80 ] I just wonderd if you guys know any way to execute a .rb file by
+ 393154 [jeremy bopp.] This isn't really a Ruby-specific issue but rather a Gnome issue.
+ 393156 [e148759 bsno] Add a ruby shebang and chmod +x
  393159 [jeremy bopp.] This may not be the best possible solution unless you can safely rely on
  393175 [e148759 bsno] #!/usr/bin/env ruby
  393177 [jeremy bopp.] It will only work when running from Nautilus or similar file browsing
  393187 [e148759 bsno] Yes, you are correct!
  + 393194 [e148759 bsno] bash -i -c "/home/adam/bin/test1.rb"
  | 393196 [jeremy bopp.] It may work, but it would also cause the user's .bashrc file to be
  + 393195 [jeremy bopp.] I think that might work.  You would have to dynamically specify the file

^ [ANN] Executable v1.2.0 released
392928 [transfire gm] Executable 1.2.0 has been released.
392953 [sutniuq gmx.] # Say it in uppercase?
392959 [transfire gm] Thanks, Marvin. I'm much more used to typing "load" then "loud" :-)

^ 1.9.3 random seg faults with rspec
392934 [jesse.angell] I've been fighting this for the last 12 hours.   I have ruby 1.9.3 built
+ 392936 [jesse.angell] I just built 1.9.2 and this appears to not be an issue there.  Not sure
+ 392943 [gsinclair gm] I've had similarly nasty crashes running "gem push" under 1.9.3 on rvm

^ stack level too deep (SystemStackError)
392940 [alex323 gmai] ruby -e 'def t(i) p i;t(i+1) end;t 0'
392942 [cu9ypd gmail] Ruby have static stack size for thread - it's defined in vm_core.h

^ Compile 1.9.3 on cygwin
392950 [shortcutter ] since a few day I cannot compile Ruby 1.9.3 under Cygwin.  I haven't
393578 [shortcutter ] I finally found out what went wrong: apparently McAfee AV interfered
393586 [jon.forums g] Interesting, but I don't think this is the best way to go. For one, it's
393593 [shortcutter ] It's good enough for me (see below).

^ Rhodes install (Windows) seems incomplete
392952 [clive.backha] I looked around for a Rhodes-specific forum, but couldn't find one. Hope
392975 [saji u-aizu.] The following google group may be able to help you with this.
392983 [clive.backha] Thanks - I will ask over there.

^ ANN: Sequel 3.32.0 Released
392957 [code jeremye] Sequel is a lightweight database access toolkit for Ruby.

^ [ANN] TAPOUT v0.4.0 released
392958 [transfire gm] TAPOUT 0.4.0 has been released.

^ [ANN] MiniTap v0.3.3 released
392961 [transfire gm] MiniTap 0.3.3 has been released.

^ [ANN] process_shared -- Python's multiprocessing for Ruby
392962 [rogerpack200] Patrick has been doing some excellent work on the "process_shared" gem,
392973 [tony.arcieri] Multiple processes, shared memory, and mutexes? Wow, it's truly the worst

^ How to add javascript in a partials
392967 [cooolbasha y] I am using the partial helper module mentioned in sinatra documentation.

^ Realy simple question I cant seem to find the answer to
392969 [markkirby80 ] I just wanted to write a simple conversion program in ruby but cant seem
392971 [cremes.devli] It's a two step process.

^ [ANN] RSpec-On-Tap v0.2.0 released
392970 [transfire gm] RSpec-On-Tap 0.2.0 has been released.

^ [ANN] minitest 2.11.1 Released
392972 [ryand-ruby z] minitest version 2.11.1 has been released!

^ SIGINT not being captured immediately after using system() command
392977 [redge.tan gm] When I ran the ruby code below, pressing ctrl + c would immediately stop
+ 393010 [redge.tan gm] I also tried to debug the problem by using dtruss (i'm on a mac) while
+ 393011 [redge.tan gm] Btw, the behavior I described only happens on ruby-1.8.7-p357. When I

^ Newbie to Ruby
392978 [sixxvirus gm] I am new to ruby I wish to get started on with it. I have downloading
+ 392985 [madgenhetic ] Ruby is a scripting language so unless you want to compile the C code,
+ 393003 [code apotheo] Do you actually mean to ask for a compiler (which doesn't exist as far as
+ 393100 [sixxvirus gm] I am and still are Java programming working on Data sturcture, more so
threads.html
top