352574-358080
352380-354031 subjects 352795-355762
^ ruby 1.9.1 mingw32 under Windows
352574 [overrider ya] I've tried using ruby 1.9.1 compiled with mingw32 and had the following
+ 352586 [luislavena g] If you believe this is a bug of Ruby, please test latest 1.9.1
+ 352621 [renard nc.rr] You are not using truncate correctly.
^ Help on searching large sets of data
352575 [Blarg sogett] I am reaching out to get some help/ideas about our current search
352596 [shortcutter ] We would have to know what your needs are for that. So far I have
352611 [blarg sogett] Thanks for the reply. As for your question on what type of documents we
352614 [hassan.schro] Then you shouldn't be searching 'documents' at all, you should have
^ Re: nokogiri 1.4.1 Released
352597 [bapabooiee g] Good to hear mate -- and I have to admit, Nokogiri is quite possibly
352601 [onepoint sta] +1
+ 352606 [ryand-ruby z] next time I'd suggest using mechanize.
| 352639 [onepoint sta] I'll keep it in mind, thanks. *sigh*, so many toys, so little time! :-)
| 352851 [bapabooiee g] =A0was the
| 352856 [ryand-ruby z] mechanize already uses nokogiri.
+ 352666 [aaron tender] Thanks guys! It's good to hear nice things once in a while. :-D
^ Is it possible to force a Ruby program to run as a proc name different than "ruby"?
352607 [ibc aliax.ne] x=20
+ 352610 [ibc aliax.ne] I forgot to say that a dirty workaround is creating a link to ruby binary =
+ 352612 [ninja slapha] This is probably not a good idea in the first place -- it means you can't h=
| 352616 [ibc aliax.ne] ts
| 352618 [ninja slapha] That's a good point -- though I would guess that in theory, it shouldn't be=
| 352631 [ibc aliax.ne] be
| + 352659 [shortcutter ] ill
| | + 352665 [ibc aliax.ne] me
| | + 352679 [ibc aliax.ne] Let me a question: is the above a fragment of a Linux init script written i=
| | 352692 [shortcutter ] en in
| | 352699 [ibc aliax.ne] en
| | 352704 [shortcutter ] tten
| + 352668 [ninja slapha] True. I tried (and failed) to find an example of this working. However, a=20
| 352672 [ibc aliax.ne] I should take a deep look to "upstart". Until now I'm just used to usual Li=
| 352673 [ninja slapha] I'm saying most aspects of it can be solved within the program -- anything=
| 352676 [ibc aliax.ne] or
| 352680 [ninja slapha] Short answer: no.
| 352682 [ibc aliax.ne] ll
+ 352641 [b.candler po] Have you tried
352642 [b.candler po] ... or I can't remember the details, but perhaps you needed
352647 [ibc aliax.ne] Thanks a lot, it sounds really interesting.
+ 352648 [ibc aliax.ne] El S=C3=A1bado, 12 de Diciembre de 2009, I=C3=B1aki Baz Castillo escribi=C3=
| 352650 [ibc aliax.ne] El S=C3=A1bado, 12 de Diciembre de 2009, I=C3=B1aki Baz Castillo escribi=C3=
+ 352675 [ shot hot.pl] I was wondering about exactly this problem recently. I=E2=80=99m using
352678 [ibc aliax.ne] El S=C3=A1bado, 12 de Diciembre de 2009, Shot (Piotr Szotkowski) escribi=C3=
352683 [ shot hot.pl] install
352700 [ibc aliax.ne] w).
352702 [ shot hot.pl] ruby-1.9
^ [ANN] arcadia 0.8.0
352613 [antonio.gale] Arcadia is a Light Integrated Development Environment (IDE) for Ruby
+ 352677 [rogerpack200] Tons of bug fixes, I would note.
+ 352681 [martindemell] Under linux, the splash dialog stays on top of everything, on all
^ How to use open_uri with cookies?
352615 [sellseashell] I need to send a request with cookies info.
^ ekoVenture is looking for a RoR engineer!
352617 [david.duchen] ekoVenture's looking to hire a rock star RoR engineer! We're a very
^ Unicorn Server questions
352619 [blarg sogett] First is regarding the the "listen" configuration option. Why is this
352626 [normalperson] You mean a per-worker listen for workers (inside after_fork hooks)?
^ Ruby Conefernce India 2010 first time
352620 [cijokgeorge ] See details
352635 [rob flowof.i] I'm nowhere near India but it is good to see ruby spreading to every
^ a question on method name
352628 [rubynewbee g] class Horse
+ 352629 [shortcutter ] Methods with assignment operator are separately treated by the parser -
+ 352632 [rob flowof.i] class Foo
352634 [rob flowof.i] Oops. If you want that to work as-is..
^ TupleSpace Documentation
352630 [rotuz inmail] I'm writing TupleSpace in C++ and I'd like to have it compatibile with
352661 [tim.pease gm] Rinda uses DRb for communication over sockets. There is not a "spec" for =
^ which template for ruby-begin project?
352637 [rubynewbee g] Once we used Template::Toolkit (Perl) and Smarty (PHP) for templates,
+ 352638 [mitko.kostov] Most of the people I know use HAML ( http://haml-lang.com/). Erb and
+ 352644 [b.candler po] Yes - in the sense that it's very much smaller, and you can easily grasp
+ 352645 [b.candler po] I don't like the default choice of templating language, but you can
+ 352646 [rubynewbee g] Thank you Brian for the useful information.
+ 352651 [marnen marne] Unfortunately, you don't want well-formed XML for Web apps -- you want
^ How to make a ruby program tu run unser other user:group different than root
352653 [ibc aliax.ne] =20
+ 352654 [mguterl gmai] ers.
| 352655 [ibc aliax.ne] re
+ 352656 [lists bertra] n=20
352658 [ibc aliax.ne] re
352663 [ibc aliax.ne] ss
+ 352664 [ibc aliax.ne] =20
| 352772 [alfred.anzlo] It is almost certainly a permission issue. Check it again.
| 352774 [ibc aliax.ne] =2D--------------
+ 352769 [alfred.anzlo] It looks like a recursion to me. You do not get infinite
352770 [alfred.anzlo] Forget about my previous answer. I've copied the original code nd it
352771 [ibc aliax.ne] No issues there as using shell and logging as "alice" I can go into /home/i=
^ Gruff & Uneven Data: Interpolation or Line Connection
352660 [nlgunther ya] I often have data, for example, for interest rates with varying
^ Question about file management [read]
352670 [atma convale] A salut to the list,
352693 [shortcutter ] Ha! There you are not using block form of File.open and you do not have
352703 [atma convale] On 13 =CE=94=CE=B5=CE=BA 2009, at 1:20 =CE=BC.=CE=BC., Robert Klemme =
352708 [shortcutter ] There full syntax you can have with begin end blocks is
352721 [atma convale] On 13 =CE=94=CE=B5=CE=BA 2009, at 4:35 =CE=BC.=CE=BC., Robert Klemme =
^ gets command help --ruby
352689 [khanal02 gma] stopped with input method. i search and found that gets is the command
+ 352690 [stefano.croc] puts "insert any text"
+ 352691 [ninja slapha] How what?
^ Code block for element comparison in an array?
352694 [novelltermin] I'm new to Ruby and I can't think of how to do this! I would like each
+ 352696 [shortcutter ] you can use Fixnum#upto.
| 352698 [novelltermin] I thought Ruby does not have a for loop. Am I wrong? If it doesn't, I
| 352701 [novelltermin] for i in 0..array.length-1
| + 352706 [eregontp gma] Here the solution with Integer#upto(n), as mentioned by Robert.
| | 352712 [novelltermin] Thanks everyone for the information! :D
| + 352710 [marnen marne] It would be more Rubyish to make the outer loop an each_with_index, I
+ 352705 [jose.halesga] charset=US-ASCII;
| 352713 [novelltermin] a[(i+1)..a.length].each
| 352717 [shortcutter ] It's a bit inefficient as it will create n intermediate Arrays. Also,
| 352718 [james grayso] Aren't they Copy on Write though?
+ 352707 [usenet-nospa] Why?
352711 [novelltermin] I'm making a scheduler for my college courses! First, it picks out the
352716 [ shot hot.pl] classes =3D ['devel', 'databases', 'IT']
^ FasterCSV question: skip headers
352697 [schang wxs.n] I am refactoring a class that's using Fastercsv to read a csv file. How
352715 [james grayso] How do I skip the first (header) line. Now I'm using a helpvariable =
352719 [schang wxs.n] Thanks for your response. I tried the header option. It worked,.
^ Global Warming and what you can do to against it
352709 [sustainable.] Dear All,
^ class ExistingName
352722 [shevegen lin] Recently i created a file object.rb
352723 [sutniuq gmx.] module A
358080 [shevegen lin] Thanks that helped.
^ getting shell output
352724 [iwasinnamukn] I'm trying to write a script that automates some backups using dump. The
+ 352725 [sutniuq gmx.] require "open3"
| 352726 [iwasinnamukn] Thanks Marvin, that works perfectly. God knows why stderr wasn't getting
+ 352728 [w_a_x_man ya] Tested under windozeXP.
+ 352733 [dan telent.n] open3, as others have referred you to, is most probably the Right Thing.
^ case with && not working compared to using if, works!
352727 [derekbellner] I looked through many threads for case issues and they did not help me.
+ 352737 [ryand-ruby z] It just doesn't work this way. It is nonsensical. Stick to your =
| 352743 [derekbellner] LOL...advice taken. Thanks Ryan. :)
+ 352750 [lists bertra] if pidhash.value? 7 then
^ gsub help
352729 [kvetch gmail] I am reading in a file that is basically a csv file but the delimiter is
+ 352731 [rob flowof.i] "john crichton 555-555-1234 ^A street name with spaces^
+ 352732 [yermej gmail] Check out the docs for fastercsv - http://fastercsv.rubyforge.org/ -
+ 352734 [s.korteling ] ar=FasterCSV.read( path_to_file,{ :col_sep => " ", :quote_char =>'^' })
| + 352760 [kvetch gmail] Thanks Siep. I got it to work nicely. I appreciate you and Yernej's
| + 352778 [shortcutter ] ray.
+ 352754 [kvetch gmail] Thanks yermej. I wasn't using the fastercsv separator because I was
+ 352761 [kvetch gmail] Thanks Yermej. I got the quote characters to solve my problem.
^ Poll: Significant Indentation
352736 [ninja slapha] I've just re-read the "Beating a Dead Horse" thread. I will bring that up
+ 352738 [usenet-nospa] I've been using erb since that's what's handy in rails.
+ 352741 [flo andersgr] Okay, flame on ;)!
| 352744 [ninja slapha] Well, if you want...
| + 352746 [usenet-nospa] The problem is that indentation sensitivity isn't optional -- it's
| | 352751 [ninja slapha] That is true of any library. It's also true of the Lisp-like syntax I
| + 352747 [flo andersgr] It was more meant as a joke. Remember: pack irony tags next time ;).
| 352749 [ninja slapha] Oh, I got it. The smiley was a dead giveaway, right? :P
+ 352742 [charlesnjohn] What is your favorite Ruby template language for generating HTML?
+ 352745 [ninja slapha] Haml.
+ 352787 [b.candler po] But which is better? There's only one way to find out. FIGHT!!!
| + 352793 [eregontp gma] What is your favorite Ruby template language for generating HTML?
| + 352797 [b.candler po] unnoticed, and may have unpredictable effects in the browser(s). It may
| + 352841 [ninja slapha] This is interesting, and came up a lot in the previous discussion -- mostly in
| 352844 [usenet-nospa] I don't think it makes sense to describe it as optional.
| 352866 [ninja slapha] Why not?
| 352872 [usenet-nospa] The grammar for parentheses in Ruby is not-optional, but it happens to
| + 352876 [walton vyper] This has always been my objection to significant whitespace, is it's too
| + 352909 [ninja slapha] I agree. I don't think it has to be a special token at the start of a block,
+ 352834 [rogerpack200] rhtml
+ 352850 [tony medioh.] I would support Haskell-style optional indentation in Ruby, although I can't
+ 352857 [james.britt ] Erb or Ezamar, depending on what I'm doing.
+ 352880 [josh.cheek g] I just think we should try to avoid adding new exceptional situations to the
| 352914 [ninja slapha] If you really think that, I think you'll find Lisp much easier and more
| 353022 [josh.cheek g] I've actually just bought the Prag Prog book for Clojure :)
| 353054 [ninja slapha] Actually, syntax wasn't my problem with Lisp -- macros make it even better,
| 353063 [josh.cheek g] I agree about Haml, so I suppose my answer to the poll must be that white
| 353068 [tony medioh.] I guess I'm on the completely opposite side of the fence: I find the way
+ 352915 [rogerpack200] In general I'm in favor of optional significant whitespace, because it
352919 [hramrach cen] I'm not sure adding significant indentation is a good idea. The Ruby
^ [ANN] Rainbows! 0.9.0
352739 [normalperson] Rainbows! is an HTTP server for sleepy Rack applications. It is based on
^ [ANN] Sunshowers - Web Sockets for Ruby, Rack+Rainbows!
352740 [normalperson] Sunshowers is a Ruby library for Web Sockets. It exposes an easy-to-use
^ [ANN] Sunshowers 0.1.1
352748 [normalperson] Sunshowers is a Ruby library for Web Sockets. It exposes an easy-to-use
^ [ANN] December Phoenix Ruby User Group Meeting (12/14)
352752 [james.britt ] December Phoenix Ruby User Group Meeting
^ What is the :argument syntax about?
352753 [hypermeister] I've noticed that for some methods in some gems, it's necesarry to pass
352757 [flo andersgr] method( {:arg1 => value, :arg2 => value} )
^ What's happened to http://www.ruby-doc.org/core ???
352755 [RichardDummy] File not found
+ 352756 [RichardDummy] On Dec 13, 10:01=A0pm, RichardOnRails
+ 352762 [james.britt ] I run ruby-doc.org; it appears OK to me.
352808 [RichardDummy] ex.html.
^ about object methods
352759 [rubynewbee g] I have two questions,
+ 352763 [flo andersgr] On 13 d=C3=A9c. 2009, at 23:46, Ruby Newbee <rubynewbee@gmail.com> =
| 352776 [shortcutter ] in
+ 352777 [devguy.ca gm] a class method well belongs to the class =P
^ Using roo to avoid need for Excel to be installed
352764 [davids kjros] I have installed rubyzip and roo gems to bypass the need to have excel
352780 [thopre gmail] 2009/12/14 David Schulberg <davids@kjross.com.au>
+ 355493 [clement.lagr] Do you plan to do anything about that ?
+ 355494 [clement.lagr] I also had to install hpricot and oauth gems... (And use rubyzip2
^ Nokogiri docs?
352765 [devguy.ca gm] I've got the gist of Nokogiri from reading their tutorial and got
352802 [mike.dalessi] 2009/12/14 Rajinder Yadav <devguy.ca@gmail.com>
^ How to write this correctly?
352766 [rubynewbee g] 'Hello, Matz! again'
352767 [rubynewbee g] Oh sorry I have found that.
+ 352768 [w_a_x_man ya] "Hello, %s %s" % ["Matz!", "again"]
| 352773 [rubyhacker g] str = sprintf("Hello, %s %s", "Matz!", "again")
+ 352785 [lists bertra] Be aware that % is interpreted as an operator because of the
352812 [rick.denatal] Actually, I'm not sure how that % before the ( is being seen by the parser.
^ Error on using require 'unittests/setup'
352775 [puneet.patta] I have a Test file with fallowing required items
352781 [b.candler po] (Notice that's line 2 of your script)
^ ruby eval magic
352779 [dmg2009 dmg.] self.class.class_eval{self} == self.class.instance_eval{self}
352782 [dmg2009 dmg.] It seems that we don't need class_eval method. Because if we use a
352796 [b.candler po] Yes, we do. But it took me a while until I found out why.
352846 [dmg2009 dmg.] Oh, I see. Yes, the context matter when defining methods.
^ about class and module
352784 [rubynewbee g] Coz Ruby's class and module are close to Perl's, I think it's not hard
352805 [b.candler po] * class Class inherits from class Module
352810 [rubynewbee g] Thanks for the points. That looks very interesting.
+ 352819 [b.candler po] s1 = "a string"
| 352821 [b.candler po] I shouldn't have said "private to", because private methods are
+ 352822 [jgabrielygal] A singleton class of an object (also referred sometimes as eigenclass
352873 [rubynewbee g] Thanks a lot Brian and Jesus.
^ problem with trivial regular expression
352786 [villa.hxc gm] I am trying to remember the use of regular expressions and i have a
+ 352788 [jgabrielygal] irb(main):001:0> s =3D "
| 352790 [eregontp gma] We are quite according in our posts :)
| 352792 [jgabrielygal] Yep, but I forgot the %r. Escaping / is ugly :-).
+ 352789 [eregontp gma] => "fajljsfjaosfohttp://www.marca.comjafosjodfahttp://www.as.comjfoaasjofja"
+ 352791 [ninja slapha] Any particular context? Or is it actually that random?
+ 352794 [b.candler po] URL schemes that involve the direct use
+ 352799 [villa.hxc gm] Thanks for all answer,
352801 [b.candler po] But where does this string actually come from? It looks a bit like URLs
353538 [villa.hxc gm] Sorry, i forgot this post.
threads.html
top