380902-382525

380734-381638 subjects 381088-381877

^ [Meta] Move comp.lang.ruby to moderation / message filtering?
380902 [cmdjackryan ] All,
380905 [shortcutter ] What NNTP provider are you using?  I can see the spam via Google
380911 [cmdjackryan ] None. I use email (there's no good usenet client for Windows out
380940 [shortcutter ] And you're really seeing a lot spam on Gmail?  Granted, it has increased
380954 [cmdjackryan ] d a
380976 [shortcutter ] ed a

^ Query for Ruby and mechanize gem on AIX 5.3
380909 [jain.vivek86] I have AIX 5.3 machine and  want to install Ruby and mechanize gem.
+ 380912 [cmdjackryan ] "Installing from the source code is a great solution for when you are
| 380928 [matt technor] Installing from source code on AIX is often painful, I have pretty much
+ 380961 [jain.vivek86] Thank you Phillip Gawlowski for help.

^ [ANN] Cascadia Ruby Conf details; CFP
380927 [ben bleythin] I am very pleased to announce the dates, venue, and CFP for Cascadia

^ Complier Issue in AIX 5.3
380934 [jain.vivek86] I have AIX 5.3 machine and  want to install Ruby and mechanize gem.
380960 [jain.vivek86] Please guide me ..I am stuck in Compiler issue.
380974 [cmdjackryan ] Phillip Gawlowski
382020 [artlee sbcgl] this did not help. I get this in the make

^ functional languages -- any recommendations?
380949 [bbxx789_05ss] Haskell, Scala, or Erlang?  Which one is the best?
+ 380952 [josh.cheek g] I don't know, but I did enjoy Try Haskell (http://tryhaskell.org/) It's
+ 380955 [cmdjackryan ] That would depend on what you mean with "best".
+ 380958 [tony.arcieri] Erlang is surprisingly close to Ruby in ways you would not believe.
| 380967 [peterhickman] You could add Clojure to that list, it would probably be a better
+ 380968 [b.candler po] I'd say Erlang would be the easiest to get your head round. It lets you
+ 380973 [spoon killer] What about Racket, the descendent of PLT scheme?
| + 380984 [spoon killer] Now that I think about it, the template method is a bad example.
| + 380991 [b.candler po] You're probably thinking of "records", which are basically just named
|   380996 [spoon killer] Hey yeah I was!
|   381012 [b.candler po] No, not at all. I made my point badly: *I* find Erlang's syntax to be
|   + 381013 [serialhex gm] If you're lookng into haskell, you could give huburis a try (I dont have a
|   + 381017 [tony.arcieri] I'm annoyed by there being 4 different types of statement endings, 3 of
+ 381049 [jwise draga.] I'd say #{language_i_use} is by far the easiest of these to pick up.  A
| 381050 [serialhex gm] i think you are totally wrong about #{language_you_use} because
| 381054 [spoon killer] Oh dear, we're onto meta-recommendations.
| 381083 [bbxx789_05ss] I made it to chapter 5 of Real World Haskell before drowning in a real
+ 381062 [code apotheo] Yes.

^ [ANN] Gotham Ruby Conference Call For Proposals
380950 [joshknowles ] The Gotham Ruby Conference (GoRuCo), a one-day, single-track event in New

^ Block variables
380953 [nguyenan169 ] Dear all,
380959 [cmdjackryan ] irb(main):001:0> RUBY_VERSION
380978 [shortcutter ] <snip>IRB test</snip>

^ Vim Plugin Issue
380956 [rclark.sf gm] Anyone here use Vim?  I'm trying to get my first plugin, NERD_tree to
+ 380957 [cmdjackryan ] I don't remember where I found this hint, I was advised to put the
+ 380965 [marco-oweber] <c-d> means ctrl-d

^ Autoconvert object from one class1 to other class2 in class1 def
380963 [support fit4] Is it possible to convert from one Class1 to another Class2 within the
+ 380964 [support fit4] or how get name of variable in class method?
+ 380966 [b.candler po] No, an object cannot change its class. All you can do is return a new
  380975 [support fit4] Thanks!
  + 380990 [b.candler po] Sure, the object_id is basically the object reference. It's a property
  + 380992 [adam apresco] I suppose just for the local variable case, you could use Kernel's
  + 380994 [shortcutter ] No, it isn't.  As Brian has pointed out already there can be arbitrary

^ Non-correcting library for parsing/modifying broken HTML/PHP files?
380969 [markus fisch] does anyone know of a library which can work with broken/malformed
380995 [shortcutter ] HP
380998 [markus fisch] I considered this approach too, unfortunately it turns out it breaks the

^ Separate new lines from an output
380977 [leo.mmcm gma] I've a range from 1..87.
+ 380980 [shortcutter ] It's not clear what you want.  Care to show some code?
+ 380981 [hyagni gmail] I might misunderstand what you want to do, but how about this?
+ 380983 [botpena gmai] check the doc.
+ 380985 [leo.mmcm gma] Sorry for being imprecise.
| + 380986 [peterhickman] e at this point is an array
| | 380993 [shortcutter ] No, it's a Range.
| | 380999 [peterhickman] Thank you for your correction.
| | 381000 [peterhickman] Ah bugger, got my cut and paste all wrong.
| + 380987 [josh.cheek g] Here, you are sending the path to standard output (that's what puts does,
| + 380989 [cmdjackryan ] Why not use Dir#glob([pattern])?
+ 380988 [leo.mmcm gma] It works! Thanks everybody :)

^ Gem installation issue
380979 [arne.de.herd] I'm running with my head against the wall here. I'm trying to create a
380982 [arne.de.herd] Found it....

^ Seeking advice
380997 [alex323 gmai] by many different "transports" (JSON over HTTP, Thrift, etc). Depending
+ 381001 [shortcutter ] I'd go for factory pattern.
| 381007 [spoon killer] I interpreted this to mean that the base grid class would not be part
| 381009 [shortcutter ] $ ./TrueGrit.rb
+ 381002 [spoon killer] Use factory pattern
+ 381022 [alex323 gmai] The factory design pattern is sort of what I want, but not exactly.
  + 381033 [jgabrielygal] class Grid
  + 381037 [shortcutter ] I'm not convinced we are actually that far away from what you want.

^ Re: How do I upload an image with Sinatra (like Paperclip)?
381003 [alfuken gmai] "f.write(tmpfile.read)"?? Why so complex?...

^ ruby server 1.9.2
381006 [ecalle1 mise] i need create a ruby server in version 1.9.2 but I get a lot of errors I
381008 [spoon killer] No one can help you with the information you've provided.
381011 [shortcutter ] And what is a "ruby server" anyway?  Off the top of my head a whole

^ Compilation error on AIX
381014 [jain.vivek86] bash-3.2# ./configure
381040 [ralf.mueller] <snip/>

^ Match a pattern multiple times, returning matches, captures and offset?
381015 [markus fisch] I'm used to be able to use the following in PHP. What is basically does
+ 381021 [b.candler po] #{x.inspect}" }
+ 381029 [bbxx789_05ss] If you look at the preamble in the docs for the MatchData class, you can
| 381038 [shortcutter ] When doing nested matching it may be better to use $~ because that is
+ 381081 [bbxx789_05ss] str = "_foo_ _bar_"
  + 381092 [shortcutter ] That's nice!  I wasn't aware of this.  Thanks for sharing!
  + 381095 [b.candler po] Using 'index' doesn't work if you have multiple captures which have the
    381145 [bbxx789_05ss] begin() and end() are the two elements of offset(), which we've already
    381180 [b.candler po] That's easy - subtract begin(0) which is the absolute offset of the
    381217 [bbxx789_05ss] The "subtraction method" was thoroughly vetted earlier.

^ how can i install GNU radiow with USRP2 model E210 for MIMO operation
381016 [adn_ami yaho] i have been install gnu radio in linux ubuntu properly but i can not
+ 381018 [cmdjackryan ] Phillip Gawlowski
+ 381020 [b.candler po] Posted via http://www.ruby-forum.com/.

^ how can i install GNU radiow with USRP2 model N210 for MIMO operation
381019 [adn_ami yaho] i have been install gnu radio in linux ubuntu properly but i can not

^ [ANN] RubyGems 1.7.2
381024 [drbrain segm] rubygems-update version 1.7.2 has been released!

^ rubyWax 0.11.04 audio player released
381025 [jakekaiden y] hot off the presses -
+ 381071 [jakekaiden y] woops, looks like i the screenshot didn't work out...
+ 381072 [jakekaiden y] screenshot? woops... should be here now
+ 381073 [jakekaiden y] sorry about broken screenshot...
+ 381080 [spoon killer] Looks cool, will try it out!
+ 381102 [jakekaiden y] not sure about amarok, looks like it's done in javascript now - but i

^ [ANN] Rails 3.0.6 has been released (now with more bugfixes)!
381027 [aaron tender] ## Rails 3.0.6 contains an important security fix!  Please upgrade!

^ capture the output of a grandchild
381035 [chandan89 ho] i started a process A through my ruby script using system() on my unix
+ 381036 [b.candler po] Show your code. Show what B and C are doing, or write replacements in
| 381039 [b.candler po] ruby -e 'system("/path/to/prog")' >cap.out 2>cap.err
| 381110 [chandan89 ho] thanks dude it worked finally
| 381111 [b.candler po] system("/path/to/prog >output.file 2>&1")
| 381172 [chandan89 ho] ya u are right, i tried
+ 381108 [chandan89 ho] thanks for the reply

^ [ANN] Remedy IT launches Open Source collaboration portal for R2CORBA etc.
381041 [mcorino reme] Remedy IT is pleased to announce the availability of Remedy IT OSPortal,

^ Proc#== behaviour (from Ruby-Core)
381042 [adam apresco] I did ask this question on Ruby-Core a few days ago, but no-one has replied
+ 381067 [adam apresco] I decided to just do what I should've done in the first place, and open an
+ 381070 [gwtmp01 mac.] and procs)
+ 381076 [bbxx789_05ss] In case you didn't know, procs and lambdas in ruby are a mess.
  381078 [adam apresco] I knew, at least, ever since I read
  381084 [gwtmp01 mac.] charset=us-ascii
  381085 [gwtmp01 mac.] charset=us-ascii

^ Re: Finding the third(any) Monday(any day) of a month
381043 [thopre gmail] myDate = Weekday.third_monday(2010,1)
381045 [code apotheo] Is there somewhere to get the source, read stats about it, et cetera,

^ [ANN][CONF] RubyConf India 2011 - Registrations Now OPEN
381044 [ola.bini gma] Registrations for RubyConf India 2011 are now open!

^ Error installing dbi-0.4.5.gem:
381047 [sbellana yah] Trouble while installing dbi gem and it showing as Error installing
381079 [hyagni gmail] You fail to install the specific version of deprecated.

^ String#each_*slice* methods (like Enumerable#each_slice)
381048 [astounding g] I find I periodically need to iterate over slices of a string.
+ 381052 [sutniuq gmx.] ================================
| 381053 [astounding g] =3D=3D=3D=3D=3D=3D=3D=3D
| 381055 [astounding g] Looking more closely on the use of str.scan vs str.chars.each_slice
+ 381077 [bbxx789_05ss] str = "hello world"

^ Pathname: moving files & directories
381051 [simon simonh] This came up at work a while ago and our IT dept. said it was
+ 381056 [shortcutter ] # untested
+ 381057 [jeremy bopp.] 1. Make a copy of a representative sample of the data with which you'll
+ 381064 [simon simonh] Thanks to both of you. As suggested I'll copy the files and experiment

^ Windows 2008 Server: Reading Text File with Ruby.
381058 [storm8000 gm] New Ruby user here.
381059 [jh_ruby-lang] As it starts with a UTF-16 LE Byte order marker, that's a pretty good
381060 [storm8000 gm] Thank you.
381061 [jh_ruby-lang] I'm not at all familiar with dealing with encodings on Windows, but
381063 [storm8000 gm] Thanks - I tried utf-16.  Unfortunately it gives a "Unsupported encoding
+ 381065 [jh_ruby-lang] require 'iconv'
| 381066 [storm8000 gm] 08\x005\x008\x009\x009\x003\x004\x005\x009\x002\x00\n\x00\n\x00\n\x00\n\x00\n\x0
+ 381069 [fred lacave.] ruby -e 'puts Encoding.list'

^ [ANN] RCAP 1.0.0 - Common Alerting Protocol for Ruby
381068 [farrel.lifso] The Common Alerting Protocol is a lightweight standard to facilitate

^ [ANN] test-loop 9.4.0 and 10.0.0
381074 [sunaku gmail] test-loop - Continuous testing for Ruby with fork/eval

^ Hello
381075 [moemonty gma] I'm new to the Ruby community, but I am very adamant about joining.
+ 381082 [spoon killer] Do you use ruby at work?
| 381208 [badlands_200] no I do not use ruby at work, I just like to use so that I can write a prog=
+ 381086 [badlands_200] I'm new to the Ruby community, but I am very adamant about joining.
| + 381106 [stu rubyprog] details?
| + 381155 [badlands_200] I am having a hard time to get it up and running. that is Ruby and Ruby on Rails. it seems that no one is willing to help so that we can enjoy this porgram. If their anyway that I can get it downloaded to me, some help to make sure that have the right porgrams.
|   + 381157 [oscartheduck] No one is willing to help? That doesn't sound like the ruby on rails
|   | 381161 [oscartheduck] Open your cmd.exe and type in "where gem". You should get an output similar
|   | 381206 [badlands_200] I will try this thanks
|   | 381218 [oscartheduck] That should tell you whether you have gem installed so that you can access
|   | 381256 [badlands_200] I have done this now what about the program free ride for ruby?
|   + 381263 [badlands_200] does the Free Ride program for Ruby the command program that I need to run and write my program?
|     + 381267 [vmanis telus] run and write my program?
|     | 381311 [badlands_200] is there a disk that can be sent out for us to use for ruby and ruby on rai=
|     + 381308 [badlands_200] is there a disk that we can seen off and use. so that we can all the parts of ruby and ruby on rails. I would like this disk.
|       + 381312 [vmanis telus] parts of ruby and ruby on rails. I would like this disk.
|       + 381313 [jakekaiden y] i don't know of any disk, but maybe some of this will help...
|         + 381314 [vmanis telus] you=20
|         | 381322 [badlands_200] I will just give up on Ruby and Ruby on Rails for now=20
|         | 381347 [badlands_200] No, I will try another program to learn to write a program. Ruby is just to=
|         | + 381351 [cmdjackryan ] To put it bluntly: All easy(-ish) to use and learn scripting languages
|         | | + 381352 [vmanis telus] just to hard to download, and to work with.
|         | | + 381358 [martindemell] He does raise a good point - it would be nice to have a classic 3 pane
|         | |   + 381359 [sebastian.ba] Are you working with Windows?
|         | |   | 381386 [badlands_200] does ruby need the visual studio 2008 to run?
|         | |   | + 381390 [vmanis telus] No.
|         | |   | | 381455 [oscartheduck] I'm working with James Nathan to get him up and running.
|         | |   | | 381462 [martindemell] FreeRIDE hasn't been worked on in years, and can be considered
|         | |   | | + 381463 [martindemell] And RadRails is worth a look too, if you're specifically interested in
|         | |   | | | 381466 [oscartheduck] My tactic when introducing new folks to ruby is to not shy away from the
|         | |   | | + 381532 [badlands_200] maybe that is why I am having such a hard time with it. but the other Ruby Programs to see if they are up and running.
|         | |   | |   381570 [vmanis telus] Ruby Programs to see if they are up and running.
|         | |   | |   381684 [notthinking ] How about redcar, it sounds an awful lot like what some people are
|         | |   | |   381685 [echristopher] ERIC supports Ruby now.
|         | |   | + 381461 [code apotheo] Not even slightly.  The *only* thing you need to install that is not
|         | |   + 381360 [cmdjackryan ] So, a package like NetBeans 6.9, then, which includes an IDE (I don't
|         | |     381364 [martindemell] Yep, though NetBeans is way overkill for the task. Something small and
|         | + 381366 [sophrinix gm] Before you give up, checkout
|         + 381316 [badlands_200] I have try that and ruby 1.9.2 Page 180=A0 I have interactive ruby, ruby ge=
|           381317 [vmanis telus] gems documentation server, start command prompt with ruby. now with free =
+ 381159 [jakekaiden y] if you still have problems, you should mention what system you have
  381162 [badlands_200] Jake,
  381166 [cmdjackryan ] Does the installer at http://rubyinstaller.org/ not work?

^ Hash Surprises with Fixnum, #hash, and #eql?
381087 [no spam.plea] Folk,
+ 381099 [shortcutter ] There's still a lot missing for a number replacement.  Please see
| + 381107 [cmdjackryan ] 3 - 2j [+|*] 45^(j * e * 44=B0).
| | 381109 [shortcutter ] Why bother, it has been done already.
| | 381115 [cmdjackryan ] loat!
| | 381116 [shortcutter ] Float!
| | 381117 [cmdjackryan ] Given that there are infinitely more irrational than rational numbers,
| | + 381121 [shortcutter ] Well, even with technical inheritance ("kind of") sub often add state
| | | 381123 [cmdjackryan ] But that's a failure of implementation, isn't it?
| | | 381124 [shortcutter ] That too, but the root cause lies in the area of the incompatibility
| | | 381126 [cmdjackryan ] That's why Complex adds to #to_f, to enable the #to_f functionality
| | + 381132 [b.candler po] Isn't this the old "ellipse is_a circle, or vice versa" debate?
| |   + 381150 [vmanis telus] And a lot of what is done by practitioners using object-oriented languages
| |   + 381175 [shortcutter ] ACK, ACK and ACK.
| + 381182 [no spam.plea] What's wrong with the case you use in that blog post? But as it turns out,
|   + 381187 [shortcutter ] You mean, make HexNum a subclass of Integer?  Yes, actually that's
|   | 381233 [no spam.plea] No, I don't mean making HexNum a subclass of Integer, but making it an
|   | 381269 [headius head] Top-replying with a general observation: you can't please everyone all the =
|   | 381274 [no spam.plea] Yes.
|   | 381337 [shortcutter ] I think Charly got it exactly right.
|   | 381393 [no spam.plea] I'm trying to express a logical programming paradigm, for users
|   | + 381399 [headius head] Perhaps I'm missing something. Should I be seeing different results than this?
|   | | 381402 [no spam.plea] That result is reasonable, using MRI. Interesting, and nice, that it
|   | | 381416 [headius head] This is JRuby 1.6.1.
|   | | 381469 [no spam.plea] Yep... same as 1.6.0 and 1.5.6. What's you point?
|   | | 381506 [headius head] I'm confused...you made it sound as though JRuby results would be
|   | | 381510 [no spam.plea] I presented results from MRI 1.8.7, JRuby 1.6.0, and Rubinius,
|   | | 381876 [headius head] "That result is reasonable, using MRI. Interesting, and nice, that it
|   | | 381970 [no spam.plea] Charles,
|   | | + 381995 [shortcutter ] Please keep in mind that in a multithreaded environment there is
|   | | | + 381997 [no spam.plea] Oh get real. This is a single variable which may, during the course of
|   | | | | + 381999 [shortcutter ] In multithreaded applications the change frequency is not important.
|   | | | | + 382005 [wishdev gmai] Good Morning,
|   | | | + 382233 [headius head] In this case, I'm not using a synchronized, atomic, *or* boolean
|   | | |   382240 [shortcutter ] Is redefinition per thread a standard JRuby feature or is this
|   | | |   382272 [headius head] It's something I've thought about, a la Groovy's "categories"
|   | | + 382232 [headius head] Well, it has to get the value from somewhere. In JRuby, the
|   | |   382434 [no spam.plea] Ouch. No wonder it hurts. I hadn't looked into the internals of JRuby,
|   | |   382525 [headius head] None of the JRuby runtime is native code, and obviously that's how
|   | + 381405 [shortcutter ] I have run the code and I haven't missed the fact.  Right, that wasn't
|   |   381468 [no spam.plea] Yeah, I get that argument, and I agree with it. But it's a general rule,
|   + 381228 [fxn hashref.] El 8 Apr 2011, a les 09:30, Clifford Heath <no@spam.please.net> va escriure:=
|     381232 [no spam.plea] Thanks, that was the problem (/me hides face).
+ 381153 [mazi.ayisigi] s=FDn=FDf varm=FCmk=FCn oldu=F0u kadar ger=E7ek bir Tamsay=FD (subclassed =
threads.html
top