240323-243502
240100-245405 subjects 240480-241980
^ Irb in Firefox tab
240323 [shevegen lin] I want to embed IRB in a Firefox tab. I know that its feasible as _why
+ 240326 [ayblinkin gm] Are you referring to a permanent add on that is dependent on a local run
+ 240327 [hhausman gma] hth,
^ Parsing a file with look ahead
240324 [srobertjames] I need to parse a file line by line, and output the results line by
+ 240325 [carl.lerche ] The first thing I can think of is do file.each_line and store that
+ 240328 [flori nixe.p] require 'enumerator'
| 240331 [srobertjames] Thanks! BTW, looking at the Rdoc, it seems each_cons is what I want,
| 240333 [gregory.t.br] If you are dealing with paired lines, use enum_slice(2)
| 241197 [dan-ml dan42] Except each_cons(n) will iterate 9 times if you have 10 lines.
+ 241736 [thomas hafne] Sounds for me like it could be solved elegantly with a lazy stream of
^ Parser as an alternative to RegExen
240335 [srobertjames] PREAMBLE = 'AA'
+ 240344 [james graypr] I really don't think there's any value in going all the way to a
| + 240349 [logancapaldo] Agreed.
| | 240354 [mushfeq.khan] If you're just looking to get the job done, you should stick with regexes.
| + 240362 [shortcutter ] Agree. Also, in Ruby Regexp objects can nicely be used to build larger
+ 240381 [david vallne] One instance where I'd be thinking of picking up parser-fu would be if the
^ Test failing with gem only
240337 [alexg kuicr.] I've got an issue with some unit tests which pass fine under rake and
240457 [jan.svitok g] Try this: open site_ruby/rubygems/validator.rb, find
240476 [alexg kuicr.] Thanks! You're a superstar. I will be submitting a patch to rubygems
^ passing optional argument to win32 ole subsystem
240338 [manishs reco] I am trying to embed a html document in Excel document using Win32OLE.
240382 [jan.svitok g] Named Arguments
^ Re: Making Ruby faster
240340 [matz ruby-la] Ruby YARV
240377 [david vallne] -1, Troll.
^ Regex group without capture
240341 [srobertjames] Is there a way to make a regex group without capturing the group (in
240345 [botp delmont] # Is there a way to make a regex group without capturing the group (in
^ Simple web site - Rails, Nitro, Others?
240348 [dan.gottlieb] I've developed a mid-sized web application in rails, but I'm not sure
240350 [avdi avdi.or] Check out Camping :-)
^ Truble with Gosu
240352 [CHubas7 gmai] As a relatively new Linux user, I'm having troubles running Gosu
^ Trade-off between variable name descriptiveness and readability
240356 [danfinnie op] As a mentor of the new adopt-a-newbie system, which I think is going
+ 240358 [cdemyanovich] The second method above reads a little better to me than the first;
+ 240375 [daniel.schie] It should be "num_bottles" if nothing else! ;)
+ 240384 [david vallne] Quoth Mr. Torvalds: 'If you have some random integer loop counter, it
240464 [CHubas7 gmai] For actual classes, I should agree, but to teach a newbie, I'd go with
^ Re: Trade-off between variable name descriptiveness and read
240357 [ snk gna.org] I prefer num.bottles; it reads well.
^ Re: un-include?
240359 [pit capitain] Giles, it depends on what you're willing to pay :-)
^ IO.popen on Windows to filter stdout
240361 [hhausman gma] I've been googling and playing with this for a while, but I'm stuck
240408 [ara.t.howard] probably the other process is writing to stderr. try
240458 [hhausman gma] saying about stderr here sounds right to me, but I tried what you have
240466 [ara.t.howard] hrrrm. this is a windozing type thing, but is it perhaps manipulating the
240477 [hhausman gma] I believe that the underlying executable that I'm dealing with, namely
240554 [ara.t.howard] it sure looks like it!
^ ruby tail
240367 [phyprabab ya] the similar function of tail? Or is there a way to use tail in ruby? I h=
+ 240368 [foamdino gma] Just call out to tail
| 240369 [phyprabab ya] The issue there is that how do I detect new output and then capture that ou=
| 240370 [phyprabab ya] Actually, I am not sure how this would work. If I do this, I get no output=
| 240371 [foamdino gma] it shells out to the process and waits for it to return - with -f does
| 240372 [alex blackke] IO.popen('tail -f sim.out'){|f|
| + 240373 [benjohn fysh] Out of interest, the blocking call is "gets" here, right? Can you use
| | 240374 [alex blackke] I haven't ever done that, but it looks like it from the docs...
| | 240376 [phyprabab ya] Wow thats really cool!!!=0A=0A----- Original Message ----=0AFrom: Alex Youn=
| + 240378 [shortcutter ] removed `x'
| + 240379 [phyprabab ya] Benj,=0A=0Ahow would that work?=0A=0ATIA,=0APhy=0A=0A----- Original Message=
| + 240396 [shortcutter ] This version is safer and a tad more flexible, just in case there is an
+ 240407 [patrick erdb] os independent, but slower on large files.
+ 240414 [botp delmont] Is there a gem or perhaps a method I am not aware of that does the similar function of tail?
^ FXTreeList-App crashes
240386 [joerg.abelsh] My FX-Application crashes, when I update an FXTreeItem-Icon in an
240395 [david vallne] Run it with regular ruby.exe instead of rubyw.exe (if on Windows) to get
240398 [joerg.abelsh] FxGui.rb:547: [BUG] Segmentation fault
240424 [ljohnson sen] On 2/22/07 7:25 AM, in article
240508 [joerg.abelsh] ...has helped ! Thanks a lot!
+ 240511 [rajsahae gma] When you initially create the application, all children of the app are
+ 240572 [ljohnson sen] On 2/23/07 2:47 AM, in article
^ OpenSSL , SOAP4R
240391 [zemariamm gm] Does someone knows how to use certificates with SOAP::WSDLDriverFactory
240439 [jmazzi gmail] server.options["protocol.http.ssl_config.verify_mode"] = nil
240517 [zemariamm gm] if the certificate (.crt) , I don't understanding how do you 've a
240571 [mwernsing gm] Hopefully this may clarify,
+ 240587 [barjunk attg] This is good stuff! What would be a good link to have found this for
| 240603 [mwernsing gm] ...
+ 240655 [emarceta gma] Should be noted that the above actually does not checks the actual
^ Searched Files -- Now Display in UI
240400 [drinnovation] I made a small simple program to search for regular expressions
240401 [akbarhome gm] Tk is the most portable one (although it is ugly).
240417 [drinnovation] Can this be done as per Original Quesion...
^ Restore Kernel.binding to a previous state
240406 [hans.sjunnes] Hey all,
+ 240409 [ara.t.howard] if you're on windows you're out of luck though. in any case, all you need is
+ 240411 [ben bleythin] I have (what I believe to be) a similar problem in some code I'm working
| 240429 [hans.sjunnes] Helpful - yes, in finding out that using eval might not be what I'm
| + 240432 [ara.t.howard] why don't you fork?
| | 240446 [hans.sjunnes] Actually, that works perfectly. I was under the impression that
| | 240452 [ara.t.howard] definitely not portable. then again, thread aren't so much either unless one
| + 240434 [ben bleythin] Sort of. It includes the context of wherever the binding was created.
+ 240670 [erikveen gma] a = "[1, 2, 3, 4]".de_inspect
^ tinderbox with unpublished gem
240410 [dchelimsky g] How can I run an unpublished gem in tinderbox?
240420 [ryand-ruby z] there. Run tinderbox_gem_build.
240425 [dchelimsky g] Thanks Ryan - I had tried that, but I get into an infinite loop
241018 [drbrain segm] Revert to rubygems 0.9.1. 0.9.2 reintroduced breakage when open-uri
241086 [dchelimsky g] OK - I reverted to 0.9.1 and now I get something different. I placed
241186 [drbrain segm] Hrm, I probably punted on this since RubyGems doesn't have a unified
^ Re: QtRuby install
240412 [hoornet gmai] Please do so. I'm tring to install qtruby on windows for 3 weeks now and
+ 240486 [gethemant gm] This has been discussed over and over again, i believe, but I would
+ 240840 [alex deletem] Save the GUI design as an XRC (xml) file, and then you can load it into ruby - see the xrc sample in samples distributed with wxruby.
^ Web frameworks - separating UI from logic
240415 [B.Candler po] I'm starting to look again at available web application frameworks for Ruby
+ 240421 [ara.t.howard] i think you can flex on #3 above to get what you want. basically, write your
+ 240551 [khaines enig] This makes sense, though I don't know that you need an RPC layer in there.
240567 [B.Candler po] OK.
240579 [khaines enig] I do think that the easiest way to do this is to put all of your common
^ handle ArgumentError to resume loop at next iteration
240416 [jay.johnston] still a noob, and still hacking a script to traverse photo directories
240423 [halostatue g] begin
^ [SUMMARY] Housie (#114)
240419 [james graypr] I really enjoyed this quiz. On the surface it seems relatively simple.
^ Numerical calculation returns string with DBI/Mysql
240422 [kbloom gmail] When I run the following query in DBI/Mysql, I'm finding that DBI is
240427 [robert.dober] if this is an issue it is a MySQL issue I guess, concerning ruby, do
240453 [kbloom gmail] me
^ ruby debug-options?
240426 [andy.koch pc] Greetings,
^ bbcode <> html?
240431 [nodenator gm] Is there a library out there already that will convert text marked up
+ 240433 [jameskilton ] Well, I don't know of a library that does BBCode, but be sure to check out
+ 240450 [o.renaud lap] Le jeudi 22 fñ×rier 2007 20:53, nodenator@gmail.com a ñÄrit
^ [ANN] MiniExiftool 0.2.0 released
240435 [frdrch gmail] MiniExiftool version 0.2.0 released!
^ Soap add_method
240436 [jmazzi gmail] Is there a way to set default arguments for soap methods?
+ 240437 [jmazzi gmail] I would also like to add, this is not Basic auth(http auth). This is
+ 240454 [cdcarter gma] add the method normally, and writte a wrapper to call the method with
^ Fwd: FXRuby - slow FXDirDialog when accessing network directory
240438 [jes luretank] Thank you for that clarification and suggestion Lyle, I will follow it.
^ Newbie question eruby dbi
240440 [peter iwebsl] I've spent the last couple days doing tutorials and so far I'm loving
240441 [sonoflilit g] username = ENV['REMOTE_USER']
240442 [jswensen lex] I think the query needs to be in double quotes to invoke string
240444 [peter iwebsl] Thanks!
^ Best way to get a class object from its name?
240443 [weyus att.ne] All,
+ 240445 [ezmobius gma] Since you are in a Rails app the better way of doing that would be
+ 240447 [cmshea gmail] There are a couple of solutions given. Assuming your class name is in
+ 240448 [ben bleythin] => "ActiveRecord::Base"
^ Rails Console (v1.2) won't load.
240449 [coachhilton ] load under ruby 1.8.5-p2. Any one seen this before? (Every thing
240451 [coachhilton ] Neglected to mention that I'm running on Ubuntu linux w/a locally
^ puts nil
240456 [srobertjames] puts nil outputs "nil". Shouldn't it output "" (ie, nothing), which
240519 [jeremy chaos] The source code specifically checks for the nil object and outputs
^ Ruby's "case" doesn't behave like a normal switch
240459 [guillaume.na] The problem with ruby is that you can't use a switch as it behaves with many
+ 240462 [eban os.rim.] case x
| 240478 [guillaume.na] Thank you very much !!!
| 240521 [B.Candler po] Search down to the section headed "Case Expressions"
| 240532 [o.renaud lap] Le vendredi 23 fñ×rier 2007 11:30, Brian Candler a ñÄrit
| 240564 [B.Candler po] when /\A(this|that)\z/
+ 240465 [kjell statio] -kjell
+ 240468 [perrin apoth] These two examples are not equivalent. In one, you're listing multiple
+ 240472 [dblack wobbl] I don't consider that a problem. If all languages had to behave
+ 240475 [flori nixe.p] a = [3, 4, 5]
+ 240595 [GGarramuno a] On 22 Feb., 22:54, Guillaume Nargeot
241127 [pit capitain] I didn't know the "catch(:redo)". Is this documented somewhere?
+ 241135 [mental rydia] def foo ; yield ; end
| 241137 [pit capitain] Ah, of course. Thanks Mental.
+ 241139 [binary42 gma] Well the redo is really reacting as part of the catch block (though
+ 241143 [B.Candler po] 'redo' is documented at
^ can ruby automate form submission?
240460 [simon.jackso] Can someone point me to either a gem or a method on how i might go
240461 [rubytraining] Have you looked into the mechanize gem?
240467 [simon.jackso] thats exactly what i was looking for, thank you!
240497 [peter rubyra] Maybe it is an overkill for your situation, but you could chek out also
^ form variables eruby
240463 [peter iwebsl] How do you go about using form data or from a url to be used as a var?
240540 [ruby.hardwar] ...
^ expect and ruby
240469 [robertlaferl] I need to communicate with a sftp server from a Ruby script. What's
240470 [ezmobius gma] Cheers-
240522 [B.Candler po] (1) require 'expect.rb' which is included in the standard library
^ openaccess
240471 [andreas_s ho] This is a long shot, but since there are many EE guys here... does anybody
^ NET::LDAP Problems.....
240473 [pnovess mac.] Just wondering if anyone knows anything about this project?
+ 240565 [pnovess mac.] Just in case anybody else is struggling with these issues here is what
+ 242942 [garbagecat10] SNMP-oriented functionality that is not yet in the released packages, but
242985 [ara.t.howard] we just taught a class last week on ruby and i had a friend come in and
+ 243059 [garbagecat10] There are standard response codes in the RFC, most of which have
| 243239 [d454d web.de] i for one would love to see such a thing. I could not say that i will
| + 243251 [amos.l.king ] I'd like to see it
| + 243502 [B.Candler po] depend on Net::LDAP, except for its test cases I think.
+ 243254 [pnovess mac.] Thanks those are good suggestions. I too am in Coloraodo. I'm in
+ 243263 [robert.dober] <snip> #
^ Textmate on Windoze!
240474 [wbsmith83 gm] Check it out.
+ 240496 [perrin apoth] That would require using MS Windows. When is someone going to port it
| + 240536 [lists aftr5.] Er...you mean to Linux, right :-). When it gets to Linux, I'll give it a go.
| | + 240560 [ruby_admirer] I've downloaded and tried e-texteditor some weeks ago and I found that it lacks a file explorer view.
| | | 240570 [francois.bea] 2007/2/23, Ruby Admirer <ruby_admirer@yahoo.com>:> I've downloaded and tried e-texteditor some weeks ago and I found that it lacks a file explorer view.> Is it planned to have such a feature ?
| | | 240576 [ruby_admirer] I've just made another try. And the project management covers my need :-).
| | + 240602 [perrin apoth] 1. If it shows up on FreeBSD first, it'll make its way to Linux
| + 240578 [Mail Jonas-H] i wonder, with all the fame it got, why the textmate guys dont recode
| | + 240581 [ruby anthrop] I'm just wondering whether E is shipping with a bunch of Textmate bundles
| | | + 240583 [rimantas gma] "Allan was very positive about the prospect of me making the editor
| | | + 240584 [james graypr] TextMate's bundles are open source, unlike the application. No rules
| | | | 240593 [ruby anthrop] Ah, good to know. I retract all aspersions cast.
| | | + 240650 [craigbeck lu] I believe the developer contacted and talked with TM's developer a
| | | 240693 [gavin refine] FWIW, the author has changed the licensing so that the trial is no
| | + 240588 [ben bleythin] TextMate is slow? What part(s)?
| | | + 240590 [mushfeq.khan] Does anyone know if e supports Textmate-like word-completion? (I should say
| | | + 240594 [kabigon gmai] "Find in Project" regularly takes upwards of 60 seconds for me, during
| | | + 240596 [gavin refine] How many files are in your project? How big are all those files
| | | | 240598 [kabigon gmai] I'm glad you asked. No, I mean I'm REALLY glad you asked. I'm
| | | | 240611 [ben bleythin] I'm glad this turned out to be the case. I used to think TM was slow
| | | + 240843 [scott butler] Chris, try removing the logs folder reference from your TextMate
| | + 240601 [perrin apoth] Actually, using Qt 4 might be a good way to keep me from trying it out,
| | 240613 [david vallne] =2E o 0 (Huh?)
| | 240618 [perrin apoth] The "ostensibly" bit is the important part of your statement: yes, it's
| | + 240625 [ruby anthrop] I've written several Qt apps and never used a KDE library. Many commercial
| | | 240627 [perrin apoth] You're in a minority, then, in my experience. Also . . . since I don't
| | | + 240631 [david vallne] Actually, that's how I did in fact read Jonas Hartmann's wishful thinking=
| | | | + 240635 [perrin apoth] This product is what *started* this discussion. That seems relevant to
| | | | + 240639 [perrin apoth] Y'know, this has been bothering me for a bit, so I decided to go back
| | | | 240671 [fxn hashref.] TextMate is a commercial product for the Mac, that is a legitimate
| | | | 240715 [perrin apoth] I haven't said anything on the subject for about 19 hours before you
| | | + 240633 [ruby anthrop] No one was talking about a clone. The discussion was about the Textmate
| | | 240636 [perrin apoth] So . . . you'd only use it if it was created by the same guy? Are you
| | + 240629 [david vallne] Skype. Opera (the Linux version definitely, not sure about the Windows
| | | 240630 [perrin apoth] Keep in mind I speak from the perspective of someone who very rarely
| | | 240634 [david vallne] 's
| | | 240637 [perrin apoth] Trying to ignore the rest of what I said about who's writing what
| | + 240697 [martindemell] quackle.org
| + 240599 [perrin apoth] I'd have to see it to believe it -- and for that to happen, it'd
+ 240582 [dblack wobbl] That's funny -- for the following reason: the second computer I used,
+ 240586 [lists aftr5.] Btw, for Linux, has anyone tried Scribes? (http://scribes.sf.net)
240604 [perrin apoth] I can't answer your question, since I haven't used TextMate either, but
threads.html
top