171140-173767 subjects 171562-185124

^ [ANN] Utah Ruby Users Group, December Meeting
171359 [jamis 37sign] The Utah Ruby Users Group covers primarily Salt Lake City and Provo/

^ rrobots submission
171365 [pfharlockk g] Hopefully I'm not too late to get in on this.  I don't expect much out of m=
171392 [james graypr] Actually, you were a little early.  ;)  I ask that people not post

^ unsubscribe
171369 [k.lindberg g] unsubscribe

^ How to grep the shortly matching in a string
171370 [priceagle gm] I used regular expression to grep content from a web page,but it seems
171373 [rretzbach go] Would be nice to see the regexp. Maybe using non-greedy multipliers will do.
171375 [priceagle gm] Thanks Robert!
+ 171382 [rosco roscop] Non greedy quantifiers  could probably be used to do this, but given that
| 171398 [dblack wobbl] array.each {|it| puts it }  ==  puts array  :-)
| + 171400 [rosco roscop] I _knew_ I was missing something.
| + 171401 [twifkak comc] Maybe in Perl 6! http://dev.perl.org/perl6/doc/design/apo/A05.html
+ 171384 [ruby-forum-r] Yes, you want the non-greedy version .*? instead of .*

^ ruby on rails training
171371 [twa post.com] ...

^ PDF::Writer / adding content
171374 [vonameln ase] I am using Austin Ziegler's PDF::Writer to create invoices, which works pretty

^ Better way to read data from IO into packets?
171378 [levin grunde] [0x65, 0xEB, <type:8>, <counter:8>, <length:8>, data:length>, <crc:16>]
171431 [vjoel path.b] s = io.sysread(5)
+ 171484 [bob.news gmx] Why do you use sysread?  I'd prefer to use #read in this case - I don't
| 171543 [vjoel path.b] You're right. I was thinking about readchar, which the op used and I
| 171617 [levin grunde] A packet always starts with the two bytes "\x65\xEB", everything elseresets the state machine.
+ 171614 [levin grunde] Because the application may be started in the middle of a packet orthe stream may be corrupted due to transmission errors.
  171650 [bob.news gmx] Why not just use a regexp to verify the initial sequence and use their

^ Ruby and XML, validation and DOM
171385 [thenews-NON_] I've started to learn Ruby  two days ago and it's fantastic! :-)
+ 171391 [rosco roscop] Not that this is much help right now, but I am working on on some basic
| 171470 [rosco roscop] It's quite basic but it has the all-important 'what methods does it have'
| 171506 [thenews-NON_] I want to thank all for their answers, I've tried Rexml and I like
+ 171395 [dcorbin mach] I don't think it validates, so this may not help, but Rexml is a *great* API
+ 171396 [gavin refine] I highly recommend REXML for creating the DOM tree and working with

^ ANN: eric 3.8.1 released
171388 [detlev die-o] this is to inform you about the release of eric 3.8.1. This is just a

^ who develops ruby
171394 [doug00 gmail] Where can people get involved in following ruby's development, and/or
+ 171393 [doug00 gmail] Nevermind, I see ruby-core.
+ 171397 [dblack wobbl] You can join the ruby-core mailing list (same admin setup up as this

^ Re: Removing parts from a file
171404 [trashcan hot] Said like this, i don't think it is possible as it is not related to the
171405 [rubyforum ik] No not really... It's a large amount of text, all under eachother.
+ 171409 [gwtmp01 mac.] In general, no.  I'm answering from the perspective of a typical
| 171432 [johannes.fri] Sorry, have to agree with the other respondents.
| 171438 [ruby-forum-r] You could read the files in small blocks or line per
+ 171454 [cballowe gma] Hmmm... not a general solution, but depending on the specific
  171456 [gwtmp01 mac.] Reasonable idea.
  171459 [cballowe gma] nah... it would require filesystem interfaces to the block mapping in
  + 171460 [gwtmp01 mac.] uh, yep.
  | 171492 [johannes.fri] Windows has block sizes too, but File.stat(...).blksize returns nil.
  + 171461 [ara.t.howard] if your records are fixed size you'd be mad to takle this application without

^ windows - how to control XP control panels: network setting
171406 [itsme213 hot] I want to write a script to toggle my wireless and wired connections ON/OFF.
+ 171417 [james_b neur] * Go to MSDN
+ 171425 [leslie camar] The second edition of the Pickaxe book has some info on calling the

^ Any TextMate Editor equivelent for Windows  ?
171410 [Roseanna80 h] I am looking for a decent Ruby and RAILs editor.  (JEdit is not really
+ 171415 [james_b neur] Not very  optimistic, are you?
| + 171418 [gene.tani gm] There's been lots of positive discussions about lots of editors in
| + 171433 [perrin apoth] Care to share any details?
| | + 171440 [gregory.t.br] When I'm on windows the first thing I do is install MSys/MingGW.
| | | + 171445 [vjoel path.b] There are also the gnu-win32 tools, which give you the usual
| | | + 171449 [perrin apoth] I was wondering what sort of scripts, et cetera, you use to round out
| | |   171462 [gregory.t.br] How much more do you need?  Maybe you should be asking about featurs
| | |   171488 [perrin apoth] "I'm looking for ideas".  That's all.  A mention of using vim with some
| | + 171451 [james_b neur] I have a few vim macros/mappings that insert text for common situations,
| |   171453 [perrin apoth] As am I.  Thanks for the run-down: that was much the sort of information
| + 171520 [Roseanna80 h] Thanks for all the posts.  Lots of useful tips on various tools, shells
|   + 171523 [fxn hashref.] Well, someone mentioned Eclipse + RadRails, if Eclipse is something
|   + 171527 [james graypr] Well, Ruby grew up on Unix.  That an it's just a good mindset.  ;)
|   | 171529 [shadarach gm] I know that for myself I have somewhat dedicated the last few days, along
|   | 171564 [perrin apoth] I always just kinda figured that Linux *is* my IDE.
|   + 171615 [xmitchx gmai] Why do you need a big IDE? I just use editpad lite (for the tabbed file
|   + 171630 [nightphotos ] I'm a big fan of Visual Studio.  The closest thing I've been able to find
|     172789 [Roseanna80 h] Wayne
+ 171422 [marcel verni] Although probably a more "heavyweight", the RadRails IDE (build on top of
| 172161 [dan dankohn.] Based on this thread, I downloaded RadRails last night.  After several
| 172257 [chesschintan] Well I use jedit on windows and found it very handy. Its slight pain to
| 172290 [wilsonb gmai] %Q!
| 172325 [phurley gmai] Arachno handles it correctly
+ 171622 [wilsonb gmai] I've used UltraEdit for a long time, and it's a great editor. It has
| 171644 [setrodox use] I'm also a Vim user, but without cream. But Vim isn't my only editor. I
| + 171651 [logancapaldo] charset=US-ASCII;
| | 171677 [setrodox use] ...
| | 171701 [logancapaldo] hey, thanks!
| + 171734 [wilsonb gmai] This looks really interesting, but the install process is truly
|   171761 [setrodox use] I don't have windows. But on linux it was done in 1 minute.
|   171768 [wilsonb gmai] Yeah, it just has some dependencies on things that don't exist on
+ 172634 [jussij zeuse] It does code folding, class browsing and syntax highlighting

^ Re: [SPAM DETECT] Any TextMate Editor equivelent for Windows  ?
171411 [fxn hashref.] Eclipse + RadRails is a good environment and is portable, check out

^ Newbie: require 'filename'  - undefined local variable or method...
171419 [grehom ntlwo] myhash = { "a" => "ay", "b" => "bee", "c" => "sea" }
+ 171423 [broderson gm] The exact details of why this I'm not familiar w/ but it is a scope
+ 171424 [gene.tani gm] this is a common gotcha, ruby doesn't include "." in $LOAD_PATH, which
+ 171427 [ezmobius gma] load 'stuff'
| 171441 [grehom ntlwo] Thanks Gene and Ezra, I tried your suggestions but with no luck.  I
| + 171442 [ezmobius gma] Yeah I was wrong in thinking that load would load local vars. So like
| | 171446 [vjoel path.b] [~/tmp] cat >a.rb
| | 171458 [ezmobius gma] Shows what I get for typing b.rb into irb instead of making it a real
| + 171443 [ruby-ml magi] I think there may be a problem with the gateway again..
+ 171436 [vjoel path.b] Local vars are scoped to the file they are defined in, when you use
  171444 [grehom ntlwo] Thanks Joel, that worked but it's way different from a number of
  171450 [ruby-talk wh] new design and the German and French editions of the Guide.
  171483 [grehom ntlwo] Thanks _why,

^ Unescaped text in REXML
171426 [farrel.lifso] I'm writing a small app that will be generating HTML programatically
+ 171430 [ruby-forum-r] I think this is what Ara Howard was battling a few
| 171434 [farrel.lifso] That worked! Thanks a stack!
| 171435 [farrel.lifso] Although I removed the 'm' at the end of the illegal parameter. It
+ 171437 [james_b neur] <script type="text/javascript">

^ Re: Newbie: require 'filename'  - undefined local variable o
171428 [ruby-forum-r] myhash is a local variable in stuff.rb and will thus not

^ End matching -- my solution
171429 [slitt earthl] In the end, my solution was to use Vim's marker folding. I enclosed

^ Writing to ferret index from multiple processes
171439 [f andreas-s.] what do I have to do to be able to write a ferret index from multiple
171463 [dbalmain.ml ] Can you show me some more code? How are you creating the index?
+ 171475 [f andreas-s.] Oops. I am indeed using :create => true. I forgot that I set it because
+ 171477 [f andreas-s.] Oops. I am indeed using :create => true. I forgot that I set it because
  171487 [dbalmain.ml ] I'm not to sure about this one. Are you by any chance explicitely
  171497 [f andreas-s.] No.
  171514 [dbalmain.ml ] Hey Andreas,
  171548 [f andreas-s.] I have checked it in.
  171550 [f andreas-s.] Btw, I tried it again on another machine, and couldn't reproduce the
  171625 [dbalmain.ml ] This is what I would expect to happen. What machine where you running

^ How to know if a method is read-write or read-only
171447 [transfire gm] I've now come across a second usecase for knowing if a method is
+ 171452 [johannes.fri] I assume you mean methods that are property getters/setters, along the
+ 171495 [daniel.schie] Do you want to know if a method changes its object's state? In that
  171815 [transfire gm] Thanks Daniel. That's an interesting approach --probably the best

^ [ANN] Rant 0.5.4
171448 [langstefan g] Rant is a flexible build tool written entirely in Ruby,

^ shortcut to self.class ?
171465 [mreed theree] Without writing my own alias, is there an easy way to get the class of
+ 171467 [ara.t.howard] class Object
+ 171499 [daniel.schie] I think it's a good idea to allow `class' to be called from within
| 171540 [surrender_it] +1, but I wonder if this may be a limitation of the parser
| + 171544 [daniel.schie] Probably. I'm getting a bit fed up with the current parser, it seems to
| | 171565 [mental rydia] Ter's still learning Ruby and I'm still learning ANTLR.
| + 171558 [mental rydia] You could do it with some work, I think, but it'd make the grammar
|   171569 [mental rydia] Well, I take that back, sort of.  You've got to do lookahead for <
+ 171567 [hawkman.gelo] def new

^ :: without a prefix (global?)
171472 [listrecv gma] I've found some cases where things don't work correctly unless they're
+ 171473 [drbrain segm] The constant Circle at toplevel.
| 171637 [listrecv gma] Thanks.
+ 171501 [daniel.schie] `::' will take you to the top level.

^ Thread specific singleton's
171478 [listrecv gma] How do I make a thread specific Singleton?
+ 171485 [bob.news gmx] Thread.current[:my_singleton_id] ||= whatever_creation_expression
+ 171486 [logancapaldo] def thread_singleton()

^ Is there any chemistry-related ruby application?
171481 [lordmiss gma] I searched newsgroup and googled but find no chemistry-related ruby
+ 171715 [Bil.Kleb NAS] Regards,
+ 171850 [masa ir.isas] "ChemRuby" project has been funded and under development.
+ 172123 [srinivas.j s] Dear all,
  + 172148 [jeff.darklig] j.
  + 172773 [srinivas.j s] Dear all,

^ How do I do this in ruby?
171490 [kishor.gurtu] I am trying to write a script that downloads my web server statistics
+ 171491 [bob.news gmx] That question is probably better answered in a SQL Server related news
| + 171493 [piet.haderma] One that downloads the stats to your local db.
| + 171647 [kishor.gurtu] Thanks guys. This was a great help. Guess I will try using DTS - it was
+ 171494 [jeff.darklig] actually, the methodology really depends on whether you are using the
  171500 [demmer12 fas] My team has just begun writing a few data manipulation scripts in

^ Fosdem, dev room
171496 [riboulet gma] Since there wasn't a lot of replies to my previous mails and that all

^ TheYAML change the id of Object
171502 [andrea.regin] I'm using an hash object and i use a Termine Object for the key and, for
171509 [logancapaldo] You need to overload the == operator and the hash method.
+ 171512 [andrea.regin] Thank for your help... this is that I need...
+ 171513 [rosco roscop] I was playing around with this, and now I'm doubly worried I have a bug,
  + 171515 [decoux moulo] An hash use #hash and #eql?, not #==
  | 171518 [rosco roscop] Ahh, there it goes :) Thanks kindly.
  + 171517 [logancapaldo] As ts already mentioned, you missed the eql? part. Me aliasing it to
    171519 [rosco roscop] Yes, I see. If I move your alias to after the definition, or just

^ my RRobots submission
171505 [maurizio.mon] I'm no ruby expert, and i'd quite sure most of you would have

^ Purpose of Ruby Talk
171521 [shadarach gm] Is there a clear cut purpose for ruby-talk, or can most any ruby topic
+ 171525 [daniel.cedil] As far as I know, it just has to be related to ruby. There's another
+ 171573 [perrin apoth] As far as I can tell, there's no specific topic focus to ruby-talk --
  171583 [james_b neur] Application or library-specific questions are best directed to a group
  + 171586 [perrin apoth] Agreed.  I've seen only one LUG and one website (perlmonks.org) that
  | 171589 [rosco roscop] Just to say, I've been honestly amazed by how welcoming and friendly
  + 171599 [trashcan hot] I thank you very much!
    171680 [hcatlin gmai] Well, I hate you all.... *grumble*, *grumble*, *grumble*.

^ ruby-dev summary 27761-28026
171528 [ko1 atdot.ne] This is ruby-dev summary 27761-28026.
+ 171538 [vjoel path.b] This would be helpful for extension writers. Would the method take a
| 171542 [ara.t.howard] i really, really prefer an options based approach to these kinds of things.
| 171553 [drbrain segm] YAGNI
| 171554 [vjoel path.b] YAGN what? GC.always or an options hash?
| 171561 [drbrain segm] Somebody needs GC.always to help with debugging.  The options hash
| 171602 [ara.t.howard] i disagree.  this thread shows that, had the original interface been option
+ 171575 [ptkwt aracne] So basically, the current method compares the magnitude of the complex numbers

^ RubyPlanet.NET: please submit URLs for Ruby blog feeds
171530 [mark.watson ] yet another resource for Ruby programmers. The main component of the
+ 171531 [shadarach gm] Check my sig for mine, which is for complete n00blets, such as myself,
| 171696 [snowzone5 ho] just read your ide comment on komodo...
+ 171535 [james_b neur] There's a list of bloggers along the left side.
+ 171545 [chneukirchen] Do you know planetruby.0x42.net?
+ 171736 [ml.chibbs gm] I see you've already got my blog on there... cool!

^ bug in remove_entry_secure
171532 [colin breame] undefined method `fu_world_writable?' for FileUtils:Module

^ Dumb question concerning ruby 1.8.2 and 1.8.3
171533 [oliver.andri] I will use the holidays to do my first real steps with Rails. No toying
171534 [james graypr] You're probably fine.  1.8.3 originally broke Rails (and Rake, I
+ 171541 [surrender_it] was'nt the problem about using gems made with ruby-X with ruby-Y ?
| 171547 [james graypr] Pretty much, yes.  But since RubyForge is currently running < 1.8.3,
| 171560 [oliver.andri] Many thanks for the information. This gives me a much better feeling for
+ 171681 [slitt earthl] Do you think 1.8.4 will be less problematic?
  171686 [james graypr] Yes, the patch was applied last night to fix the YAML issue.

^ vim-ruby installation
171539 [dylans gmail] I've read though a bunch of the vim-ruby posts in this group, and
+ 171571 [penryu saiyi] The vim-ruby set of vim configuration files do not change the
+ 171572 [trashcan hot] It depends on what colors you like.
  171605 [dylans gmail] Tim and Harpo... thank you !

^ Re: Rant 0.5.4
171546 [ruby-forum-r] Just a thanks, good stuff!
171549 [pesterhazy g] I rather like "echidna".
+ 171556 [vjoel path.b] Or how about "puggle" (a baby echidna--see the wikipedia article).
| 171570 [ruby-forum-r] Hee, seconded :)
+ 171600 [damphyr free] This is just typical of latin speakers: They use something just because
  171611 [ruby-forum-r] I am quite certain that they knew what it meant. Have

^ Ruby Evangelism Through Wikipedia
171551 [daniel.schie] Why not beef up the wikipedia article about Ruby? I just quickly made a

^ Rails + Amazon
171552 [rubybot gmx.] I am new to ruby and just trying to get into Rails. Very interesting
171555 [dylans gmail] Hey Rubena !
171563 [trashcan hot] I've heard things about rails on this NG, what is it ?
171568 [cameron.math] www.rubyonrails.org
171576 [trashcan hot] Great ! Thanks !
171579 [trashcan hot] I'm afraid I missed something. what 'rad' means ?
+ 171580 [perrin apoth] It's an '80s-vintage synonym for "cool" or "awesome", derived from
+ 171581 [mrkode gmail] rad means rapid application development, but it's also the name of a comic
+ 171591 [mental rydia] Like, totally awesome, dude.