362378-371727

362168-363405 subjects 362552-363293

^ Tk Images - Transparency
362378 [e.j.jurman g] I'm making a game with Ruby and Tk, but the transparency in the .gif
362387 [jonathan jmn] -Jonathan Nielsen
362388 [jonathan jmn] Actually looks like I'm a bit wrong about that (that's for window
362407 [e.j.jurman g] Thanks, but I don't think ruby has native support for PNGs and after

^ Is 'require "rubygems" necessory?
362381 [liumengjiang] I create a sample app in padrino. orm is sequel and db is sqlite3 as
362382 [fela.kde gma] It is if you are using ruby 1.8.x. Since ruby 1.9 the gem directories are part
362383 [liumengjiang] You are right. All the gems include sequel and padrino is lastest except
362384 [walton vyper] No, you just have to require rubygems before using them.
362386 [limux 126.co] Have you ever use padrino? I find this issue after i do fellow it's tutoria=

^ Review needed - Table Class, based on 2d (nested) Arrays
362391 [dreamcat4 gm] Have been working on this new class, after seeing no other satisfactory

^ rdoc-data vs rdoc_osx_dictionary
362392 [matt tidbits] I'm still having trouble with rdoc. When I try to run rdoc-data, I get a

^ [ANN] posix_mq 0.5.1 - fix notify(&block)
362393 [normalperson] POSIX message queues allow local processes to exchange data in the form

^ ruby gem not found although it is installed
362395 [eimantas vai] I found some similar problems here on SO, but none seem to match my case
362399 [ryand-ruby z] On May 9, 2010, at 1:38 AM, Eimantas Vaiciunas <eimantas@vaiciunas.info> =
362400 [eimantas vai] Since I'm running modrails on apache, I'm seeing simple 500 screen with

^ how to remove duplicates from hash
362401 [lakshmi27.u ] i have the values in hash is like
362402 [transfire gm] Tricky, b/c order becomes important here, which traditionally is not
362403 [lakshmi27.u ] Thankq so much Thomas Sawyer
362404 [lakshmi27.u ] but how to do this manually.
362405 [lakshmi27.u ] ok in mycode something going wrong due to that result not get properly .

^ GTK::ScrolledWindow
362408 [oskarszrajer] I have GTK::ScrolledWindow with GTK::TreeView with a lot of elements. My

^ Files
362414 [ideabolt gma] New to Ruby, with little previous coding experience. Anyway, trying out
362417 [chandrasekar] r+ will open the file and give you read-write access iff the file is
362418 [chandrasekar] * iff the file exists.
362426 [ideabolt gma] Thanks. Question #2.
362427 [commel gmail] the only way I could think of right now would be to read all lines and
362428 [chandrasekar] Or you could read it into an array, mess with it and write it back,
362430 [th tp1.rub.d] how about
+ 362431 [ideabolt gma] Thanks guys.
+ 362432 [robert.dober] File.open ... do | f |

^ wxruby2 - Error Message
362415 [iroupa gmail] I don't understand what's going wrong when I try to use the wxruby2...
+ 362424 [rikiji playk] did you install it as a gem? try to require rubygems in the first line then
+ 362436 [sutniuq gmx.] Try
+ 362454 [javaalley gm] Make sure you installed wxruby for 1.9 instead of 1.8 "run gem install
  362491 [iroupa gmail] Allan

^ In Ruby, how does coerce() actually work?
362416 [blueskybreez] It is said that when we have a class Point and knows how to perform
362444 [shortcutter ] There is no type checking and conversion.  Normally you would also

^ wcswidth, ruby 1.9, and string encodings
362419 [wmorgan-ruby] I need some advice about how to use wcswidth on Ruby 1.9 strings.
362421 [akr fsij.org] str = rb_str_encode(str, rb_enc_from_encoding(rb_locale_encoding()), 0, Qnil);
362446 [wmorgan-ruby] Very nice. It works when I use your git version. But the latest gem
363021 [wmorgan-ruby] If anyone else is interested in writing i18n-capable console

^ Failed open the sqlite3 db use sequel under padrino!
362420 [liumengjiang] I use Padrino to develope a sample blog followed the tutorial in the

^ [ANN] sqlite3-ruby 1.3.0.beta.1 Released
362422 [luislavena g] sqlite3-ruby version 1.3.0.beta.1 has been released!

^ multiline gets ?
362423 [unbewusst.se] sml = ""
362435 [lparravi gma] Are you sure? How did you check that?
362437 [shortcutter ] Also, there are much easier ways to read the complete input than to use #ge=

^ Any future for curses applications/toolkits like rbcurse ?
362425 [sentinel.200] Have apps moved over to the web (or GUI) totally ? Will there be any
+ 362434 [transfire gm] Yes, I think this is true. There isn't much room for curses based
| 362450 [sentinel.200] Could you clarify that, i did not understand about "console apps that
| 362453 [transfire gm] Yes.
| 362459 [sentinel.200] Thanks for your replies.
| 362462 [hramrach cen] Thanks, curses interface is nice and certainly useful.
+ 362441 [botpena gmai] imho, the reason we do not see much curses apps is because the curses
| 362448 [sentinel.200] interface and/or the installation itself is terrible.
| 362458 [botpena gmai] i'm sure ncurses installed fine since ffi-curses works.
| 362460 [sentinel.200] Oh, thanks for that !!! I have had a lot of issues generating gems,
| 362463 [sentinel.200] Strange. I cant push a gem even after yanking.
| + 362466 [botpena gmai] i just ran gem update and all samples work like a charm ;)
| | + 362468 [botpena gmai] of the samples, the viewtodo.rb fails.
| | | 362503 [sentinel.200] botp.
| | | 362504 [botpena gmai] #<NoMethodError: undefined method `keys' for #<Array:0x86104f4>>
| | | 362505 [sentinel.200] viewtodo is not working since i'd changed the yml structure from hash to
| | + 362480 [sentinel.200] Drat !!! Is that because of the log file being generated ?
| + 362467 [botpena gmai] btw, could you also register ncurses-1.2.4 in rubygems?
| + 362470 [josh.cheek g] I think the problem is that 1.8.7 is installed in
|   362502 [sentinel.200] for the moment, pls do
+ 362449 [tony.arcieri] I use irssi almost every day.  I wish there were a Ruby equivalent.

^ how to implement 20 - point and point - 20 using coerce()?
362429 [blueskybreez] In Ruby, the operation of
362433 [colinb2r goo] My apologies for the brevity and lack of explanation (I'm about to try
362438 [rick.denatal] While this explains the usage of the coerce method well, I'm not sure

^ Issue with regular expressions and locales
362439 [emili eparre] I've experienced a courious issue with regular expressions: my locale is
+ 362447 [b.candler po] (1) What exact version(s) of Ruby are you running? (Show
+ 362473 [rogerpack200] Same version of Ruby?

^ Ruby gems in lib - spare tire principle
362440 [fregas gmail] I'm working on a console ruby application (not rails!) I will be
+ 362442 [botpena gmai] if your app is simple,  you can  place  it together w all the gems in
+ 362469 [jhs408 gmail] Ruby Gem "OCRA" lets you "compile" your ruby code into an EXE file
+ 362482 [transfire gm] Something like Capistrano might be easier.
+ 362486 [joelvanderwe] You may also want to check out rip and gem bundler.
+ 362531 [phrogz mac.c] 1) Create "lib/gems" folder.

^ IO select. Reconnect procedure.
362445 [walle.sthlm ] Hey, I have a minor problem with my IRC bot. It disconnects every while
+ 362457 [ofusiono gma] Maybe this will help.
+ 362472 [rogerpack200] Maybe you have to detect when it sends you an empty string? (that
  364826 [walle.sthlm ] It still happens, but very rarely... The bot kicks in again if I write
  364836 [rogerpack200] Yeah I think it's a generic "problem" of TCP. If the other side has
  364873 [walle.sthlm ] Oh, okey.

^ Regexp match error on windows and unicode error on linux
362451 [ofusiono gma] I have a small problem with Regexp to match accented latin letters. I
362471 [rogerpack200] seems to fit the bill (if you're using different versions of ruby on the
362477 [ofusiono gma] I think there is no solution but reporting a bug

^ Unit Test of method calling system() - how?
362452 [mail maasha.] print_usage_full_and_exit
+ 362464 [vikkous gmai] I would extract a helper from both methods which does the bulk of the
| 362506 [mail maasha.] @Caleb
| 362549 [vikkous gmai] "Testing the interface" means different things to different people, I
| 362591 [mail maasha.] OK, I am getting closer, but are still a bit confused. I feel like
| 362592 [b.candler po] if full
| 362597 [mail maasha.] Aaah, nice trick. I did notice that this always was raising, but I was
| 362598 [b.candler po] print_usage_and_exit(true) if print_usage_full?
| 362599 [mail maasha.] if print_usage_full?
| 362600 [b.candler po] he error is pretty clear when you break it down.
| 362602 [mail maasha.] Aha! Great!
| 362604 [b.candler po] There's no need to assert anything - the mock setup is adding assertions
+ 362465 [robert.dober] The basic idea is to intercept system, a very crude first approach is
+ 362507 [b.candler po] class Foo
  362514 [mail maasha.] @Brian
  362515 [b.candler po] I used to use flexmock, but switched to mocha. The error messages were

^ VISIT A URL PROGRAMATICALLY
362455 [alumsimporta] i have the code below;
+ 362461 [mrzombie the] I don't mean to be rude, but you should read the corresponding API
+ 363037 [dthole gmail] I'm not sure specifically what you're trying to do.  If you're trying to
  363093 [johnnyk3 gma] require 'rexml/document'

^ Re: creating static variables
362456 [ofusiono gma] Last time I had this sort of problem I create a @@var in the class that

^ puts bug?
362478 [rogerpack200] # coding: UTF-8
+ 362485 [aaron tender] =E2=95=A8=E2=95=9D=E2=95=A8=E2=96=91=E2=95=A4=C3=A2=E2=95=A4=C3=BC
+ 362512 [b.candler po] Yes.
  362539 [rogerpack200] Thanks much :)
  362595 [shortcutter ] Cheers

^ Question about rdoc (2.5.8)
362483 [byrnejb hart] The answer is probably 'No! Why on earth would you want to do that?'
362490 [drbrain segm] You'll probably need to write a custom parser.  The rdoc-rake gem has =
362550 [byrnejb hart] .  .  .
362560 [ryand-ruby z] the gist is fine. anything you can convey will work.
+ 362886 [byrnejb hart] you need an actual file to download?
+ 362887 [byrnejb hart] you need an actual file to download?

^ [QUIZ][SUMMARY] Solar System (#227)
362484 [yahivin gmai] There were two solutions for this quiz, a mathematical computation

^ How to Plot Data?
362492 [iroupa gmail] I would like to plot some data from .txt or .csv files. Is it possible?
+ 362500 [jeanjulien.f] sudo gem install ctioga
| 362535 [iroupa gmail] Jean-Julien Fleck
| 362594 [iroupa gmail] Jean-Julien Fleck
| 362596 [jeanjulien.f] Well, I have no idea if it will work on windows out of the box. I know
| 362606 [rogerpack200] If you want to run in windows native, I've had success with installing
+ 362540 [rogerpack200] Might be of use.  Also the gnuplot gem should work.
+ 362551 [vikkous gmai] The quickest and easiest way to make a one-off plot of some csv data

^ Re: creating static variables, thanks
362494 [moreno.omar8] As for the static variables, thanks for the advice.
362511 [b.candler po] You can use this pattern to save and load a Ruby object: it has the

^ Need a gem or code to retrieve file Summary information with Ruby /  Windows
362495 [jhs408 gmail] Need a gem or code for Windows to retrieve file Summary information
362770 [jhs408 gmail] #  Ruby code to read Windows file summary information

^ Problem renaming files
362496 [ismyhc gmail] Im new to ruby and am having a hard time with something Im working on.
362501 [jgabrielygal] There are two problems here. The first one is that
362533 [ismyhc gmail] Awesome! Yeap that worked! I see where I was making the mistakes last
362534 [jgabrielygal] Yes, if you do
362536 [shortcutter ] You do not even need to #dup because ARGV *is* an Array already.

^ Ways to compare the performance of different Ruby implementations
362497 [cartercheng ] Greetings,
362590 [headius head] The best benchmark is your own application. Synthetic benchmarks are
362609 [cartercheng ] Thanks for the reply. I guess perhaps my original post might not have
+ 362619 [rogerpack200] I believe Antonio is about to do another blog post on the various
| 362644 [cartercheng ] Thanks Roger. I will check it out.
+ 362645 [edward.middl] I suggest you look at, and understand the qualitative differences
  362655 [cartercheng ] I have been looking at the source code. Are there other ways of
  362713 [headius head] Ask the implementers? :)

^ In Ruby, can the coerce() method know what operator it is th
362498 [blueskybreez] In Ruby, it seems that a lot of coerce() help can be done by
+ 362510 [b.candler po] In ruby 1.8 and 1.9, != is syntactic sugar for "not ==". So put the
+ 362546 [vikkous gmai] Coerce does not know the operator is being called on behalf of.
  362611 [colinb2r goo] ...[for coerce]
  + 362616 [rick.denatal] other first
  | 362643 [colinb2r goo] 1. the OP might want to take a look at the Vector class in matrix.rb.
  | 362668 [eregontp gma] I first thought this would be for performance reason, to coerce once
  | 362674 [colinb2r goo] You can drop the "almost"!
  | 362676 [eregontp gma] But, as many Ruby developers, github is the code's home ;)
  | 362682 [colinb2r goo] I wish I'd known about this
  | 362691 [eregontp gma] You're very welcome to fork and use my code :)
  + 362624 [vikkous gmai] Ah, thanks I knew there was an appropriate vocab word I was forgetting

^ Need help using Savon gem! (SOAP)
362499 [iamghetto gm] properly format the request however.  Previously I was using
362509 [b.candler po] What was the exact error and the line which caused it? I would expect
362574 [iamghetto ho] Thanks for the advice!
+ 362575 [iamghetto ho] For whatever its wroth in the IRB I get this
+ 362586 [b.candler po] Do you have the soap4r gem installed? There's an old and now rather
  362646 [iamghetto ho] yes. 1.5.8
  362653 [b.candler po] script/generate controller hello
  362695 [iamghetto ho] I wish I had such luck.  That doesn't work me.  There must something

^ Has dl/import change in 1.9?
362508 [salinhans gm] require 'dl/import'
362543 [rogerpack200] Yep it's changed.  For me this meant I had to update my net/ssh gem to
362658 [salinhans gm] Quick update after poking around in the dl folder in ruby/lib.

^ help to run Ruby
362513 [nospam news.] I am on windows XP.
+ 362517 [alex.decaria] 1) Either double-click on the script you want to run, OR
+ 362525 [luislavena g] On May 11, 6:55=A0am, "balzer" <nos...@news.eternal-september.org>
| + 362554 [nospam news.] On May 11, 6:55 am, "balzer" <nos...@news.eternal-september.org>
| | 362566 [luislavena g] On May 11, 2:12=A0pm, "balzer" <nos...@news.eternal-september.org>
| + 362639 [  tvw s4r.de] set PATH=E:\Ruby\bin;E:\Ruby\myprogram-beta1\sources\scripts\embed;%PATH%
| | 362665 [nospam news.] I use Ruby without installer, ruby-1.8.7-p72-i386-mswin32
| | 362666 [luislavena g] On May 13, 8:31=A0am, "balzer" <nos...@news.eternal-september.org>
| | 362667 [nospam news.] On May 13, 8:31 am, "balzer" <nos...@news.eternal-september.org>
| | 362696 [luislavena g] On May 13, 9:05=A0am, "balzer" <nos...@news.eternal-september.org>
| + 371724 [barryjogorma] I am having issues - which I think relate to the PATH.  I have done the
+ 371727 [barryjogorma] Output from PATH - does this imply that I have the Path issue sorted?

^ How to compair two object values.plz help me i write that co
362516 [sweetzubair ] How to compair two object values.plz help me i write that code but not
362519 [b.candler po] Change those first two to
362521 [sweetzubair ] ITs show this how to remove \n this plz help
362522 [sweetzubair ] ********** My problem is solved ***********

^ Differences in Time v1.8.6 and 1.9.1
362523 [firekilroy g] now try to use it on a machine with v1.8.6, the Time-part is acting up.
362524 [b.candler po] Write the smallest test program you can which demonstrates the issue. In
362526 [firekilroy g] Yes, that worked for me too.
362528 [b.candler po] I'm not saying it is; but you asserted that "the strftime-option gets
362530 [b.candler po] [1.8.6p114]
362532 [firekilroy g] Thanks, there was a rewrite of Time between versions after all. Now it's

^ [ANN] Lone Star Ruby Conference 2010 - Call for Speakers
362529 [jimfreeze gm] Lone Star Ruby Conference 2010

^ Perl6(ish) grammar implemented in ruby
362537 [gymbrall gma] So a few years ago, I started out writing a ruby implementation of the perl6

^ I had to completely re-install one of my Ubuntu servers...
362541 [xeno.campano] I am having trouble getting my rails system up.  I used the apt-get install of
362587 [b.candler po] (1) "Doesn't work" or "failed" are not adequate descriptions of a

^ interested in writing a commandline option parser for ruby?
362545 [wmorgan-ruby] Don't.
+ 362556 [m.fellinger ] I have no idea what caused this rage of you, but would you kindly tell
| 362573 [wmorgan-ruby] Suboptimal software.
| 362615 [m.fellinger ] The first one on first glance, but I'm using that library for years now.
+ 362561 [ryand-ruby z] hah! awesome.
+ 362577 [botpena gmai] would it be nice if you could include arguments(ARGV) and then infer
threads.html
top