63614-65935

63307-85775 subjects 63841-64686

drb access control
63614 [ahoward@fs .] drb experts-
63616 [drbrain@se m] rb
63626 [ahoward@fs .] the acl thing looks cool.  i'll check it out.

What is a tuple?
63619 [mwilson13@co] Just a basic question -- what is a tuple?  How is it different from an
+ 63620 [bobx@li ux a] Tuples are immutable lists.
| + 63622 [mwilson13@co] Thank you for the prompt response.  Could one then implement a tuple in
| | 63623 [drbrain@se m] =20
| + 63720 [jcb@it ri .c] In Haskell,
|   + 63750 [martindemell] Heterogenous, but they have a fixed type for each position
|   + 63761 [brian@sa e- ] Nothing in Haskell is readable either.
|   | 63766 [martindemell] Wow - talk about mileage. Personally, Haskell has the most pleasing
|   + 63850 [japhet@hu hh] is tuple same as perl's %hash?
|     63887 [gsinclair@so] Nothing like it!  A tuple is a fixed-length list, with some other
+ 63621 [ ted@ph .n t] A row.

Designing API strings vs symbols?
63627 [whitton@at a] to Ruby because I think it would be an extremely useful library to have around,
+ 63628 [ahoward@fs .] i know exactly what you are talking about : symbols look nice, but strings are
| 63631 [gsinclair@so] I can't believe that gsub is necessary, and I'm right.
+ 63630 [transami@tr ] i have considered this myself and i think the best answer is to support what
  63633 [drbrain@se m] it
  63635 [transami@tr ] what foolishness is this!
  63636 [dblack@ca dl] A Symbol.

Native rational and complex number implementations?
63643 [gsinclair@so] I believe it would be beneficial to have Rational and Complex
+ 63652 [tpeters@in a] Could you tell some concrete expectations from making them built-in, i.e.
| + 63658 [gsinclair@so] Small benefit, really.  It would be easier to document because
| | 63716 [tpeters@in a] Several hundreds to a few thousands, I guess ;-)
| + 63710 [martindemell] require 'complex'
+ 63714 [dcarrera@ma ] What do people think of making "Math.sqrt(-1)" return "Complex(0,1)"?
  63739 [kentda@st d.] It already does.
  63759 [dcarrera@ma ] That's really cool!
  63767 [gsinclair@so] We seem to have lost some context.

Ruby and dbf
63646 [n.vasiliev@a] OK, I didn't find any class to read/write dbf-files in Ruby. But I found
+ 63647 [edsin@sw s. ] IIRC, there's a couple of projects that bind other languages (lua,
| 63755 [n.vasiliev@a] I found an info how can I call Python-modules from Ruby-programms
+ 63684 [whitton@at a] I have tons of dbf data that I have to manipulate here at work. I started
| 63736 [n.vasiliev@a] Thanks for your advice. As I understand it runs under Unix (I read the
| 63779 [whitton@at a] I'm sure it will compile under cygwin if you have the mysql-dev headers.
| 63785 [n.vasiliev@a] Which c-compiler it requires?
+ 63747 [n.vasiliev@a] Does anyone able to suggest: how can I write a wrapper of  C++-library
  63825 [edsin@sw s. ] - read "README.EXT" file in ruby source root directory
  63977 [n.vasiliev@a] Coudn't send you a mail message, got an error message from your mail-server.

Mismatch between documenation and implementation of Array#join()
63650 [bob.news@gm ] I'm wondering whether Array#join() has an error or the documentation is
63657 [idan@id ns .] I seem to think it is the correct behaviour, Array#join is just invoked
63659 [gsinclair@so] That's a bad argument for the "correct behaviour" POV.  The doc
63664 [bob.news@gm ] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag
63666 [gsinclair@so] I agree.  Array#join presumably doesn't recurse into other objects (I
63673 [bob.news@gm ] "Gavin Sinclair" <gsinclair@soyabean.com.au> schrieb im Newsbeitrag

Tix for Windows?
63662 [lausianne@gm] I'd like to use some Tix widgets, but have trouble finding an easy to install

Re: submission to moderators
63674 [dave@pr gm t] Ruby Weekly News: 02/03/2003

drb naming service
63676 [ahoward@fs .] rubyists-
65068 [vjoel@PA H. ] Does Rinda::Ring do any of the things you want? I've never used it (it's

problem with tk
63677 [jean-francoi] require 'tk'
63680 [nagai@ai ky ] Sorry. It is a shameful bug.

postgres/drb experts [or hi eric ;-)]
63685 [ahoward@fs .] drb'ing ruby'ists-
63689 [drbrain@se m] it
63696 [ahoward@fs .] /usr/local/lib/ruby/1.8 > ruby -r postgres -e "Marshal::dump(PGconn.new)"
63697 [drbrain@se m] it

[ANN] sys-cpu 0.1.0 (Beta)
63687 [djberge@qw s] I'm happy to announce the first release of sys-cpu.  This is an

Mac OS X, Ruby, and Stack Level Errors - A possible fix
63688 [rhahn@qu rr ] Greetings,
64117 [dave_dunkin@] The maximum stack size in OS X is in kilobytes, not bytes. So the

SHA1 hash on OS X incorrect
63690 [rich@in oe h] I was just stunned by the fact that the SHA1 hash in Ruby on OS X
63691 [drbrain@se m] =20

Learn and Earn...Join For FREE!
63692 [pamelapaco@o] I'm sending you this letter to introduce to you a

Any interest in a Ruby interface to Globus Grid software?
63695 [comp.lang.ru] _ I am working on grid computing for SLAC and I'm wondering
+ 63734 [masa@ir is s] Here I am.
+ 65933 [jfontan@ce g] I'm also interested.
  65935 [argentoff@rt] My boss likes Grid, so I do ;)

Learn and Earn...Join For FREE!
63703 [pamelapaco@o] I'm sending you this letter to introduce to you a

[contest] Code challenge
63704 [batsman.geo@] This challenge is quite uncommon since it isn't 'algorithmic' nor 'obfuscating'.
+ 63705 [batsman.geo@] * the code got mangled at a point by my MUA
+ 63706 [matz@ru y- a] Is this a valid answer?
+ 63711 [batsman.geo@] I guess yes.
  63717 [pbrannan@at ] # Solution 1: Redefine Array#+
  63718 [batsman.geo@] Ouch!

subscribe
63708 [klowery@wt .] subscribe

subscribe
63709 [klowery@wt .] subscribe Kirk Lowery
63738 [lausianne@gm] I guess you are subscribed now, Mr. Lowery! :)

How to handle multiple "set-cookie" headers
63712 [matt@bl ck b] I'm trying to write an automated web tool that will fetch data for me.
63812 [achou@te le ] ...
63937 [matt@bl ck b] The problem is figuring out exactly where to split the entry.  There are

Problems building mysql ruby 2.4.4 on 1.8
63715 [rich@in oe h] ruby extconf.rb --with-mysql-lib=/Library/MySQL/lib/mysql
63723 [egabriel@io ] I had the same problem trying to build it last night with 1.8 preview 1

Is mixin possible with dynamic require?
63719 [jon@jo at an] I need to dynamically require a file(module) from within a class. I then
+ 63721 [nobu.nokada@] class Foo
+ 63722 [dblack@ca dl] I'm not sure exactly what you're trying to do.  When you say dynamically
  + 63735 [jon@jo at an] You correctly parsed my vague question on both counts,
  + 63757 [jim@fr ez .o] Wow, that is (as they say) sweet!

OpenGL and OS X
63726 [rich@in oe h] On OS X with the Apple X11 (beta) installed?

ruby intern
63727 [Markus.Schma] I was interested in how ruby handles functioncalls intern.
+ 63729 [nobu.nokada@] eval.c
+ 63731 [ahoward@fs .] download glimpse.  it is _awesome_ for searching large bodies of code like

kill '-SIGHUP', pgid -vs- kill 'SIGHUP', 0
63732 [ahoward@fs .] AFAIK
63733 [drbrain@se m] ne

subscribe
63741 [jan-egbert.h] ...

Embedding Ruby in C code
63751 [drejewic@ws ] #include "ruby.h"
+ 63752 [batsman.geo@] gcc -o embeddedRuby embeddedRuby.o -O2 -fpic \
+ 63753 [decoux@mo lo] ruby_init_loadpath(); /* to find the libraries */
  63762 [drejewic@ws ] Where I can find more docs about embedded Ruby in C? For example, I know
  63765 [decoux@mo lo] rb_protect() is described in the pickaxe (chapter "Ruby C Language API"),
  + 63837 [drejewic@ws ] How to execute Ruby script without ruby_run() after rb_load_file()
  | + 63839 [decoux@mo lo] rb_load_protect() perhaps ???
  | + 63954 [nobu.nokada@] 1.8 has ruby_exec() and ruby_cleanup(), but none in 1.6.
  + 65407 [web2ed@ya oo] Does RedHat 8.0 hide eval.c, or worse, do they hack up their own
    65507 [ian@ca ib n.] Nothing so nefarious.
    65580 [web2ed@ya oo] Everyone please bear with me; I'm still getting used to the Ruby file
    65626 [batsman.geo@] * you don't want to know where extensions' .so files are. Period. You're
    + 65686 [web2ed@ya oo] I don't have any use for standalone Ruby.  It's when I can extend and
    | 65741 [batsman.geo@] But what do you need the C files for? Everything they provide is in
    | 65771 [web2ed@ya oo] Thanks for sticking with me on this thread.
    | 65772 [batsman.geo@] batsman@tux-chan:~$ nm --dynamic /usr/lib/libruby.so | grep rb_protect
    + 65715 [web2ed@ya oo] How do you compile the following code snippet, what does your makefile look like?
    | 65739 [batsman.geo@] Ok, the Makefile is kind of ugly with the RUBYDIR business but you can
    + 65749 [pbrannan@at ] What error message do you get?
      65789 [web2ed@ya oo] `undefined reference to ruby_init()'
      65808 [batsman.geo@] If I'm right it compiles OK but you get the problem when linking
      65831 [web2ed@ya oo] Thanks for baring with me and showing me my error.
      65844 [batsman.geo@] Do not accidentally assign me qualities I do not possess.

WIN32API: callback functions?
63763 [fery@do es i] I wonder how can I use a win dll function which accepts a function
63764 [decoux@mo lo] Well, you have an example in ruby-pcap. In the case of this library the
63769 [fery@do es i] Gee, I didn't noticed that there is a ruby-pcap module. That's great!

[ANN] Text::Format 0.60
63772 [austin@ha os] I have posted the latest version of Text::Format. At this point, significant changes are underway and I am moving toward a 1.0 release.
63774 [austin@ha os] I thought I had posted it. I forgot to upload the files last night. It will be there late tonight EST.

rubynet-announce digest, Vol 1 #25 - 1 msg
63775 [rubynet-anno] Send rubynet-announce mailing list submissions to

win32 + ctrl-c of child processes
63778 [matt@li ke .] Ruby under Unix allows me to see if a child process died of a signal.
+ 63805 [nobu.nokada@] Also command.com/cmd.exe tell you nothing about it, I guess
| 63806 [usa@os .a t.] Borland C++Builder's help says that wait() returns information
| 63811 [matt@li ke .] Actually I just need a way to spawn a child process without blocking
+ 63857 [chrismo@cl b] asynchronously. The async call returns the process handle. "The return value

case-sensitivity and Dir
63780 [jason@pe sa ] I noticed a couple of mentions of this in the archives, but no resolutions (or even definitive
63838 [J.Hawkeswort] I agree that the situation is less than ideal but I'm not sure I'd want
63840 [eban@os ri .] % touch foo.XbX
+ 63858 [chrismo@cl b] I'm assuming FNM_CASEFOLD is new to 1.8?
+ 63951 [nobu.nokada@] I suspect that the flag should be defaulted for Dir.[] on

Error in Complex
63782 [dcarrera@ma ] There seems to be a problem in Complex.  It gets (-i)^2/3 wrong.
+ 63786 [nemo@he lo r] There seems to be a problem in Complex.  It gets (-i)^2/3 wrong.
+ 63787 [martindemell] -i = exp(-i * pi/2)
  + 63788 [jim@fr ez .o] require 'complex'
  + 63789 [hal9000@hy e] OK, I admit I'm showing my ignorance here.
  | + 63791 [hal9000@hy e] Sorry to amend my post, but what I meant
  | + 63794 [batsman.geo@] ((-i)^2)^(1/3)
  | + 63798 [martindemell] 1/3.0
  + 63790 [dcarrera@ma ] Martin,
  | + 63793 [nemo@he lo r] What am I doing wrong?
  | | 63796 [hal9000@hy e] Oh, sure. I think that sums it up.
  | + 63797 [martindemell] Nothing, really.
  | + 63800 [batsman.geo@] Nothing :) My TI says that (-1)^(3/2) = -i .
  |   63834 [tpeters@in a] [Correct explanation]
  |   + 63836 [matz@ru y- a] Indeed.  I will fix this, and rational.rb as well.
  |   + 63842 [tim@ba es id] i is already used in electrical and electronic disciplines to represent
  + 63795 [nemo@he lo r] -i = exp(-i * pi/2)

a cute way to reduce a fraction?
63783 [nemo@he lo r] I'm trying to find a pretty way to reduce a fraction.  Assuming I have two
63792 [martindemell] # Okay, not all that pretty, but
63802 [martindemell] Knew I was overcomplicating it!
63807 [cjh_nospam@m] If you hadn't already factorized them (or even perhaps if you have!),

error adding an Outlook Contact..
63816 [smurdon@dn m] ...
63817 [smurdon@dn m] ...

Portland Rubyists meeting Monday Feb 10th
63818 [ptkwt@sh ll ] PDX.rb - the Portland Rubyists Meeting will be held this Monday, February

empty Array returned but expect nil
63826 [barry_sh@ho ] I do not understand why a[4,0] below returns [], whereas a[5,0]
63827 [matz@ru y- a] Because [5,0] is out of array boundary.
63830 [barry_sh@ho ] But a[4] = nil ( it's a 4-element Array), so isn't a[4,0] also out of the
+ 63833 [hal9000@hy e] Yes, but 5 is RIGHT out. ;)
+ 63835 [matz@ru y- a] Imagine index point at the beginning of elements, i.e.
  63865 [barry_sh@ho ] Thanks, matz and Hal, for the explanation. I'll catalog it
  63872 [batsman.geo@] Have you checked if it is in "Things newcomers should know" ?
  63911 [barry_sh@ho ] Just checked and didn't see it there; if I can think of a sensible way to
  63971 [billtj@y. lu] I will try to incorporate this.  Thanks.

locana, SVG, cross-platform GUI meanderings...
63829 [ptkwt@sh ll ] Hold on, this post takes a few twists and turns.   Consider it an exercise
+ 63832 [dsafari@pa a] This came up on -talk a bit longer then a year ago - back then this link was
| 63859 [rich@in oe h] <SNIP>
| + 63877 [rich@li hi o] Alright... maybe now is a better time.
| | + 63888 [transami@tr ] these are dynamic rather then stateless? is it a pain to do? please reveal
| | + 63894 [drbrain@se m] or
| + 63879 [curt@hi bs c] Count me in!
| + 63886 [chadfowler@c] For historical reference, this reminds me of a somewhat similar
| + 63893 [ptkwt@sh ll ] Hmmmm.... But Flash isn't open as SVG is.
| | 63895 [drbrain@se m] =2E.. but Gecko can do it with XBL...
| | 63907 [ptkwt@sh ll ] This is interesting.  Is this related to the XUL for customizing Mozilla
| | + 63909 [mikkelfj-ant] I've never seen it, but recently I heard that even hardcore Mozilla users
| | + 63912 [drbrain@se m] =20
| + 63897 [hgs@dm .a .u] suggests that forms and widgets are on the agenda for SVG, as are
|   + 63898 [rich@li hi o] When did he install what version of the Flash player?
|   | + 63899 [rich@li hi o] Interesting...
|   | | 63901 [rich@li hi o] Dynamic - yes.
|   | | 63902 [rich@li hi o] <  warning - low jab ahead :-)  />
|   | + 63941 [hgs@dm .a .u] A while back, I've just asked him. Will let you know iff I hear.
|   |   64053 [hgs@dm .a .u] He wasn't able to remember, maybe it was his old PC he said, so that
|   + 63908 [ptkwt@sh ll ] No.  And I know that folks on the Linux side of things tend to hate Flash
|     63916 [hal9000@hy e] <sigh> I have mixed feelings. It may not be an open
|     + 63921 [rich@li hi o] Flash
|     + 63922 [drbrain@se m] My dislike of flash is that it doesn't build on FreeBSD, unless I use
|     | + 63923 [rich@li hi o] Ok. FreeBSD was hard.
|     | + 63924 [pbrannan@at ] Right, it's not that the pages don't look cool or don't have interesting
|     |   + 63925 [rich@li hi o] Useable Flash is the developers responsiblity.
|     |   | 63932 [roger.sperbe] I have to say that ever since coming to Ruby (a month ago) I've thought that
|     |   | 63934 [rich@li hi o] You'll want to look into XMLSockets to understand how I do it with my
|     |   + 63943 [lyle@us rs s] Hey, back off the hamsters, man.
|     |   + 63968 [hal9000@hy e] www.oddtodd.com
|     + 63940 [ptkwt@sh ll ] ....perhaps...  Isn't the Postscript standard pretty well publicised
|       + 63942 [transami@tr ] so i'm polling here. i am working on a Ruby GUI, and it is in the very early
|       | + 63953 [mikkelfj-ant] early
|       | | + 63955 [rhahn@te le ] OS X *does* draw everything in 3D using OpenGL. All 3D-looking widgets
|       | | | 64019 [lucsky@ma .c] Errr, not at all.
|       | | + 63962 [transami@tr ] Mikkel,
|       | |   63987 [mikkelfj-ant] expectancy.
|       | + 64047 [mikkelfj-ant] issue,
|       |   64048 [mikkelfj-ant] useful
|       + 64020 [lucsky@ma .c] What's the difference between an open standard like SVG which
|         + 64023 [mgushee@ha e] IMHO, SVG is more driven by notions of architectural correctness, while Flash
|         + 64025 [hgs@dm .a .u] One entity cannot change an open standard without consultation, then
|         + 64027 [drbrain@se m] With an open standard, the control is shared between many individuals.
|         + 64029 [ptkwt@sh ll ] Fair question...  Whereas the spec for creating 'programs' with Flash (is
|           + 64031 [wilbert@os f] Wilbert
|           + 64039 [rich@li hi o] Because they promote the distribution, fixing and support of the player that
+ 63843 [transami@tr ] Phil,
+ 63948 [mdavis@se as] I have been working vigorously on the next release of Locana.  A lot of very nice features are coming.  I felt I needed to optimize the relationship between Locana and the native GUI with the next release.  As a result, I had to rewrite of a lot of code and this took longer than expected.  The next release will be much more efficient and much more object oriented.  My goal is to release ASAP but it will likely take me a few weeks to get everything cleaned up.  I have the Tk binding mostly working again.
threads.html
top