144565-144960 subjects 144973-148596

News Release of Texindex.com
144765 [lovefumiao@y] in China took on a new look. It was changed a lot and achieves perfect

HTTP proxy problem
144766 [sujeetkr@gm ] My  demo ruby applet is not able to reach internet.I am a student
144770 [bob.news@gm ] Since when are there Ruby applets?
144773 [ruby-ml@ma i] Perhaps he is not using the _ruby_ proxy?

Ruby Weekly News 30th May - 5th June 2005
144767 [timsuth@ih g] Ruby Weekly News 30th May - 5th June 2005
144768 [martindemell] You missed the best bit!

[ANN] Ruby Month 0.1.0
144775 [sera@fh an .] From out of murky depths of the Lafcadio codebase, I bring you a tiny
144784 [johnwilger@g] Awesome! I'm sure I will. Thanks.

DBI Oracle error
144777 [gandalfmeist] I've written a small upload utility to take a 10k+ line log file and
144779 [Daniel.Berge] My (possibly wrong) initial guess would be a precision error of some
144813 [fghfghfh@ho ] Nope - not explicitly. The column is just defined as NUMBER. If this was
144818 [Daniel.Berge] I'm not sure what to tell you Graham.  One thing I would try is
+ 144820 [warrenbrown@] Graham,
| 144863 [gandalfmeist] Warren/Daniel
+ 145052 [gandalfmeist] My first attempt at debugging adopts your idea, so for the
  145064 [Daniel.Berge] There are three Oracle drivers: oracle, OCI8 and Ruby9i.  I use OCI8
  145119 [gandalfmeist] Will do - thanks. I didn't realise I had installed such an old driver.
  145334 [gandalfmeist] If anyone else is interested, replacing the Oracle driver with the OCI8
  145363 [Daniel.Berge] Good to know.  Of the three Oracle drivers, OCI8 is the only one being
  145423 [hal9000@hy e] I've been wondering if that's a dead project. I did email him

Rubyscript2exe error
144778 [gandalfmeist] Tracing effluent ...
144815 [google@er kv] $ ruby troep.rb
144825 [graham@in a.] As I newbie - highly doubful.. but what if we removed the line
144864 [gandalfmeist] ... having just tried it, I can say YES it works. I moved the exit if

DRb Method_mising respond_to?
144782 [curtis.schof] DRb to work with
144807 [drbrain@se m] Let ruby do more work for you.
+ 144841 [curtis.schof] I was using Delegator previously but it had a bunch of wierdness and
| 144844 [curtis.schof] Hmm  for some reason the respond_to affects how the method_missing
| 145101 [curtis.schof] Argh.. Delegator doesn't help either...
+ 144842 [curtis.schof] I was using Delegator previously but it had a bunch of wierdness and

Patch and scripts for offline rubygems usage
144785 [dglasser@gm ] [ I hope this doesn't get posted twice -- I tried to post it by

rubytk dialog
144789 [deckard73@fr] A newbie question. In my application there is a listbox. The entries of
144793 [nagai@ai ky ] Could you show me your code of ValueDialog class?
144800 [deckard73@fr] There is a some unneccessary code in it especcially the pack options are
144849 [nagai@ai ky ] Hmmm.....
144880 [deckard73@fr] I like especially this line

Gambit Codefest Postmortem
144797 [james@gr yp ] We've just completed nine solid days of development on Gambit.  Now
144811 [greg7224@gm ] I'll probably start putting together some news and information on

[ANN] Tiddy 0.0.3-pre3 is released
144804 [bsd.SANSPAM@] Tiddy - Textual Information and Data processor for Display, Yeah! is a

Ruby version ot TEA (Tiny Encryption Alogrithm)?
144816 [james_b@ne r] Does anyone know of a pure-Ruby lib that implements the Tiny Encryption
+ 144817 [Daniel.Berge] Not that I'm aware of.
| 144828 [james_b@ne r] Oh.  Perl.
+ 144861 [jeremy@hi eg] I couldn't find one, and I happened to be a bit bored this evening... so
| 144874 [james_b@ne r] This just might do it.  Thanks.
| + 144938 [jeremy@hi eg] Ah yes, see I didn't even realize all the different variants.  I just
| + 158741 [w3gat@nw ag ] I needed a simple encryption system for a project of mine.
+ 144877 [max@os -i st] AFAIK Ruby only supports arithmetic, not logical right shift. But
  144884 [james_b@ne r] Ah.  Yes.

Rescue just won't work for me on SuSE
144835 [xeno@es im .] rescue SystemCallError
144838 [nospam@lu ac] You must have a context has the warning message tells you. So you must
144839 [xeno@es im .] TargetsCategoriesFH.each_line do |line|
144845 [xeno@es im .] Okay.  I got it.  The raise was repeating the error.

I cannot get rescue to work
144837 [xeno@es im .] The example on page 108 of pickaxe gives me the following syntax error, for
144846 [assaph@gm il] Can you post the whole file, or at least the context in which this
+ 144847 [gfb@to es ft] Check your typing, you may have missed ), or end, or begin. Paste the
+ 144848 [xeno@es im .] Sorry, I tried to say before, I figured it out.  It turns out you have
  144851 [gfb@to es ft] If you want to know where the exception was originated from, you can
  144854 [xeno@es im .] Thank you.  I will try using that in my next draft.  I'm trying to

Accessing SVN through Ruby/DL
144850 [morris@wo fm] I was following the old thread regarding accessing SVN through Ruby,
144959 [ttate@tt ky ] Thank you for  your effort,

Test-Driven Development in GUIs
144853 [joevandyk@gm] Anyone have any tips for writing GUIs in Ruby (using Tk, for example)
+ 144875 [twifkak@co c] TDDing UI is hard, because it's a side-effect, rather than a return
+ 144902 [joevandyk@gm] Here's a very simple example of a quick UI app that's unit tested.
  144917 [joevandyk@gm] Here's another iteration, this time the result is being displayed to a
  144918 [joevandyk@gm] Tk question: How can I tell, via code, if a button is actually being
  + 144926 [twifkak@co c] Look at my original response to you. Your unit tests don't need to test
  + 144930 [nagai@ai ky ] Does TkWinfo.mapped?(win) or TkWindow#winfo_mapped? satisfy you?

[ANN] FireRuby 0.3.1
144865 [peter@nj ni ] I've just released the gem files for version 0.3.1 of the FireRuby

[PROPOSAL] ruby-wish@ruby-lang.org mailing list
144867 [dave.m@em il] what about a dedicatied mailing list for feedback?
+ 144869 [halostatue@g] Why?
| 144870 [bob.news@gm ] You're opposing YAML?  Ts ts ts...
| 144871 [dave.m@em il] ...
| 144881 [halostatue@g] Bad idea. There are too many bad RCRs out there anyway. Matz
| 144883 [gavin@re in ] ...
| 144899 [dave.m@em il] yes!
| 144901 [halostatue@g] no!
| 144903 [dave.m@em il] it's an improvement.
| 144904 [thomas@ed li] This list is busy enough, without the hollow tirade you seem hell-bent
| 144907 [dave.m@em il] now. but with a dedicated list a novice would be happier
| 144914 [halostatue@g] Bunkus. With a dedicated list, novice users will continuously add bad
| 144946 [dave.m@em il] I'm going to guess that you feel NOT a novice user ;)
| 145033 [halostatue@g] The best way to do that is to read, learn, discuss and participate.
+ 144911 [dave@bu t. d] There is ruby-suby or suby-ruby or something, which is something like this,
  144912 [lyle.johnson] With all due respect to the people who do participate in those kinds
  144933 [mvondung@gm ] And there are those of us who prefer comp.lang.ruby over mailing lists, and
  + 144947 [cyclists@nc ] +1
  + 144948 [dave.m@em il] the e-mail is a killer app.

144868 [jspies@su .a] How do I access the individual parts of a multipart message using
144896 [dan@ep rk ab] Johann,

adding methods to classes via C
144872 [Geert.Fannes] ...
144940 [gcottenc@gm ] VALUE klass = rb_const_get(rb_cObject, rb_intern("B"));

Memory leak?
144876 [nsmith5@ni t] I get very different results in my program when I add a simple print
144878 [bob.news@gm ] What kind of results?  Memory usage?  Was this the first output statement
+ 144885 [nsmith5@ni t] I have many print statements, although I'll cut them out to see if
| + 144888 [bob.news@gm ] Wait, you say the type of objects changes and call that a memory leak?
| + 144889 [ruby-ml@ma i] It really does not seem like a memory leak (although I suppose it
+ 144886 [nsmith5@ni t] I'm also going to try out 1.8.3 to see if that resolves anything

[ANN] StringMatrix
144879 [gavin@re in ] (This isn't a library I plan on maintaining, but ANN felt like the
+ 144882 [gavin@re in ] ...
+ 144887 [jim@fr ez .o] Ahh, a symbolic math library. Gavin, you're a young Wolfram at heart. ;)
+ 144891 [Ara.T.Howard] on a related note
  144924 [gavin@re in ] Do you (or anyone else) use this library? I _barely_ understand how
  144963 [guslist@fr e] As an example, the set of integers Z (positive and negative) is a Ring.

[ANN] RubyStuff: The Ruby Shop for Ruby Programmers
144890 [james_b@ne r] Announcing the formal grand opening of Ruby Stuff: The Ruby Shop for
+ 144893 [tibbettj@ve ] Gawd, that's one of the funniest things I've seen all week. I need one.
| 144895 [james_b@ne r] Dang. Ned a neew spel cheker.
+ 144897 [hramrach@ce ] If I was cosidering to buy one I would appreciate a wider choice of
| 144909 [hal9000@hy e] There's also the one I created (but haven't maintained much
| + 144910 [Ara.T.Howard] ...
| + 145084 [djberge@qw s] Hal,
|   + 145088 [destiney@gm ] I dunno.  "Ruby programmers do it with models.." sounds better to me.
|   | 145096 [wannes@oe ni] maybe, but i was more thinking of something like
|   | 145109 [vjoel@pa h. ] Oh, my, where will it all end?
|   + 145111 [hal9000@hy e] Ha... or maybe "Ruby: Get Treated Like An Object"
+ 144900 [ruby.brian@g] A german "R?be" wich is pronounced quite similar to "R?by" is  turnip.
+ 144908 [robin-lists-] Cool stuff!
| 144920 [james_b@ne r] Only if the designer of the image says it's OK.
| 144927 [james@gr yp ] Are you open to future images from those of us who enjoy tinkering?
| 144937 [james_b@ne r] Oh, absolutely.
+ 145539 [neoneye@gm i] My sister gave me this shirt for xmas.. maybe she can make some more?
  + 145541 [james_b@ne r] Oh, nice!
  + 145583 [lists@ha ff ] Please let us know if she can/will make more... I'd absolutely like one,=20
    145587 [neoneye@gm i] Ok, I have send a mail to my sister, asking if she is interested in making

144894 [Ara.T.Howard] seems to have vanished off of the RAA - anyone know where it went?

[ANN] Tiddy 0.0.4 is released
144913 [bsd.SANSPAM@] Tiddy, though still at a beta stage, is now is mature enough to handle

Re: RubyStuff: The Ruby Shop for Ruby Programmers
144915 [djberg96@ho ] Hal,
144916 [ruby-ml@ma i] template<typename duck>
144921 [james_b@ne r] James
144922 [steven.jenki] Ruby. Yield.
144941 [vfoley@gm il] Hey James,
+ 144951 [george.mosch] +1
+ 144958 [james_b@ne r] Actual transactions are done by CafePress, who accept  Visa, MasterCard,
| + 144962 [vfoley@gm il] When I registered to cafepress, I was given a country choice.  And now,
| | 144975 [Daniel.Berge] Those aren't as cool as my "Coed Naked Ruby Programming" t-shirt, but I
| + 145022 [jeffm@gh st ] The currency exchange is usually handled by the credit card company.
+ 145007 [tobias.luetk] I already got my mug and t-shirt here in ottawa. I had to pay some

Re: A little Quiz (Solution)
144919 [dbatml@gm .d] Obviously no one really likes to decipher undocumented code... (I should
+ 144950 [dave@bu t. d] That is awesome.
+ 144995 [ruby.brian@g] I like that second version better, because its clearer. It makes clear

Newb math question
144923 [brian@le ro ] puts (9.0-8.9).to_s
+ 144925 [ruby-ml@ma i] Floating point math :/ You can use BigDecimal to avoid most problems.
| 144929 [billk@ct .c ] If you'd like more info about the problem, the first
+ 144931 [brian@le ro ] Thanks, I'll give it a read.  Thanks to Bill too.  I have to say this is
| 144949 [Nuralanur@ao] ...
+ 144976 [lukfugl@gm i] Along with all the other good responses, I thought I'd just take the

Rubyscript2exe error
144928 [david.mitche] When I try to convert my project with rubyscript2exe I get the following
144942 [google@er kv] Your version of rubyscript2exe.rb is probably corrupt. The

ruby2c 1.0.0 beta 3 released
144932 [ryand-ruby@z] ruby2c 1.0.0 beta 3 has been released!
144934 [Ara.T.Howard] seriously cool stuff ryan - keep up the good work!

Re: Mail-question
144945 [jspies@su .a] Thanks Dan!

Order of operations
144952 [jack@jn so t] Just got bit by a little order of operations confusion.
+ 144953 [twifkak@co c] I doubt this is the answer you're looking for, but if you use || instead
+ 144968 [chneukirchen] Not that I know of, but note that "||" is like "or" with different

Precedence (was: Order of operations)
144954 [bob.news@gm ] => 1

[SUMMARY] Whiteout (#34)
144956 [james@gr yp ] Does this library have any practical value?  Probably not.  It's been suggested
+ 144961 [florgro@gm i] But note that if you do #!/usr/local/bin/ruby -w -r fix_my_broken_syntax
+ 144964 [Ara.T.Howard] src = open($0).read
| 145025 [logancapaldo] I have some suggestions for alternate methods. I haven't actually
+ 144994 [ruby.brian@g] Using a base eight encoding plus zipping you can even reach a
+ 145041 [usenet@is ik] What about using __END__ for this?

Timeout when calling a web service
144965 [weiss.matt@g] Hey all,
148340 [nakahiro@sa ] Sorry for late reply.  I've not read ruby-talk these days.

python/ruby benchmark.
144966 [groleo@gm il] I took a look at
+ 144967 [surrender_it] a simple thing: do the most normal thing instead of writing code in ruby
| + 144970 [mrcode@ne ro] I heartily agree with this, and it doesn't just apply to Ruby and Python,
| + 144974 [mailinglists] Sorry you don't understand this benchmark. It is there to do this
|   + 144977 [ksruby@gm il] Java is an order of magnitude faster than Ruby. The development of a
|   | + 144979 [prakash.diby] I definitely agree.Only feature of a particular programming language
|   | + 144980 [mailinglists] If i can't use the language because it is to slow to solve the problem
|   |   144983 [mrcode@ne ro] I would like to hear some more specifics on these problem domains. I'm not
|   |   + 144993 [gavri.fernan] So you're saying that when the performance requirements crosses a
|   |   | 144996 [mrcode@ne ro] Of course, and I'm all for that. I want Ruby to be as fast as possible. In
|   |   | + 144997 [Ara.T.Howard] check out some of the things people are doing
|   |   | | 144998 [nohmad@gm il] Using 'set' is somewhat faster than Hash in 1.9.
|   |   | | + 145004 [Ara.T.Howard] hmmm.  since set uses hash yet has at least another level of method calls
|   |   | | | 145016 [nohmad@gm il] Oops, I posted absolute stupidity without any context information.
|   |   | | + 145083 [igouy@ya oo ] -snip-
|   |   | |   145108 [nohmad@gm il] I've registered, but cannot get proper comfirmation mail yet.
|   |   | |   145113 [igouy@ya oo ] If you're talking about this page
|   |   | + 145001 [ptkwt@ar cn ] Intel. ;-)
|   |   | | 145014 [matt@te hn r] Don't forget the SOAR (Smalltalk On A RISC) project.  There was even a
|   |   | | 145023 [ptkwt@ar cn ] You can get the Xilinx Spartan 3 starter kit for $99. Includes a board
|   |   | + 145002 [mailinglists] Don't forget
|   |   |   + 145005 [james@gr yp ] From a person that maintains a Ruby IDE, you're comments always
|   |   |   | 145009 [steven.jenki] format from a system engineering modeling tool. The grammar is
|   |   |   | 145018 [halostatue@g] Similarly, my ~75 page manual for PDF::Writer is generated from a
|   |   |   + 145428 [DavidLZhao@g] I would agree it would be cool if Ruby was faster, but for most web
|   |   + 145006 [dion@al ae .] Actually, at a macro level there is no reason that Ruby or Python or Java
|   + 145020 [surrender_it] I understand the benchmark.
|     145029 [jim@fr ez .o] Don't go away thinking that X is faster than Ruby. Do
|     145034 [ptkwt@ar cn ] Are you saying that the Ruby netlist parser was 100% faster than the C
|     145076 [jim@fr ez .o] The C implementation was Ruby C (my bad). So, the Ruby C
+ 144969 [glenn.parker] Avoid creating new objects, e.g. re-use strings and arrays, or modify
+ 144972 [vfoley@gm il] As Gabriele mentionned, they implement a lot of stuff that is done in C
| 145089 [igouy@ya oo ] Specifically?
| 145097 [halostatue@g] When the algorithm, as entered, won't complete, yes. When compared
| + 145103 [igouy@ya oo ] Ruby completes ackermann for N=7
| | 145107 [halostatue@g] I'm sorry you do. However, yours should be one of the ones that should
| + 145105 [treycampbell] The most succinct way that I've heard it put is that there are "lies,
|   145110 [igouy@ya oo ] There isn't with benchmarks per-se; there can be a problem with how one
|   145112 [halostatue@g] No, it's the benchmarks themselves that are the problem. Remember
|   145115 [igouy@ya oo ] As I said - There isn't a problem with benchmarks per-se; there can be
|   145133 [glenn.parker] That's a meaningless distinction.  You are suggesting that people who
|   145147 [igouy@ya oo ] My mistake, I didn't realize Ruby was fixed to Rails, somewhere I got
+ 145156 [the_mindstor] I've run through this thread and i am finally writting this because i am in a way astonished.
  145157 [halostatue@g] Which is one of the many reasons that I have a problem with the
  145168 [igouy@ya oo ] Saying "Compiled languages will be faster than..." treats them all