108686-109329

108451-109036 subjects 108937-109742

mod_ruby used to mimic rewrite
108686 [jm@tr ns ct ] The scenario is the need to rewrite a request for dummy.example.com to
108696 [khaines@en g] I just woke up and my head hurts and I'm operating off the top of my head,
108756 [jm@tr ns ct ] This has got me as far as having one possible solution. It's not
108762 [khaines@en g] Move to an earlier phase for your handler.  If your handler is a

dynamic calling question
108687 [crf@sb x. u-] On implementing a state machine I'm stuck at...
+ 108694 [bob.news@gm ] "Martin Pirker" <crf@sbox.tu-graz.ac.at> schrieb im Newsbeitrag
| 108716 [crf@sb x. u-] [defs]
| 108731 [bob.news@gm ] "Martin Pirker" <crf@sbox.tu-graz.ac.at> schrieb im Newsbeitrag
+ 108697 [vincent.isam] It does not work because send will only call a method of the object you

stupid question: Object#name
108689 [linux@ma cr ] its time for stupid questions again :)
+ 108692 [flgr@cc n. e] Moin!
| 108698 [linux@ma cr ] substitute Object#name with Object#names
| + 108701 [bob.news@gm ] "Benny" <linux@marcrenearns.de> schrieb im Newsbeitrag
| | 108711 [linux@ma cr ] ok, I'll have to clear my programming vocabulary :)
| | 108732 [bob.news@gm ] "Benny" <linux@marcrenearns.de> schrieb im Newsbeitrag
| + 108703 [flgr@cc n. e] ...
| | 108714 [linux@ma cr ] ok, but it should be no problem since we are always in some context when
| + 108709 [martindemell] irb(main):001:0> 5.id
+ 108695 [bob.news@gm ] "Benny" <linux@marcrenearns.de> schrieb im Newsbeitrag
  108702 [linux@ma cr ] "substitute Object#name with Object#names
  + 108704 [flgr@cc n. e] It is indeed possible to store Classes in regular variables, because
  + 108706 [bob.news@gm ] "Benny" <linux@marcrenearns.de> schrieb im Newsbeitrag
  | + 108713 [linux@ma cr ] <snip: everything other is discussed widely to my
  | | 108767 [bob.news@gm ] "Benny" <linux@marcrenearns.de> schrieb im Newsbeitrag
  | | 108855 [Gavri_F@in o] One part of this chapter (Page 5)  is driving me crazy. I tried it in irb and it doesn't work as described in the chapter.
  | | 108858 [dblack@wo bl] more_food = food.class.new
  | | 108890 [bob.news@gm ] "David A. Black" <dblack@wobblini.net> schrieb im Newsbeitrag
  | + 108715 [linux@ma cr ] it also take some time to read 1296 pages :) isnt there something uhm say
  |   108717 [vincent.isam] About the class name, the name of the class is not necessarily the name
  |   108720 [linux@ma cr ] 1. creation of a new class-object
  |   108721 [hal9000@hy e] We *could* in theory do that.
  + 108719 [discord@ma .] This isn't exactly what you want, but it's as close as you can come,
    108733 [bob.news@gm ] "Mark Hubbart" <discord@mac.com> schrieb im Newsbeitrag
    108740 [discord@ma .] whoops... I didn't say what I meant there. What I said was obviously

Opinions of RubyForge's performance over the weekend (CVS, Web, etc)
108693 [rich@in oe h] All,
108712 [halostatue@g] I found CVS performance acceptable. The website, however, is typically
+ 108790 [khaines@en g] individually.
+ 108791 [tom@in oe he] Hm.  There's a bit of caching involved - we run mod_php (vs PHP as a
+ 108808 [lists@za a. ] From peeking at the HTTP headers, the images are normal I think (E-Tag
  108810 [tom@in oe he] Yup, the only dynamic images are the project stat PNG charts.

Page not found
108700 [linus_holmlu] ...
108708 [lyle.johnson] Is this the one you're thinking about?
108725 [linus_holmlu] Yes! That's the one :)

Changes to the semantics of basename/dirname?
108710 [halostatue@g] There are some issues with the way that File.basename and
108734 [bob.news@gm ] "Austin Ziegler" <halostatue@gmail.com> schrieb im Newsbeitrag
108735 [halostatue@g] irb(main):003:0> [RUBY_PLATFORM, RUBY_VERSION, RUBY_RELEASE_DATE].join(" ")
108736 [bob.news@gm ] "Austin Ziegler" <halostatue@gmail.com> schrieb im Newsbeitrag

yaml bug(?) in pre2
108723 [crf@sb x. u-] dump via .to_yaml

please allow gmane.org to post to this list
108727 [cere@u. as i] Curently Gmane cannot post to the Ruby list as it used to.  This has
108728 [ljz@as as .c] I have been posting to this ruby list via Gmane with no problem.

mod_ruby problem
108729 [sean@fu l. u] "mod_ruby: error in ruby\n(eval):45: (eval):45: uninitialized constant
108738 [ksibilev@be ] Have you reinstalled Ruby recently? The thing is that mod-ruby installs
+ 108741 [sean@fu l. u] i did emerge the latest ruby a couple of days ago.  just restarted
+ 108746 [sean@fu l. u] btw, i am able to get my scripts running by hardcoding the path to

Ruby and .NET/Mono
108761 [hal9000@hy e] What are the differences in the two Ruby.net projects
108769 [timsuth@ih g] Mutually exclusive.

FLTK 1.1.5 does indeed support "themes"
108765 [nospam@no pa] I just tried out FLTK 1.1.5rc2 and it does indeed support "themes".  But
+ 108786 [robertm@sp l] A case of "too each their own", I know I certianly wouldn't choose it if I was needing a GUI toolkit. But thats the nice thing there are many toolkits to choose from.
+ 108792 [doodpants@ma] Wow... That's ugly! You might not want to include this example. :-)

Why the FUD?
108766 [nospam@no pa] We all have our opinions but in the end, facts are all that matters.

empty? and size in Enumerable (was: Re: FirstEachLast, an extension to the Enumerable module.)
108775 [bob.news@gm ] "Martin DeMello" <martindemello@yahoo.com> schrieb im Newsbeitrag
+ 108777 [mneumann@nt ] Hehe, and how long does it take to determine the size of infinite or
| + 108782 [bob.news@gm ] "Michael Neumann" <mneumann@ntecs.de> schrieb im Newsbeitrag
| + 108926 [john.carter@] Not nearly as long as Enumerable::sort does already...
+ 108821 [martindemell] My concern was if #each created a temporary data structure in O(n) time
  + 108831 [ahoward@no a] my concern would be for code that created a temporary data structure to
  | 108881 [martindemell] class Foo
  + 108832 [bob.news@gm ] "Martin DeMello" <martindemello@yahoo.com> schrieb im Newsbeitrag
    108847 [kristof@vl e] That's all nice and esoteric, but I don't see why it is a
    108887 [bob.news@gm ] "Kristof Bastiaensen" <kristof@vleeuwen.org> schrieb im Newsbeitrag
    + 108899 [kristof@vl e] You are right.  While thinking of the best example to support
    | 108901 [bob.news@gm ] "Kristof Bastiaensen" <kristof@vleeuwen.org> schrieb im Newsbeitrag
    + 108929 [g_ogata@op u] What's a "proper implementation of size"?  Is include?, min, any?,

rb_gc()
108795 [cmills@fr es] Can calling rb_gc() raise an error?
109329 [matz@ru y- a] It should not.  Report if it does.

Eiffel
108796 [GFITZGERALD@] ...
+ 108800 [just-for-new] I would appriciate not to start a discussin about that again. One does
+ 108807 [mailinglists] Arachno Ruby is a SmartEiffel program with about 200K LOC. With this i
| 108878 [just-for-new] Well you have driven SmartEiffel to it's limits. That is one Eiffel
+ 108813 [drossruby@ya] Have you tried Ada 95?

Singleton class methods
108798 [kyle@pu na c] It seems these two syntaxes accomplish the same thing, or are there
108802 [gfb@to es ft] Exactly the same from the functionality point of view (it differs in
+ 108811 [bob.news@gm ] "Gennady" <gfb@tonesoft.com> schrieb im Newsbeitrag
| 108822 [gfb@to es ft] Please see my reply to David Black's message, I really meant to place it
+ 108814 [dblack@wo bl] One difference (I believe this was pointed out to me once by Guy
  108817 [gfb@to es ft] That's kind of what I meant. It seems like when you do
  + 108829 [bob.news@gm ] "Gennady" <gfb@tonesoft.com> schrieb im Newsbeitrag
  | 108843 [gfb@to es ft] I meant that "class << self" creates a separate anonymous singleton
  | + 108845 [dblack@wo bl] I'm not clear on your original/new distinction here.  Each object can
  | | 108849 [gfb@to es ft] irb(main):001:0> class Foo
  | | 108850 [dblack@wo bl] But only one of them is a singleton class; the other is simply Foo
  | | 108853 [gfb@to es ft] That's where a slight misunderstanding might have occurred: I was
  | | 108854 [dblack@wo bl] I realize that we should probably be saying 'virtual class' instead of
  | | 108856 [gfb@to es ft] Hmm, I like "virtual class" much better. I used term "singleton" for
  | | 108860 [dblack@wo bl] It's not a very useful usage -- you'd have to call every object in
  | | 108862 [gfb@to es ft] Neither Java, nor C++ have term "virtual class", rather "abstract
  | | 108885 [bob.news@gm ] "Gennady" <gfb@tonesoft.com> schrieb im Newsbeitrag
  | + 108848 [kyle@pu na c] Your example clears most of this up, for me anyway. However, is there a
  |   + 108851 [batsman.geo@] try
  |   + 108852 [dblack@wo bl] It's the same as with any class: you can open its scope with the
  |     108861 [kyle@pu na c] That makes it crystal clear! I was looking specifically for what you
  + 108830 [batsman.geo@] Both create a singleton method, but the scoping is different.

plruby issue with redeclaring functions
108799 [lists@za a. ] create or replace function sqr(int4) returns int4 as '
108801 [decoux@mo lo] Check your mailbox : I've previously replied in a private email when I've

string.each_char
108806 [martindemell] I really think String#each_char ought to be added to the core - it's one
108809 [ruby-lists@l] what are you attempting to archieve with it?
108820 [martindemell] Iterating over a string letter by letter, without having to do
+ 108857 [gsinclair@so] Presumably you use this "compact" structure because it's one object
| 108884 [martindemell] Hm - good point. We'd need to go down the C path and separate 'char'
| 108892 [bob.news@gm ] "Martin DeMello" <martindemello@yahoo.com> schrieb im Newsbeitrag
+ 108886 [bob.news@gm ] "Martin DeMello" <martindemello@yahoo.com> schrieb im Newsbeitrag
+ 108893 [nobu.nokada@] How do you define "char" or "letter"?
  108895 [martindemell] Something matching /./ :)

Bug in Range#end with exclusive ranges?
108812 [djberg96@ho ] Ruby 1.8.2 preview 2
+ 108815 [WBrown@is ft] Daniel,
+ 108907 [halostatue@g] In mathematical range notation, the difference between 0..50 and
  108955 [martindemell] It doesn't seem quite right that Ruby should do this though
  108997 [halostatue@g] No. You want Range#member?
  108999 [gsinclair@so] I consider it poor form that in Enumerable, include? and member? are

GetLongPathName WinNT
108826 [ummaycoc@gm ] So I use Win32API to get GetLongPathName on a Win2K box - works okay.
+ 108827 [vincent.isam] Maybe using Ruby/DL.
+ 108867 [djberg96@ho ] I just release win32-file 0.2.1 which now includes a long_path()

Spreadsheet/Excel default format
108828 [ummaycoc@gm ] I use the Daniel Berger's port of John McNamara's Excel module for
108912 [djberg96@ho ] Chris Thomas spotted this one as well a short while back.  I seem to

Undelivered mail?
108833 [drossruby@ya] hmm... Is anyone else that is posting getting
108839 [vincent.isam] I just had the same error. I do not know why too...
108864 [aero6dof@ya ] a) kevxn... is on the mailing list and the delivery sw on his (or his
+ 108868 [drossruby@ya] Has to be option 1. The email contains ruby-talk
+ 108888 [bob.news@gm ] "Alan Chen" <aero6dof@yahoo.com> schrieb im Newsbeitrag

latest instiki err
108836 [Ara.T.Howard] anyone else having instiki blow up on the first access using latest version?
108837 [batsman.geo@] Right, that's one of the things I patched when packaging it.
+ 108838 [Gavri_F@in o] yep. had to create the directory myself.
+ 108859 [ahoward@no a] ...

embeddeding OpenGL into ruby-gtk application
108841 [Joseph.V.Lau] How can I embed a OpenGL 'window' into a ruby-gtk application?  I have a
108863 [rcoder@gm il] Joe,

Ruby and Mono
108865 [hal9000@hy e] Tim,
+ 108866 [jamesUNDERBA] I think for most things that's  OK, though the full .Net platform has
| 108876 [tunah.usenet] That would be very cool.
+ 108880 [ruby-lists@l] i've got a small c extension to bind to system.reflection.emit
| + 108896 [ruby-lists@l] er... what i mean by this is. i have a small ruby/c extension.
| + 108949 [feldt@ce ch ] The libjit path is interesting; I think that is a very promising one.
| | 108950 [ruby-lists@l] ummm c++ requirement? llvm is c++ but libjit uses c++ exceptions internally
| | + 108990 [george.marro] Robert - weren't you or one of your students working on an llvm-based
| | | 109050 [feldt@ce ch ] Good reminder; I never uploaded that thesis. But now it is available on
| | + 109051 [feldt@ce ch ] Yeah, I had some problem with the C++ exceptions together with Ruby
| + 108989 [george.marro] Hoary old chestnut, I know, but what's your view on libjit's GPL
|   108992 [ruby-lists@l] i don't worry myself with licensing issues just
+ 108894 [timsuth@ih g] None the "bridge" projects I described currently work in Mono, since they

OO web development
108871 [ra016681@ic ] I have been learning more about OO and design patterns now,
+ 108873 [jamesUNDERBA] Could you perhaps say why you think that?
| 108875 [ra016681@ic ] I haven't developed anything meaningful object-oriented application
+ 108874 [carl.youngbl] Just look at Ruby on Rails.  It has a great OO framework that follows
+ 108877 [khaines@en g] It's really no different with a web project than with any other project.

Missing Pages on Ruby-Lang.org
108879 [drossruby@ya] Can someone add

[ANN] PrettyException 0.9.1
108882 [sdmitry@lr .] I want to announce first public release of my library for generating pretty html output
+ 108883 [sdmitry@lr .] Stupid me, this should be http://rubyforge.org/frs/?group_id=9
+ 108919 [ksibilev@be ] Interesting. I did almost the same thing when I was developing my last
| + 108931 [horacio.lope] good idea, maybe some optional javascript in order to show/hide
| + 108939 [sdmitry@lr .] Did you display code chunks for every backtrace item or only for the one
+ 109033 [batsman.geo@] I have just uploaded PrettyException and MW::Template to the preliminary
| 109041 [sdmitry@lr .] Great to hear :)
+ 109049 [david@lo dt ] This is indeed a critical component of any web-application framework.

Test::Unit output
108891 [cc1@ce .w st] I was curious if there are other test modes on test::unit which are more
+ 108908 [gsinclair@so] Once or twice I've written my own test runner that executes each test
+ 108910 [nathaniel@ta] Did you try passing your test --help on the commandline? I think
| 108916 [cc1@ce .w st] Right that's per test listing, I was more looking for per file listing
| 108918 [nathaniel@ta] Can you give an example of the P language output?
+ 109286 [kapheine@hy ] =20

Problems Installing GtkGLext
108897 [alex@al xg t] I'm having problems installing the Ruby bindings for GtkGlExt. I've
108898 [g@in er ec -] I'm assuming from the information you provided that you should have a file

RedCloth, restricting input?
108900 [jagenheim@gm] I'm writing a message board, where I'd like to use RedCloth for the text input.

Thread.safe_level
108902 [andre_NOSPAM] What does Thread.safe_level does?
108903 [bob.news@gm ] "Andre'" <andre_NOSPAM@syspoint.com.br> schrieb im Newsbeitrag

syck.so and AIX
108904 [austin.moody] I have recently been able to compile Ruby on AIX 4.3 with no problems.
109011 [halostatue@g] ...

Footnotes in RedCloth
108909 [Stephan.Kaem] I wonder what to expect from a RedCloth string in case some quoted text

Thread takeover
108911 [andre_NOSPAM] Strangely, I'm having the problem that one thread is taking over the whole
+ 108914 [bob.news@gm ] "Andre'" <andre_NOSPAM@syspoint.com.br> schrieb im Newsbeitrag
| 108915 [andre_NOSPAM] Thank you for the hints.
+ 108917 [gfb@to es ft] I would suggest that the problem is that you loop in Main's
+ 108930 [kjana@dm la ] of require.  So, that's normal.
| 109177 [kjana@dm la ] in this thread say, that's not a normal semantics.
+ 108966 [tunah.usenet] You can't trust malicious code at all.
+ 108994 [andre_NOSPAM] I think I found out the problem. I'm using Win32, and I was using the

1D textures in Ruby/OpenGL?
108913 [dave.dembins] Ruby using ruby-opengl, and it's been going well.  I have hit a
108921 [billk@ct .c ] Sorry I can't be of more help.  But I would bet it would be

Build problem: 1.8.1 and Cygwin
108920 [probertm@no ] I built Ruby 1.8.1 under Cygwin this morning and found had an error
108965 [ocean@m2 cc ] (2004/08/12 02:46)

Re: Is this potentially a problem?
108927 [ptkwt@ar cn ] Since you specified Class as the argument to ObjectSpace.each it shouln't
108928 [g_ogata@op u] Object.const_defined?(name) && Object.const_get(name).is_a?(Class)
108958 [bob.news@gm ] "George Ogata" <g_ogata@optushome.com.au> schrieb im Newsbeitrag

mod_ruby win32?
108932 [sarahtanemba] Anyone? Thanks
108959 [rcoder@gm il] ...
109004 [sarahtanemba] Thanks Lennon,
109012 [mailinglists] AFAIK there was no possitive feedback from anybody who tried it.

getting object attributes
108933 [Joseph.V.Lau] class Foo
+ 108934 [dblack@wo bl] Do you want instances of foo to be able to get access to the instance
| 109045 [Joseph.V.Lau] The second one, I believe.
| + 109046 [dblack@wo bl] class Foo
| + 109047 [msparshatt@y] then this will do what you want
+ 108979 [tunah.usenet] ["@goo","@boo"].each do |attribute|
  108985 [dblack@wo bl] nil
  109006 [tunah.usenet] Rule #1 of this newsgroup should be: "Read the question twice" and
  109008 [dblack@wo bl] I think it may have been... still waiting to hear from the OP on my
threads.html
top