314687-349271 subjects 315093-315825

Top 10 Things To Look For In A Web Host
314883 [mzai.hosting] Top 10 Things To Look For In A Web Host

user group links on ruby-lang.org
314888 [cameron.mcbr] rubygarden.org: down due to spam?
314901 [james@gr yp ] I've removed the bad links.  We may want to consider adding some new

ANN: One-Click Ruby Installer 186-27 Release Candidate 1 Available
314906 [luislavena@g] This message is to announce the long waited update version of One-
+ 314911 [TimHunter@nc] Bravo, Luis! Thanks for all your time and effort.
| 314912 [waynefchin@g] Yes, I thank you as well.
+ 314922 [eric@se pe e] DQpTZW50IHdpcmVsZXNzbHkgdmlhIEJsYWNrQmVycnkgZnJvbSBULU1vYmlsZS4NCg0KLS0tLS1P
| 314929 [matiasbrutti] ...
+ 315356 [hramrach@ce ] Thanks for the new Ruby installer.
| 315452 [luislavena@g] Hmn, really odd.
+ 316258 [mo_mail@on h] Luis, thanks a lot!!

libsvm and Ruby
314914 [AEtzold@gm .] Dear all,

cgi/session , deleting old sessions.
314918 [robert.glees] I am wondering how I would go about deleting files created by

Specific gem situation
314920 [caduceass@gm] I'm missing something (wouldn't be the first time).

314924 [ron.green@gm] Does anyone have any idea when 1.9 will be ready for production
314926 [james@gr yp ] It is expected to release a few days before Christmas.
+ 315028 [ninja@sl ph ] Has anyone said which Christmas?
| 315071 [james@gr yp ] Yes.  Matz.  At the Lone Star Rubyconf.
+ 315029 [ninja@sl ph ] Did anyone say which Christmas?
  315056 [rick.denatal] ...
  315061 [gregory.t.br] Mostly unrelated, but it actually may be so.  Matz hates the idea of
  315073 [james@gr yp ] => false
  315090 [perrin@ap th] Well, thank goodness I'm not the only person who has noticed this.

[ANN] hitimes 0.2.0 Released
314925 [jeremy@hi eg] performance metrics.  It uses the appropriate C method calls for each

Q: IO.read() and IO.write()
314927 [kwatch@gm il] I have questions about IO and File class.
+ 314937 [shortcutter@] I don't know.
+ 314945 [41mortimer@g] Is there a reason you can't use File's concatenation (<<) operator?
+ 314948 [b.candler@po] File.write(filename, string)
| 314952 [kwatch@gm il] Thank you for everyone who replied me.
| 314981 [shortcutter@] You're welcome.
| 315078 [kwatch@gm il] Thank you, Robert.
+ 315111 [matz@ru y- a] No big reason.  Historically IO works on files, i.e.  IO.open(path),
  315158 [kwatch@gm il] Thank you, Matz.

Is net/imap completed?
314930 [magicloud.ma] I wanted to use ruby to receive my office mail. Well I could not.
315462 [drbrain@se m] Since you didn't give the full output of your program, I'm guessing

[ANN] amalgalite 0.4.0 Released
314931 [jeremy@hi eg] amalgalite version 0.4.0 has been released.

How to convert the charset of texts in a Execl which has multi-language text and charset?
314934 [rubymail@gm ] ...
314936 [AEtzold@gm .] Dear Nan,
314938 [rubymail@gm ] ...
314940 [AEtzold@gm .] Dear Nan,
314944 [rubymail@gm ] ...

Thread popen and broken pipe problem
314942 [larles.gw@gm] popen.
315006 [larles.gw@gm] Found it,

Difference between 2 dates
314946 [srinivasa_ra] duration_val= Time.now.strftime("%Y-%m-%d %H:%M:%S")-start_time_Val
314949 [shortcutter@] As the error indicates: you need to subtract Time values and not String values.

How to control thread number
314951 [chen_li3@ya ] I copy the  following script from Ruby programming language(bundling
+ 314970 [ara.t.howard] this is exactly what threadify does
+ 314976 [etaern@ya oo] are you calling join on the threads?
+ 314979 [erikveen@gm ] gegroet,

Need someone who can help
314953 [dot_baiki@ya] Please, can someone help me with this problem. I am really stuck. Can't
+ 314954 [nathan@na ha] Are you looking at the error?  It clearly tells you what the problem is.
+ 314955 [lloyd@2l ve ] Well, I can see two things at a glance.
+ 314956 [reid.thompso] class AreaOfCircle
  314959 [dot_baiki@ya] Hey! Amazing quick response! Outstanding. Sweet solutions! Will continue
  + 314960 [lloyd@2l ve ] I am glad that it helped, though it seems that you have more than you
  | 314969 [dot_baiki@ya] I totally agree. I just thought it's better to allocate this memory in
  | 314971 [lloyd@2l ve ] There should be no drawbacks.  In fact, the radius is not known until
  | 314977 [dot_baiki@ya] Great, I'll take this into account. Thanks a lot, and hope I can count
  + 314973 [41mortimer@g] Baiki,
    314980 [dot_baiki@ya] Uffff :-) Need more time to analyze your code. Need also to read next

[ANN] spawner 1.0.0
314958 [tim.pease@gm] spawner version 1.0.0

webrick proxy server and streaming.
314961 [cooldudevams] I ran webrick proxy server snippet found on webrick.org site. It was
314966 [cooldudevams] BTW you can use youtube for testing streaming behavior.

shell script
314963 [nairvan@gm i] I have a shell script which I use to call a ruby program. I pass
+ 314962 [cooldudevams] try this
| 314965 [cooldudevams] use
| 314968 [nairvan@gm i] Thanks samba.
+ 314978 [nobu@ru y- a] It's strange.

Does Ruby/GD2  work on ruby-mswin32?
314967 [yahatah@ag .] I am using Windows 2000, and ruby 1.8.4 (2005-12-24) [i386-mswin32] on RDE.

[ANN] Ruby-GetText-Package-1.93.0
314982 [mutoh@hi hw ] Ruby-GetText-Package-1.93.0 is now available.

how to stream or write data into a tar.gz file as if the data were  from files?
314984 [jtprince@gm ] I have a gazillion little files in memory (each is really just a chunk
+ 314986 [shortcutter@] So why then do you say "without ever first writing out files"?
| + 314988 [hassan.schro] <http://raa.ruby-lang.org/project/minitar/>
| + 314990 [jtprince@gm ] I'm just trying to show that if I can stream out a tar file, then I
+ 314987 [b.candler@po] Although it's not what you're asking for, as you mention "zipping" maybe
| 314992 [jtprince@gm ] This is *exactly* what I need to be able to do, except with .tar.gz
| + 315002 [b.candler@po] Do test it though. I tested it streaming large files in (100MB), and
| | 315017 [jtprince@gm ] Yes, upon testing I saw that it was creating a bunch of temp files,
| + 315018 [ara.t.howard] IO.popen 'tar cfz -', 'w+' do |pipe|
+ 317003 [raleighr3@gm] This maybe be a little late, but better late than never.

Getting Employer to Pay for RubyConf
314989 [cdj@go -i c.] ...
+ 314993 [robert.dober] Seems indeed a bad choice LOL.
| 314998 [cdj@go -i c.] This may be a little lengthy.
| + 314999 [cdj@go -i c.] Eek! I just discovered how fast the seats sell out! How much time do I =
| + 315003 [robert.dober] Well seems to me you have had much more success in lobbing for Ruby
|   315058 [cdj@go -i c.] Now I see the "Voices that Matter" conference, and wondering if it's a =
|   + 315059 [lloyd@2l ve ] I do not know how to ask for this but I have an idea of how you can
|   + 315062 [jeremymcanal] Why not suggest that conference OR Rubyconf?  The cost alone will
+ 315000 [bill.walton@] That's what all conferences are about.  Just ask.  Don't pre-judge your
| 315060 [gregory.t.br] To be honest, going to Ruby conferences is about 90% a chance for me
+ 315064 [rmagick@gm i] This is a business question pure-and-simple. You're asking your company
| 315085 [cdj@go -i c.] Thank you SO MUCH! This really helped put my letter in the correct mindset. Few things first: Paving Scheduler is an app I just finished to manage paving crews. I work for a heavy construction company; "heavy" means roads and groundwork.
+ 315065 [lyle@ly ej h] If you don't ask, they definitely won't pay for it, right? ;)
+ 315106 [charles.nutt] Next year, dead of Winter in Minnesota! It's the only logical next step!
  315109 [rich@in oe h] Heck, I keep hearing that ALASKA is such a great place!  Maybe

ruby / rexml / xpath bug?
314991 [altinsel@gm ] I'm doing something I would think is very straight-forward but am
314996 [shortcutter@] This seems weird: you search for potential multiple elements but use
315004 [altinsel@gm ] Thank you for your reply, Robert.  Here is the code with output and
315007 [altinsel@gm ] The funny result is the Ron Jon store in Orange, CA (second from
315013 [mark@th ma z] I'm surprised it works at all with the XPaths all being absolute like
315015 [altinsel@gm ] Mark,
+ 315033 [shortcutter@] I'd still rather combine the two into a single iteration.
+ 315079 [mark@th ma z] In XPath, the prefix '//' means start from the top of the tree, not

Spice up your mobile
314994 [hemant0070@g] ...

array question
314997 [chen_li3@ya ] 1)When substracting array2 from array1 to get the difference elements
+ 315001 [nathan@na ha] irb is great for this stuff.
| + 315005 [Rob@Ag le on] => [2, 3, 4, 7]
| + 315008 [vjoel@pa h. ] (a1|a2) - (a1&a2)
|   + 315010 [vjoel@pa h. ] bered that Array had a symmetric difference
|   + 315014 [s.korteling@] I figured this out by typo, allthough it is in the documentation.
|     315067 [amos.l.king@] Add the two arrays and call uniq on the new array
|     315068 [nathan@na ha] => [1, 2, 3, 4, 7]
|     315069 [amos.l.king@] We'll see.
|     315070 [amos.l.king@] Forgot to ask what he was looking for.
|     315072 [nathan@na ha] For example, array1=[1,2,3],array2=[1,4,7]
|     315077 [todb@pl nb s] Case 1 and 2, maybe the desired result?
|     315148 [amos.l.king@] That only works if they are touching and that can be accomplished with
+ 315011 [s.korteling@] It's probably academic, but what is the desired result with these 2

New to Ruby...help needed
315016 [phillip.r.pr] I am in the process of teaching myself Ruby and so far its great,
315020 [h.bekel@go g] Just do anything you need to initialize the object in the initialize

Help with Shoes
315019 [ruby.student] ...
315091 [why@ru y- an] For window titles, no.  For titles on the screen, use :align =>
315096 [ruby.student] ...
315099 [shevegen@li ] It's _why!

Three days with some of the coolest people in ruby and rails
315023 [hjk1127@ya o] ...

[BUG REPORT] for WIN32OLE: The returning of Reading the Asian Langugae Text in Excel is always '?????? '
315026 [rubymail@gm ] ...
315030 [phasis@gm il] That is not a bug.
315044 [rubymail@gm ] ...
315047 [haimin@li e.] ...
315051 [rubymail@gm ] ...

315031 [austen.hook@] ...

Redirector in ruby
315032 [rajat79@gm i] ...

Annoying problem: gems tries to build native extension
315035 [marcel.lueth] I have an annoying problem using gems.
315036 [d_rems@ya oo] I too have problem which is probably related. When installing

get a portion of a utf8 encoded string
315037 [      m@r. o] ruby 1.8.5 (2006-08-25) [i386-linux]
315039 [phasis@gm il] 'hllo'.split(//u)[0, 2].to_s  -> h
+ 315040 [sto.giocando] thanks. even if 'hllo'[0, 2] looks better, this works.
| 315041 [botp@de mo t] # thanks. even if 'hllo'[0, 2] looks better
| 315199 [gregory.t.br] It concerns me that people are suggesting using various backwards
| 315206 [botp@de mo t] # On Tue, Sep 16, 2008 at 4:50 AM, Pe=F1a, Botp=20
| 315303 [gregory.t.br] The change is absolutely good!  I did a training session at  Lone Star
+ 315112 [dan-ml@da 42] ...

Re: how to stream or write data into a tar.gz file as if the
315043 [b.candler@po] Uh??
315063 [ara.t.howard] sorry.  i misread the OPs question.  tar can only unpack to stdout,
315066 [b.candler@po] You got me interested now.

Re: Welcome to our (ruby-talk ML)         You are added automatically
315045 [haimin@li e.] ...
315046 [haimin@li e.] ...

Precedence of Private and Public methods
315049 [refugallo@gm] Does anyone know what's the precedence between private and public
315050 [jcoglan@go g] ...

Getting the text (source) of a code block
315053 [sentinel.200] I am writing a ruby DSL and generating code from it. The DSL spec
315054 [b.candler@po] class SrcProc

Optimization help - reading out of /proc on Solaris
315057 [djberg96@gm ] Ruby 1.8.6
+ 315074 [b.candler@po] Could you post your profiling? If you run using "time", how much user
| + 315351 [kbloom@gm il] Method calls are expensive. Right now he's got 3 per field (array
| + 315352 [kbloom@gm il] Here's a concept for metaprogramming that that I was able to generate
+ 315075 [shortcutter@] You can optimize the loop body.  Profiler output takes a while to get used to.

315080 [ashleywnj@gm] ...

Is 1.8.6 p287 the "finally fixed" version?
315081 [cohen.jeff@g] Over the last couple of months there seemed to be long-running threads
+ 315082 [gregory.t.br] Not official word by any means, but while I was having all sorts of
| 315087 [cohen.jeff@g] On Sep 16, 11:17=A0am, "Gregory Brown" <gregory.t.br...@gmail.com>
| + 315088 [gregory.t.br] If you will be there, you can ask him during Q&A, or you could repost
| | 315089 [cohen.jeff@g] I will be there - duh!  Good idea.  Thanks.
| + 315102 [matz@ru y- a] I am not the right person to ask about 1.8 stability.  We have 1.8
|   315189 [cohen.jeff@g] =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 matz.
+ 315133 [rsanheim@gm ] I would say the consensus is 'yes', p287 is stable.  Most of the

ANTLR Target for Ruby
315083 [arcadiorubio] I've asked the following question in the ANTLR mailing list, with no
315595 [no@sp m. le ] Have you tried just adding the required options section below your grammar
315598 [eric.mahurin] ...
315761 [no@sp m. le ] Unless you can analyse the heck out of the source grammar, as ANTLR does,
315776 [eric.mahurin] ...
+ 315777 [james@gr yp ] Hopefully it's fixed now, but last time I tried using ANTLR for Ruby
| 315794 [ryand-ruby@z] I doubt it is fixed... I tried to submit patches to get the ruby code
| 315796 [james@gr yp ] Yeah, I too felt like Ruby was a second class citizen.  I was trying
| 315809 [ryand-ruby@z] I doubt they even gave it that long... *rimshot*
+ 315814 [no@sp m. le ] I must admit I haven't looked closely at Grammar for a while, however...
  + 315835 [win@wi ce t.] Walrus object-oriented templating system (inspired by the Cheetah
  | + 315846 [eric.mahurin] ...
  | | + 315852 [dave@pr gp o] Have you tried the JSON parser one built in to 1.9? It's a native
  | | | 315855 [eric.mahurin] ...
  | | + 315889 [win@wi ce t.] Nope, sorry. Although my cursory knowledge of JSON syntax leads me to
  | + 316042 [no@sp m. le ] Nice!
  | + 316054 [eric.mahurin] ...
  |   316125 [win@wi ce t.] 1. Could develop incrementally seeing as I already had a working
  |   316158 [eric.mahurin] ...
  |   316177 [win@wi ce t.] an
  |   316224 [eric.mahurin] ...
  + 315845 [eric.mahurin] ...
    + 315854 [james@gr yp ] I tried using it and changed my mind.  :)
    | + 315857 [eric.mahurin] ...
    | + 315895 [ryand-ruby@z] that's an awesome example of contrast.
    | + 316049 [no@sp m. le ] A trick I've been wanting to use in a DSL would make your Ghostwheel
    + 315890 [win@wi ce t.] for
    | 315898 [eric.mahurin] ...
    + 316038 [no@sp m. le ] As James has said, I don't believe the latter is necessarily true.

check available disk space
315084 [jhavero@gm i] Does anyone know how I can write a Ruby script that can check for
+ 315086 [todb@pl nb s] When dealing with file systems, I usually find myself switching on a
+ 315094 [djberg96@gm ] gem install sys-filesystem
| 315100 [shevegen@li ] Woot, i didn't know about 'dir /-C'
+ 412134 [lists@ru y- ] Posted via http://www.ruby-forum.com/.

Re: Passing a method call into a method
315092 [glenn_ritz@y] ...