72882-75398

72661-75237 subjects 73034-73795

^ Selector Namespaces (was Re: ruby-dev summary 20201 - 20315)
72882 [dan sidhe.or] I've already got perl and parrot's internals wedged into my brain--if

^ Ruby-SWIG question: wrapping function objects with blocks
72883 [szegedy nosp] I am trying to use SWIG to generate Ruby wrapper for a
72887 [0bz63fz3m1qt] Do you want something like this ?
72914 [0bz63fz3m1qt] Have you looked in the examples supplyed with SWIG ?
72916 [0bz63fz3m1qt] OK.. I did it without SWIG..  tell me if you can use it ?
73129 [szegedy nosp] Sorry for the long delay, I was on holiday.

^ Infinite Loop
72884 [ gm navel.gr] I 've written a fairly big ruby programm that works mostly ok.
+ 72886 [0bz63fz3m1qt] In interactive GUI applications I tried similar things. In console
| 72889 [bob.news gmx] "Simon Strandgaard" <0bz63fz3m1qt3001@sneakemail.com> schrieb im
+ 72893 [ahoward fsl.] /usr/home/howardat/eg/ruby > ruby -e 'def foo;foo();end; foo();'
  + 72905 [orion2480 ho] How about using the ruby profiler??
  | 72937 [martindemell] ...
  + 72939 [ gm navel.gr] many thanks for the usefull advice, I 'll try it.

^ Answer on 'lists.bttr.org unreachable?'
72892 [ jupp gmx.de] This message goes to ruby-talk and Ralf Geschke (technical contact
72899 [ralf kuerbis] Thank you very much for this translation. :-)
72934 [mneumann nte] The French ruby mailing list is hosted by ruby-lang.org.
72992 [ralf kuerbis] No, and I have no problem with hosting the list by

^ Ruby 1.8.0 net/http bug
72894 [urban oops.s] require 'net/http'
+ 72895 [ian caliban.] resp, data = h.get('/index.html', nil)
| 72900 [hal9000 hype] Ah, that's a good idea.
| 72901 [dave pragpro] Even better perhaps would be
| + 72902 [chad chadfow] I was just typing up the same code when I saw your mail come in.  I
| + 72926 [aamine lover] But it is not only change.
| | 72927 [dave pragpro] True, but adding a to_ary will fix the most common problems, and is
| | 72930 [aamine lover] OK, I have added Net::HTTPResponse#to_ary.
| + 72963 [urban oops.s] Thanks for the help everybody!
+ 72896 [rodrigo.berm] this nomenclature honest and refreshing.  "Bug" |implies that the
+ 72897 [hal9000 hype] It's a change in the interface, breaking old code.
+ 72898 [dave pragpro] It now returns a single object, with the response contents accessible

^ <<Bad credit loan>##### qwms cocfdcyzsurgny
72906 [eooqtybt int] ...

^ Syck 0.35 + YAML.rb 0.60 -- the 1st stable release
72907 [ruby-talk wh] ...
+ 72951 [lyle users.s] Just did a cvs update (for Ruby 1.8) and a clean build. For some reason
+ 75182 [rz linux-m68] ruby.h:#define INT2NUM(v) rb_int2inum(v)
  75196 [ruby-talk wh] If you're comfortable editing the source, then you can just replace with
  75282 [rz linux-m68] done that already :)
  + 75308 [ruby-talk wh] Hard to say.  What's the data like that you're dumping (calling
  | 75353 [rz linux-m68] Nothing special, I have inserted Marshal.dump to get the exact
  + 75311 [n.gilbert so] Could your segmentation fault be due to  the same problem as in the
    75383 [rz linux-m68] it could be the same or related, but so far all symptoms
    + 75387 [batsman.geo ] * comment the following lines in signal.c (around line 736)
    + 75398 [ruby-talk wh] I tested thousands of operations loading/dumping the sample file you gave me.

^ Problem with "require" stmt in "test-first " tutorial
72908 [RLMuller com] "Test First, by Intention" at
+ 72910 [0bz63fz3m1qt] your 'Sum' class should be stored in a file named 'summarizer.rb'
+ 72911 [nobu.nokada ] RUBYPATH is used only with -S option but doesn't affect
+ 73013 [RLMuller com] Thank you both for your responses.
| 73078 [sdmitry lrn.] I'm just a testing newbie, but i think that no output should be produced from
| + 73086 [phlipcpp yah] ...
| + 73087 [RLMuller com] I won't "kick you" even though, IMHO, you're wrong :-).  The output
+ 73089 [gour mail.in] This article provides links to online version of the Pink book but they are dead.
  73090 [jj5412 earth] Works okay for me.
  + 73093 [gour mail.in] Well, I'm wonder hot it's possible.
  | 73099 [batsman.geo ] Is this one OK?
  | 73102 [gour mail.in] Well, this one is MUCH better :-)
  + 73097 [jj5412 earth] Sorry, my reply was a bit hasty. I clicked on the link in your email and it

^ Syck / Yaml example
72912 [shanko_date ] Yipee!
72913 [ruby-talk wh] The installer is a week or so behind of CVS.  You'll have to wait for an

^ Array = Hash.sort ... but sometimes not
72918 [philippe.des] ...
+ 72921 [brett_willia] mots_tries = Array.new
+ 72925 [dooby d10.ka] ...

^ RDoc and non-ascii encodings
72920 [dave pragpro] I'm trying to find out: does RDoc work OK on files that have non-ASCII
+ 72929 [ oct zoy.org] I tried a simple class with a few french accented letters (in utf-8) and
+ 72959 [mikkelfj-ant] ...
  + 72960 [mikkelfj-ant] ...
  + 72961 [dave pragpro] Hmm - by the time that got to my e-mail program it had been converted to

^ ANN: ruby-goto, your evil for the evening
72922 [rpav nwlink.] OK, so I was feeling evil last week sometime.  Some people were claiming
+ 72928 [john.carter ] Now for your next trick... A "come from".
| + 72931 [rpav nwlink.] Actually, COME FROM isn't equivalent to Observer, as the former is an
| | 72932 [mwilson13 co] I think somebody should tell Ryan that something _useful_ cannot be
| | 72956 [guslist free] I think he is riped enough to takle the great task of implementing
| | 72957 [ljz asfast.c] In addition, now that there's a GOTO statement, for symmetry, we need
| + 72949 [joey joeygib] Already been done. Intercal has a "come from" statement. :-)
+ 72946 [jweirich one] This is great!  But the really scary thing is that I was thinking about
  72962 [rpav nwlink.] Yeah... one thing I was trying to show at the time was the fact that

^ Bytecode Compiler
72935 [sean REMOVEM] ...
+ 73025 [spam deck.dk] there *was* one... but it was for version 1.4 (or something), atm there
+ 73079 [george.marro] I am!
  73416 [ser germane-] That's great news, George!  Have you run any benchmarks on your code yet?

^ Infinite Loop
72938 [ gm navel.gr] my application is a web application server. We are heavily using
72952 [0bz63fz3m1qt] More info please.. im terrible at guessing :-)

^ [ANN] VAPOR 0.06, Transparent Persistence to PostgreSQL
72940 [oliver gol.c] I'm in the process of writing (yet another) persistence framework
72944 [B.Candler po] If it uses the DBI API, is it possible that it may work with other SQL
+ 72948 [spam deck.dk] not very likely... any sql the library generates will most likely have
+ 72950 [bolzer infor] The current backend (that handles Tuples) uses PostgreSQL's support for

^ Ruby 1.8.0
72941 [ gm navel.gr] I realize you are working etremely hard for the release (and we are
72954 [matz ruby-la] It will take a few more weeks before the final release.
72984 [info mjais.d] thanks for all your work.

^ ruby running as daemon ?
72945 [Ruben.Vandeg] Is it true that ruby runs as a daemon if it's running without a terminal

^ [ANN] sql-serialize 0.0.3 (was: [ANN] VAPOR 0.06, Transparent Persistence to PostgreSQL)
72947 [spam deck.dk] This shounds like a great idea! I will go right ahead and see if you
73004 [childNOSPAM ] ...
+ 73012 [surrender_it] this sounds really interesting.. what can I say.. release fast release
+ 73024 [spam deck.dk] hmm... someone should take this code and see if it could be used in a
  + 73027 [B.Candler po] dbi.transaction do
  | 73030 [spam deck.dk] uhm... what are you thinking about specifically?
  | 73042 [B.Candler po] Absolutely any exception. NameError or ValueError for programming errors you
  | 73058 [spam deck.dk] if a nameerror, typeerror or the like happens then hopefully my program
  | + 73060 [sroberts uni] You can rethrow the exception, after rolling back the transaction, can't you?
  | + 73083 [B.Candler po] Not if sql-serialize is meant to be a general-purpose library. The main
  |   73091 [spam deck.dk] I plan (and hope) that others will use this... but while developing this
  + 73131 [bolzer infor] # had no access to news over the weekend+holyday
    73158 [spam deck.dk] hmm... how are you maintaining the dirty state? using #hash at
    73213 [bolzer infor] Couldn't find a way to automagically detect that instance variables have
    + 73948 [cyborch deck] that would help people like us out *alot*
    | 73954 [mwilson13 co] postgresql has a boolean datatype and supports user-defined datatypes,
    | 73970 [spam deck.dk] For now I'm going for the lowest common denominator for mysql,
    + 73964 [cyborch deck] that would help people like us out *alot*

^ make install question
72953 [jim freeze.o] I am about 90% done with creating a binary install

^ Pkg for getting web pages
72958 [jim freeze.o] What is the 'best' package for getting pages
+ 72965 [gfb tonesoft] wget is good enough: http://www.gnu.org/software/wget/wget.html
| 72968 [jim freeze.o] Thanks. I was actually looking for a ruby pkg, but this
| 72970 [gfb tonesoft] Oops, I did not get it from your post. But anyway, Ruby is great for
| 73010 [ jupp gmx.de] Saluton!
+ 73001 [B.Candler po] There was one which was announced on ruby-talk around the beginning of this

^ RUBY, CGI and objectts
72964 [stedak chart] Perhaps I'm doing this wrong?
+ 72966 [0bz63fz3m1qt] You are not 'plus'ing the <td> elements.
| 72976 [stedak chart] Ok that worked but the code below gives garbage with objects.
| 72980 [0bz63fz3m1qt] cgi.table do
+ 72967 [0bz63fz3m1qt] Try 'join' the elements .. :-)
  72969 [0bz63fz3m1qt] @cgi.tr { row.collect { |cell| @cgi.td {"#{cell}"} }.join }
  72971 [0bz63fz3m1qt] class Array

^ Using SciTE 1.53 on Windows
72972 [qawaly chell] Can version 1,53 be used instead of the 1.41 that comes with the Windows
73007 [bobx linuxma] ...
73008 [qawaly chell] I tried that, it gives Help & Go, but no Compile or Build.
73051 [bobx linuxma] ...

^ Status of ruby-expect?
72973 [hinoue cs.un] I'm running ruby 1.6.7 and am trying to use the ruby-expect package
72996 [contact maik] That is interesting. Currently I'm playing a bit with expect (not only

^ regexp across multiple lines
72974 [jim freeze.o] I am trying to strip <script>blah</script> statements,
72983 [dooby d10.ka] ...

^ [RCR] join block
72975 [0bz63fz3m1qt] [1, 2, 3].join {|x| "<td>#{x}</td>"}
+ 72977 [vjoel PATH.B] What, you don't like the utter simplicity of the following? ;)
| + 72978 [michael_s_ca] You lost me here.  When iterating through the elements, what are x
| | 72981 [vjoel PATH.B] I'm thinking the return value of the block should be used in the same
| | 72982 [pit capitain] Maybe, but I, too, would like to use the block form as you suggested.
| + 72979 [emschwar pob] I can't figure out how that would happen.  I'd think you'd end up
| + 73003 [0bz63fz3m1qt] This is simple.. but when there is 30 lines between the map/join it
+ 73056 [0bz63fz3m1qt] I know this has been discussed before, but I don't
  73065 [martindemell] ...
  + 73068 [michael_s_ca] What do you do with an odd # of elements?
  + 73070 [0bz63fz3m1qt] So far I cannot think of any cases where I need to "join-pairs into a
    + 73072 [vjoel PATH.B] I don't have any compelling examples. It's just that if someone said
    | + 73084 [0bz63fz3m1qt] POLS depends on your preferences and intuition.. I guess peoples intuition
    | + 73085 [0bz63fz3m1qt] I think the interface of Array#join differs too much from the original
    | + 73115 [androflux re] (Assuming you really need this). Otherwise #join with a block would just be a
    | | + 73116 [0bz63fz3m1qt] This is what its all about :-)
    | | | + 73117 [gfb tonesoft] In this particular case why your $log (whatever it is) cannot handle adding
    | | | + 73199 [androflux re] I have yet to be overcome with the ugliness of the second method. :-)
    | | |   73200 [0bz63fz3m1qt] Any decent log-system is capable of prefixing.. but thats a
    | | + 73121 [vjoel PATH.B] I wouldn't vote for it either. It looks like bloat to me.
    | |   + 73128 [hal9000 hype] be a
    | |   + 73182 [ jupp gmx.de] Saluton!
    | |     73219 [0bz63fz3m1qt] please add word(s) if it seems to be missing :-)
    | + 73248 [dooby d10.ka] ...
    + 73080 [martindemell] ...
      73082 [0bz63fz3m1qt] OK.. You win, I loose.
      + 73088 [michael_s_ca] Maybe it's because I didn't have it "natively" anywhere, but I can't
      + 73094 [martindemell] ...
      + 73106 [wkb airmail.] Simon,

^ What should "class ... end"  and "def ... end" return?
72985 [itsme213 hot] Are they expressions? If not, why not?
+ 72989 [nobu.nokada ] "class" returns last value, and "def" returns nil in 1.8.
| 73002 [B.Candler po] myklass = class Foo
+ 73006 [ged FaerieMU] myClass = Class::new( MySuperclass ) {
  73016 [itsme213 hot] Thanks for explaining the rules. But I am curious about why these work

^ multiple blocks or proc arguments to method
72986 [itsme213 hot] Array#collect_if ( &predicate, &collector )
72990 [hal9000 hype] This should work, but the calling syntax
73015 [itsme213 hot] Thanks. I was confused about the use of "&".
73039 [decoux moulo] ...
+ 73049 [sdate everes] ...
| 73269 [qrczak knm.o] Probably because ( ) wants to be written after an expression.
+ 73641 [theschof cs.] #<UnboundMethod: A(A)#a>
  73661 [decoux moulo] ...
  73717 [theschof cs.] Sorry I meant accessor method.  Specifically, if the instance method
  + 73749 [decoux moulo] ...
  + 73758 [batsman.geo ] Ruby always behaves "polymorphically" (sp?). It's going to send the

^ Relation class
72987 [itsme213 hot] Does anyone know of a Relation class with methods such as
+ 72994 [ptkwt shell1] ...
+ 72999 [batsman.geo ] If the relation is a function (in the mathematical sense) you can

^ Any notification mechanism for Ruby questions
72988 [itsme213 hot] Is this the best place to post Ruby questions? Is ruby-talk better? Do
72991 [hal9000 hype] ruby-talk and comp.lang.ruby are mirrored both ways.
+ 72998 [0bz63fz3m1qt] Frequently I experience glitches on comp.lang.ruby where my postings never
+ 73000 [batsman.geo ] Message scoring, a couple mappings and perhaps some Ruby code could make

^ <<Bad credit loan>#####  ba d c iywulmsyp
73009 [GovtGrants48] ...

^ Building ruby under Windows
73014 [yura opmr.co] I am trying to build ruby from CVS using VC++.
73022 [dooby d10.ka] ...
73023 [yura opmr.co] HAVE_GETGRENT is not defined.  The problem is not with etc.c but with
73026 [dooby d10.ka] ...
73028 [yura opmr.co] Thanks, this one compiles, but it is 1.6.8 and I wanted 1.8.0 :(
+ 73031 [dooby d10.ka] ...
+ 73033 [nobu.nokada ] Nobu Nakada
  73036 [dooby d10.ka] ...
  73038 [nobu.nokada ] Try this patch.
  73040 [dooby d10.ka] ...
  + 73046 [nobu.nokada ] Exactly.
  + 73050 [yura opmr.co] Thanks Nobu, it did the trick.

^ cast iron Christmas tree stand
73021 [fengyuana198] We produce cast iron Christmas tree stand.
73054 [sdate everes] ...
73064 [ jupp gmx.de] Happy Whitsun,

^ Problem compiling mysql-ruby
73029 [info mjais.d] I just downloaded mysql-ruby-2.4.4
73055 [ian caliban.] ...
73057 [info mjais.d] thanks. now it works.

^ raa-install feature request
73032 [sdmitry lrn.] I'm new to raa-install, but i'm already missing one feature - package list
73035 [jweirich one] Rake has moved!  You can find it at ...
+ 73037 [sdmitry lrn.] Thanks!
+ 73098 [ruby-talk wh] For raa-install, we generate smaller, compressed feeds from the feeds at
threads.html
top