76768-82335

76563-79505 subjects 76990-78775

^ A different Version of Enumerable#inject
76768 [bob.news gmx] Apparently the other post got overlooked - and it had an error in the
+ 76772 [batsman.geo ] I tend to dislike #inject cause it's almost always more complex than
| 76786 [bob.news gmx] "Mauricio Fernߤdez" <batsman.geo@yahoo.com> schrieb im Newsbeitrag
| 76889 [batsman.geo ] The former is more readable for me.  Possibly because I don't use
+ 76832 [pit capitain] I think you'll have problems with this approach if you use it with
| 76853 [bob.news gmx] "Pit Capitain" <pit@capitain.de> schrieb im Newsbeitrag
+ 76895 [wsdng online] [ inject with variable num args block ]
  76899 [bob.news gmx] "Sascha D÷˛delmann" <wsdng@onlinehome.de> schrieb im Newsbeitrag
  76952 [wsdng online] That was loud thinking which lead to a pro, yes!

^ IRC down?
76769 [bob.news gmx] is there a problem with irc.freenode.net or is it just our firewall?
+ 76771 [dsafari para] Hmm...works fine for me.
+ 76773 [batsman.geo ] -lilo- [Global Notice] Hi all.  This is a first announcement.  We're
+ 76830 [seth cql.com] works here.

^ Embedding problem - SEGV
76783 [B.Candler po] I have a problem with embedding Ruby, which hopefully someone can shed some
+ 76784 [decoux moulo] Use rb_protect() to run your code.
| 76798 [B.Candler po] That's pretty icky. I'm happy for Ruby to generate an exception report and
| 76801 [decoux moulo] Something like this
| 76805 [B.Candler po] ... etc
| + 76809 [decoux moulo] rb_gv_get("$!") to retrieve $!, then rb_inspect() or what you want
| + 76812 [B.Candler po] (Partially answering own question) error_print is private, but ruby_stop()
|   76813 [0bz63fz3m1qt] I don't know if this can be useful to you ?
|   76814 [B.Candler po] Thanks for that. I'm writing C not C++, but I guess writing
+ 76785 [B.Candler po] Spoke too soon - requiring a .so also causes it to segfault.
  76788 [decoux moulo] How do you link your .out ?
  76794 [B.Candler po] I gave the compile/link command in the previous post, and adding -ldl makes
  76796 [decoux moulo] svg% ruby -rrbconfig -e 'p Config::CONFIG["LIBS"], Config::CONFIG["LDFLAGS"]'
  + 76803 [B.Candler po] Cheers,
  + 76804 [0bz63fz3m1qt] # ruby 1.8.0
    76806 [B.Candler po] If you look at my previous post, you'll see that's what I did.

^ i need your help
76793 [mohammed55 z] Mohammed Abacha.

^ [ANN] IO-Reactor 0.04
76799 [ged FaerieMU] I'd like to announce version 0.04 of the 'IO-Reactor' module, which

^ URGENT: Ruby 1.8 in IBM PowerPC
76815 [drak navel.g] any help is really appreciated!
+ 76817 [decoux moulo] Verify the value of stacksize with the command `ulimit', or `limit' and
| 76893 [drak navel.g] # ulimit -a
+ 76978 [ gm navel.gr] ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o

^ [Ann] OpenSSL for Ruby 1.0.0
76828 [m.rokos sh.c] It's my pleasure to announce that 'OpenSSL for Ruby' reached release
+ 76858 [buggs-ruby s] Thanks a lot!
+ 76873 [nahi keynaut] Congratulations on your great project to be included in 1.8.0.
  76888 [nakahiro sar] Sorry, my slides does not include any code but Gotoyuzo's does.
  76897 [m.rokos sh.c] Do you have any code that we can test?
  76902 [buggs-ruby s] Indeed i just narrowed it down just before i saw the announcement.

^ Congratulations, You Have Won !!!
76833 [fountainlott] This is a multi-part message in MIME format

^ [OT] subversion, was [ANN] RubyForge.org
76834 [brett_willia] I've been following subversion development for two years, and we finally
+ 76841 [Patrick.Benn] Actually, Perforce is free for open-source projects, and to say it's
| 76842 [Peter.Booth ] I recently did a brief comparative review of Subversion, Perforce, and
| 76843 [Patrick.Benn] Hmm, the linuxworld article didn't really say anything useful about
| + 76845 [0bz63fz3m1qt] Please keep it online.. I am following your discussion.
| | 76847 [ben thingmag] Actually, so am I.  Where I'm working we have recently decided to move some
| | + 76852 [0bz63fz3m1qt] My current repository-snapshot takes up 4.2 Mbytes!!
| | | + 76855 [Patrick.Benn] Personally, I think the concept of a changelist is critical (or
| | | | 76856 [ben thingmag] Licensing
| | | | 76859 [Patrick.Benn] Not true.  Like Bitkeeper, it's free for open-source hosting.
| | | + 76877 [tom infoethe] and upload the tar file after you've tweaked your directory structure as
| | + 76861 [brett_willia] It is quite off-topic and I hope keeping it online doesn't annoy others.
| |   + 76869 [nathaniel ta] Well, I used Perforce at a client's site for a while, and it usually just
| |   | + 76870 [Peter.Booth ] For me, the deciding moment was after installed a demo version of Bitkeeper
| |   | | 76926 [wsc9tt yahoo] Well I am one of the primary BitKeeper developers and I think Ruby is
| |   | | 76927 [ben thingmag] I'm guessing "release it as open source", or "give it away for any use
| |   | + 76879 [djkea2 mugca] Why is it that nobody ever mentions Aegis when this topic comes up?
| |   |   76900 [Patrick.Benn] Well, for one, it only runs on Unix.  That's a pretty big problem for
| |   |   76938 [ jupp gmx.de] Saluton!
| |   |   76940 [rasputin ido] <nods>
| |   |   77022 [ jupp gmx.de] Saluton!
| |   |   77134 [austin halos] Sorry, I disagree on both. I have and use Cygwin (and I've used MKS in the
| |   + 76932 [tcfelker mtc] You'd have to be very careful about the licensing.  For example, if you
| |     76934 [gfb tonesoft] McVoy's
| |     77012 [tcfelker mtc] <http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&threadm=aJyH.3dH.11%40gated-at.bofh.it&rnum=1&prev=/groups%3Fq%3Dgroup:linux.kernel%2Bauthor:stallman%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26safe%3Doff%26selm%3DaJyH.3dH.11%2540gated-at.bofh.it%26rnum%3D1>
| + 76872 [gsinclair so] I'll make one comment on this off-topic thread.  It would be nice to have
+ 76864 [mailinglists] Yes this is unacceptable and that this happens after a few years of
+ 76947 [drosih rpi.e] Did you fly any of these database problems by the subversion
| 76949 [brett_willia] We didn't, as the problems are documented there as known.
| 76950 [brett_willia] Hmm... upon a reread you are saying more than I first thought.
| 76951 [drosih rpi.e] Yes, that is what he told me.  Well, "more DB corruption", such
+ 76967 [bolzer infor] At my place ( informatic dept @ univ ) we have been using Subversion for
  76982 [brett_willia] We used the same source for both platforms so the versions should have

^ "regex literal in condition"
76846 [dcarrera mat] I'm getting an erorr that I don't understand.
+ 76850 [wkb airmail.] Daniel,
| 76865 [dcarrera mat] Funny thing is...
+ 76857 [kentda stud.] A literal is something written directly into the source.
  76866 [dcarrera mat] Thanks for the explanation, but I'm not quite following.
  76876 [flgr ccan.de] Moin!

^ Can't login for cvs
76848 [doug.hendric] I'm trying to login for anonymous cvs.
76878 [doug.hendric] Our sysadmin has traced it and says it's our firewall.

^ Build crash of preview3 on alpha/osf5.1 AND POSSIBLE FIX
76885 [doug.hendric] I'm running Tru64 (osf1) 5.1 on an HP/Compaq/DEC alpha, and the ruby
76887 [matz ruby-la] I will check this fix in preview4, which is going out several hours
76944 [doug.hendric] Preview4 works for me!  With no changes!  Many thanks, matz.  I still

^ ruby 1.8.0 preview4
76892 [matz ruby-la] I just put preview4 archive on the ftp server.
+ 76894 [decoux moulo] This change is normal (in mkmf.rb)
| 76909 [matz ruby-la] I believe this change was made by Nobu, and was intentional.  Sorry
| + 76910 [djberge qwes] I get gobs of warnings when I build with gcc -Wall.  I tried to send them to
| | 76946 [doug.hendric] I'm posting here because I can't see the root message.
| | 76953 [matz ruby-la] They are harmless.  I think I can pacify them.
| | + 76977 [B.Candler po] Here are what IMO are the important warnings from FreeBSD-4.8, gcc version
| | | 77008 [matz ruby-la] Fixed.
| | | + 77019 [ruby-talk wh] As we speak... Thanks for fixing the sprintf one, matz.
| | | + 77044 [B.Candler po] #ifdef HAVE_UNISTD_H
| | |   + 77054 [drosih rpi.e] FreeBSD does spend some effort to minimize namespace pollution,
| | |   + 77055 [matz ruby-la] Aha!  Thanks a lot.
| | + 77309 [doug.hendric] [Much snipped]
| + 77297 [cyclists nc.] Maybe I missed the answer to this, but what am I supposed to use
|   77396 [nobu.nokada ] It was because that DLDFLAGS includes LDFLAGS for ruby itself
|   77419 [cyclists nc.] Thanks for your help, Nobu.
+ 76898 [B.Candler po] I notice code is compiled with -g and not stripped. Looking at 1.6.8 it
| 76907 [matz ruby-la] Strange.  It has not changed since 1.6.8; it should be compiled with
| 76941 [B.Candler po] It is. That's what I meant... that debugging symbols are included. It gets a
| 76954 [matz ruby-la] Packager can easily choose that, by modifying Makefile, or supplying
+ 76903 [jonnypichler] cool - this now compiles/builds with no errors from scratch on winxp/cygwin
+ 76904 [chrismo clab] I'm guessing this is known, but any script I've got that loads rexml
| 76908 [matz ruby-la] We already fixed them before preview4.  Perhaps you need to re-install
| 76912 [chrismo clab] Yeup - I guess the mswin32 distribution had older rexml in it.
| 76948 [usa osb.att.] Ah, my mswin32 distribution doesn't include site_ruby/1.8/rexml :-)
+ 76905 [aredridel nb] I'll have PLD RPMs available via HTTP and the Poldek this afternoon,
| 76918 [aredridel nb] PLD RPMs are available at http://polis.nbtsc.org/~aredridel/rpm which is
+ 76911 [lyle users.s] Compiling on Red Hat Linux 8.0, I get this error when it tries to link
+ 76915 [kero chello.] Find below the results of building preview4 on HP-UX;
| 76916 [matz ruby-la] Hmm, it seems HP-UX compiler does not provide sane definition of
| 76935 [kero chello.] It does define it. But somehow it doesn't get through to sha2.c
+ 76922 [ben thingmag] gcc -fPIC -g -O2 -I. -I/usr/local/ruby-1.8.0 -I/usr/local/ruby-1.8.0
| + 76925 [colinml1 exi] This is basically RedHat's screwup, as far as I'm concerned. Pretty well
| + 76937 [ian caliban.] [errors snipped]
| + 76968 [nobu.nokada ] CVS HEAD uses pkg-config if available.
+ 76923 [mccallister ] ossl_config.c:147: bad macro argument list
| 76924 [mccallister ] $gcc -v
| 77013 [mccallister ] Updating to gcc 3.3 solves this problem on OS X (via Apple's gcc 3.3
+ 76980 [wybo servaly] ruby -vwe "require 'tk'"
| 77010 [nagai ai.kyu] Thanks. I fixed on CVS.
+ 76986 [dfayra00 uma] Mac OS X 10.3 Developer Preview has the following issue during build of
  + 76987 [djberge qwes] Solaris 9
  | 77003 [matz ruby-la] Hmm, where can I find proctable.c, which is definitely not in the Ruby
  | 77026 [djberge qwes] It's caused by the inclusion of the header file, not my source.  My
  + 77009 [matz ruby-la] Fixed in the latest CVS.  Wait for preview5, or you can always try the

^ Running a Ruby installation off a CD (under Windows)
76896 [harryo qiqso] I've written some stuff I'd like to show to someone who doesn't already have Ruby installed.
+ 76906 [djberge qwes] The closest thing I can think of is the Live Demo CD that Steven Gibson
| 76933 [harryo zip.c] Thanks Dan.  However, the big selling point of that CD seems to be that it's a
| 76966 [harryo qiqso] Well, I was able to get it going.  At least, I can run console Ruby scripts and FOX GUI applications.
+ 76969 [nobu.nokada ] You don't have to do it.  Since 1.6, ruby.exe sets $LOAD_PATH
| 76972 [harryo qiqso] That's pretty much what I discovered.  I did set the TCL environment variables, though.  Maybe I don't even need those, but I haven't tried running anything that used TK yet, so I'm not sure.
+ 76979 [xlucid users] How many problems there are depends on the version of Windows

^ FROM  ALFRED !
76901 [a_dadah4 zwa] My Dear,

^ Re: ruby 1.8.0 preview4 - c in debug doesn't work?
76913 [chrismo clab] ruby 1.8.0 (2003-07-24) [i386-mswin32]
76914 [matz ruby-la] It's a bug.  I fixed.  Wait until Monday, or apply the following

^ SWIG and char * parameters
76928 [ben thingmag] I've just started to try to use SWIG to wrap a bunch of C functions so I can
+ 76929 [ben thingmag] ben% ruby -v
+ 76930 [brett_willia] Looks like it does exactly what you told it to.  You passed in Bob.

^ SWIG and "connect"? [Was: SWIG and char * parameters]
76936 [ben thingmag] D'OH!  Now that Brett has pointed out why my oversimplified example was
76973 [kjana dm4lab] Maybe missing the point but....

^ "The VMs are designed for statically typed languages..."...
76939 [emeza debian] I would like to see Ruby in the Mono Project, what do you think (matz)?

^ Data.new dosnt work
76955 [maillist bes] How do I create an instance of the Data class. I am using ruby
76958 [nobu.nokada ] Data is the abstract class for extension libraries.  You can

^ Packaging pure ruby files when using extconf.rb
76957 [webmaster st] I am writing a C extension but I want to include some classes written in
+ 76959 [decoux moulo] Create a directory lib, and put the pure ruby files in this directory
| 76961 [maillist bes] How would I do that?
| 76963 [decoux moulo] svg% ls -R
| 76964 [maillist bes] Guy, Thanks VERY much for all your help and examples.
+ 76960 [batsman.geo ] You can use Minero Aoki's install.rb
  76962 [maillist bes] Where do I get install.rb?
  76970 [batsman.geo ] _           _
  76971 [maillist bes] Thanks very much for your kind help.

^ Add debug to help info
76965 [rc vaccapern] Is it just me or is how to debug a ruby script unnecessarily hidden?
76974 [vxbrw58s02 s] I'd like to second this. I was trying to debug something last night, and I
+ 76975 [nobu.nokada ] It changes two behaviors.
| 77049 [rc vaccapern] That's interesting.
| 77113 [nobu.nokada ] I have no particular idea about this.  NaHi may do something.
| 77291 [surrender_it] sligthly related: I've been thinking if could be possibe a
| 77292 [surrender_it] I meant -w not -v, sorry
+ 77017 [ben thingmag] tk.rb:      p 'create_self has no arg' if $DEBUG
  77323 [kapheine hyp] I think this would be absolutely great to have included. A nice,
  77369 [nahi keynaut] I use [RAA:devel-logger]. (disclaimer from its author)

^ irb --readline
76981 [wybo servaly] irb --readline
77002 [matz ruby-la] You've failed to compile readline extension library, which is required
77041 [wybo servaly] It's probably stupid, but... how do I do that?
77053 [matz ruby-la] You need to install libreadline on your machine first.  What's your
77063 [wybo servaly] /lib/libreadline.so.4
77066 [decoux moulo] Verify if you have a package readline-devel and if it's installed
77088 [wybo servaly] That did it! Thank you very much!

^ Re: ruby 1.8.0 preview4 (Bug in ext/openssl/extconf.rb)
76983 [mghall enter] Hey, I recognize that!  Saw it just last night!
76985 [markjreed ma] That's backwards, yes?  Didn't you add the call to FOO rather than removing it?
76988 [mghall enter] Depends; "<" is new, ">" is old.   Yes, I added a call to FOO.
+ 76989 [markjreed ma] Context is always a good idea, but wouldn't make a difference
+ 77004 [nobu.nokada ] Unified diff (and with -p option) is recommended.

^ Patches to 1.8.0p4 to add Bessel functions for those that have 'em
76984 [mghall enter] Here's some simple patches to configure.in, configure and math.c
+ 77006 [matz ruby-la] I want Ruby to be as portable as possible among platforms, so that I
| + 77037 [ jupp gmx.de] Saluton!
| | 77826 [comp.lang.ru] - - There are two problems with this.
| + 77039 [Ephaeton gmx] Why not simply use those of BSD ? Okay, the originate from Sun (due
| | + 77057 [matz ruby-la] They are OK.  But I am not the right person to work on them, just
| | + 77097 [ jupp gmx.de] Saluton!
| |   77117 [Ephaeton gmx] E.g. in the netbsd source tree, e.g. j0 in src/lib/libm/src/ej0.c.
| + 77077 [mghall enter] I understand; that's why I #ifdef'ed it all over.
| + 77250 [ jupp gmx.de] Saluton!
|   77422 [guslist free] Isn't GSL GPL licensed? And that could cause problem to include it into
|   77458 [ jupp gmx.de] Saluton!
|   77768 [emschwar ldl] Every interpretation I've seen says that linking a GPL'd library
+ 77756 [mghall enter] I reworked the patches for the Bessel et.al. math functions into an extension.
  + 77764 [hal9000 hype] 'em
  + 77773 [ jupp gmx.de] Saluton!
    77831 [comp.lang.ru] - - There is nothing "scary" about this. What's scary is when you
    77972 [jcarbaut sai] I don't understand the reason why you show such vanity, or why you
    + 78245 [comp.lang.ru] _ I guess the smiley was missing. I don't mean to offend, but
    + 82321 [comp.lang.ru] _ I guess the smiley was missing. I don't mean to offend, but
      82335 [michael_s_ca] And on most others as well relating to programming.
threads.html
top