234174-246860

233921-237792 subjects 234369-248843

Generating config.h on Windows
234174 [ssmoot@gm il] I'm having trouble generating config.h on one of my machines, and I
+ 234180 [vjoel@pa h. ] == How to compile and install
| 234182 [ssmoot@gm il] Thanks Joel, but I could swear I've tried that after seeing the same
+ 234362 [nobu@ru y- a] Or you can make a new directory and run configure.bat there.

External to Internal
234176 [pversteegen@] I want to convert data supplied by a file into their corresponding
234181 [vjoel@pa h. ] a =    2.4

[ANN] Logging 0.1.0
234179 [tim.pease@gm] SYNOPSIS
234201 [zimbatm@or e] ...
234203 [tim.pease@gm] Hmmm ... I would download the code first and poke around ... kick the
234397 [zimbatm@or e] ...
+ 234403 [tim.pease@gm] They are doing some security audits / updates on RubyForge right now.
+ 234664 [tom@in oe he] Nah, only gems are affected by the namespace thing since they are the
  234866 [tom@in oe he] By the way, I added a section to the RubyForge FAQ on this whole
  234890 [zimbatm@or e] ...
  234899 [tom@in oe he] Thanks!  I'm just glad that security hole has been found and closed.

Hi all!
234183 [mail_gw_ruby] All americans must die
+ 234185 [andy@pe da c] So true, my friend, yet does that not give our journey through this
| + 234187 [greg.kujawa@] Actually that was Cinderella. Just to correct the cheese rock name
| + 234188 [rmagick@gm i] s/Poison/Joni Mitchell/g
|   234214 [james.britt@] Ah well, I sort of suspected that Poison was the Joni Mitchel of the '80s.
|   + 234293 [benjohn@fy h] Oh yes - Pandora had to be fodder for the corp fire wall, but it's not! :)
|   + 234480 [greg.kujawa@] Most of my coding work is done with gangsta rap playing. Kind of like
+ 234190 [shortcutter@] So must you - inevitably.
| + 234191 [matt@ke tl w] Somewhere, isn't there a FAQ (or how about commonsense) that suggests
| | + 234192 [andy@pe da c] I think you're confusing Ruby and Rails.
| | + 234195 [doodpants@ma] I would then suggest that you are perhaps on the wrong list. This list
| |   234219 [matt@ke tl w] Oh you guys are hilarious... How's that for humor?
| |   234351 [dblack@wo bl] No, I think those would be equally off-topic -- perhaps more :-)
| + 234194 [rtilley@vt e] The overall odds of dying are 1 in 1. That's an actual statistic.
|   + 234196 [andy@pe da c] Past performance is no guarantee of future results.  Please read your
|   | 234317 [robert.dober] ...
|   + 234322 [eeklund@gm i] Actually, so far, it's about 0.92(+- 0.02) in 1.                  [1]
|     + 234340 [robert.dober] ...
|     + 234341 [mikeisgreat@] ...
|     + 234342 [benjohn@fy h] However, looking to the future, assuming we find a means to immortality
|       234370 [robert.dober] ...
+ 234220 [gregory.t.br] <groans>  I wish we'd avoid these darn forums. :-/
  234224 [james.britt@] forums.bring.out.the.worst

standard dry-run flag
234205 [transfire@gm] is there a standard global var for dry-run? e.g. $DRYRUN. i've been
234235 [jim@we ri hh] Actually no, Rake does not store the dry-run flag in a global.  It is
234245 [transfire@gm] curiuos, does that scenario actually arise?
+ 234255 [transfire@gm] oh, i forgot to ask... $DRYRUN seems to be on the order of $DEBUG which
+ 234292 [pit@ca it in] Tom, I've nether used Rake yet, but
  234297 [pit@ca it in] Sorry for the typos. Here's what I wanted to write...
  234375 [transfire@gm] thanks Pit. i'll try that.

Win32 COM events
234208 [timuckun@gm ] I want to translate the following VB code to Ruby. Does anybody know
234350 [jan.svitok@g] If you want to receive COM events,
236010 [timuckun@gm ] I have read the win32 doc, and I have read your doc patch. I don't

Wish New Ruby Book /ruby quiz approach->Standard Library
234221 [rodrigo.berm] Recently I've been reading the ruby quiz book, which I've found very

Building extensions with Hoe
234223 [alexg@ku cr ] I'm developing a library that includes a C extension, so during
+ 235189 [drbrain@se m] RubyGems looks for both an extconf.rb and an 'extension' rake task.
+ 235194 [twifkak@co c] Yes. I forget exactly, but it's something easy like

[ANN][sf-ruby] New Mailing List for San Francisco Rubyists
234225 [chris@oz m. ] Hey all,
234383 [zimbatm@or e] ...

ruby syntax coloring in emacs
234228 [colonbrander] emacs? I'm running Mac OS X and I'm sort of new to emacs in general (I
+ 234236 [nicksieger@g] ...
+ 234288 [chris.lowis@] I think Carbon Emacs and AquaMacs both bundle the ruby-mode. So you

inotify
234230 [palmem@gm il] I am using ruby-inotify in a small script that I am writing, using
234394 [cameron.math] I was going to do a project using inotify a while back too (ended up
234395 [aredridel@nb] time.

Finding the super class of an object?
234238 [beingthexemp] How can I find out what the super class is of an object, Say if a class
+ 234239 [dblack@wo bl] class D < C; end
| 234240 [beingthexemp] ...
| + 234241 [beingthexemp] ...
| | 234244 [beingthexemp] ...
| | 234250 [bruce.woodwa] irb(main):013:0> a=10
| + 234314 [dblack@wo bl] I interpreted your question as meaning that, given a class, you wanted
+ 234243 [collinsj@se ] Will Module#ancestors work?

Excusme...
234242 [df_1412@ya o] but i found that ruby is very simple and interesrting langguage.
+ 234249 [collinsj@se ] .rhtml files are files with embedded Ruby, much like how PHP is often
| 234256 [df_1412@ya o] Thank you very much finally some one answer me
+ 234257 [vjoel@pa h. ] There's a mailing list you can subscribe to and ask questions. It's not

Ruby and E.V.E. Paradox
234254 [garthy_lmklt] I have been using Ruby for several years. Most importantly I have been using
+ 234263 [twifkak@co c] AFAIK, this is going to be your difficult one. Others with actual
| 234266 [garthy_lmklt] Hey Devin,
+ 234269 [GGarramuno@a] Use rb_eval_string_protect().
| + 234286 [martindemell] What about Io? I haven't used either Io or Lua myself, but they both
| | 234302 [garthy_lmklt] Hey Martin,
| | + 234329 [GGarramuno@a] Io is, at this point in time, too immature, compared to Lua or Ruby.
| | + 234330 [GGarramuno@a] Io is, at this point in time, too immature, compared to Lua or Ruby.
| + 234300 [garthy_lmklt] Hey gga,
|   234327 [GGarramuno@a] That's possible, but it can get ugly.  Do what SWIG does.  Create a
|   234507 [garthy_lmklt] gga,
|   234541 [GGarramuno@a] Well, I'd suggest you read swig docs and see if you still think is
|   234553 [garthy_lmklt] Hey gga,
|   234572 [GGarramuno@a] Post your ACTUAL code that crashes.  init_ruby() does not exist as an
|   234710 [garthy_lmklt] Hey gga,
+ 234270 [GGarramuno@a] Use rb_eval_string_protect().
+ 234301 [garthy_lmklt] Hey Ed,
+ 234332 [vincent.four] Just an idea - have you ever looked at scheme ? It seems a good choice
  + 234508 [garthy_lmklt] Hey Vincent,
  + 234509 [garthy_lmklt] Hey Ed,

The Ruby Soundtrack
234262 [christopher.] I'm in no way promoting/affialiated this band or the site or anthing
234349 [kabigon@gm i] This song is okay, but I greatly prefer the classics, such as "Ruby
+ 234382 [vjoel@pa h. ] Classics? How could you omit
| 234432 [Fdavis@us an] For us here in the U.S., our national anthem starts out with the words
| + 234452 [vjoel@pa h. ] Ha!
| | 234453 [vjoel@pa h. ] Actually, that's not such bad forth syntax. Maybe they speak forth in
| + 234637 [christopher.] If you go by the whole lyrics thing you've gotta remember Monty
| | 234641 [kabigon@gm i] Someone ask Why and the Thirsty Cups to do it! :D
| + 234670 [no.spam@pl a] ...
+ 234449 [matt.gillool] ...

Attach to running IE instance without watir?
234267 [gtc@ch sh re] I've done the Google thing for several days and I'm hitting a blank.
+ 234409 [jan.svitok@g] it's certainly possible. In programming ruby you'llfind an example how
+ 234431 [nlloyds@gm i] ...
+ 234495 [bpettichord@] The Watir code uses win32ole to implement Watir::IE.attach. Have you
+ 234578 [david.mullet] IE objects are included in the Windows collection of the Shell object,
  + 234582 [gtc@ch sh re] Excellent -- I'll give it a go!  Thanks everyone for your help.  I've
  + 234607 [gtc@ch sh re] Do you how I'd look for the URL instead of window.Document.Title?  I'm
    + 234626 [david.mullet] Each item in the the shell's Windows collection is an actual
    | 234639 [gtc@ch sh re] That's it!  window.LocationUrl was the ticket.
    + 236201 [bpettichord@] shell = WIN32OLE.new('Shell.Application')

[ANN] ParseTree 1.6.4 Released
234271 [ryand-ruby@z] ParseTree version 1.6.4 has been released!

[ANN] heckle 1.2.0 Released
234272 [ryand-ruby@z] heckle version 1.2.0 has been released!

Is there any libs for WIN32 GUI test?
234273 [wangdong3@ms] Python has lots of such libs and the Ruby dose?
+ 234510 [dave@bu t. d] I've used AutoIt's COM interface in this role (via Ruby's win32ole library).
| 234679 [wangdong3@ms] "Dave Burt" <dave@burt.id.au>
+ 235106 [solaris@su d] Kingsley Hendrickse demoed Win32::AutoGui at Euroko '06. Its a library

[ANN] ruby2ruby 1.1.4 Released
234282 [ryand-ruby@z] ruby2ruby version 1.1.4 has been released!

Rubyforge uploading and docs
234284 [GGarramuno@a] I'm wondering what are people using to upload rubyforge projects.
+ 234310 [andrea.fazzi] Andrea Fazzi @ Alca Societa' Cooperativa
+ 234424 [billmcn@gm i] The Ruby Cookbook (http://www.oreilly.com/catalog/rubyckbk/) has a
+ 234428 [jan.svitok@g] aren't hoe and rubyforge gems just for this purpose?
| 234684 [drbrain@se m] Pretty much.
+ 234662 [tom@in oe he] You can use rsync to transfer a directory tree up to your virtual host.

About win32 native thread
234285 [wangdong3@ms] Is there any reliable win32 thread lib?
234511 [dave@bu t. d] I have not used it, but win32-thread exists as part of the Win32 Utils
234561 [djberg96@gm ] That's purely alpha, and it will crash if you try to create more than
234678 [wangdong3@ms] "Daniel Berger" <djberg96@gmail.com> ??????:45AE3034.2020409@gmail.com...

Extending RDoc with custom sections?
234305 [eloy.de.enig] I'm in the process of converting Apple's Cocoa reference docs to
+ 234306 [vincent.four] I'll be glad to hear if you manage to make it work for you (and also
| 234308 [eloy.de.enig] Thanks for the quick reply Vincent!
| 234316 [vincent.four] Exactly. But, presumably, you'll need to parse a different syntax to
| 234324 [eloy.de.enig] Yes that's true... :)
+ 234380 [vjoel@pa h. ] I'm naive about Cocoa, but I just wanted to make sure you're aware of
  234470 [eloy.de.enig] Aha! That my dear sir is exactly what I missed!

where to find info on ||= operator ?
234315 [josselin@wa ] I am using
+ 234318 [martindemell] foo <operator>= bar
| 234442 [josselin@wa ] thansk Martin.. I can read Carlos' link with a good example !
+ 234319 [farrel.lifso] a ||= b
| 234443 [josselin@wa ] Thanks Farrel ...  I'll use it now
+ 234320 [slamboy@gm i] ...
+ 234321 [angus@qu va ] HTH
| 234441 [josselin@wa ] thanks a lot.. I should buy a hard-copy .. easier to brwose than a screen....
+ 234475 [wangdong3@ms] "Josselin" <josselin@wanadoo.fr>
  234483 [collinsj@se ] Mmm, no.

irb> require 'fcgi.so' => 'no such file to load' error
234323 [mckuppinger@] 5th try
234325 [vincent.four] Just a stupid idea: have you tried require 'fcgi' ?
234337 [mckuppinger@] Yes. I tried that as well. Same response. In addition, I have added
234497 [m.fellinger@] sorry, but this should read
234586 [mckuppinger@] Thanks. That is the correct reference for my RUBYOPT addition to

efficient access to a large int32 array
234331 [martindemell] I have a file that is a dump of a large array of 32-bit unsigned ints
+ 234333 [shortcutter@] How large is "large"?
| 234338 [martindemell] Order of 1 MB - not gigantic, but not trivial either.
| 234352 [shortcutter@] Um, I would not say 1MB is large.  What accesses do you do?  Do you just
| 234354 [martindemell] Pure array indexing, just a lot of it.
+ 234334 [vincent.four] I would write my own extension and use mmap (if you're under linux) to
+ 234401 [chneukirchen] I think Ara has been hacking some package to use Narray on mmap'ed
  234410 [tim.pease@gm] You'll need to install Guy's mmap package ...

Really Simple Ruby AJAX tutorial
234336 [benjohn@fy h] I'm looking for a _really_ simple AJAX tutuorial that covers the basic
+ 234343 [rsanheim@gm ] Um, well if you want simple Ajax you really will only be using
| 234345 [benjohn@fy h] I guess I'm hoping for an example of specifically how to build the
| 234346 [rsanheim@gm ] Yeah, any of the docs on the CGI library should be enough, check out
+ 234499 [nobbyknox@gm] I recently found the article entitled "Build Ajax into your Web apps

Darks (was Re: Ruby and E.V.E. Paradox)
234339 [benjohn@fy h] annoying needing to get hold of ocaml or hascal, or what ever it was to
234355 [binary42@gm ] Replying to the general content above...
234423 [binary42@gm ] Why not. Not a single word in that told you to go out of your way to
+ 234451 [binary42@gm ] Yeah. I can agree here. So I am asking if anyone else has a nice
+ 234515 [garthy_lmklt] Hey Ed,

External to internal conversion
234353 [pversteegen@] I have been following this list off and on but have not found the
234385 [pversteegen@] I like to rephrase my problem below by the following interactive
+ 234386 [wilsonb@gm i] => "[25.0, 26], [30, 31]"
| 234416 [pversteegen@] Wilson,
| 234418 [wilsonb@gm i] Probably easiest to do it in two steps, since bracket-matching is a
| 234454 [pversteegen@] Thanks Wilson,
| 234494 [wilsonb@gm i] Sure.
+ 234435 [jimlindley@g] If your data really is in that format, you can add an extra set of
  234457 [pversteegen@] Thanks Jim for another approach.

Capture information with a split and maybe a match?
234357 [anon1m0us@ya] result_of_na_citrix=`net group na-citrix /dom`.split(" ")
+ 246820 [ruby.hardwar] If I understand your question, something like this should help.
+ 246842 [ajohnson@cp ] Use the String#[] method with a regex to just return the portion
  246860 [chris.hulan@] separator =

RubyForge website
234358 [srobertjames] A lot of projects in RubyForge have no website, other than the
234359 [tom@in oe he] Yup, or have that in one of the tabs for each project.
234675 [pabs@pa lo r] Don't do this unless you either hard-code the RDoc template or limit it

inspect...and modify a proc object?
234360 [felkinator-r] ...
234473 [duzuike@gm i] myproc.methods
235303 [railsinator@] myproc.methods returns the methods of the proc object itself. The proc
235304 [gregory.t.br] this seems just plain evil, so please think about why you'd ever do
235306 [gregory.t.br] Actually, sorry that doesn't do the trick.  It'll give you the
237094 [railsinator@] I think Ruby tries not to be judgmental about such things -- it is an

Where can I get RubyCLR?
234361 [bvanderw@gm ] Can someone please tell me where I can get more information about and
+ 234363 [jeremymcanal] It looks like maybe www.rubyclr.com is supposed to be where it lives,
| 234427 [bvanderw@gm ] Jeremy - thanks. I did check Google, which is where I got the other,
+ 234365 [jgbailey@gm ] Justin

Simple editing. Works in IRB; not as script.
234368 [pbailey@bn .] I'm trying to create a simple editing template for myself, just some
234371 [james@gr yp ] That's a typo.  You want (...) instead of {...}.
234373 [pbailey@bn .] Duh, sorry James, but, I don't see what you mean. I don't have any (...)
234377 [james@gr yp ] contents = File.read("test1.txt")
234390 [tamreenkhan@] ...
234393 [pbailey@bn .] contents = File.read{"test1.txt"}
234399 [tamreenkhan@] ...
234400 [pbailey@bn .] Yes, I'm an idiot. Thank you very much. I need really big glasses.
threads.html
top