271614-272946

271367-275513 subjects 271784-273485

^ Strange difference in performance (30x) between PPC and Intel
271614 [listbox juli] I have a very odd problem here and thought that I should ask your

^ How to create a windows startup app
271616 [saliktheblan] I want my RUby app to automatically be called when windows boots up ...
271657 [james.britt ] Add a link to the program in the Start Up program group
271694 [stack.tcpip ] And in this case you'd probably need Hstart utility
271717 [james.britt ] If one is using Curt Hibb's "one-click" installer version of Ruby, you

^ [Q] how can I start a shell process and return immediately?
271617 [stephen.bann] I want to start a Java program from a Ruby program and have the Java
+ 271621 [cameron.math] There may be another way, but the first thing that came to mind for me
| 271705 [stephen.bann] * Thanks Cameron,
+ 271630 [sepp2k googl] I don't know what exactly "this" is, but system("some_command &") works just

^ a lot of directories each with a .zip
271619 [significants] I could go about this a bunch of different ways. my lame bash skills
+ 271622 [cameron.math] I don't know anything about the ruby module, but I think this bash
| 271628 [jgabrielygal] I think the above is the best. Other way if you really want to use
+ 271627 [dolgun excit] ls -R | grep zip  (you don't need quotes)

^ Re: how can I start a shell process and return immediately?
271620 [dolgun excit] "this"?  Here let's play a little game.  You try to help me.   Here is
271632 [dolgun excit] r8test.rb

^ OLE Object - combo box problem
271625 [mihai.bulhac] -i want to add to an excel worksheet a meniu accessing from a combo box
+ 271648 [masaki.suket] Try $combo_box.object.additem("opt1").
+ 271658 [masaki.suket] Sorry, I had not noticed your second question.
  271674 [mihai.bulhac] tnx a lot, now additem its working, but for the combo box menu make it
  271710 [masaki.suket] I'm not sure that I understand what you want to do,
  271765 [mihai.bulhac] OLE error code:800A03EC in Microsoft Office Excel
  271766 [mihai.bulhac] excel2.rb:207:in `method_missing': Item (WIN32OLERuntimeError)
  271773 [masaki.suket] Is $worksheet_asitt_menu WIN32OLE object?
  271777 [mihai.bulhac] $excel = WIN32OLE.new('Excel.Application')
  271781 [masaki.suket] $combo_box=$worksheet_asitt_menu.OLEObjects.Add("Forms.Combobox.1").object
  271782 [mihai.bulhac] TNX a lot man, its working now; indeed it was with that comp.name a

^ Re: dike-0.0.1 - a memory leak detector
271637 [anibalrojas ] If using MySQL check the version of the gem you are using.

^ Noobie question: saving the values
271638 [squeezzed gm] May you forgive me for this irrelevant thread but nonetheless, I need
+ 271639 [dblack rubyp] "Link" isn't the right word. Variables contain either the actual value
+ 271640 [wayneeseguin] You're first way makes 'a' point at a new string object "12".
  271642 [squeezzed gm] Thanks for your quick help, looks like I'm starting to understand

^ unit testing: example p. 156 pickaxe2
271644 [dolgun excit] require "test/unit"
+ 271921 [dolgun excit] Anyone?
+ 271938 [dolgun excit] ARGF.read   #<---***

^ iCal (ics) parser in Ruby
271647 [unbewusst.se] does exists an iCalendar (ics extension) exists un ruby ?
271670 [jeremy hineg] Try out vpim.  http://vpim.rubyforge.org/
+ 271722 [unbewusst.se] fine ! thanks a lot, it's exactly what i needed !
| 271725 [unbewusst.se] i'd like to say instead of vCards i'm using an xml version of those
+ 271730 [unbewusst.se] ~%> sudo gem install vpim
  271745 [jeremy hineg] This all just means that the rdoc generation of the vpim gem has some
  271845 [unbewusst.se] #!/usr/bin/env ruby
  271897 [jeremy hineg] These aren't my examles.  I had nothing to do with the development of
  271935 [unbewusst.se] U're right, done !

^ Is there a combination of a struct and an array? I wanna iterate over all created objects from a certain struct-class (I guess).
271649 [kazaam oleco] name=arthur
+ 271655 [sepp2k googl] If the order is guaranteed, it's as simple as
+ 271661 [rff_rffREMOV] Person=Struct.new(:name,:hobby,:home)
+ 271662 [AEtzold gmx.] Dear Kazaam,
| 271664 [kazaam oleco] thanks for you're answers I'll work through the different approaches now!
+ 271666 [listbox juli] 1) You parse the thing into a hash
| 271724 [rff_rffREMOV] 2b) you use openstruct which does it for you :)
+ 271667 [ara.t.howard] require 'enumerator'

^ Iconv hangs while converting chinese UTF-8 to ascii, please help.
271650 [eryan.yu gma] using permalink_fu to generating permalink field.
271736 [nobu ruby-la] How and from where did you install ruby and libiconv?
271783 [eryan.yu gma] It's the Windows One-Click Installer from Ruby's homepage.

^ Cut pages for OCR with RMagick?
271660 [AEtzold gmx.] Dear all,
271701 [TimHunter nc] to_blob just gives you an in-memory copy of the image file. If the image
272031 [steven lumos] When it comes to document imaging, the problem with most image

^ [ANN] VimMate 0.6.5
271665 [guillaume.be] A new version of VimMate is now available: Version 0.6.5

^ erb - erubis problems
271669 [wibblecp gma] I am able to use single rb files or rhtml, but when I try to use a structure

^ a = Dog.new  # a is not a pointer and not a reference?
271673 [summercoolne] when we say
+ 271677 [m_goldberg a] I think it best to think of a Ruby variable as holding a reference to
| + 271683 [summercoolne] hm... so you mean best to think of a Ruby variable as holding a pointer
| | 271689 [gwtmp01 mac.] I think that 'pointer', for most programmers, means an explicit memory
| | 271693 [dangerwillro] Yep.
| + 271698 [halostatue g] Please forget anything and everything you ever learned about pointers
| | + 271718 [vjoel path.b] It's not so mysterious. If you're coming from C/C++, you may find it
| | | 271804 [halostatue g] No, I don't think that's a valid comparison because a void* still
| | | + 271880 [vjoel path.b] Not quite legitimately... you didn't mean to take the address of a
| | | | 271881 [lloyd 2live4] There is a lot of confusion on this one.  While I know for sure that
| | | | 272030 [dblack rubyp] I'm just following what I've always understood, from discussions with
| | | + 271907 [charles.nutt] Ruby variables take up just as much space, they just do it in the call
| | |   + 271910 [halostatue g] That's an implementer's view. When I program with Ruby, I don't think of
| | |   | + 271915 [gwtmp01 mac.] I can see the value of the sticky note analogy but I think it
| | |   | | 271956 [halostatue g] It's an analogy. Nothing more, nothing less. There are ALWAYS limits
| | |   | + 271923 [dolgun excit] Your original post was ridiculous and now you've been called out.  Take
| | |   |   271958 [halostatue g] Are you always this unpleasant, boorish, and rude?
| | |   + 271927 [summercoolne] yes, that's what i mean by thinking of a reference to an object as a
| | |     272006 [charles.nutt] I think the named slots holding object references analogy is probably as
| | + 271719 [m_goldberg a] My use of "holding" may be unfortunate. I only meant it conceptually.
| | | 271805 [halostatue g] So are succubi ;)
| | | 271822 [ttmrichter g] Sure there is.  I am married because of C++.  Before C++ I kinda-sorta
| | + 271732 [summercoolne] Doesn't a Ruby variable behave the same way in Java, PHP5, C++, and
| | | + 271734 [summercoolne] $a = new Dog("lulu");   # a is a reference to "lulu" object
| | | | 271740 [m_goldberg a] No, you do not. Ruby has it own semantics, which do not correspond
| | | | + 271746 [summercoolne] hm,... but is there a problem to think of reference in Ruby as a
| | | | | + 271755 [m_goldberg a] Well, your assertion that a.value is the equivalent of a->value is a
| | | | | | 271761 [summercoolne] how about just a.set_value(3) vs a->set_value(3).  what i mean is just
| | | | | | + 271786 [jballanc gma] I think that this will get you into trouble only because you will
| | | | | | | 271787 [jballanc gma] Apologies. That should be "do not translate well"
| | | | | | + 271793 [dblack rubyp] And I'd add that bareword identifiers are sometimes *not* variables,
| | | | | | + 271795 [ttmrichter g] I think part of your confusion here, SFAM, is that you're talking about
| | | | | + 271791 [dblack rubyp] Imagine if you went to a C mailing list and announced that you were
| | | | | + 271908 [charles.nutt] Ruby variables hold the value of an object reference. Reassigning the
| | | | + 271812 [halostatue g] It's close enough to the whole story as to not matter from the Ruby
| | | + 271748 [iw1junk comc] No.  Well, yes, to the extent that variables in all these languages
| | | | 271751 [summercoolne] I want to think of it like as a pointer to distinguish it from the C++'s
| | | + 271810 [halostatue g] Didn't I just say that they aren't the same?
| | |   + 271818 [dolgun excit] What makes you think that is the op's goal?
| | |   | + 271851 [halostatue g] Because I tend to assume the best intentions in people. I see no
| | |   | + 271859 [summercoolne] I asked similar question before although at that time I didn't know the
| | |   + 272026 [charles.nutt] In exactly the same way as Java variables don't take up space...except
| | + 272271 [rick.denatal] And moving a sticky note to another object  leaves any other sticky
| + 271785 [ttmrichter g] I spoke with Dr. Meyer during his trip to China last year.  One of the
|   271798 [ttmrichter g] I don't know.  I'm not sure what a "Dragomir" is.  If it's a name, its
|   271799 [robert.dober] yup I think that's him, please note that if his parents had called him
+ 271679 [dolgun excit] Sort of sounds like a constant pointer, doesn't it?
+ 271681 [dblack rubyp] It's a reference; at least, that's the term I've always heard Matz and
| 271686 [dolgun excit] What language is ruby written in?  (Not jRuby or IronRuby.)
| + 271687 [TimHunter nc] RMagick OS X Installer [http://rubyforge.org/projects/rmagick/]
| + 271728 [dblack rubyp] C. It sounds like you're asking the question rhetorically, though. I'm
|   271743 [phlipcpp yah] C doesn't have references. Hence, as a metaphor for Ruby, the 'a' in 'a =
+ 271696 [listbox juli] This has been discussed at greatest length imaginable. Personally I
| 271700 [halostatue g] There is no Object#replace method. String, Array, and Hash each have
| 271731 [listbox juli] Sure. Mistake on my part. But the semantics of something#replace are
+ 271973 [overlord gmx] ей is a variable. A variable is never a pointer.
+ 272659 [wangqianpku ] On Sep 30, 1:16 am, SpringFlowers AutumnMoon

^ Re (30x) difference between PPC and Intel - ruby-yadis found guilty
271675 [listbox juli] Ok, figured it out. It was ruby-yadis who, for some reason, was

^ How to setup Ruby on Apache
271685 [junu.pv gmai] here, i want to run ruby on apache, in which, embedding ruby within
271690 [wibblecp gma] I have some problems with my scripts but a lot of that work fine

^ [ANN] dike-0.0.3
271688 [ara.t.howard] NAME
271902 [ news jay.fm] Hey, ara, what's new?
271912 [ara.t.howard] touche teacher.  touche.
271918 [ news jay.fm] No, I mean, really.. what's new?  There's no changelog.
272065 [ara.t.howard] sorry.

^ 1.9 - modify frozen object exception
271702 [TimHunter nc] In 1.9, I notice that the exception that is raised for trying to modify
271729 [drbrain segm] ...

^ script/generate model Cookbook yields: `const_missing': uninitialized constant
271703 [REMOVE-CAPSb] This only appears to have started in the past day or so. I initially
271714 [REMOVE-CAPSb] Seems this was caused by soap4r-1.5.8, removing it and using only 1.5.7
271737 [nakahiro sar] soap4r-1.5.6, soap4r-1.5.7 did not work as expected, too.
271884 [REMOVE-CAPSb] The second option seems to work for me and I'll simply leave it that way

^ Calling Ruby from PHP fails on "requires 'mysql'"
271704 [mtlmeijer gm] I'm calling Ruby from PHP using system().
271709 [jan.svitok g] If the problem is in gems, try adding require "rubygems" before require "mysql".(the same may be achieved by setting RUBYOPrubygems in the environment)
271712 [mtlmeijer gm] Thanks Jano,
271720 [mtlmeijer gm] Execution of my script ends at "require 'mysql'".
271871 [jan.svitok g] 1. try adding -w switch to ruby to see the warnings (ruby -w ...)
272034 [mtlmeijer gm] Thanks again!
272039 [jan.svitok g] What came to my mind is whether are you using the same ruby in those two cases?
272071 [mtlmeijer gm] Ok, getting close.
272078 [dangerwillro] *nix trouble!

^ [ANN] scheduler 0.3
271707 [mental rydia] Just a quick note that I've released scheduler 0.3, a very small library

^ Regular Expresion Error?
271711 [filipedlarca] According to the Regular Expressions section of the following ruby
+ 271713 [filipedlarca] Forgot to mention: Im running ruby 1.8.6 at Mac OS X 10.4.
+ 271772 [sepp2k googl] Both return "He<<ll>>o" for me.
+ 271774 [ed.odanow wo] Both return "He<<ll>>o" on my machine too (Windows2000 -
  272657 [filipedlarca] On Sep 30, 5:52 am, "Wolfgang N=E1dasi-Donner" <ed.oda...@wonado.de>

^ [ANN] Gosu 0.7.6 - features RMagick integration & new example game
271733 [julian rasch] Gosu is a 2D game development/multimedia library with a focus on

^ Newbie needs help getting user input
271738 [bostonantifa] I'm trying to learn Ruby and trying to convert a Perl program at the
+ 271739 [wayneeseguin] Peter,
| 271741 [bostonantifa] Wayne,
+ 271749 [dolgun excit] print "Enter option (1, 2, 3): "
+ 271750 [dangerwillro] puts "Enter option:"
+ 271771 [sepp2k googl] The ruby equivalent of this would be  STDERR.print "Enter option: "  but why
  271806 [bostonantifa] Sebastian,
  + 271817 [bostonantifa] Sebastian,
  | + 271821 [sepp2k googl] File.open(filename,'w') do |f|
  | + 271823 [dolgun excit] 1)
  |   271824 [dolgun excit] Whoops,  too slow.  And I had some detritus stuck to the front of that
  |   271838 [bostonantifa] 7stud,
  |   271840 [sepp2k googl] puts adds a newline at the end (if the string doesn't already end with a
  + 271819 [sepp2k googl] Well, he doesn't say that he doesn't recognize gets, he says that an error

^ Newbi needs help installing Rubygems in XP
271742 [bostonantifa] I need to install Rubygems on my Windows XP Pro machine.  Can anyone
271747 [list.push gm] Does this help?
271803 [bostonantifa] Yes, thank you Harry!

^ Re: how can I start a shell process and return immediately?
271756 [dolgun excit] You can consider the sleep(4) statement in the subprocess as a stand in

^ unsubscribe
271760 [mamajeed42 g] ...

^ Subclassing Thread?
271762 [sgware gmail] Is it possible to launch a Ruby thread without passing a block to
+ 271763 [yermej gmail] class MyThread < Thread
+ 271829 [dolgun excit] The following simulates calling run to start a thread.  It stops the
  271837 [kero chello.] The usual question is, why would you want that?
  + 271857 [sgware gmail] My motivation for wanting the thread in a separate class is simply
  | 271974 [shortcutter ] Personally I always found the Java way to inherit java.lang.Thread
  + 271865 [ari aribrown] Does a thread need to be started with x.join, or will it start
    271866 [dolgun excit] As this thread highlights, there doesn't seem to be a way to create a

^ how to handle cookie with ruby
271768 [leondu gmail] the problem is I want to fetch content from a website which need login
271797 [mortee.lists] which is designed for just this kind of thing.
271917 [leondu gmail] thanks a lot, mechanize seemed to be the solution :)

^ Can you please help to make decision?
271776 [bh izb.knu.a] Fist of all, sorry for poor English, I am not professional English
+ 271778 [summercoolne] Ruby, no question about it.
| 271820 [bh izb.knu.a] Thank you for kindness..
+ 271808 [dolgun excit] I would choose python.
| + 271816 [bh izb.knu.a] [...snip...]
| + 271826 [m_goldberg a] Look under 'block' not 'code block'.
| | 271861 [dolgun excit] Ahh. "Blocks" as in "Proc's and blocks".
| | 271867 [dolgun excit] Here's a simple test for the op.  Which of the following do you think is
| | + 271874 [w_a_x_man ya] colors = ["red", "blue", "green"]
| | + 272040 [perrin apoth] In the case of someone who has never programmed before, I rather think
| |   + 272044 [logancapaldo] You bring up an excellent point. Where the hell did "for" come from
| |   | 272931 [jwkenne attg] *for* i := 1 *step* 1 *until* 10 *do*
| |   | 272946 [logancapaldo] <snip snippet>
| |   + 272047 [dangerwillro] But you forget, Ruby can also do
| |   + 272123 [perrin apoth] . . . and while I'm at it, I think this might be even more easily
| + 271836 [phlip2005 gm] (-;
| + 271843 [bigboss64 ip] If you are not the best at English, I would suggest Ruby.
| + 271855 [w_a_x_man ya] Those are probably the same people who can't figure out
| | 272112 [perrin apoth] I should have read this before I responded and brought up the idea of
| + 271869 [summercoolne] if viewed as "hey number 12, i give you a message, and the message is
| + 271977 [james graypr] I'm staying out of the Ruby vs. Python debate, but the above is just
| | + 271981 [znmeb cesmai] +1
| | + 271987 [phlip2005 gm] Then test them, clean them up, use /m on their ends so you can group
| | | 271988 [w_a_x_man ya] Incorrect.  /m makes . match a newline.  /x lets you put extra
| | | 271994 [phlip2005 gm] I upgraded one of my assertions to write that post. I added blanks,
| | + 272116 [perrin apoth] Agreed.  If an emacs user can learn to use a regex, anyone can.
| + 272153 [perrin apoth] Technically, you're using "to_s" to call a method -- but you're sending
+ 271868 [summercoolne] I think one thing is the "fun" factor, that i have programmed in BASIC,
+ 271870 [dolgun excit] numbers = [10, 20, 30]
| 271872 [w_a_x_man ya] numbers = [10, 20, 30]
+ 271925 [codethought ] I don't think Python has ever gained the traction that Ruby has,
  271983 [dangerwillro] Huh? Python's got lots of traction! Just not the buzz.
  + 272072 [perrin apoth] True.  Perl, Python, and Ruby are all quite widely used.  For instance,
  + 272128 [codethought ] Yea I knew I'd invoke some ire by saying that.
threads.html
top