227200-229553
227027-229571 subjects 227392-229806
^ ruby gtk editable cells in treeview
227200 [rubyeu yahoo] Could anyone put an example of how can you make editable the cells of a
227210 [o.renaud lap] Le mercredi 29 novembre 2006 16:37, Alfonso a ñÄrit
227326 [rubyeu yahoo] Olivier escribióº
^ Should rake remove t.name on failed tasks?
227201 [jw raven.ink] file "custom.iso" => "custom.dir" do |t|
227205 [djberg96 gma] That seems a reasonable request. Jim, is there any downside to this?
^ Wrong results using named arguments
227209 [jasonvogel g] [a.rb]
+ 227220 [farrel.lifso] Ruby really doesn't have named arguments, rather it uses a hash to fake it.
+ 227234 [nospam nosit] a1 = A.new("id","test")
+ 227235 [invalid gmx.] # [...]
^ How to move from a Desktop / Development environment to 24/7 Onlilne Production?
227211 [jlhurtado gm] Folks,
227221 [jgarvin.list] You'll likely get better answers on the Rails mailing list.
227276 [jameskilton ] Check out Capistrano: http://manuals.rubyonrails.com/read/book/17
^ Need a range, but not getting it. . . .
227219 [pbailey bna.] I'm going nuts with the simplest stuff here. I just want to take in
+ 227223 [jgarvin.list] Try...
| + 227230 [pbailey bna.] Cool. That worked, Jon. Thanks. I don't quite understand it, though. I
| | 227244 [nospam nosit] Some of the advice offered by Mr. Garvin was in error.
| + 227240 [nospam nosit] This collapses the array "ARGV" into a single string. Not a good idea if
| 227250 [rimantas gma] => ["im123000-im123006"]
| + 227252 [pbailey bna.] Thanks. But, I'm trying to design this script for users to put in
| | + 227299 [nospam nosit] / ...
| | + 227328 [Paul.vanDels] I had a similar need recently in that I wanted to specify ranges and individual numbers. I
| + 227298 [nospam nosit] Because the original example used a string, and yours uses an array, it is
| 227309 [ara.t.howard] i wounn't quite say that. mmap, for example, simply does some pointer tricks
| 227317 [nospam nosit] Okay, I agree, but I limited my remark to a string object getting ".to_s"
| 227321 [ara.t.howard] indeed. i've been bitten the few times it hasn't though! ;-)
+ 227229 [neoneye gmai] puts ARGV.to_s.gsub(/\-/, '..')
| + 227238 [pbailey bna.] Yup. That certainly works, too. And, that's really simple. I guess I
| | 227245 [nospam nosit] And it is wrong. "ARGV.to_s" collapses an array into a single string. If you
| | 227249 [pbailey bna.] files = ARGV
| | 227295 [nospam nosit] / ...
| | + 227307 [GENIE prodig] Why use gsub! at all?
| | | + 227311 [nospam nosit] The OP is learning Ruby, he wants the string in its changed form for later
| | | + 227421 [pbailey bna.] Thanks. Yeh, I can do a "puts," but, I can't just change the silly hypen
| | | 227442 [stefano.croc] The point is to use puts, it is to use gsub instead of gsub!, which I see you
| | + 227420 [pbailey bna.] I ran it again, too, and, I still get the "can't modify frozen string
| | 227447 [nospam nosit] / ...
| | 227456 [pbailey bna.] That did it! Here's what I did. I need to not just turn the hyphen into
| | 227467 [nospam nosit] / ...
| + 227242 [nospam nosit] Not if there is more than one command-line argument. In such a case,
+ 227232 [nospam nosit] files = ARGV[0]
| 227241 [pbailey bna.] Yes, there may be more than one argument, and, it won't be consistent as
| 227297 [nospam nosit] / ...
+ 227233 [chris.hulan ] You need
+ 227237 [shortcutter ] If you have multiple args, you can do
227239 [shortcutter ] Even more onelinerish
^ Why doesn't Timeout work with String#=~
227226 [Rob AgileCon] charset=US-ASCII;
227359 [drbrain segm] Timeout uses threads and threads can only be switched when evaluating
^ Re: [OT] Simple screen scraper using scrAPI
227227 [nospam nosit] Ha! A reference to a different era, a distant voice. :)
227381 [user domain.] We should not forget these times (and I didn't lived the 70's - that was
227425 [nospam nosit] / ...
^ ruby profile gave different result in Windows and Linux
227231 [luan_n_nguye] I am using "ruby -r profile prog" for the same program between Windows and
+ 227253 [jan.svitok g] You are using gems on windows. compare the function lists. Set RUBYOPT
+ 227256 [wilsonb gmai] Make sure your RUBYOPT environment variable is the same on both
^ [ANN] Elif 0.1.0 Released
227247 [james graypr] Elif 0.1.0 Released
^ Can Logger log simultaneously to a file and STDOUT?
227251 [damphyr free] Can I have a Logger instance that logs both to a file and to STDOUT.
227269 [keith audiob] Here's my tiny little modification to Logger that does that (though I
^ Ruby on Rails Developer in SFO
227254 [binimathew g] I have seen your resume on Dice. We have an opening with our client for
227261 [matt technor] ruby-talk has a resume on Dice? Wow.
227274 [michael.bevi] The machines truly are taking over. Soon we will all be replaced by mailing
^ [ANN] hoe 1.1.5 Released
227263 [drbrain segm] hoe version 1.1.5 has been released!
^ One field maintaining (boolean) state of multiple items
227264 [wmwilson01 g] I have a friend who posed a question to me about how to maintain the
227294 [nospam nosit] v = 15
227315 [vjoel path.b] irb(main):003:0> v = 15; (0..7).map {|i| v[i]}
^ Can't install win32-service on winxp
227268 [cohen.jeff g] I'm trying to setup Ruby and some gems on a clean WinXP SP2 box, and I
227272 [djberg96 gma] You need a C compiler. You have one installed, right?
227480 [dave pezians] I'm having the same problem as Jeff. I tried your solution, and now
227649 [djberg96 gma] If you've got the shared object installed, you've got win32-service
227697 [dave pezians] For some reason it's still now working for me.
227905 [djberg96 gma] Then say 'N'. You've already got it.
227966 [dave pezians] I say N, it says required dependency win32-service not installed and
227972 [djberg96 gma] Something's wrong then. If win32-service is installed, the gem install
+ 228056 [dave pezians] Yes, I don't have a C compiler. Is there one you recommend?
+ 228061 [cohen.jeff g] That would be great... please do so if possible. :-)
+ 228232 [adam.blum gm] Is the gem available in binary form at all? The compile fails for me
+ 228331 [djberg96 gma] Alright people, listen up. There are now two gems for win32-service.
228417 [dave pezians] Friggn schweet, Dan.
^ [ANN] Samizdat 0.6.0 is released
227279 [angdraug gma] What is Samizdat?
^ creating directory "http://example.com"
227282 [steve foowor] How do I create a directory 'http://example.com' without it getting
227292 [nospam nosit] Very simply, you can't. That is an URL, not a directory path.
227296 [steve foowor] Hmm, ok then. How could I strip http:// from that string?
+ 227306 [nospam nosit] string.sub!(%r{http://},"")
+ 227308 [james.britt ] url = 'http://example.com'
227332 [steve foowor] Interesting. Newb Q, I'm sure, but when I put that in a while loop I
+ 227335 [tdenkinger g] Does this work for you?
| 227341 [steve foowor] Yes. Re-evaluating my assumptions....
+ 227340 [nospam nosit] / ...
| 227343 [steve foowor] res = dbh.query("Select url FROM sites")
| 227344 [steve foowor] I thought it was array of strings & looks like it to me??
| 227362 [nospam nosit] Well, it's easy enough to find out.
| 227384 [steve foowor] Array
| 227389 [twifkak comc] All right. Now change "puts url.class" to "p url" to figure out what you
| 227453 [steve foowor] url = row[0] fixed that right up.
+ 227346 [dblack wobbl] It sounds like you've got something other than strings -- or at least
^ help re deleting files please?
227285 [greg.hauptma] I have a small task which I was considering using ruby for - if anyone has a
+ 227287 [james graypr] I thought *you* were considering using Ruby for this task. ;)
+ 227378 [mephis1987 g] This smells like a homework , by the way , the best approach to Ruby is
227481 [greg.hauptma] wow - one line - thanks heaps - gives me some pointers re where to dive into
^ Wrong results using named arguments
227302 [jasonvogel g] [a.rb]
227305 [nospam nosit] Posting the same message six hours after receiving a raft of helpful replies
+ 227310 [jasonvogel g] Sorry about the repost. Initially, I thought the original post went
+ 227314 [jasonvogel g] Okay, I have a couple of questions. If I use the Hash approach,
+ 227316 [nospam nosit] @hash = { key => arg, key => arg, ... }
+ 227319 [TimHunter nc] You might find the "Method Arguments" section on page 332 in the Pickaxe
+ 227320 [ara.t.howard] def the_method opts = { :arg => 'default value', :another_arg => 'default value too' }
227361 [vjoel path.b] Not really, at least in 1.8. That sets the default for _opts_, not for
227364 [vjoel path.b] DEFAULTS = {
227365 [mr.cruft gma] def m opts = {}
+ 227400 [ara.t.howard] if you like that style you may like this lib
+ 227406 [vjoel path.b] If you define default option hashes as constants, you can comment them
^ #method(false) returns singleton methods?
227313 [transfire gm] I had a hard enough time recalling that #instance_methods only returns
227354 [george.ogata] * object.c (rb_obj_methods): list singleton methods if recur
227428 [transfire gm] Thanks. I suppose matz has his reasons. Though I can't say I quite
+ 227994 [botp delmont] # I have to agree with David Black that this true false parameter has no
| 228742 [transfire gm] big up :-)
+ 228852 [george.ogata] Almost right; it's actually _nonprivate_ methods. ;-) And yeah,
228912 [transfire gm] Good point about singleton, I suppose the easiest adjustment would be
229553 [george.ogata] Hmm, looks like a small combinatorial explosion. :-(
^ [ANN] hoe 1.1.6 Released
227318 [drbrain segm] hoe version 1.1.6 has been released!
^ BUG: ruby-mode.el : '/=' operator breaks following indentation
227324 [jeremy chaos] Using emacs 21.4, ruby-mode.el from Ruby 1.8.5 (byte-compiled), if I
+ 227351 [george.ogata] The issue is probably that it's treating the "/=" as the beginning of
| + 227352 [george.ogata] Oops, I misread. It sounds like it is the same behavior. Still, it
| + 227380 [jeremy chaos] Thanks, that works. A slightly better fix is to add a ';' as well to
| 227571 [george.ogata] Hmm, my ruby-mode doesn't seem to need the ';'. I'm using the CVS
| 227664 [jeremy chaos] Mine definitely does need it. I'm using stock Ruby 1.8.5 and GNU
+ 228066 [matz ruby-la] Does this patch work for you?
228088 [jeremy chaos] Yes. Thank you!
^ [ANN] rubyforge 0.3.2 Released
227325 [drbrain segm] rubyforge is a simplistic script which automates a limited set of
^ Download only http headers
227329 [buunguyen ps] I'm writing a small app which needs to list all HTML pages (only HTML
227331 [pubsub rubyi] can get the headers that way.
227342 [buunguyen ps] Work like charm. Thanks a great deal, Tom.
^ Re: drawing borders in excel
227334 [renard nc.rr] Okay quick update... I figured out how to change the color of my border
^ [OT] Overwhelmed by emails
227336 [dan-ml dan42] This list has way too many messages for the amount of free time I have. Does
+ 227338 [dblack wobbl] I guess you could use a bayesian spam filter but just teach it
+ 227339 [twifkak comc] Hrm... ruby-talk has web mirrors at
+ 227345 [w3gat nwlaga] If you use Mozilla, simply sort the subjects, then look at the ones you
+ 227349 [znmeb cesmai] I recommend the two-second rule -- look at the message for 2 seconds,
+ 227353 [allergic-to-] sylpheed or sylpeed-claws
+ 227357 [drbrain segm] I've been working on it for IMAPCleanse, but I haven't made it
+ 227382 [neoneye gmai] Interesting challenge.. a ruby-talk ranking system..
227399 [znmeb cesmai] -20 best GUI for Ruby
^ Re: Overwhelmed by emails
227347 [roseanne jav] Why you need the emails at all???
+ 227356 [ben bleythin] Some people prefer to use mailing lists natively, instead of through
+ 227358 [drbrain segm] I can't read the website when I'm not attached to the internet.
^ VBA to Ruby code again
227355 [chen_li3 yah] I want to add error bars to a chart. I record excel macro and then try
227360 [james.britt ] What are xlCustom and xlBoth?
227368 [jan.svitok g] From the previous discussions I assume the OP is getting the constants
227370 [chen_li3 yah] I post my the whole codes here. Here are some information about my
227375 [jan.svitok g] Now, see for yourself: you use ExcelConst::XlWhatever in the
227390 [chen_li3 yah] This is not true. I have two versions: one is the above and the other
227609 [jan.svitok g] chart1.SeriesCollection(1).ErrorBar 'Direction' => ExcelConst::XlY
227624 [chen_li3 yah] What is the page in 2nd edition? I read through the automation with
^ validating atom and rss locally?
227366 [rsanheim gma] I was wondering if there are libraries to validate rss 2.0 and atom
227379 [kou cozmixng] In <fc113d400611292342i7be4c897ia8d7453496a571c6@mail.gmail.com>
^ How to set socket option SO_RCVTIMEO
227367 [z4k4ri4 gmai] How to set socket option SO_RCVTIMEO in Windows XP?
^ MS Office and win32ole on Linux
227369 [gustav rails] Hey
227371 [chen_li3 yah] As far as I know WIN32OLE is a built-in library in the Ruby. In order to
+ 227374 [gustav rails] Thanks for the reply. I tried it in irb, but I get
| 227376 [jan.svitok g] The problem is, that win32ole is a windows extension, you have linux
| 227377 [gustav rails] Thanks, I can see why people would be thankful!
| 228396 [gustav rails] I bailed on the 1-2-3, as I decided to try some easier sounding ways
+ 227397 [ara.t.howard] i've managed this before. i installed the one-click installer under crossover
^ Ruby and TAPI
227373 [d_rems yahoo] Has anybody been succesfull combining Windows Telephone API (TAPI) with
+ 227391 [jwells serva] years ago to make use of tapi from vb6. TAPI calls are just like normal
+ 227439 [greg.kujawa ] Don't know if you are looking to develop a CTI-type application or just
227548 [d_rems yahoo] I have an ISDN phone connected to computers RS232 interface and a TAPI
227585 [greg.kujawa ] I assume you are referring to a Windows host machine. If so then check
^ ruby-talk: I think some posts get lost
227383 [damphyr free] I posted somehting about wanting code that can mimic cron behaviour a
227385 [gareth.adams] I think you could well see your posts in about a month ;)
^ HTML cleanup task
227386 [vshepelev im] Sorry, if the question seems dumb.
227395 [angdraug gma] Tried HTMLTidy[0]? Sometimes it tries to be too smart, but it has a
227396 [vshepelev im] Not really tried, but had thought about.
227429 [nospam nosit] Not "huge and almighty" but "small, smart and simple" ... I believe that's
227455 [vshepelev im] OK, here's the model of what I'm doing: small app, which interacts with
227466 [nospam nosit] / ...
227476 [vshepelev im] I understand HTML syntax. And I see no problem in above.
227501 [nospam nosit] / ...
^ Timers, scheduling and Ruby
227388 [damphyr free] Ok, since the original post migh just appear in a month's time, lets
+ 227398 [znmeb cesmai] You've discovered a chronosynclastic infundibulum, apparently. :)
| 227405 [damphyr free] I'm not sure about this. EventMachine seems geared towards networking.
| + 227410 [rsanheim gma] I have nothing worthwhile to add, other then that I've also definitely
| + 227485 [garbagecat10] require 'rubygems'
+ 227404 [james graypr] I've wanted this myself. I wonder if we could get it down to Ruby
227414 [ara.t.howard] i'm working on a library for this now. any request?
227416 [james graypr] Ara, you just plain rock.
+ 227461 [ara.t.howard] how bout this as the time spec?
| + 227498 [james graypr] Ah yes, I looked into Runy recently when someone use it to solve a
| | 227565 [damphyr free] Nice ideas. I still need a UI wrapper for this code though and a way to
| + 227586 [pit capitain] Ara, this would be nice, but I think it's difficult to determine the
| 227591 [ara.t.howard] indeed. this is the only major design flaw. still, if one assumes a
| + 227599 [pit capitain] I, too, think it should be possible to add the missing functionality to
| + 227608 [tim.pease gm] Runt looks nice. Another package is Chronic. It was part of the
| + 227629 [Mlipper doit] I'm still catching up to this thread but FWIW I am always interested in
| | + 227636 [tim.pease gm] Bingo!
| | + 227641 [ara.t.howard] here's what i'd like
| + 227637 [ara.t.howard] oh yeah - i'd forgotten about that. thanks.
| 227647 [tim.pease gm] You're still going to have the missed events problem with the runner
| + 227648 [Mlipper doit] is there already a library/utility for the above somewhere?
| | 227654 [ara.t.howard] class Numeric
| + 227650 [ara.t.howard] nah. you'd raise an error if events were scheduled at finer than 'n'. in
| + 227662 [mguterl gmai] I believe you're referring to launchd.
| | 227666 [mguterl gmai] Sorry everyone, I had no idea this paste would turn out so hideous.
| | 227673 [ara.t.howard] heh. no problem. you were right too.
| | 227690 [ezmobius gma] There is a ruby gem called moment that is a timer/scheduler for
| + 227696 [wmwilson01 g] Me too... as long as they're not also shooting the users and the systems
+ 227462 [damphyr free] How about stealing from schtasks
threads.html
top