168549-170827

168352-169588 subjects 168719-173263

^ Using an HTTP proxy to record web traffic
168549 [dan dankohn.] As part of debugging WWW::Mechanize, I realized that the best way to
168553 [ruby-talk wh] MouseHole is a scriptable proxy.  <http://mousehole.rubyforge.org/>
168577 [dan dankohn.] Very helpful, why, thanks.  I presume I would need to use something

^ [OT] Studying in the US
168557 [daniel.schie] I've been on this list for a little while now,and I feel like you're all
+ 168560 [mrkode gmail] here in sweden they pay your tuition fees when studying abroad. I suppose
+ 168565 [collinsj sea] Just so you know, UC Berkeley is a VERY good school.
| + 168580 [vjoel path.b] True, but out-of-state tuition has increased dramatically in the last
| + 168592 [ptkwt aracne] Very good and very difficult to get into.
+ 168575 [M.B.Smillie ] If you're not enrolling full-time at a university for the entire
| + 168582 [michael.schw] Congrats on (nearly) finishing your preparations for college.  It's a
| | + 168583 [corey synthe] Geez. If our country is so despicably horribly why don't you just
| | | + 168589 [hal9000 hype] Thank you, well said.
| | | + 168598 [michael.schw] Don't take it so hard.  I'm not trying to hate on the US, just trying to raise
| | + 168584 [joevandyk gm] Ok, this is getting quite OT from the original OT post.
| | + 168628 [daniel.schie] Thank you for your reply. I know that studying in the US will be very
| + 168627 [daniel.schie] Thank you very much for your detailed reply!
+ 168591 [ptkwt aracne] US schools (even public ones now) are extremely expensive.
| + 168597 [blargity gma] Seconded.  And before I get yelled at for not moving out of the states, I did,
| + 168629 [daniel.schie] Yes, I know that Europe's a lot cheaper. I'm still considering it, but,
|   + 168638 [khaines enig] When I went to college in 1989, I went to the University of Wyoming.  In my
|   | 168642 [blargity gma] Actually, no, at least not until he gets state residency (Wyoming state
|   | 168665 [khaines enig] $700 * 12 = $8400
|   + 168653 [ptkwt aracne] Sounds like a  sweet deal.  Believe me, we have nothing like that in the US.
+ 168611 [jeff schwabc] I got my undergraduate degree in Computer Systems Engineering at Boston

^ Range oddity
168561 [adam.shelly ] I was playing around ranges of strings after that post about
+ 168562 [dblack wobbl] $ ruby -ve 'a = "1"..["10"]'
| 168596 [adam.shelly ] oops, my bad.
+ 168619 [sgentle gmai] If anyone's curious about the internals behind this - I had a look

^ Re: Studying in the US
168566 [sillydevelop] As is Carnegie-Melon.

^ [tk]  Image and Text in TkButton?
168568 [fkc_email-ne] How do you put both an image an text into a button.  It seems
168609 [nagai ai.kyu] 'compound' option is supported by Tcl/Tk8.4 or later.

^ POP3 and SMTP with SSL support
168593 [zimba.tm gma] recently, I wanted to use ruby to connect to my gmail accout. Gmail
168957 [meta pobox.c] TLS isn't part of the SMTP protocol, it's an extension to it. So the

^ Curses about libcurse
168595 [zimba.tm gma] I hate curses. Not that much, but it's really not that easy to build
+ 168603 [tsumeruby ts] Join the club
| 168606 [reyn.vlietst] would benefit greatly from some sort of improved text library
| 168646 [zimba.tm gma] Maybe we can work on something. I looked at rush some time ago and it
+ 168645 [lymans gmail] Is there something specifically that you've been trying to do but couldn't?
  168648 [zimba.tm gma] in brief, you can do anything with curses. You can write text on the
  168713 [reyn.vlietst] Oh, I missed the replies.

^ Encounter troubles with Regex in Chinese text splitting
168604 [meng.yan gma] I'm a Ruby newbie. I'm writting a program to process a big chunk of
168605 [phasis68 hot] Try the script with $KCODE = "E"
168621 [meng.yan gma] It works. Thank you very much!
168625 [phasis68 hot] $KCODE is the character coding system Ruby handles. If the first character

^ Calling ASP C# web service from Ruby?
168610 [mmm olsendar] attempting to call a soap web service written in C# and hosted w/ IIS
168652 [tsumeruby ts] Remember, theres a certain company who likes to break every standard in the

^ Regex: except when
168612 [basi_lio hot] I haven't grokked how to include an exception to a condition in a
168613 [jeff schwabc] consonant = '[bcdfghjklmnpqrstvwxyz]'
168614 [basi_lio hot] Thanks much! I haven't tried it yet, but it looks so elegant it must
168615 [jeff schwabc] One thing I screwed up:  If you want to avoid strings that contain ng
168635 [basi_lio hot] Yes, this one catches initial and final occurences as well. Much

^ c_mp3tag -- looking for pre-built binaries
168618 [andlind gmai] I've been looking for a mp3 tag ruby library and I found one that looks

^ Re: string range membership
168620 [transfire gm] Very nicely put. I wish I were as gifted at explaining things. Thanks

^ #append_features deprecated?
168623 [transfire gm] Somone else mentioned this. Is it true?
168624 [dave burt.id] This says Module#included " should be used in preference to
168631 [daniel.schie] module M
+ 168632 [decoux moulo] moulon% cat b.rb
| 168640 [daniel.schie] Um, yeah. `append_features' does the actual work (appending the methods
| + 168641 [decoux moulo] yes, and this is why you must call super in #append_features (if you
| | 168650 [daniel.schie] Yup.
| + 168659 [transfire gm] It does? Looking at the C code it seems a lot more complicated then
|   168697 [daniel.schie] I'm sure there's more to it, but from a user's perspective I believe
+ 168633 [daniel.schie] Oooops, #append_features is private, so it should be

^ ruby with OLAP?
168626 [ben factsali] I'm looking for FOSS OLAP solutions that would be easily integrated with
168644 [rdm cfcl.com] A number of interesting tools are being written in Java.  I'd be

^ [BUG] in maildir.rb
168630 [wybo servaly] mailread separates messages using /^From / (line 29)B

^ Re: Weird Numbers (#57)
168636 [hcatlin gmai] Meh. I've done it (dont' worry, not posting it...), but this thing's
168637 [james graypr] When this quiz was posed to me, the creator thought it would be
168649 [hcatlin gmai] I have a feeling we have the same idea.
168651 [james graypr] Code it up and send it in tomorrow.  I'll create my idea if I don't
168669 [nmorse gmail] I can see how 70 is a "weird number" (divisors 2 + 5 + 7 + 10 + 14 + 35
+ 168670 [james graypr] You're using the same factor twice in there.  That doesn't seem right...
| 168673 [nmorse gmail] True, the only factors of 836 are 2, 11, and 19.  I just meant to point
| 168680 [p.capriotti ] irb(main):001:0> (1..836).select{|d| 836 % d == 0}
| 168681 [nmorse gmail] Simon's right.  I definitely need more sleep.
| 168724 [hcatlin gmai] This thread was getting a little crowded, so I started a new one for
+ 168671 [SimonKroeger] erm, if 2 is a divisor 836/2=418 should also be, hmm?
  168672 [nmorse gmail] Ah ha.  That's exactly what I was looking for.

^ [ANN] Refresh Phoenix (Not-quite-but-leading-to Phoenix.rb) December 6
168647 [james_b neur] The 2nd meeting of Refresh Phoenix will be held this coming Tuesday,

^ [ANN]  Ruby Code & Style is looking for articles.
168655 [james_b neur] Request for Article Submissions
170716 [agorilla gma] Don't know if you ever got any replies to this, but I'd like to
170720 [james_b neur] The response was nothing close to what I had hoped.  But I, too, would
+ 170782 [kevin.jackso] I'd like to contribute, but I'm so bogged down here right now that I
+ 170827 [ptkwt aracne] I'd like to 'sign up' to do an article on creating DSLs with Ruby, though I

^ Ruby Distribution
168658 [jfaulkenberr] I am a C programmer that is beginning to see the network capaibilities
168660 [james_b neur] This topic comes up regularly, so search the archives for more details.

^ any mirrors for martinfowler.com?
168663 [agorilla gma] Seems his main sites are down.  Anybody know of any mirrors?
168666 [vanek acd.ne] I don't see any martinfowler.com 2005 archives, but there are a bunch for 2004.
168705 [agorilla gma] Thx much, wanted newer stuff.

^ openssl help
168664 [runner berke] signature....I think.  Anyway, the openssl library does not seem to have

^ Help converting DateTime from UTC
168679 [rubyforum gm] equivalent.
+ 168682 [khaines enig] Kirk Haines
| 168694 [rubyforum gm] thanks. That did it.
+ 168683 [phasis68 hot] Try

^ Neural Network library?
168684 [Russ psyex.c] I couldn't find a Ruby-based neural network library.  Anyone out there secretly developing one, or writing a Ruby wrapper for?  Ideally, I'd like to use something for educational purposes like T-learn, but better and in Ruby.
168686 [ara.t.howard] FANN is Fast Artifical Neural Network Library.
168692 [Russ psyex.c] Very cool.  Thanks.  Have you played around with RBSNNS at all?
168693 [ara.t.howard] i have not.  i'd love an assement though ;-)

^ RCRchive is down
168689 [dblack wobbl] My server suffered a hard disk crash, and RCRchive is down.  I don't know
168704 [tsumeruby ts] You are welcomed to use my server facilities until you get your drive back up.

^ Re: Welcome to our (ruby-talk ML) You are added automatically
168690 [datadays lyc] # help

^ injecting dynamic methods into a class
168699 [zjll9 imail.] I posted this message to the Ruby on Rails group yesterday, but I
+ 168700 [dblack wobbl] I don't know if this is an exact fit, but I've tried to model it on what
+ 168702 [transfire gm] If you don't mind while I'm at this I'm going to touch up the code to
  168825 [zjll9 imail.] I don't mind at all.  I'm new to ruby so I haven't picked up on the
  + 168826 [zjll9 imail.] require 'RMagick'
  | + 168827 [zjll9 imail.] ImageBlob.inject_attrib_assign_methods( { "image" => 225,
  | + 168833 [transfire gm] def ImageBlob.inject_attrib_assign_methods
  |   + 169007 [zjll9 imail.] I agree with the name change.  However, the class isn't instantiable, so
  |   | + 169008 [zjll9 imail.] require 'RMagick'
  |   | + 169009 [zjll9 imail.] Oops.  I guess 'self' in that context refers to the module or class??
  |   | | 169018 [transfire gm] Nope, that's it exactly.
  |   | + 169015 [transfire gm] Sure it will. 'self' just refers to the current context, in either case
  |   |   169031 [rosco roscop] I know I'm new, but humour me if you will ?
  |   |   + 169034 [hal9000 hype] [snippage]
  |   |   | + 169042 [zjll9 imail.] Hal,
  |   |   | + 169069 [rosco roscop] Now I've spent some time with the lingo, I'm not especially bothered
  |   |   + 169046 [transfire gm] There has been much discussion about this. The problem with the term
  |   |     + 169047 [transfire gm] I felt the same way at first, until I started using it, keeping in mind
  |   |     | 169462 [zjll9 imail.] That's really interesting.  It's unfortunate that the most common use of
  |   |     | 169468 [zjll9 imail.] Just to clarify (I hadn't finished reading all the posts when I made the
  |   |     | + 169471 [matz ruby-la] Nope, just because it's not static at all.
  |   |     | | 169481 [zjll9 imail.] see <a
  |   |     | | + 169483 [zjll9 imail.] Oops, meant to say 'doesn't change any non-static (or non-class-wide, or
  |   |     | | + 169496 [matz ruby-la] I thought we were talking about so called singleton classes, right?
  |   |     | |   169518 [zjll9 imail.] Well, I thought we were talking about classes which contain only class
  |   |     | |   169538 [matz ruby-la] Nevermind.  I was confusing const and static.  Silly.
  |   |     | + 169472 [logancapaldo] Well the easy way is
  |   |     | | 169488 [zjll9 imail.] Ahh.  That makes sense.
  |   |     | + 169500 [gwtmp01 mac.] Yes but we don't have Class#member, Class#method, Class#member_method,
  |   |     |   + 169503 [dblack wobbl] I'm hoping my Kernel#singleton_class RCR will get approved in some
  |   |     |   + 169521 [zjll9 imail.] Ahh.  Ok.  I think I also gathered from other posts that it also helps
  |   |     |     170026 [dblack wobbl] Do you know what the word "simpleton" means?  It's really not a
  |   |     |     + 170033 [zjll9 imail.] <code>
  |   |     |     | 170052 [dblack wobbl] In Ruby it's just known as a class :-)  I'd highly recommend not
  |   |     |     + 170046 [dooby d10.ka] Please Ignore.
  |   |     + 169054 [dblack wobbl] This subject used to be approached in the spirit of making suggestions to
  |   |     | 169087 [transfire gm] Well, I think matz has never made a fird decision on it, and it seems
  |   |     | + 169086 [transfire gm] s/fird/firm/
  |   |     | + 169098 [dblack wobbl] I don't know what you mean about Matz not having made a firm decision.
  |   |     |   169160 [transfire gm] Okay David, its obvious you're getting upset. Though you say the
  |   |     |   + 169165 [dblack wobbl] I almost literally can't believe my answer to this isn't clear from what
  |   |     |   | 169169 [transfire gm] Standards? Alright genius, why don't you use the the term "virtual
  |   |     |   | + 169170 [dblack wobbl] My problem with virtual is that singleton classes aren't virtual.
  |   |     |   | | + 169174 [vjoel path.b] Maybe we should just call it the "double left angle bracket" class, as
  |   |     |   | | + 169178 [gwtmp01 mac.] too much semantic overlap with C++ usage
  |   |     |   | | + 169184 [mental rydia] I don't know, man.  Personally at this point I think we should stand
  |   |     |   | |   + 169187 [dblack wobbl] Natural selection isn't connected to what we're talking about.  If you
  |   |     |   | |   | + 169223 [mental rydia] I think the disadvantages to the alternate terminology have been laid
  |   |     |   | |   | | + 169226 [mental rydia] And, lest this be misconstrued, I don't think this is at all
  |   |     |   | |   | | + 169243 [dblack wobbl] Absolutely.  As I said in my second or so post about this, the ship
  |   |     |   | |   | |   169306 [mental rydia] I mainly intended to raise the question of whether bringing social
  |   |     |   | |   | |   + 169336 [leavengood g] Here we go again with the endless discussion threads. I guess most of
  |   |     |   | |   | |   | + 169352 [transfire gm] A Ruby TRAITOR? Because I offer up opinions, options and interesting
  |   |     |   | |   | |   | | 169358 [leavengood g] ROFL. OK maybe traitor was a bit too dramatic. But this response was
  |   |     |   | |   | |   | | + 169475 [transfire gm] Cool thanks. I hope you find a "gem" of use to you.
  |   |     |   | |   | |   | | + 169476 [transfire gm] Hey, thanks. That would be great! I hope you find some the "gems"
  |   |     |   | |   | |   | + 169361 [bob.news gmx] You just made a case for sticking to "singleton class". :-))  I for my part
  |   |     |   | |   | |   + 169362 [dblack wobbl] Can't we just look at this as what it is, instead of finding a huge,
  |   |     |   | |   | + 169281 [martindemell] Note that the language itself doesn't call it *anything*. Indeed, there
  |   |     |   | |   |   169292 [dblack wobbl] I think that might change, though (I hope), once a long-term decision
  |   |     |   | |   |   169377 [martindemell] A very palpable hit :)
  |   |     |   | |   |   169381 [dblack wobbl] Or at least a frequently-used one :-)  I know it's possible to discuss
  |   |     |   | |   + 169263 [dooby d10.ka] But, IIUC, slaughter is frowned upon by civilised communities?
  |   |     |   | |     169364 [dblack wobbl] "[Ruby], red in tooth and claw" :-)
  |   |     |   | + 169251 [james_b neur] Can we keep this civil?
  |   |     |   |   169255 [transfire gm] I wasn't really insulting him. Just putting it back on him, so to
  |   |     |   + 169249 [matz ruby-la] Perhaps, I was drawn in the flood of ruby-talk mails (and spams).
  |   |     |     169250 [transfire gm] Yes, that happens sometimes doesn't it. But I didn't mean that you
  |   |     + 169072 [rosco roscop] I had the feeling this was something of an ongoing issue from the
  |   + 169013 [zjll9 imail.] I've always heard 'accessor' refers to a get_prop method and 'assigner'
  |     169017 [transfire gm] attr_accessor :a
  + 168831 [transfire gm] Understandable. As you've noticed Matz prefers underscores and

^ Updating the original reference of a variable
168701 [david koontz] I'm working on a library similar to what DL does and I'm having a
+ 168810 [logancapaldo] No. Consider changing the mapping into one that returns multiple
+ 169217 [halostatue g] Ruby's variables don't work that way.

^ [ANN] Ruby Reports Mailing List
168703 [gregory.t.br] For those who are interested, I've created a mailing list for Ruport.

^ gem install rails hangs
168706 [bauer.mail g] Doesnt looks rails-specific, any gem will hang after I get the followin
168715 [vanek acd.ne] just talking out loud here, trying to rule out the obvious.
168777 [bauer.mail g] Thanks for the ideas.  Everything you listed works as it should.  I've
168856 [vanek acd.ne] your network connection appears to be functioning normally,
168898 [bauer.mail g] Sounds like a plan, I'll try it this evening.  Thanks for the help!

^ [ARTICLE] HTML Scraping Using WWW::Mechanize
168707 [james_b neur] Recent discussion here on HTML parsing and using Michael Neumann's
+ 168725 [itsme213 hot] Super! Thanks James.
+ 168742 [steve waits.] Dude.  You rule.  Thank you!
+ 168771 [ezra yakima-] James-

^ Shell program
168708 [sky.yin gmai] I'm using system() to execute a shell program under Windows. I wonder
168709 [billk cts.co] string = `program.exe`
168710 [sky.yin gmai] Thanks, Bill.

^ can ruby record sound and play it directly from webpage?
168711 [sddlzz gmail] Can ruby record sound and play it directly from webpage?
168717 [hcatlin gmai] No.
168728 [james_b neur] Or Flash.  Same issues, though there are tools for using Ruby to create

^ [QUIZ] Weird Numbers (#57) Solution
168716 [hcatlin gmai] Here is my solution. Its not the most beautiful thing in the world, but
+ 168726 [neoneye gmai] I could not find any fast solution..
| 168736 [levin grunde] Here is my solution.<http://tinyurl.com/9qjfg> (needs data-url support in your browser)
| 168745 [leavengood g] Here is my solution. It is pretty fast, but not quite as fast as
| 168753 [neoneye gmai] nice and speedy.. mine is awful and slow.
+ 168730 [james graypr] Bingo.
| 168750 [leavengood g] I don't know, I think this is cheating. Plus he is missing a bunch of
| 168772 [james graypr] It's cheating to get correct answers quickly?  ;)
| 168780 [leavengood g] Well something had to generate those answers in the first place, and
| 168784 [james graypr] NOW you're talking!  You could just calculate them once and that's
| + 168798 [leavengood g] Well I coded this up. Instead of pasting my whole solution I'll just
| | 168805 [james graypr] Just so others see the effect of this, here are some timings from
| + 168799 [dandiebolt y] Why not take the Seti-At-Home approach and parcel out ranges of numbers that can be checkout by home users with spare cycles on their machines, searched for WeirdNumbers and reported back to the mothership.
+ 168740 [chneukirchen] #!ruby
| 168817 [martindemell] Same here - I tried a bunch of stuff, but the code ended up being rather
+ 168758 [jannis harde] Here is my solution (it's optimized for statistics not for speed).
+ 168764 [ef alum.mit.] I've got an optimization I haven't seen anyone else use yet.  My
+ 168832 [dave burt.id] I have a solution for the "effectively useless" basket. It's a naive
+ 168851 [ruby.brian g] Here is my solution, I don't think it is as fast as the others, but it
  168859 [simon.kroege] (Its way faster than my first try, way slower than my
threads.html
top