213033-214478
212790-217779 subjects 213256-223268
^ ranges
213033 [jason adapt.] Is there a way to make the lower end or both ends of a range exclusive? I would like (1..5) and (1..5]
+ 213042 [robin nibor.] => [1, 2, 3, 4, 5]
+ 213043 [hal9000 hype] Sorry, you can only exclude the upper bound (with ...).
^ word substitution in file
213036 [dxpublica te] Can anyone help me in that?
+ 213037 [jason adapt.] def substitute(f,g,w,x) `sed s/#{w}/#{x}/g < #{f} > #{g}` end
| 213120 [dxpublica te] #<File:0xb7c6cb10>'
+ 213175 [nospam nosit] substitute(source,dest,find,replace)
213178 [nospam nosit] s/File.open(dest)/File.open(dest,"w")/
213595 [dxpublica te] wiki.rb:10: parse error, unexpected kEND
213889 [nospam nosit] / ...
+ 213904 [eero.saynatk] The equality test there is probably unnecessary.
| 214036 [dxpublica te] This WORKS!!!! finally
| 214169 [eero.saynatk] It just substitutes strings with their counterparts
| 214226 [dxpublica te] Well, thanks you very much for your help
+ 214035 [dxpublica te] wiki.rb:7:in `read': can't convert File into String (TypeError)
214408 [nospam nosit] / ...
214426 [dxpublica te] Yes, sorry. What stupid error!!!
^ subcribe
213044 [bhoang veran] subcribe
213049 [gareth.adams] The words you're looking for have another 's'
213052 [vjoel path.b] List-Post: <mailto:ruby-talk@ruby-lang.org>
^ [ANN] The Ruby Mine - News and Articles for the Italian Community
213046 [kiaroskuro g] We're pleased to announce that The Ruby Mine initiative is entering beta
^ Italian Ruby Book
213051 [l.oluyede gm] I don't know if you all heard about it before but the publisher has
213054 [kiaroskuro g] Congratulations!
^ calling scp from ruby
213053 [seidom hotma] I have a problem using "scp" from a ruby scrip. It copies my sql file to
+ 213067 [jean.verger ] What I'm using when scping is: scp -r dirToCopy destination ( -r for
| 213085 [jan.svitok g] (The OP seems to know the proper syntax, as he is able to do it by hand.)
| 213093 [hramrach cen] is fine, it copies file to remotemachine to the home of the user with
| 213425 [seidom hotma] 40960. Any clue how i can change the byte limit?
| 213430 [ara.t.howard] i spawn scp all the time from ruby, with gigantic files of tens of gigs and
| 213446 [seidom hotma] no, unix
| 213473 [seidom hotma] I DON'T THINK IT'S scp ISSUE.
| 213474 [ara.t.howard] hmmm. are you sure you don't have disk issues?
+ 213177 [nospam nosit] I want to emphasize this is just an off-the-wall guess. The `backticked
213181 [pgquiles elp] Why won't you use Net::SFTP instead of calling the external scp?
+ 213193 [vjoel path.b] I can guess one reason. Net::SFTP doesn't work with key-based
| 213718 [pgquiles elp] charset="iso-8859-1"
| + 213766 [vjoel path.b] Hey, it does work! Thanks.
| + 214296 [seidom hotma] I get this error, not sure why?
| 214478 [seidom hotma] Even though it gave me bunch of warnings it copied the file. BUT i still
+ 213201 [phlipcpp yah] I have that question too. Do that do SSH format?
^ Fwd: Binding for CORBA
213055 [brabuhr gmai] Enterprise Integration with Ruby[1] suggests using a Ruby Java Bridge
^ Abstract Tests vs AutoRunner
213059 [phlipcpp yah] I'm trying to get some elaborate test suites working via the hidden call to
+ 213089 [chrisjroos g] Indirectly answering your question, you could just define an empty
| 213150 [phlipcpp yah] That would run test_foo() with a stub. Because the real derive() is
+ 213091 [jan.svitok g] Once TestCase is a class you cannot mix it in easily (or at least I
+ 213099 [llasram gmai] require 'test/unit'
+ 213100 [ntalbott gma] I resemble that remark!
^ How can I configure the font size of fxri
213066 [shhgs.efhilt] I downloaded the one-click ruby installer. It's very convenient, but I
213081 [gruppen erro] I have had the same problem an also thought, that the font was too - hm
^ Installing ROR with Darwin Ports
213068 [shane.pinnel] First let me say that I just got a new MacBook Pro and am looking
213069 [james.herdma] Don't go this route. It may seem easier, but you're cutting yourself
+ 213087 [notarealaddr] Are you saying that 1.8.5 broke breakpointer, hence we should use 1.8.4?
| + 213104 [james.herdma] Yes. Use Ruby 1.8.4 for now if you're doing Rails development. See
| + 213126 [halostatue g] He's saying that breakpointer depended on a bug in Ruby 1.8. This bug
| 213131 [ mfp acm.org] I just released call_stack 0.1.0, which contains a workaround to use
| 213266 [james.herdma] We're getting a little tangential to the original topic at hand, but is your
| 213670 [ mfp acm.org] old (no 1.8.5 love) | new (call_stack)
+ 213088 [isak.hansen ] If learning to install stuff from source is the goal, following a
+ 214387 [shane.pinnel] Well, since I have started this process with Darwing ports, how would I
214416 [isak.hansen ] If you installed the packages with port, you should probably use that
^ get the name of a method's parameter
213082 [huy cse-tech] Does anyone know how to use reflection to get the name of a parameter of
+ 213084 [hal9000 hype] Unfortunately that is currently impossible.
| 213230 [ssmoot gmail] This is an ugly hack, and isn't very pretty in usage, plus it's got
+ 213184 [eero.saynatk] def meth(argy)
| 213188 [chiology gma] def meth(argy)
+ 213212 [logancapaldo] which leaves me to believe he's interested in the parameter names for
213218 [chiology gma] You may be right. Well, if so, then your solution works like a charm. If
213222 [logancapaldo] My solution? I had no solutions, just random commentary. ;) (And
^ [rubyquiz] don't understand an algorithm
213094 [femtowin gma] I'm running the SCRABBLE STEMS in ruby quiz book.
213098 [decoux moulo] it's a parallel count
213242 [femtowin gma] Thanks , I think I got it.
^ [LINK] Ruby DSL for turn-based strategy game
213095 [drnicwilliam] "I continue to develop Dr Nic”Ēs Civilizations game. This lead me to
^ Telnet and 'waitfor'
213097 [dcorticc ins] by reading the man i understood that 'waitfor' method could be used like
+ 213108 [jan.svitok g] Seems like you have to quote your key names, i.e. 'String', "Timeout".
| 213115 [dcorticc ins] Yes that's right, i made a mistake by writting it on the forum. I'd try
+ 213119 [tim.pease gm] Just curious, but are you trying to connect to an APC Power
213138 [dcorticc ins] Yes I work with APC PDU. ;)
+ 213143 [decoux moulo] telnet.rb use String#===, in your case, with LoginPrompt
+ 213145 [wccrawford g] Could it be that it is waiting for a new line character before matching?
+ 213152 [tim.pease gm] turning off of various outlets in the PDU. This can be done by outlet
+ 213165 [nospam nosit] #! /usr/bin/ruby
213297 [dcorticc ins] Thanks everybody for your help.
213298 [dcorticc ins] Ok thanks everyone : /^User Name$/ couldn't work because of the ':'.
^ GUI for Windows?
213101 [qaz slaskpos] I'm new to Ruby and after I read a bit about the sweetness of the
213102 [jcribbs netp] Gui Libraries: FXRuby or RubyGtk2 both work great in Windows.
^ [SUMMARY] Happy Numbers (#93)
213103 [james graypr] I posted a link to some additional information early in the quiz discussion that
^ [Re:] GUI for Windows?
213105 [marinho.tobo] Part one : http://www.erikveen.dds.nl/rubyscript2exe/index.html will help.
^ Basic problems with accessing a file
213114 [amheiserbush] I'm confused. I'm attempting to query a user for a filename to be
+ 213116 [peter semant] Is the gets giving you a string with a \n on the end?
+ 213117 [decoux moulo] filename = gets.chomp # to remove the newline which is at the end of the
213121 [amheiserbush] I tried gets.chomp instead of gets and it worked! Thanks.
^ Gateway Test
213123 [james graypr] The box that runs the gateway went a bit haywire. I'm checking to
+ 213127 [tim.pease gm] TwP
+ 213128 [james graypr] Hmm, I'm pretty sure the box is restored, but it no longer seems to
213134 [james graypr] There we go. The issue seems resolved now. The newgroup is catching
^ Has a method been called?
213129 [aidy.rutter ] Is it possible to find out if a method has been called except by adding
+ 213132 [farrel.lifso] Have a look at set_trace_func. It's documented in the pickaxe book
+ 213133 [jan.svitok g] If it's enough for you to know that off-line, you can use rcov or
+ 213137 [phurley gmai] You can also whip up a little meta programming mess (warning thrown
+ 213139 [ mfp acm.org] RUBY_VERSION # => "1.8.5"
^ [MAC OS X] WScript.Shell Alternative
213141 [semmons99 gm] Does anyone know of an alternative to WScript.Shell that works for Mac OS X?
+ 213153 [dave.baldwin] 1. Open System Preferences and check Enable Access for Assistive
+ 213236 [david vallne] Wouldn't Expect work on OS X too?
213246 [logancapaldo] Pretty sure he means GUI apps.
213332 [semmons99 gm] Yeah, I meant GUI apps. I ended up just using applescript(cringe).
^ what can you automate with Ruby?
213142 [christopher.] I'm a newbie - please have patience.
+ 213146 [nospam nosit] Let me put it this way. If an automation facility exists that allows the
| 213151 [christopher.] Is there a standard way to find out if an application enables
| 213174 [nospam nosit] Okay, a decent, flexible automation facility will allow calls using
| 213283 [torben.wolm ] I'm using WIN32OLE to control Adobe Photoshop and Illustrator.
+ 213149 [jan.svitok g] It depends on what you want to automate. Ruby can do (almost) anything
+ 213154 [amheiserbush] Coincidentally, I am also a Ruby Newbie, and just found out about
213156 [Fdavis usban] wish to automate (I'm not qualified to comment on other OS options).
^ Re: Testing Again 1 2 3
213147 [nospam nosit] Please test at alt.test, the newsgroup that exists for this purpose.
^ Split script into several files
213158 [PeterMeier a] I'm a newbie in ruby.
+ 213162 [mail hehejo.] Put your code into modules and "require" them.
+ 213173 [nospam nosit] Let's say you have a bunch of Ruby source files, named "class(n).rb" in the
^ symbol tricks
213160 [goofball vap] Trying to write one function that will find a
+ 213168 [jason adapt.] I don't think you can use a symbol in a parameter list ever.
| 213234 [goofball vap] Thanks. I just wanted to make sure.
| 213373 [jason adapt.] Plus for arrays and strings is concatenation. I don't like it either, b/c array plus should be addition of corresponding elements, but that is the way things are.
| + 213390 [gavin.kistne] a = [ 1, 2, 3 ]
| | 213405 [jason adapt.] Wouldn't that break pretty much everything else that used + for concatenation?
| + 213461 [steven lumos] => true
| | 213871 [jason adapt.] Yes, that's nice. Yet another module with different sematics to learn and more type conversions to do. From learning Ruby, I've learned that there is probably a package to do something. Too bad you also need packages B and C and half a doze type conversion to do any interesting data processing. And this comes from somebody who really wants to like the language, but finds it frustratingly messy.
| + 213500 [jfmiller28 y] No, Vectors should add elemets as they represent mesurable value.
+ 213171 [nospam nosit] I'm making an assumption here, that you want to find a winning pattern.
+ 213172 [mail hehejo.] That's an elegant solution without "black magic".
| 213176 [nospam nosit] Thanks, you are very kind. I personally think my diagonal finder is rather
+ 213240 [goofball vap] I want to calculate several things (at different times), including
213243 [nospam nosit] If speed is your primary goal (referring to later content in your post),
^ The process is completed. - Are you sure?
213161 [hsavr yahoo.] Thank you for answering my previous questions. It really helps me to
^ [ANN] San Diego Ruby Users Group Meeting Tonight (Sep 7)
213166 [tom helmetst] If you're in the San Diego area, we'd like to invite you to attend our
^ [ANN] Chronic-0.1.0
213169 [tom helmetst] I am pleased to announce the FIRST release of Chronic.
+ 213170 [sean ardismg] This is going to make part of my upcoming project SOOO much easier.
+ 213198 [schapht gmai] This is really really awesome. How did you implement stuff like "the
| 213206 [tom helmetst] Chronic uses a compiler approach, so the date is parsed, tokenized, and
| + 213213 [nshb inimit.] Hey Tom,
| | 213223 [tom helmetst] I did indeed see DateBocks, and like it very much! For a lot of use
| | 213329 [martindemell] For one, on unix systems it'd make a great frontend to at
| + 213409 [schapht gmai] Okay, so you use an itertive approach. I made this clock for OS X's
+ 213340 [benjohn fysh] Not had a chance to download yet, but you don't give an example of
| 213395 [tom helmetst] Currently not supported, but it's on the todo list!
+ 214356 [lispamateur ] Nice work!
^ (none)
213180 [sabtikw gmai] unsubscribe
^ Crashing RubyConf
213182 [gavin.kistne] I was not properly paying attention, and now find that the RubyConf site
+ 213189 [james.britt ] I'd be surprised if cash-in-hand works as a ticket to the conference,
| 213192 [joevandyk gm] Hm, what's considered misbehaving? Nudity? Drunkeness? Throwing bacon?
| + 213195 [ara.t.howard] naw. those are all ok. you just can throw bacon __while__ you're naked.
| | 213197 [gavin.kistne] So...it's an xor thing? As long as you are doing an odd number of odd
| | 213199 [gavin.kistne] Is there really a 'hallway track', or are you just poking fun at my sore
| | + 213210 [james.britt ] It's slang for the discussions that occur outside the actual
| | + 213211 [halostatue g] RubyConf is and always has been a single-track event. I have discussed
| | | 213217 [dblack wobbl] It was a remarkable sight: a spontaneous pool-side discussion that
| | + 213320 [Bil.Kleb NAS] Maybe we need to institute something equivalent to the 1860s'
| | 213479 [hal9000 hype] Hmm, would that cast David as Napoleon?
| | 213549 [chneukirchen] Now, guess the Waterloo.
| + 213207 [aaron_patter] Throwing bacon is fine. As long as it isn't in cake form. Bacon cake
| + 213209 [james.britt ] I would start with all of that, and somehow work in multiple incendiary
+ 213216 [dblack wobbl] I'm afraid the answer is indeed no. There's no registration at the
213228 [jim weirichh] Indeed, the Thursday night before the conference always has a bunch of
+ 213235 [james graypr] There's a good Indian restaurant pretty close to there, though the
+ 213343 [johnwilger g] Oh great. Now you've got me _actually_considering_ flying out to
^ Re:
213185 [mail hehejo.] Read this: http://www.ruby-lang.org/en/20020104.html
^ Nebular Gauntlet v0.3
213205 [steviedizzle] I am yet again pleased to announce another release of Nebular Gauntlet. It is a quick release, but there are many new features and fixes including a new map (sp_planets) and new images for several entities. You can check out the new screenshots at http://www.nebulargauntlet.org/trac/ng/wiki/Screenshots/0.3.
213221 [yesmar speak] My name is Ramsey. I'm an experienced network programmer (UNIX, Mac
^ Faster datastructure for lookups wanted
213214 [m94asr gmail] maybe somebody can recommend me the right datastructure or
+ 213220 [chiology gma] Would putting it into a database be a possible solution? I may be wrong, but
+ 213224 [ mfp acm.org] It hardly gets faster than a Hash in Ruby.
| 213231 [eero.saynatk] A Trie optimised by cutting off unambiguous traversal would
| 213241 [ruby anthrop] } >> maybe somebody can recommend me the right datastructure or
+ 213239 [nospam nosit] Any way to segment the data? IOW are 1*10^6 keys really needed in the same
+ 213280 [shortcutter ] As others said already, a Hash is pretty much the fastest for the
^ How to determine if a IP addresssis "local"?
213215 [jgbailey gma] Does the ruby standard library or core include a way to determine if a
213546 [david vallne] Hmm. Proxy autoconfiguration file support in open-uri? I presume there's
^ Rubyists of Second Life Meeting, 09/07/2006 TONIGHT
213219 [polypus yaho] i'll be presenting the following topic tonight,
213226 [james.britt ] James Britt
^ Parsing emails
213225 [brian.kejser] Are there any Ruby libraries that can parse a mime formatted email with
213227 [mike rubywiz] Check out RubyMail at http://rubyforge.org/projects/rubymail/
^ [ANN] new genetic programming system for ruby
213229 [polypus yaho] i'll be doing a presentation tonight in secondlife, read the recent post
+ 213265 [james.herdma] What's Second Life? I must be missing out on something... I'm still working
| 213275 [znmeb cesmai] It's genetic reprogramming :)
+ 213274 [ptkwt aracne] Is the presentation available on the web for those of us who don't have
^ Read from XLS and substitute values in Ruby (Watir)
213232 [bharadwaj.n ] I am trying to read multiple columns from an xls file and substiture
213237 [nospam nosit] In your example above, one of the field names is "User Name", with a space.
213885 [bharadwaj.n ] Thank you so much for the Info...
213887 [bharadwaj.n ] Also,Is there a way to read from csv file or xls file because currently
^ libxslt-ruby - dead or alive?
213233 [jsn.s.rubix.] has anybody used this lately? i'm looking to build a rails app where
^ Re: [OT] Crashing RubyConf
213238 [nospam nosit] / ...
+ 213248 [ng johnwlong] class Hallway
+ 213250 [gregory.t.br] to our university's frisbee club.
^ optional static typing possible for Ruby ?
213245 [gazmcgheesub] "We saw a hint of this in episode 2 of The Screening Room, on Adobe
+ 213247 [halostatue g] There's megabytes of discussion on this matter that extend far beyond
+ 213545 [david vallne] This was pondered as a Ruby 2.0 feature. Haven't seen wind of any
^ ruby website code ignores function
213249 [edward tangu] When I run the following script as a web page, it ignores the output of
213251 [ara.t.howard] as with cgis in any language, always, always, always make sure they can run
213253 [edward tangu] right, I didn't have ruby installed locally (windows) but I can ssh
^ [ANN] sandbox 0.2
213252 [ruby-talk wh] The 0.2 release of the FreakyFreakySandbox is here. I almost had to add a third
^ what is the best non-rails web/ruby development environment for windows?
213255 [edward tangu] So I want to develop ruby sites locally like I do PHP5 sites.
+ 213257 [ruby muerman] I think most people user Rails for Ruby web development. While using
| + 213271 [gavin.kistne] charset="Windows-1252"
| | 213321 [hhausman gma] Ruby Web: http://ruby-web.org/
| + 213307 [huw DELTHISB] If you have Visual Studio 2005, you can download the free version of Ruby In
+ 213868 [jmg3000 gmai] I haven't really used it much, but you might look into erb (or eruby).
+ 213894 [james.britt ] Nitro, or, for simpler stuff, Catapult.
214144 [jameskilton ] Not sure what you mean by this. I'm glad this guy is chosing to learn Ruby
threads.html
top