359513-361602 subjects 359900-360326
^ user input timeout.
359701 [jointgek gma] i'v bin programming for about 2 week now and just about completed
+ 359703 [shucao gmail] results =3D select [STDIN], nil, nil, X-seconds
+ 359704 [jgabrielygal] require 'timeout'
359708 [jointgek gma] it didn't seem to work,
+ 359720 [colinb2r goo] It might depend on which operating system and/or Ruby version you are using.
| + 359739 [jgabrielygal] ng.
| + 359762 [headius head] ng.
+ 359721 [colinb2r goo] [* same post as just made, but this time I've remembered to add the code *]
^ uninitialized constant CSV::Reader
359706 [nathan furry] I've searched google and these forums but can't find anything for this
359707 [b.candler po] Perhaps you have another file called csv.rb which is earlier in your
360058 [nathan furry] notice which made me try CSV::Reader in the first place :-)
360059 [james grayso] plus
360079 [shortcutter ] 2010/3/31 James Edward Gray II <firstname.lastname@example.org>
360081 [james grayso] interface that has not survived. :-) He rather needs to adjust to the =
360090 [nathan furry] hehe cheers guys that gives me a start :-) I'm just learning ruby and
^ any ruby libraries for db4o
359710 [junkone1 gma] this object based database seems to be amazing. wondering if there is
359819 [headius head] I bet it would be pretty easy to get it to work with JRuby. Might
^ how to write in an array inside a block?
359711 [joon.ch gmai] i want to write all files from my local directory in an array.
359714 [chris.hulan ] If file_list did not exist before the block,
359715 [aldric trevo] Indeed.
^ Cognizance presents INSOMNIA: The Midnight Programming Contest
359725 [dipgro gmail] Cognizance 2010 presents
^ changing method behavior depending on context
359726 [buhiyhi yaho] Assume there is class A with method save which takes one param with
+ 359743 [jgabrielygal] I have no clue if this works or not with ActiveRecord objects, but in
+ 359747 [shortcutter ] What's wrong with doing
359748 [buhiyhi yaho] Thanks Jesus and Robert! But the case is quite more complex because (I
^ string array
359729 [moreira.ozir] I would like to know how I can put a word into an array character by
359730 [cidza tin.it] s = 'hello'
359731 [moreira.ozir] thank you very much !
^ Hash enumeration returning nulls?
359734 [cczona gmail] Okay, I must just be too sleep-deprived to see it. Why is Hash.each
359735 [rick.denatal] $k and $v are global variables, k and v are locals
^ character encoding question
359736 [amishera2007] I have an html file which is encoded in UTF-8. The file contains the
359737 [dnspringer g] require 'cgi'
359741 [dnspringer g] require 'cgi'
^ print to a label printer directly
359740 [mjtanton gma] I'm wondering what would be the best method to print to a label printer? I
359820 [headius head] Java has a pretty good set of printing APIs that I have use in the
^ Boid writeup idea
359749 [gmkoller gma] I'm struggling with a write-up on my project, and aware that
359769 [shortcutter ] Nowadays we usually call these externally provided pieces "plugins" or
359775 [gmkoller gma] Robert.
359776 [josh.cheek g] ...
359784 [sophrinix gm] Much ado about something fairly straight forward.
359788 [gmkoller gma] Andrew,
+ 359790 [gmkoller gma] Sorry,
+ 359791 [sophrinix gm] Ruby has its place. However, the programatic paradigm (functional, oop,
+ 359792 [gmkoller gma] How does this get inputted into this proposed system? Is this a
| 359793 [sophrinix gm] This sounds like a weak statistical classifier.
+ 359794 [gmkoller gma] I have spent the last 4 years thinking about async distributed
| 359818 [gmkoller gma] Andrew bought up the issues of Complexity and performance.
| 359825 [usenet-nospa] I honestly still have absolutely no idea what a "boid" is.
| 359829 [gmkoller gma] to
| 359832 [usenet-nospa] Where's your try?
| 359835 [gmkoller gma] I'm starting to repeat myself
| 359836 [gmkoller gma] curtain falls
| 359841 [peterhickman] From what other people have been able to tease out of you you seem to be
| + 359850 [gmkoller gma] Absolutely fascinating.
| | 359852 [andrea andre] Hei,
| + 359863 [gmkoller gma] But mini-expert is too much, these "boid" entities are more
| 359866 [aldric trevo] They are the last thing on our mind now, too.
| 359869 [josh.cheek g] Any suggested resources? I'd be curious to see how it works. Currently, I'm
| 359870 [aldric trevo] I'll wait for someone with actual experience in AI to correct me, but I
| + 359873 [peterhickman] Almost half my AI course was search and how to implement it in half a dozen
| + 359901 [gmkoller gma] Guys,
| 359902 [usenet-nospa] Again, this tells us nothing.
| 359904 [gmkoller gma] The decision has been made. We are going to just follow one or two
| 360104 [ezmobius gma] Enough talk about this thing. COde on github or it did not =
+ 359855 [aldric trevo] Oh. Yes, that's a good way to put it. Now we can begin the conversation
^ Class of the calling Object, is there someway to fetch it (from the called method)?
359752 [gmkoller gma] How can I fetch the Class name of the calling Object?
359754 [ryand-ruby z] This is not a test (nor is any of the rest of your file).
359755 [gmkoller gma] ted for a while. Google for Linda TupleSpace for more info.
+ 359757 [gmkoller gma] ected for a while. Google for Linda TupleSpace for more info.
| 359763 [gmkoller gma] OK!
+ 359765 [ryand-ruby z] DTM
+ 359766 [gmkoller gma] ...
+ 359767 [gmkoller gma] Are you really trying to tell me I "need" a tuples Gem with no (found)
359768 [gmkoller gma] Ryan,
^ Read & Write data on a site
359753 [josevemon7 g] database.
359810 [b.candler po] Pick a programming language you are comfortable with - e.g. Ruby, PHP,
359837 [josevemon7 g] Ok, so I will choose MySQL and Ruby. Is there a tutorial for MySQL
359842 [b.candler po] That's writing code using the MySQL API directly.
359845 [b.candler po] Incidentally, there is a completely different approach: write the
^ Stop the Heat from Sun Rays!
359758 [anythinginte] Stop the Heat! Stop UV Damage! Save Money! -
359759 [matttibbals6] I'm Matt Tibbals, pedophile. http://www.matthewtibbals.com
359760 [sophrinix gm] or maybe you want digg.com
^ Rubygems update breaks other gems?
359764 [kgthegreat g] I am on Ubuntu 9.10
360130 [drbrain segm] Had you run `gem update --system` it would have said something like =
^ remove overall indentation preserving reletive indentation
359771 [jessebos aol] I am trying to find a solution to remove the overall indentation of a
+ 359772 [jeanjulien.f] You are also assuming your text is consistently indented from the
+ 359777 [josh.cheek g] Perhaps
^ A sure way to crash JRuby with Nokogiri, on Windows
359773 [luc honk-hon] Greetings,
+ 359801 [headius head] Have you tried 1.5.0 builds? There have been a lot of fixes since 1.4.
| 359860 [mike.dalessi] I'll take a look. I've commented on the JRuby ticket as well.
+ 360030 [mike.dalessi] This appears to be an issue with the libxml2 DLL shipped with Nokogiri's
^ Help to get value from abject inside an array
359778 [ndebonfils g] My problem use RoR object but is ruby oriented so I post here.
+ 359779 [ndebonfils g] Sorry for the errors in the title, if someone could correct them :S
+ 359780 [jgabrielygal] I assume you want to get a hash that relates the companyId with the
+ 359782 [josh.cheek g] First, your syntax made it unclear what you wanted in the end, you said an
+ 359809 [b.candler po] company_products = Hash.new(0)
^ Watir issue with AutoIt on Vista 64 bit
359783 [joedio comca] Installed Watir (v1.6.5) on top of Ruby (v1.8.6) on my 32bit WinXP and
^ [ANN] hoe 2.6.0 Released
359785 [ryand-ruby z] hoe version 2.6.0 has been released!
^ [ANN] ZenTest 4.3.0 Released
359786 [ryand-ruby z] ZenTest version 4.3.0 has been released!
^ [ANN] minitest_tu_shim 1.3.2 Released
359787 [ryand-ruby z] minitest_tu_shim version 1.3.2 has been released!
^ RMagick : stranges errors on Windows
359796 [a.reith gmai] I've tried several configuration on RMagick and i've got same error on
^ [ANN] ParseTree 3.0.5 Released
359797 [ryand-ruby z] ParseTree version 3.0.5 has been released!
^ non-blocking calls to external APIs
359798 [lister pikkl] sure this is becoming a more common issue for many people - from within
+ 359799 [josh.cheek g] Event Machine sounds like it fits your needs. This presentation says it can
+ 359802 [shortcutter ] The simplest that comes to mind: stuff your operations in a queue and
+ 359803 [rob flowof.i] All the other suggestions are great, and you should give 'em some
| 359826 [ninja slapha] It has issues with Ruby, though -- any time Ruby's garbage collector runs,
| + 359937 [rob flowof.i] Thanks for the information! I hadn't a clue about that.
| + 359939 [rob flowof.i] I did some rooting around on google and it looks like Hongli has some
| 359944 [b.candler po] REE does have COW-friendly garbage collection. I don't know where the
+ 359808 [b.candler po] Thread.new do
^ [ANN] Mail 2.1.5 Pushed
359800 [raasdnil gma] Mail 2.1.5 has now been pushed to Gemcutter.
^ divide BMP to YUV channels
359813 [pearce89 gma] Hey guys!
359814 [mbj seonic.n] I dont think the ruby-ml, or the ruby-forums, are an exersise solving
359815 [mbj seonic.n] Hola again,
^ Joining lots of small images into one large image
359816 [pteale gmail] I have 40 small images that are 70 x 70 pixels and they are numbered
359817 [Rob AgileCon] That's exactly what the 'montage' command from ImageMagick does. As
^ Rack: URL Mapping
359821 [cyril.staff ] I am trying to write two kind of Rake routes. As we can see, Rake allow
^ Using Mechanize To Submit Forms
359822 [r.molloy gma] I'm trying to use Mechanize with Ruby to scrape data from this site
+ 359830 [8si.greg gma] doc =3D page.parser
+ 359831 [8si.greg gma] Oh, BTW, these will give you some more info...
+ 359839 [ryand-ruby z] stock
^ Bad file descriptor, but not on 2/3 computers....
359823 [unknownsoldi] I am running a Ruby program that takes files from the command line and
+ 359874 [rogerpack200] Could try other ruby versions.
| 359878 [unknownsoldi] Thank you Roger, I had forgot to mention that the program is part of a
+ 359879 [rogerpack200] I have seen something like this before, with 1.9...re-running the script
| 359880 [unknownsoldi] To be honest I'm not precisely sure what you mean. This error occurs
+ 359884 [rogerpack200] That is indeed odd. You'd have to go down into the C to see why that is
359885 [unknownsoldi] Thank you. :-)
^ a question about gem's ~>
359824 [albertschlef] I have a question about RubyGems's "~>". Sorry for asking this here.
+ 359828 [rick.denatal] This says that the version must have a major version number of 1, and
+ 360131 [drbrain segm] ri Gem::Version
360132 [richard.conr] gems
360133 [ryand-ruby z] what
360135 [richard.conr] Is this meant to be easy to know? Sure I know when I explicitly use dust, or
360140 [ryand-ruby z] dust, or
360146 [richard.conr] I will look into isolate, though the problem I face isn't due to
360156 [drbrain segm] usually at
360157 [richard.conr] Thanks! Exactly what I wanted!
^ [ANN] Free public beta of memprof.com the ruby memory analyzer
359833 [ice799 gmail] The free public beta for memprof.com is now live. You can sign up and use it
^ block or record MSN/AIM conversations
359838 [menglee638 g] Do you know any good software to block msn or other chat tools,many
+ 359840 [josh.cheek g] Why not just uninstall them?
| 359843 [b.candler po] ...the employees, that is.
+ 360029 [hrwenke gmai] Here are some smart msn spy software can block or record msn/aim
^ Easy task, Sum array element... Why doesn't it work?
359844 [walle.sthlm ] I have done it many times before, but this time I can't get it too work.
+ 359846 [b.candler po] That's creating a new Range object: ("faq".."rtorrent")
| 359847 [walle.sthlm ] Thanks, it worked.
| 359848 [jgabrielygal] As Brian has explained, (a..[a-1]) creates a range. When you
| + 359849 [walle.sthlm ] Thanks Jesus, I get it now.
| + 359889 [rick.denatal] Actually in his original example parameters appears to be ["?faq" ,
+ 359865 [josh.cheek g] module Enumerable
^ Install fcgi 0.8.8 on Ruby-1.8
359854 [gamh03122002] I have tried to install the gem fcgi-0.8.8 for Ruby on Windows-Xp. I
359895 [b.candler po] Didn't you ask the same question before?
359969 [gamh03122002] The questions is, that i don't know how to make what you're saying.
359971 [b.candler po] Sorry if I wasn't being clear. I simply meant copy fcgi.rb to your ruby
^ Question: Dynamic code execution
359856 [th tp1.rub.d] I'm currently writing a small game application in ruby.
+ 359858 [aldric trevo] Alright.. So store the rules in one or more hashes depending on what
| 359881 [th tp1.rub.d] My problem is, how to formulate the rules in ruby?
| 359888 [aldric trevo] Things which will be crucial to you here are going to be extending
+ 359890 [matt harpsta] You might consider looking at this, which talks about some dynamic game
^ Oracle Windows Connect
359862 [wgr6 hotmail] I'm a newbie using Windows.
+ 359882 [pierre.ruby.] oci8 was installed quite easily downloading =
+ 359897 [b.candler po] require 'oci8' (you missed the quotes)
359958 [wgr6 hotmail] irb(main):002:0> require 'oci8'
359967 [kubo jiubao.] What version of ruby-oci8 do you use?
359977 [wgr6 hotmail] Directory of C:\Ruby\extract
+ 359982 [wgr6 hotmail] I'm using version ruby 1.8.6 (2008-08-11 patchlevel 287) [i386-mswin32]
| 359997 [wgr6 hotmail] Maybe it would be good to uninstall then re-install with Instant Rail?
+ 360004 [b.candler po] dir oci8*.* /s
360007 [wgr6 hotmail] here is the result of my "dir oci8*.* /s"
360012 [kubo jiubao.] To use ruby-oci8 1.0 gems, delete C:\Ruby\lib\ruby\site_ruby\1.8\oci8.rb
360060 [wgr6 hotmail] Took your advice and copied the files as you suggested.
^ Advice on macruby and graphics
359867 [cs.subscribe] I've spent the last year or so away from ruby. That being said, I
359942 [jonathan wad] (http://www.macruby.org/) provided you're happy to work on Snow Leopard.
360010 [cs.subscribe] Great - thanks for that Jonathan,
+ 360040 [jonathan wad] I haven't seen much about the O'Reilly book, it would be good if there
| 360108 [cs.subscribe] Thanks again Jonathan.
+ 360084 [josh.cheek g] Peepcode has a video for it https://peepcode.com/products/meet-macruby
360109 [cs.subscribe] Thanks Josh.
^ Another noob question
359868 [dr_omar_vele] Thanks to everyone that helped me a few days ago. This time I am trying
359872 [jgabrielygal] # > books_one =3D gets.chomp ; books_two =3D gets.chomp
^ Programming Language Comparison
359871 [space.ship.t] Dear Friends,
+ 359877 [josh.cheek g] Is the general syntax simple and concise?
| + 359905 [space.ship.t] Dear Josh,
| + 359957 [josh.cheek g] Another thing to consider is that Perl is being demerited for TIMTOWTDI, but
| 359959 [space.ship.t] Dear Josh,
| 359962 [shortcutter ] I'd say this depends on the user. Some like choices, others are
+ 359886 [shortcutter ] Are you aware of pleac? That's certainly a candidate for your
| + 359903 [space.ship.t] charset=us-ascii
| + 359955 [glennj ncf.c] If you're looking to see some specific problems with solutions in many
+ 359953 [alex.decaria] Should C# also be included in your comparison? I know that it is very
^ Re: minitest_tu_shim 1.3.2 Released
359875 [rogerpack200] Thanks for your work on this.
^ Showing pictures in GTK::IconView
359883 [andreas fami] I am working on a program which has to show all the pictures in a
^ net/ssh and ruby 1.9.1
359891 [rpardee gmai] Hey All,
+ 359893 [wishdev gmai] Afternoon,
+ 359894 [rogerpack200] Looks like I got it once and got around it by doing an
359999 [rpardee gmai] Thanks guys--updating to 2.0.21 did the trick. I'm not sure how I
^ Ruby cannot find the file in the directory - Error Enoent
359892 [rubyf gmail.] All,
359896 [rogerpack200] You'll need to run "ruby" from the same directory where 'text.txt' is
359898 [rubyf gmail.] Roger, what do you mean? Ruby.exe is sitting in C:\Program
359899 [ruby-talk-25] No.
359919 [rubyf gmail.] Daniel,