266899-270466
266743-277897 subjects 267066-269020
^ eclipse ruby plugin
266899 [coolgeng410 ] How to user ruby-plugin in eclipse 3.2 to build a project?
+ 266950 [alin.popa gm] What do you mean by "build a project" ?
| 266959 [kyleaschmitt] You don't "build" it, you just run it.
+ 267693 [bscott mrnov] There is an Eclipse IDE called "Aptana IDE" for Ruby and they have a
267704 [arthur.murau] Plugin is called RadRails: http://aptana.com/download_rails_rdt.php
^ Syslog facility
266912 [greg.johnsen] I am having trouble with pointing the syslog messages to a particular
267012 [oudeis nodom] require 'syslog'
+ 267021 [greg.johnsen] Exactly what I needed! Thanks!
| 267076 [oudeis nodom] I don't bother. I generally use syslog with programs that run indefinitely
+ 267234 [craigbeck lu] Does anyone know if this works on OS X? Where would I look for the
267242 [fwmailinglis] charset="US-ASCII"
^ WebServices & WSDL
266923 [m.tyman inte] @soaps<<SOAP::WSDLDriverFactory.new("http://#{@Address}:#{@wsPort}/#{wsdl}").create_rpc_driver()
267233 [irvingld gma] Have you tried wsdl2ruby script, this will create you a fully functioning
+ 267298 [m.tyman inte] No, I haven't. But I found out about it. Ehm... We'll see how it works.
+ 267316 [m.tyman inte] can you explain how to use it. Because I realized that wsdl2ruby.rb
267368 [felipe.contr] There should be a wsdl2ruby script, but AFAIK it's not usually distributed.
^ Dispatching when function name is stated as a symbol
266925 [ronald.fisch] Can someone point out an elegant way to solve the following problem?
266928 [jgabrielygal] Would this work for you?
+ 266929 [jgabrielygal] puts "g2: #{a}, #{b}, #{c}"
+ 266930 [ronald.fisch] Thank you! Works like a charm!
+ 266952 [Rob AgileCon] send(*x)
| 267307 [ronald.fisch] Simply because in my application, (1) the name gets prepended
+ 266979 [m_goldberg a] def f(&cb)
^ Ruby Nat Traversal
266937 [pere.villega] I'm playing a little with DRb and I found it can't join other computers
^ Weird problem with DATA and __END__
266938 [ttmrichter g] require 'test2'
+ 266939 [ttmrichter g] test2.rb =3D This is the data in test2.rb.
+ 266948 [florian.assm] DATA.inspect # => "This is the data in test1.rb."
266956 [ttmrichter g] . Ok,
266961 [florian.assm] I once met this problem, too - but you know - you can always do for each file
^ Program which calculates earnings (with some difficulties)..
266941 [tillaart36 h] I have a 'problem' which I cannot solve using spreadsheet software like
+ 266943 [james graypr] Neat problem.
+ 266946 [thopre gmail] you could use a spreadsheet where your insert starting - and ending hours
^ DB connection setup for Unit Testing
266942 [thedossone g] I am trying to take a test-driven approach to a script I am writing.
267771 [jeff.burly g] class BurndownTests < Test::Unit::TestCase
+ 267773 [jeff.burly g] class BurndownTests < Test::Unit::TestCase
+ 268219 [ryand-ruby z] $db = DBI...
^ Re: Program which calculates earnings (with some difficultie
266944 [tillaart36 h] Okay it's a little bit of both...I'm not asking for a total solution on
^ [QUIZ] Twisting a Rope (#137)
266945 [james graypr] 1. Please do not post any solutions or spoiler discussion for this quiz until
+ 267300 [eric.mahurin] My implementation is attached along with a modified test. I made a
| + 267305 [eric.mahurin] String
| + 267401 [rubify softo] Here is my solution. As a side note, it was probably not the best idea to
+ 267312 [ mfp acm.org] I happened to have implemented ropes in OCaml recently, so I generated a Ruby
| 267319 [ mfp acm.org] Also for laughs, playing with the GC parameters and with a qsort implemented
+ 267314 [grddev gmail] My solution deviates slightly from the problem specification.
| 267365 [ari aribrown] Ok, So I'm still trying to figure out what stores the characters in a
| 267394 [grddev gmail] The actual characters are stored in strings. The rope is an array of strings,
+ 267437 [eric.mahurin] I modified my implementation a bit more and provided results along
| + 267439 [ara.t.howard] enough of this nonsense already! where is the gem! ;)
| + 267465 [rubify softo] Eric, thanks a lot for your test, it helped me to find a bug in my solution.
| + 267470 [grddev gmail] Thanks for running the tests! I do think it is a shame, however,
| 267525 [eric.mahurin] My classes that do the work are are immutable (there is a wrapper
| 267544 [rubify softo] Eric, may I ask you to test one more thing: your #slice does not have any
| 267681 [eric.mahurin] CPU(user+sys,sec) mem(peak,MB)
| 267863 [grddev gmail] Whether to use a binary tree or an array is a classical decision, and one
+ 267467 [rubify softo] - empty node guard in slice
+ 267867 [ari aribrown] Awesome quiz!
267987 [ari aribrown] charset=US-ASCII;
^ HOW TO CREATE WSDL OBJECT IN RUBY?
266951 [m.tyman inte] Question as in subject.
266955 [jmrepetti gm] /usr/bin/wsdl2ruby.rb --wsdl myapp.wsdl --type server
^ IO.popen and gets
266954 [yvon.thorava] in order to get the answer of rsync when doing a backup with ruby, i
^ Overriding Kernel#raise
266973 [shane techie] I'm writing a C++ program that has a Ruby interpreter embedded in it.
266980 [jameskilton ] module Kernel
266982 [shane techie] Whoops. Duh. :-)
^ rsync functionality in Ruby?
266974 [Paul.vanDels] an unversioned hierarchy. I use rsync to synchronise the directories prior to svn
+ 266988 [mneumann nte] m =
+ 266989 [dusty.doris ] I haven't found any either, but I do have a nagios plugin using rsync
| + 266991 [Paul.vanDels] Thanks for the reply. But, if I understand your reply, I can't use anything that uses unix
| | 267001 [ml synthetic] You should look at FileUtils::cp_r with the :preserve option. It's
| | 267063 [shortcutter ] - use cp -au
| + 267090 [hutch recurs] Is this rsync+ssh? If so, what did you handle passwords when making
| + 267171 [rasputnik gm] If you're dicking around with expect you have the
| | 267516 [hutch recurs] I know, funny isn't it :-)
| + 270350 [dusty.doris ] Sorry I took so long to reply. Forgot about this thread. I am using
+ 267478 [Bil.Kleb NAS] Is there anyway to use SVN's import command to get you 80% of
^ Method names and alias
266986 [bulliver bad] In Unix, you can create a symlink to an executable, and have the program
+ 267038 [gethemant gm] Well this is your problem, "have the method inspect the name it was
+ 267045 [phrogz mac.c] def load_byte( byte, unsigned=false )
| 267118 [bulliver bad] Thanks Phrogz,
+ 267052 [botp delmont] # def load_byte(destination, base_address, offset)
^ REXML element reading <br /> error
266987 [johnnybutler] When reading in the site element from my xml file using rexml it seems
+ 266990 [keith audiob] I'd suggest using a bit more XPath, both text() and a each {} to
| + 267000 [nobu ruby-la] Seems like that just REXML::XPath.first(a, '//Site').to_s
| + 267002 [phlipcpp yah] class REXML::Element
+ 267110 [not gentoo.o] Not quite. It gives you the *first* text element.
^ Net::SSH fails on second retry over remote tunnel
266992 [bmadden peak] Please pardon me if I'm naż×e, this is my first post.
267033 [gethemant gm] Catch Jamis buck on Capistrano mailing list or his blog. He rarely
^ Unable to change output of test suite
266993 [ymendel pobo] I'm trying to change the output of a test suite, and from what I can
267009 [nobu ruby-la] require 'test/unit/testresult'
267092 [ymendel pobo] Of course it had to be something simple like that.
^ Aliasing methods as a way to wrap them (Was: Re: Overriding Kernel#raise)
266999 [celtic sairy] I'm always a bit worried when I do this that there's a chance I'll be
^ What is wrong with my ruby install, or is it me?
267004 [ms4720 sdf.l] I am trying to put together my first ruby app, little database
+ 267005 [apeiros gmx.] You forgot to require 'rubygems' first.
| 267010 [ms4720 sdf.l] yup
| 267058 [globyy3000 h] in both cases.....its you.
| 267120 [ms4720 sdf.l] Without your sage advice I would have never figured *that* out.
+ 267006 [rrafje gmail] #!/usr/bin/ruby
^ Shouldn't it be self >> class, or am I dyslexic?
267008 [nbitspoken c] The semantics of
^ correction: typo in subject
267011 [nbitspoken c] Oops,
^ Aliasing methods as a way to wrap them (Was: Re: Overriding
267014 [shane techie] Arlen makes a good point -- in my case all the scripting code has been
^ Shouldn't it be class >> self , or am I dyslexic?
267015 [nbitspoken c] This is the correct title, uh, I think...
267081 [lopx gazeta.] class A < B
+ 267083 [sepp2k googl] Yes, but there is a major difference between those two. In the former case A
| 267220 [nbitspoken c] I like it when people agree with me, and according to the diagram on
| 267222 [dblack wobbl] I'm sorry, but I had to chuckle at the use of the word "intuitive"
| 267229 [nbitspoken c] Perhaps you were misled by the first sentence of my reply to Sebastian,
+ 267204 [nbitspoken c] ***
^ Video conversion library
267016 [bruno.malves] I'am building a application like youtube where it will have a video
267036 [cliffrowley ] HTH
^ Problem installing on Cygwin, no C compiler
267018 [bostonantifa] Can anyone help me? I tried installing Ruby on Cygwin with the
+ 267020 [nobu ruby-la] Yes. But it isn't installed by default unless you check
+ 267024 [znmeb cesmai] You probably installed the *minimal* Cygwin -- gcc is part of Cygwin. I
+ 267029 [cliffrowley ] apt-cyg install <gcc or whichever packages you require>
^ Is there an online reference for dollar ($) variables?
267019 [lfast mdsi.c] Is there an online reference that describes all the Ruby $... variables?
+ 267032 [gethemant gm] ahoy zenspider... :)
+ 267035 [fwmailinglis] charset="US-ASCII"
+ 267046 [phrogz mac.c] ...
+ 267069 [o.renaud lap] You also may take a look at the 'English' library, from the stdlib
267165 [lfast mdsi.c] Thank you all. Those are great references that I added to our local
+ 267183 [o.renaud lap] English doesn't define a name for $: because there's already an alias for this
+ 267196 [phrogz mac.c] I did a lot of custom markup and CSS from the source code (awesomely)
267206 [lfast mdsi.c] Hmmm. On the Language page in particular, phrogz version is very
^ RubyGems mysteriously broken (paths issue?)
267023 [elektrophyte] Just installed RubyGems 0.9.0 on Ubuntu 7.04. I ran gem install rails
+ 267031 [gethemant gm] Please remove the rubygems package that you installed using apt-get,
| 267043 [elektrophyte] Yes, that corrected the problem. Thanks.
+ 268359 [drbrain segm] RubyGems 0.9.0 has a security exploit. 0.9.4 is the latest.
^ attr_reader
267026 [dolgun excit] class Song
267027 [botp delmont] # "The corresponding instance variables, @name, @artist, and @duration,
267030 [dolgun excit] class Song
267037 [botp delmont] #
267039 [dolgun excit] Ok. Thanks.
267144 [devi.webmast] You do have to make your own
267148 [dolgun excit] class Song
+ 267149 [dolgun excit] class Song
| 267207 [kbloom gmail] attr_reader :foo creates a *method* to access the instance variable @foo.
+ 267151 [logancapaldo] Nope. It's just that an undefined instance variable is treated as
+ 267167 [dolgun excit] Then why isn't song.fake treated as though it were nil?
| 267172 [sepp2k googl] song.fake isn't an instance variable, it's a method (well actually it's not,
| 267173 [dolgun excit] Ok. Thanks for the explanation.
+ 267168 [dolgun excit] lol. I looked up instance_variables in "Programming Ruby (2d ed)" and it
267530 [kbloom gmail] For most purposes, you'll never notice the difference. There's only one
^ Ruby 1.8 and 1.9
267028 [cliffrowley ] I've just successfully compiled Ruby 1.9 under Cygwin (which was
+ 267041 [dangerwillro] create an alias or symlink for at least one of them and have them in
| 267042 [cliffrowley ] Thanks, I figured the ruby interpreter itself might be as easy as that.
| 267077 [dangerwillro] Well, number 1, I've never actually used or installed 1.9 yet, no
| 267078 [cliffrowley ] That wouldn't really work for a number of reasons. Firstly because
| 267080 [dangerwillro] Hmm... on *nix, things like this are not necessarily global, but per
| 267087 [cliffrowley ] Yep, I'm a pretty experienced Linux/BSD user - but my options are
+ 267169 [yuri.mlists ] - Install Ruby 1.8 into the default c:\ruby directory.
+ 267175 [konrad tyler] charset="iso-8859-1"
267203 [cliffrowley ] Now that indeed, is what I'm talking about ;-)
^ n/e thing faster than grep
267034 [globyy3000 h] whats a faster comparison method than grep say if i wanted to pull out
^ Fail to Install Gems - My First Gems
267044 [ewijaya gmai] Dear all,
267048 [ml synthetic] $ export GEM_HOME=/home/mystuff/gems
267050 [ewijaya gmai] Yes I already have that, in my .bash_profile
+ 267061 [paradisaeida] Had this recently.
+ 268446 [drbrain segm] You want GEM_PATH, not GEM_HOME.
^ Re: Twisting a Rope (#137)
267047 [jfmiller28 y] My apologies,
267125 [james graypr] I've fixed this on the web site. Thanks for pointing it out.
267193 [badcarl gmai] I've done parts one and two so far. I'll try to add more in the next
+ 267205 [hchoudh gmai] I slightly modified the nice benchmark tool because normalize doesn't work
+ 267218 [badcarl gmai] I've modified my Rope so it runs with the benchmark (and fixed some
^ How to get DRb and Webrick to work together?
267049 [saliktheblan] I'm trying to run Webrick and DRb on the same program. I run them on
267056 [globyy3000 h] service=DRb.start_service("druby://localhost:#{$config[:drbport]}",$user[:drbserver])
^ keyboard input: one character
267053 [pistacchio g] i've seen this question posted many times without a single definitive
267055 [globyy3000 h] info = gets.chomp
267057 [pistacchio g] while true
267059 [globyy3000 h] lol. i didnt mean for it to be used in a while loop.
267060 [globyy3000 h] And i actually just got home and tested that while loop, it works...ur
+ 267062 [pistacchio g] no, i'm not using irb. maybe there's an os compatibility problem going
| 267101 [ari aribrown] Well, to help you answer your original question.... Are you using an
| 267131 [globyy3000 h] Some advise: Download Ubuntu...or Debian..whatever suits you...install
+ 270466 [eckhardt.f g] I think gu means to get one character without pressing enter
^ Seeing the source
267065 [michel.cabil] I'd like to know if, since Ruby is a scripting language, there's a way
+ 267068 [cmdjackryan ] If you want to obfuscate code for business reasons, though, you might want to use a different language (Perl is naturally obfuscated :P), where obfuscators are available on a larger scale (Java and .NET languages should offer that, with them being enterprise-y and all).
| 267084 [dangerwillro] If you really think you need to obfuscate your code, then you're
| + 267091 [michel.cabil] Well, then I guess that we can't obfuscate the code with Ruby.
| | + 267093 [phlipcpp yah] Why is that "trolling"? It's actually "shrouding". Not sure if that came up
| | | 267096 [michel.cabil] Trolling because that came up just like that... Didn't know if that kind
| | | 267098 [phlipcpp yah] No! Just dive into one of the Ruby Grammar attempts, and then change each
| | | + 267099 [michel.cabil] That seems a fair solution. Although I'm not that deep into Ruby yet, I
| | | | + 267104 [dangerwillro] You should use C for Ruby extensions.
| | | | | 267109 [phlip2005 gm] The best thing about these extensions is wrapping rVALUE (IIRC) in a C++
| | | | + 267107 [phlip2005 gm] Yes. But...
| | | | + 267126 [bigboss64 ip] Are links that might be of interest if you want to work with C++ and Ruby.
| | | | 267134 [dejan.dimic ] This story is old as the universe.
| | | | + 267138 [cmdjackryan ] One word: Microsoft.
| | | | + 267223 [dejan.dimic ] I have impression that the subject is about source hiding and
| | | | + 267228 [dangerwillro] There is great truth in this. Code can be very much like poetry. Not
| | | | + 267311 [michel.cabil] Thanks for so many thoughts.
| | | | 267350 [celtic sairy] Closed source security is a really, really bad idea. Security should
| | | | 267354 [phlip2005 gm] Alice and Bob are talking past each other here. (-;
| | | | 267356 [celtic sairy] Seems that way. :) Watch out for Eve/your-variant-here!
| | | | 267358 [phlip2005 gm] The data bus on your 'puter generally works in cleartext. Its clock turns it
| | | | 267360 [alex blackke] Erm... no. A maser is a low-frequency laser; see
| | | | 267362 [phlip2005 gm] I'm also thinking of phase-conjugate mirrors, phased-array radars, RF cages,
| | | + 267100 [fwmailinglis] charset="us-ascii"
| | | 267111 [cmdjackryan ] Agreed.
| | | 267114 [phlip2005 gm] There's a market for _lots_ of "bossware" - thinks like MS Project, that
| | | 267123 [cmdjackryan ] Gantt charts are not just unnecessary. They, and their brethren, are risk
| | + 267095 [TimHunter nc] I actually worked on something like this but I finally decided that it
| | + 267102 [michael.bevi] Sure you could. Just how effective obfuscation would be in *any* language
| + 267201 [charles.nutt] Disassemble, sure. But it's fairly easy to generate sequences of
+ 267202 [charles.nutt] - JRuby can load .rb files from within a .jar file. Since most people
267211 [phlip2005 gm] Thus extending the cracking time by nearly 15 seconds. (-;
267215 [dangerwillro] JRuby's main problem: you still need to know Java to use Ruby!
+ 267216 [phlip2005 gm] Oh, I'm just laying awake at night wondering when someone's going to invent
+ 267219 [charles.nutt] Well, we're hoping to solve that too; jrubyc already provides a
267227 [dangerwillro] That sounds very cool.
threads.html
top