222705-254716 subjects 223164-235875
Re: Modes of operation OAEP RSA
222935 [rikrose@gm i] Not really the right forum. sci.crypt is probably better. You will also
222936 [george.rafae] but i set it to work from the command line. So i really don't know
223246 [shiwei1.zhan] ...
+ 223258 [george.rafae] Well im using gem in a Microsoft Windows cmd, i don't know if its have
| 223376 [shiwei1.zhan] ...
| 223411 [george.rafae] I don't have a local firewall.
| 223437 [david@va ln ] When all else fails (your local proxying scheme is convoluted, some
| 223441 [george.rafae] Thanks, i'll do that.
+ 223540 [david@va ln ] work
button_to style class
222943 [frunny@gm il] *is this the correct usergroup for ruby on rails?* mhhh...
222949 [logancapaldo] No.
Getting emails with IMAP generates BadResponseError
222951 [ruby@di ke n] I have a problem with getting emails from a special account when I will
222954 [ara.t.howard] this is bascially telling you the server does nothing for this accnt... which
223236 [ruby@di ke n] IMAP4REV1
222959 [deckard73@fr] unsubscribe
222962 [sith618@ya o] ...
Class inheriting from class within the namespace
222963 [gavin.kistne] Tree structures are interesting. Often the root of the tree is used as a
222967 [matt@ti bi s] Why wouldn't you do this?
222968 [gavin.kistne] Only because it's an annoying namespace level that the user would need
Re: How can I populate header values in SOAP document?
222966 [Brian.Hartin] I was able to get the namespace abbreviations right by returning a hash
Syntax q on ActiveRecord
222977 [rxv@ho ma l.] In my model, if I have a field, that contains the id to another table, twice
+ 222980 [ryand-ruby@z] this question should go to the rubyonrails mailing list.
+ 222986 [matt@ti bi s] Just RTFM.
| + 222988 [rxv@ho ma l.] Jesus H. Christ.....it's a TYPO as I was copying by hand, with from the code
| | 223009 [matt@ti bi s] Sorry, I must have misunderstand the question. I apologize. m.
| + 222996 [nwiger@sc a.] Hah, that post was *so* Tom Christiansen like, 10 years ago, on the Perl
+ 222998 [GENIE@pr di ] You probably could have looked it up, and it should go on the rails
+ 223002 [rxv@ho ma l.] Thanks Mike,
| 223130 [GENIE@pr di ] I just changed the names of the columns in my example cause I felt like
+ 223007 [ryand-ruby@z] BZZZZZT. This is the ruby-talk mailing list, not the rails mailing
+ 223013 [_mwryder@wo ] This is also a newsgroup and I haven't noticed any news groups for
| 223014 [jeff@sc wa c] Wow, this is getting almost as exciting as C++ land.
| 223016 [gavin.kistne] For posterity, I feel the need to note (for posterity and archives) that
+ 223127 [GENIE@pr di ] Ryan, you weren't the rude one, saying "go to the rails mailing list"
Send me your rubyconf presentations!
222981 [ryand-ruby@z] I've hosted the last 4 years worth of rubyconf presentation materials
Re: simple smtp server
222992 [Brian.Hartin] I second the question. :)
222997 [gavin.kistne] smtp
+ 223026 [garbagecat10] ...
+ 223072 [mmalaidini@g] As far as I understand the Net::STMP class is related to client side
Puzzling over why ri can open the std ruby/ri .yaml files, but raw yaml can't
223011 [eric.promisl] If I run <<ri Abbrev>>, no problem.
+ 223019 [eric.promisl] Simple workaround...
+ 223023 [ryand-ruby@z] Because you need to load/define all the classes it is trying to
| 223028 [eric.promisl] Thanks, Ryan,
+ 223024 [ mfp@ac .o g] $ cat ri-problem.rb
Re: Compiling C++ module for Ruby
223012 [pbrannan@at ] There is a rule in the generated makefile for building .cxx files using
223271 [china@th wr ] But that wouldn't help run the C++ compiler during extconf.rb. How
223280 [pbrannan@at ] You could redefine try_link (or TRY_LINK) and try_compile, but that will
Re: Managing Hierarchical Tree-Like Data
223017 [poopdeville@] Here's a good algorithm for constructing a formal concept lattice.
[ANN] San Diego Ruby Brigade Meeting: November 2, 7:30pm, UCSD Campus
223020 [pubsub@ru yi] The San Diego Ruby Brigade is holding its monthly presentation-style
regex capture and assign... in one line?
223021 [jashmenn@gm ] Question, I've been using Ruby for a while now and I have a perlism I
+ 223022 [phurley@gm i] foo, bar = "foo123".match(/(\w+)(\d+)/).captures
| 223025 [cordeiro@ce ] ...
| + 223029 [gavin.kistne] irb(main):001:0> str = "foo123"
| | 223073 [gavin@re in ] And if you use this a lot, and can include your own mini-library stuff,
| | 223076 [gavin@re in ] Er, of course '~' shouldn't be listed in the above, since it is an
| + 223032 [dblack@wo bl] The problem with using captures in a single line like this is that if
+ 223110 [boss@ai bl d] m, foo, bar = *"foo123".match(/(\D+)(\d+)/)
+ 223195 [w_a_x_man@ya] str = "foo123"
Rails install problem???
223031 [heller@de ps] sauron.deepsoft.com% rpm -qa | grep ruby
223042 [nwiger@sc a.] I hit this too. The ri/rdoc are separate rpms for CentOS. Use yum to
+ 223046 [tmac@ea ys r] ...
+ 223055 [heller@de ps] OK, I installed irb (I could not find any RPMs relating to 'rdoc'). Now
Nonblocking IO read
223035 [srobertjames] How can I perform a nonblocking IO read? That is, read whatever is
+ 223038 [ara.t.howard] it can't be done. search the archives, this sort of thing almost always
| + 223045 [tomp@ea th i] That's what the Unix read() function does ("man 2 read"), available
| | + 223050 [srobertjames] In the interests of promoting creativity, I'll ask the question without
| | | + 223062 [tomp@ea th i] Have you tried simply reading from them? When the command
| | | | + 223065 [tomp@ea th i] D'oh! (typo) That should have been
| | | | | 223549 [srobertjames] Yep, that's how I came across this problem initially.
| | | | | 223556 [ara.t.howard] check out systemu
| | | | + 223146 [shortcutter@] Actually this is not correct: if there is a lot written to stderr then
| | | | 223182 [tomp@ea th i] I guess I can see that, though I can't think of a program that I'd
| | | | + 223185 [ara.t.howard] did you check out my recent post (switched subjects) - it takes a suprisingly
| | | | + 223190 [shortcutter@] A typical pipe buffer size is 4k which can get filled pretty fast.
| | | + 223163 [garbagecat10] ...
| | | + 223166 [ara.t.howard] maybe
| | + 223051 [ara.t.howard] it blocks. the OP wants a non-blocking call. eg
| | | 223154 [gabriele.mar] I thought Ruby internally uses non-blocking I/O in order to avoid
| | | 223167 [ara.t.howard] try this on windows
| | + 223066 [john.carter@] At a very deep level (last time I looked) thread animation and IO met
| | + 223067 [borud-news@b] [Tom Pollard <firstname.lastname@example.org>]
| + 223048 [srobertjames] I'm running an external command (using popen4 - yes, it is available on
| | 223052 [ara.t.howard] so, basically you want to timeout on a read right? in unix you can just use
| | 223057 [srobertjames] Not very attractive...
| | 223059 [ryand-ruby@z] returns non-nil if input available without blocking, or nil.
| + 223061 [borud-news@b] [email@example.com]
| | 223071 [ara.t.howard] but it's archaic compared to event driven frameworks like
| | + 223083 [garbagecat10] ...
| | | 223093 [ara.t.howard] it's exactly things like eventmachine that make me say using nbio is archaic -
| | | + 223094 [garbagecat10] ...
| | | + 223566 [vidar.hoksta] The problem is that all of these "powerful abstractions" are
| | + 223237 [borud-news@b] [firstname.lastname@example.org]
| + 223567 [vidar.hoksta] I have a messaging middleware server running right now that is
+ 223080 [garbagecat10] ...
still more relentless non-repetition
223039 [gilesb@gm il] ok, I have this Rails code which I want to make more Rubyish.
+ 223041 [twifkak@co c] I'm too lazy ATM to read the whole thing and make a design
| 223043 [gilesb@gm il] ah yeah, that's a good point, SQL injection attacks.
| 223047 [dblack@wo bl] It's not so much SQL injection as eval injection. Imagine if
| 223053 [gilesb@gm il] true, that would also be very bad.
+ 223049 [ara.t.howard] do you really want to search twice here if tracks is called twice?
| + 223054 [gilesb@gm il] **that** looks like the way to do it.
| | 223070 [wilsonb@gm i] ActiveSupport has a helper for this already.
| | 223081 [gilesb@gm il] thing.constantize.find_by_contents(term)
| | 223091 [gilesb@gm il] OK. here's what I have.
| | 223194 [ruby@mu rm n] "Track".tableize => 'tracks'
| + 223056 [dblack@wo bl] nil is considered blank by blank?, so you only need the one test.
| 223058 [ara.t.howard] just putting my abhorrence of container methods defined on non-containers on
+ 223332 [david@va ln ] A) All benchmarks lie, -especially- ones people use to pimp their own
[ANN] PuneRuby Ruby Group Meeting for November
223044 [satish.talim] ...
Net::LDAP connection semantics problem and nested blocks.
223060 [ld@ld le .c ] I am working with the Net::LDAP library to communicate with active
223079 [garbagecat10] ...
223648 [ld@ld le .c ] In the particular case when I hit the problem, it was an attribute
223700 [garbagecat10] In regard to the design decision in the library: it's essential to be
How to hide dos prompt?
223063 [vipeak@gm il] I want to run a ruby script on windows hiding dos prompt ,because
223068 [halostatue@g] You can only hide the DOS prompt by using rubyw.exe (there's no
223103 [vipeak@gm il] lib.rb
223104 [vipeak@gm il] $stdout=open('h.txt','w')
RDoc XML not generating method list?
223064 [jeremymcanal] I'm trying to get RDoc to spit out an XML file, but all I keep getting
226481 [ljredpath@gm] Has anybody had any luck with this? I'm having the same problem on OSX,
variable access through self
223074 [msoulier@di ] I've seen a lot of examples in Rails code where they're accessing what appe=
223078 [johnwilger@g] That is correct.
223115 [Rob@Ag le on] And you're also apparently a bit confused about what's really happening.
Re: Fuzzy Time (#99)
223077 [camerooni@gm] That part of my code is kind of obsfuscated, but what it actually does
+ 223099 [hungrylist@g] I choose my offset through a dedicated class (WanderingWalker) that
| 223116 [tomp@ea th i] That's interesting. The insight I had, after trying my first two
+ 223197 [tomp@ea th i] Yes, I see that now. (Thanks for the correction.) I think it's an
223287 [gavin.kistne] Following is my (very late, but short) submission.
223084 [robert.feldt] I'm playing around with BDD ? la test/spec and foudn that I need to
+ 223086 [robert.feldt] Some decision has to be made if setup code should be run before each
+ 223089 [ben@ia u. et] I think that the example you give is not appropriate for testing rand(), and
223096 [robert.feldt] I don't want to test RNG's; that was just the smallest possible
+ 223136 [wilsonb@gm i] def something_run_a_bunch_of_times
| 223155 [robert.feldt] Yes, I'll probably keep my own set of test/spec extensions for now.
| 223243 [chneukirchen] I would add these methods to the test/spec distribution, but I don't
+ 223138 [znmeb@ce ma ] Speaking of numerical test suites, do you happen to know of any test
DRb callback when objects are unmarshalled, on the client?
223100 [philippe.lan] charset="us-ascii"
223102 [sylvain.joye] (this is theorical knowledge based on what I read in the drb source code)
ruby programming best practice
223105 [xrfang@ho ma] As a dynamic language, Ruby is much more flexible and easier than other
+ 223111 [farrel.lifso] There's a number of ways to handle this. If the array is possibly
+ 223153 [matt@ti bi s] If my goal is that I just want skip the step if it can't be done, I like
| 223210 [xrfang@ho ma] My question is: is there a way to find out these spots in my program, like a
| 223216 [nospam@no it] / ...
| 223339 [david@va ln ] er, a
+ 223196 [erikveen@gm ] (array.pop || '').split(',')
+ 223244 [richard.conr] Use Unit Tests.
223349 [david@va ln ] <rant> <!-- Hide the women and children. -->
+ 223360 [james@gr yp ] I quit reading right here.
| 223369 [david@va ln ] or
| 244483 [raff_uk@ho m] Im looking for Ruby Programmer to work in Bratislava/SK.
+ 223370 [znmeb@ce ma ] By the way, testing can only show the *presence* of defects, not their
+ 223371 [phlipcpp@ya ] Is there _anyone_ here who didn't know that already??
| 223372 [znmeb@ce ma ] I don't really know. Invariably, someone will post a question about
| 223407 [phlipcpp@ya ] At this point in the discussion, those who advocate relentless testing often
+ 223397 [rtilley@vt e] If it is not present, is it not absent?
223402 [mike@st k. a] As long as you can guarantee that you are testing for all possible
Re: I am noob
223107 [fred@82 sk c] Why's poignant guide to ruby is a good read
223159 [smartgpx@gm ] See -
C API: Get the error associated with a RUBY_EVENT_RAISE event.
223112 [port001@gm i] ...
223121 [pbrannan@at ] The last exception raised is stored in ruby_errinfo.
223113 [namepipe@gm ] I have some text to be written to a file.
+ 223114 [peter@ru yr ] You can use
| 223117 [jeremymcanal] open("file.txt", "w") do |fd|
+ 223118 [rosco@ro co ] You're never closing the file, which is why it's empty (your writes are
223119 [ramsayw1@co ] Can anyone explain to me how the Gtk::FileFilter work in a
223137 [akbarhome@gm] Haven't use Ruby Gtk, but I have use pygtk. Because python is ruby
223201 [ramsayw1@co ] Multiple adds did the trick. Thanks...
./miniruby runruby.rb bin/rdoc --fmt=html does not work
223122 [usenet-09200] I can't make the html documentation with rdoc during the build.
223124 [usenet-09200] With debug and without line-numbers I get
what is wrong with this Rakefile?
223123 [oguz@ce yi d] I just cant see what I do wrong. I have *.crb.cpp files in the crb
223126 [akbarhome@gm] @c = "donal"
+ 223128 [halostatue@g] No. Variables aren't pointers or locations; they're labels for
+ 223129 [vshepelev@im] akbarhome (email@example.com)
+ 223131 [dblack@wo bl] It was recently noted on the Rails mailing list that something like
223133 [ara.t.howard] can you show an example? are you saying that activerecord avoids apparent
223135 [dblack@wo bl] Here's an example from a program which models Ideas; each Idea belongs
+ 223140 [ara.t.howard] holy cow that is pure evil!
+ 223141 [wilsonb@gm i] I must be missing something. Isn't this how virtually all Ruby code works?
| + 223142 [james@gr yp ] f.bar = "new string"
| + 223143 [dblack@wo bl] I'm not modifying an object in place, though; I'm doing a new
| + 223283 [matt@ti bi s] I had to do a double-take as well, so here's an example for the rest of
+ 223245 [jeremy@ch os] Yikes! How is this even possible? Somehow the method is changing the
+ 223257 [rsanheim@gm ] Wow, that looks nasty. Can you point me to the releveant thread in
+ 223259 [dblack@wo bl] It's called: belongs_to nonintuitive results with assignment?
+ 223263 [Rob@Ag le on] Why is this so hard to understand? Rails isn't really doing anything
+ 223273 [dblack@wo bl] No, that's not what's going on. ActiveRecord is doing something quite
+ 223274 [rsanheim@gm ] This is the issue. I understand how assignment methods work, really I
parallel tasks with rake ?
223134 [quixoticsyco] I was excited to switch my makefile system to rake, but I just noticed
223139 [wilsonb@gm i] How does Make figure out which jobs can be run in parallel? In my
223144 [quixoticsyco] The Make program figures it out from the dependency graph.
223147 [hgs@dm .a .u] Would marking it as a .PHONY help? I see little advice in the GNU
223169 [quixoticsyco] $ make -j4 && make install
+ 223172 [james@gr yp ] I bet the pieces of this could be written up as a fun Ruby Quiz or
+ 223181 [guillaume.ma] In the current implementation, is the dependency graph explicitly built
[OT] Re: [ANN] bfts 1.0.0 Released
223148 [cameron.mcbr] ok, since this thread has veered it's head toward SCMs, I'm also
[ANN] RubySSPI - Enabling NTLM proxy authentication on Windows
223150 [jgbailey@gm ] All,
Re: bfts 1.0.0 Released
223152 [djberg96@gm ] Ryan,
223165 [ryand-ruby@z] If I do, and you are happy with the merger, will you delete yours?
224972 [djberg96@gm ] Sorry for the late reply...
Re: RubySSPI - Enabling NTLM proxy authentication on Windows
223157 [djberg96@gm ] As I mentioned off-list, I'm curious if this can be used with DBI or
223161 [jgbailey@gm ] When I put this together, I learned that the NTLM authentication