329277-333357
329031-332441 subjects 329541-345955
^ Error in While Loop
329277 [tech4me in.c] Following is my Ruby Code Wherein I am reading an XML file.
+ 329303 [b.candler po] STDERR.puts "About to increment $i:"
+ 329315 [list.rb gmai] Doesn't File.new create a new file? Cant recall off hand..
^ JRuby on Android
329278 [charles.nutt] - Charlie
329313 [zznmeb gmail] Awesome! I've been debating whether to get an Android. I still may
^ Objects put into a declared array
329280 [dglnz yahoo.] stored there in (note I'm actually using Shoes if this has any bearing
+ 329285 [justincollin] This is not necessary, the array will grow as you add things to it.
| 329408 [dglnz yahoo.] Justin & lasitha,
+ 329294 [lasitha.rana] $: irb
^ Fetch an excel sheet name in ruby
329284 [deeparaj12 g] I got this error.in `method_missing': Open (WIN32OLERuntimeError)
329293 [david.mullet] Escape (double-up) your backslashes in double quotes, or place your
329401 [deeparaj12 g] Thanks those who help me
^ mechanize - problem with downloading csv file
329287 [arya_subhran] I am trying to download the past call details from ATnT site
^ exec (new process or new thread?) to continue
329291 [aidy.lewis g] I have fired off an exe with the kernal method exec
+ 329295 [list.rb gmai] IO.popen(an_exe)
| 329301 [lasitha.rana] Cheers,
+ 329302 [justincollin] exec doesn't hold up the process, it replaces it completely[1]. Your
| 333357 [colin rilli.] def fire_and_forget(&block)
+ 329343 [vjoel path.b] Thread.new do
^ Encoding problem ? in Mechanize /NET::Http.get
329318 [smendrek gma] I'm trying to get a site to mess with, using mechanize.
329329 [bbxx789_05ss] Looking at the source code from that web site, mechanize is having
^ better error reporting from eval?
329319 [matt tidbits] This might seem silly, but it is only a reduced version of a real issue.
329322 [tim.pease gm] def ev(what)
329337 [matt tidbits] Amazing - just adding the word "binding" (in the actual issue I'm
^ [ANN] qrtools 1.0.1 Released
329320 [aaron tender] qrtools version 1.0.1 has been released!
^ String#gsub escaping special characters
329321 [gary.yngve g] Ugh, just got bitten by trying to replace ' w/ \' in a string (backslash
+ 329323 [gary.yngve g] that should be "\\\\'" or '\\\\\''.
| 329338 [matt tidbits] This comes up a lot, including in a post of mine where I tripped over
+ 329325 [minilith gma] The backslash in the string is first interpreted by ruby and then as
+ 329326 [minilith gma] Or more likely, I was thinking of another language, which probably
+ 329328 [lasitha.rana] $: irb #(edited)
^ UNSUBSCRIBE
329324 [william_hemm] Please could I be unsubscribed from this mailing list.=0A=0AThank you.=0A=
^ updating row with pg => success or failure
329327 [coder montx.] I'm playing a little with the pg of Ruby, and I'm accessing some
329333 [jg samdorr.n] Have you tried "row_update.cmd_tuples()"? ntuples() is only for query
329393 [coder montx.] res.cmd_tuples() ¢ª Fixnum
329398 [jg samdorr.n] "If the SQL command that generated the PGresult was **NOT ONE OF** ...
329409 [coder montx.] Yes, I read and read and re-read ...
329440 [b.candler po] 0 is returned if the command is not one of (insert, update, delete,
329450 [coder montx.] thanks !
^ Can Ruby interact with the shell sh ?
329330 [coder montx.] I have to establish an VPN connection, currently I'm doing with another
329339 [adam.oddfell] If you just want responses from commands, you can simply use lines like
329397 [coder montx.] me.Execute "sh"
329403 [jg samdorr.n] As Adam suggested, you could use a pipe. Open a pipe to the program in
329404 [coder montx.] But he was referring using a pipe if the program was *other* than the
329422 [b.candler po] IO.popen in principle should work with any external program, including a
329433 [coder montx.] Thanks to all,
+ 329456 [robert.dober] I would like to warn you about the path you have chosen, though you
| 329458 [coder montx.] Thanks for your warnings, I'm looking at PTY and I think it's what I was
+ 329472 [adam.oddfell] See, this is what I was referring to when I said a program other than
+ 329477 [b.candler po] passes that command to it.
+ 329479 [coder montx.] See, this is what I was referring to when I said a program other than
^ Newbie question > count array key?
329331 [remco.zwaan ] newbie question(i guess)
329444 [b.candler po] You iterate through the rows, counting the values of interest.
^ error trying to install ruby gems 1.3.1
329332 [bbxx789_05ss] ~/my_tar_extractions/rubygems-1.3.1$ sudo ruby setup.rb
329336 [matt tidbits] <http://rubyforge.org/tracker/index.php?func=detail&aid=22313&group_id=1
329373 [bbxx789_05ss] Thanks for the response. My gem questions usually go unanswered. In my
+ 329446 [matt tidbits] I'm no big expert, but at least we have similar systems so a comparison
| 329470 [bbxx789_05ss] What install directions did you use to install 1.8.6?
| + 329473 [bbxx789_05ss] Prior to RubyGems 0.8.5
| + 329556 [matt tidbits] Why? Are you suggesting I did it wrong? As far as I know, this is a
| 329560 [bbxx789_05ss] No. I would like to update to 1.8.6.
| 329643 [matt tidbits] Do not automatically believe his URLs, as they are outdated. m.
+ 329475 [b.candler po] It was: on a 512MB system, rubygems would happily eat up all available
329487 [bbxx789_05ss] ...but as you can see, installing 1.3.x is broken. Sort of a catch-22.
329492 [drbrain segm] No, your ruby is missing Etc. RubyGems' reporting of this fact is
^ Extrange String#=~ behaviour
329341 [ibc aliax.ne] class String
+ 329370 [bbxx789_05ss] To me that suggests that String#=~ calls Regexp#=~. However, I am
| 329394 [lasitha.rana] 07> "string" =3D~ Regexp.new('string')
+ 329441 [b.candler po] ParseTree gem may help you.
329464 [ibc aliax.ne] Interesting, thanks a lot.
^ Re: Strange String#=~ behaviour
329342 [ibc aliax.ne] Sorry, the subject must be "Strange" :)
^ Valkea vai musta joulu?
329348 [herkko.blomb] *( Koko allaoleva olisi ollut vuosia kestçÏeistennustavista
^ Response
329353 [gregthegerg ] OK, if anyone has any ideas on where to start, that would be great.
^ Help interpreting benchmark results
329354 [alce mac.com] Benchmark.bm do |x|
329416 [sandor.szuec] No. "real" measures the time that is passed from start to finish.
329418 [shortcutter ] =A0 system =A0 =A0 =A0total =A0 =A0 =A0 =A0real
329516 [sandor.szuec] Full ack that's right, if a process forks, like system() do you can =20
^ Tokenizing text
329358 [alce mac.com] I need to tokenize English text into sentences. I realize this is a very
^ post & put probelms with restclient
329361 [anisbet avai] here. I have a simple class that I created using the rails scaffold
^ [ANN] Heist: a Scheme interpreter in Ruby
329362 [jcoglan goog] Just a quick announcement that I've just released the first alpha version of
^ Help with Multi Dimensional Array
329367 [cmakalinaw g] I'm new to ruby and have been trying to figure out what I'm doing
+ 329369 [bbxx789_05ss] Wow. What made you think you could tackle ascii art? And were you
+ 329379 [overlord gmx] I hoped I fixed your ASCII art the right way.
329580 [cmakalinaw g] =A0 =A0 =A00
329617 [overlord gmx] Hashes are just like arrays, only the keys can be anything and not just
329757 [cmakalinaw g] sets.keys.each{|k|
329895 [overlord gmx] You could just do
+ 330096 [overlord gmx] mfg, simon .... l
+ 330336 [cmakalinaw g] ray
^ [ANN] JRuby 1.2.0RC1 Released
329368 [Thomas.Enebo] The JRuby community is pleased to announce the release of JRuby 1.2.0RC1
+ 329410 [robert.dober] Great work!
| 329427 [Thomas.Enebo] Yeah we noticed that one file in jffi had the wrong date already. We
| + 329452 [robert.dober] ill
| + 329517 [charles.nutt] Somewhat unrelated, but is there any precedent in software releasing to
| 329524 [robert.dober] will
| 329538 [charles.nutt] I'd direct them to the SCM for that sort of information; what's in the
| 329546 [Thomas.Enebo] I think I would prefer realistic time stamps...If I was looking in an
+ 329571 [james.britt ] Sweet, thanks!
^ Infinite loop with Singleton mixin
329376 [adam.oddfell] This loops inifitely, but it doesn't seem like it should.
329391 [matz ruby-la] Uninitialized singleton object should not be disclosed, I think. So I
329468 [adam.oddfell] Personally, I disagree. I think both consistency and utility would be
^ array
329377 [vetrivel.bks] How to Join multiple arrays in a single method in ruby
329378 [ashikali.m g] Hey , what is this ? are you read documentation for ruby or any thing
+ 329380 [vetrivel.bks] We can do this .In ruby The '+' is method.You are calling '+' method
| 329395 [lasitha.rana] Why? Is this a quiz question? Please explain why it matters that
+ 329381 [lojicdotcom ] I expect that was what the OP was looking for. But on the other hand,
^ [ANN] rdoc 2.4.0 Released
329385 [drbrain segm] rdoc version 2.4.0 has been released!
+ 329402 [vjoel path.b] Ok, it's pretty minor and I can live without it, but .... "enhancement"?
| 329455 [drbrain segm] I usually find deleting code is an enhancement :)
| 329465 [vjoel path.b] Treating attrs the same as other methods does make sense in light of the
| 329489 [drbrain segm] Yes, I was worried it would be too severe. In terms of an API for
| 329493 [vjoel path.b] The effect of the :attr: directive would be that any invocation of the
| 329497 [drbrain segm] # :attr_reader: method_name
+ 329445 [matt tidbits] $ rdoc --version
| 329454 [drbrain segm] hahaha, awesome!
+ 329488 [drbrain segm] One more thing, removing the HTML and XML generators allows RDoc to
^ Developing Ruby on Glade for windows - worth it?...
329392 [shiloayalon ] This is more of an open discussion, since I've never done it myself and
+ 329434 [zac zacbrown] I have no experience with working with Glade, however I can say that
+ 329451 [logustus gma] I used to be a .NET developer doing some desktop work before I came
+ 329485 [jh_ruby-lang] Absolutely, ruby-glade rocks, and even works well on Windows when I
^ [ANN] Slide Show (S9) Gem Updated (v0.7.5) - Supports Plugins/Helpers; New Built-in Helpers Include content_for, include and More
329399 [gerald vanbe] I uploaded a new slideshow gem version (that is, v0.7.5).
^ Domain based restriction
329400 [internets zz] I'm working on an application where I allow users to embed a uniquely
329423 [b.candler po] The word "Ruby" didn't appear once in your posting - perhaps you should
^ Reg : Rubygems
329406 [its.sasi86 g] I tried to install the restful_adhearsion package.
329412 [justincollin] Maybe send the author a note?
^ changing the format of a text file
329414 [sxetikos hot] i am new to ruby and im having some problems trying to reformat a text
+ 329417 [jcoglan goog] 2009/2/25 Bary Buz <sxetikos@hotmail.co.uk>
+ 329432 [james graypr] Do you just read the log file replacing variables holding Status, =20
^ Where is splat implemented? / How does it work?
329426 [f.mischa gma] After a good amount of digging, I'm still not sure how [*[1,2]] ==
+ 329435 [dblack rubyp] => #<Object:0xa43db54>
| + 329436 [f.mischa gma] David,
| | 329443 [minilith gma] If you do grep -i splat *.c, you'll find hits in parse.c and compile.c
| + 329437 [rick.denatal] I'm pretty sure that implicit conversions to array use to_ary, not to_a.
| 329519 [dblack rubyp] to_ary doesn't seem to be involved in 1.9.1. If you swap to_a for to_ary
| 329570 [minilith gma] Building on David Black's examples, I tried the following to clarify
| 329585 [shortcutter ] a.
| 329607 [f.mischa gma] Thanks for all the replies.
| 329615 [dblack rubyp] => [[1, 2, 3]]
| 329624 [f.mischa gma] Thanks, code updated accordingly.
+ 329466 [Aldric Giaco] Did this strike anybody else as really funny?
^ Length of Dynamically Merged Column
329428 [deeparaj12 g] I need to know the Length of dynamically merged column in
^ problem with ruby telnet really need help now plz
329429 [evosweet hot] i have been using ruby telnet class to run a dump in a northtel switch
+ 329438 [b.candler po] Well, ECONNABORTED is unusual, and is probably some sort of firewalling
+ 329529 [julian coret] Can you connect normally?
329559 [evosweet hot] yes i can and catpute the file using cross talk.
329601 [evosweet hot] i have made some more changes and here it is
329622 [b.candler po] You're still not doing this right. You're blatting a load of lines to
^ The Ruby IRC Channel is #ruby-lang on Freenode
329430 [registration] The official Ruby IRC channel is #ruby-lang on Freenode (i.e.
329498 [charles.nutt] What would have to happen to get #ruby back?
329630 [registration] It is likely to be easier currently, with fflush and dross
^ Suggestion for site improvement
329447 [lloyd 2live4] I have seen many a thread on this site get derailed. The longer the
329449 [lyle lylejoh] The ruby-forum.com web site is just a front-end for a number of
^ Using "rescue" inline
329459 [ibc aliax.ne] myvar =3D 1 # Fixnum
+ 329476 [lojicdotcom ] Naturally, "correctness" depends on what you're trying to
| 329490 [Herman_Marti] LOL
+ 329480 [b.candler po] myvar = 1
+ 329481 [Rob AgileCon] othervar =3D begin
329505 [ibc aliax.ne] Really good point. But I've done some benchmarks comparing both approache a=
+ 329514 [Rob AgileCon] It depends on how often myvar.downcase raises an exception. If that's =20=
+ 329598 [lasitha.rana] um.
329637 [ibc aliax.ne] num.
^ Determine memeory usage of Arrays or other objects
329460 [jayeola gmai] k = [nil] *50000
329527 [shortcutter ] And there isn't an obvious solution. You can check the archives - this
^ require 'diff/lcs/Array'
329461 [venkatesh.th] I need compare two text files. I should require 'diff/lcs/Array' when i
329474 [james graypr] I've tried using that library in the past, but its interface just
329500 [djberg96 gma] I came up with this for diff'ing 2 files and spitting the results to
329568 [venkatesh.th] Thanks a lot for all ur replies.. My problem is I could't require
329642 [djberg96 gma] Something may have gone wrong with your gem install. I would try
^ Standard error redirection in backquote notation
329463 [vlamber1 mat] charset="us-ascii"
^ =?windows-1252?Q?What_is_the_Qur=92=E2n=3F?=
329478 [imanway123 g] I know that my article is not related to this group ,but it might be
^ [ANN] pluginfactory 1.0.4
329483 [ged FaerieMU] Version 1.0.4 of pluginfactory has been released.
^ =?windows-1252?Q?Re=3A_What_is_the_Qur=92=E2n=3F?=
329484 [xens comcast] =94 As
^ Re: What is the =?windows-1252?Q?Qur=92=E2n=3F?=
329496 [tomcloyd com] Uh, dude, it's really bad form to make such allegations with
329506 [phlip2005 gm] Then if the Quran is a powerless work of fiction, why do you fear it?
329508 [tomcloyd com] Again, you're behaving rudely. It's not crap. I get a lot of Christian
329510 [tomcloyd com] Then attack the spamming, not the religion. Islam is a major world
329520 [ninja slapha] Unfortunately, they already have that air of legitimacy.
^ =?windows-1252?B?UmU6IFdoYXQgaXMgdGhlIFF1cuKAmcOibj8=?=
329502 [xens comcast] to His
^ Load/Stress/Performance Testing via Ruby
329504 [dav.coleman ] I've done some research on this and I'm fairly convinced it doesn't exist,
+ 329515 [charles.nutt] JRuby or IronRuby would get you native threads, though the latter is
+ 329518 [zznmeb gmail] I've made similar searches and come up with the same emptiness. There
| + 329558 [dav.coleman ] Thanks Ed,
| | 329562 [zznmeb gmail] 50 concurrent virtual users probably won't cost you a lot. They usually
| + 329669 [pbooth nocoi] charset=US-ASCII;
+ 329584 [flo andersgr] Its easy to distribute, rather easy to configure (in XML...), is able
+ 329661 [kyleaschmitt] At first it looks rather difficult to make dynamic tests in JMeter,
^ =?windows-1252?Q?Re=3A_What_is_the_Qur=92=E2n=3F?=
329507 [xens comcast] i fear it? LOL. show me any fear in my posts.
329611 [reddvinylene] =?windows-1252?Q?Re=3A_What_is_the_Qur=92=E2n=3F?=
329613 [mark wadham.] =?windows-1252?Q?Re=3A_What_is_the_Qur=92=E2n=3F?=
329639 [robert.dober] =?windows-1252?Q?Re=3A_What_is_the_Qur=92=E2n=3F?=
+ 329640 [robert.dober] =?windows-1252?Q?Re=3A_What_is_the_Qur=92=E2n=3F?=
+ 329641 [ntwrkd gmail] =?windows-1252?Q?Re=3A_What_is_the_Qur=92=E2n=3F?=
^ =?windows-1252?B?UmU6IFdoYXQgaXMgdGhlIFF1cuKAmcOibj8=?=
329512 [xens comcast] of
^ =?windows-1252?B?UmU6IFdoYXQgaXMgdGhlIFF1cuKAmcOibj8=?=
329513 [xens comcast] ves...
329612 [reddvinylene] =?windows-1252?B?UmU6IFdoYXQgaXMgdGhlIFF1cuKAmcOibj8=?=
^ sale jordan 13 xiii shoes basketball on airmensshoes.com
329523 [airmensshoes] welcome to http://www.airmensshoes.com We are a real supplier of
^ Religious discussion
329532 [julian coret] good way to proceed. Please let us any any present flame wars about
329657 [kyleaschmitt] But if we ignore religious discussions how will be able to debate ruby
+ 329659 [fekete melko] maybe he had in mind that it is not appropriate for this mailing list and
+ 329660 [pat.eyler gm] emacs vs vi(m)?
329706 [perrin apoth] /me throws the vi gang sign.
329707 [pat.eyler gm] and I know that someday you'll repent.
+ 329717 [perrin apoth] I'm editor-agnostic. Well, technically, I guess I'm more of an
| 329737 [dustywho gma] I always thought Pico was a great editor.
| 329749 [perrin apoth] Ugh. Pico? Seriously?
+ 329747 [vjoel path.b] Those of us who have reached nirvana[1] look upon your conflict with
329751 [perrin apoth] I'm willing to be convinced, if there's reason for it. What's so great
330467 [tomcloyd com] Suggest you don't bother. I've looked at a great many editors, and tried
330481 [perrin apoth] =20
threads.html
top