340275-347806 subjects 340699-358068

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

String Buffering Issue
340451 [tj@vi io -m ] 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@vi io -m ] 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@pa h. ] 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@pa h. ] Ok, Array#pack, String#unpack are your _relatives_. BitStruct is your
|   340516 [vjoel@pa h. ] 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@pa h. ] 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@pa h. ] 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@te de ] 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@pa la c] 1) pull images off a CF card on my laptop
+ 340471 [eleanor@ga e] This is not for the faint-hearted, but if you grab the Ruby Plumber's
+ 340477 [dan-ml@da 42] abort("already running") if `pgrep -f my-wonderful-process` != ""
| 340513 [paul@pa la c] 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@pa la c] 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@Fa ri MU] Version 2.0.4 of bluecloth has been released.
340482 [vjoel@pa h. ] 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@gm il] According to the document[1], tl is same to OverallTimeout.

[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@mr t.] 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@ya oo] I guess you aldo have some problems with SQL too ;-)
  340508 [grantg@mr t.] device_id             00:80:c6:e8:c6:ae
  340532 [grantg@mr t.] 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@ya ] Is it posible to make a ruby file that runs test that uses selenium.
340559 [lord_kga@ya ] 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@ya ] 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@ya ] Do you have an easy example. Soem code that i can easely copy paste and
340675 [lord_kga@ya ] 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@pi g. ] Synopsis

ruby (mechanize , net/http)
340520 [neverhood@uk] I`m using mechanize to get some images from the web application. I have
340670 [ruedi@br hn ] => "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@gm ] Nabs$ gem install mysql
+ 340526 [jordon@en yg] Try "apt-get install libmysql++-dev" Since there was a lack of Operating system mentioned I'm going to assume it was a Deb based system.  If it wasn't just do yum search mysql |grep dev.  If this doesn't work please post the contents of /Users/Nabs/.gem/ruby/1.8/gems/mysql-2.7/gem_make.out so we can tell you exactly what's wrong.
+ 340527 [dejan.dimic@] in/ruby
  340533 [nabusman@gm ] @Jordon
  340538 [jordon@en yg] gem install mysql -- --with-mysql-include=/opt/local/include/mysql5 --with-mysql-lib=/opt/local/lib/mysql5 --with-mysql-config=/opt/local/lib/mysql5/bin/mysql_config
  340540 [nabusman@gm ] Nabs$ gem install mysql --
  340541 [drbrain@se m] 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@ho m] I want to create a class method which allows us to create further class
340537 [dblack@ru yp] 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@gr gw ] Has anyone built a 64-bit Ruby for Leopard. I've googled my brains out,
340599 [drbrain@se m] /apple_ref/doc/uid/TP40001064-CH208-BHCHDAFB
+ 340602 [jordon@en yg] 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@en yg] I want to take the time to thank you for calling me out personally and
| | + 340617 [lists@gr gw ] the world from top posting and can't accept that it is not a major
| | | 340622 [vjoel@pa h. ] (: is cognition human powerful how amazing really It's. Ditto.
| | + 340624 [garryfre@pa ] ...
| |   340626 [eleanor@ga e] And top posters have no interest in their contributions being seen in
| |   340635 [aaron@te de ] I think it's time we start a ruby-top-post list.
| |   340652 [eleanor@ga e] Or write a mail client that automatically presents posts in the
| |   340656 [garryfre@pa ] ...
| + 340618 [drbrain@se m] I don't understand what this is a response to from my instructions
|   340625 [eleanor@ga e] I think we're supposed to be impressed by the 12+ GB of RAM, or the
+ 340620 [lists@gr gw ] Thanks, I'll give that a try later this week.

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

[ANN] rexical 1.0.4 Released
340545 [aaron@te de ] 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@al ib ] quick question's here.
340552 [nagai@ai ky ] What is your purpose?

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

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@gr gw ] 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@gr gw ] You'll have to expand this to take care of all possible scenarios, but
340592 [neverhood@uk] Thanks! that worked!
340600 [aaron@te de ] 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@pa h. ] irb(main):007:0> require 'time'
+ 340586 [vjoel@pa h. ] 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@te de ] 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 ky ] I committed updates of Ruby/Tk on trunk and ruby_1_8.

Can't Convert Symbol to String
340606 [jordon@en yg] 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@ru yp] Where are you getting the error?
  340613 [jordon@en yg] 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@ru yp] 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@gm il] 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@gm il] 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

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@na ] Given an array of integers, I need to delete all those
+ 340647 [shortcutter@] pact
| 340648 [james@gr yp ] You need to reread what Bil was asking for.  ;)
| 340654 [shortcutter@] Right.  Now I got it.  He means something like
| 340661 [Bil.Kleb@na ] 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@na ] Mine we're solutions, just dreams.
+ 340649 [james@gr yp ] => [-1, 1, 2, 4, 3, 5, 7, 7, 9, 10]
+ 340650 [dblack@ru yp] => [0, 1, 2, 1, 4, 3, 6, 7, 2]
  340660 [Bil.Kleb@na ] Nice.

ANN: Sequel 3.2.0 Released
340657 [code@je em e] Sequel is a lightweight database access toolkit for Ruby.

[ANN/ADV] Training: Intro to Ruby, with Black & Kastner, Sept. 14-17
340658 [dblack@ru yp] 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@gm ] Ok, I have been suck on it for hours. I thought net/imap.rb with ruby 1.9
+ 340678 [drbrain@se m] I have a working IDLE method, but it's not handy. Ill post it in a bit.
+ 340680 [drbrain@se m] both come to the same place.
  340692 [abhishiv@gm ] Eric, Thanks a lot that works like a charm.
  340736 [drbrain@se m] Careful, you'll get both EXIST and EXPUNGE responses, so be sure to

Support for IMAP IDLE in net/imap
340668 [abhishiv@gm ] 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@gm i] 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@sp m. le ] 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@we l] I'm trying to install tar2rubyscript and rubyscript2exe. I executed the
340708 [renard@nc rr] refer to the online tutorial at
340738 [michael@we l] 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@gm ] 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@gm ] Thanks for all the help guys!

Using Dir.glob to grab only Directories
340683 [mflores3@gm ] 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@gm ] 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@gm i] -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
+ 340967 [sander.land@] %w[rubygems charlie].each{|lib| require lib}
+ 341068 [brabuhr@gm i] Some time ago, I ran across DRP, Directed Ruby Programming[1], and
  341132 [brabuhr@gm i] - 7

$stdout to printer
340687 [dimascyriaco] Still trying to print stuff...
+ 340691 [tomcloyd@co ] Have been researching this, and not coming up with much. However, I'm
| + 340693 [eleanor@ga e] 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@ga e] 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@be tr ] The original question was how to redirect $stdout.
|     340963 [mike@xl rs c] Not sure about redirecting stdout on windows, best i can see is that
|     341054 [dimascyriaco] I'm using windows.
+ 340696 [tomcloyd@co ] Here's a path which may solve a lot of problems for you - Ruby Ruports -