100721-101680

100526-109991 subjects 101012-108288

[bug] irb or xterm crash with UTF-8
100721 [neoneye@ad l] irb(main):001:0> $KCODE='U'
100733 [angus@qu va ] [Simon Strandgaard <neoneye@adslhome.dk>, 2004-05-19 13.45 CEST]
100737 [neoneye@ad l] That makes sense. Thanks.
100795 [dickey@sa tm] but the thread seems to indicate it wasn't setup properly for UTF-8 anyway.
100798 [neoneye@ad l] yes.. I only wanted Ruby to use UTF-8.. but not output UTF-8.
100828 [dickey@sa tm] I took a quick look at your example, and (won't have time til the weekend)
100858 [neoneye@ad l] XTerm(189)
100891 [dickey@sa tm] most do not (for Linux).
100986 [neoneye@ad l] <lame idea>
101027 [dickey@sa tm] I'd rather just make it work properly (in this case, -k8 is fixing
101028 [neoneye@ad l] Ok.
101054 [dickey@sa tm] perhaps sometime I'll work with Ruby, but for now have more than enough work.

regexp widehex glitch
100724 [neoneye@ad l] Within regexp's you can match a hexbyte by typing '\x42'

Arguments and formal variables
100726 [angel@ty ex ] In first place I sorprised with te behavior of formal variables inside a
+ 100744 [neoneye@ad l] You will need to box the value.. there are many way to do this,
+ 100748 [bob.news@gm ] "Angel Martin" <angel@tyrex.mine.nu> schrieb im Newsbeitrag
  100754 [angel@ty ex ] Because a C pointer view :-)
  100878 [bob.news@gm ] "Angel Martin" <angel@tyrex.mine.nu> schrieb im Newsbeitrag

Prolog Jokes (was Re: Zero is true ... whoda thunk?)
100728 [lyle@kn lo y] Sorry to change the subject, but for some reason this thread of

0 is a Number, too! (was: Zero is true ... whoda thunk?)
100732 [burtdav@ho m] Equal rights for Numbers: 0 is a Number, too!
+ 100736 [Gavri_F@in o] This post is more convincing than all the other posts combined!! :)
+ 100765 [vjoel@PA H. ] Print bumper stickers! Three words say you're a ruby fan...
+ 100826 [nick@ac iv h] Not to beat a dead horse, but semantically Ruby's mechanism makes sense

UDP Asynchrone connection problems
100735 [greg.burri@n] I have made a little server-client system based on UDP protocole. the
100745 [decoux@mo lo] You don't say what is your sytem : I suppose Windows, no ?
100747 [greg.burri@n] Sorry, the problem appears under windows (XP + ruby 1.8) and linux (debian
100974 [danj@3s el c] I think you are doing a connect with the UDP socket that ties the two

ODBC connection string for MS-Access
100740 [sdate@ev re ] I have tried the following strings for connecting to MS-Access using
+ 100739 [sdate@ev re ] Forgot to mention that I am on Win XP(Home) using the latest
+ 100752 [joaopedrosa@] I've tested it successfully.
  100820 [shanko_date@] I tried method 2 (DSN less) described in that post as
  100837 [shanko_date@] That worked ... thanks a million Joao !!!
  100861 [mneumann@nt ] require 'dbi'
  100871 [sdate@ev re ] Microsoft Windows XP [Version 5.1.2600]
  100872 [mneumann@nt ] Ruby/DBI has moved from Sourceforge to RubyForge. It's new home is
  100880 [sdate@ev re ] Oops, sorry ... I was installing the previous download. My bad!

Bug in Vector class?
100743 [dave.baldwin] dave 31% irb
100749 [matz@ru y- a] We defined Vector#+ as addition between vectors.  Tell me if it is a
100759 [dave.baldwin] I was hoping  to see

test ignoreit plz
100751 [vendas.jeans] test only. do not spam please.

Fortran Format?
100793 [qubert@or it] OK, I have an algorithm that I created to format a series of numbers
+ 100794 [hal9000@hy e] More like
+ 100796 [msparshatt@y] A better way would be to be to use the sprintf method (documented on
| + 100806 [ahoward@no a] ~ > cat a.rb
| + 101175 [bob.news@gm ] "Mark Sparshatt" <msparshatt@yahoo.co.uk> schrieb im Newsbeitrag
+ 100797 [surrender_it] => "  3.150122.5\n"
+ 100842 [quixoticsyco] How about calling your FORTRAN routines directly from ruby?
  100843 [quixoticsyco] oops, that's [ruby-core:2905]

threads, Hash#delete_if, and ruby segfaults.
100804 [nspring@cs w] should the following code cause the ruby interpreter to segfault?  If
100814 [matz@ru y- a] It is fixed in the latest snapshot.

bad maths
100808 [morg@bo ge y] i = 0
+ 100809 [morg@bo ge y] sry, i was testing around with different numbers so i copied wrong
| + 100812 [ljz@as as .c] First, look up "floating point arithmetic" on Google (include the
| + 100849 [unet@re x. o] [repeated adding of 0.1 not coming out exact]
| + 100855 [unet@re x. o] A small addendum to my previous answer.  If you need exact decimal
+ 100811 [hal9000@hy e] Look for a thread about a week or so ago. :)
+ 100821 [flgr@cc n. e] Moin!

Autographed Pickaxes (was Re: CSV bug?
100816 [cyclists@nc ] Personally I would pay more than the cover price for an autographed copy,
100847 [dave@pr gp o] Autographing a book is an honor for the author, and not something to be

[ANN] RubyConf 2004 Preregistration is now open!
100823 [chad@ch df w] ...
100868 [chadfowler@g] As a couple of people were kind enough to point out, there is a very

Web GUI Testing (Re: How to duck type? - the psychology of static typing in Ruby)
100833 [jamesUNDERBA] I've been using Ruby at my current job to test a web app via Internet
+ 100975 [paul.rogers@] James - can you make this additional code available?
| + 100990 [burtdav@ho m] I wonder: does (Explorer -> Tools -> Folder Options -> View tab -> check
| + 101029 [jamesUNDERBA] Sure, with the typical disclaimer that goes with
+ 100998 [david@lo dt ] Rails[1] provide access to the rendered template _without_ going
| + 100999 [khaines@en g] Iowa is like this, as well.  Iowa applications operate off of an
| + 101005 [jamesUNDERBA] I was testing a site built with JSP and similar crap, running under
+ 101034 [djberg96@ho ] Dunno if it's relavent, but perhaps a port of Perl's WWW::Mechanize
| 101205 [paul.rogers@] is good for testing in some situations. I would love for someone to
+ 101056 [drbrain@se m] =20
  101298 [jamesUNDERBA] Yes and no.  That's available via the controller, but it gives you some

Where to download FXRuby library; where to put it; RUBYLIB, RUBYPATH env. vars
100839 [NoOne@No he ] I'm just starting to do some GUI using Hal Fulton's excellent intro to
+ 100840 [hal9000@hy e] Thanks for the compliment. Most of that section was written by someone
| 100848 [NoOne@No he ] It's well deserved: all the examples that were complete programs ran "out of
+ 100841 [rich@li hi o] If you're on Windows (as it looks like you are), then you can just use the
| 100851 [NoOne@No he ] Thanks for the response.  Now that I've got all the FXRuby stuff from Hal's
| 100887 [lyle@kn lo y] Richard,
+ 100883 [lyle@kn lo y] I don't have Hal's book in front of me at the moment, but you should be

Vim with Ruby support -- Win32 binary?
100856 [mvondung@gm ] Vim offers Ruby support, but only if it was compiled with the +ruby
100923 [NOjmarshallS] It is updated fairly frequently, and includes Ruby support along with
100966 [mvondung@gm ] Thanks! That's exactly what I had been looking for. :) I knew about the

Multicasting with Ruby?
100857 [ dle@ri .c m] I'm trying to "listen" on a multicast using Ruby.  After trolling the
100976 [danj@3s el c] I got your program running under solaris. Solaris has some alignment
101002 [ dle@ri .c m] Thanks Dan!  It worked beautifully.  Changing "host" to "addr" (OK, that
101009 [jamesUNDERBA] Pardon my networking ignorance, but in this example, where does the
+ 101018 [danj@3s el c] $ host 228.5.6.8
+ 101032 [ dle@ri .c m] As Dan had stated, I chose the multicast address arbitrarily.  Up to you

to_bool analogous to to_str, not to_s
100860 [burtdav@ho m] Maybe it's the latter that's the nice shortcut, an object's existence or not

Ruby's builtin Datastructures
100862 [spam0504@bs ] for some time I'm wondering if there exists a library with datastructures
100865 [neoneye@ad l] deque, queue, list.. then ruby's builtin Array class will fit.
+ 100875 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
+ 100876 [spam0504@bs ] Thanks for your answer. I should have looked in the raa by myself. Just a
  + 100879 [neoneye@ad l] I don't know how Array is implemented.. I think matz (Ruby's author) has
  | + 100888 [batsman.geo@] amortized O(1), I think
  | | 100955 [cc1@ce .w st] How much does it cost for an array access in the middle?  Why does it cost
  | | 100991 [batsman.geo@] O(1), since an Array is implemented as a C array of VALUEs.
  | + 100890 [DocBoobenste] 8< ----- snip -----
  + 100900 [angus@qu va ] [Brian Schroeder <spam0504@bssoftware.de>, 2004-05-20 14.23 CEST]
  + 100907 [discord@ma .] One of the great things about ruby is how easy it is to test things
    100911 [quixoticsyco] But look what happens for larger data,
    101003 [discord@ma .] oops. I messed up - I plead sleep deprivation.

[ANN] Ruby/DBI 0.0.23
100863 [mneumann@nt ] I released Ruby/DBI 0.0.23.
+ 100902 [djberg96@ho ] Hmm....I was just wondering if views should be included as part of the
| 101102 [mneumann@nt ] I think tables() should return everything that can be queried using a
+ 100969 [nick@ac iv h] Excuse me if this is a silly questions, but why such a low number,
  101100 [mneumann@nt ] It's just that I was/am too lazy to go to a 0.1 or even 1.0 version.

seraching backward in files
100867 [clr1.10.rand] Dear ruby hackers,
+ 100869 [neoneye@ad l] Ruby's native regexp engine cannot go backwards... thats why I
| 100885 [clr1.10.rand] your solution would probably the most clean one, but would require an
| 100889 [neoneye@ad l] Good luck.
+ 100873 [angus@qu va ] [Patrick Gundlach <clr1.10.randomuser@spamgourmet.com>, 2004-05-20 13.03 CEST]
| 100882 [clr1.10.rand] Yes, this is cool. It works like charm. Thanks for pointing this out.
+ 100877 [ahoward@no a] if you are on linux you might want to simply
  100884 [clr1.10.rand] Oh, right, I forgot about tac. But this could be slow on large files

Debian Ruby
100874 [paul@lu n. e] I just wanted to let Debian users and developers know that a Debian Ruby

Files ugly clone
100886 [neoneye@ad l] I want to clone a filedescriptor, but no matter
100903 [ahoward@no a] doesn't this do it?
100904 [neoneye@ad l] Hmmm bad proof of concept.. Therefore I will have to
100908 [neoneye@ad l] Solved, just discovered that #dup clones, but without
100940 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
100953 [neoneye@ad l] Yes the file concept is in general old.. it has some oddities.

Include into class after instance is created
100893 [spam0504@bs ] it's me again with another question. I want to include a module only after
100894 [ksibilev@be ] Use Object#extend instead of include.
100896 [spam0504@bs ] Thanks for the tip.
+ 100909 [ksibilev@be ] $ irb
+ 100912 [alex@de et .] That's the default behaviour of extend. If you wanted to do extra things

variable scope in required files
100895 [dave.baldwin] file a.rb
+ 100897 [angus@qu va ] [Dave Baldwin <dave.baldwin@3dlabs.com>, 2004-05-20 16.08 CEST]
+ 100920 [kbullock@ri ] In C, unless you declare them extern[1], variables are private to the

Autogenerating test targets with mkmf?
100899 [djberg96@ho ] targets

[rcr] make File#dup intuitive
100910 [neoneye@ad l] position is not copied.. try this example for yourself
+ 100952 [dooby@d1 .k ] Works here.
| 100954 [neoneye@ad l] Hmm.. this begins to look like a freebsd specific problem.
+ 100978 [nobu.nokada@] I've expected it had been fixed.
  100979 [neoneye@ad l] I just applied your patch.. it seems as the position now
  100980 [nobu.nokada@] Sorry, too stupid.
  + 100981 [neoneye@ad l] I have sligthly adjusted your original patch, so it now works
  | 100982 [neoneye@ad l] Your new patch works like a charm :-)
  + 101010 [neoneye@ad l] Will this wonderful patch be committed to cvs ?
    101381 [neoneye@ad l] [snip patch]
    101427 [matz@ru y- a] Go head, Nobu.
    101442 [neoneye@ad l] Excelent!  a pleasant birthday present.. Thanks Nobu+Matz.

Dealing with primitives
100913 [rohitlodha@h] The ruby currently deals with only ints with one bit to differentiate it
+ 100917 [flgr@cc n. e] Moin!
| 100944 [bob.news@gm ] "Florian Gross" <flgr@ccan.de> schrieb im Newsbeitrag
+ 100948 [quixoticsyco] In general, compile-time type knowledge is mutually exclusive with the

YAML and mod_ruby
100915 [hal9000@hy e] Here's a small puzzle.
100919 [ruby-talk@wh] I can't explain exactly why this is happening, but I'm removing the

Broken lcm
100916 [unet@re x. o] Ruby version: ruby 1.9.0 (2004-05-10) [i686-linux]

vuby - VM for Ruby
100922 [rohitlodha@h] I have been working on vuby for a month. I feel now that this should be open
+ 100924 [Gavri_F@in o] This definitely isn't an open-source license. Check out  http://www.opensource.org/docs/definition.php
| + 100925 [rohitlodha@h] This definitely isn't an open-source license. Check out
| | + 100927 [rohitlodha@h] on reading it fine print ( I am not a lawyer) I find point one is also
| | + 100929 [rt@al m. pi ] Well, depending on the situation, since you are the copyright holder
| |   + 100932 [Gavri_F@in o] it does say that.
| |   | 100933 [Gavri_F@in o] sorry about that. sent the mail by mistake before i was done composing it. i intended to quote the relevant portion.
| |   + 100937 [rohitlodha@h] Well, depending on the situation, since you are the copyright holder
| |     100939 [msparshatt@y] You're right that open source wouldn't work if people acted in the way
| + 100936 [carl@yo ng l] There is plenty of room in the GPL for charging money for your software
+ 100928 [msparshatt@y] Using this license your application won't be open source, at least not
| 100942 [ko1@at ot ne] [ Re: vuby - VM for Ruby ]
| 100996 [surrender_it] did you noticed libjit ?
| + 100997 [ko1@at ot ne] gabriele renzi <surrender_it@rc1.vip.ukl.yahoo.com>
| | + 101181 [feldt@ce ch ] I started wrapping it in a Ruby extension. Problem is it requires C++
| | + 101200 [george.marro] Hmm .. it's GPL. No problem with that generally, but how good a fit is
| + 101015 [ptkwt@ar cn ] That's interesting.  What a great idea: put all the JIT functionality into
+ 100935 [ptkwt@ar cn ] So it will be a super-set of the current JVM?
+ 100961 [matt@te hn r] I don't use Windows for anything but playing games, so I may not do

Overriding "", [], and {}
100926 [dejaspam@ba ] Is there any way to cause "", [], and {} to have different behaviors.
+ 100931 [hal9000@hy e] I thought of something like this three years ago. It's not possible.
+ 100934 [ruby-talk@wh] This isn't what you're looking for, but I think it's the best answer.
  100943 [bob.news@gm ] "why the lucky stiff" <ruby-talk@whytheluckystiff.net> schrieb im
  100957 [hal9000@hy e] But then the order in the "ordered hash" is not necessarily the same
  101177 [bob.news@gm ] "Hal Fulton" <hal9000@hypermetrics.com> schrieb im Newsbeitrag

How can I use Ruby for ASP
100941 [ssk@ch l. os] I've been using Python and starting to use Ruby.
100946 [burtdav@ho m] Do you really want to use ASP? Will RubyWebDialogs
+ 100947 [achou@te le ] ...
+ 100959 [ssk@ch l. os] Dave, what I want is to make IIS recognize Ruby Scripting Engine.
  100989 [burtdav@ho m] IIS Management -> Web Sites -> Properties -> Home Directory tab ->
  101006 [ssk@ch l. os] Thanks, Dave!

WDDX?
100945 [chrismo@cl b] Anyone got any handy WDDX Ruby stuffs lying 'round? RAA doesn't seem to
100993 [nahi@ke na t] I haven't seen WDDX Ruby module.  It might be a time for clxmlserial to

[HOWTO] -Set  Key Sequence/Shortcut  WINDOWS
100950 [xarek@sp ma ] /Hello Ruby fans/
+ 100964 [assaph@av ya] Hola!
+ 100967 [dooby@d1 .k ] Unable to follow :-(
  101011 [xarek@sp ma ] I've done it ...but it does not work (weird !), currently I'm using a software
  101016 [achou@te le ] ...

require "fox/responder" does the job ... thanks
100963 [NoOne@No he ] Thanks for your posts.
100970 [lyle@kn lo y] require 'fox\responder'
101680 [NoOne@No he ] Thanks for these add'l details.  There were so many responses on this thread

Where to a store libary-folders for additional pkgs?
100968 [NoOne@No he ] I just downloaded a neat FXRuby package,  ListView,  from
+ 100972 [lyle@kn lo y] You're right that the listview widget is independent of the Ruby version
+ 100973 [lyle@kn lo y] You're right that the listview widget is independent of the Ruby version

EUROKO 2004 [was: Re: Introducing myself - Sascha Ebach]
100987 [Stephan.Kaem] Sorry to bother again, but is there any news on that in the meantime?
101107 [mneumann@nt ] Yes and no :-) (hmm, it's not really funny)

Digital Mars C++. How to compile?
100994 [dmitry_n_orl] How I can compile&build Ruby sources by DMC?

ISAAC Random Number Generator
101001 [khaines@en g] Iowa includes a class, Iowa::ISAAC, which is a pure ruby implementation of
101007 [paul@NO rg l] How does ISAAC hold up under Marsaglia's "Die-Hard" test suite?  I
+ 101008 [decoux@mo lo] ISAAC was designed to be cryptographic secure, this is not the case for
+ 101014 [khaines@en g] I don't know.  I just downloaded diehard and am running a few tests.
+ 101263 [vjoel@PA H. ] I'll second that. Independent PRNG streams are very important in the
threads.html
top