380581-381895

380361-380752 subjects 380734-381638

^ date format
380581 [unbewusst.se] I'm building a sitemap.xml using ruby, one input "lastmod" is expected
380582 [nobuoka r-de] Yes. There are several formats to represent time.
380583 [unbewusst.se] ok, fine, cristal clear, thanks a lot !

^ [ANN] test-unit-must 0.0.1
380584 [sunaku gmail] dGVzdC11bml0LW11c3QgLSBTZWxmaXNoICJtdXN0IiBhc3NlcnRpb25zIGZv
+ 380948 [sunaku gmail] * Define missing negative versions of positive assertion
+ 381580 [sunaku gmail] Vim syntax highlighting is now available for

^ Trying to create an array of hashes
380585 [purvez nexar] I'm parsing an XML document and trying to create an array of hashes
+ 380587 [hyagni gmail] You should renew rmcategory every time.
+ 380595 [purvez nexar] Haruka a million thanks.  So simple.... when you know how.

^ [OT] functional paradigm taking over
380586 [shortcutter ] just notice there seems to be a trend in industry to include
380634 [martindemell] I think the same thing is happening with closures, but we haven't
380639 [code apotheo] I think thirty years is unrealistic.  We're probably looking at something

^ basic ENCAPSULATION help
380590 [sbstn26 yaho] This example demonstrates the use of 'private'
+ 380594 [g.diemant gm] In your example: in the initialize method you call the private method
+ 380615 [code apotheo] The initialize method calls the set_name method.  Both of these are
+ 380658 [bbxx789_05ss] One of the key aspects of a private method is: a private method cannot
  380659 [bbxx789_05ss] Whoops.  That's not RULE #1.

^ Lambda Shambda
380593 [rubfor recit] Although a Ruby fan, I must say I'm spending all my time looking at
380612 [code apotheo] Wait, I'm confused . . .
380617 [shortcutter ] That's usually where the intellectual fun begins. :-)
+ 380622 [rubfor recit] Unfortunately most people think the words 'Excel' and 'programming' must
| 380640 [code apotheo] I know that one can use other languages to manipulate data in Excel, but
+ 380641 [code apotheo] Option 2, then.
  + 380653 [bbxx789_05ss] I don't know if you've seen the Pragmatic Programmer's book "Seven
  | 380668 [code apotheo] Actually, I have it.  In fact, I had it on pre-order for an awfully long
  + 380664 [cmdjackryan ] Not a Turing-complete language, anyway.
    380669 [code apotheo] I don't think it really qualifies as a language at all.  It's more like
    + 380683 [rubfor recit] You may be interested in this
    | + 380706 [code apotheo] You could also manage your home budgeting in Brainfuck, but that doesn't
    | + 380812 [josh.cheek g] Coding everything in Excel might be an interesting paradigm to play with. It
    | | 380825 [rubfor recit] Excel is somewhat incidental to this discussion. It is not like
    | | + 380831 [cmdjackryan ] As Carl Sagan once said: Extraordinary claims require extraordinary evidence.
    | | | + 380836 [shortcutter ] I am not sure I fully agree to this observation.  First, I believe
    | | | | 380838 [cmdjackryan ] uages
    | | | | 380851 [josh.cheek g] I'm not particularly familiar with its history, but I don't think Common
    | | | | 380856 [spoon killer] There are some fun looking Excel games
    | | | | 380867 [josh.cheek g] Yeah, I don't have Excel, either :/
    | | | | 380880 [code apotheo] I didn't quite make the statement that "programming" in Excel necessarily
    | | | + 380839 [rett classic] *Let's not pay too much attention to the code snobs on here. I've yet to
    | | | | 380840 [cmdjackryan ] Which you are doing at the moment, it appears. It's a straw man,
    | | | | 380896 [rett classic] *And, of course, since we were talking about making a practical decision
    | | | | + 380899 [cmdjackryan ] Strawman, again.
    | | | | | 380906 [shortcutter ] I'm not sure how you want to prove that given that the number of
    | | | | | 380920 [code apotheo] Yes.
    | | | | + 380918 [code apotheo] Programming is about automation.  The most important things about
    | | | + 380841 [martindemell] No less a person than Simon Peyton Jones has called Excel "the world's
    | | | | 380879 [code apotheo] Oscar Wilde said "Everything popular is wrong."  Abraham Lincoln said
    | | | | 380888 [cmdjackryan ] Though, Microsoft Research is a different beast than MS proper (as
    | | | | 380919 [code apotheo] This is true, of course -- but there is still an influence there where
    | | | | 380923 [cmdjackryan ] There's more to the bottom line than, well, the bottom line. That can
    | | | | + 380930 [code apotheo] I never said otherwise.  What does this (dis)prove?
    | | | | + 380931 [code apotheo] Oops.  There was a transition from one person telling me Jones is right
    | | | + 380942 [iainspeed gm] difficult
    | | |   380945 [code apotheo] On the other hand, I've met some physicists in my time who are complete
    | | + 380852 [code apotheo] I'm also not sure that Excel would be any more accessible to the "newbie"
    | |   380857 [cmdjackryan ] to
    | |   380882 [code apotheo] I was referring to programming language design in general, and not
    | + 380837 [spoon killer] Gee if only you had strong typing you wouldn't get those errors.  And
    + 380705 [cmdjackryan ] The opposite. Definitely the opposite!
      380707 [code apotheo] Okay, thanks for clarifying.  You had me worried for a moment there.

^ Net::HTTP.get_response - No Response
380607 [ja_bowen yah] This was working but stopped.  I've made no upgrades to my system.
+ 380610 [adgar carbon] charset=us-ascii
+ 380616 [code apotheo] Has http://www.quibids.com changed?
| 380618 [ja_bowen yah] It the past I received the body (or code) of the webpage, which I then
| 380630 [code apotheo] So . . . has quibids.com changed -- or vanished?
+ 380632 [b.candler po] That's a redirect (302).
  380633 [b.candler po] HTTP/1.0 504 Gateway Time-out

^ new
380614 [rajad102 gma] ...

^ string/array slices
380623 [patrick.a.ty] understand.
+ 380625 [bbxx789_05ss] Returns nil if the index (or starting index) are out of range.
| 380636 [gwtmp01 mac.] The docs certainly could be more clear but the actual behavior is =
| 380646 [bbxx789_05ss] Nice explanation.  Now if ruby had a self documenting docs, like php, we
| 380672 [adam apresco] +1 on getting this explanation into the docs.
+ 380627 [bbxx789_05ss] I might add, that *feature* is clearly a mistake in the ruby language
| 380631 [gwtmp01 mac.] It is quite clear that Ruby's string model is not at all like C's so why =
| 380645 [bbxx789_05ss] ...because ruby is written in C??
| 380671 [code apotheo] Should Ruby's string model be like the Intel x86 instruction set's string
+ 380628 [patrick.a.ty] Yep, I see.  That's nutty.  I wish that ruby would stop at the null, not
+ 380635 [patrick.a.ty] Gary,
| 380637 [chaos ross.a] It's not only a good thing that Ruby works this way, it's necessary.
| 380644 [patrick.a.ty] Yes and thanks to you too.  I'm onboard now and agree, it's a really
+ 380638 [patrick.a.ty] Wow Gary, I really appreciate the time you took to type that up.  I have

^ SodaSuite Test
380626 [mike.favela ] Im currently trying to run a sodasuite test for SugarCRM when I run the

^ open and enjoy
380629 [rakishkrishn] tutorila for computerssssssssssssss

^ numerical ruby?
380642 [serialhex gm] does anybody know of any good, high-speed numerical ruby libraries, kind of
+ 380650 [bbxx789_05ss] ruby and 'high speed' are sort of antithetical terms.
| 380652 [adgar carbon] charset=us-ascii
| + 380654 [serialhex gm] SWEET!!  thank you both Matz & Michael, NArray looks like it might work for
| + 380655 [bbxx789_05ss] I know a little python, myself.
| | 380657 [adgar carbon] charset=us-ascii
| + 380749 [cameron.mcbr] narray is great.  and if you need more capabilities, there are several
+ 380651 [matz ruby-la] Google NArray.
+ 380767 [colinb2r goo] of

^ How can I generate new variables?
380643 [haebooty yah] cannot figure out. What I am trying to do is create new variables that
+ 380647 [bbxx789_05ss] That is a typical beginner question.  You NEVER need to do that.  All
| 380662 [haebooty yah] First off thank you for the reply, and as you can probably tell I am
| + 380674 [g.diemant gm] 2011/3/31 Kyle X. <haebooty@yahoo.com>
| | 380708 [haebooty yah] Thank you all very much for your responses.  Both solutions work great.
| + 380675 [shortcutter ] You can easily cook it yourself
| + 380722 [bbxx789_05ss] No problem--that's what this forum is for.
+ 380794 [haebooty yah] Dear 7stud,
  380890 [shortcutter ] But that is about REXML and not general iteration of collections in

^ whats the best gui you can get for ruby
380648 [stnvttr gmai] I do not like shoes i have all ready tried it .
+ 380649 [bbxx789_05ss] I find that the wx* flavors of gui's are best, which in this case would
+ 380678 [jakekaiden y] if you can get gtk2 up and running, i strongly recommend it - it's got
+ 380679 [edmond.kacha] I haven't started GUI programming with Ruby, but I have seen my colleague

^ Automating simple web forms
380656 [echristopher] What would be the best headless web testing/automation library to use,
+ 380663 [bpettichord ] Have you looked at Celerity?
+ 380712 [marco-oweber] The only headless browser supporting JS I know about is HTMLUnit
  + 380720 [echristopher] Yeah, I looked a little at that. Apparently you can use it from within
  | + 380746 [adam apresco] There's a non-Ruby headless browser with JavaScript I recently discovered
  | + 380750 [b.candler po] I suggest you have a look at cucumber too (cukes.info) - this is a sort
  + 380748 [richard.conr] Celerity.

^ gtk question
380660 [stnvttr gmai] when i type make in the terminal it says that is there is no make file
380677 [jakekaiden y] there's a gnome2 section of this forum, where it would be more
380686 [chris chrisk] Did you run the configure script first?  If installing from source, you

^ i also wanted to add what the error looked like
380661 [stnvttr gmai] Posted via http://www.ruby-forum.com/.

^ Troubles with autotest and rspec2
380665 [tony.arcieri] I'm trying to use autotest in conjunction with RSpec 2. Almost everything
+ 380701 [jeremy hineg] You can alter how autotest looks at the mappings between tests and files
| 380704 [tony.arcieri] Heh, thanks for the help as well :)
+ 380702 [tony.arcieri] Fixed my problem...

^ [Mac OS X SL] wxRuby :: no suitable image found.
380666 [unbewusst.se] I wanted to gibe a try of wxRuby on Mac OS X SL (latest) after
380667 [unbewusst.se] imyt% which ruby1.9
380698 [sutniuq gmx.] You installed the version for Ruby 1.8. Do

^ [ANN] Rails 3.0.6.rc2
380670 [aaron tender] OH EM GEE!!!

^ Dereferencing instance variables vs local variables/methods
380684 [josep.m.bach] I think I don't agree/understand how instance variables work in ruby.
+ 380685 [g.diemant gm] Consider something like this
| + 380688 [vbosch gmail] Regarding this issue I have come to the same conclusion as Gunther.
| + 380700 [jeremy bopp.] It's good advice to always initialize all of your instance variables
+ 380719 [bbxx789_05ss] if 1 > 5
  380741 [b.candler po] Local variables *are* initialized to nil.
  380743 [josep.m.bach] I can see the point. It's all about tradeoffs I guess (with this behavior

^ how to refine the code to avoid using fork on windows?
380689 [firewall888 ] here is the thing, i need to move a previous ruby program from Linux to
+ 380691 [jeremy bopp.] Have you considered using Cygwin (http://cygwin.com) and the ruby
| 380695 [firewall888 ] our usage, that's why we won't use cygwin any more.
| + 380696 [hramrach cen] ile Cygwin
| | 380703 [sutniuq gmx.] A better way IMO is to use the #spawn method which calls the external
| | 380726 [firewall888 ] is #spawn's behavior just similar to fork+exec?
| + 380697 [klauer gmail] It might help to forward this on to the RubyInstaller group, since Luis
+ 380727 [tony.arcieri] Check out the childprocess gem: https://github.com/jarib/childprocess
+ 380802 [firewall888 ] i tried using win32-process to emulate #fork, although the code need no

^ HOLLYWOOD ACTRESS SO HOT VIDEOS AND PICTURES HERE
380690 [devivithyama] ...
380692 [edmond.kacha] Nonsense! Not health for me. Can he moderator look at what is happening?

^ reliz.org.ua
380693 [semenshikov ] reliz.org.ua

^ Re: Installing Pg gem for PostGreSQL 8.4
380694 [miller frank] This post was helpful because it helped me to realize that I needed gcc

^ Monitoring
380709 [vivek.vaid g] Charles - Any insights into jxinsight vs new relic?

^ Simple array.each do |x| question
380710 [haebooty yah] direction = doc.elements.each("doc:iso_10303_28/uos/IfcCartesianPoint")
+ 380711 [roger rogerb] The variable z does not contain an index but the object you need. Try
| 380713 [haebooty yah] Thanks for the reply; however, both of these produce a new error is
| 380714 [g.diemant gm] attribute is a method, so try z.attribut('id')
| + 380717 [haebooty yah] That fixed it, thanks very much for your time and help!
| + 380764 [haebooty yah] Thank you all for your responses.  I have a second part question.  I
|   + 380766 [code apotheo] =20
|   | 380768 [haebooty yah] I am sorry for not including this.  reference1 and reference2 are two
|   | 380781 [code apotheo] I still haven't gotten around to looking at the second loop.  I'm between
|   + 380785 [code apotheo] =20
|     380796 [haebooty yah] Thank you again Mr. Perrin, I went over the code you provided and
|     380806 [bbxx789_05ss] p some_array
|     380820 [code apotheo] transformed_data =3D data.map {|arr| arr.map {|int| int.to_f } }
+ 380808 [bbxx789_05ss] 1)
| + 380821 [code apotheo] =20
| + 380936 [haebooty yah] Thank you Chris and 7stud, both of your explanations are great and are
|   380938 [code apotheo] =20
+ 381032 [haebooty yah] Doh, sorry Chad, just a typo there.  Sometimes my mind reads what it

^ Sinatra and Shotgun Gems
380715 [rclark.sf gm] and for whatever reason, I can't get the shotgun gen to load.  My
+ 380728 [gdprasad gma] This worked for me on Ubuntu after "sudo gem install shotgun"
+ 380738 [b.candler po] How did you install sinatra? You might be using the native Debian
+ 380932 [rclark.sf gm] Brian,

^ Announce: ruby-perl gem released
380716 [andrea.campi] ruby-perl lets you evaluate and run Perl code within the same binary,
+ 380724 [botpena gmai] very nice. yet after installing, i get,
| 380729 [andrea.campi] perl -V
| 380730 [andrea.campi] I think I've fixed this issue, I would appreciate it if you could try again.
+ 380731 [tony.arcieri] Is anyone using ruby-perl in a Phuby on Phails application? I also need to
  380732 [andrea.campi] Interesting questions and a clever naming convention.

^ [ANN] hoe 2.9.2 Released
380718 [ryand-ruby z] hoe version 2.9.2 has been released!
380751 [eldestdamphy] Excellent work as always Ryan.
380773 [ryand-ruby z] not respect the Manifest.txt when it comes to the test/ directory.
380795 [eldestdamphy] Well, the same way I want to exclude some of the files from the library

^ Can you search in REXML by attributes?
380721 [haebooty yah] forum.  I am trying to figure out how to search through an XML file and
+ 380723 [bbxx789_05ss] //IfcLengthMeasure[@id = 'i1671']
+ 380725 [bbxx789_05ss] //*[@id = 'i1671']
+ 380737 [shortcutter ] t")
| 380755 [haebooty yah] What my goal is is to start at a given location (in this case-
| 380759 [jgabrielygal] ush(next_id)
| 381264 [haebooty yah] Thank you for the help.  I had been using REXML and it was working find
| 381265 [haebooty yah] ost
| 381277 [jgabrielygal] $ cat noko.rb && ruby -rubygems noko.rb
| 381304 [haebooty yah] Thank you for your reply.  When I continue to try and read the file I
| 381333 [jgabrielygal] require 'nokogiri'
| + 381338 [shortcutter ] The alternative is
| + 381375 [haebooty yah] Thank you for the response.  After reading the link you provided to make
|   381381 [jgabrielygal] Yes.
+ 380763 [haebooty yah] Thank you Jesus, that is exactly what I was looking for and it works
| 380889 [shortcutter ] Here's the same with REXML.
| 380935 [haebooty yah] Thank you too Robert.  This is a great explanation.
+ 381873 [haebooty yah] having trouble trying to read some xml, and from my reading online I
+ 381895 [haebooty yah] This has sufficiently deviated from the title of the thread, so to make

^ Unwanted collector in regular expression
380733 [ruby ayni.co] installation here ruby-1.8.6.420-2.fc13.x86_64
+ 380739 [b.candler po] Why don't you make a simple, standalone test program which demonstrates
+ 380740 [shortcutter ] You should rather use Regexp.union(crix) in order to ensure proper
threads.html
top