[#84651] The new allocation scheme and extensions — Shu-yu Guo <shu@...>
In 1.6, when writing an extension which required Data_Wrap_Struct, the
Hi,
On Sun, Nov 02, 2003 at 06:43:14AM +0900, Shu-yu Guo wrote:
Hello All,
Thomas Adam (thomas_adam16@yahoo.com) wrote:
[#84654] How can I marshall File::Stat, and do file tests? — Sam Roberts <sroberts@...>
Basically, I'm building a Hash of paths to their File::Stat, and
Seems to be a long-standing oddity, discussed in ruby-talk #74175 and
Does nobody really care that this doesn't work? Is it that its fixed in
[#84655] Ruby language reference — Afan Shah <afan_shah@...>
> I have just started using Ruby but I am still unfamiliar with the
The Ruby User's Guide is also helpful:
David D'Andrea wrote:
[#84664] CGI uses file size to distinguish between regular values and files — David Heinemeier Hansson <david@...>
I've been having a ton of problems handling file uploads with CGI.rb
Hi David,
On Mon, Nov 03, 2003 at 02:29:08PM +0900, Simon Kitching wrote:
On Mon, 3 Nov 2003 20:12:06 +0900, Dmitry Borodaenko wrote:
On Mon, Nov 03, 2003 at 11:40:48PM +0900, Austin Ziegler wrote:
On Tue, 4 Nov 2003 04:37:19 +0900, Dmitry Borodaenko wrote:
On Tue, 2003-11-04 at 10:29, Austin Ziegler wrote:
On Tue, 4 Nov 2003 06:51:43 +0900, Simon Kitching wrote:
Hi,
In article <1067898096.626601.19785.nullmailer@picachu.netlab.jp>,
Hi,
[#84679] 64-bit Ruby on Solaris - solved — "Berger, Daniel" <djberge@...>
All,
[#84681] Re: CGI uses file size to distinguish between regular values and files — "Jesper Olsen" <Jesper@...>
I'm using the CGI module for file upload - I think it works,
On Tue, 4 Nov 2003 00:43:49 +0900, Jesper Olsen wrote:
On Tue, Nov 04, 2003 at 01:25:31AM +0900, Austin Ziegler wrote:
On Tue, 4 Nov 2003 04:44:50 +0900, Dmitry Borodaenko wrote:
[#84686] Ruby bindings — Elias Athanasopoulos <elathan@...>
Hello!
[#84695] Opening Net::HTTP from mod_ruby script — Dmitry Borodaenko <d.borodaenko@...>
Did anyone try that? While implementing Pingback client[1], I've stuck
Hi,
On Tue, Nov 04, 2003 at 05:30:31PM +0900, Minero Aoki wrote:
[#84705] exceptions — Simon Kitching <simon@...>
Hi,
[#84735] Managing metadata about attribute types — Simon Kitching <simon@...>
Hi,
On Wed, 5 Nov 2003 09:38:16 +0900, Simon Kitching wrote:
On Wed, 2003-11-05 at 17:09, Austin Ziegler wrote:
On Wed, 5 Nov 2003 13:27:05 +0900, Simon Kitching wrote:
On Wed, 5 Nov 2003 16:13:37 +0900
What a vigorous discussion I seem to have triggered :-)
Hi --
On Thu, 6 Nov 2003 12:45:39 +0900
Ryan,
On Sat, 8 Nov 2003 09:45:24 +0900
Ryan Pavlik wrote:
On Sun, 9 Nov 2003 08:11:26 +0900
Ryan Pavlik <rpav@mephle.com> wrote in message news:<20031107184353.002a2059.rpav@mephle.com>...
[#84788] Re: Updating path in windows — "Berger, Daniel" <djberge@...>
> -----Original Message-----
Berger, Daniel wrote:
[#84824] rlex and ryacc — "Luke A. Kanies" <luke@...>
Hi all,
[#84835] Trying to RDoc Ruby 1.8.0 — Jonas Lindstr <jonas.li@...>
Hi all,
Version 0.6.0 of FreeRIDE has been released and is available for download!
[#84845] Power of Interpreted Languages — "T. Onoma" <transami@...>
Some general questiosn concerning interpreted lanaguages (and their JIT couterparts).
[#84847] Long-running daemon acquiring giant memory footprint — Jason DiCioccio <jd@...>
I have written a long-running daemon in ruby to handle dynamic DNS updates.
On Sat, 8 Nov 2003, Jason DiCioccio wrote:
Jason DiCioccio wrote:
[#84854] Segfault in Ruby/ODBC — "Nathaniel Talbott" <nathaniel@...>
My program is causing a segfault under load, and while I'm going to dig in
[#84855] process .wav file? — mike re-v <mrmrmr50@...>
I would like to play a very short sound effect( .wav
[#84900] Antwort: Re: Power of Interpreted Languages — Robert.Koepferl@...
> But, would you implement a game with ruby?
Received: Tue, 11 Nov 2003 01:21:15 +0900
On Monday 10 November 2003 09:28 am, Gregory Millam wrote:
Hi,
Hi,
If you'll forgive another newbie question:
I think that is a good question!!
I'm having bind problems with TkRoot. I want to detect a window resize. Here
It's late I think I am thinking off base at the moment. Thanks for your help
Things aren't going so well with Ruby's 1.8.1 source and VisualStudio6. Once
Hi,
Ok, I moved over to Borland( because it's free ) and I can't get the
[#84901] Power of Interpreted Languages — "T. Onoma" <transami@...>
> But, would you implement a game with ruby?
[#84904] compiling ruby 1.8.1 (mingw) — KONTRA Gergely <kgergely@...>
Hi!
[#84912] Gateway News-ML is still broken — "Christoph" <chr_news@...>
Hi,
[#84918] debugging ruby extensions — Elias Athanasopoulos <elathan@...>
Hello!
[#84925] IO.readlines bug? (1.6.8 vs 1.8.1) — Daniel Berger <djberge@...>
Hi all,
[#84926] Humorous link — Hal Fulton <hal9000@...>
Why isn't Matz here? :)
[#84932] macros — "T. Onoma" <transami@...>
has anyone given any thought to having macros in ruby?
* Tim Hunter; Tue, 11 Nov 2003 23:00:39 GMT
On Mon, Nov 17, 2003 at 10:27:53AM +0900, Josef 'Jupp' Schugt wrote:
[#84943] Patch for lib/test/unit/ui/gtk/testrunner.rb — Michael Neumann <mneumann@...>
Hi,
Michael Neumann [mailto:mneumann@ntecs.de] wrote:
On Tue, Nov 11, 2003 at 11:58:50PM +0900, Nathaniel Talbott wrote:
[#84973] Array#slice oddity... — Matthew Berg <galt@...>
It appears that if you use slice or slice! with a length argument, it
Matthew Berg wrote:
[#84979] Backslash substitution question — "Ron Coutts" <rcoutts@...>
I'm having trouble with backslashes and I don't know what is wrong. I
[#84994] Ruby/OpenSSL bug? — "Nathaniel Talbott" <nathaniel@...>
The following program hangs indefinitely, blocking the whole script. I would
[#85009] problems with rb_str_split() — Ian Macdonald <ian@...>
>>>>> "I" == Ian Macdonald <ian@caliban.org> writes:
On Wed 12 Nov 2003 at 20:02:33 +0900, ts wrote:
>>>>> "I" == Ian Macdonald <ian@caliban.org> writes:
On Thu 13 Nov 2003 at 18:17:27 +0900, ts wrote:
[#85017] There's a RubyForge IRC channel now... — Tom Copeland <tom@...>
...thanks to Harry Vangberg for the suggestion. It's on
On Thursday, November 13, 2003, 3:16:56 AM, Tom wrote:
[#85045] ruby-lang web site & ie — "Christoph" <chr_news@...>
Hi,
So you are suggesting that we put up a link to the Mozilla website?
Daniel Carrera wrote:
[#85068] Re: Need some addition in Ruby/Tk — Ferenc Engard <ferenc@...>
Hello,
[#85082] Singletons and Marshalling — Charles Hixson <charleshixsn@...>
Does anyone know how singleton's and marshalling interact?
[#85097] substring: to the end of the string — KONTRA Gergely <kgergely@...>
Hi!
[#85104] Microsoft's C/C++ compiler freely available — "Nathaniel Talbott" <nathaniel@...>
Thought this might be interesting to those stuck on win32...
Question:
Daniel Carrera [mailto:dcarrera@math.umd.edu] wrote:
[#85111] def — "T. Onoma" <transami@...>
what is this def?
[#85113] array -> list — Wybo Dekker <wybo@...>
Is there a way to convert an array to a (parameter-)list?
[#85121] Re: def — "T. Onoma" <transami@...>
i ask b/c i was thinking it would be good if def actually returned a value, i.e. the symbol of the method being defined.
[#85129] eRuby and URL rewriting — "Orion Hunter" <orion2480@...>
I am in the process of doing some web page authoring using eRuby.
[#85146] Local Variable Scope in Ruby2 — "Gavri Savio Fernandez" <Gavri_F@...>
Hi,
On Mon, Nov 17, 2003 at 03:08:26AM +0900, Gavri Savio Fernandez wrote:
[#85148] Ruby Extension/DLL Help — "Andy Pelzer" <Andy.Pelzer@...>
Hi,
[#85170] multi line comments in ruby — Artur Merke <merke@...>
Hi,
[#85195] Old style assignment — Michael Thomas <mthomas1234@...>
I got the following warning. Can anyone tell me what the new style is?
[#85205] to_i — Artur Merke <merke@...>
Hi,
[#85218] Access ftp-server through proxy — Kristian Sensen <ks@...>
[#85283] newbie: cgi,read URI — "Robby Jansch" <r.jansch@...>
Hello Newsgroup,
[#85307] Reason #642 to use Ruby instead of C++ -Carpal Tunnel Syndrome — ptkwt@... (Phil Tomson)
Hi!
[#85330] Yet Another Rite Thought: method combination — gabriele renzi <surrender_it@...1.vip.ukl.yahoo.com>
I just looked at matz' slides and I don't have a clear understanding
>>>>> "R" == Robert Klemme <bob.news@gmx.net> writes:
ts wrote:
>>>>> "C" == Christoph <chr_mail@gmx.net> writes:
[#85341] Michael Granger's RDoc template — Gavin Sinclair <gsinclair@...>
Hi -talk,
Gavin Sinclair wrote:
On Monday, November 17, 2003, 11:24:25 PM, Peter wrote:
Hi!
* Josef 'Jupp' SCHUGT <jupp@gmx.de> [Nov, 17 2003 22:50]:
Hi!
[#85344] Fileutils.cp bug? — Chad Fowler <chad@...>
I'm experiencing the following behavior in the latest CVS copy of ruby on
Hi,
[#85410] Re: Strong Typing (Re: Managing metadata about attribute types) <Pine.LNX.4.44.0311171402340.1133-100000@ool-4355dfae.dyn.optonline.net> — Thien Vuong <tvuong@...>
[#85421] Again, Rite explanation needed (keyword args and new hash syntax) — gabriele renzi <surrender_it@...1.vip.ukl.yahoo.com>
Hi gurus and nubys,
[#85423] Anyone runs tdiary 1.5.6? — Gour <gour@...>
Hi!
[#85434] testing argument type and duck typing, newbie question — Raphael Bauduin <raphael.bauduin@...>
Hi,
[#85465] File#rewind, File#syswrite, File#pos on Cygwin build — Alan Davies <NOSPAMcs96and@...>
On the cygwin build of ruby v1.8.0, I have encountered a strange bug
[#85488] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) )<Pine.LNX.4.44.0311171402340.1133-100000@ool-435 5dfae.dyn.optonline.net> — "Weirich, James" <James.Weirich@...>
David Black (dblack@wobblini.net) wrote:
On Wed, 2003-11-19 at 10:30, Weirich, James wrote:
On Tuesday 18 November 2003 02:06 pm, Simon Kitching wrote:
On Wed, 19 Nov 2003 08:08:25 +0900, Sean O'Dell wrote:
On Tuesday 18 November 2003 10:30 pm, Austin Ziegler wrote:
On Thu, 20 Nov 2003 02:43:31 +0900, Sean O'Dell wrote:
On Wednesday 19 November 2003 12:04 pm, Austin Ziegler wrote:
On Thu, 20 Nov 2003 05:48:37 +0900, Sean O'Dell wrote:
On Wednesday 19 November 2003 03:00 pm, Austin Ziegler wrote:
On Thu, 20 Nov 2003 08:19:08 +0900, Sean O'Dell wrote:
On Thu, 2003-11-20 at 14:06, Austin Ziegler wrote:
On Thu, 20 Nov 2003 14:52:17 +0900, Thien Vuong wrote:
On Wednesday 19 November 2003 10:47 pm, Austin Ziegler wrote:
On Fri, 21 Nov 2003 02:20:04 +0900, Sean O'Dell wrote:
On Thursday 20 November 2003 10:54 am, Austin Ziegler wrote:
Hi --
Hi,
On Thursday 20 November 2003 02:04 pm, Yukihiro Matsumoto wrote:
On Fri, 21 Nov 2003, Yukihiro Matsumoto wrote:
On Thursday 20 November 2003 02:40 pm, Chad Fowler wrote:
On Fri, 21 Nov 2003, Sean O'Dell wrote:
Hi Sean,
On Thursday 20 November 2003 05:51 pm, Peter wrote:
> I am not sure exactly how Haskell works, but it sounds like perhaps
On Friday 21 November 2003 02:28 am, Peter wrote:
Hi,
On Thursday 20 November 2003 06:47 pm, Yukihiro Matsumoto wrote:
Hi,
On Thursday 20 November 2003 07:58 pm, Yukihiro Matsumoto wrote:
Hi,
On Friday 21 November 2003 11:20 am, Yukihiro Matsumoto wrote:
My own views on interface crystallization:
On Friday 21 November 2003 02:20 am, Yukihiro Matsumoto wrote:
Hi,
On Saturday, November 22, 2003, 10:53:39 AM, Yukihiro wrote:
>>>>> "G" == Gavin Sinclair <gsinclair@soyabean.com.au> writes:
On Saturday, November 22, 2003, 11:47:50 PM, ts wrote:
>>>>> "G" == Gavin Sinclair <gsinclair@soyabean.com.au> writes:
ts wrote:
>>>>> "C" == Christoph <chr_mail@gmx.net> writes:
ts wrote:
ts wrote:
On Sat, Nov 22, 2003 at 11:15:04PM +0900, Christoph wrote:
On Sunday, November 23, 2003, 1:15:04 AM, Christoph wrote:
>>>>> "G" == Gavin Sinclair <gsinclair@soyabean.com.au> writes:
On Sunday, November 23, 2003, 1:56:57 AM, ts wrote:
>>>>> "G" == Gavin Sinclair <gsinclair@soyabean.com.au> writes:
Hi --
On Wednesday 19 November 2003 10:33 am, David A. Black wrote:
Hi,
On Wednesday 19 November 2003 11:14 am, Yukihiro Matsumoto wrote:
On Thu, 20 Nov 2003 04:45:56 +0900, Sean O'Dell wrote:
On Wednesday 19 November 2003 12:29 pm, Austin Ziegler wrote:
On Thu, 20 Nov 2003 06:02:05 +0900, Sean O'Dell wrote:
On Wednesday 19 November 2003 01:45 pm, Austin Ziegler wrote:
On Wed, Nov 19, 2003 at 07:06:24AM +0900, Simon Kitching wrote:
[#85503] String startswith/endswith in Ruby? — Dave Benjamin <ramen@...>
Hi all,
il Wed, 19 Nov 2003 09:03:54 +0900, Harry Ohlsen
[#85518] Multi-dimensioned sparse array ? — Charles Hixson <charleshixsn@...>
Does anyone have an implementation of a multi-dimensioned sparse array?
On Wed, 19 Nov 2003 14:21:19 +0900, Charles Hixson wrote:
[#85526] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) )<Pine.LNX.4.44.0311171402340.1133-100000@ool-4355dfae.dyn.optonline.net> <Pine.LNX.4.44.0311181524130.2236-100000@ool-4355dfae.dyn.optonline.net> — Thien Vuong <tvuong@...>
[Apologies to anyone whose threading is getting messed up by the
On Wednesday 19 November 2003 03:55 am, dblack@wobblini.net wrote:
Hi --
On Wednesday 19 November 2003 10:27 am, David A. Black wrote:
Hi,
On Wednesday 19 November 2003 11:05 am, Yukihiro Matsumoto wrote:
On Thu, 20 Nov 2003, Sean O'Dell wrote:
On Wednesday 19 November 2003 11:46 am, Chad Fowler wrote:
Sean O'Dell wrote:
On Wednesday 19 November 2003 12:42 pm, Maik Schmidt wrote:
On Thu, 20 Nov 2003 06:08:30 +0900, Sean O'Dell wrote:
"Sean O'Dell" <sean@celsoft.com> writes:
On Thu, 20 Nov 2003, Sean O'Dell wrote:
On Wednesday 19 November 2003 01:01 pm, Chad Fowler wrote:
Hi,
On Wednesday 19 November 2003 12:47 pm, Yukihiro Matsumoto wrote:
On Thu, 20 Nov 2003 03:52:30 +0900, Sean O'Dell wrote:
On Wednesday 19 November 2003 01:03 pm, Austin Ziegler wrote:
On Thu, 20 Nov 2003 06:29:12 +0900, Sean O'Dell wrote:
On Wednesday 19 November 2003 03:48 pm, Austin Ziegler wrote:
On Thu, 20 Nov 2003 08:53:21 +0900, Sean O'Dell wrote:
qyyOn Thu, 20 Nov 2003, Sean O'Dell wrote:
On Thursday 20 November 2003 08:58 am, Chad Fowler wrote:
On Fri, 21 Nov 2003 02:35:05 +0900, Sean O'Dell wrote:
On Thursday 20 November 2003 11:15 am, Austin Ziegler wrote:
On Thu, 20 Nov 2003 02:51:02 +0900, Sean O'Dell wrote:
[#85536] Encoding in ruby/tk internals — Nikolay Ponomarenko <ts@...>
Hello ruby-talk peoples,
[#85543] Re: $& write-protected? — ts <decoux@...>
>>>>> "S" == Simon Strandgaard <none> writes:
On Wed, 19 Nov 2003 13:49:27 +0100, ts wrote:
[#85547] x.f! RCR — Greg McIntyre <greg@...>
It bugs me that some methods have a ! on the end and some don't. It
Maik Schmidt <contact@maik-schmidt.de> wrote:
Greg McIntyre wrote:
[#85570] break in yield/block — mhm26@... (matt)
Is there any reason that break acts differently in a block passed to a
[#85574] Ruby and RRDTool — "David Douthitt" <DDouthitt@...>
Does anyone have a ruby library or whatever that makes it easy to use RRDTool?
[#85575] Re: Duck Type System? ( was: stereotyping...er...way too long :) — "David Douthitt" <DDouthitt@...>
Speaking of funny.....
[#85606] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) — "Weirich, James" <James.Weirich@...>
> But again, that flexibility is LOST when you have to pass an
On Wednesday 19 November 2003 11:47 am, Weirich, James wrote:
On Thu, 20 Nov 2003 05:17:10 +0900, Sean O'Dell wrote:
On Wednesday 19 November 2003 01:25 pm, Austin Ziegler wrote:
[#85616] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) ) — "Weirich, James" <James.Weirich@...>
From: Austin Ziegler [mailto:austin@halostatue.ca]
On Wednesday 19 November 2003 12:37 pm, Weirich, James wrote:
On Thu, 20 Nov 2003 06:05:21 +0900, Sean O'Dell wrote:
[#85698] Re: "stereotyping" — Michael Campbell <michael_s_campbell@...>
Sean O'Dell wrote:
On Wednesday 19 November 2003 07:01 pm, Michael Campbell wrote:
Sean O'Dell wrote:
Michael campbell wrote:
Clifford Heath wrote:
Julian Fitzell wrote:
Clifford Heath wrote:
Julian Fitzell wrote:
On Fri, 21 Nov 2003 10:33:39 +0900, Clifford Heath wrote:
Austin Ziegler wrote:
On Fri, 21 Nov 2003 17:13:36 +0900, Clifford Heath wrote:
[#85710] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) — "T. Onoma" <transami@...>
Simon:
[#85713] Re: [ANN] win32-clipboard 0.1.0 — Daniel Berger <djberg96@...>
Oops - forgot the link:
You know what I would use this for? If I ever got around to it? :)
Hal Fulton wrote:
Harry Ohlsen wrote:
> Well, why don't we knock it out, then? What's your GUI of choice?
Harry Ohlsen wrote:
[#85719] "stereotyping" thread — Wesley J Landaker <wjl@...>
Why not just use empty modules for all this type-checking? This isn't=20
Hi --
[#85766] learning the "Ruby way" — mark.wirdnam@... (Mark Wirdnam)
**Hobby-programmer alarm**
On Thu, 20 Nov 2003, Mark Wirdnam wrote:
"Zachary P. Landau" <kapheine@hypa.net> wrote:
[#85785] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) ) — "T. Onoma" <transami@...>
Guy:
>>>>> "T" == T Onoma <transami@runbox.com> writes:
[#85794] Re: retry does not work — "T. Onoma" <transami@...>
matz:
[#85803] behaviour change of String#gsub(pattern) {|m| ... } for ruby 1.9/ruby2? — David Garamond <lists@...6.isreserved.com>
String#gsub(pattern) {|m| ... }
Hi,
On Thu, 20 Nov 2003 20:57:58 +0900, Yukihiro Matsumoto wrote:
[#85807] — "Jesper Olsen" <jolsen@...2world.com>
I am currently using ruby's mysql extention.
[#85821] iterator 0.1 — Simon Strandgaard <qj5nd7l02@...>
homepage:
[#85870] Re: "stereotyping" — Michael Campbell <michael_s_campbell@...>
Sean O'Dell wrote:
On Thursday 20 November 2003 11:07 am, Michael Campbell wrote:
* Sean O'Dell <sean@celsoft.com> [1144 19:44]:
On Friday 21 November 2003 12:48 pm, Rasputin wrote:
[#85886] Partial Euphoric Type Checking — "T. Onoma" <transami@...>
Greetings all Type Checkers!
quack! quack! I added duck typing capability to my euphoric type checking
Now some for some rally crazy cross thought. First a complete interface
for some cross rally some thought crazy. ( read: i need a type system for my
> you see we have a problem here. it doesn't matter what methods are
> > you see we have a problem here. it doesn't matter what methods are
On Fri, 21 Nov 2003 23:53:49 +0900, Peter wrote:
[#85888] New Type Checking System Idea — "Sean O'Dell" <sean@...>
Taking comments into consideration, a totally new approach strikes me
I like your idea, Sean, but it's too much effort! If it is onerous then
On Thursday 20 November 2003 04:37 pm, Greg McIntyre wrote:
[#85910] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) ) — "Weirich, James" <James.Weirich@...>
> In sean's case, class and/or module were sufficient to define
[#85947] RubyConf 2003 Presentations Posted — Ryan Davis <ryand-ruby@...>
In absolute record time (5 days compared to 3 months), rubyconf 2003
[#85989] Ripper (Ruby Language Parser) to be imported in the standard library? — surrender_it@... (gabriele renzi @ google)
Hi gurus and nubys,
Hi,
[#86007] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) ) — "Weirich, James" <James.Weirich@...>
> This is a wonderful idea. Let me restate it to make sure I
[#86011] Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) ) — "Weirich, James" <James.Weirich@...>
> It seems that you could only pre-assert that objects going in
[#86072] Thread issues with ruby 1.8.0 on OpenBSD 3.3 — Rick Nooner <rick@...>
I'm seeing problems with threading using ruby 1.8.0 on OpenBSD 3.3.
>>>>> "R" == Rick Nooner <rick@nooner.net> writes:
[#86088] Invoking method with a block in C extension — "Dmitry V. Sabanin" <sdmitry@...>
Hi.
[#86119] HTML Generation (Next Generation CGI) — "John W. Long" <ng@...>
Hi,
[#86127] Ruby classes for MP3 de-/encoding — Dennis Oelkers <dennis@...>
Hello folks,
On Sat, 2003-11-22 at 13:07, Dennis Oelkers wrote:
In article <20031122191549.GB3071@tachyon.bsdgeek.net>,
On Sun, Nov 23, 2003 at 06:22:16AM +0900, Phil Tomson wrote:
[#86128] 'with' proposal — Elias Athanasopoulos <elathan@...>
Hello!
[#86147] Standard Library Docs online at ruby-doc.org — "jbritt@..." <jbritt@...>
The HTML output from the RDoc comments from Gavin Sinclair's stdlib-doc
[#86162] 64bit timestamp library — David Garamond <lists@...6.isreserved.com>
I'm looking for a 64bit timestamp definition/standard with suitable
[#86169] Re: Using Vruby instead of VB ? — "Berger, Daniel" <djberge@...>
> -----Original Message-----
[#86183] "wrong argument type nil (expected String)" from Dir.chdir — Tim Kynerd <vxbrw58s02@...>
I'm running Ruby 1.6.8.
[#86189] Time#succ ? — Hal Fulton <hal9000@...>
Should this be added? It would enable the creation
[#86202] Message "Insecure world writable dir ..." — Harry Ohlsen <harryo@...>
When File.popen() is passed an executable whose path contains a world writable directory, it produces a warning message.
Hi,
Yukihiro Matsumoto wrote:
> Hi Matz,
On Nov 24, 2003, at 17:18, Harry Ohlsen wrote:
Thien Vuong wrote:
[#86215] Library path relative to current .rb file — zoranlazarevic@... (Zoran Lazarevic)
One of the most irritating (missing) features of Ruby is inability to
On Monday, November 24, 2003, 8:02:12 PM, Zoran wrote:
On Tuesday, November 25, 2003, 8:09:36 AM, Andrew wrote:
On Tuesday 25 Nov 2003 9:21 am, Gavin Sinclair wrote:
On Wednesday, November 26, 2003, 5:59:45 AM, Andrew wrote:
On Tuesday 25 Nov 2003 8:53 pm, Gavin Sinclair wrote:
[#86222] redirect stdout — "T. Onoma" <transami@...>
I need to temporarily redirect standard output to nowhere. Not sure how to do.
T. Onoma (transami@runbox.com) wrote:
[#86227] using variables in regular expressions — Damphyr <damphyr@...>
Being lazy, forgetful and generally very bad with regular expressions
[#86237] YAML self reference issue — Steve Tuckner <STUCKNER@...>
I wonder if anyone has an explanation for the behavior of my yamltest.rb
On Monday 24 November 2003 05:40 pm, Steve Tuckner wrote:
[#86259] Exit status on cmd executed via popen() — Garance A Drosihn <drosih@...>
Sometimes I write ruby scripts to filter the output of some
[#86265] raise unless RUBY_VERSION[%r/^\s*\d+\.\d+/o].to_f >= 1.8 — "Ara.T.Howard" <ahoward@...>
Moin!
On Tue, 25 Nov 2003, Florian Gross wrote:
On Tue, Nov 25, 2003 at 08:32:14AM +0900, Ara.T.Howard wrote:
On Thu, 27 Nov 2003, Paul Brannan wrote:
[#86309] ThreadError w/WEBrick — "Nathaniel Talbott" <nathaniel@...>
I have a WEBrick server that runs fine for over three days, and then starts
[#86310] Range does not take an Range object. — Tomoyuki Kosimizu <greentea@...2.so-net.ne.jp>
Range#include? does not take a Range object. It is strange for me.
[#86320] For science fiction fans... — Hal Fulton <hal9000@...>
For those who care about such things, I have a short story
[#86326] exceptions in tk after procs? — Ferenc Engard <ferenc@...>
Hello,
[#86343] Backtrace without skips needed — Tobias Peters <tpeters@...>
Is there a way to tell ruby that it must never skip levels in the
[#86344] Re: Controlled block variables — "T. Onoma" <transami@...>
On Wednesday 26 November 2003 09:10 am, Guy Decoux wrote:
>>>>> "T" == T Onoma <transami@runbox.com> writes:
On Wednesday 26 November 2003 09:56 am, ts wrote:
Hi T,
On Wednesday 26 November 2003 12:05 pm, Pit Capitain wrote:
From T. Onama:
Hi T.
On Friday 28 November 2003 11:49 pm, Pit Capitain wrote:
On Wednesday 26 November 2003 09:56 am, ts wrote:
>>>>> "T" == T Onoma <transami@runbox.com> writes:
On Wednesday 26 November 2003 04:11 pm, ts wrote:
I actually have wondered in the past why there isn't an #eval that takes
On Wednesday 26 November 2003 03:57 pm, Dan Doel wrote:
T. Onoma wrote:
On Wednesday 26 November 2003 10:24 pm, Dan Doel wrote:
From T. Onama:
On Friday 28 November 2003 02:40 am, Gavin Sinclair wrote:
From T. Onama:
On Friday 28 November 2003 04:59 am, Gavin Sinclair wrote:
[#86360] turning a string into array of ASCII bytes — David Garamond <lists@...6.isreserved.com>
What is the shortest, most straightforward way (without temporary
On 2003-11-26 14:39:45, David Garamond wrote:
On Wed, Nov 26, 2003 at 04:14:43PM +0100, Stefan Scholl wrote:
[#86391] Method wrapping — Hal Fulton <hal9000@...>
I've come late into the thread on this, and I haven't read all
>>>>> "H" == Hal Fulton <hal9000@hypermetrics.com> writes:
ts wrote:
I've got a class called Email and right now i have:
Hi,
> |2. If they do stack, is it possible to redefine a method as we
Yukihiro Matsumoto wrote:
Hi,
On Thursday 27 November 2003 07:07 am, Yukihiro Matsumoto wrote:
On Thursday, November 27, 2003, 5:56:13 PM, T. wrote:
On Thursday 27 November 2003 08:22 am, Gavin Sinclair wrote:
Hi,
On Thursday 27 November 2003 10:22 am, Yukihiro Matsumoto wrote:
Yukihiro Matsumoto wrote:
> I have asked the same this question as well and I really wish
From: Peter wrote:
> This sound all good and well however this does not change the
Peter wrote:
> You realize that you on are speculative grounds claiming that
Peter wrote:
[#86395] TCP/IP in Ruby — BCoish@... (Brad)
All:
[#86431] Ruby advertisement article [Computerwoche] — Armin Roehrl <armin@...>
Hi all,
Hi,
[#86497] Re: Access MS SQL Server 2000? — Lennie DeVilliers <Lennie@...>
Hello,
[#86534] Installing Docs (Was Re: Library directory structure on windows) — Gavin Sinclair <gsinclair@...>
On Friday, November 28, 2003, 2:11:34 AM, Gavri wrote:
[#86550] pre/post question/idea — "David A. Black" <dblack@...>
Hello --
> which to me has a bit of a "spliced onto the language" feel (which
On Friday 28 November 2003 10:32 am, Robert Klemme wrote:
On Friday 28 November 2003 03:32 am, David A. Black wrote:
[#86552] Re: pre/post question/idea — David Naseby <david.naseby@...>
>-----Original Message-----
[#86555] State of JRuby? — Daniel Carrera <dcarrera@...>
Does anyone know the current state of JRuby? From the web page it seems
On 11/27/2003 10:13 PM, Daniel Carrera wrote:
Joey Gibson wrote:
[#86574] Baker — "T. Onoma" <transami@...>
I would like to tell you about a project I started called Baker:
[#86577] bug in ruby/tk in ruby 1.8.0 ? — "Alexander Neundorf" <a.neundorf-work@...>
Hi,
[#86601] gtk/testrunner.rb:375: undefined superclass `ListItem' ??? — Lucian Suciu <Lucian.Suciu@...>
Hi All,
[#86610] gtk2/testrunner.rb:231:in `test_progress_bar': undefined method `[]' — Lucian Suciu <Lucian.Suciu@...>
>
[#86616] Need library for parsing configuration files — "Gavri Savio Fernandez" <Gavri_F@...>
hi,
On Friday 28 November 2003 06:48 pm, Gavri Savio Fernandez wrote:
[#86625] ruby-dev summary: 21928-22011 — Masayoshi Takahashi <maki@...>
Hello all,
[#86634] selfassignment and close — Simon Strandgaard <neoneye@...>
I would like to overload the '+=' operator. But it doesn't seems to be
[#86646] Underpinnings of Method Wrapping — "T. Onoma" <transami@...>
Its important that we clearly seperate the issue of "surface" syntax from the
> Thoughts?
On Saturday 29 November 2003 12:44 am, Peter wrote:
> I originally had a small paragraph touching on this, but I took it out b/c I
On Saturday 29 November 2003 04:26 pm, Peter wrote:
> The join-points are the only thing required to facilitate all of this. So I
On Sunday 30 November 2003 01:01 am, Peter wrote:
On Sun, Nov 30, 2003 at 11:53:25AM +0900, T. Onoma wrote:
On Sunday 30 November 2003 10:38 am, Mauricio Fern疣dez wrote:
> How would they know? ;-)
On Sunday 30 November 2003 03:57 pm, Peter wrote:
> > I like the proper separation, but why pre and post for extrinsic and def
On Sunday 30 November 2003 09:39 pm, Peter wrote:
> You're absolutely right. Hmm...Granted this is acting in accordance to an
On Monday 01 December 2003 12:25 am, Peter wrote:
> I was thinking about the terms. To really distinguish these two types of wraps
On Monday 01 December 2003 06:58 pm, Peter wrote:
> OK as in so-so, or OK as in yes? If just so-so we'll find something better. I
Peter:
[snip]
On Wednesday 03 December 2003 03:21 am, Peter wrote:
Here is an intereseting problem that I'm currently facing and which is related
> As always, I may be over looking the obvious. But if anyone has a current
On Sunday 07 December 2003 08:02 pm, Peter wrote:
Hi Tom,
On Tuesday 09 December 2003 01:05 am, Peter wrote:
> QUICK SIDE NOTE: might be nice to have something for all those dang ends. How
On Wednesday 10 December 2003 05:16 am, Peter wrote:
> Mine too! But I was joking :) Well, half way. It would be nice to have a good
On Wednesday 10 December 2003 05:55 pm, Peter wrote:
> Well, I thought of using the underscores to allow one to indent as needed to
On Thursday 11 December 2003 04:04 am, Peter wrote:
> Some people...I tell you. Hey, I know! How about I put in an RCR for 'alias e
On Thursday 11 December 2003 06:43 pm, Peter wrote:
> They do make sense, very good sense. And you make a good point. The problem is
Sorry, about the delay. Been working on sandboxing program compiling/
[#86651] re-raising an exception with the original backtrace — Joel VanderWerf <vjoel@...>
[#86655] anything disappearing from Ruby for 2.0? — "David A. Black" <dblack@...>
Hi --
Hi,
Hi!
Yukihiro Matsumoto wrote:
Hi,
Yukihiro Matsumoto wrote:
> |Ack, no more:
Hi,
Yukihiro Matsumoto wrote:
On Sunday 30 November 2003 03:34 am, Florian Gross wrote:
> Candidates are:
Hi!
[#86661] rdoc included in standard distribution? — Chad Fowler <chad@...>
I've seen various plans for this dating back more than a year. Is it
Hi,
Hi,
On Sunday, November 30, 2003, 9:51:38 PM, Yukihiro wrote:
[#86669] Class-level readers and writers — Carl Youngblood <carl@...>
I've been working with the class attribute shortcuts that Hal introduced
Hi --
> (Just as a footnote, you can also use "normal" accessor shortcuts at
Hi --
David A. Black wrote:
On Sunday, November 30, 2003, 8:59:15 AM, Christoph wrote:
Hi --
On Saturday 29 November 2003 10:59 pm, Christoph wrote:
Hello --
On Sunday 30 November 2003 12:11 pm, David A. Black wrote:
Hi --
>>>>> "D" == David A Black <dblack@wobblini.net> writes:
Hi --
David A. Black wrote:
On Mon, 1 Dec 2003, Christoph wrote:
David A. Black wrote:
Hi --
David A. Black wrote:
Hi --
>>>>> "D" == David A Black <dblack@wobblini.net> writes:
Hi --
[#86673] New to ruby--trouble with initializing arrays — vanjac12@... (Van Jacques)
I am writing a practice program; the Game of Life. Naturally I am having troubles.
[#86674] Where should people who are new to ruby go for help? — vanjac12@... (Van Jacques)
Is this the place for people who are new to ruby to post for help?
[#86676] regexp splitting problem — Brett S Hallett <dragoncity@...>
Hi,
[#86683] ruby game of life program — vanjac12@... (Van Jacques)
Finally its right. It seems so obvious now. I thought I could
[#86685] rake task library — Martin DeMello <martindemello@...>
Is there any effort underway to compile a rake task library, the way ant
[#86717] Ruby vs Python (IMHO) — Daniel Carrera <dcarrera@...>
Hi all,
In article <20031129184817.GA1426@math.umd.edu>,
DC = Daniel Carrera
[#86731] TCPSocket -> Wrong error on Windows? — Stephan K舂per <Stephan.Kaemper@...>
Hi all,
[#86751] class << x — Greg McIntyre <greg@...>
[ruby-talk:86745] reminded me of something I was going to ask.
I didn't ask what it does. I understand perfectly what "class << x" does
[#86775] File::Stat and file flags — Manfred Lotz <manfred.lotz@...>
In the UFS file system of FreeBSD a file can have special flags.
Hi,
[#86784] Re: anything disappearing from Ruby for 2.0? — "Gavri Savio Fernandez" <Gavri_F@...>
> From: Chris Uppal [mailto:chris.uppal@metagnostic.REMOVE-THIS.org]
Gavri Savio Fernandez wrote:
Chris Uppal wrote:
[#86802] Working with Ring/Rinda — "Shashank Date" <sdate@...>
I need some help in understanding the Ring API (even if it is "unstable" per
Re: "stereotyping" (was: Re: Strong Typing (Re: Managing metadata about attribute types) )
On Friday 21 November 2003 02:28 am, Peter wrote: > > I am not sure exactly how Haskell works, but it sounds like perhaps > > fulfillment could occur through a form of aliasing, although calls could > > still be made to the method required by its original name. Calls doing > > that would actually route through the aliased method. Since this only > > involves the interface mechanism, and would be just another method to > > Ruby, this could work, sure. > > > > It could look like: > > > > class AnyClass > > def method(parameters) implements someothermethod > > end > > > > ... which would allow someothermethod to be fulfilled in the interface > > requirement, but the method would actually be called method. You could > > call either and get the same method. Until the method was subbed later > > on by its real name, in which case method would just be a method (and > > would still exist). > > Actually it's rather an application of the adapter pattern, which is an > interface problem and which could benefit from support in interface > declaration. But my problem rather lies in the fact that two libraries > both expect an object to have a method with a certain name - but the same > for both - but they expect different behavior from it. You can always > rename your own methods, but not those that a library expects. (Though you > can "adapt" those a library offers through something like aliasing). Oh, I see. You know, I think I know of a script language that did that. Actually, what it had were a sort of virtual method system, where you could have the same method name implement several variations of itself, but each one was tagged to a "context." When you call the method, you could call it in the default context and the default method would execute, or put the object into some other context and call the method, and an entirely different method would execute. The method names could be the same; they were only differentiated by their context. > > Interfaces allow that, but wouldn't be able to provide for it. You could > > certainly still handle method_missing calls for methods that are outside > > the scope of an interface because an object would only need to fulfill an > > interface, not be strictly bounded by it. I doubt we could create an > > interface mechanism that actually made use of method_missing, though. I > > think when it comes to interfaces, things get a little bit strict. But > > the freedom is still there to work outside of them. If a class can't > > implement a method without handling it through a call to method_missing, > > I think we have to say that method cannot fulfill an interface. > > My point is just that the wolves will pick on this because it decreases > flexibility in the sense that any method which expects an object > implementing a certain interface can't be passed such a proxy. If it's > just your own code, you can just decide not to use the interface (which is > basically what you say above, right? Or only use part of it), but anyone > using your interfaces in a library API would restrict the flexibility for > the users. Basically implementing an interface is saying that you are duck > typing, but the check doesn't manage all of duck typing. I know it's a shortcoming, but the whole notion of interfaces has lots of things that restrict what you can do. That's why you can mix them in anywhere, and all the usual Ruby rules still apply. But I think where might want both a run-time method morphing scheme AND to be able to promise it through an interface, I really think we would have to come up with a name aliasing scheme (perhaps that was your suggestion originally, I think). It would serve the purpose. But let's also not forget that interfaces wouldn't DOMINATE Ruby. They're just there to provide a little help to code sharers. I doubt it can be all things to all people. > > I think when it comes down to the nuts and bolts of it, those sorts of > > things are cool ideas to patch in down the road. I think the basics of > > it will work, and this sort of thing will crop up now and again, but Matz > > or someone would be able to zip in a patch to do that pretty easily. > > Well, just saying it would be nice to think of this possibility up front, > that it's possible and easy to do. I'm sure Matz is a much better > programmer than anyone of us, but not all is easily done. I think if the interface mechanism were there, it would appear as a short hop to adding in an "alternate context" sort of mechanism. Right now, that's a couple steps ahead, so it's seems far-off, but with interfaces working, it wouldn't. > > There are two ways this is partially covered: > > > > One, and I know this is the "not my job" answer: interfaces should be > > well-defined enough to separate Input from Output to begin with. I think > > with poorly designed interfaces, you're going to have trouble. > > OK, this is where I don't agree with you. If you don't allow refining the > granularity (which superinterfacing is supposed to do), you'll always end > up being less flexible than duck typing as it is now. This has nothing to > do with poor design. A good design is flexible, maintainable, adaptable, > but it can't provide for all future needs. Can you guarantee that if you > write an interface, that it's the smallest useable subset of > functionality? But interfaces are for making contracts. Contracts are like plans. You can't design it poorly up-front, start making promises, then rescind the promises. The interfaces (when used, they ARE optional) are supposed to be a layout of what something can and can't do. Ruby provides flexibility enough by itself, interfaces should provides firmness. > > Two, interfaces can be subbed in my proposal, so you could subclass an IO > > string interface from a base IO interface. > > > > But as to superclassing, since the original interface designer lumped > > Input and Output into one interface, what you are really talking about is > > bypassing the interface requirements that methods might have. Instead of > > looking at it as superclassing an interface, look at it as shoving any > > old object past a requirement. I think there should be a mechanism for > > that as well. Flexibility should always be paramount. I just don't see how you can make a contract that says "this does this" and then pass in an object which has superclassed that contract, removed some portions of it, then push the object to a parameter which requires the original contract. Even with a superclassing mechanism, it's a lie; the method is not receiving what it has asked for. So, since it's a lie, why not just make a way to push any object past a requirement. If someone is going to do that, they're taking the risk. Something might blow up, or if they know for some good reason it won't, they can try it. What I mean is, if an interface designer lumps Input and Output together, and provides a method that requires an object which fulfills the InputOutput contract, how can you pass an object which only partially fulfills this requirement? My feeling is, you should be able to, but since you're giving it an object that doesn't give it 100% of what it asks for, just shove the object in there the old-school Ruby way and hope for the best. No need to write up a superclass. Write a whole new interface for Input and one for Output, and then just shove objects that fulfill those interfaces past InputOutput requirements. > > Unless I misunderstood your use of superclassing the interface. Correct > > please if I'm wrong. > > I will. Suppose someone design a library with Input and Output as provided > interfaces. Then classes will emerge that implement these interfaces, > right. The separation in Input and Output is based on the functionality of > the library, logically, right? When I use this library, and I would need > only an interface that only requires a subset of say the Input interface. > This is possible, right? I have several options. Either I create my own > interface with a subset of the methods of the Input interface, but then > any class implementing this Input interface can't be passed as something > implementing your interface, or at least not as such, while duck typing > allows for this. If you allow for superinterfacing (i.e., defining a > subset of methods in a separate interface), you have this flexibility > automatically. I see where you're driving at. The interface is not compared through method signatures. There are methods which require InputOutput by name, not by a set of method signatures, so superclassing to Input and thus generating a unique signature of methods would not make those methods happy. They still just want objects which fulfill the InputOutput contract. Again though, my experience is: when you design the interfaces, just design them right. But looking at the method signature idea: I think if you matched interfaces based on method signatures, you're talking about having methods which all have their own (potentially) uniquely generated requirement signature. That means that every object passed in every parameter would have to be checked to ensure each object passed had all the right methods. That's a lot of run-time overhead. It's much simpler just to compare the parameter types (named interfaces or none) to the interface description to see that they match the requirements for that method. It would be much, much faster just doing that, and if you designed the interfaces correctly, you get the same reassurance. Sean O'Dell