107668-112568 subjects 108055-108481

subject="apply multiple regex to each line"
107878 [r_mueller@im] perl -pi -e '<regex>' file
+ 107881 [bob.news@gm ] "Ralf M?ller" <r_mueller@imp-ag.de> schrieb im Newsbeitrag
+ 107886 [martindemell] ruby -ne 'print unless /^\s*$/' file

Time checking, efficient?
107880 [beast@li ux ] module Strict
107882 [bob.news@gm ] "Phano" <beast@linuxmail.org> schrieb im Newsbeitrag

SSL Communication
107894 [bigbrother@1] I have server client application which communicate throught TCP socket.
+ 107993 [drbrain@se m] Look at drb/ssl.rb in the standard library.
+ 107995 [gotoyuzo@no ] sample/openssl/echo_cli.rb and echo_svr.rb are in the source

Forward references?
107906 [ljz@as as .c] Is there a way to define forward references to functions?  Due to my own
+ 107908 [msparshatt@y] Since Ruby doesn't check whether the functions exist until the code that
+ 107909 [mneumann@nt ] END {
| 107913 [ljz@as as .c] Aha!  And this got me to think of a similar way to do it that is even
+ 107931 [bob.news@gm ] "Lloyd Zusman" <ljz@asfast.com> schrieb im Newsbeitrag
| 107934 [ljz@as as .c] Thank you very much, but this doesn't appear to work.  Here's what I
| 107971 [bob.news@gm ] "Lloyd Zusman" <ljz@asfast.com> schrieb im Newsbeitrag
+ 107939 [tunah.usenet] In ruby, function definitions are code that gets executed, rather than
| 107950 [ljz@as as .c] Thank you very much, and thanks to all the rest of you for your helpful
| 107972 [bob.news@gm ] "Lloyd Zusman" <ljz@asfast.com> schrieb im Newsbeitrag
| 107973 [ljz@as as .c] I just want to have my program's main body at the top of the program
| 107974 [bob.news@gm ] "Lloyd Zusman" <ljz@asfast.com> schrieb im Newsbeitrag
| 107978 [ljz@as as .c] ...
| 107998 [bob.news@gm ] "Lloyd Zusman" <ljz@asfast.com> schrieb im Newsbeitrag
| 108002 [ljz@as as .c] Well, actually, what's important (or at least desirable) to me is not
| 108033 [bob.news@gm ] "Lloyd Zusman" <ljz@asfast.com> schrieb im Newsbeitrag
| 108037 [ljz@as as .c] Sync_m has been around ever since 1.6.x, and it's excplicitly mentioned
| 108054 [bob.news@gm ] "Lloyd Zusman" <ljz@asfast.com> schrieb im Newsbeitrag
| 108069 [ljz@as as .c] Yes, sync.rb (containing Sync_m and Synchronizer_m) is not mentioned or
| + 108072 [bob.news@gm ] "Lloyd Zusman" <ljz@asfast.com> schrieb im Newsbeitrag
| | 108073 [ljz@as as .c] Here it is.  Let me know what you think.  And thank you for the useful
| | 108076 [ljz@as as .c] OOPS!  I apologize to the list for the bandwidth.  I forgot to remove
| + 108148 [cjh-nospam@n] Except of course that you are in fact doing the exact opposite
|   108165 [ljz@as as .c] Yes, I guess I have.  But then again, each of these mixins (Mutex_m,
+ 107982 [discord@ma .] def chunk(&block) ($CHUNKS||=[]) << block end
  108038 [ljz@as as .c] This is probably a bit hard to maintain due to its not-so-obvious

[ANN] AllInOneRuby
107916 [pan@er kv en] I'm pleased to announce the birth of AllInOneRuby.
107929 [mailinglists] What's the difference to "rubyscript" or "exerb" ?
107932 [pan@er kv en] RubyScript2Exe includes an application (your script) and only
+ 107936 [jamesUNDERBA] So, if I install AIOR, I can then associate Ruby programs with AIOR, and
| 107943 [pan@er kv en] I did...
| 107947 [jamesUNDERBA] I'm having a hard time, then picturing a concrete use for this.
| 107948 [pan@er kv en] Hmmm... I made it because I had concrete use for it. Not the
| + 107951 [jamesUNDERBA] Lots of stuff happens that way.
| | 107954 [pan@er kv en] 879 files take a lot more space than just one file. Especially
| + 107955 [mailinglists] Simpler ? I don't think so. Not for the creation side because you
|   107959 [jamesUNDERBA] I can see certain advantages to the AIOR approach.  One is
|   107964 [xrfang@ho ma] Just by browsing the AIOR home page... I think it is NOT simpler OR more
|   107969 [pan@er kv en] I made both RubyScript2Exe and AllInOneRuby, because they are
+ 107941 [mailinglists] How long is the startup time for a simple FOX application or a hello
  107944 [pan@er kv en] At the office (XP, 512MB, >2000MHz), the overhead is a little

gems and /usr/local
107918 [hans@fu al n] I don't pretend to be an expert on the "way things should be", so I
107921 [jim@we ri hh] You can control where the gems are installed with the GEM_HOME and

Managing different versions of libraries/modules
107926 [nospam@as lk] Does Ruby suffer from the same problems as "dll hell"?
107928 [halostatue@g] Ruby does not yet have a built-in solution for library versioning

[ANN] Ruby Installer for Windows 1.8.2-14 **RC7**
107933 [curt@hi bs c] Ok, ok... I know I said no more releases until
+ 107938 [jamesUNDERBA] The shortcut  to the stdlib should be fine; the shortcut to core libs is
| 107940 [curt@hi bs c] I'm in a rush at the moment, but I wanted say, just let me know what URL you
| 107966 [jamesUNDERBA] I've replaced the 1.9 rdocs with 1.8.2 RC rdocs.
+ 108297 [nobu.nokada@] [ruby-talk:105550] and [ruby-talk:106176]?
  108303 [curt@hi bs c] I wanted to make these changes, but when I started to make the changes, it
  108362 [nobu.nokada@] Unfortunately, I've not received it.
  108405 [curt@hi bs c] Thanks for the detailed instructions. I will make these changes as soon as I

Upcoming release of Ruwiki needs some testers...
107935 [halostatue@g] Alan and I have done a number of extensive changes on Ruwiki. I am
107999 [mneumann@nt ] If you click on preview, you loose anything typed in the "Edit Comment"
108302 [halostatue@g] Hmm. I think we can manage that. I have some changes that I'm

better way to do this?
107949 [Joseph.V.Lau] my_array = [["Jane", "Smith"], ["Bob", "Jones", 1960]]
107952 [dblack@wo bl] (I think you mean 'attribute' there.)
107956 [Joseph.V.Lau] Doh, I did.

``touch''ing a file in Ruby
107960 [Richard.A.Ry] How do you change the mtime (and ctime and atime, if possible) of
+ 107961 [zdodson@zd d] See File.utime.
+ 107962 [dooby@d1 .k ] File.utime(atime, mtime, file_name,...)   =>  integer

Array#random ?
107963 [ng@jo nw on ] I've often thought it would be nice to have a "random" method for Array.

Basic question on Date class
107967 [robo@ma s. o] From the stdlib docs, I see the Date class has constants like
107968 [dooby@d1 .k ] require 'date'

Thread Questions
107975 [newsgroup.20] I would like to write a little TCPServer which communicates with
107976 [bob.news@gm ] "Max Kuffs" <newsgroup.20.max_kuffs@spamgourmet.com> schrieb im Newsbeitrag
107977 [newsgroup.20] thank you very much!

Controlling agent societies with Ruby
107979 [jamesUNDERBA] Jon Udell has an interview (quicktime movie) with Rich Kilmer and Dana

[RCR] natcmp.rb added to string class
107983 [patrick@he a] I think it would be nice if String always had this method.  I hope
+ 107996 [mneumann@nt ] Hm, I think it's good to have this as an external library. This could
| 108030 [patrick@he a] The only reason I think that this would be better as a standard
+ 108804 [NOSPAM_cs96a] completely forgotten about it.

Free(real Free) GUI toolkits
107984 [drossruby@ya] Has anyone tried using the WideStudio libraries with
+ 107985 [hal9000@hy e] I haven't tried this (or even heard of it before), but it does sound
| 107986 [drossruby@ya] It was a project started in 2000. It died in 2002, the
| 107989 [mailinglists] But what is so wrong with the LGPL in an object oriented GUI toolkit
| 107990 [drossruby@ya] LGPL has strings, if you don't believe me, reread the
| 107991 [drossruby@ya] Oh a correction, by binary, I meant statically linked
| 107994 [drossruby@ya] Hmm.. does anyone have a MacOSX computer they can try
| + 107997 [eyez@il uz o] Seems like it works pretty well. As a warning, it runs under apple's
| | + 108001 [drossruby@ya] Yes, I seen that it needed X11 from the build files.
| | + 108634 [reinder@ve l] "it works pretty well", combined with "it runs under apple's X11" really
| |   + 108637 [eyez@il uz o] You're probably right; but then again, there aren't ANY toolkits that do
| |   | + 108638 [mailinglists] The problem is different, it's not only an API question.
| |   | | + 108642 [eyez@il uz o] I'm quite familiar with apple's HIG and the differences between it and
| |   | | | + 108644 [drossruby@ya] It is not impossible. It just takes a good
| |   | | | + 108646 [mailinglists] Right it would be possible to support this at least on a specialiased
| |   | | + 108650 [jan.sabbe@st] FireFox and Thunderbird are pretty damn good. There are differences
| |   | |   + 108654 [mailinglists] Yes they are pretty good. But this is exactly what i said. For example
| |   | |   + 108656 [discord@ma .] I think I speak for more users than myself when I say that FireFox and
| |   | |     108679 [eyez@il uz o] Honestly, if you ask me, the biggest problem with firefox/thunderbird is
| |   | + 108645 [drossruby@ya] Yes, Thank you to Lypanov.
| |   | | 108649 [mailinglists] You know that Qt is also available with a commerical license.
| |   | | 108652 [drossruby@ya] Yes Lothar, I am *very* aware. Have been for years.
| |   | | 108655 [flgr@cc n. e] Which means that you're changing your opinion as fitting? You're
| |   | + 108754 [mghallNO@SP ] Tcl/Tk Aqua for OS X?
| |   |   108755 [eyez@il uz o] Okay, that one is native, but from what I've used of it (Given, this was
| |   + 108643 [drossruby@ya] Yes, I was told by ThreeeDayMonk. He said it was as
| |   + 108678 [eyez@il uz o] A lot of mac users feel this way, myself included. Most of them,
| + 108000 [mailinglists] Okay i downloaded the 100 MB Win Installer and played a bit with
|   + 108008 [drossruby@ya] "Truth is important, knock down the trolls on thier
|   | + 108009 [mneumann@nt ] Looks really nice to me. Could you post somewhere the code? Only code
|   | + 108012 [phubuh@ph bu] For what it's worth, I appreciated his review.  I don't think I'm ever
|   | + 108015 [mailinglists] Maybe it has what you need to build some sample applications,
|   | + 108017 [eyez@il uz o] Please don't do this. Just because a project is open-source does not
|   | | 108019 [drossruby@ya] lothar_troll was complaining, not me. I always fix
|   | | + 108021 [eyez@il uz o] This was my point. Lothar has no obligation to fix bugs in this software
|   | | | 108047 [jamesUNDERBA] While I sort of tend to CTBW (code talks, bullshit walks), I agree.
|   | | + 108449 [dejaspam@ba ] I think you've got a poor understanding of the (L)GPL, buddy.  You can
|   | |   108456 [drossruby@ya] Umm, no. Also, read the other email I just sent to the
|   | |   108457 [eyez@il uz o] No. (L)GPL requires that you provide any modified source to whoever you
|   | |   + 108460 [drossruby@ya] mm yes, I should have picked my words better, thanks
|   | |   | 108509 [dejaspam@ba ] It has nothing to do with picking your words wrong.  You were wrong.  Admit it.
|   | |   + 108472 [halostatue@g] Mmm. You're both wrong, in that Rando's statement is incomplete. The
|   | |     + 108475 [drossruby@ya] I rehashed in other email :) --David Ross
|   | |     + 108479 [pbrannan@at ] From what I understand, the purpose of that requirement isn't there so
|   | + 108018 [mailinglists] You can see me as confused as you are.
|   | | 108020 [drossruby@ya] Maybe I should have specified any input except
|   | | 108022 [mailinglists] Okay i looked at the t-engine.org website and read
|   | | 108023 [drossruby@ya] I personally think they were redesigning the GUI
|   | + 108657 [flgr@cc n. e] You've done personal flames like this before and in the
|   |   108660 [drossruby@ya] you are fighting
|   |   + 108665 [martindemell] business tatics to deal out low blows. He has no valid
|   |   + 108690 [mailinglists] Bullshit. You should learn to read and write more carefull.
|   |     + 108752 [drossruby@ya] I was requesting useful comments, not troll comments.
|   |     | 108816 [carl.youngbl] It's amazing to see how much one bad apple can spoil the barrel.
|   |     | 108818 [drossruby@ya] Wow, you are right. I can learn how to troll and tell
|   |     | + 108819 [hal9000@hy e] It will probably do no good to say this, but I have been
|   |     | | + 108824 [drossruby@ya] I'm sorry, I don't like being told software that is
|   |     | | + 108870 [nick@ac iv h] That's good to hear. I've only been on the mailing list for 90 days, so
|   |     | + 108823 [sean@ce so t] I think the problem is you're reading too much into Lothar's words.
|   |     | | 108825 [drossruby@ya] I am aware of language descepencies, but I don't think
|   |     | | + 108835 [robertm@sp l] Spellman High Voltage Electronics, Ltd.
|   |     | | + 108840 [sean@ce so t] That phrase is hardly something to get worked up over.  You're being
|   |     | | + 108846 [mailinglists] "I am glad this toolkit is dead".
|   |     | + 108869 [nick@ac iv h] The supreme irony of a troll trolling about trolling. Or is that a troll
|   |     + 108757 [nick@ac iv h] Well put.
|   |       108758 [eyez@il uz o] Yeah, I haven't really seen Lothar post anything that I would consider
|   + 108043 [nospam@as lk] Lothar,
|   | 108044 [gsinclair@so] It's not a competing product though.  An IDE (a GUI program) is a very
|   + 108279 [sander@kn lo] Not impressed either.... BUT since I had nothing to do, I added to my GUI
|   | 108282 [drossruby@ya] That is a really nice comparison chart. One question
|   | 108284 [sander@kn lo] There are certainly more widgets than whats there (even within FOX itself).
|   + 108304 [jim@fr ez .o] Wow. I am suprised to hear that. I always thought of FLTK as
|     108325 [mailinglists] "Fast and lean toolkit" and "nice and beautiful" are different things.
+ 107987 [drossruby@ya] One thing I forgot to mention. It supports..
+ 108003 [jamesUNDERBA] I thought I'd give it a try on Win2K.
  108010 [drossruby@ya] mmmm. I have seen it somewhere. Oh right... its in the

[ANN] ncurses-ruby-0.9.1
107988 [tpeters@in a] A pure bugfix release of ncurses-ruby is available from

Normalizing XML tag values
108024 [alex@ve k. n] I am looking for some piece of Ruby code that normalizes XML attribute
108025 [sstephenson@] I'm not sure what &@60; is. Is this what you mean?
108026 [alex@ve k. n] Yes, that's it. Thanks!

CGI programming
108027 [catcher@li u] What do you use when programming Ruby/CGI? Do you just use straight Ruby or
+ 108028 [mailinglists] Amrita and eRuby.
+ 108029 [usenet@an re] You should take look at Rails (http://www.rubyonrails.org/).
+ 108032 [dblack@wo bl] I've made a lot of use of the Template module from RubLog.
| + 108314 [halostatue@g] Speaking of that, the current CVS HEAD of Ruwiki has a heavily
| + 108323 [chadfowler@g] You can actually even just use rdoc, as included in ruby 1.8.1+.  A
|   108357 [nick@ac iv h] A brief example using RDoc is on Dave Thomas's blog-
+ 108034 [bob.news@gm ] There's a class CGI.  And there's a lot of templating systems, eruby, amrita
| 108591 [khaines@en g] I personally use Iowa.  Iowa is an object based web application & dynamic
+ 108035 [austin.moody] I've had some good luck using PageTemplate =>
+ 108036 [sstephenson@] Here is a tiny template ``engine'' I use that creates a Struct class

[ANN] Rails 0.5.7, Active Record 0.9.2, Action Pack 0.7.8
108031 [david@lo dt ] I gather that most people are now familar with the RoR suite, so I'm

WideStudio in Windows
108039 [drossruby@ya] you attach code to the controls by selecting the

ruby-talk.org down ?
108042 [dooby@d1 .k ] Unable to connect to http://www.ruby-talk.org/
108239 [chadfowler@g] I'll take a look this evening.  I think I know what the problem is.

Favorite Ruby Editors (or IDE)
108045 [nospam@as lk] What is your favorite editor or IDE for programming in Ruby?
+ 108048 [drossruby@ya] I personally use Emacs in the console and sometimes in
| + 108050 [cmills@fr es] looks like you already mentioned vim.... tied with bbedit for my
| + 108051 [matz@ru y- a] matz.
|   + 108052 [drossruby@ya] Matz, as do I. I like having everything in one
|   + 108104 [bg-rubytalk@] Yay!  Finally a conclusion for the eternal "which is better, vi or
|     108142 [matz@ru y- a] ;;; ruby-mode
+ 108053 [farrel.lifso] I've been using the Ruby plugin for eclipse
+ 108077 [mortonda@dg ] Quanta Plus and Kate both use the same KDE editing tools, I believe, and
  108090 [drossruby@ya] Don't forget about mentioning kdevelop. It has all the
  + 108092 [mailinglists] Is there a second KDE IDE ?
  | 108121 [drossruby@ya] TROLL points! oh man. You screwed the pooch by even
  | + 108126 [mailinglists] You should learn to read. This may help
  | | + 108129 [drossruby@ya] Fine, I will send patches if it will shut you up. Kate
  | | + 108134 [drossruby@ya] Strings are red. text is dark red. Almost impossible
  | + 108131 [gsinclair@so] David, get a grip, for crying out loud.  Your troll radar seriously
  | + 108139 [steven.jenki] *plonk*
  + 108272 [sander@kn lo] So it must not be really good otherwise you still would have used it :P
    108759 [drossruby@ya] Wow, an email that I missed.

help me interpret profiler output
108046 [neoneye@ad l] Im randomly experiencing a big slowdown in my code.. but I fail see where and
108049 [assaph@av ya] One of the runs seems to have a call to LexerRuby::RubyLexer#initialize
108056 [neoneye@ad l] not really.. the profiler output on that page are partial.. I left out the
108057 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
108058 [neoneye@ad l] That is a possibility which I havn't thought about (me has unlearned too much
+ 108063 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| 108065 [neoneye@ad l] I have added a GC.disable before I enter the critical area..
+ 108064 [bob.news@gm ] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag