[#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: New Type Checking System Idea
On Fri, Nov 21, 2003 at 06:08:39AM +0900, Sean O'Dell wrote:
> Taking comments into consideration, a totally new approach strikes me
> regarding type checking.
> As briefly as I can:
> What if we had a way to describe a class interface that basically does
> this: "from this point forward, any methods added to this class
> definition will be checked against an interface description, and any
> methods whose names matches a method described in the interface must
> take the number and type of parameters described, and the class will
> be considered incomplete until the very last method described by the
> interface is added to the class."
> *** Some basic rules about this:
> Classes do not *need* an interface. They can go on just the way the
> are now, completely open and free. For someone who doesn't like to
> use interfaces, they are completely unaffected.
> Interfaces are immutable and cannot be extended, but you can subclass
> other interfaces from them.
Why? Is there any reason that interfaces shouldn't be as mutable as
classes and/or modules are?
I've played with a soft interface implementation which works reasonably
well where I've used it, but it's worth considering existing ruby usage.
And the most common example I come across of a Ruby interface is
Enumerable.
The problems (as I see it) with the current implementation of Enumerable
are that:
1/ It doesn't check for the existance of 'each' until you call a
method.
2/ It has brute force methods which could be implemented more
efficiently in specialised collections, e.g. Range, or a sorted
array.
3/ It supports reflection poorly. ie. there's no easy way to look at
Enumerable and work out what a class needs as a pre-requisite
in order to use Enumerable usefully.
1/ Could be solved using Iface.append_features(aClassOrModule) to check
that the class defines 'each' as an instance method.
3/ Could be solved by making the interface keep track of the required
methods (which would help generically solve 1)
2/ Could be solved by allowing the interface to provide methods which
don't override class methods of the same name.
There are also non-functional interfaces:
e.g. Marshal requires _dump and class._load to be defined.
The advantage of using a specified interface is that duck-typing isn't
enough. And as language doesn't have a infinite list of suitable
methods names, there's the chance that there may well be a clash.
e.g.
class AmericanClothes
attr_reader :pants
end
class BritishPerson
def put_on_underwear(clothesSource)
if @underwear.nil?
if clothesSources.respond_to?(:pants)
put_on(clothesSource.pants)
else
raise ClothingError, "No suitable underwear"
end
end
end
end
Which is a tongue in cheek example, but the point is that there is no
universal atomic source of method names.
But an interface could exist in a global namespace, and thus guarantee
(as much as anything does in Ruby at the moment) that method :x does
what is expected of it, because the class declares it's conformance.
Another reason for a clear interface definitions which I haven't
noticed being mentioned is that for some purposes libraries need types
which are more complex than Ruby's simple builtin types. The library
will either need a large number of respond_to? calls or a simple "does
it claim to conform to interface X?". The advantages of interfaces as
proposed are twofold - for the programmer a clear definition of the
expectations as regard a complex object, for the library a simple check
for conformance. And regardless of what some detractors have said, I do
believe that this adds rather than detracts from the dynamism of Ruby -
so much Ruby code checks for kind_of?(IO) when it really means
implements?(IORead). With interfaces this could and should be clearer
and promote better programming practices.
> Interfaces have unique, global names based on where they were defined.
> They take the name of the class or module they were described in, but
> they are not otherwise related to the class or module.
Aren't/Couldn't they be a specialised module?
> Interfaces can be assigned to any class regardless of its proximity to
> the interface description.
> Once a class has been assigned an interface, it's an error to change
> the number or types of parameters described methods take.
Isn't this an unlikely contingency to cater for? And more trouble than
it's worth?
If there's a library with an interface which accepts string arguments to
a particular methods, for example.
--- in foo.rb
interface Foo
def bar(String title)
end
--- in myprog.rb
class Bob
implements Foo
def bar(String|IORead title)
...
end
end
Couldn't the programmer end up in the situation where they have to
modify a library (and either hope that the change is accepted by the
library author or distribute a modified version of the library) so that
they can have a class which behaves as they wish when used by their
code, but which is also accepted by the library?
With dynamic interface definitions this sort of thing could be worked
around, but if they were immutable then every application author would
have to rely on every interface using library author anticipating all
possible uses of their library.
> You can still add methods any way you like, so long as they're not
> part of the described interface for the class.
See above.
> When you subclass from a class with an interface, or mix-in a module
> that has an interface, the subclass has that interface as well.
This is pretty much essential, but you'd get it "for free" if interfaces
were specialised modules.
> You can re-implement methods in a subclass which has inherited an
> interface, but the methods must have the same number and types of
> parameters.
Ok - but I still don't see why a program that knows what it's doing
can't take a class and use alias_method to insert hooks in a particular
function.
> *** Syntax sugar
> Parameter and return types are interface names.
> If a method needs to enforce a parameter type check, objects passed to
> that parameter must contain a "complete" flag for the interface
> required.
Nice, but automated parameter type checking is not essential for a basic
interface implementation.
[snip]
> Anything wrong with this way of doing it?
The main disadvantages I see are as follows:
1/ Compatibility
Libraries using this will not be usable earlier versions of
Ruby. As in they will break completely or displayed undefined
behaviour - this is a Bad Thing(TM) and will damage uptake.
(The great thing about so many of the changes between 1.6 and
1.8 is that many of them can be utilised but 1.6 still supported
by means of a compatibility layer written in Ruby - (I, for
example, still have a machine running 1.6 which I'm not in a
position to upgrade at the moment - hence pretty much anything
I write in Ruby for work needs to run on both).
2/ Dynamic extensibillity
I have a big problem with making interfaces immutable - it just
doesn't feel right in Ruby. And greater certainty that the
object isn't lying seems to be the only reason given for doing
it. (Ignoring the fact that the Object could be lie about the
return value of kind_of? anyway)
3/ Core interpreter
There are already various "core" features implemented in pure
Ruby - the most prominent being the Singleton mix-in. I don't
see evidence supporting the notion that unless it's done in
Ruby's C source, interfaces won't/can't become a meaningful and
useful tool - I would agree though that they are unlikely to
have significant penetration unless an implementation is chosen
and included in the core distribution.
Hope this is of interest,
Geoff.