89534-89995

89340-90866 subjects 89719-90316

^ m17n information?
89534 [tibbetts acm] I just read Matz's slides from (http://www.rubyist.net/~matz/slides/rc2003/) the
89537 [matz ruby-la] You can see the prototype from CVS ruby_m17n branch, but without any

^ Re: Ruby delimiter matching in vim (was block delimiting)
89540 [jgb3 email.b] Thanks for the tips on installation, Mark--guess my post should have
89600 [gsinclair so] Here is the relevant line from the ftplugin at
89602 [markjreed ma] What a useful link!  Thanks.  Especially since the ruby ftplugin

^ joint venture
89542 [ericon comhe] I have a proposal for all List-owners,promoters and webmasters.

^ Should a newbie learn 1.6 or 1.8?
89545 [stevec890 ya] I'm just starting to learn Ruby, and I've purchased Ruby in a Nutshell
89546 [flgr ccan.de] I'd suggest using 1.8 because changes usually shouldn't be all that

^ Stability for Production? 1.6 vs 1.8?
89548 [lewisd f00f.] What's all your thoughts on using Ruby for a production application?  The
89694 [nathaniel ta] My experience has been that Ruby is very stable so long as you don't

^ Reducing Ruby's footprint
89549 [intc_ctor ya] I'm exploring the possibility of including Ruby on a CD as a utility
+ 89555 [vjoel PATH.B] Can't help with your other questions, but glut32 is an OpenGL binary, so
+ 89579 [kero chello.] all stripped, naturally. Complete 1.8.1 would be twice that (excluding

^ Re: RubyTk variable problem solved
89550 [sem odin.dyn] There was a bug elsewhere in my code, trying to use the variable

^ install.rb (modified for bin programs)
89553 [Ara.T.Howard] i am sorry i do not know the orginal author to credit - but this is a modified

^ Invitation to IPSI Conferences
89557 [konf vreme.y] IPSI Belgrade organizes scientific conferences all over the World,

^ Ruby 1.8.1 on OpenStep
89559 [mmaciaszek g] First I must say I was very surprised that Ruby has some configure
+ 89560 [usenets_remo] Talking about OpenStep,  where do you get the latest software, if any, and
| 89562 [mmaciaszek g] Which software exactly? The operating system itself can still be
+ 89644 [mmaciaszek g] The last piece of the puzzle is to use -U __environ on this line. This
+ 89777 [sunshine sun] I did a bunch of work recently to revive and improve the NextStep, OpenStep,
  89783 [mmaciaszek g] You're right. After I removed the build directory, ruby stopped
  89859 [mmaciaszek g] A temporary solution to this is to add /usr/local/lib (in my case) to

^ xmlrpc4r and https certificates?
89564 [nspring cs.w] I have a small script that uses xmlrpc to connect to a server, and

^ Ruby 1.8.0 bugs on Dir
89565 [ggarramuno a] Okay, two separate bugs.  One probably on all platforms and one more serious
89566 [nobu.nokada ] "The current directory on ruby mswin32" is in C:?  So it just
89583 [ggarramuno a] The command should indeed work as the msdos dir command, listing the contents
+ 89594 [austin halos] Volume in drive C is Portable
| + 89606 [GGarramuno a] Err... That can't be, as I never print anything like Volume in my code.
| | + 89609 [rich infoeth] Right.  On DOS/Win32 if you list the directory <drive>: it lists the
| | + 89627 [NewGroups nt] <GGarramuno@aol.com> writes
| + 89607 [GGarramuno a] Err.... Never mind.  Nothing to do with ruby.
+ 89608 [jwkenne attg] It _does_ work as the MS-DOS dir command does:  it lists the contents of

^ current Ruby reserved words
89571 [fxn hashref.] I'm gonna patch the list of Ruby keywords in the listings LaTeX
89573 [matz ruby-la] You can always get the up-to-date keyword list in the "keywords" file

^ Using the new 'ri'
89572 [gsinclair so] Folks,
89581 [lyle knology] Thanks for writing this up. It may be worth noting on your Wiki page
89620 [andrew walro] Do you know if it is possible to get a reproducible export from a branch by

^ Question on hashes and init block
89574 [luke madstop] I'm using the trick someone mentioned here a few weeks ago to attach a
89575 [decoux moulo] This is wrong, it's
89577 [luke madstop] Ah, ok. That makes much more sense. :)  I see now.

^ WEBrick examples repositories
89576 [usenets_remo] First of all, bravo WEBrick creator and contributors.
89587 [Ara.T.Howard] if you download the webrick tar ball from the raa the 'sample' directory
89617 [usenets_remo] Thanks Ara. The example is good but I can't find the one with either MySQL

^ dereferencing pointers in Win32 API
89580 [sdate everes] Ruby/Win Gurus,
89584 [exoticorn ep] If I'm not completely wrong, you should be able to dereference it using
89588 [sdate everes] Thanks for looking.
+ 89599 [phasis bclin] Just use memcpy.
| 89632 [sdate everes] Thanks, Park.
+ 89626 [exoticorn ep] You are right, after reading the relevant ruby source, it seems that you

^ Please unsubscribe
89582 [jeepcreep ya] Please unsubscribe

^ Re: ruby 1.8.1 testing after crosscompiling for armv4l (iPAQ)
89586 [kero chello.] OK, that one resolved itself when I rebuilt cleanly.
89603 [nobu.nokada ] sha1.so needs to be located under digest/ but not digest/sha1/.
89621 [kero chello.] yes, it's there.
89625 [nobu.nokada ] I misunderstood.  That exception is raised from ossl.so, but
89651 [kero chello.] I verified with strace and libssl and libcrypto (v0.9.7c) are found. But
89654 [nobu.nokada ] In ext/openssl/lib/openssl/digest.rb.
89798 [kero chello.] I took out the drbssl test; I need to delve deeper in

^ Anonymous CVS access
89589 [Bil.Kleb NAS] I can't make it past the first hurdle.  What am I missing?
89595 [austin halos] I believe that the CVS password is, indeed, "(anonymous)", not "anonymous".
89598 [jbritt ruby-] I pulled the latest from CVS a few hours ago, and used the password
+ 89610 [lyle knology] Lyle adds, "me too" (did a fresh checkout this afternoon using
+ 89623 [Bil.Kleb NAS] It looks like it's the IT security folks on my end.  When I'm connected

^ regex to NOT match?
89590 [ruby hitmedi] Sorry it seems like the smallest thing, but I'm stuck on this.
+ 89591 [ruby-lists l] puts myString.gsub(/[^at.]/,'')
| 89628 [bob.news gmx] "Alexander Kellett" <ruby-lists@lypanov.net> schrieb im Newsbeitrag
+ 89592 [Ephaeton gmx] puts myString.gsub(/[^at.]/, '')
+ 89593 [markjreed ma] puts myString.gsub(/[^at]/,'')
+ 89596 [ggarramuno a] The best place to find docs on regex is the book Mastering Regular Expressions.
| 89597 [ruby-lists l] \ is unneeded in char class afaik
| 89601 [markjreed ma] Not before '.', but it is harmless and clarifies what's going on.  The
+ 89622 [lists zara.6] Yes, it would be nice if these two excellent Ruby books explain/tutor
| + 89637 [Stephan.Kaem] If you'd like to read some really serious stuff about regexes, I
| | 89647 [lists zara.6] Yeah, I've read Jeffrey's book (1st ed too) and the two chapters of the 2nd.
| + 89642 [neoneye adsl] For many examples which exercises many aspects of Ruby's regexp engine, see
|   89643 [zdennis mkte] I didn't come from Perl, but regular expresssion concepts, metacharacters,
|   89648 [lists zara.6] Btw, I hear Oniguruma will be pretty kick-ass, no? :) From what I've
|   89649 [neoneye adsl] Right.
+ 89641 [flgr ccan.de] irb(main):002:0> myString.tr("^at.", "")

^ How to reproduce the tk dialect?
89605 [shasckaw sky] TkLabel.new(root) {
89615 [vjoel PATH.B] Here's how Tk might do it, though I haven't studied the source. (I don't
+ 89656 [shasckaw sky] Thanks for the help. I'll try this the sooner I can.
+ 89658 [shasckaw sky] Great, it works!

^ Converting a string to an array of tokens
89611 [ws johnwlong] Is there a fast way to convert a string into a list of tokens?
89612 [hal9000 hype] irb comes with its own lexer. I've used that before.
89613 [ng johnwlong] Actually no, I'm not using it to parse Ruby. I'm just looking for something
+ 89614 [ng johnwlong] <code>
| 89624 [djd15 po.cwr] class String
| 89744 [ng johnwlong] This is almost exactly what I was looking for.
| 89751 [bob.news gmx] "John W. Long" <ng@johnwlong.com> schrieb im Newsbeitrag
| + 89772 [ng johnwlong] Good ideas. It would be fun to optimize this further for speed. Maybe even
| | 89775 [bob.news gmx] "John W. Long" <ng@johnwlong.com> schrieb im Newsbeitrag
| + 89779 [aamine lover] ~ % cat t
|   89781 [James.Weiric] Except for the pre_match, isn't this just doing the same thing as scan.  And
|   89841 [nobu.nokada ] It has been implemented.
|   89877 [James.Weiric] Indeed.  A quick little test shows that the time to execute ...
+ 89629 [bob.news gmx] "John W. Long" <ng@johnwlong.com> schrieb im Newsbeitrag
  + 89670 [joey joeygib] What about this? It produces what the original poster asked for in his
  | 89671 [bob.news gmx] "Joey Gibson" <joey@joeygibson.com> schrieb im Newsbeitrag
  + 89687 [nobu.nokada ] What about this?
    + 89704 [James.Weiric] This is fairly general and easily extended ...
    + 89706 [bob.news gmx] <nobu.nokada@softhome.net> schrieb im Newsbeitrag
      89733 [ng johnwlong] Nice solution, but my idea of specifying your tokens is to have it separate
      89766 [sabbyxtabby ] class String

^ Web paging class utility
89618 [usenets_remo] a.. Create dynamic pages in minutes with this easy to use   PHP class

^ RDoc/Ruby1.9 problems
89630 [ jimm io.com] I had previously installed RDoc. I checked out the latest Ruby via CVS,
+ 89631 [decoux moulo] Look if it install rdoc, with
| 89634 [ jimm io.com] Yup, ruby 1.9.0 is installed
| + 89635 [decoux moulo] well, my instruby.rb do
| + 89636 [dave pragpro] Did you run 'autoconf'?
|   89638 [ jimm io.com] I refreshed CVS, ran
|   89640 [dave pragpro] Me too.
|   89645 [ jimm io.com] AAARRRGGGHHH! Rather, ARGV! I always forget "-d". It's time to retrain my
|   89650 [gsinclair so] $ cat >> ~/.cvsrc
+ 89633 [dave pragpro] The folks at ruby-doc have nothing to do with ri and rdoc (apart from
  89760 [roberto REMO] [courtesy cc of this posting sent to cited author via email]

^ Game Programming with Python, Lua and Ruby
89652 [careck circl] Tom Gutschmidt: Game Programming with Python, Lua, and Ruby
89727 [sdate everes] Just got my copy today !
89729 [careck circl] I would be very interested in your opinion on this book when you are
89731 [sdate everes] Absolutely ...

^ could Ruby be used to make a stand-alone cross-platform GUI app?
89655 [ruby hitmedi] I've been learning Ruby on the command-line for the past month or so, and want to give myself a bigger project to tackle.
+ 89659 [mailinglists] On Windows and MacOS you would simply add the ruby.exe file and all
+ 89668 [lists zara.6] There are many GUI bindings available in Ruby. One of them is wxRuby

^ epoch/2 bug in filelock.rb?
89657 [ jupp gmx.de] With epoch/2 some program of mine without any change applied to the

^ tk application name
89660 [ferenc engar] Dealing with ruby/tk and option database, I have found that ruby sets
89688 [nagai ai.kyu] 'tcltklib' doesn't set the application name.

^ Forum Software
89661 [smurdon mela] I just launched a site for melanoma (http://www.melanomaonline.com) and I
89768 [usenet andre] I am currently developing a new forum for www.mikrocontroller.net. The

^ ruby fltk and extending ruby
89662 [ggarramuno a] Okay, I am starting to learn how to do ruby's extensions.
89697 [ttate ttsky.] No, the project is not so active, because I'm busy
89714 [GGarramuno a] No problem.  I am up and running.  Is ruby-fltk on sourceforge or

^ Copy/paste app for beta-test and/or comments
89663 [hal9000 hype] Here's some mostly-finished code for anyone who wants to

^ efficient way to get the first found (or a random) key/value of a large hash
89664 [lists zara.6] # a large hash
+ 89665 [hal9000 hype] k,v = h.find { true }  # Find first obj for which block is true
+ 89778 [vaine cs.hel] irb(main):003:0> {:a => 1, :b => 2}.to_a
  89856 [emmanuel.tou] yes, but converting the whole hash to an array is inefficient (for big

^ REXML & Extended characters - newbie question
89666 [ralph.mason ] I am doing a quick and dirty automatic translation from English to
89722 [ jupp gmx.de] IIRC the encoding used by Google defaults to ISO-8859-1 while adding
89723 [ralph.mason ] Thanks for that, I'll give it a go  I had a workaround with

^ Unixisms (Re: [PATCH] File.readable_world? and File.writable_world?)
89669 [lists zara.6] [moved to ruby-talk]
89682 [matz ruby-la] I'm not against Unicode, I just refused to be Unicode "centric".
89692 [Ara.T.Howard] thank goodness!

^ faster integer arithmetics & arbitrary precision floating number
89672 [lists zara.6] 1. Is there a way in Ruby to speed up 32bit integer arithmetics (only
+ 89673 [emmanuel.tou] i just tried to run this, and this is really quite discouraging indeed..
| 89675 [decoux moulo] just use a faster cpu
| 89680 [lists zara.6] use less time;
+ 89674 [dcarrera mat] One idea would be to make a "FastInt" class that stores inegers as regular C
| 89685 [bob.news gmx] "Daniel Carrera" <dcarrera@math.umd.edu> schrieb im Newsbeitrag
+ 89677 [emmanuel.tou] i have the feeling (unconfirmed) that perl is optimising it away since
| + 89678 [dcarrera mat] That seems likely.
| + 89679 [decoux moulo] the P language make a constant (1073741823+1073741824) and compute it only
| + 89681 [lists zara.6] #!/usr/bin/{perl,ruby}
| | + 89695 [GGarramuno a] No, Perl is much faster than ruby for these sort of operations.  Where
| | + 89696 [emmanuel.tou] i did try with a file as you said, but due to a slow computer i had to kill it
| | | 89698 [emmanuel.tou] charset="iso-8859-1"
| | | 89705 [nspring cs.w] and with --enable-pthread
| | | 89782 [decoux moulo] This is the same error : the right message is `stack level too deep'
| | + 89734 [dagbrown LAR] Nope.
| + 89684 [mike ratdog.] You are correct about perl optimising away a constant -
+ 89686 [Ara.T.Howard] if there is someway you can organized your problem into arrays (eg. collecting
| + 89689 [lists zara.6] Nice! I can surely try clustering the numbers into sizable bites of
| + 89708 [vjoel PATH.B] But isn't this only performing the addition once?
| + 89709 [boson cybers] What abouts Rubys design would make integer arithmetic slower than integer
|   + 89710 [dave pragpro] class Fixnum
|   | + 89711 [boson cybers] I guess I was expecting the addition of Fixnums to be implemented in C
|   | | 89713 [ggarramuno a] Yes, but my guess is that that's more of an excuse and not the source of the
|   | | 89717 [surrender_it] still, you can't reopen base classes in python, IIRC..
|   | | + 89732 [GGarramuno a] No, you can't, but you can now inherit from them and create your own
|   | | | + 89735 [flgr ccan.de] This is possible in current Ruby with libraries (See
|   | | | | 89750 [GGarramuno a] Okay, how can I say this nicely...?  No, I really can't.
|   | | | + 89749 [surrender_it] a great enhancement yes :)
|   | | | + 89754 [lists zara.6] Then don't use it :)
|   | | | + 89759 [gsinclair so] A common worry for people new to the language.
|   | | |   89802 [GGarramuno a] Disagree.  I'm new to the language and I am evaluating it to see if it
|   | | |   + 89821 [ahoward fatt] gavin is right.
|   | | |   + 89822 [dagbrown LAR] Well, for starters, that doesn't give you the list of methods for
|   | | |     89827 [gsinclair so] $ ri String
|   | | + 89738 [jweirich one] You can't reopen them as you can in Ruby, but it is possible to add
|   | |   89748 [surrender_it] I know thanks :)
|   | + 89712 [Ephaeton gmx] Each time again ? I suppose the dispatch is cached per class (singletons
|   | + 89730 [jwkenne attg] It also has to Fixnum.new the result.  (And eventually, it has to GC
|   |   89746 [vjoel PATH.B] Actually, Fixnums are not allocated, but rather stored within the VALUE
|   + 89726 [matz ruby-la] Perl uses float value for integer arithmetic, where Ruby uses Bignums
+ 89755 [emmanuel.tou] btw, just saw a mention of this today: isn't maybe ext/bigdecimal what
  89757 [lists zara.6] Yes, exactly what I wanted. Thanks.

^ Ruby and Swig -- creating Pointers (typedef)
89693 [RubyQuestion] I have been using Swig for the first time since Lyle mentioned Phil
+ 89707 [lyle users.s] OK.
| 89803 [RubyQuestion] Lyle and Phil,
+ 89715 [intc_ctor ya] You need to include the typedefs in the declaration portion of the .i file
  89742 [ptkwt aracne] %include "foo.h"

^ Problem using https://
89699 [dave pragpro] For the first time I'm trying to connect to an https server. However,
89700 [walker letha] is PORT set to the correct https port? (443)
89701 [dave pragpro] D'oh...
89703 [tibbetts acm] Don't worry, Dave--it sounds like a design defect that's pretty easy to forget.

^ Getting the tail of a list?
89718 [careck circl] I have spent the night reading about the wonders of Scheme at
+ 89720 [gfb tonesoft] No Array#rest as you noted bellow, you may use list[1..-1] here.
| 89721 [careck circl] OKAY! That's a bit shorter, thanks.
| 89724 [markjreed ma] Or list[1,-1], which should be more efficient since it doesn't build
| 89725 [markjreed ma] Whups, never mind, that doesn't work. :)
| 89752 [bob.news gmx] "Mark J. Reed" <markjreed@mail.com> schrieb im Newsbeitrag
| 89861 [kgergely mla] I _would like to_ write a[2,Infinity], or something like that...
| 89894 [dagbrown LAR] a[1,-1]
| 89895 [hal9000 hype] Read again. Robert's point was that this doesn't work. The second
| 89959 [dagbrown LAR] D'oh.
| 89995 [bob.news gmx] "Dave Brown" <dagbrown@LART.ca> schrieb im Newsbeitrag
+ 89728 [timsuth ihug] Taking the `rest' of a linked list is a constant time operation. In
| 89747 [nobu.nokada ] No, they can be shared and copy-on-write.
+ 89739 [walker letha] This creates a duplicate of the list, and if you're simulating tail recursion with that it might not necessarily be what you want
  89740 [harryo qiqso] I don't remember that post, but I love the idea.  It has a very high level of "cuteness" ... effectively adding an infinite number of methods to a class.
  89830 [linse428 stu] You only think that until you find such an abomination in someone elses
threads.html
top