177768-180432 subjects 178305-328495

Re: WIN32OLE extension using in/out SAFEARRAYs (Matlab interface)
178024 [Daniel.Berge] I can't answer your question directly, but a search on "getfullmatrix" +

Readline extension doesn't compile with ruby-1.8.4 on RedHat 7.3
178034 [se@di it le ] and do

overriding #nil? ?
178035 [mental@ry ia] Out of curiousity, has anyone on this list ever overriden #nil? ?
178038 [ara.t.howard] once.  for a c-pointer extension i was playing with.  never really used it

Work around for "Bignum out of Float range"?
178045 [sam.s.kong@g] First, some codes.
178057 [adam.shelly@] here's some hacky code which returns a 2-element array
178059 [Nuralanur@ao] ...
178109 [sam.s.kong@g] Thank you, Axel.

Installing Mysql/ruby on Windows 2000
178058 [alain.feler@] 2. make (??? there is no make in windows -> unknown command).
178076 [w3gat@nw ag ] The easiest way is to place a copy of mysql.so into the ruby library.  I

[OT] Re: Chomping and stomping
178067 [ara.t.howard] cat, the most ubiquitous of unix programs => *nix

Job postings? Please! (Was: Re: Job Vacancy RoR)
178072 [drbrain@se m] To be honest, I'd rather see Ruby job postings mentioned here, even
+ 178124 [kiaroskuro@g] ...
+ 178129 [james_b@ne r] I'm somewhat mixed, but it hasn't been a problem (and it seems like one
+ 178146 [ptkwt@ar cn ] I tend to agree with Eric, though I would hope that it's hiring managers or
+ 178222 [chris.hulan@] Actaully there is a Ruby Jobs site: http://jobs.rubynow.com/
+ 178282 [tsumeruby@ts] I'm just thinking ahead. I know ruby is still considered young, but once any
  + 178292 [paul@ic no l] headhunting firm would be staffed entirely by techs working in the
  | 178294 [tsumeruby@ts] I'd seriously like this to be the other way around. Head hunters which are
  | 178296 [paul@ic no l] None Shall Pass. Seriously, they really don't get the work we do.
  | 178803 [tsumeruby@ts] Then again, are most of those headhunter places even technologically oriented?
  + 178293 [drbrain@se m] I think this was the first, maybe second, job posting of the month.
    178295 [tsumeruby@ts] Not exactly like I can filter or redirect job mail to another box. The job

Question about PStore API
178073 [Daniel.Berge] This is one of those, "Why are things this way" kind of questions.
+ 178078 [ara.t.howard] hmmm.
| 178083 [Daniel.Berge] Gah! I could have sworn that didn't work.  Disregard.
+ 178080 [r.mark.volkm] I'm guessing it's because you've already got a variable holding the

[RCR] meaningful RUBY_VERSION#<=>
178074 [ara.t.howard] i'm sure something much more elegant could be made, but this summarizes desired
178086 [ mfp@ac .o g] matz has said that 1.8.10 (or more generally versions with 2 digits in one
+ 178089 [ara.t.howard] maybe so then - i did not know about the 2 digit restriction.  thanks!
+ 178183 [g_ogata@op u] Aww... I was really looking forward to ruby 10.0  :-(

Re: Missing Solutions (#64)
178079 [amrangaye@gm] I'm the author of one of those (the ACME one). I usually post stuff via
178081 [james@gr yp ] That's fine.  Most times the gateway brings it over.  I also try to

Golfing (was Re: Chomping and stomping)
178087 [lukfugl@gm i] Let me clarify.
+ 178115 [ezmobius@gm ] Plus the original poster specifically asked about how to get rid of
+ 178180 [w_a_x_man@ya] What egregious arrogance!  Let me clarify.  What you mind
  + 178234 [lukfugl@gm i] I didn't say it did. I was just clarifying *my opinion*. When I asked
  + 178238 [ezmobius@gm ] -Ezra
    178241 [ruby-talk@wh] Whoa, break out the racial slurs.  Someone is gonna find himself in some
    178244 [matthew.moss] Pardon my breaking in here...  but how is that a racial slur?  Are you
    178245 [lukfugl@gm i] You obviously have yet to know _why. :)
    178255 [matthew.moss] Perhaps...  But it irks me to no end (to put it mildly) when someone
    178260 [lukfugl@gm i] No, _why wasn't actually claiming any real racism; as you theorize

Seeking the Ruby way
178095 [talanb@gm il] ...
+ 178100 [ara.t.howard] require "csv"
| 178107 [lukfugl@gm i] 1) It's only ever used once
| + 178111 [vjoel@pa h. ] And for some reason, I tend to write
| + 178113 [ara.t.howard] during editing - as i always seem to for debugging ;-)
|   178118 [lukfugl@gm i] Yeah, I agree. I often use similar abstraction techniques for
+ 178137 [w_a_x_man@ya] 123456ab,900
| 178172 [bob.news@gm ] I wonder how this works since the Hash never stores these arrays.
+ 178173 [bob.news@gm ] 1. You want all values for row2 that occur more than once.
  178176 [bob.news@gm ] Just remembered that the file is sorted.  Then this implementation of case

Active Directory
178112 [vpuz@ro er .] I was wondering if anybody had done any work with MS Active Directory.  I
+ 178117 [tanner.burso] I've done a bit of AD/Exchange automation.  Since I was running it
+ 178248 [wilsonb@gm i] Ruby/LDAP (and ActiveLDAP, which is written on top of it) are both
  + 178264 [heron@jp .n ] I've used Ruby/LDAP on Windows from the cygwin
  + 179133 [jens.norrgra] I've tried to compile ruby/ldap in cygwin but I can't get it to work. It
    179335 [heron@jp .n ] Can you copy and paste the output from the build process.

Singleton Method Questions
178114 [gwtmp01@ma .] I've been thinking about singleton methods some more.  The current
178160 [nugend@gm il] Well, I just happened to be mucking about with that sort of thing and

Basic Rails Database Foreign Key question
178126 [portal33@gm ] meantime ...
+ 178131 [james_b@ne r] You'll likely get better information from the Rails mailing list
+ 178156 [interfecus@g] In the future, the rails mailing list would be a better place to post

Gotcha for Newbies
178127 [neowulf@ii e] I just thought I'd drop this one in for any newbie's playing around
178130 [neowulf@ii e] Opps.. correction...

Looking for a good web-based feed aggregator
178132 [sera@fh an .] I'm looking to install a web-based RSS & Atom aggregator for a project
178138 [anne@wj .h r] make it with rails? rails accepts xml and can parse
178151 [meta@po ox c] There's my Syndication module, on RubyForge, which parses both RSS and

ipsocket ttl
178142 [dave@da ew i] I was wondering if there is any way to specify the time-to-live value of
178493 [guslist@fr e] This might be platform dependent. On Linux, look at 'man 7 ip' and

Faster Prime class then Ruby 1.9
178162 [newshoundat@] I have been playing with my implementation or the Prime class since the my

[ANN] Mongrel HTTP Library 0.2.2 (Serving Directories)
178163 [zedshaw@ze s] Hey Folks,
+ 178209 [tanner.burso] ...
| 178211 [tanner.burso] ...
| 178214 [zedshaw@ze s] [zedshaw@dinky ~]$ irb -rubygems
| 178216 [tanner.burso] ...
| 178273 [zedshaw@ze s] Are you sure that you don't have any previous versions of Mongrel
| 178631 [tanner.burso] ...
+ 178220 [se@di it le ] What do I need to try to build it on win32? Can someone point me to the
  178224 [nissl@ti ca ] Microsoft Visual C++ Toolkit 2003

Displaying source code of an rhtml file
178166 [paul.johnsto] I'm creating some embedded ruby web pages under Linux and Apache 2.0
+ 178167 [rossrt@ro co] Do you mean like this?
+ 178192 [patsplat@gm ] I think '<%%', and possibly '%%>',  will escape the '%' in rhtml

SVG Plugin
178170 [bafna.sapna@] I want to Use Adobe SVD Draw 0.9 in my Ruby application.

nil or NameError
178182 [mage@ma e. u] (1..2).each { if 1 == 2 then a = 5 else puts a end }
178190 [rossrt@ro co] I think it's about the way Ruby decides whether 'a' is a method or a
178199 [mage@ma e. u] I thought that it can be purposive. I have written a buggy code, which

Hie Rubyists!
178184 [shubhra.main] ...
+ 178185 [doug.bromley] I never used to be so prickly about spelling but please, _please _ use
+ 178186 [lyle.johnson] Welcome, Shubhra!
| 178187 [shubhra.main] ...
+ 178188 [jeff@sc wa c] I think you've been working with Python a little too long.
| 178189 [shubhra.main] ...
| 178232 [ruby-talk@wh] Yeah!  Hie!
| 178235 [rmagick@gm i] I don't understand.
| 178243 [matthew.moss] inject each collect
+ 178193 [fxn@ha hr f.] I swear that was quite a challenge for my poorly prototyped foreigner

problem with regexp?
178191 [patrik.eile@] I am trying to replace some old Perl scripts with Ruby, however
+ 178198 [lopexx@au og] in Ruby $..  wont reference a variable like in perl, use #{...}
| 178205 [patrik.eile@] Thanks! problem solved!
+ 178202 [michael.ulm@] You probably want

[QUIZ] Word Chains (#65)
178194 [james@gr yp ] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 178201 [lists@ha ff ] Pardon me if I'm missing something, James, but wasn't this Quiz #44?
| 178204 [james@gr yp ] <laughs>  Boy I'm glad some of you are paying attention, because I'm
| 178207 [lists@ha ff ] No problem - we appreciate the work you put in!  Love the quizzes, even
+ 178203 [phurley@gm i] d?j? vu?
  178210 [rretzbach@go] Haha!
  178212 [james@gr yp ] My wife asked me a while back, "Hey, have you done a Su Doku quiz?"

Allow additional parameters to Enumerable#inject
178213 [levin@gr nd ] [1,1,1,2,2,2,2,3,4,4,4,4].count_streams #=> [3,4,1,4]
+ 178217 [lopexx@au og] [1,2,3].inject([[],arg]) { |(a,b), elem|
+ 178219 [bob.news@gm ] You don't need to redefine Enumerable#inject for this.
  178226 [levin@gr nd ] Thanks, I was not aware that parameters can be grouped like that.
  178228 [matthew.moss] Not really about inject specifically...  just attempting another way

[ADV]  Rails Recipes Beta Book now available
178215 [dave@pr gp o] I'm delighted to announce that Chad Fowler's new book, Rails Recipes,
+ 178221 [lists@ha ff ] Quick and surprisingly receptive?  ;)
| 178230 [chadfowler@g] Yea, i think that's exactly what he meant ;)
| 178239 [pat.eyler@gm] Except that he forgot good looking.  ;^)
| 178320 [dave@pr gp o] and honest
+ 179984 [mgenereu@co ] I got the beta book and already love the advanced *and* real-world

[QUIZ] Splitting the Loot (#65)
178218 [james@gr yp ] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 178461 [adityam@um c] Can one assume that the treasure values are only integers?
| + 178484 [luke@bl ns a] I certainly hope so.
| | 178496 [phurley@gm i] I just certainly hope there is not too many treasures, I am pretty
| | + 178499 [chneukirchen] Trying not to criticize the Quiz too harsh, but I think the amount of
| | | 178509 [james@gr yp ] Luckily, you, as a community, are 100% in control of this.  It's your
| | + 178501 [acangiano@gm] It's the famous Subset Sum Problem (a special case of the knapsack
| |   178563 [gostuyoursel] Actually, it's more closely related to the Partition problem (which is
| |   178574 [acangiano@gm] Subset Sum and Partition problem are similar, I agree that this quiz is
| |   178593 [niklas@gr n.] Not without backtracking... suppose you have the treasures [1 2 3 4 5 6]
| + 178511 [james@gr yp ] Yes, they are.
+ 178537 [faker@ya oo ] #booty
| 178543 [adam.shelly@] Here's mine.  I reused several methods from the wierd numbers quiz.
+ 178585 [matthew.moss] My solution...  very simple, recursive, no optimizations...
  178744 [kasten.m@gm ] Well, your solution doesn't split [34 78 21 70 45 67 70 19 90 76 54 20
  178782 [matthew.moss] Yup, yer right, I noticed that couple of days ago, but I haven't had a

YAML::quick_emit api change
178223 [ara.t.howard] i had a method like this in my OrderedHash class
178231 [ruby-talk@wh] Yeah, you can't write directly to the output stream any longer.  But the
178233 [ara.t.howard] since i need to toggle i'll probably do
178236 [ruby-talk@wh] 'from' => 'why@ruby-lang.org'}
178246 [ara.t.howard] and where would the to_yaml_style attr come in at - which version is the break
178253 [ruby-talk@wh] _why
178254 [ara.t.howard] sweet.  thanks.  running on all my ruby version now - this was for rq btw, so

Two ActiveLDAP questions
178240 [justin.crawf] When I create an ActiveLDAP::Base object, the dn attribute used in the

Ruby subverion bindings
178242 [damphyr@fr e] Has anybody used them? I'm talking about the new 1.3 release.
+ 178262 [cameron.mcbr] Cameron
+ 178269 [johans@gm il] I've used them since they first surfaced in the RC's, mostly for a OSS
  178698 [kou@co mi ng] I'm waiting for you! :)

Compile problems with 1.8.4 on HP
178250 [jim@fr ez .o] Ruby 1.8.4 doesn't want to build on my HP machine.
+ 178313 [matz@ru y- a] Try using gcc.
+ 178452 [mental@ry ia] HP's c89 would (probably) do if you feel like shelling out for it.  HP's
  178492 [jimfreeze@gm] ...
  178640 [mental@ry ia] Yeah, the HP porting archive is good (but see my caveat regarding

Help installing ruby-odbc on XP
178252 [bingopajama@] I am trying to install ruby-odbc on Windows XP and am stuck at the
178274 [gregory.t.br] It's built into the one click installer. :)
178286 [ml.chibbs@gm] Yes, the easiest route would be to use the One-Click Ruby Installer
178390 [bingopajama@] You know....I am using the one-click installer.  duh.

[YAML] what happened to :SortKeys option to #to_yaml?
178256 [vjoel@pa h. ] irb(main):002:0> h = {}
178275 [ara.t.howard] i just happened to be working on this today
178280 [vjoel@pa h. ] Not quite the same, is it?
178285 [ara.t.howard] you're right.

[YAML] serializing Class and Module objects
178257 [vjoel@pa h. ] Hey, _why, what do you think about allowing YAML to dump/load Class and
178263 [ruby-talk@wh] I've been reluctant, because reloading these objects causes trouble if
+ 178267 [vjoel@pa h. ] I thought about rescuing and re-raising the exception as a different
+ 179412 [vjoel@pa h. ] Ok. I've submitted this patch and also the :SortKeys issue to the Syck Trak.

[ANN] DocDiff 0.3.3
178261 [hisashim@kt ] DocDiff 0.3.3

Ruby IDEs
178265 [cpmbailey@bt] After years of programming in C++, Java et al my new job used Smalltalk
+ 178270 [r.mark.volkm] Join the club. I also don't understand why Smalltalk isn't more
+ 178283 [tsumeruby@ts] Just out of curiosity, what features are you looking for?
+ 178568 [david@va ln ] 1. Don't use lol. Never. Ever. It's not ponctuation, it's not a standalone
  + 178665 [billk@ct .c ] ...
  + 178940 [doodpants@ma] ...
    179018 [david@va ln ] I'm well aware of that, but I still can't bear the stand of the TLA even then.
    179141 [chneukirchen] I actually know people that speak "LOL" out when they laugh... ;-P
    179189 [david@va ln ] The perfect birthday gift for those people is a plush owl with "O RLY?"

Regexp question for doing "and" searches
178272 [cohen.jeff@g] Just can't quite figure this one out.
+ 178278 [ajohnson@cp ] /^(?=.*\bone\b)(?=.*\btwo\b)(?=.*\bthree\b)/
| 178281 [cohen.jeff@g] Awesome!  I'll give it a try.
+ 178279 [vjoel@pa h. ] s = "foo two bar three zap one"
+ 178284 [ara.t.howard] stupid - but works

[ANN] Rolling with Ruby on *Instant* Rails - "New" Tutorial
178287 [ml.chibbs@gm] FYI...

Ruby Cryptography Extension (RCE)
178289 [hans@gr nq i] I want to write a pure Ruby implementation of W3C's XML
178368 [Roland.Schmi] i've recently released WSS4R [1].
178559 [hans@gr nq i] Nice work. I saw it on rubyforge -- I will have a closer

Editor on Mac OS X
178298 [danmunk@gm i] I am evaluating a number of editors for my company for Rails and
+ 178299 [brasten@na i] Used all three.  TextMate, definitely.
| 178306 [dandrew.thom] I would strongly recommend Radrails. You can download the standalone
+ 178300 [M.B.Smillie@] I've never seen the need for a company-wide standard editor.  Every
| + 178301 [Gennady.Byst] gvim works great on Mac. It has decent support for ruby, I love
| | 178316 [pfharlock@ya] I use vim for doing all of my ruby coding, but I didn't know there was
| | 178317 [Gennady.Byst] I will certainly do it, however a little bit later (hopefully over
| + 178344 [gene.tani@gm] +1.  co-ercing, or even just *encouraging* people to use an editor
| | 178351 [paul@ic no l] Only if they're idiots who don't understand vim is the one and true
| | + 178615 [checketts@gm] ...
| | + 178649 [sera@fh an .] While I wouldn't call myself a Jedit "fan", I would call myself a
| | + 178652 [doodpants@ma] Count me as another jEdit fan. It's my editor of choice for both Ruby
| + 178617 [jeff@sc wa c] Same here, except that I use Vim.
+ 178302 [cyclists@nc ] TextMate
+ 178303 [james.herdma] I haven't tried out Komodo, but I really like TextMate.  It's fast,
+ 178309 [theaney@ca l] I don't do a lot of development on OS X, but when I do I use the same
| 178333 [snowbender@g] Same here, don't work with OS X a lot, but if so, then I also use GNU
+ 178544 [penryu@sa yi] Vim.
| 178620 [jeff@sc wa c] Vi was an industry-standard tool long before there was a JBuilder, or a
+ 178555 [neoneye@gm i] +1
  178560 [devlists-rub] +1
  178575 [penryu@sa yi] "+1": the programmer's <AOL>