[#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: Segfault in Ruby/ODBC
Nathaniel Talbott [mailto:nathaniel@NOSPAMtalbott.ws] wrote:
> My program is causing a segfault under load, and while I'm
> going to dig in to figuring out why, I thought I'd go ahead
> and see if anyone here could give me a hand. It appears that
> the Ruby/ODBC extension is somehow behaving badly, and not
> being a C guy, I'd appreciate any help you can give me.
>
> The backtrace below was generated off of an optimized ruby
> without debugging info... I may be able to do it again and
> get better information, but not immediately. Also, the
> program itself is large and proprietary, and as with most
> SEGFAULTs, I can't reproduce the problem except with the full
> program under load.
OK, I have better data now. First of all, I have a small program that will
reproduce the problem, provided you have access to an odbc database:
require 'dbi'
threads = []
Thread.abort_on_exception = true
10.times do |i|
threads << Thread.new do
db = DBI::connect("dbi:ODBC:dbname", "user", "password")
loop do
p "Looping #{i}..."
db.tables
db.execute("SELECT COUNT(*) FROM table").finish
db.tables
db.execute("SELECT * FROM table").finish
end
end
end
threads.each{|t| t.join}
Obviously you'd need to replace dbname, user, password and table with things
that make sense for your setup. I'm using unixODBC to connect via FreeTDS to
a MSSQL server on a Windows NT box.
Also, I've recompiled Ruby and the odbc driver with debugging information,
and have a better backtrace:
(gdb) run
Starting program: /usr/bin/ruby t.rb
[New Thread 16384 (LWP 16080)]
"Looping 0..."
"Looping 2..."
"Looping 1..."
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 16080)]
0x400de1f5 in mallopt () from /lib/libc.so.6
(gdb) bt
#0 0x400de1f5 in mallopt () from /lib/libc.so.6
#1 0x400dd383 in malloc () from /lib/libc.so.6
#2 0x08070cf6 in ruby_xmalloc (size=16) at gc.c:108
#3 0x080bf370 in st_init_table_with_size (type=0x81000dc, size=11) at
st.c:167
#4 0x080bf3c8 in st_init_table (type=0x81000dc) at st.c:180
#5 0x08073c87 in hash_alloc (klass=1075592068) at hash.c:188
#6 0x08073cb8 in rb_hash_new () at hash.c:196
#7 0x4022ec69 in do_fetch (q=0x819d6d0, mode=1) at odbc.c:3802
#8 0x4022fce4 in stmt_fetch_hash1 (argc=1, argv=0xbfffabb0,
self=1075690112, bang=0)
at odbc.c:4206
#9 0x40230106 in stmt_each_hash (argc=0, argv=0x0, self=1075690112) at
odbc.c:4345
#10 0x0806adb3 in call_cfunc (func=0x40230030 <stmt_each_hash>,
recv=1075690112, len=-1, argc=0,
argv=0x0) at eval.c:4841
#11 0x0805dc43 in rb_call0 (klass=1075735712, recv=1075690112, id=14073,
oid=14073, argc=0,
argv=0x0, body=0x401e2164, nosuper=0) at eval.c:4975
#12 0x0805e788 in rb_call (klass=1075735712, recv=1075690112, mid=14073,
argc=0, argv=0x0, scope=0)
at eval.c:5196
#13 0x0805866a in rb_eval (self=1075693732, n=0x401f75a0) at eval.c:3026
#14 0x08057438 in rb_eval (self=1075693732, n=0x401f7a78) at eval.c:2753
#15 0x08057979 in rb_eval (self=1075693732, n=0x401f6204) at eval.c:2839
#16 0x0805e23f in rb_call0 (klass=1075705512, recv=1075693732, id=10217,
oid=10217, argc=0,
argv=0x0, body=0x401f6204, nosuper=0) at eval.c:5103
#17 0x0805e788 in rb_call (klass=1075705512, recv=1075693732, mid=10217,
argc=0, argv=0x0, scope=0)
at eval.c:5196
#18 0x0805866a in rb_eval (self=1075695672, n=0x401ab2dc) at eval.c:3026
#19 0x0805e23f in rb_call0 (klass=1075842852, recv=1075695672, id=10217,
oid=10217, argc=0,
argv=0x0, body=0x401ab2dc, nosuper=0) at eval.c:5103
#20 0x0805e788 in rb_call (klass=1075842852, recv=1075695672, mid=10217,
argc=0, argv=0x0, scope=0)
at eval.c:5196
#21 0x0805866a in rb_eval (self=1075620448, n=0x401baf98) at eval.c:3026
#22 0x0805c050 in rb_yield_0 (val=6, self=1075620448, klass=0, flags=0,
avalue=0) at eval.c:4229
#23 0x0805c432 in rb_f_loop () at eval.c:4330
#24 0x0806adcd in call_cfunc (func=0x805c418 <rb_f_loop>, recv=1075620448,
len=0, argc=0, argv=0x0)
at eval.c:4844
#25 0x0805dc43 in rb_call0 (klass=1075625128, recv=1075620448, id=3921,
oid=3921, argc=0,
argv=0x0, body=0x401ca1a0, nosuper=0) at eval.c:4975
#26 0x0805e788 in rb_call (klass=1075625128, recv=1075620448, mid=3921,
argc=0, argv=0x0, scope=1)
at eval.c:5196
#27 0x08058924 in rb_eval (self=1075620448, n=0x401bad7c) at eval.c:3041
#28 0x08057438 in rb_eval (self=1075620448, n=0x401bad04) at eval.c:2753
#29 0x0805c050 in rb_yield_0 (val=1075838972, self=1075620448, klass=0,
flags=2, avalue=2)
at eval.c:4229
#30 0x08068e60 in rb_thread_yield (arg=1075838972, th=0x816efd8) at
eval.c:9581
#31 0x08068b04 in rb_thread_start_0 (fn=0x8068d94 <rb_thread_yield>,
arg=0x401ffffc, th=0x816efd8)
at eval.c:9495
#32 0x08068f53 in rb_thread_initialize (thread=1075839612,
args=1075838972) at eval.c:9610
#33 0x0806ad94 in call_cfunc (func=0x8068f04 <rb_thread_initialize>,
recv=1075839612, len=-2,
argc=0, argv=0x0) at eval.c:4838
#34 0x0805dc43 in rb_call0 (klass=1075609928, recv=1075839612, id=2953,
oid=2953, argc=0,
argv=0x0, body=0x401c80e4, nosuper=0) at eval.c:4975
#35 0x0805e788 in rb_call (klass=1075609928, recv=1075839612, mid=2953,
argc=0, argv=0x0, scope=1)
at eval.c:5196
#36 0x0805e9ba in rb_funcall2 (recv=1075839612, mid=2953, argc=0,
argv=0x0) at eval.c:5271
#37 0x0806124c in rb_obj_call_init (obj=1075839612, argc=0, argv=0x0) at
eval.c:6341
#38 0x08068eb4 in rb_thread_s_new (argc=0, argv=0x0, klass=1075609928) at
eval.c:9594
#39 0x0806adb3 in call_cfunc (func=0x8068e74 <rb_thread_s_new>,
recv=1075609928, len=-1, argc=0,
argv=0x0) at eval.c:4841
#40 0x0805dc43 in rb_call0 (klass=1075609908, recv=1075609928, id=3353,
oid=3353, argc=0,
argv=0x0, body=0x401c810c, nosuper=0) at eval.c:4975
#41 0x0805e788 in rb_call (klass=1075609908, recv=1075609928, mid=3353,
argc=0, argv=0x0, scope=0)
at eval.c:5196
#42 0x0805866a in rb_eval (self=1075620448, n=0x401bb254) at eval.c:3026
#43 0x08057438 in rb_eval (self=1075620448, n=0x401bacf0) at eval.c:2753
#44 0x08058506 in rb_eval (self=1075620448, n=0x401bacb4) at eval.c:3021
#45 0x0805c050 in rb_yield_0 (val=1, self=1075620448, klass=0, flags=0,
avalue=0) at eval.c:4229
#46 0x0805c306 in rb_yield (val=1) at eval.c:4282
#47 0x08087af3 in int_dotimes (num=21) at numeric.c:1775
#48 0x0806adcd in call_cfunc (func=0x8087aac <int_dotimes>, recv=21,
len=0, argc=0, argv=0x0)
at eval.c:4844
#49 0x0805dc43 in rb_call0 (klass=1075606888, recv=21, id=5385, oid=5385,
argc=0, argv=0x0,
body=0x401c74a0, nosuper=0) at eval.c:4975
#50 0x0805e788 in rb_call (klass=1075606888, recv=21, mid=5385, argc=0,
argv=0x0, scope=0)
at eval.c:5196
#51 0x0805866a in rb_eval (self=1075620448, n=0x401bb2e0) at eval.c:3026
#52 0x08057438 in rb_eval (self=1075620448, n=0x401bb3bc) at eval.c:2753
#53 0x08053a80 in eval_node (self=1075620448, node=0x401bb3bc) at
eval.c:1217
#54 0x0805408a in ruby_exec () at eval.c:1387
#55 0x0805410d in ruby_run () at eval.c:1408
#56 0x08051f93 in main (argc=2, argv=0xbffff704, envp=0xbffff710) at
main.c:50
(gdb) c
Continuing.
/usr/lib/ruby/site_ruby/1.8/DBD/ODBC/ODBC.rb:124: [BUG] Segmentation fault
ruby 1.8.1 (2003-10-31) [i386-linux]
Program received signal SIGABRT, Aborted.
0x400955f1 in kill () from /lib/libc.so.6
I'm going to dig in to this and see if I can figure out what the problem is,
but any help would be appreciated. Let me know if there's any more
information I can provide that would be useful.
Thanks,
Nathaniel
<:((><