[#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 Pavlik <rpav@mephle.com> wrote in message news:<20031107184353.002a2059.rpav@mephle.com>...
Ryan,
On Sat, 8 Nov 2003 09:45:24 +0900
Ryan Pavlik wrote:
On Sun, 9 Nov 2003 08:11:26 +0900
[#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 Wed, Nov 19, 2003 at 07:06:24AM +0900, Simon Kitching 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:
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:
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 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:
[#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:
Hi,
On Wednesday 19 November 2003 12:47 pm, 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:
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
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]:
> From: Rasputin [mailto:rasputin@idoru.mine.nu]
[#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
[#86158] Ruby - C++ extension — Elias Athanasopoulos <elathan@...>
Hello!
[#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:
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:
>>>>> "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:
[#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,
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:
> |2. If they do stack, is it possible to redefine a method as we
[#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 --
On Friday 28 November 2003 03:32 am, David A. Black wrote:
On Fri, 28 Nov 2003, David A. Black wrote:
> 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:
[#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
T. Onoma <transami@runbox.com>:
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,
> |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.
[#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 Thu, 20 Nov 2003 10:48:01 +0900, Sean O'Dell wrote:
> On Wednesday 19 November 2003 05:06 pm, Austin Ziegler wrote:
[...]
> I've shared code with developers on both typed and untyped code
> bases, and ALWAYS it's the typed code that they have less trouble
> with
[...]
I think that you're assuming a conclusion not necessarily supported
by the facts. First, did you actually read the Eckels article? If
you did, you would see that Eckels is also a proponent of *tested*
code. Thus, the developers would have a set of unit tests to run.
One of the main reasons that Ruby code *is* successful without type
checking is that it's part and parcel to see the code be well
tested. Testing is part of the Ruby culture.
Second, *why* did the untype-tested code turn into a sticky mess?
There are facts not in evidence here -- were the developers
unfamiliar with the untype-tested language? Was it a lower priority?
Were those developers given adequate training on the untype-tested
language? Did the developers chosen for such languages have good,
discipline programming practices (I suspect not) or were there
strong coding guidelines (again, I suspect not).
I suspect you're just using the terminology incorrectly, but Ruby
isn't an untyped language. It is very strongly -- but dynamically --
typed. What isn't present is method signature introspection beyond
arity and presence. As I said, there are cases when more than this
would be useful, but that's IMO/E a small subset of the universe of
programs for Ruby.
>> Managers *don't* know the upsides or downsides to static typing.
>> Most of them won't actually have a clue as to what the term
>> means. There are legitimate reasons to use C, C++, and Java.
>> Static typing isn't one of them, and I can't think of a single
>> manager in my past who would argue that it would be. Some
>> developers, perhaps, but they are also people who didn't have
>> exposure to dynamically typed object systems and languages.
> Managers are generally programmers who don't program as much as
> they look at code and try to help people design integration.
I don't know where you're working, but none of the companies where
I've worked have *managers* actually *ever* looked at the code that
I've worked on. That's been left for senior developers (in the role
of mentor or team lead), designers, and architects. As a team lead
and senior designer, I would happily put people to work using a
dynamically typed language like Ruby (or Python, but I have a strong
prejudice against Python's inconsistencies). But I'd also introduce
a rigorous test-first paradigm and make sure that my developers were
familiar with the language being used.
> They like typing because it helps them understand the code. Typing
> helps. Like it or not. I'm not saying Ruby sucks because it's
> untyped, I'm saying typing helps.
I think that TDD helps more than typing.
[...]
>> As Matz has said, there's no clean way to do this in Ruby at this
>> point. Simply doing name checking (whether interfaces or
>> inheritance) doesn't ensure compliance, so it actually buys us *
>> absolutely* nothing more than assuming we have the right object
>> to begin with.
> I agree there's probably no efficient way to offer guarantees. I
> agree doing something like that would be way too off-the-path for
> Ruby. But I don't think that a half-promise is useless.
I do, because it's not really a promise at all. It's a claim.
Ultimately, we still have to verify -- or potentially crash horribly
-- that the claim is true.
>> One of the things not mentioned there is that Ruby is also used
>> in the Amazon apparel store (see [ruby-talk:54605]). All of these
>> have been done *without* type checking.
> I have no idea how to refer to [ruby-talk:54605], but I'll assume
> that Amazon uses Ruby as the backend for their apparel store.
> That's good to hear, but it doesn't mean it can scale out to other
> things very easily. The larger it spreads out, the more typing is
> handy.
[ruby-talk:54605] refers to this mailing list and its archive
message number. Try http://www.ruby-talk.org/54605/ for the original
announcement and thread.
>> *shrug* I don't think that it's necessary. Most people I've
>> talked to have been convinced that Ruby's worth looking at
>> because of the deep object orientation.
> This is a baby-and-bathwater issue. I still HATE that I can't
> control when objects die and that there's no destructor. Yes,
> garbage collection is nifty. Yes, I use yield now for doing
> cleanup, and it serves as a replacement, but in the year or two
> I've been programming in Ruby, I still hate that objects just hang
> around until the collector gets them, and I hate that all I get is
> a finalizer.
>
> I LOVE Ruby, but I don't love that part, and probably never will.
I far prefer the advantages that garbage collectors give me. I don't
like having to deal with my own allocation and destruction. It might
be useful to have a concept like:
GC.mark(object)
That marks the object invalid, but that's made slightly difficult
because there's no "real" way to access the raw object without a
reference.
>> A NOOP still costs performance. Further, since most things can be
>> redefined at runtime (there are very few keywords in Ruby), it's
>> not exactly something that can be turned off.
> I think the performance issue is blown out of proportion. Code
> gets added with each release that adds more to the code base and
> does far less than what a type checking mechanism would.
Most of those changes have narrower impact than what a type checking
mechanism would involve.
> Which is a curious trait that I don't share. And since, save for
> my occassional ranting threads, there is little traffic in this
> newsgroup/list, I am wondering if perhaps I'm just not "getting
> it" here and should move on to something else.
Um ... the list has about 3,000 messages a month. We're already at
about 2,200 messages for November. That's not "little traffic."
> When did the Ruby community become so hostile? I remember the last
> couple of discussions I had, they were energetic but polite, and
> now it seems like a war zone.
You have the unfortunate happenstance of defending a position that
has been discussed to death, and recently. Ruby with type checking
is not Ruby. I strongly suspect that in *most* cases, where people
want type checking, other techniques could fill in nicely without
making the code brittle. Test-driven development is one such
technique. Design by Contract is another.
I'm not hostile to you, by the way, I am hostile to the idea of
importing something that doesn't really add anything to Ruby for
specious reasons. Part of the reason that you're confused by the
dichotomy that I hold is that if I want a contractual guarantee, I
want it to be rock-solid. I don't want it to be a useless promise
that I have to check behind *anyway*.
> If you folks are dead-set in your ways and look unkindly upon
> people who suggest that Ruby change and grow out off the beaten
> path a little, just say the word. I'm a free soul here, I'm not
> signed up for anything in particular.
What's being discussed isn't a little growth. It's a radical change
in direction if it's to be a useful change, and an unnecessary thing
if it isn't.
> I like Ruby, and I think a lot of it is smart, but because it's
> free and flexible, not because there's a hardened core of zealots
> who defend it from change at all costs. This seems silly. I got an
> anonymous comment on my RCR from someone calling my RCR "static
> typing." That's getting ludicrous. What is that about? Is this
> what the community is boiling down to?
Note that the people who read your RCR on RubyGarden may not read
ruby-talk. The Ruby community isn't monolithic. Nor am I trying to
defend Ruby from change. I'm trying to ensure that such change is
useful.
> Lighten up folks. Take my RCR and comment on it until it works.
I don't think your RCR will *ever* be workable as part of the core
language. It asserts a promise -- that need not even be kept,
leaving us exactly where we are today. It's rather like the
prototypes in Perl ($@$%) theoretically guarantee that the
parameters will be passed as scalar, array, scalar, and hash, but
IIRC you *still* have to do special work with non-scalars. It buys
you nothing and is merely confusing in the end.
>> No, I don't like what you've proposed. Propose something that is
>> useful and I can see supporting it. So far, you've suggested
>> something that does not add value or hasn't been done by others
>> (namely Ryan Pavlik's metadata module).
> Is that the Metatags module he has in RAA? I thought that was more
> of a documentation thing that would be useful by parsers other
> than Ruby itself? I kind of remember something about that. It was
> a YAML thing, was it not?
No, not YAML. But that's the one, and it is sort of documentation.
He's set it up so that it can be queried by programmers using Ruby,
though.
> I don't think it's the same thing. I think it's also dependent on
> the developer keeping the code in sync with the metatags. I could
> be wrong.
It is dependent for such. It's also string-based, which is one of
the reasons that I find it unusable.
> Also, I think you are just disagreeing with me to disagree. Not
> once have I heard a suggestion to alter my idea to make it work.
Because, IMO, it *cannot* work. The best option for this RCR is to
die. Propose, perhaps, that DbC become part of Ruby, or that there
be a cleaner way of making this information available in the Ruby
core, but I don't know what the "right" answer is offhand. What I do
know is that I *don't* need static typing or interface checking in
the programs and libraries that I've written for Ruby.
> It's not set in stone. It's yours, it's Matz's, it's everyone's
> idea now. Talk and make it work. Off my ass now, please. You
> understand me, the idea is written up as an RCR. Go comment on it
> constructively.
IMO, there is no constructive statement to be made for it. What I'm
trying to do is convince you either (a) to make a proposal that
*can* be worked with or (b) to understand what can be used in place
of type checking of any sort in Ruby.
-austin
--
austin ziegler * austin@halostatue.ca * Toronto, ON, Canada
software designer * pragmatic programmer * 2003.11.20
* 00.52.26