107012-107484
106823-112265 subjects 107192-107965
^ [ANN] Copland 0.4.0 "Rodeo"
107012 [jgb3 email.b] Copland is an "Inversion of Control" (IoC), or "Dependency Injection"
+ 107077 [david loudth] Congratulations on the release. You do a good job of documenting
| 107137 [jgb3 email.b] Flattery'll get you nowhere. :)
+ 107138 [ruby-talk wh] Yeah, you've done an incredible job documenting. It's all nice and
107145 [jgb3 email.b] Thanks, _why. That's very kind of you to say. Not to turn this into a
^ Safe Ruby Environment
107027 [mneumann nte] Okay, there are the different $SAFE levels. But why not simply removing
+ 107034 [achou tealea] charset="us-ascii"
+ 107038 [surrender_it] I'm not sure, but maybe you simply want a thread running at $SAFE>4
107043 [mneumann nte] Not that I need this feature, but I'd like it :-)
107071 [flgr ccan.de] # Runs passed code in a relatively safe sandboxed environment.
107074 [decoux moulo] it always an error to evaluate the result with a different value of $SAFE
107076 [flgr ccan.de] Hm, right. It was an old version, sorry for that. This one should work
107081 [decoux moulo] it depend how you use the object after this ...
107097 [flgr ccan.de] Hm, which means that I have to call secure_object recursively on all
+ 107098 [decoux moulo] You have found, aa was
+ 107099 [flgr ccan.de] And secure_object needs to raise an Exception when
^ Now a different Net:SSH error...
107029 [hal9000 hype] Thanks Jamis, Tom, Josh, Ara...
+ 107030 [jgb3 email.b] Ah, yes. This is on my TODO list. I suspect, if you were to do a cat on
| 107031 [hal9000 hype] Quite right, I have a couple of pairs at the top.
| 107032 [jgb3 email.b] Ouch. Yah, that makes sense. I guess I'm reading all the available keys
| + 107033 [hal9000 hype] Well, it seems to be hanging now... I'll break it soon and look at the
| + 107037 [cc1 cec.wust] Those pairs are from people running ssh-keygen from ssh.com. I don't
| 107142 [jgb3 email.b] That's what I needed to know. Thanks, Charles! I'll experiment with the
+ 107040 [daniel night] I get this error when I try to use a key with a pass phrase. The top of
107143 [jgb3 email.b] What is your patch? I'd be curious to see it. For now, I just wrapped
^ VIM Extensions on OS X
107039 [nick activeh] I'm getting the following errors with OS X 10.3 Panther preinstalled Vim
107041 [nick activeh] More info...
^ sysread and buffered I/O
107051 [hal9000 hype] I've been playing with telnet (and ssh) and I've been
107052 [akr m17n.org] I proposed stdio friendly sysread like method: readpartial.
107053 [hal9000 hype] Very interesting, I did not notice that. Thank you.
107054 [akr m17n.org] An underscore is inconsistent with other IO read??? methods: readchar,
107055 [hal9000 hype] readchars # with an s
107057 [akr m17n.org] Good name is necessary to incorporate a method to ruby.
+ 107058 [hal9000 hype] Certainly, I agree fully.
| 107059 [akr m17n.org] See [ruby-dev:23247] and [ruby-dev:23248].
+ 107062 [gsinclair so] TANAKA Akira suggested a new method IO#readpartial, which is
| 107065 [akr m17n.org] [ruby-dev:23247] contains a patch including RDoc comment in English.
| + 107083 [JohnFeezell ] Here are some other possible names that seems to fit with readchar,
| | 107158 [akr m17n.org] "at most" doesn't represent the difference between IO#readpartial and
| | 107189 [JohnFeezell ] Thanks. That makes the difference clearer.
| | 107254 [akr m17n.org] Matz, is there a name good enough?
| + 107084 [ahoward noaa] why not
| | 107160 [akr m17n.org] It doesn't represent the difference from IO#read.
| | 107196 [ahoward noaa] consider
| | 107255 [akr m17n.org] I see.
| | 107257 [ahoward noaa] This message is in MIME format. The first part should be readable text,
| | 107277 [akr m17n.org] Yes. It is not surprised that BasicSocket#recv and IO#sysread is
| | 107290 [ahoward noaa] then perhaps using a short name, but it should be an extension to force
| | 107337 [akr m17n.org] I don't like such small extension library.
| + 107094 [gsinclair so] What about this?
| | + 107095 [mneumann nte] Regards,
| | + 107159 [akr m17n.org] I don't see a difference between 4th and 5th.
| + 107287 [ysantoso-rub] How about: STDIN.readposixly(4096) or STDIN.posix_read(4096)
| 107336 [akr m17n.org] It is not wonder. readpartial is a stdio friendly sysread. sysread
+ 107260 [dooby d10.ka] I thought Hal's read_avail (perhaps readavail) was a fair description, but ...
107276 [akr m17n.org] readpartial blocks in such case.
107299 [retnuh eirco] read_next_avail?
^ ruby postgresql question
107060 [hash_bang re] Does anyone know of a good way to basically seek through a large query
107078 [ahoward noaa] are you asking about cursors?
107082 [hash_bang re] That is entirely possible (;
107088 [mneumann nte] Can you explain again, what exactly is your problem.
107091 [hash_bang re] Well, I've written re-written an old BBS program. Right now it holds it's
107092 [mneumann nte] can you describe the table layout in sql?
107101 [hash_bang re] Sure. Here is the sql statement for a message board table
+ 107103 [mneumann nte] aha, now I understand :-)
+ 107108 [angus quovad] [Mark Firestone <hash_bang@retrobbs.org>, 2004-07-21 17.45 CEST]
^ Little query
107068 [peter semant] Given that x is an Array how come I can do
+ 107069 [mneumann nte] class Array
| 107070 [peter semant] Thanks that was very useful.
| + 107073 [martindemell] +1
| + 107085 [matz ruby-la] I'm not enthusiastic for them. I feel like that they are not as
| + 107086 [peter semant] For me it seems natural that if I can access the value from x.first I
| + 107089 [mneumann nte] Me too. Then, there should be also Range#last= and Range#first=, but I
| 107090 [bob.news gmx] "Michael Neumann" <mneumann@ntecs.de> schrieb im Newsbeitrag
+ 107072 [flgr ccan.de] Because then x.last(5) = [1, 2, 3, 4, 5] would also have to work, but
107188 [kristof vlee] I'd like that. I would use this to acces class variables as
^ Re: DBUnit for Ruby? (Or how databases play in Rails)
107080 [david loudth] Indeed. I'd dare say that AR's Fixtures (ARF) goes beyond the DBUnit on
^ mod_ruby or fastcgi+ruby?
107093 [nospam nospa] What are the pros & cons of mod_ruby vs fastcgi+ruby? Ruby will most
+ 107096 [khaines enig] + Nice access to Apache internals.
| + 107129 [nospam nospa] Thanks for the great info! It was very helpful.
| | + 107133 [khaines enig] Each seperate Apache process has its own interpreter. However, each of the
| | + 107207 [mortonda dgr] That's true, as each apache instance gets its own interpreter. To keep
| | 107208 [khaines enig] There are three issues. First, namespaces don't protect you if another
| + 107165 [lists zara.6] Depends on the definition of "complex". I myself see fastcgi as far less
| 107194 [khaines enig] I think the use of complex here refers to the overall setup and config.
+ 107105 [carl.youngbl] Neither is very hard to set up in a run-of-the-mill unix environment.
^ XML line numbers
107100 [martindemell] I'm using the REXML stream parser to read in an xml file and check the
107190 [ser germane-] Martin,
107212 [martindemell] Thanks - I'm going out of town for a few days, but I'll take a look at
^ tempfile iterator?
107107 [snowzone5 ho] what's the easiest way to iterate through a Tempfile?
107113 [ahoward noaa] t = Tempfile.new $$
107115 [snowzone5 ho] tempfile iterator?
107116 [msparshatt y] if @lg is a variable holding the filename then that should be
107135 [snowzone5 ho] yup. i figured that out when i applied some common sense...
107167 [bob.news gmx] "tony summerfelt" <snowzone5@hotmail.com> schrieb im Newsbeitrag
^ substring by range parameter (bug?)
107114 [email55555 h] s="0123456789"
107117 [ahoward noaa] for ranges, start must be <= end and -1 is not <= -2
+ 107119 [email55555 h] Thanks. I know that.
| 107126 [ahoward noaa] sorry - did not read your post closely enough.
+ 107120 [ssk chol.nos] I understand what you mean.
107123 [email55555 h] OK. You got my point.
+ 107124 [email55555 h] OK. You got my point.
| 107125 [hal9000 hype] This is the most logical analysis of this issue that I remember
+ 107127 [ssk chol.nos] I think getting a substring using range is somewhat confusing.
107128 [email55555 h] Correct to my previous conclusion.
^ [ANN] Ruby Installer for Windows 1.8.2-14_RC5 (from Ruby 1.8.2 preview1)
107118 [curt hibbs.c] Today Matz released the official preview1 for Ruby 1.8.2. This release
+ 107132 [lymans gmail] Curt,
| 107136 [curt hibbs.c] No, Oniguruma is not in the Ruby Installer for Windows. The installer is
+ 107162 [davinciSINSP] El miñÓcoles 21 de julio, Curt Hibbs escribióº
| 107184 [curt hibbs.c] No, ruby-postgres is not included, so you would have to install it yourself.
| 107185 [mailinglists] But this does still not help on binary extensions. And until the
| + 107186 [lyle.johnson] Sure it would, if the package authors provide both source and
| | 107209 [rich infoeth] And, we are adding to Gems the ability to utilize the platform attribute
| | + 107211 [lymans gmail] Perfect!!
| | | 107221 [rich infoeth] Yeah...we will work that out. It will likely be listed as two gems (one
| | + 107222 [lyle.johnson] As long as we're on the subject, are there any plans to include (and
| | + 107284 [surrender_it] just one thing: I'm not sure if this is just a sample or is closely
| | 107285 [lyle.johnson] Excellent point. I think it's true that binaries compiled with
| | 107303 [chadfowler g] This is why this feature isn't done yet. :) It's going to take some
| + 107195 [curt hibbs.c] RubyGems *does* support platform-specific binary gems. This was an issue
| + 107197 [lymans gmail] Curt,
| | + 107200 [curt hibbs.c] Yes, please do send it along to [curt at hibbs dot com].
| | + 107201 [mailinglists] I have done some testing for Arachno Ruby. But i will wait until
| + 107231 [quixoticsyco] RubyGems supports binary gems in the sense that you can put any file
| 107265 [cc1 cec.wust] I really think it would make more sense to have all that info stored as
+ 107191 [laurent.sans] Thanks for the package. I guess it's very convenient for Microsoft users.
| 107204 [surrender_it] on the lines of the hread, I think the best thing would be to package
| + 107205 [surrender_it] I mean, when the one click gets installed, pop up a gui with "select
| + 107206 [curt hibbs.c] That's the approach I want to take with almost all extensions -- provide
| + 107266 [laurent.sans] Mmh good idea. I will have a look at it after the next release. I
+ 107271 [unet01 radio] Thanx for the intaller. Is there a special reason, why the windows
| 107465 [curt hibbs.c] No particular reason other than we haven't taken the time to update to a
+ 107272 [zakaria suar] Does it fix ri bug related to PAGER in WinMe [ruby-talk:103662]?
| 107288 [curt hibbs.c] I have fixed the general problem with how I was building the RI database in
| 107289 [dave pragpro] I must have missed this one. But unfortunately I don't have an ME box
| 107484 [zakaria suar] Here's what I do to track down the problem.
+ 107328 [jfontan gmai] Will the final version have the opengl bindings? I was so surprised
| 107331 [curt hibbs.c] Hmmm.... I think it should have been there. I'll have to look into what
| 107340 [jos catnook.] I commented out the OpenGL bindings because they were causing the builder.rb
| 107342 [curt hibbs.c] No, that's not the problem. Lyle Johnson sent me a new binary build which I
| + 107343 [curt hibbs.c] Yeah, I messed this one up... I just figure out what I did. Opengl support
| + 107345 [jos catnook.] Okay, glad to hear that's working again, Curt. It wasn't at the time I checked
+ 107362 [usenet2 nosp] Am I right that this package does not contain OpenSSL?
+ 107365 [surrender_it] with the older preview it seemed to work
| 107385 [dooby d10.ka] I'm sure Gabriele meant to attribute NAKAMURA Usaku (usa).
| 107386 [surrender_it] sorry sorry sorry and thanks for the precisation :)
+ 107464 [curt hibbs.c] Yes, you are correct.
^ aop in ruby
107121 [csshsh struc] im currently working on a aop library for ruby. most of the things like
+ 107134 [jan.sabbe st] Well, I have no idea what aop is, but I showed the following code to a
+ 107172 [surrender_it] mh.. two things.
107176 [csshsh struc] yes. i checked out aspectr. its quite great. there are a couple of
^ Referencing objects and program design
107122 [Stephan.Kaem] suppose I have some kind of object which holds 'object ids' referring to
+ 107150 [assaph avaya] to other objects,
+ 107168 [bob.news gmx] "Stephan KçÎper" <Stephan.Kaemper@Schleswig-Holstein.de> schrieb im
107213 [Stephan.Kaem] Thanks for that answer (this goes to Assaph too, of course).
+ 107250 [DocBoobenste] Traversing object networks... that seems like an application for
| 107279 [bob.news gmx] "Claus Spitzer" <DocBoobenstein@gmail.com> schrieb im Newsbeitrag
| 107295 [DocBoobenste] I see your point. While ObjectSpace.each_object can be limited to
| 107298 [bob.news gmx] "Claus Spitzer" <DocBoobenstein@gmail.com> schrieb im Newsbeitrag
+ 107280 [bob.news gmx] "Stephan KçÎper" <Stephan.Kaemper@Schleswig-Holstein.de> schrieb im
^ [PATCH] was - Re: substring by range parameter (bug?)
107130 [ahoward noaa] if you look at the source, it is clear that rb_range_beg_len intends to fail
+ 107131 [ahoward noaa] @@ -22,6 +22,7 @@
+ 107146 [matz ruby-la] I think I understand you, but not sure. Can you show me an example of
107149 [ahoward noaa] ~ > irb
+ 107164 [discord mac.] This seems right to me... aren't these two expressions equivalent?
| + 107193 [email55555 h] When I found that on the first time, I thought that it is a bug.
| + 107198 [ahoward noaa] yes - both are broken by exactly the same bug! ;-)
+ 107270 [matz ruby-la] Now I fully understand. I will commit your fix. Can you prepare
+ 107273 [akr m17n.org] Do you notice that the patch causes many errors in the test?
| 107286 [ahoward noaa] i have too. but what to do - it should be fixed?
| 107338 [akr m17n.org] I think the patch should be rejected.
+ 107291 [ahoward noaa] tanaka has pointed out that this patch causes test failures. however, it does
^ nesting #{} problem
107139 [crf sbox.tu-] irb(main):040:0> width = nil
+ 107140 [assaph avaya] "door and width=99"
| 107144 [matz ruby-la] I'd call it IRB "limitation". IRB do not parse nested interpolation
| 107147 [assaph avaya] well.
| 107148 [hal9000 hype] I don't think so. Ruby is based on yacc, and I think irb is
| 107155 [mailinglists] Right. The problem is that yacc can't generate a state based
+ 107141 [halostatue g] The problem is partially in irb. Your code works if you put it in a Ruby file
107199 [crf sbox.tu-] works - thanks!
^ Problem with ActiveRecord and Cerise
107151 [k v2studio.c] I'm developing a website using the cerise app server and the
107178 [david loudth] Active Record is not thread safe. So if Cerise uses threads to handle
+ 107202 [mneumann nte] Should be easy to fix by using thread-local variables instead of a class
| 107218 [k v2studio.c] Where retrieve_connection calls establish_connection with the approriate
+ 107219 [k v2studio.c] The appplication persists through requests, so how about keeping the
^ Incident Analysis of the intrusion on helium.ruby-lang.org
107154 [shugo ruby-l] As already reported, helium.ruby-lang.org, which is one of the servers
^ Bug? String interpolation and continuations
107156 [tunah.usenet] (Typed into IRB. The results are similar in ruby but because of the
+ 107177 [angus quovad] [Sam McCall <tunah.usenet@tunah.net>, 2004-07-22 08.52 CEST]
| 107234 [gltewalt yah] puts "[#{callcc &store_cont}" + "]"
| 107274 [decoux moulo] Well, this is probably this that he want
| 107341 [tunah.usenet] Yes :)
+ 107344 [matz ruby-la] It's not a bug. It's a feature.
107360 [tunah.usenet] Just to be clear, I did expect the infinite loop :-) But I assumed that
^ [OT] FreeBSD <-> Debian
107161 [r_mueller im] what do you think about FreeBSD in general? I am about using FreeBSD too, but
107163 [muellerix gm] To make it short: I love it :-)
+ 107166 [r_mueller im] sounds great,
| + 107170 [mneumann nte] Yes, you can run Linux binaries on FreeBSD. The linux syscalls are
| | 107180 [nospam nospa] Good point. This isn't emulation and precisely why Linux binaries can
| + 107171 [hramrach_l c] The ports system benefits from the focus on source packages. Afret
| + 107174 [surrender_it] that's cross compiling IMO is a different thing
| + 107179 [muellerix gm] The other already mentioned, that some linux-progs might mork...
+ 107187 [drossruby ya] Ok, this seems pretty outdated to me. FreeBSD 5.2.1 is
107203 [mneumann nte] I don't feel that's even as near as stable as 4.10. If you want 4.10++,
+ 107215 [muellerix gm] I think I'll stick with 4.X unless I need stuff like USB 2.0 etc... Probably
| 107216 [drossruby ya] Yes, DragonFly uses the FreeBSD port system plus its
| 107220 [mneumann nte] Do you mean, the ACPI implementation on FreeBSD in general is not that
| 107225 [drossruby ya] Yes, I do. It is BIOS manufacturer dependant. There
+ 107282 [rasputnik he] <aol>
107294 [drossruby ya] OK. please do not answer again, you are trolling. It
107297 [rasputnik he] wtf is wrong with you?
107300 [drossruby ya] Good god dude, grow up. Thats why I said not to
threads.html
top