165016-166055
164839-168182 subjects 165199-167296
^ Writing my own attr_* methods
165016 [ruby_talk sh] I frequently find myself creating member vars that contain a status flag
+ 165026 [discordantus] attr_ methods are instance methods of Class. They define the desired
| 165075 [transfire gm] They are instance methods of Module.
+ 165027 [transfire gm] Do some research on this, there's plenty of mail archives on the
+ 165048 [curt.hibbs g] FreeRIDE does this in its Databus class by overriding method_missing.
^ Which Error for bad config files?
165020 [transfire gm] When loading a configuration file and it proves to be invalid in some
165022 [james_b neur] InvalidConfigurationFileError?
+ 165025 [transfire gm] Perhaps, but what I'm working on is really quite general. And even if I
| 165030 [drbrain segm] RuntimeError then.
+ 165037 [mental rydia] We need an InvalidMeatError. It's the humans. It always is.
+ 165039 [martindemell] Except when it's the chunky bacon
+ 165042 [christophe.g] That'd be PEBKACError: "Problem Exists Between Keyboard And Chair" Error
^ method_missing
165031 [hawkman.gelo] i've got a small problem and can't figure out how to solve it.
+ 165033 [jeffrey.dik ] What about not using method_missing and catching the NoMethodError
+ 165034 [discordantus] It might help if you post some more of the code, especially that
165036 [hawkman.gelo] thanks, the NoMethodError catching works :-)
165041 [discordantus] eval("Module::#{command}(#{argument})")
^ Ruby on rails java script event tagging
165035 [paaranickal ] I am new to Ruby and rails. I was wondering if there is a way in Ror
165259 [dapatil nerd] Use a database to store all the countries and their states.
^ Ruby Windows administration
165038 [timgerr gmai] OK, I have been learning ruby for a few weeks now and I have not really
165045 [Daniel.Berge] See win32-file, available on the RAA. Also, check out
165047 [timgerr gmai] What I want do is grant ntfs rights to a folder. I did not see
+ 165050 [Daniel.Berge] If win32-etc doesn't do what you need, then you can use Ruby's win32ole
+ 165056 [mental rydia] Unfortunately that is a really ugly can of worms that you aren't
^ [ANN] Net::SSH 1.0.3
165043 [jamis 37sign] allowing Ruby scripts to interact with remote processes via SSH.
165091 [ruby_talk sh] Jamis,
165093 [jamis 37sign] Ah, if you install it manually, you'll also need to download and
^ to which object does the global scope belong?
165049 [uval rz.uni-] x = RubyNG.each {|user| user.hello }.find {|user| user.knows_answer? }
165057 [dooby d10.ka] It's defined as a private method of the Kernel module.
165070 [uval rz.uni-] irb(main):001:0> def foo;"foo";end
165081 [transfire gm] irb(main):001:0> def goooooooo; end
165125 [ mfp acm.org] Beware of irb.
165144 [transfire gm] Ah. So their *private* instance methods of Object class, then.
^ My usage of const_missing and method_missing
165055 [drjflam gmai] I was wondering if folks with much more experience with Ruby than I could
165113 [dave burt.id] It's nice, but is there a way to reflect on the .NET target and get at least
165214 [drjflam gmai] I could get the methods all at once, but I use method_missing to determine
165224 [duane.johnso] I wonder if you could override respond_to? and tell it to return
165238 [dave burt.id] And even create the shim at that point - who calls respond_to? without then
^ [ANN] Red: The Ruby Journal, a professional periodical for Ruby developers
165069 [ruby.journal] I am pleased to pre-announce the launch of a new, professional
165094 [agorilla gma] Ok, 10 points for the most ambitious 1st post I've ever seen on any
+ 165096 [lyndon.samso] Yep, and perhaps a 'letters to why?' column... you could call it
| 165097 [agorilla gma] Good point, if they announced "Dear _why" in the initial post, they'd
+ 165373 [drosihn gmai] RedJewels
| 165375 [mrbigleswort] __________________________________
| 165381 [twifkak comc] The Hunt For Red *insert current month here*
| + 165392 [jeff.darklig] The Big Red One ????
| + 165393 [mrbigleswort] ok, I'll stop now. :]
| 165398 [ruby-ml magi] You know, the ones to be crossed? :)
+ 165402 [vjoel path.b] Perl has the State of the Onion(*). How about "Red State" ;)
+ 165434 [pat.eyler gm] How about 'Red Letter'? (If for no other reason that every time
| + 165443 [meta pobox.c] Or just "Tuesday".
| | 165446 [pat.eyler gm] The win for Red Letter, is that not only does it denote specialness or
| + 165472 [ruby.journal] I really like "Red Letter". It has a nice twisted, compelling
| + 165473 [hal9000 hype] The Scarlet Letter? :)
| | 165476 [M.B.Smillie ] The Red Menace? Better Red than Dead?
| | 165481 [agorilla gma] Yeah, that's what crossed my mind when I said I didn't like the name.
| | 165499 [leavengood g] Since the fall of communism in the USSR I think the general perceived
| | + 165503 [agorilla gma] Yeah, forgive me, I'm an old libertarian.
| | + 165528 [gregory.t.br] That's what makes it funny! :) I imagine there is some Java house out
| | 165535 [hal9000 hype] Yeah, it wasn't a serious suggestion, which is why I couldn't resist
| | 165553 [gregory.t.br] No B- 's in the crowd? Lucky you :)
| | 165569 [jeff.darklig] How 'bout : Red Tide! ( j/k )
| + 165474 [james graypr] I agree, for what it is worth.
| | 165479 [gregory.t.br] The scarlet letter, I like that. :)
| + 165482 [daniel.schie] +1
| + 165592 [citizen428 g] ...
+ 165584 [ jupp gmx.de] Red Ruby Reader
+ 165589 [nick atlassi] I like 'Red'.
+ 165593 [ljz asfast.c] If it came out once a week, it could be called Ruby Tuesday.
| 165596 [hal9000 hype] That's one of my very favorites.
| + 165599 [ljz asfast.c] Ruby Begonia?
| | 165602 [ruby-talk wh] Can't we just sublet a column in Ranger Rick magazine? I like to limit
| | + 165604 [gregory.t.br] Maybe we can call it Ranger Ruby and the Ranger Rick magazine can
| | + 165606 [twifkak comc] I don't know.
| + 165601 [matt technor] I just want to make sure I get paid for the use of my intellectual
+ 165735 [ jupp gmx.de] I missed resolving this: The red-hot violin player's first name is
+ 165736 [ jupp gmx.de] I missed resolving this: The red-hot violin player's first name is
+ 165738 [ jupp gmx.de] I missed resolving this: The red-hot violin player's first name is
^ Best way to time-limit a rails/ruby application
165073 [warrens actc] charset="US-ASCII"
+ 165074 [steve waits.] Don't give them root?
| 165077 [daniels pron] #####################################################################################
+ 165078 [drbrain segm] Get better customers.
+ 165079 [khaines enig] If you don't host it, your options are limited. It should be no problem to
+ 165086 [james_b neur] How do people use the application when they *do* pay their bills? Do
+ 165130 [junk5 micros] Get a lawyer to send a letter giving them a hard deadline for payment,
| 165181 [victor.reyes] Forget the lawyer. Hire a hitman, they might be cheaper!
+ 165261 [dapatil nerd] Adding a backdoor to a rails app is trivial ;)
^ Re: A comparison by example of keyword argument styles: respond_to?
165080 [warrens actc] Consider respond_to?
165088 [halostatue g] I don't think that'll be the case, honestly.
^ [ANN] Stomp Client Release
165089 [brianm apach] Stomp is a text-oriented wire protocol for messaging (MOM/MQ/JMS)
165149 [jim freeze.o] This looks pretty cool. (dumb question ahead) How is it different than
165156 [brianm apach] DRb is a synchronous RPC style system whereas stomp is asynchronous
^ <ANN> TeSLa 0.2.0 is out
165090 [javierg1975 ] 1. Test First can now be done. TeSLa gracefully fails when the method
^ Reporting in a Ruby on Rails Application
165092 [richard.mcgr] I was just wondering what are the options for reporting with Ruby on
165095 [jqshenker gm] Ruports?
165098 [gregory.t.br] Hmm....This will definitely be easier when the ActiveRecord support
^ win32ole question
165102 [itsme213 hot] I have a bunch of single-slide powerpoint files and want to save each one as
+ 165103 [patrick.fern] Well, when I've done something with Excel and win32ole and wanted to
| 165122 [itsme213 hot] I don't think this will work for me since I only get the pop-up in
+ 165137 [bernhard.lei] I found a few remarks on the Internet regarding using the "Export"
165138 [itsme213 hot] ppt.activePresentation.slides.item(1).export 'foo.png', 'png'
^ fork windows
165111 [Fleck schlei] I want to start an app from a ruby script on windows 2K.
165142 [sean.ohalpin] For a simple solution, you could use "start", e.g.
^ Re: Red: The Ruby Journal, a professional periodical for Ruby developers
165112 [narf968 gmai] If someone submits an article and it is rejected, can the author shop
+ 165115 [hal9000 hype] It's fairly inconceivable that it could become their property if
| 165161 [pat.eyler gm] You would think so, but that's certainly how the Redhat magazine
| 165271 [ruby_talk sh] ...QED?
+ 165116 [james_b neur] Of course. You own it unless you are paid for it or have some other
+ 165403 [ruby.journal] Jim, that is a very fair question. I'll also weigh in on the
^ Ruby, SOAP and WSDL
165117 [henning.jans] 1.
+ 165511 [leavengood g] I'm not a SOAP or WSDL expert so I can't answer your first question,
| 165517 [james_b neur] WSDL is not (just) about static type declarations. It is a way of
+ 165520 [nakahiro sar] SOAP module bundled with Ruby distribution does not have that but
165660 [halostatue g] Should this perhaps be bundled with Ruby if we're going to be offering
166007 [nakahiro sar] I was thinking so at first, too. But I didn't want to take pollution to
166055 [halostatue g] Ok. That makes sense. The only thing that might then be useful is to
^ Newbie question: About class variable and class_eval
165119 [mzhang.cn gm] Please look at the following code
+ 165141 [sean.ohalpin] Class variables (i.e. starting with @@) have wierd scoping.
+ 165171 [lthiryidontw] You may just avoid class variable @@cv and use class instance variable
165180 [dblack wobbl] def Cls.cv; @cv; end
^ Newbie question about Ruby, Rails and web servers
165120 [jacekolszak ] what server should I use to my Rails application. What will be faster?
165121 [james_b neur] Last I heard, lighttp with SCGI had become the front-runner.
165126 [jacekolszak ] Thanks for reply James...
^ rmagick question
165123 [itsme213 hot] irb(main):018:0> i = Magick::ImageList.new "3dbar.svgz"
165148 [rmagick gmai] Are svgz files just gzipped svg files? If so, try unzipping the file
^ REXML problem
165128 [ts_news1 son] I'm trying to use a ruby and rexml to manipulate some Qt linguist xml
^ OT: ethics (was: Re: RUBY GRAMMAR)
165129 [ruby ml.icem] I am not quite sure how to put this - turning to the Internet for help is
165145 [surrender_it] I agree with almost anything you said
^ ruby smirch?
165139 [kevin.jackso] With refernce to being able to time limit your code, as people have
165147 [dave burt.id] See the related Perl module, Acme::Bleach and Ruby Quiz #34 - Whiteout.
^ How to get Michael Granger's RDoc template?
165140 [erik terpnet] But that doesn't really help me.
165175 [dooby d10.ka] lib/ruby/1.8/rdoc/generators/template/html/html.rb
165288 [erik terpnet] Thanks a lot for your help.
^ Antw: Re: fork windows
165143 [Fleck schlei] Thanks,
^ AW: Antw: Re: fork windows
165146 [Roland.Schmi] is
^ [ANN]RubyCocoa 0.4.2
165157 [kimuraw i.ni] RubyCocoa 0.4.2 was released!
^ AW: Antw: Re: fork windows
165158 [Fleck schlei] Yes, that' s it.
165384 [vjoel path.b] You can also do
^ Problem with LDAP::SSLConn.new
165159 [Daniel.Berge] Solaris 10
165318 [rasputnik gm] Doesn't ring a bell.
165321 [Daniel.Berge] I'm afraid I don't know ldap that well, so I'm not even sure what you mean.
165327 [steven.jenki] Is your server cert self-signed? As of version 2.1, OpenLDAP rejects
^ ruby-dev summary 27542-27662
165160 [ksaito uranu] This is a summary of ruby-dev mailing list.
+ 165189 [drbrain segm] $ uname -a
| 165203 [drbrain segm] $ make test-all
+ 165341 [surrender_it] it seem that mingw is missing..
+ 165368 [djberg96 gma] Solaris 10
^ Ruby - Newbie to Guru - Advice?
165162 [seanhussey g] Alright, I've been bitten by the Ruby bug, but I haven't yet had that
+ 165164 [james_b neur] Well, the most recent version of Programming Ruby. It's bigger than the
| 165525 [seanhussey g] Heh. ;)
| 165655 [james graypr] I've tried to read it a couple of times now. While it's true that I
| 165705 [mental rydia] Somebody needs to write a Commentary on AOCP. With cartoon foxes.
| 165719 [gregory.t.br] Even with cartoon foxes I couldn't stomach it. Maybe some chunky
| 165741 [chneukirchen] Quiz idea: Write code to transform TAOCP algorithm descriptions
| 165776 [w_a_x_man ya] Think of King Canute (spelled Knut in Norway).
+ 165527 [gregory.t.br] Newest copy of the Pickaxe, The full API docs, Why's guide, The Rails
+ 165641 [ruby.brian g] <OT>
+ 165669 [seanhussey g] The Ruby Way. Is that the "other" Ruby book, as far as learning Ruby
165703 [gregory.t.br] They are actually archived on RubyQuiz.com but the book will feature
^ Golf, anyone?
165165 [jgbailey gma] I spent a day figuring out how to solve this problem, and it seems like
+ 165167 [bob.news gmx] Like this?
+ 165169 [ara.t.howard] require "traits"
+ 165179 [transfire gm] <quote>
165186 [jgbailey gma] Thanks for your reply - definitely the second case - "variable
165202 [transfire gm] 'op' is set to :+, so :+ is being called on the parents *method* of the
^ [SORTA OT] Getting CPU usage of a process
165166 [joevandyk gm] I'd like to be able to get the CPU usage of a particular process.
165240 [kero chello.] man proc, look for "/proc/[number]/stat"
165250 [joevandyk gm] Thanks, I'm aware of /procproc.
+ 165251 [joevandyk gm] And one other question, does anyone know how I might do this on
| 165254 [caldridge gm] this seems tto work ok on a process name but.. not sure how to do it on an id..
+ 165277 [kero chello.] That's what I would start with.
^ [ANN] lockfile-1.4.0
165170 [ara.t.howard] URLS
^ Thread Safety
165172 [justin.w.smi] I'm an experienced developer starting to learn Ruby. On the whole I
165174 [khaines enig] Don't use globals. I can't think of a single instance where one needs to use
165176 [billk cts.co] But, yes, variables like $&, $`, $', $1..$n and I've no doubt $! are
+ 165182 [justin.w.smi] ...
| 165183 [justin.w.smi] Is he saying "thread independent" == "thread local"...?
| 165278 [bob.news gmx] Yes.
+ 165184 [khaines enig] Which is cool, I agree, but in general, my position is still to not use
+ 165185 [fgp phlo.org] $1..$n are even method-local, I believe.
165243 [ mfp acm.org] all the vars derived from $~
^ Beginner - show values in a table
165177 [octopie gmai] How would you, in a x_controller.rb file, show all the values in a
165329 [halostatue g] -austin
^ bash says command not found for ri and irb
165187 [cles2 comcas] Converting from Windows XP to Linux, I have formatted one of my
+ 165188 [marcel verni] sudo apt-get install irb ri
| 165215 [cles2 comcas] Speaking of RubyGems, I did as you said using the
| 165216 [marcel verni] Cool, looks like you already had these libraries.
+ 165190 [desmarm gmai] If you fire up synaptic and search for irb and ri you'll find that they
+ 165213 [ezra yakimah] Les-
165230 [cles2 comcas] Thanks a bit of yours and a bit of others and I got the RubyGems
165231 [marcel verni] Same issue. Either become root (with 'su -') and run this command or run it
165236 [cles2 comcas] Thanks every1 you were wonderful. Hope to return the favors after I get
^ pdf::writer can it do layers?
165192 [mjfreshyfres] I've googled around a can't seem to find out if this is possible with
165194 [halostatue g] Not yet.
+ 165195 [robby.lists ] When do you think it might?
+ 165247 [mjfreshyfres] First off, thanks for all you are doing in the Ruby PDF realm of
165299 [halostatue g] Pretty much -- I just haven't had time to finish and finalize it (it
165336 [mjfreshyfres] Thanks for the lengthy response and clarification of terms.
^ Typo chat, BBQ dinner (Sunnyvale, CA), 11/10, 7 pm
165196 [rdm cfcl.com] On the off chance that you are in the San Francisco Bay Area
165204 [daniel.schie] Why oh why don't I live in the US?
threads.html
top