328083-331062

327705-330947 subjects 328326-330366

^ Must MS-Excel be installed on the machine to ONLY read an MS
328083 [email daniel] Must MS-Excel be installed on the machine to ONLY read an MS-Excel
328086 [noespam yaho] Yes. Win32OLE works with the host app, in this case Excel. You probably
328089 [hannes.wyss ] <ShamelessPlug>
328096 [email daniel] Hannes Wyss and Mario Gutierre,

^ [QUIZ] My Little Ruby Valentine (#192)
328085 [yahivin gmai] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

^ Xpath
328093 [palberto lib] I would like to know if it is possible, using REXML, get full path from
+ 328118 [phlip2005 gm] You meant / not //.
| + 328120 [bbxx789_05ss] /primo/secondo/terzo
| + 328121 [phlip2005 gm] Actually XPath.first
+ 328119 [bbxx789_05ss] Is that really considered XML?
  328380 [palberto lib] I try this solution and it works, but now my question is after operation

^ Changing font color from current font color to black color
328108 [kamaljeet_si] Is it possible using RMagic, that if you have a image file ".bmp" and

^ ldap and ruby
328112 [usenet steph] I'm using ruby/ldap (http://ruby-ldap.sourceforge.net/) for accessing
+ 328137 [ snk gna.org] Lack of updates doesn't necessarily mean abandonment.  I think
+ 328933 [adam.oddfell] I can also say, I've used ruby-net-ldap and was very happy with it. Give
  328961 [ jfh ufl.edu] The downside is that it doesn't seem to work with 1.9. I couldn't

^ [ANN] Save The Date: Gotham Ruby Conference 2009
328134 [binary42 gma] Fellow Rubyists,

^ Good GUI documentation
328140 [ruby.student] Does anyone know of a good, well written book to learn one of the GUI
+ 328144 [logustus gma] We've done a lot to leave some good RDoc in place for Monkeybars, but
| + 328156 [phlip2005 gm] If you learned the "Shoes" platform, by Doctor Why, you would understand how
| + 328157 [phlip2005 gm] I'm too lazy to search this up: Where's the best MonkeyBars screenshots?
|   328162 [logustus gma] David Koontz creates a Monkeybars app using Netbeans from scratch.
|   328167 [james.britt ] My article at IBM developerWorks (listed at the above link) is slightly
+ 328146 [mark markros] Though not a book, there is an extensive tutorial about using Tk with
+ 328147 [vjoel path.b] It's lean, it's mean, what more could you want!
+ 328149 [alex deletem] I believe the only Ruby-specific GUI books are for FxRuby (2008) and
+ 328150 [hramrach cen] I have tried GTK recently .. and I was disappointed.
+ 328153 [jontyjont bt] Although Shoes isn't drag and drop it is very easy to create simple ,
| 328184 [perrin apoth] I have a question about Shoes, actually . . .
| + 328277 [jontyjont bt] <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
| | 328344 [perrin apoth] [a bunch of HTML]
| + 328290 [logustus gma] Shoes is its own Ruby distribution. That's how you're able to
|   328343 [perrin apoth] Well . . . that's a surprise.  Thank you for the information.
+ 328168 [bbxx789_05ss] The language itself isn't well documented--or even adequately
| + 328187 [tomcloyd com] Umm. Having a bad day, are we? Well I DO love good documentation, so I'm
| | 328251 [perrin apoth] =20
| + 328206 [james graypr] They are pretty accepting of documentation patches.  I know because
| | 328246 [hramrach cen] The point he is trying to make is that at the very place where the PHP
| + 328209 [ninja slapha] I would turn that on its head. PHP has decent docs, I'll grant, but rdoc
|   + 328239 [ruby.student] Thanks to everyone for their comments and recommendations.I greatly
|   + 328252 [perrin apoth] =20
|     328374 [ninja slapha] That is very true, and good documentation is very important.
|     328466 [perrin apoth] =20
+ 328199 [zac zacbrown] I've Shoes to build a couple applications lately. Some of the

^ DRb::DRbBadScheme  when using drbunix sockets, why?
328148 [john stoffel] I've been slowly hacking on my parallel recursive readdir()
328161 [vjoel path.b] Probably not helpful, but I thought it was more normal to represent that
328322 [john stoffel] Hmmm, decent idea, but when I use this same URI in simpler,
328528 [john stoffel] Well, I've got more information now.  It struck me that the errors were

^ ruby string function
328174 [nileshk afla] i am writing code in ruby which for converting
328183 [bbxx789_05ss] str =

^ while vs loop
328175 [vetrivel.bks] what is the Difference between loop and while in ruby ?
+ 328176 [chris chrisk] Loop will continue indefinitely until it meets with some break statement
+ 328179 [nobu ruby-la] loop is a kernel method which takes a block.  A block
  + 328232 [robert.dober] furthermore loop do has an implicit rescue clause for a StopIteration exception
  + 328938 [lists bertra] $ irb

^ video buisness
328188 [anandamerica] MORE INFORMATION JUST CLICK ............

^ uniuq no
328190 [vetrivel.bks] I want to create new unique id in ruby.I have used the following
+ 328192 [bbxx789_05ss] d = Time.new
| 328203 [raphael.clan] duplication.
+ 328204 [julian coret] Time.new.to_i.to_s<<rand.to_s
+ 328207 [raphael.clan] How about something like this...
+ 329431 [njus larshau] UUIDis a standard way of constructing unique identifiers, and a Ruby
  329442 [flo andersgr] Ruby

^ Ruby CLASSPATH
328194 [lennart.beno] I have upgraded ruby on a Amazon EC2 instance. I trying to bundle it
328219 [matt tidbits] You can modify $: in your code before the require (it's an array, just
+ 328223 [jcmoore pres] ruby -e 'p $:'
| 328233 [matt tidbits] Unless $: has *already* been altered by the load system. For example, on
+ 328298 [lennart.beno] RUBYLIB=/usr/lib/site_ruby:/usr/lib/ruby/1.8

^ Frozen OpenStruct allows modification
328195 [bhznospam ya] Why does OpenStruct allow modification after it has been frozen? Output is
328241 [perfectly.no] Because the OpenStruct instance is never modified here,
+ 328243 [shortcutter ] That could still be considered a bug and IMHO it is.
| 328258 [bhznospam ya] Agreed.
| 328259 [robert.dober] I have submitted a patch to ruby-core.
| + 328292 [shortcutter ] Well done!
| + 328508 [bhznospam ya] Thanks for input. So we can expect it to be fixed in the new release?
|   328511 [robert.dober] I really do not know, depends if my patch or Joel's will be accepted,
|   330079 [robert.dober] They fixed it :)
+ 328244 [robert.dober] Sounds like a bug to me.

^ Re: best-performing Rss parser
328198 [collimarco91] Have you come across any solution?
+ 328201 [transfire gm] If speed is the #1 issue, I would try libxml-ruby. It's lower lever
+ 328260 [m.fellinger ] ^ manveru
  328340 [crackeur com] have you tried vtd-xml (http://vtd-xml.sf.net)

^ simple ruby project layout question
328202 [tomcloyd com] Trying to get up to standards, here. Reading about project layout in
+ 328208 [james.britt ] Pretty much.
+ 328211 [ninja slapha] Right -- and it's not unique to Ruby either.
  + 328213 [tomcloyd com] James, David, thanks! Just wanted to make sure I understood.
  | 328225 [bbxx789_05ss] Back slashes are dangerous in strings because of all the escape
  | 328235 [ninja slapha] If that were the case, '.' is an alias for 'source', which means it
  | 328247 [tomcloyd com] Ah...so many ways to screw up. So little time.
  + 328228 [vjoel path.b] Not just the ruby world.
    328248 [tomcloyd com] Yikes. You sure know how to make a point! Thanks for the demo.

^ changing email settings
328210 [bill.walton ] Greetings,
328242 [shortcutter ] Unsubscribing the old and subscribing the new address should work.

^ Latest news on MacRuby and HotCocoa
328214 [cohen.jeff g] I was intrigued by the talks on MacRuby and HotCocoa at RubyConf

^ Code syntax comma usage
328215 [menzies.main] That I can see; Pragmatic Programming Ruby's, index, has reference to
+ 328218 [jcmoore pres] irb(main):005:0> a,b,c = 5,6,7
| 328221 [jcmoore pres] Make that...
| 328236 [ninja slapha] Don't you need a splat for that?
| + 328238 [dblack rubyp] No. If ra_parm is an array, it will assign in parallel to the
| + 328255 [bbxx789_05ss] 1) You could test that yourself in less than 30 seconds.
+ 328220 [micathom gma] a,b,c = [1,2,3]
| 328229 [micathom gma] The 5 doesn't get converted of course and [5] is the value of the
| + 328231 [dblack rubyp] That's been fixed in 1.9, so that a,b,c = 5 returns 5.
| + 328234 [bbxx789_05ss] The value of the assignment is written as 5, so if you end up with [5]
+ 328222 [matt tidbits] You've stumbled on one of Ruby's most elegant bits of syntactical
+ 328224 [bbxx789_05ss] x, y = 10, 20
+ 328257 [menzies.main] The answer I was looking for was in fact the multiple assignment comma

^ Strange constant resolution behaviour after Class#dup
328237 [martin.thied] the following code produces different results when executed with Ruby

^ [ANN] ERBook 6.1.0
328245 [ snk gna.org] ERBook 6.1.0

^ Ruby language: compiled or jited?
328249 [sohdubom yah] Is it true that ruby language will change to a compiled or jited
328253 [kbloom gmail] Ruby 1.9 introduced a bytecode-based interpreter (which converts your
328263 [sohdubom yah] Hum, does it make Ruby 1.9 a compiled language as, let's say C#? The
+ 328273 [zac zacbrown] Ruby 1.9 would be considered a compiled language since there is a
+ 328293 [kbloom gmail] Ruby 1.9 doesn't have an ahead-of-time byte compilation mode as far as I
+ 328359 [ninja slapha] The short answer is: Yes, it's interpreted, in roughly the same way that
  328385 [sohdubom yah] thanks David ... the short answer is my case scenario ... i'm not really

^ Multidimensional hash - get all not blank keys
328261 [ xinu gmx.at] I have this Hash.
+ 328264 [andrew andre] => result.each do |k,v| puts "#{k} = #{v.reject{|k2,v2| v2 == ''}.inspect}"
+ 328265 [pjb informat] Yes, it is possible.
| 328266 [dblack rubyp] Please don't post messages like this to this list. There's no benefit
| + 328267 [pjb informat] Hopefully, it should be of benefit to the OP.  He should really start
| | 328270 [dblack rubyp] It won't be, and can't be. There's no information in it and no advice,
| | 328281 [pjb informat] You are much more insulting than I. You are assuming he doesn't know
| | 328283 [julian coret] I agree. People have a tendency to not try. They come wanting answers
| | 328285 [TimHunter nc] I agree as well. However, I think it's possible to be helpful short of
| + 328301 [w_a_x_man ya] Please don't make him feel unwelcome.  I think it's interesting to see
+ 328302 [w_a_x_man ya] result.delete_if{|k,v| {} == v.delete_if{|a,b| b==""}}
  328310 [doug dseifer] I agree with david.  If you have nothing positive to say, remain silent.
  328330 [julian coret] That was very positive! ;) hehe I agree, it's useful to say positive

^ RubyCLR anyone?
328262 [info zwadar.] maybe I'll find someone who is using RubyCLR and can help me?

^ deploying ruby/qt4 apps on windows
328268 [martindemell] Has anyone written an end-user qt4/ruby app and deployed it under

^ Exercise in Frustration
328274 [transfire gm] I would like to see someone else do this. I've simplified the issue to
+ 328280 [pit.capitain] Is the problem here that Module defines its own #attr_accessor
| 328329 [transfire gm] Yes, that's part of the issue here. In the case where one extends a
+ 328287 [robert.dober] This is pretty much the simplest I could come up with
| 328331 [transfire gm] That was fast :-)
| 328376 [robert.dober] Ah interesting, that would cover extend too, right?
+ 328295 [jcoglan goog] I came up with this a while ago: http://gist.github.com/25104. It's a pretty
  328332 [transfire gm] ty
  328334 [jcoglan goog] 2009/2/16 Trans <transfire@gmail.com>
  328370 [robert.dober] N.B. For 1.9 the implementation becomes even simpler.

^ Game server query problems
328278 [randygeneral] I'm relatively new to Ruby, so some of this is foreign, but despite trying
+ 328288 [jim.menard g] Randy,
+ 328303 [b.candler po] Posted via http://www.ruby-forum.com/.

^ Iterating a changing Hash under 1.9.1
328279 [phrogz mac.c] The following code shows that Hash#each under 1.9.1p0 does not iterate
+ 328284 [dblack rubyp] h = {1,2,3,4}
| 328286 [pit.capitain] I think modifying a collection while iterating over it is undefined.
| + 328299 [w_a_x_man ya] +1
| | 328350 [micathom gma] It shouldn't go into an infinite loop though. IMHO an exception
| | 328355 [matz ruby-la] Do you think speed decrease for normal case is acceptable?
| | 328357 [vjoel path.b] It's also worrying that there is no clear definition of "during
| + 328317 [phrogz mac.c] Ah, doggone it, that was my third choice between "is it a bug or is it
|   + 328337 [w_a_x_man ya] h={:b,22, :c,33, :d,44, :e,55}
|   + 328362 [shortcutter ] I think you left out plenty of options here.  Of course, it depends on
+ 328294 [shortcutter ] I agree to Pit: the bug is to iterate and modify a collection at the
+ 328312 [charles.nutt] In this case, you're only reassigning the same keys over and over again.
  328316 [phrogz mac.c] On Feb 15, 2:55=A0pm, Charles Oliver Nutter <charles.nut...@sun.com>
  328319 [charles.nutt] There are a maximum of four keys possible and you never remove any. The
  + 328324 [charles.nutt] Actually it looks like 1.9 is slightly different then what I described
  | 328327 [nobu ruby-la] It's a bug fixed already in the trunk.
  + 328325 [phrogz mac.c] On Feb 15, 5:07=A0pm, Charles Oliver Nutter <charles.nut...@sun.com>
    328342 [charles.nutt] I mean the first time passing through the set of keys, in comparison to

^ netssh and mysl
328282 [adityanerkar] ssh.exec("mysql -uusername -ppassword -P3306 dbname")
328313 [swittenk yah] I'm not an expert on MySQL, but I believe there is a way you could pipe
328407 [adityanerkar] the box on which mysql is staged accepts connections only from
328422 [b.candler po] Sounds like ssh tunneling is what you want.
328428 [badboy heart] another method could be to install the mysql-gem on the remote server

^ Never reinstall XP again
328289 [repairtool.v] Never reinstall XP again, New professional repair tool. Keeps data and

^ Gems 1.3.1 and sources
328291 [fengbald gmx] I tried to install Rails today so I got Ruby 1.8.7 and gem 1.3.1 as
329499 [drbrain segm] If you run with --debug every exception encountered is printed even if
329550 [flo andersgr] This seems to be more then an isolated problem. We have at least two
329553 [drbrain segm] I suspect that you may have network issues.  You can see which URLs

^ [ANN] Radiant 0.7.1 - Engraving Release (bugfixes)
328296 [seancribbs g] Radiant 0.7.1 Engraving is a bugfix release that corrects two errors

^ [SUMMARY] Mathematical Image Generator (#191)
328297 [yahivin gmai] This week's quiz was about creating interesting mathematical images
328525 [njus larshau] After I posted my code here, I did some quick experimentations involving

^ Re: REXML (1.8.6-p110) backwards compatibility problem with rcov
328306 [roytruelove ] Hey Sean, it looks like the rexml code is assuming that there'll be a '

^ ri Object
328308 [jayeola gmai] How can i access the documentation relating to ARGV, ARGF, ARGV, DATA,
328314 [swittenk yah] As far as I know, those constants are not part of Object proper, but the

^ Securing certain apps w/ NTFS?
328309 [derek.black ] We are having problems using IIS and ISAPI_reverse proxy to mongrel for

^ invalid byte sequence in US-ASCII (ArgumentError)
328320 [lutheroto gm] I'm having some trouble migrating from 1.8 to 1.9.1. I have this line of
+ 328321 [TimHunter nc] Since Ruby is claiming the source file is US-ASCII it seems likely that
| 328333 [lutheroto gm] I put the encoding line right after my shebang line, but it had no
| 328349 [micathom gma] Not necessarily.
| + 328369 [b.candler po] Yes. IMO this is a horrendous misfeature of ruby 1.9: it asserts that
| | 328372 [b.candler po] And worse: the encoding chosen comes from the environment. So your
| | 328384 [perfectly.no] Ruby must choose between treating all external data as
| | 328392 [b.candler po] Yes (and I wouldn't want it to try to guess)
| | 328406 [perfectly.no] Point taken.
| | 328413 [micathom gma] Actually, this is a point I have never quite understood. Why does only
| | + 328417 [gwtmp01 mac.] Because at the operating system level Windows distinguishes between
| | + 328421 [perfectly.no] It's the underlying C API that does the line ending conversion.
| |   328431 [micathom gma] Thanks for the clarification (also thanks to Gary).
| + 328478 [lutheroto gm] Thank you. I've put 'r:binary' in the line where I open the file, and
+ 328476 [matz ruby-la] I feel some smell of a bug.  Could you show me the whole code and
  328493 [lutheroto gm] Sure, here you go...
  328503 [micathom gma] When I recently stumbled over not so different problems (one of which
  328517 [lutheroto gm] Actually, I always set my LANG to C. Since my original post, I found
  331062 [matz ruby-la] Ruby 1.9 distinguish text files and binary files, so please specify

^ [ANN] ffi-ncurses version 0.3.0
328323 [sean.ohalpin] ffi-ncurses version 0.3.0
328515 [dominikho gm] Excuse the question, but what exactly is ffi-ncurses advantage over
328518 [sean.ohalpin] - The same code runs under both ruby 1.8.6 and JRuby 1.1.6
328521 [dominikho gm] Thank you for the fast answer.
threads.html
top