243519-245308
243245-248050 subjects 243712-248322
^ Regular Expression Help
243519 [eddieroger g] I'm trying to write a regular expression for Ruby and running into
+ 243521 [alex blackke] What's the output you're going for?
+ 243522 [dblack wobbl] Maybe you could do something based on character classes; for example,
+ 243535 [dolgun excit] Then there has to be something else to signal the end of the Acronym
+ 243563 [eegreg gmail] / \*'''
^ Re: Coventry (Was GUI With Ruby)
243520 [gary.william] Coventry is a short story, not a book.
243526 [perrin apoth] I've read Methuselah's Children (as a stand-alone novel), but I could
^ Re: Facets / Annotations 2.0.0
243532 [transfire gm] Sorry, I overlooked a dependency for the annotations package. Should
^ [ANN] North Bay Ruby Users Group March Meeting (Sebastopol, CA)
243534 [keith audiob] See http://nbrug.com/?action=meetings for address and map
^ calling a method using a variable name??
243548 [ajtwatching ] Hey folks,
+ 243551 [TimHunter nc] obj.__send__("methodname", arg1, arg2)
| 243598 [rick.denatal] Or just send which in most cases is preferable. They both do the same
+ 243554 [KDr2 163.com] methods.each{|m| friendly.send m}
^ [ANN] ActiveRecord::Extensions 0.5.0 released!
243555 [zach.dennis ] support for Time objects when operating against DATE or DATETIME
^ Re: Google Summer of Code -- Get Ready for the Proposal Window
243558 [djberg96 gma] Just a couple of idea
+ 243566 [hornbeck gma] I think a great project to put someone on is the "core" in Rubinius. This
+ 243580 [bpettichord ] On Mar 14, 12:45 am, "M. Edward (Ed) Borasky" <z...@cesmail.net>
+ 243587 [peter rubyra] +1
+ 243593 [martindemell] It would be really neat to combine scintilla and irb to get a
| + 243627 [james graypr] I think Event Machine is very ripe ground for Summer of Code
| | + 243641 [gethemant gm] +1 James, Francis
| | + 243683 [twinwing gma] where can I read up on Event Machine? My google-fu is not powerful :(
| | 243684 [twinwing gma] Nevermind, it's listed as EventMachine in rubyforge, one word... :(
| | 243687 [james graypr] James Edward Gray II
| + 243671 [rdm cfcl.com] On a similar note, I'd like to see someone look into creating an
| + 243686 [jeremymcanal] In theory, rdoc is supposed to output XML, but i've never gotten it to
| + 243690 [martindemell] Scite misses out what I consider the core, practically raison d'etre
| + 243738 [jeremymcanal] I miss this functionality that IDLE has for Python; if any of the GUI
| + 243771 [vjoel path.b] Does your vision include a button to "add it to the program" too? That
+ 244944 [helder gmail] I really like this idea and I would be willing to do something related
244953 [peter rubyra] Well, for the Watir related questions you should ask Bret Pettichord (
^ need experienced ruby/typo developer asap
243560 [jimh maxpres] I need someone who can help us immediately with Web site development for
^ Using netbeans as a Ruby IDE
243567 [phillipsds y] Up till now I've been using Scite on Windows and Smultron on OS X for
243569 [dangerwillro] Spring for TextMate, it's not free but it really is worth it.
243653 [mark.watson ] On Mar 13, 9:42 pm, John Joyce <dangerwillrobinsondan...@gmail.com>
^ Saving and retrieving pictures to a database with rails.
243570 [ljernejcic g] I'm developing an application that requires me to save pictures to a
+ 243571 [lojicdotcomN] Here are some pieces that may help to get you started.
| 243573 [lojicdotcomN] This method stores the image in a file and a URL representing the image
+ 243574 [dangerwillro] Please be a bit more specific with your approach and the troubles.
+ 243973 [boss airblad] It's a tutorial on using Rick Olson's attachment_fu plugin. It can
^ how to add a "static method" dynamic ?
243578 [yananay 126.] now , i know that i can use
+ 243609 [erikveen gma] You can do this by using define_method in the context of the
+ 243612 [robert.dober] There are no static methods, there are only instance methods.
^ Where is my Class ?
243581 [sur.max gmai] There isn't any way to have a class name starting with lowercase letter.
+ 243582 [sur.max gmai] assignment happened LEFT-to-RIGHT
| 243583 [pit capitain] a = Class.new # => #<Class:0x310b640>
| 243591 [sur.max gmai] from your explanation and my perception too it seems that we are not able to
| 243596 [pit capitain] No, no objects are overwritten in Ruby. An assignment like
| 243693 [sur.max gmai] Thanks a lot for explaining.
+ 243590 [sylvain.joye] The first time an anonymous class is assigned to a constant, its name
^ ruby regex lookarounds?
243584 [dolgun excit] The match operators return the character position at which the match
243589 [dolgun excit] I see what's going on. (?:ab) is not a grouping: (?: and ) do not form a
243619 [come.news fr] The syntax (?:re) isn't a lookbehind. It is a grouping form like (re)
+ 243622 [james graypr] Exactly. And just to make this description complete, Ruby 1.8 does
+ 244215 [dolgun excit] I don't understand the distinction.
+ 244218 [shortcutter ] Lookahead and -behind do not consume characters while non capturing
+ 244339 [michael.bevi] Non-capturing grouping is exactly what it sounds like, a group that doesn't
^ Ruby1.8.6, MacOSX Tiger and ssl
243585 [alancfrancis] I've a happily working 1.8.5 installed in /usr/local built according to
^ Watir without a web page?
243586 [rubfor recit] I'm on a filtered connection here which won't let me download Watir so I
244096 [ruby.hardwar] Is this similar to your idea?
^ IDEA: Ruby "offline" CD / DVD
243588 [shaklev gmai] been using Ruby on and off for two years now, but especially lately as I
+ 243594 [phillipsds y] For me personally, this is a great idea. Even having just a
+ 243611 [eleanor game] This sounds like a brilliant idea. Getting a useful Ruby distro into
| 243616 [sonoflilit g] SoC material perhaps?
| + 243617 [robert.dober] A brilliant idea, but you might want to dream even further.
| | + 243620 [alex blackke] Alex
| | + 243631 [eleanor game] Personally I'd be more interested in targeting the OLPC $100 laptop,
| | 243648 [eleanor game] My thought exactly. Imagine a world in which 100 million teenagers
| | + 243680 [martindemell] I've noticed that Ruby is a very "gateway drug" sort of language :) It
| | | + 243887 [rick.denatal] Probably not. I'm not aware of any Smalltalk implementations for
| | | | 243890 [robert.dober] That is nice, can I have an autograph too ;)
| | | | 243896 [rick.denatal] Hey, I'd much rather reminisce about the good old days than have an
| | | | 243898 [robert.dober] Very understandable LOL, but maybe this is a melancholic laugh :(
| | | + 243894 [rick.denatal] Well Dan Ingalls was one of the Squeak developers, and the first
| | | 243897 [robert.dober] Ah I think you are spot on here, and it is nice to see how the open
| | + 243736 [eleanor game] Funny, as a teenage hacker the world didn't look at all like that -
| | + 243785 [no.spam plea] * Relational databases
| + 245308 [helder gmail] That'd be a great idea! There's still time. The description Stian gave
+ 243783 [nguyenduytho] I like the idea to create a CD/DVD to help people use Ruby.
^ Doh! (was Re: Ruby1.8.6, MacOSX Tiger and ssl)
243595 [alancfrancis] It turned out that trtying to 'make' simultaneously with doing an OS
^ Custom CLI
243602 [iiLi58in j-f] I have to create an interface to allow several users to perform various
+ 243606 [a2800276 gma] `readline` is part of the stdlib. It's not documented in rdoc, but
+ 243635 [ara.t.howard] i would customize irb. for example
^ [Google Summer of Code] Port Google Web ToolKit
243604 [mneumann nte] My proposal is to port Google's Web ToolKit [1] functionality to
243614 [mark ociweb.] Seconded! I love GWT, but I've always said the worst thing about it
^ A simple question regarding ruby method argument
243605 [sgwong513 ho] I am new to ruby and am learning it now. Can anyone point me how to pass
+ 243608 [a2800276 gma] irb(main):011:0> class Test
| 243628 [sgwong513 ho] If I have a method which will need to modify the parameter passing to
| 243632 [a2800276 gma] Maybe you could post the source of the method so we can figure out how
+ 243639 [dblack wobbl] You're (almost) always passing references around anyway. Ruby doesn't
^ installation problem on Solaris 2.8 SPARC 64 bit
243613 [csage capita] I am trying to install Ruby 1.8.5-p12 in a non-root user account on a
^ Mouse click with win32api
243621 [esandin gmai] mouse.move_cursor_to( x, y )
+ 243623 [esandin gmai] Sorry, I was to fast to create a post.
+ 243625 [vshepelev im] charset="US-ASCII"
^ Nil Comparable
243634 [transfire gm] Does anyone see anything problematic about this?
243636 [ara.t.howard] it could mask errors like
+ 243645 [koko rpg-fre] The Facets library includes all of the above-mentioned features of
| + 243718 [transfire gm] He he... The code I listed actually came right from Facets :)
| + 243731 [robert.dober] Well I guess Tom knows about Facets Ronnie :)
| 243748 [transfire gm] Yes, and rather surprising at the same time. I'm not sure what to make
| 243778 [robert.dober] As a matter of fact it is remarkable how you use the list as a tool to
+ 243792 [transfire gm] Infinity and _Infinity would be a better fit, I agree. But is it
243800 [robert.dober] Will that be good enough? People will often write their #<=> in classes.
^ Re: [list] Re: GUI With Ruby
243637 [prins ananzi] Yes actually. It's never ever happened to me. Not worth worrying about
243727 [perrin apoth] It has happened to two of my CDRs over the last few years, as far as
^ Problem in Downloading Radrails
243640 [ravi.wish gm] I'm a novice in the Programing on ruby on rails ..
^ Calculating the age given DOB
243643 [kristnjov no] I have a problem. I'm trying to write a simple program which calculates
+ 243655 [lojicdotcomN] (DateTime.now - birthdate) / 365.25
| + 243658 [no spam.plea] That's not very reliable. There are algorithms that calculate
| | 243665 [lojicdotcomN] Do you mind if I ask why you make the statement, "That's not very
| | 243667 [no spam.plea] I have written genealogy software, and sometimes I want to know
| | 243678 [lojicdotcomN] Gotcha. I saw "simple program" and was thinking more in terms of
| + 243660 [kristnjov no] And this would work with Date objects?
| 243664 [lojicdotcomN] Why don't you give it a try?
+ 243663 [Reid.Thompso] rthompso@jhereg:~$ irb
| 243666 [lojicdotcomN] Consider when today.month < bd.month - you'll have an off-by-one error.
| 243674 [pit capitain] age -= 1 if today.month < bd.month || today.month == bd.month &&
| 243675 [dangerwillro] I think we can honestly assume that if you are born on leap day, you
| 244160 [csrabak yaho] In fact a lot of jurisdictions around the world would not _allow_ the
+ 243682 [fred lacave.] Depends on what you want exactly. If you want to compute the "usual"
243700 [pit capitain] Pardon Fred, using #yday would be short and nice, but this doesn't work
243715 [fred lacave.] Yup, you're perfectly right. The following version seems to work, but
243779 [rubynando ya] class Date
243875 [rick.denatal] rick@frodo:/public/rubyscripts$ cat datemath.rb
+ 243948 [B.Candler po] I guess the most generic solution would return the number of [years, months,
+ 243955 [rubynando ya] Very nice piece of code Rick! I'm a Ruby newbee and I find it facinating
+ 243957 [pit capitain] tryit(Date.new(2007,3,1), Date.new(2004,3,1))
+ 243967 [colinb2 goog] Extending the original poster's question, as people here are aware
| + 244005 [fred lacave.] Depending on what you mean with this, I believe Visual Basic (gasp !
| + 244050 [B.Candler po] I remember reading an article about why it can be important though.
+ 244047 [rick.denatal] Thanks, yep my bad!
^ Ruby Favicon
243649 [dangerwillro] charset=US-ASCII;
243699 [sur.max gmai] Thats gr8 !
^ Copying files and changing their names
243650 [asbestos999 ] I have a directory with numerous folders, each of which contains
243654 [stefano.croc] NOT TESTED - make a trial with some useless directory before using it on real
243657 [asbestos999 ] Thank you very much -- that has helped me tremendously. I have one
+ 243676 [asbestos999 ] Ok, so I worked it out myself, as I probably should have from the
+ 243679 [stefano.croc] require 'find'
^ [ANN] Motiro 0.6.3 released - Now available as gem
243651 [thiago.arrai] As you may have already noticed, Motiro is a
^ When introspection doesn't...
243668 [chad.lester ] foo.bar()
243710 [dblack wobbl] irb(main):001:0> class C; def method_missing(m); puts "caught!"; end; end
243762 [chad.lester ] David,
+ 243768 [gwtmp01 mac.] It is possible to use method_missing to catch a call to an undefined
+ 243777 [eden.li gmai] Ah, the magic of AssociationProxy. I ran into weirdness with this
243873 [chad.lester ] Eden,
243944 [eden.li gmai] The power of Ruby :) Everything can be redefined or undefined,
^ Win32/Process at win32utils
243669 [zemariamm gm] require 'rubygems'
243695 [djberg96 gma] What version of win32-process are you using? As of 0.5.0 the
243854 [zemariamm gm] win32-process (0.5.2, 0.4.2)
243856 [djberg96 gma] That's odd. It looks like you're still using the 0.4.2 gem. Do a "gem
243863 [zemariamm gm] I did a
^ question about mod_ruby, eruby and ajax
243677 [feiliu aepne] error. I get the same error in apache error log when I try to view it in
243734 [jan.svitok g] form_remote_tag is from the ActionPack, To be able to use it you need
243821 [feiliu aepne] Thanks for your reply. I am trying out your suggestions, in my case I
+ 243830 [feiliu aepne] I've made some more changes, it seems I am back to the origin again, I
+ 243832 [jan.svitok g] <% require 'rubygems' %>
243871 [feiliu aepne] Ok I worked around this problem by creating a rail project and looking
^ prob with ruby and gtk2 ( glade )
243685 [nephish gmai] lo there all,
^ open4 in standard library?
243691 [andre digira] I was wondering if Ara's open4 extension could be considered for
^ Anyone playing with higher order messaging in ruby?
243692 [lerno dragon] array.each { |entry| entry.do_something(1, "a") }
+ 243698 [lerno dragon] This code adds methods to all enumerables.
| + 243701 [jameskilton ] I haven't personally messed with this kind of stuff but code like this just
| | 243735 [benjohn fysh] I think I must be getting too old, or I'm being a spring time Scrouge...
| | + 243780 [lerno dragon] subscribers.send_message(:chat, @current_user, chat_text)
| | + 243886 [rick.denatal] Yes it's powerful, and it's useful, but it needs to be done with
| | | + 243888 [robert.dober] module Enumerable
| | | | 244074 [rick.denatal] Usually rendered in English as "Great minds think alike."
| | | | 244082 [robert.dober] I can still learn from your modesty :))
| | | + 243959 [shortcutter ] => "foo"
| | + 243972 [lerno dragon] # A chat server where @clients = [connection1, connection2...]
| | 243977 [robert.dober] Do I understand correctly when I remark that a new BroadcastChatPacket
| | 243981 [lerno dragon] No, each_do will only create BroadcastChatPacket once.
| | 244071 [robert.dober] Sure got confused it is evaluated in method_missing only once, good,
| + 244017 [jenda cpan.o] Looks to me that it's easier to extend the Forwarder a bit and implement
| 244024 [gwtmp01 mac.] Somewhat related....
+ 243746 [binary42 gma] def it itify = lambda {|proc| class << proc; self end.class_eval do instance_methods.each {|m| undef_method m unless m =~ /^__/} define_method :__itify__, &itify def method_missing(*a, &b) __itify__(Proc.new {|x|Proc.instance_method(:call).bind(self).call(x).send(*a, &b)}) end end proc } if block_given? itify[Proc.new] else itify[Proc.new {|x| x}] endend
+ 243949 [B.Candler po] If do_something doesn't take any arguments then there's the hack which
| 243970 [lerno dragon] Well, actually you might want to pass around the result of each_do to
+ 244072 [toalett gmai] class Message
^ Re: CruiseControl.rb 1.0
243694 [cohen.jeff g] On Mar 12, 11:27 pm, "Alexey Verkhovsky" <alexey.verkhov...@gmail.com>
+ 243696 [kyleaschmitt] It's not stupid, bu the answer is, to integrate. Yes it doesn't build
| 243703 [alexey.verkh] When it's one developer, no. Multiple developers working on distinctly
| + 243719 [lyle.johnson] Just a side note, but I finally got around to trying out
| | 243729 [alexey.verkh] Just make Ant format JUnit output as HTML, and copy the directory with all
| + 243730 [alexey.verkh] It's a bit more than just a rumor. :)
+ 243702 [tanner.burso] I actually plan on using this FOR .NET development. While CC.Net is useful,
+ 243842 [djberg96 gma] What I would like is for Ruby itself to use CI. That way the core team
243865 [Bil.Kleb NAS] +1
243870 [djberg96 gma] For starters I'd vote they just run against Ruby's builtin test suite.
243904 [alexey.verkh] Once we get Rails well covered on our yet-to-be-built CI rig, we can
^ Windows PATH contains trunk
243697 [donn cmscms.] The following is in my windows path. What is it? My ruby
243732 [jgbailey gma] I'm not sure why that might be, but I'll take the opportunity to plug my
^ Re: java guilt
243707 [dblack wobbl] Feeling squeamish about changing the core language isn't the sole
+ 243737 [rajsahae gma] I've added instance methods to both String and Array. I didn't realize
| + 243740 [perrin apoth] I guess you weren't raised Catholic^H^H^H^H^H^H^H^Hon Java.
| | 243754 [rsanheim gma] I worked in Java for 5+ years, and am coming up on my one year
| | 243755 [james graypr] ...and...
| | 243767 [rsanheim gma] True - and some of the things ActiveSupport adds are things I wouldn't
| | 243769 [james graypr] Exactly. So you are more in favor of the process than you thought. ;)
| + 243756 [dblack wobbl] You shouldn't -- you should just be aware of the potential problems.
| + 243776 [jos catnook.] Are you referring to libraries like `scope-in-state'? AfaIac, these don't do
| | + 243939 [transfire gm] class for another within the scope of another module/or class. I think
| | | 244015 [pit capitain] Tom, what would happen in your implementation if I pass a string from
| | | 244020 [transfire gm] Good point, Pit. The String defined outside would not be effected.
| | + 244014 [pit capitain] Jos, we've talked about this two months ago on ruby-core. Maybe it's
| | + 244019 [transfire gm] I stand corrected. This is a fine interface.
| | + 244088 [jos catnook.] Indeed we did.
| | + 244092 [logancapaldo] What happens if I do
| | 244095 [transfire gm] It should raise an error. #foo is not defined for String in the scope
| + 243802 [michael schu] I seem to remember behavio(u)rs and fluid-let...
+ 243815 [rick.denatal] With great power comes great responsibility!
243903 [ramalho gmai] I'll borrow a quote from Alan Runyan (one of the creators of Plone),
243926 [paulo flying] Great! Now I am feeling a bit better knowing that I am not the only one with
threads.html
top