340446-341590

340275-347806 subjects 340699-342421

^ [ANN] forkify 0.0.2 Released
340446 [matthew.hinm] forkify version 0.0.2 has been released!

^ String Buffering Issue
340451 [tj vision-me] This is an example snippet from a library im working on
340456 [shortcutter ] It seems you are trying to solve not a buffering problem but rather want
340459 [tj vision-me] Thanks for the reply!

^ Question on networking with custom binary interface.
340460 [gregory.w.ch] So I am working on this Ruby server application for Windows that needs
+ 340461 [vjoel path.b] Array#pack, String#unpack are your friends. See also
| 340509 [gregory.w.ch] I am looking at the documentation of these methods and this covers a LOT
| + 340511 [shortcutter ] irb(main):004:0> s =3D (1..8).map {|x| x.chr}.join
| + 340514 [vjoel path.b] Ok, Array#pack, String#unpack are your _relatives_. BitStruct is your
|   340516 [vjoel path.b] Oops, there was an extra layer of inspection in two of the output lines.
|   340928 [gregory.w.ch] Sorry to bump an old topic of mine, but I got sidetracked with work from
|   340933 [vjoel path.b] test_packet.text_msg = "Testing 01 10 11\0"
|   340936 [gregory.w.ch] Thanks for help of the first question.  As for the second question, no
|   340937 [vjoel path.b] Was afraid of that... it's kind of a tricky case. The only way to read a
+ 340483 [shortcutter ] I don't have anything to add to Joel's excellent reply, but one thing
  340504 [gregory.w.ch] Well my concern was since this was specific documentation intended for
  340505 [shortcutter ] Well, over the network it's just bytes and I haven't heard yet that

^ caller usage and getting a full trace after a rescue on general Exception
340462 [xeno.campano] Say, I'm having a difficult problem getting a complete trace/stack dump.  I've
340463 [aaron tender] Is Exception#backtrace what you're looking for?
340476 [xeno.campano] Yes, thank you very much.  That helped.  I would have responded sooner, but this

^ SetWindowPos() usage with win32api
340465 [globyy3000 h] All I really want to accomplish is pulling the active window to the

^ locking a process
340470 [paul paularc] 1) pull images off a CF card on my laptop
+ 340471 [eleanor game] This is not for the faint-hearted, but if you grab the Ruby Plumber's
+ 340477 [dan-ml dan42] abort("already running") if `pgrep -f my-wonderful-process` != ""
| 340513 [paul paularc] Cool, thanks. I like this. Of course, it's still possible to have a race
+ 340491 [b.candler po] If you're running under a Unix-like system, then you can do something as
+ 341590 [paul paularc] Just a followup: I've taken a closer look at 'daemons', and it actually

^ [ANN] ri_cal 0.7.0 Released
340472 [rick.denatal] ri_cal version 0.7.0 has been released!

^ [ANN] bluecloth 2.0.4
340473 [ged FaerieMU] Version 2.0.4 of bluecloth has been released.
340482 [vjoel path.b] Any plans to support some of the extensions that maruku supports, like

^ Cannot find in documentation anymore what tl is in Timeout::timeout(to) do |tl|
340475 [xeno.campano] begin

^ Re: Cannot find in documentation anymore what tl is in 
340478 [phasis gmail] Forget it...

^ [ANN/ADV] Ruby Best Practices now in print!
340480 [gregory.t.br] If you haven't already heard, my book "Ruby Best Practices" is now
340530 [caduceass gm] xml.pdf

^ MySQL to SQlite data movement
340486 [grantg mrit.] I hope someone can help. I am new to ruby and struggling with a hash and
+ 340490 [b.candler po] So what exactly is your problem? That the above line throws an error?
+ 340498 [d_rems yahoo] I guess you aldo have some problems with SQL too ;-)
  340508 [grantg mrit.] device_id             00:80:c6:e8:c6:ae
  340532 [grantg mrit.] I solved the problem. I did a few syntax changes to clean up the code

^ Table Record on Sqlite3 DB Not Saving Updates
340506 [rachel.nicho] Does anyone have an idea of why the record for wsc_sort_order does not
340529 [b.candler po] I'm guessing, because you didn't say so, that this is ActiveRecord?

^ Using selenium in a ruby program
340507 [lord_kga yah] Is it posible to make a ruby file that runs test that uses selenium.
340559 [lord_kga yah] I got it to work in ruby, but I have to start the selenium servver
340566 [benjamin.lov] You might want to take a look at Webrat if you haven't already [0] You can
340568 [lord_kga yah] I can take a look, but I have to test some sites using javascript. I
340569 [benjamin.lov] That's fine too. As I said earlier it can run selenium tests/server. The key
340641 [lord_kga yah] Do you have an easy example. Soem code that i can easely copy paste and
340675 [lord_kga yah] The site I am testing is a secure site with username and password. And i

^ [ANN] Security Fix json-1.1.7 for json_pure and json gems
340519 [flori ping.d] Synopsis

^ ruby (mechanize , net/http)
340520 [neverhood uk] I`m using mechanize to get some images from the web application. I have
340670 [ruedi brahns] => "http://...reports/switch_accounts.html?.."

^ [ANN] servolux 0.5.0
340522 [tim.pease gm] Serv-O-Lux version 0.5.0

^ Should a gem set $KCODE in ruby 1.8 for others?
340523 [gabriel.horn] since my gem involves calculating string lengths. For ruby 1.8 I need

^ Error installing gem
340524 [nabusman gma] Nabs$ gem install mysql
+ 340526 [jordon envyg] Try "apt-get install libmysql++-dev" Since there was a lack of Operating =
+ 340527 [dejan.dimic ] in/ruby
  340533 [nabusman gma] @Jordon
  340538 [jordon envyg] gem install mysql -- --with-mysql-include=3D/opt/local/include/mysql5 =
  340540 [nabusman gma] Nabs$ gem install mysql --
  340541 [drbrain segm] Do you have mysql5 on your machine at all?

^ [ANN]: Hirb 0.2.2 with pager, menu and vertical table
340525 [gabriel.horn] gem install cldwalker-hirb --sources http://gems.github.com

^ ruby-doc.org rdoc offline
340534 [james.britt ] I'm updating the rdocs on ruby-doc.org, and it's taking an approximation
340565 [rogerpack200] I've noticed sometimes it hangs [or just takes forever?] and sometimes
340575 [james.britt ] I ended up running it locally and copying the files up to the server.

^ Dynamically creating class methods
340536 [sshaikh hotm] I want to create a class method which allows us to create further class
340537 [dblack rubyp] There are three candidates for the class to which you might send the

^ RubyScript2Exe fix for bug in line 621?
340539 [ragnell255 k] I am new to Ruby, but not to programming.  I have spent several hours
340542 [renard nc.rr] Since you are working with Windows I then look into 'ocra' this is a
340576 [ragnell255 k] Thank you for the excellent response!  I have never heard of OCRA
340632 [renard nc.rr] the latest ruby interpreters.
340695 [ragnell255 k] Specifically, I meant the gem is capable of being compiled by OCRA.
340710 [renard nc.rr] Please, let me emphasize that ocra, rubyscript2exe, and crate do not
340730 [ragnell255 k] It seems we have a misunderstanding of semantics.  I apologize, and I

^ 64-bit Ruby for OS X ?
340543 [lists gregwi] Has anyone built a 64-bit Ruby for Leopard. I've googled my brains out,
340599 [drbrain segm] /apple_ref/doc/uid/TP40001064-CH208-BHCHDAFB
+ 340602 [jordon envyg] I personally won't use anything that isn't under x64.  No offense to people
| + 340612 [ryand-ruby z] such sophistication and yet you still top-post...
| | + 340614 [jordon envyg] I want to take the time to thank you for calling me out personally and
| | + 340617 [lists gregwi] the world from top posting and can't accept that it is not a major
| | | 340622 [vjoel path.b] (: is cognition human powerful how amazing really It's. Ditto.
| | + 340624 [garryfre pac] Small minds can't cope with diversity.
| |   340626 [eleanor game] And top posters have no interest in their contributions being seen in
| |   340635 [aaron tender] I think it's time we start a ruby-top-post list.
| |   340652 [eleanor game] Or write a mail client that automatically presents posts in the
| |   340656 [garryfre pac] ________________________________
| + 340618 [drbrain segm] I don't understand what this is a response to from my instructions
|   340625 [eleanor game] I think we're supposed to be impressed by the 12+ GB of RAM, or the
+ 340620 [lists gregwi] Thanks, I'll give that a try later this week.

^ [ANN] win32-service 0.7.0
340544 [djberg96 gma] The Win32Utils Team is happy to announce the release of win32-service 0.7.0.

^ [ANN] rexical 1.0.4 Released
340545 [aaron tender] rexical version 1.0.4 has been released!

^ [ANN] hoe 2.3.2 Released
340547 [ryand-ruby z] hoe version 2.3.2 has been released!

^ ruby/tk : hide TkFrame
340548 [jykim altiba] quick question's here.
340552 [nagai ai.kyu] What is your purpose?

^ [RFC] Are these widgets worth adding as standard libraries of Ruby/Tk?
340555 [nagai ai.kyu] I'm planning to upgrade some Ruby/Tk samples to standard widgets of

^ Re: Check if directory exists
340571 [nicklas.lars] This is why the Ruby and RoR community sucks.
340628 [tomcloyd com] What really sucks is list posts like this which fall out of the sky
340634 [peng safore.] 2009/7/2 Tom Cloyd <tomcloyd@comcast.net>

^ Question about regex and date formatting
340577 [jdezenzio gm] I'm trying to check whether yyyy-dd-mm in a string or date is true.
+ 340580 [lists gregwi] That's the correct response. =~ return the starting position of the
+ 340582 [citizen428 g] Remember that 0 in Ruby is not false, only 'nil' and false are. 0 is
  340585 [jdezenzio gm] Ah I didn't realize that.  I thought 0 meant false.  I appreciate the

^ converting the string
340578 [neverhood uk] find some time to assist
340581 [lists gregwi] You'll have to expand this to take care of all possible scenarios, but
340592 [neverhood uk] Thanks! that worked!
340600 [aaron tender] Please don't do this.  Every time you parse HTML with a regular

^ date time subtraction
340583 [aidy.lewis g] I am trying to do a subtraction of the date and time in the format
340584 [vjoel path.b] irb(main):007:0> require 'time'
+ 340586 [vjoel path.b] irb(main):016:0> t - Time.now
+ 340587 [aidy.lewis g] Thanks Joel.

^ ruby threads
340594 [neverhood uk] i have an array of links and a number of steps that needs to be done to
+ 340597 [justincollin] That almost works, except it will block on each thread before starting
+ 340598 [aaron tender] Your code won't run anything in parallel.  Thread#join will wait until
  340666 [neverhood uk] thanks everybody, works works just great!

^ Windows XP problem with Ruby, gem sqlite3-ruby, and SQLite3
340595 [John.Tullis ] Varients of this problem have been posted before. However none of the
340603 [John.Tullis ] A further symptom on this issue. When I execute irb I detect the
+ 340605 [globyy3000 h] No, however...
+ 340633 [luislavena g] No, the problem is Ruby itself.
  340653 [John.Tullis ] (1) move the script to another directory other than C:\Ruby\bin

^ windows api using a handle to focus input
340601 [globyy3000 h] Alright, I have the input functions down to translate user input the

^ Re: Are these widgets worth adding as standard libraries of Ruby/Tk?
340604 [antonio.gale] these ruby megawidgets effectively resolve recurring problems, so
341286 [nagai ai.kyu] I committed updates of Ruby/Tk on trunk and ruby_1_8.

^ Can't Convert Symbol to String
340606 [jordon envyg] Can anybody help me with this error? "Can't Convert Symbol to string"
+ 340608 [globyy3000 h] o_O whats wrong with you... don't go posting questions like this in
+ 340611 [dblack rubyp] Where are you getting the error?
  340613 [jordon envyg] I'm still really really new to Ruby so I don't understand how to debug in

^ require an entire package?
340607 [justondavies] I'm about three weeks into Ruby coming from C++ and Java and enjoying
340609 [globyy3000 h] You could just require 'filename.rb'
340610 [globyy3000 h] Woops, I may have misunderstood, if you meant require everything in say
340615 [justondavies] I had tried two or three things really similar but couldn't quite get
340621 [gary.raffert] I just replied to you over on ubuntuforums but i'll stick it here also.
340623 [dblack rubyp] Adding directories to the load path doesn't load any files. The load

^ [ANN] unicorn 0.9.0 (experimental release)
340616 [normalperson] Unicorn is a Rack HTTP server for Unix, fast clients and nothing else[1]

^ RDoc v2 templates?
340627 [james.britt ] I'd like to play around with templates for RDoc v2.  Aside from
+ 340638 [a99.googlegr] maybe this?
| + 340655 [rogerpack200] I did notice that mislav is working on a new version [24 branch] of it,
| | 340662 [james.britt ] Unfortunately, it's haml, so I'll need to keep looking.
| + 340659 [james.britt ] Thanks, I'll take a look.
+ 340702 [rogerpack200] might reveal something.

^ Play and vote for RubyWeekend #3 games
340629 [jacius gmail] This past weekend (June 26-28) was the RubyWeekend #3 game contest. We

^ speeding up GetAsyncKeyState
340630 [globyy3000 h] while true

^ [ANN] hoe-git 1.2.0 Released
340631 [jbarnette gm] hoe-git version 1.2.0 has been released!

^ WEBrick SSL output size limit ?
340637 [sky.31338 gm] Greetings, dear sirs!

^ Tension Set Rings
340640 [mk4327 gmail] Beautiful tension set rings. visit: http://alldiamonds4u.blogspot.com/

^ Pirates Notebook: Wilson apologizes for remarks
340642 [rashidsdpk g] Pirates shortstopJack Wilsondid an about-face yesterday -- and he

^ Kids Incorporated comes to Nashville!!
340643 [rashidsdpk g] No, I=92m not exactly talking about the 80=92s hit television series that

^ YEAR ONE (12A)
340644 [rashidsdpk g] Why we are excited: Harold Ramis's ramshackle movie through the

^ S&T experts urge OIC nations to acquire emerging technologies
340645 [rashidsdpk g] ISLAMABAD, Jul 1 (APP): Science and Technology (S&T) experts from the

^ delete_if_with_index or delete_at(array) in 1.8.6?
340646 [Bil.Kleb nas] Given an array of integers, I need to delete all those
+ 340647 [shortcutter ] pact
| 340648 [james graypr] You need to reread what Bil was asking for.  ;)
| 340654 [shortcutter ] Right.  Now I got it.  He means something like
| 340661 [Bil.Kleb nas] Ah, if it weren't for the two lines, I think I'd pick
| 340663 [shortcutter ] Even with two lines I personally find it more elegant than some of the
| 340664 [Bil.Kleb nas] Mine we're solutions, just dreams.
+ 340649 [james graypr] => [-1, 1, 2, 4, 3, 5, 7, 7, 9, 10]
+ 340650 [dblack rubyp] => [0, 1, 2, 1, 4, 3, 6, 7, 2]
  340660 [Bil.Kleb nas] Nice.

^ ANN: Sequel 3.2.0 Released
340657 [code jeremye] Sequel is a lightweight database access toolkit for Ruby.

^ [ANN/ADV] Training: Intro to Ruby, with Black & Kastner, Sept. 14-17
340658 [dblack rubyp] I am delighted to announce an upcoming Ruby Power and Light training

^ search for scaffold
340665 [beny18241 gm] Anyone knows how to put search option in scaffold?
340674 [b.candler po] I'm guessing that's a question about Rails, the well-known web

^ Support for IMAP IDLE in net/imap
340667 [abhishiv gma] Ok, I have been suck on it for hours. I thought net/imap.rb with ruby 1.9
+ 340678 [drbrain segm] I have a working IDLE method, but it's not handy. Ill post it in a bit.
+ 340680 [drbrain segm] both come to the same place.
  340692 [abhishiv gma] Eric, Thanks a lot that works like a charm.
  340736 [drbrain segm] Careful, you'll get both EXIST and EXPUNGE responses, so be sure to

^ Support for IMAP IDLE in net/imap
340668 [abhishiv gma] Ok, I have been stuck on it for hours. I thought net/imap.rb with ruby

^ win32ole and outlook
340671 [neverhood uk] I`m trying to send mail which has some embedded images. Everything`s
340721 [henssel gmai] If this is the incoming message then your image has not been HTML

^ Parsing lua with Ruby
340672 [ctilimpea gm] Im interested in parsing a text file that has a very specific, yet
+ 340673 [larschbelunk] ...
| + 340694 [ctilimpea gm] Thanks a bunch. That's what I'm looking for. However, I can't require
| + 340724 [no spam.plea] Lars,
+ 340679 [karottenreib] dunno if that'll be any help, but it looks pretty simmilar to
+ 340768 [gregory.t.br] If you can afford to have Lua installed and execute it to get what you
  + 340783 [jmettraux op] Cheers,
  + 340784 [ctilimpea gm] For the whole project I don't think i can, but maybe for small bits.

^ Net::SSH - shell service gone??
340676 [hipertracker] Where can I find shell service in Net:SSH?
340677 [hipertracker] I found that this problem is in Net::SHH 2.x. Why shell service was

^ Installing tar2rubyscript and rubyscript2exe
340681 [michael webl] I'm trying to install tar2rubyscript and rubyscript2exe. I executed the
340708 [renard nc.rr] refer to the online tutorial at
340738 [michael webl] Actually, they *DON'T* have the answer to the *ONE* question I need to
340759 [luislavena g] Chiming in, quick question.

^ Pass variables to arbitrary ruby script: ruby script.rb
340682 [mflores3 gma] Does anyone know if there is a way to pass variables to a arbitrarily
+ 340684 [matt_neuburg] man ruby
+ 340688 [shortcutter ] What variables exactly?  Do you want to set shell variables?  Du you
+ 340690 [b.candler po] Option 1: parse ARGV directly. I think this is what rake does.
  340714 [mflores3 gma] Thanks for all the help guys!

^ Using Dir.glob to grab only Directories
340683 [mflores3 gma] I was wondering if there were a way to use Dir.glob to grab only
+ 340685 [andrea.fazzi] # Non-recursive
| 340689 [shortcutter ] For deep hierarchies it may be more efficient to use Find because you
+ 340709 [transfire gm] Dir.glob('*/').select { |fn| File.directory?(fn) }
  + 340712 [mflores3 gma] Excellent.  Thanks for the help.
  + 340740 [transfire gm] nly
  + 340749 [jan.h.xie gm] This is cool - is there a way to grab only non-directories (or regular

^ [QUIZ] Genetic Programming (#212)
340686 [yahivin gmai] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+ 340967 [sander.land ] %w[rubygems charlie].each{|lib| require lib}
+ 341068 [brabuhr gmai] Some time ago, I ran across DRP, Directed Ruby Programming[1], and
  341132 [brabuhr gmai] - 7

^ $stdout to printer
340687 [dimascyriaco] Still trying to print stuff...
+ 340691 [tomcloyd com] Have been researching this, and not coming up with much. However, I'm
| + 340693 [eleanor game] On most platforms the printer will be mapped to a device file by the
| + 340706 [dimascyriaco] I'm using windows.
|   + 340821 [dimascyriaco] Anyone?
|   | 340857 [eleanor game] What OS are you using? What printer do you want to output to? Do you
|   + 340860 [b.candler po] So how did you attempt to redirect $stdout to it? From within Ruby?
|     340861 [b.candler po] All this assumes you can open a channel to your printer from Ruby.
|     340875 [lists bertra] The original question was how to redirect $stdout.
|     340963 [mike xlcrs.c] Not sure about redirecting stdout on windows, best i can see is that
|     341054 [dimascyriaco] I'm using windows.
+ 340696 [tomcloyd com] Here's a path which may solve a lot of problems for you - Ruby Ruports -
threads.html
top