29887-31396 subjects 30336-31039

^ Compiling Berkeley db for Ruby under Cygwin
30144 [alwagner uar] Even as a Linux user, I probably stay as confused about compiling
+ 30164 [tilps hotmai] ummm could it possibly be that the dll is in ruby\bin - and your lib path on
| 30168 [alwagner tca] Thanks for the reply, Gareth.  I got it to compile by copying
+ 30165 [gp familieha] 1. Use the correct linker flag `-L/path/to/librubys.a/' and look
| 30169 [alwagner tca] There was a file: cygdrive/d/ruby/bin/cygwin-ruby16.dll, which I copied to
+ 30170 [alwagner tca] Thanks to all.  I copied /ruby/bin/cygwin-ruby16.dll to the current
+ 30245 [gp familieha] 1. Use the correct linker flag `-L/path/to/librubys.a/' and look
  30247 [gp familieha] /usr/local/lib/libcygwin-ruby16.a in my build.
  30271 [cwilson ece.] FYI, ".dll.a" is a recognized extention meaning "import lib".  If found
  30280 [gp familieha] Yep, that is the 'standard' but ruby is ruby;)

^ Progress: Ruby binding for Scintilla & FXScintilla
30147 [ljohnson res] ...
30150 [rich infoeth] Lyle,
30173 [curt hibbs.c] Lyle, This is, indeed, perfect timing. Thank you for taking up the interest.

^ Ruby and Eclipse
30149 [bobx linuxma] Is anyone working on getting a Ruby module for the eclipse project
30151 [rich infoeth] Curt Hibbs and a couple of others were talking about this before.  We have
+ 30158 [bobhicks ade] Even better!  :-)
+ 30172 [curt hibbs.c] Having Ruby support in Eclipse would be a good thing if you wanted to

^ FXRuby, FOX and glade/libglade lookalike
30163 [ps radiac.mi] I have been looking at FXRuby a bit and think it looks nice and
30221 [ljohnson res] ...

^ Win32API question regarding CreateWindow
30189 [mdavis sevai] Has anyone successfully created a window using Win32API?  The following

^ chomp for arrays?
30191 [dempsejn geo] I was wondering if there was a built-in for chomping an Array. I was
+ 30193 [decoux moulo] ...
+ 30194 [sean chitten] ar = ["foo\n", "bar\n"]
| + 30198 [dempsejn geo] Yeah, I realize its made for strings...but like the snippet Sean
| | + 30199 [decoux moulo] ...
| | | 30200 [dempsejn geo] I'm not sure what I'd "want after" but would there be a reason not to?
| | | + 30201 [decoux moulo] ...
| | | + 30235 [mkelly2002NO] Well Jack, creating modules to wrap existing functions,
| | + 30215 [alwagner uar] Philosophically, this sounds really wierd to me.  You seem to
| + 30216 [list chromat] class Array
|   30238 [adamspitz bi] How about something like this?
|   30248 [list chromat] Well, at least your snippet has earned a one way ticket to *my*
+ 30206 [matz ruby-la] Array#pop?

^ should I use ruby instead of perl
30195 [qvyht remove] simple question...
+ 30196 [sean chitten] Everyone should have their own opinion and I'd advise formulating your
| 30197 [dempsejn geo] yes
+ 30202 [peter semant] Too vague.
  + 30204 [qvyht remove] I saw this answer coming./ But being familiar with web, I always
  | + 30214 [taw users.so] The problem with such questions is that people will give you answers
  | | 30521 [matju sympat] I think you're better off defining a measure... well I don't know, but I
  | | 30533 [taw users.so] Problem space is at least dense, as you need dense set to
  | | 30935 [matju sympat] Well, if a problem, to be solvable, has to be of finite length in a finite
  | | 30938 [taw users.so] Solution set is countable, problem set doesn't have to.
  | | 30945 [matju sympat] Well, there are several ways to encode n numbers into a single number: for
  | + 30227 [ptkwt shell1] ...
  | | + 30263 [ysantoso jen] After using Ruby for several months now, I notice that using Ruby
  | | + 30482 [qvyht remove] Sorry by thinking by newsgroups but
  | + 30307 [toddg mail.m] ...
  |   30481 [qvyht remove] ...
  + 30305 [toddg linux1] ...
    30480 [qvyht remove] my home is on mountains /bin/laden ;)
    30518 [toddg linux1] ...

^ Ruby 1.6.6 bug and fix
30203 [rokosm kloka] ...
30219 [matz ruby-la] Thank you for reporting bug.  I will merge the patch.
30335 [rokosm kloka] ...
30387 [matz ruby-la] It's important.  I will release 1.6.7 within a week.
30471 [rokosm kloka] ...

^ Bug?
30205 [martin.kahle] irb(main):001:0> p 1e0
30211 [nobu.nokada ] I think so, and guess 0x_0 and 0b_0 should be error oppositely.
30213 [decoux moulo] ...
30222 [nobu.nokada ] Oops, what's '0f0'!?
30223 [decoux moulo] ...
30693 [nobu.nokada ] You mean why I mistook?  I'm not sure but might be confused

^ Shortcut to accessing class constants?
30209 [herman_graal] This may be an indication of bad design but in a current project I have a class (C) with a number of constants (B1, B2, ...) that I wan't to access from another class (A).
+ 30212 [chr_news gmx] appreciated!
+ 30304 [vjoel PATH.B] This isn't quite what you're asking for, because it's static. Adding

^ Docstrings
30225 [list chromat] I still can't see how and where they can do better than a tool like
30226 [decoux moulo] ...
30228 [list chromat] I rectify: not only optimizations are left to who has any use for

^ cdecl vs stdcall
30229 [maverick cs.] I am trying to build a Visual Basic app that uses Ruby as the scripting
30231 [matz ruby-la] Could you tell me what stdcall is, and what I should do to switch?
+ 30237 [maverick cs.] A __stdcall function's arguments are pushed onto the stack from right to
| 30251 [alan digikat] Generally, for cross-platform code, I've seen a macro used where the cdecl/stdcall occurs.  The macro may evaluate to nothing on platforms which don't need to specify between cdecl's and stdcalls.
| 30388 [matz ruby-la] Hmm, could you give us more information?  Where can I see the macro?
| 30664 [alan digikat] Usually the macro is built into a larger c-preprocessor system of
+ 30240 [mkelly2002NO] function is responsible for popping any parameters off

^ Production Mini-plants in mobile containers. Co-investment Program
30232 [newsletters ] The Financial News, January 2002

^ Ruby Web Host
30233 [jason jvoege] For all those who've been searching for a Web hosting company supporting

^ Tk / GTK?
30236 [ronjeffries ] It has been recommended that Chet and I use the Tk textpane for our
+ 30239 [armin approx] I think it's a matter of taste.
+ 30273 [aaron munge.] The current Gtk textbox widget is, I believe, fairly spartan.  Tk's text
+ 31505 [comp.lang.ru] ...

^ Patch for Ruby 1.7
30242 [ljohnson res] ...
30472 [matz ruby-la] I don't remember why I did this.  I guess I must had reason...
30507 [ljohnson res] ...
+ 30532 [nobu.nokada ] Actually I added the nested prototype arguments, because some
+ 30562 [matz ruby-la] I guess I'm goint to fix this.  But give me a time to remember what I

^ Tab Arrows in RDE
30243 [ralph.mason ] ...
+ 30249 [mchahn facel] ...
| 30250 [ralph.mason ] ...
| 30255 [mchahn facel] ...
| 30258 [dempsejn geo] see my previous post...i think you can turn off everything...i'm in RDE
+ 30270 [QZS01353 nif] There are no options TabMark(right arrow) and DBSpaceMark(rectangle) to

^ rubywin
30246 [dempsejn geo] A quick question to those familiar with RubyWin: i can require
+ 30253 [mkelly2002NO] Also you might want to check out
| 30254 [dempsejn geo] Thanks for the load tip..I knew there must be something like that...as
| 30293 [mkelly2002NO] Perhaps I haven't used it enough to run into the gotcha's yet?
+ 30256 [Jean-Francoi] I launch my program in a dos window when I'm under windows because of

^ Bug in Enumerable#include? (Range#include?, actually) ???
30252 [chadfowler c] I just observed the following behavioral differences between ruby 1.6.6
30266 [nobu.nokada ] It was just typo.

^ RDE - turn off options
30257 [dempsejn geo] To the person looking for this: go to Tool -> Property. At the right

^ self being altered even when .dup'ed
30261 [dempsejn geo] Hey All,
30262 [taw users.so] dup makes shallow copy - only array is copied, not it's contents.

^ Ruby category in devsearcher.com
30264 [shirai p1jp.] I found a site for searching developer's web sites - www.devsearcher.com.

^ Structs and Marshalling
30265 [alwagner tca] I keep getting myself tripped up when I Marshal Struct objects.  I typically
30281 [decoux moulo] ...
30334 [alwagner tca] totaling 5.2k and 5 text files totaling 28.3k:  33.5k total.  I don't know
30473 [matz ruby-la] This means your marshal data file is corrupted.  Does this information
30498 [alwagner uar] Yes.  Thank you, Matz.  I found the message in Marshal.c.  Also,

^ Need help understanding system() call
30267 [wheelerwjx9 ] ...
30318 [ptkwt shell1] ...
30331 [wheelerwjx9 ] Phil,
30358 [ptkwt shell1] ...
30733 [wheelerwjx9 ] Sorry it took me this long to get back with this, the
+ 30735 [ptkwt shell1] ...
| 30801 [wheelerwjx9 ] Yes,  you are right, and were the first time you posted this fix.  But, as I
+ 30736 [Dave Pragmat] I believe it's a-comin', but Andy's kinda snowed under, and has just

^ Indentation (was: should I use ruby instead of perl)
30268 [mchahn facel] If the tail end (line going left) is all 'end' and '}' lines, then it could
+ 30269 [dblack candl] <disclaimer> I actually like having end and } tokens, and do not
| 30272 [mchahn facel] All six ends could be left off with no ambiguity.  The EOE is grouped into a
| 30285 [dblack candl] No, not prettier.  (Well, yes, but that's not directly relevant :-)
+ 30277 [ronjeffries ] Lisp systems sometimes have a kind of hyper right paren that does the
+ 30288 [list chromat] <facts>
+ 30323 [akuchlin mem] ...

^ The Ruby Way
30274 [schneiker ju] ...
+ 30275 [curt hibbs.c] I too, got mine today, and would like to strongly second the above comment.
| 30276 [curt hibbs.c] That was supposed to say "how do I implement a hash with duplicate keys?"
| 30629 [mrchameleon ] Conrad initiated this thread to inform you that your posting
| 30659 [schneiker ju] ...
| + 30816 [mchahn facel] But outlook, eudora, cc:mail, and every mailer I've ever used puts the
| | + 30822 [ser germane-] Perfectly legal, because there isn't really any illegal posting rules.  It
| | + 30849 [erik bagfors] Wrong.  At least eudora does it right or can be configured to do it
| | | + 30854 [Stephan.Kaem] As well as Netscape (which is what I'm using, I admit).
| | | + 30906 [curt hibbs.c] If outlook can do this I'd like to know how!
| | + 31050 [schneiker ju] ...
| + 30821 [mrchameleon ] Snip.
|   31053 [schneiker ju] ...
+ 30279 [ruby-talk-us] Not to be picky, aren't there four English Ruby books? "Programming Ruby",
| 30284 [info mjais.d] markus
+ 30563 [hal9000 hype] I just saw this thread, as my machine has been on the blink
  + 30575 [ptkwt shell1] ...
  | 30583 [hal9000 hype] Thank you for that kind endorsement.
  | 30602 [ptkwt shell1] ...
  | 30606 [schneiker ju] ...
  + 30604 [schneiker ju] ...
  + 30618 [ronjeffries ] Hal, congratulations on The Ruby Way. I normally hate big books,

^ Summary: Call for a small program - willing to give a bonus
30278 [Tom.Karas ht] first of all i would like to thank for all the answers. I hope i
30289 [list chromat] Delphi is wonderful at giving you motivation to go on programming,
30290 [tobiasreif p] Is this what you're looking for?
30298 [list chromat] Whooops, a ``more'' before ``support'' didn't get out of my keyboard.
30300 [tobiasreif p] last time I tried, support

^ metadata about Ruby programs/libs (freeRIDE/gems)
30282 [tobiasreif p] just glimpsed how others solved the metadata challenge related to

^ Ruby and RDF
30283 [tobiasreif p] this guy

^ Ruby article on Freshmeat
30286 [stesch no-sp] ...
30295 [YuriLeikind ] ================
+ 30296 [harryo zipwo] That only happens if the method doesn't change the object. So, ...
| 30299 [finalfrontie] So what would the code be if you aren't sure whether the object has been
| + 30306 [ruby-talk-us] There is no need for such code, unless you need to test to make sure that
| | 30311 [harryo zipwo] I was in the middle of writing almost exactly what you said, because
| | 30312 [mchahn facel] if str.upcase! then File.open('x.txt','w'){|f| f.write str} end
| | 30313 [harryo zipwo] I can certainly see that's a use for it ... but what's the likelihood
| | + 30316 [billk cts.co] Well admittedly upcase seems an unlikely [real-world]
| | + 30332 [1010726779.8] I think the official answer is to not use the ! version of the methods
| + 30308 [yurleik tut.] ...
+ 30314 [ptkwt shell1] ...

^ capturing both stdout and stderr of a subprocess
30291 [ysantoso jen] I am trying to programatically interact with another program, much
30292 [phlip_cpp ya] /ruby-1.6.5/lib/open3.rb:#       in, out, err = Open3.popen3('nroff -man')

^ [ANN] Ruby/zlib 0.5.0-pre1
30294 [unnie blue.s] This is pre-release; tests and documents are not sufficient yet.

^ multiple substitutions at once
30297 [dabigdemp ho] ...

^ gsub with arrays
30301 [dabigdemp ho] ...
30325 [list chromat] We are aiming too high.  Even my previous post about web services and
30330 [Dave Pragmat] Would rubycookbook.org be what you wanted?
30345 [list chromat] Well, not really, though it is a nice resource.  It is solutions to a

^ Re: Sams Teach Yourself Ruby in 21 Days (was: The Ruby Way)
30302 [schneiker ju] ...
+ 30303 [ms iastate.e] I've contacted Pearson (the SAMS publisher) about  a mixup in
+ 30309 [x ichimunki.] [...]>     This item will be published on February 12, 2002.

^ move index back ward in list.each do {}
30315 [kinfe0 netsc] How do I move an index in the 'each' back ward or repeat itself at
+ 30326 [ysantoso jen] I can't really understand your example (including the one in your
| 30355 [kinfe0 netsc] This may be too much for me at this point of learning Ruby. Anyway,
+ 30364 [mkelly2002NO] To alter indexes inside a loop I think generally
  30627 [kinfe0 netsc] Thanks all, I found 'array.each_index' and it works.

^ Exceptional NameError without halt
30317 [ale crimson.] I'm feeling something strange is going on here. Dunno what has
30329 [Dave Pragmat] It's the same problem. It's fixed in 1.7, but it looks like the patch

^ loop control problem.
30319 [kinfe0 netsc] I think my earlier post didn't go through, so here is a repost.
30324 [jfreeze free] Try 'next'.
30350 [kinfe0 netsc] Thanks Jim and Yohanes, I'll try both suggestions.

^ Sorting a Hash by value of integer stored in the Hash
30320 [finalfrontie] I have a program which creates a Hash array.  The ultimate result is a
+ 30321 [taw users.so] hash_new = hash.invert
+ 30322 [ysantoso jen] irb(main):011:0> myh = {"z"=>5,"x"=>3,"y"=>7}
  30333 [finalfrontie] Yes and the nice thing is I that I think I even understand HOW it works.

^ one liner / overriden class repository
30327 [dabigdemp ho] ...
+ 30328 [taw users.so] I'd like to say that it would be much more useful if copyrights and licences were carefully traced,
| + 30342 [kpj kki.net.] Isn't it worth following VIM's example on http://vim.sf.net with its
| | 30351 [Dave Pragmat] If the vimonline source was available I'd look at adding it to
| | 30353 [chadfowler c] ...
| | + 30356 [Dave Pragmat] Doh! I'll check it out (both ways :)
| | + 30362 [vruz www.dig] Chad, now you are working on RAA.succ, you could also think
| |   30365 [Dave Pragmat] Could you explain this a bit more: how would this work in practice?
| + 30344 [list chromat] Oh well, who cares about aim, let's just make sure that something gets
+ 30368 [alwagner tca] While this thread is alive...Why not also add to the snippets solution other
  30392 [dabigdemp ho] I agree, I think that'd be great...when I started using emacs, seeing others