234804-236863

234645-238016 subjects 234950-236166

^ Reading Data from a Website
234804 [anon1m0us ya] No clue how to do this. My program to go to a website and read data and
+ 234806 [andy petdanc] Look at WWW::Mechanize.
| + 234811 [anon1m0us ya] Is that a website? Where do I see that stuff?
| + 234817 [andy petdanc] drudgery.
+ 234825 [peter rubyra] It would need some polishing and adding HPricot there (working on it
| 234934 [gavbaker acm] After finding your article on screen scraping *very* useful, I'm
| 234938 [peter rubyra] I am happy to hear this... Web scraping can be very-very-very tedious,
+ 234920 [boesemar gmx] Martin
| 234940 [ssmoot gmail] Probably better to get familiar with Net::HTTP, but when that gets
+ 235183 [alex_f_il ho] You can try SWExplorerAutomation SWEA (http://webiussoft.com)

^ IMAP stuff (or POP)
234813 [phil basicmi] I've been trying to find a good source of imap or pop information with
+ 234914 [boesemar gmx] If it is an option for you, try downloading the entire mail and use tmail or
| 235165 [drbrain segm] No need.  The IMAP RFC, like most RFCs, takes a little practice to
+ 235164 [drbrain segm] I think that BODY[1] means grab the first section of the message

^ Parsing data trouble
234818 [jplantz gmai] Late in the day and I've hit a wall. Any help is appreciated.
234837 [matt.gillool] Array_Grid_Header += sth.column_names.collect{|c| c.upcase}
+ 234931 [jplantz gmai] Hey man. That was what I needed. I still don't have the data parsed
+ 234944 [jplantz gmai] Hey man. That was what I needed. I still don't have the data parsed

^ undefined method `refresh' after rubygem 0.9.1 upgrade
234823 [stephen.bann] gem update
+ 234828 [drbrain segm] gem sources
+ 234829 [stephen.bann] and had this problem

^ [ANN] fastthread 0.6.2
234847 [mental rydia] It looks like I got too creative in 0.6.1 and consequently ran afoul of
+ 234874 [tim.pease gm] Does fastthread allow you to see who has the lock on the mutex?  Sync
| 234960 [mental rydia] fastthread is just a re-implementation of the standard API offered by
+ 234888 [dudu dudu.ro] Any reasons for not including it in the standard ruby library?
  234956 [mental rydia] I want to make sure it's sufficiently polished, first.  Then I will

^ Gem install extension in sub-directory under lib?
234848 [reidmo gmail] I am in the process of setting up the Gem install packages for Ruby WMQ.
234875 [reidmo gmail] Finally found the solution by digging through other projects on

^ [ANN] Upcoming Madison, WI Ruby/Rails events
234849 [rsanheim gma] We have a bunch of events planned for the next month  -- if you are in
234851 [andy petdanc] Please feel free to add your events to the Chicago Perl Mongers
234853 [rsanheim gma] Generally, they are informal meet ups -- attendance has ranged from a

^ Recursive send
234852 [curtis.summe] I posted this to the Dallas Ruby Brigade, but thought it might be
235362 [dan-ml dan42] A word of warning: I once thought of using that same functionality in order
235459 [curtis.summe] Well, if you are going to send an unescaped, form submitted value to
235637 [dan-ml dan42] Heheh. True to a certain extent, but while sending an unescaped string to

^ [ANN] Rails 1.2: REST admiration, HTTP lovefest, and UTF-8 celebrations
234854 [david.heinem] Get out your party balloons and funny hats because we're there, baby.
234857 [tom infoethe] Awesome.  Props to you and your crew for this superb framework.

^ [ANN] RSpec 0.7.5.1
234858 [dchelimsky g] Announcing the release of RSpec 0.7.5.1.

^ Dir.tmpdr mac os x
234871 [beingthexemp] Hey All,
234873 [beingthexemp] I got it.. I had to require 'tmpdir'.. duh.
234878 [djberg96 gma] There's nothing 'duh' about it. It should be core. Having to require a
234881 [beingthexemp] yeah I agree. but still.. if it is undefined.. the first thing you check is

^ WEBrick cookies not persisting?
234882 [beingthexemp] Has anyone had any experience on mac os x with WEBrick and cookies not
235030 [aaron_patter] Have you tried looking at the headers returned from WEBrick?  Try using

^ local variable assertion
234884 [dflanagan gm] I've started studying Ruby, and while I like it, one thing that bothers
+ 234885 [dflanagan gm] Funny wordwrapping of the code and comments in that post...
| 234887 [rsanheim gma] Without diving too much into the implementation of this, I would say
| 234991 [dflanagan gm] Rob,
+ 234930 [GGarramuno a] I think it is more theoretical, as that would indicate you are really
  234997 [dflanagan gm] I disagree.  Local variables are used most often.  I see a good chance
  + 235003 [ara.t.howard] i've been writing ruby in production 90% of my coding time for nearly 6 years
  | 235007 [dflanagan gm] It changes it because you fail-fast with a NameError rather than
  | 235025 [ara.t.howard] but you could fail faster?  by the time you decide the names you will use
  + 235104 [GGarramuno a] Ah, I see. Sorry, I did not catch that from your docs.  It is indeed an

^ Debugger strangeness
234886 [jos catnook.] class Foo

^ rubyforge.org questions
234889 [peter rubyra] 1) How do I activate commit diff mails?
+ 234898 [tom infoethe] Hm... that's a good question.  I'm not sure.  When I create the svn
+ 234901 [jan.svitok g] If I understand correctly, those are just normal directories, i.e.
  234908 [vincent.four] svn mkdir svn+ssh://your-name@svn.rubyforge.org/project/trunk
  234909 [tom infoethe] Very interesting!  I should add this to the RubyForge FAQ...
  234910 [peter rubyra] Tom,
  234912 [tom infoethe] Hm... yup... any svn experts want to weigh in here?  I mean, is it
  + 234913 [peter rubyra] With a serious project, absolutely. If you want to make some releases
  + 234915 [vincent.four] symlink is not possible (at least from what I know) in subversion.
    + 234916 [peter rubyra] I absolutely agree! Basically this is what I wanted to say :-)
    + 235877 [tom infoethe] Vincent, thanks for the note.  I've added this as the start of a FAQ
      235878 [vincent.four] svn mkdir svn+ssh://devel@rubyforge.org/var/svn/project/trunk
      + 235881 [tom infoethe] Thanks, updated!
      | 235885 [peter rubyra] A big thanks to both of you guys! Great job.
      + 235933 [ben bleythin] You can add -m and a message to each to keep it from opening an editor

^ transform non-english text
234894 [hugo.mag gma] I have a Ruby aplication that deals with non-english text and I want to
+ 234917 [boesemar gmx] I don't think there is a unified mapping table to transform non-[^a-zA-Z0-9]
| 235096 [hugo.mag gma] Thanks for your help.
+ 234921 [fred lacave.] You could try with Iconv to convert from your encoding to ASCII.  Quick
  235641 [dan-ml dan42] iconv translit is really nice... when it works. It works on our FreeBSD

^ www.OutpatientSurgicare.com/video/
234895 [freelapbands] www.OutpatientSurgicare.com/video/

^ Ruby now listed on Update-Scout.com
234900 [kullmann ele] Ruby has just been added to Update-Scout.com, an interactive web

^ OFFTOPIC: How to pronounce Ruby?
234902 [peter rubyra] Is it more similar to 'dummy' or 'dubi(ous)'? (or neither :-)
+ 234903 [robert.dober] OT but very useful for all non native speakers :)
+ 234904 [stephen.dunc] It's pronounced roo-bee (so, like dubious).
| + 234906 [ariekusumaat] I wonder why Matz didn't give Ruby name with Kanji letters.... and
| | 234907 [dblack wobbl] Matz has said that a Ruby practitioner is a Rubyist.
| | 235012 [flori nixe.p] I am still waiting for Matz to record this "I am Yukihiro Matsumoto and
| | + 235422 [ariekusumaat] Thanks David.
| | | 236419 [matz ruby-la] I pronounce Ruby as lu-bee when I speak in Japanese, and Ruby (as red
| | + 236417 [matz ruby-la] Maybe at the next conference.
| |   236474 [flori nixe.p] Yeah, this would be great. It sure will top growing this beard! ;)
| + 236397 [pete notahat] Dubious is only pronounced doobious if you're American. :)
|   236399 [peter rubyra] Well, I am Hungarian :-) (btw in Hungarian, Ruby is pronounced as in
+ 236428 [gavin refine] I believe it is pronounced exactly the way the english word with the

^ Fwd: Please Forward: Ruby Quiz Submission
234923 [james graypr] charset=US-ASCII;

^ multi frame image viewer not updating
234924 [rajsahae gma] have just overlooked something simple.  I am making a program that has a
234952 [lyle.johnson] It looks like you aren't calling create() on the new FXImageFrame
234992 [rajsahae gma] Thanks for the link to the mailing list.
235033 [lyle.johnson] Yes. If you are creating any resource, whether it's an image, an icon,
235065 [rajsahae gma] I already call create on the instances of FXJPGImage, I need to call it
235066 [rajsahae gma] I read the link, nevermind.  Let me work on it some more. . .
235092 [rajsahae gma] So I read through that faq, learned a couple things, but I'm still

^ [QUIZ] Method Auto Completion (#110)
234927 [james graypr] 1.  Please do not post any solutions or spoiler discussion for this quiz until
+ 235271 [dontfall gma] Last week I was kind of embarrassed that Bob chose to feature my late,
+ 235273 [kbloom gmail] Returning an array when the answer is ambiguous is a very bad way to do
+ 235275 [ml-ruby dedi] Here is my solution.
+ 235282 [m.fellinger ] My Solution doesn't pass all tests, since i think that when a method
| 235284 [m.fellinger ] somehow it didn't set highlighting to ruby...
+ 235369 [danfinnie op] This is my solution.  Probably my fastest and shortest ruby quiz
  235462 [donald.ball ] charset="us-ascii"

^ Automatically Determining "Requires" and "Provides" information for a Ruby script or library
234935 [scott.parker] I'm looking to write a script that examines one or more scripts
+ 234989 [gwtmp01 mac.] I don't think this is technically possible because of the dynamic
| 235022 [scott.parker] I think you are right, so let me amend my request a bit.
+ 235378 [rubyzbibd ub] I have a tool in the kwala project on rubyforge that attempts to

^ Copying strings
234941 [ramsayw1 com] I can't believe this hasn't been answered a thousand times, but I can't
+ 234943 [peter rubyra] why not
+ 234947 [w_a_x_man ya] Your code sample doesn't run at all.  Here's one that does.
  234976 [ramsayw1 com] dup did the trick!    Thanks a million

^ [ann] rb-appscript 0.3.0 released
234942 [has.temp3 vi] Announcing the release of rb-appscript 0.3.0, a high-level,

^ DRb and catching connection close
234948 [kwizou gmail] I post here as i have a problem that i can't fix with DRb, i made two

^ Minor Change Proposal for Classes 'Object' and 'Method'
234949 [wonado donne] Minor Change Proposal for Classes 'Object' and 'Method'
+ 234953 [matz ruby-la] Why object_id?  Isn't it more useful to return the receiver itself,
| + 234959 [wonado donne] I agree, because I'm only interested in the information at all. If you find a
| | 234964 [invalid gmx.] May you elaborate? Where do you need pattern matching here?
| | + 234966 [matz ruby-la] I think he supposed receiver returns above string, but it doesn't.  It
| | | 234968 [wonado donne] I see - I thought it is a string, sorry.
| | + 234967 [wonado donne] myhi.receiver.match(/:([^>]+)>/)[1] # => "0xb7d5ff40"
| + 234963 [invalid gmx.] I agree here.  Furthermore I think that #name would be a better name, in
| + 234972 [matz ruby-la] Wolfgang's proposal can be divided into three methods.
|   + 234975 [brad bradedi] I'm kind of partial to #owner myself.
|   + 234979 [ara.t.howard] object.where? "method_name"  # returns nil if not defined
|   + 234981 [djberg96 gma] Method#parent
|   + 234985 [vincent.four] What about origin ? Or even of ?
|   + 234998 [gwtmp01 mac.] Method#receiver
|   | 235032 [vincent.four] I vote for the last one too !
|   | + 235095 [wonado donne] I don't think it works well with "Kernel#origin(name)" because the lookup result
|   | + 235114 [wonado donne] An additional method "Kernel#origin(name)" will be helpful, if the method is
|   |   + 235116 [gwtmp01 mac.] I was assuming that Method#origin and Kernel#origin would both
|   |   | 235118 [wonado donne] Sorry, I am a little bit confused in the moment...
|   |   | + 235120 [gwtmp01 mac.] No. the return value isn't the object_id (a Fixnum).  It is a
|   |   | + 235123 [gavin refine] Definitely not. See my other post; #origin (or #owner, or whatever)
|   |   |   235132 [wonado donne] I'm sorry - it came from tom much writing "Method" versus "method" and "class
|   |   + 235122 [gavin refine] Could you explain what you mean by this? I would assume that this would
|   |     235140 [wonado donne] This is what I need.
|   + 235124 [shortcutter ] I opt for "defining_class", because this precisely states what it
|   | 235126 [gavin refine] 1) The fact that there are some methods which are a pain to type does
|   | + 235131 [dblack wobbl] Uh oh, I think we're headed to 'eigner' :-)
|   | | 235139 [gavin refine] LOL :)
|   | + 235137 [shortcutter ] Exactly.
|   |   235144 [dblack wobbl] I think you're right, because objects don't have methods, only classes
|   |   + 235147 [gwtmp01 mac.] We are talking about the information encapsulated in an instance
|   |   | 235149 [dblack wobbl] I guess I find that a bit anomalous because it's calling a the
|   |   + 235148 [wonado donne] "Method#bind" creates an object which contains a fixed object an a fixed method.
|   |     235150 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
|   |     + 235151 [vincent.four] What about 'target', then ? It shows that it is not necessary the
|   |     | 235235 [shortcutter ] Go for it!  "target" sounds perfect to me.
|   |     + 235153 [gwtmp01 mac.] Yes, but there are two different messages being sent to two different
|   |       235155 [dblack wobbl] My problem with using "receiver" this way is that it's detached from
|   |       235166 [dblack wobbl] I'll add that, though it's a subtle point, I don't think that objects
|   |       + 235167 [wonado donne] This means, that the object bound into a Method object should be named something
|   |       + 235192 [gwtmp01 mac.] I don't recall any suggestion that objects receive 'methods'.
|   |         235238 [dblack wobbl] I don't view the binding as conditional; I just don't think the word
|   |         + 235254 [wonado donne] I think "a" receives the message "x" only in the first case. The second one
|   |         | 235262 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
|   |         | 235274 [wonado donne] "mo = a.method(:x)" creates a new object "mo" of class "Method", which contains
|   |         | 235280 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
|   |         | + 235285 [wonado donne] I see - I'm not used to use often English since a while, so these details were
|   |         | | 235296 [robert.dober] I do not want to play the wise guy, but what David said took me a very long
|   |         | + 235347 [matz ruby-la] "a.method(:x)" looks up a method corresponding message :x, so that we
|   |         |   235352 [dblack wobbl] I disagree; I don't think it's natural in context, because "receiver"
|   |         |   235354 [matz ruby-la] I am not sure the difference between dynamic and reflective.
|   |         |   235361 [dblack wobbl] What I mean is: the object becomes a receiver because it actually
|   |         |   + 235387 [gwtmp01 mac.] In my mind, the Method instance represent that future event.  It is
|   |         |   | 235442 [dblack wobbl] I understand what you mean about the future event, but I'm still not
|   |         |   + 235388 [matz ruby-la] Ordinary message passing
|   |         |     235443 [dblack wobbl] I think the possible confusion can be avoided, so I'd rather avoid it.
|   |         |     235448 [matz ruby-la] Hmm, OK, what terminology do you use for "this" (or self) in languages
|   |         |     235567 [dblack wobbl] I don't know, in terms of the other languages.  I don't think it's
|   |         |     235575 [matz ruby-la] The term 'bound_object' is not suitable for the Method object model in
|   |         |     + 235578 [ara.t.howard] 'receiver' makes perfect sense to me.  so does 'this'.
|   |         |     | + 235582 [dblack wobbl] I don't think "this" works for, ummm, this.  How would you infer that
|   |         |     | + 235653 [robert.dober] it does not make sense to me, it is only a potential receiver at the time
|   |         |     |   235680 [pit capitain] To me, the main point of this discussion so far has been whether we
|   |         |     |   + 235684 [ara.t.howard] very good points.  frankly, i find the 'potentiality' arguments silly since
|   |         |     |   | + 235686 [robert.dober] I completely agree, but I feel that the argument teaches me a lot.
|   |         |     |   | | + 235691 [ara.t.howard] sorry to offend - i wasn't even trying to stir the pot!  i chose the 's' word
|   |         |     |   | | | 235694 [robert.dober] There are few people that could offend me, you can, you did not but I found
|   |         |     |   | | + 235849 [pit capitain] ma = a.method(:x)
|   |         |     |   | |   235951 [gwtmp01 mac.] In going back through this thread I realized that I hadn't understood
|   |         |     |   | + 235715 [dblack wobbl] m = a.method(:x)
|   |         |     |   |   + 235721 [transfire gm] I would avoid using the term 'reciever' for wholly different reason --
|   |         |     |   |   + 235724 [gavin refine] I love the direction and depth that this discussion has taken and
|   |         |     |   |   + 235757 [robert.dober] Sorry Ara I promised to bail out but I am just asking a question, just too
|   |         |     |   |   + 235779 [gwtmp01 mac.] surprise ending. At least it surprised me and I even think David will
|   |         |     |   |     235780 [gwtmp01 mac.] If you haven't read the parent message to this, this won't make any
|   |         |     |   + 235690 [dblack wobbl] If I can send people to you when they ask for an explanation of the
|   |         |     |     235699 [gavin refine] FWIW, it totally makes sense to me for "m.receiver" to return the
|   |         |     |     235703 [technodolt g] To me (whom no one knows, or probably cares about), calling it target would imply that it could be changed... calling it receiver correctly implies the context of immutability.
|   |         |     + 235580 [dblack wobbl] I can give you the very basic idea (and that will save me some further
|   |         |       + 235583 [wonado donne] I Think its a typo - you mean "=> MethodData object" !?
|   |         |       | 235584 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
|   |         |       + 235603 [ara.t.howard] MatchData ??
|   |         |       | 235651 [dblack wobbl] Typo :-)
|   |         |       + 235613 [gwtmp01 mac.] I don't understand why you are adding another level of indirection.
|   |         |         235652 [dblack wobbl] Just trying to accomodate the "receiver" label in a context where it
|   |         |         235654 [matz ruby-la] Perhaps the message was sent to the object a for both cases.  In the
|   |         |         235659 [dblack wobbl] That's a much more general idea of "receiver" than I'm used to.  I
|   |         + 235356 [gwtmp01 mac.] Sure but I think you've confused the issue a bit by using assignment,
|   |           235363 [dblack wobbl] m = a.method(:x)
|   |           235383 [gwtmp01 mac.] Sure, but I wasn't talking about one or the other but the
|   + 235491 [chneukirchen] While we are at it, can we please have UnboundMethod#to_proc?
|     235506 [gwtmp01 mac.] This doesn't make sense.  Without an object bound to the method
|     235508 [gavin refine] class Foo
|     + 235538 [gwtmp01 mac.] But 'self' is still defined within that block even if it isn't
|     + 235743 [chneukirchen] Anyway, the case was I had a callback that was a module method, and I
+ 236278 [wonado donne] I don't know where to put this message into the very large discussion tree, so I
| 236281 [wonado donne] Sorry, I didn't recognize, that this was already named. More than 90 posts in
+ 236863 [wonado donne] I don't know how you handle "Change Proposals" for Ruby. Implement them silently
threads.html
top