79770-81012

79586-80821 subjects 80041-81115

windows install - scite
79770 [kgergely@ml ] Is there any scite users here?
79779 [mikkelfj-ant] I use Scite a lot. It is a problem that Ruby Windows Installer installs an

CRYING FOR HELP
79778 [johnsonlobet] ...

Matz's blog? (Re: Question: immutable strings as design goal?)
79781 [lists@za a. ] Speaking of blog, I once read that Matz also keeps one. But Google can't
+ 79782 [nobu.nokada@] But, of cource, in Japanese.
| 79847 [lists@za a. ] Sometimes babelfish can translate Japanese text, but sometimes it
| 79863 [batsman.geo@] Try with excite.co.jp. In my experience, its translation is much better
+ 79811 [michael_s_ca] Hrm...

LOOKING FOR HELP
79784 [sabinamobutu] ...

Learning from the standard library
79792 [ben@th ng ag] There are a lot of good ways to learn how to do things in Ruby.  I
+ 79875 [dblack@su er] Definitely -- but don't forget, just to give full credit, the Pickaxe
+ 79909 [gsinclair@so] It's a standard idiom - not one of my favourites, but there you go -
| 79930 [Dave@Pr gP o] Perhaps on page 252...
| + 79934 [gsinclair@so] ...
| + 79984 [ jupp@gm .d ] Saluton!
+ 79922 [wsdng@on in ] I'd agree that this is a standard learning curve: You start with a

Integrated Webserver?
79794 [martindemell] The HTML form thread made me wonder if we shouldn't have some equivalent
79831 [surrender_it] did you noticed that webrick exists and is now part of the standard
+ 79858 [vjoel@PA H. ] Looks nice. I tried this example (with minor modifications) and got
| + 79868 [surrender_it] dunno if it could possibly get confused, this it's working fine for
| + 79966 [drbrain@se m] =20
| + 79970 [gotoyuzo@no ] If you want to run WEBrick only in IPv4 network,
|   80012 [vjoel@PA H. ] But the process does not stay around (according to `ps -Af | grep
|   80033 [gotoyuzo@no ] Hmm, it seems that your code didn't call HTTPServer#start.
|   80036 [vjoel@PA H. ] That's it. Thanks!
+ 79865 [martindemell] Very neat! I admit that I didn't know exactly what webrick was; I'd just
+ 79904 [code@jo ch n] I didn't know about webrick.  That is SO FRICKIN' COOL.
  + 79949 [dan@ta ta od] It just gets more and more ridiculous doesn't it?
  + 79972 [surrender_it] try to push _why to add a section on it in his "what's new" page ;)

PROPOSAL
79807 [andyjaneh@ne] ...

const_missing
79816 [hal9000@hy e] I just tried to use const_missing (which I think is a
+ 79821 [vjoel@PA H. ] I guess #const_missing gets sent to the class, not to the instance,
| 79827 [hal9000@hy e] Right, thanks. I also forgot the parameter.
+ 79823 [chr_news@gm ] This should be
+ 79829 [chr_news@gm ] On second thought your implementation could

Best answer yet...
79817 [comp.lang.ru] _ I was poking around and came across this in the REXX FAQ.
+ 79824 [ben@th ng ag] Sounds good to me.  The question is similar to "Which is better, a
+ 79832 [nospam4.me@o] On Thursday 21 August 2003 14:54,

Wrapping ENV
79833 [hal9000@hy e] me? And/or do you see a more elegant way to do it, or any problems
+ 79834 [mgarriss@ea ] Yes, that is useful.  Very cool.
+ 79835 [jim@fr ez .o] Hmm, not all env names are caps.
| 79839 [hal9000@hy e] Quite right.
+ 79837 [chr_news@gm ] You must have been using Javascript lately;-)
| 79840 [hal9000@hy e] Actually, as little as possible. :)
+ 79862 [sean@cS Pl o] class Record
| 79926 [joey@jo yg b] Why not make use of method_missing instead of defining methods for each
+ 79871 [mailinglists] I don't like it. I have some environment variables with names like
| + 79872 [hal9000@hy e] It's useless for you then.
| + 79885 [mgarriss@ea ] If you like things much more readable and you never count the time for
| | 79920 [mailinglists] verbosity != readable.
| | 79948 [mgarriss@ea ] It was a joke.  You snipped off the :)!!  Dang, misquoted again.
| + 79931 [olivier@ja a] Well it increases the signal to noise ratio of course :)
+ 80104 [androflux@so] Mentioned in other posts, it assumes that environmental variables are

SystemStackError comparing self-referential structures
79844 [vjoel@PA H. ] irb(main):021:0> a = []; a << a
79917 [ gv@cs uu nl] How perverse :-)  I am actually surpised that the inspect method is able
79932 [nobu.nokada@] Method #inspect uses thread local variable to propagate the

POLS and names of mathematical functions
79849 [ jupp@gm .d ] Saluton!
+ 79878 [gmiller@bi t] I personally have always seen the use of acosh, asinh, and atanh in
+ 79891 [matz@ru y- a] Ah, please stop mentioning POLS whenever your personal expectation is
| 79967 [ jupp@gm .d ] Saluton!
| 80010 [matz@ru y- a] You possibly misunderstood me.  I didn't mean to shut you up.
| 80048 [ jupp@gm .d ] Saluton!
| 80058 [matz@ru y- a] Sounds nice, Hal, could you?
| 80082 [hal9000@hy e] Certainly.
+ 80060 [denshimeiru-] Here (Frankfurt) they're called arcosh or arccosh (I saw both), arcsinh
  + 80074 [dcarrera@ma ] As a mathematecian, I see no problem at all with atanh, asinh, etc.
  | 80077 [denshimeiru-] No, they use sin^-1 etc.
  | 80081 [dcarrera@ma ] I've seen both in scientific claculators.  I didn't mention sin^-1 because
  | 80100 [denshimeiru-] The computer algebra system "maxima" uses the a-prefix method. BTW, it
  | 80190 [ jupp@gm .d ] Saluton!
  | 80308 [denshimeiru-] Yes - it shows that the functions DO have enough in common to be
  + 80089 [ jupp@gm .d ] Saluton!
    80099 [denshimeiru-] They must be very common ones... especially "arcus tangens hyperbolicus"

URGENT BUSINESS RELATIONSHIP
79860 [graceabonime] FROM THE DESK OF DR DR.MARK PAUL

RMagick is nice... bar chart
79869 [feldt@ce ch ] I decided to play with RMagick and wow, its really powerful.
+ 79870 [feldt@ce ch ] /Robert
+ 79873 [hal9000@hy e] I agree, RMagick is great.
  79874 [feldt@ce ch ] Hal E. Fulton <hal9000@hypermetrics.com> skrev den Fri, 22 Aug 2003

Re: Reach 27.4 Million People with Email pvjc
79882 [2ljonsy0j@ya] %RANDOM_CHAR Ruby-talk %RANDOM_CHAR Anibal Justice

traditional chinese crafts ,enjoy it
79889 [fxf@so ve ir] Greetings,

[crash BUG] the latest ruby 1.8 (2003-08-22) give SIGBUS
79921 [mulperi@ik .] This SunOS xxxxxx 5.8 Generic_108528-20 sun4u sparc SUNW,Ultra-60
79923 [nobu.nokada@] This patch woudl fix it.
79925 [mulperi@ik .] Thanks Nobu,

CONFIDENTIAL TRANSACTION
79924 [maher_labib@] General Manager, UBE.

[ANN] Ruth 0.10
79936 [feldt@ce ch ] Here is a new version of ruth. Please
+ 79938 [decoux@mo lo] I've not understood
| 79940 [feldt@ce ch ] Yes, this is from an older version of ruth. Maybe it had
| 79961 [msparshatt@y] However if you try something like
| 79978 [feldt@ce ch ] There transformation from internal to AST is very sketchy/incomplete
+ 79944 [mikkelfj-ant] it

TCPSocket & Threads
79937 [jolsen@ma l2] Is there any reason ruby's TCPSocket should not work with threads?
79939 [decoux@mo lo] svg% ruby -rsocket -e 'p TCPSocket.ancestors'

Re: Read character from keyboard
79941 [jroth@cs b. ] I managed to get it working on Windows 2000 by using the GetAsyncKeyState

irb regexp strangeness
79942 [martins@aa d] martin@beyond ruby $ cat t.rb
79945 [decoux@mo lo] You must have the same problem with !=, no ?
79946 [martins@aa d] Yes,
79947 [decoux@mo lo] no, probably a bug in irb (ruby-lex.rb)
80015 [keiju@is it ] I fixed this bug.

HELP ME
79943 [petendlovu@n] ...
79996 [tim@ve et .a] Tim Hammerquist

exerb and memory
79953 [xrfang@ho ma] I am inspecting the memory usage by EXERB executables. I found that a

tentative pre-rcr: text balancing in REs
79955 [hgs@dm .a .u] I've been trying to put some notes together about OpenGL in Fox, for

[ANN] rubyzip-0.5.0
79957 [thomass@de t] Just wanted to let you know that I have released a new version of

Getting html page fields with webrick
79959 [j.khaldi@vi ] I am playing with Webrick and I tried to change a little the example given
+ 79962 [rodrigo.berm] It seems to be a common problem.
+ 79971 [angus@qu va ] Webrick accepts POST method. Just define a method do_POST(req, res).
+ 79973 [gotoyuzo@no ] HTTPRequest#query returns a Hash of parsed query.
  80018 [j.khaldi@vi ] That's ok thank you.
  80030 [gotoyuzo@no ] require 'webrick'

FOREIGN PARTNER NEEDED
79960 [ericnkomo@ne] ...

Line wrapping
79963 [usenet@an re] I'm using the following function for line wrapping (found it somewhere
+ 79965 [flori@ni e. ] def wrap(s)
| 79975 [usenet@an re] def wrap(s)
| 79982 [usenet@an re] It doesn't work correctly, I have to think about it again...
| 79983 [usenet@an re] def wrap(a, max_len)
| 79986 [dblack@su er] See if this comes close....
| 79988 [mwilson13@co] Here's some C code to do line wrapping (written by Joseph K. Myers)
+ 79987 [wkb@ai ma l.] Andreas,
  79993 [denshimeiru-] Why not just

Quotable quote from Matz
79964 [hal9000@hy e] This caught my eye and I wanted to make sure everyone
79969 [lyle@us rs s] Or, to paraphrase another of Matz's lines from the past: "'Principle of
80031 [sdate@ev re ] Yes, the *me* part needs to be underscored heavily. Otherwise, it is
80301 [slumos@ya oo] The real problem is that THE Principal of Least Surprise is used in
80303 [hal9000@hy e] Well, obviously the original meaning implied a universal. But it's

More CGI weirdness
79968 [d.borodaenko] Thanks, requiring 'stringio' from Shim helped. BTW replacing cgi.rb with
79990 [nobu.nokada@] Since 1.6 had ended, it won't be released more, matz said.

1.8.0 build, Solaris and socket
79974 [probertm@NO ] I am getting an error when I try to use telnet under 1.8.0 (it was
+ 79976 [rodrigo.berm] May there was a problem during installation.
+ 79977 [michael_s_ca] i got the same thing when I compiled 1.8.0 from source, using cygwin
  79980 [probertm@NO ] Michael Campbell <michael_s_campbell@yahoo.com> did say ...

Is your Health related practitice or businesses on the Wordlwidehealth.com Directory?
79979 [promotions@w] List your Health business on the Health Directory with a BRONZE grade

Aspect oriented Everything?
79981 [letterbox100] Aspect oriented Software development seems to be expanding in the
+ 79989 [tcurrey@no n] Wow someone actually uses this group!
+ 79991 [mwilson13@co] I have yet to read a description of what aspect oriented development is
| + 79994 [alwagner@tc ] Search RAA for aspectr.  I don't think it's maintained, but the code is
| | 79995 [mwilson13@co] Thanks. I took another look. I still don't understand. I'm looking for
| + 80288 [mmirra@li er] much more about AOP than what has been said in this thread in in
+ 80023 [llothar@we .] I'm not sure if this is a the way to go. I've only seen proof of
| + 80039 [stedak@ch rt] We make our new hires give a brief presentaion on some technology as part
| | + 80141 [Mark.Volkman] ...
| | | + 80143 [ben@th ng ag] In Ruby, couldn't you implement them in a mixin module?
| | | | 80149 [martindemell] No, because mixins don't let you wrap methods. You can use mixins if
| | | | + 80158 [Mark.Volkman] ...
| | | | | 80165 [ben@th ng ag] Ok, and what is the AOP alternative?
| | | | + 80173 [djd15@po cw ] class Foo
| | | |   80180 [djd15@po cw ] module Aspect
| | | + 80183 [stedak@ch rt] In theory this is true. AOP raises its own tangle of problems (debugging
| | |   80222 [Mark.Volkman] ...
| | + 80324 [hungjunglu@y] AOP is the latest effort in code factorization. Code factorization
| |   + 80337 [jason@ja on ] Eh? What's wrong with;
| |   | 80367 [hungjunglu@y] The question is: are there code spots that are not factored? If you
| |   | + 80372 [ben@th ng ag] Instead of "... non-factorizable code specific to f1", just yield to the
| |   | | + 80376 [chrismo@cl b] I think the AOP answer is that, given f1..f 16, you still have 16 places
| |   | | | 80413 [jweirich@on ] Hmmm ... this is a lot like the restriction with procedural
| |   | | | 80442 [chrismo@cl b] Yeah, I thought of that in the back of my mind while writing that
| |   | | | 80673 [feldt@ce ch ] In a sense yes. There is also rbprof in AspectR
| |   | | + 80424 [hungjunglu@y] No. Other people may differ, but to me, as long as the code is
| |   | | | 80409 [dave@bo st c] Don't lump Java and C++ together, please!
| |   | | + 80430 [jweirich@on ] This is exactly the solution I was thinking of!
| |   | | + 80478 [avi@be a4 co] One of the points of AOP (that distinguishes it from, say, macros) is
| |   | + 80375 [jason@ja on ] [snip
| |   | + 80378 [adalke@mi ds] What about
| |   | + 80480 [aredridel@nb] Bingo, thank you, Hung Jung!  That makes AOP -totally- make sense to
| |   |   + 80483 [olivier@ja a] For what I understood so far around what aspect oriented programming would
| |   |   + 80540 [wsdng@on in ] AOP is indeed very similar to template method. A join point is a means
| |   + 80348 [alwagner@tc ] Great post.  This explains the purpose of AOP better than I have ever
| |   | 80386 [dagbrown@LA ] Shame about the lack of any kind of real example.
| |   + 80360 [mgarriss@ea ] Thanks for the post Hung, very interesting.  Could you recommend a link
| |   + 80363 [creedy@mi re] If you're interested in this topic, you might check out the work of
| |   + 80379 [adalke@mi ds] But then there's wavelets.
| + 80692 [robert.will@] I see, you watched the trend the closely.  Incidentally I have the
|   80694 [slater@ef ec] It seems to me that AOP came into being shortly after Java got popular.
+ 80034 [hwlgw@ho ma ] How about stepping from Java or C++.  AOP is just a contrived way to
+ 80394 [wsdng@on in ] I know about AOP for quite a while now but I've actually never used it
+ 80743 [cjh_nospam@m] I have been using aspect oriented design techniques since 1992,

File.open leakage question
79997 [pmak@aa ni e] file = File.open('somefile')
79999 [mwilson13@co] Ruby will garbage collect the file object assigned to the variable

proper name for one who uses ruby
79998 [kdresner@cs ] I've seen two:  Rubyist and Rubicon.
+ 80000 [mwilson13@co] But I think the answer is up to you.
+ 80002 [nobu.nokada@] Rubicon is a test suite for Ruby.
| + 80014 [0bz63fz3m1qt] Simon Strandgaard
| + 80025 [Dave@Pr gP o] And that's different from a person who uses Ruby in what way?   :))
|   80026 [batsman.geo@] Rubicon is programmed by a Rubyist.
+ 80003 [dblack@su er] We are rubyists, and some of us are ruby hackers.

good
80001 [yaoyao@an oz] ...

unsubscribe
80005 [devlists@jd ] unsubscribe

[ANN] Transaction::Simple 1.1.0
80006 [austin@ha os] I am pleased to announce the release of Transaction::Simple 1.1.0.

Problem with null field. Plz help!
80007 [keuler@po ta] autogen.rb:301:in `initialize': Permission denied - ./boiler_install_notes/ (Errno::EACCES)
80022 [decoux@mo lo] One possible case is

Slitting at tabs still done the same way in 1.8?
80008 [keuler@po ta] IO.foreach("./control/control_sp#{sp_num}.txt") { |x|
80021 [dblack@su er] I'd add a closing brace :-)  Also, probably chomp is better than

Apache::Request isn't a File
80020 [tim@ba es id] I'm trying to get Ruby-GD to play nicely with Apache. Ideally, Ruby-GD
81012 [g@in er ec -] It could be done by creating a rubyfied gdIOCtx, but unless or until

[PYTHON] YAPVRA (Yet Another Python vs. Ruby Article)
80032 [james_b@ne r] Interesting blog post from a Pythonista on "Linguistic Simplicity," and
80042 [ben@th ng ag] Python users are always harping on how in Python code looks the same,

Sockets and threads
80035 [markjreed@ma] If I have a TCPSocket object that is being used by two threads,
80205 [loats205@ao ] Its the same, the only thing the 2 streams of a tcp socket really share is a

Ruby & Perl
80038 [dcorbin@ma h] Has anyone considered some way to make Perl modules callable from Ruby?
+ 80040 [mwilson13@co] require 'shell'
| 80043 [dcorbin@ma h] I'm not talking about invoke system commands, I'm talking about having a
| 80046 [mwilson13@co] I understand your point. However, if one wraps system command
| 80049 [dcorbin@ma h] There's little conceptual difference, but  vast difference in implementation
+ 80055 [ptkwt@ar cn ] Until we have Ruby on Parrot (Cardinal) I don't know that there will be
| 80065 [dcorbin@ma h] I'm sure that something like that is doable, but I was thinking that something
| 80066 [simon@si on ] Perl's Inline::Ruby may help you if you're happy to do things the
| 80067 [dcorbin@ma h] Cool, but it seems to me the real payback would be the reverse.
| + 80073 [mwilson13@co] You should forgive Mr. Cozens if he may view it differently.
| | + 80075 [simon@si on ] No, I think it'd be very cool to have Perl modules callable from Ruby;
| | + 80078 [dan@si he or] While that may be true, it isn't the case here. While Simon's done a
| |   80086 [mwilson13@co] And so I was wrong on both counts :-)
| + 80124 [tony-ruby@ka] It seems that it may not be too difficult to make the reverse happen.
+ 80069 [surrender_it] I can bet I read a message long time ago about PerlInside in
+ 80072 [gsinclair@so] I have nothing to add to the technical discussion underway, but
  80106 [dcorbin@ma h] others :)
  + 80107 [austin@ha os] I haven't "claimed" it, but it's somewhat on my to-do list after I do some
  + 80121 [d.borodaenko] I knew that before I openes this message...
threads.html
top