317400-338598

317188-339382 subjects 317574-344271

^ Wrong file encoding for date.rb on ubuntu
317400 [georg mediap] After upgrading ruby via ubuntu package manager the encoding of the

^ Calc Days from Date
317401 [relzne bluew] I am Ruby Beginner. Now I am trying to write a code, that calcs days
317405 [mguterl gmai] tday = Date.today
317415 [relzne bluew] datum =3D Date.Parse(datums)
+ 317420 [dejan.dimic ] There are so many ways people writes a date so it is to be expected to
+ 317427 [caduceass gm] Well, there's no Now method.

^ newbie q: stripping duplicates
317406 [pierodancona] This is certainly well known, but not to me.
+ 317407 [stefano.croc] irb(main):005:0> a = [{"aa" => "bb"}, {"aa" => "bb"}]
| + 317408 [cdemyanovich] I get the same results as Piero on 1.8.6 p114, the most recent built-in
| + 317409 [pierodancona] $ ruby --version
+ 317410 [lopx gazeta.] 1.8.7 and 1.9.x use deep hashing for hashes, to achieve that in 1.8.6
  + 317411 [pierodancona] Monkeypatched. What a shame.
  + 317412 [tpreal gmail] So I believe this is sort of a bug in the old version? Because now I can
  | + 317413 [sepp2k googl] Yes, but not eql?. In 1.8.6 there were no Hash#hash and Hash#eql? methods so
  | + 317414 [lopx gazeta.] It's not an absurd, just a consequence Hash doesn't have it's own hash
  + 318095 [ shot hot.pl] Right, and I use =E2=80=98alias eql? =3D=3D=E2=80=99 and hand-crafted hash =

^ Script runs fine alone but not when called by cron (EPIPE)
317417 [ottoteixeira] Hey, I'm still learning ruby (first week) and I'm having problem with a
317529 [shortcutter ] You do not give near as much detail as needed to properly answer your

^ Prevents multiple includes of the same module
317418 [user domain.] As it is required from few classes I get
317425 [tpreal gmail] module M;A=8;end

^ RichUnits 0.4.1
317419 [transfire gm] I just released RuchUnits 0.4.1.

^ "FireRuby" (Ruby script for FirePHP)
317421 [tnt nowhere.] Since I couldn't find anything regarding a ruby version of the

^ Sample for Metaprogramming
317422 [relzne bluew] Can anyone give me a good small sample for Metapgramming with Ruby? I
+ 317424 [sepp2k googl] require 'fileutils'
| 317656 [perrin apoth] quite=20
| 317701 [sepp2k googl] That's pretty complicated. The first step would be to define what "the same
| 317715 [perrin apoth] me=20
| + 317722 [sepp2k googl] It doesn't, really. CLOS methods are overloadable functions basically, i.e.=
| | 317737 [perrin apoth] of
| | + 317746 [vjoel path.b] hash table that maps n-tuples of classes to implementation functions.
| | + 317747 [schulte.eric] ut
| + 317733 [schulte.eric] I'm enjoying following this discussion on list, if you do take it off,
|   317738 [perrin apoth] Noted.
+ 317426 [ara.t.howard] a @ http://codeforpeople.com/
+ 317488 [james graypr] James Edward Gray II

^ Needing a little help with a ruby program
317428 [spudicus87 g] Ok, so this is what I need to do for the program. I am not the best
317429 [transfire gm] Study Regexp.

^ Needing a little help with a ruby program
317430 [spudicus87 g] Ok, so this is what I need to do for the program. I am not the best
317433 [Rob AgileCon] First, you might be overdoing the directory part.  You may want to

^ XDG v0.3.0 released
317434 [admin tigero] XDG 0.3.0 has been released.

^ Deamons.rb: changing the pid directory
317435 [mike.nichola] Hey folks,
317456 [b.candler po] Look in the rdoc documentation for Daemons::Pidfile. If daemons is

^ ANN: Sequel 2.6.0 Released
317436 [code jeremye] * Sequel provides thread safety, connection pooling and a concise DSL
317437 [jos catnook.] I'm curious: given the huge speed improvement using their native metadata
317640 [code jeremye] In MySQL's case, it probably isn't implemented well (surprise,
317739 [jos catnook.] This confirms my suspicions. Thanks for sharing, Jeremy.

^ 1.9 bug?
317439 [rogerpack200] here's a function
+ 317441 [rogerpack200] Another 1.9 gems difference [?]
+ 317517 [dvdplm gmail] I've seen this too; it's especially annoying as it stops rails from booting out of the box.
+ 317613 [drbrain segm] Something seems to be preventing defined?'s const_missing from being

^ Compare Arrays
317442 [nonstickglue] Hey, I just have a quick question about arrays.
+ 317444 [caduceass gm] Hmm.  I'm assuming you are looking for ["fish", "birds"], and if you
| 317461 [ruedi brahns] Why not just
| 317464 [dblack rubyp] This message is in MIME format.  The first part should be readable text,
+ 317445 [Allan.Peda i] require 'set'
+ 317446 [christoforev] Im assuming the elements in the array are strings so.....
+ 317455 [b.candler po] If arr2 is always a superset of arr1, then arr2-arr1

^ [ANN] hitimes 0.3.0 Released
317447 [jeremy hineg] gem install hitimes

^ SUCCESS  THROUGH   HOME  BUSINESS
317448 [sringartar g] Success usually comes to those who are too busy to be looking for it

^ [ANN] stickler 0.1.1 Released
317449 [jeremy hineg] stickler version 0.1.1 has been released.

^ Shoes GUI question - downloading body of sites using Ruby
317450 [nathan.wisma] I want to use shoes to be able to download the body of a website that a
317516 [why ruby-lan] You're very, very close.  The problem is that instance variables

^ Hi  I have a Debian 4 machine with Ruby 1.8.6 (installed from source)  and some gems including Rails 2.1 and Phusion Passenger 2.0.3 (mod_rails,  which needs fastthread and rack gems). I want to update to the latest patch  of that version (1.8.6-p287), but I have my concerns. Can I do it safely? Is  there any warning, any catch? Will I have to reinstall RubyGems and every  single gem? What's your advice before patching? Will all the dependent apps  be screwed up? I'm asking this because, unfortunately, there's no "make  uninstall" command after installing Ruby from source... Really! I tried, but  failed miserably. The only choice I see is to erase the folder where it's  located, I doubt installing the patch overwrites all the files.  Any  suggestion is welcomed. Later...  Juan "The Neurochild" EscajadilloUpdating  Ruby 1.8.6 to 1.8.6-p287 in Debian 4
317451 [neurochild g] I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and

^ Updating Ruby 1.8.6 to 1.8.6-p287 in Debian 4
317452 [neurochild g] I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and
+ 317453 [billk cts.co] /opt .
+ 317454 [b.candler po] Do you have a particular reason to do this?
| 317465 [neurochild g] I understand your point of view, but as you can see, I have the first
| 317466 [erik hollens] # apt-get install checkinstall
| 317477 [kbloom gmail] You don't want to do that in this case because there are a whole bunch of
| 317481 [b.candler po] Is there general consensus on the stability of 1.8.7pXXX with Rails?
| + 317495 [ryand-ruby z] I wouldn't touch it with a 10 foot pole for production. Esp not for
| | 317499 [kbloom gmail] I don't know Rails, but I do know Debian (and ruby). Using checkinstall
| | 317511 [neurochild g] I don't install v.1.8.7 yet because of it's not as "stable" as v.
| + 317533 [roberto REMO] I think we should pretend this release never existed at all and concentrate in
| | 317538 [b.candler po] I agree entirely.
| | + 317544 [hramrach cen] Debian jumping to 1.8.7 is probably the wrong move. Not only there are
| | | 317545 [b.candler po] OK, thanks. I did read someone having a problem with a behaviour change
| | + 317555 [gregory.t.br] Sorry to Matz and ruby-core, but Ruby 1.8.7 is a failed experiment.
| |   317560 [b.candler po] I was burned too badly by p230, so I have not touched it yet.
| |   317563 [gregory.t.br] Right, p230 created huge trouble for me and I needed to go back to
| |   317605 [neurochild g] I'm here to inform all of you that my installation of the latest
| |   331136 [andrea.otto ] can I ask u how u did this? Debian is still using 1.8.5 and I want to
| + 317556 [dblack rubyp] Jeremy Kemper has been monitoring and fixing things in that area, I
+ 317476 [kbloom gmail] Upgrade to 1.8.7 from backports.org

^ Help with some codes
317457 [fina.rpkay g] heya all!
+ 317459 [ruedi brahns] Do you mean mac_conf.each_with_index { |mac, aplist|...?
+ 317482 [b.candler po] I think your problem line should be changed to

^ Activating a window using ruby code
317460 [anukul.singh] I am writing a method in ruby named activateWindow(windowHandle).

^ description, what is it?
317462 [g.zhen.ning ] I read a class like this.what's the description work for?
317469 [sepp2k googl] Well, it's not part of ruby core/stdlib, but it seems to be an instance met=
317472 [hassan.schro] erm, uh, at <http://www.ruby-doc.org/core/> I find "description" listed
317473 [sepp2k googl] Yeah, but that's not the one used in his code snippet.

^ Re: Hi I have a Debian 4 machine with Ruby 1.8.6 (installed from source) and some gems including Rails 2.1 and Phusion Passenger 2.0.3 (mod_rails, which needs fastthread and rack gems). I want to update to the latest patch of that version (1.8.6-p287
317463 [gregory.t.br] Please don't post your entire message in the subject line.

^ Re: hitimes 0.3.0 Released
317467 [rogerpack200] Looks nice.  I love how accurate it is over traditional Benchmark.
317515 [jeremy hineg] Thanks!

^ why the object doesn't respond to its method?
317468 [chen_li3 yah] I want to find out if an object responses to a method. while I can tell
+ 317470 [sepp2k googl] My guess is that WIN32OLE handles the call to Visibile via method_missing and
+ 317471 [tpreal gmail] you call the method Visible= and it's a big difference, generally.
  317489 [chen_li3 yah] I find the method "Visible" but not"Visible=" here but the
  317491 [tpreal gmail] This is correct. As it has been said, the respond_to? doesn't work with
  317498 [chen_li3 yah] Thank you very much for the detailed explanation.
  317521 [tpreal gmail] The ole methods cannot be detected by respond_to?. This is exactly what
  317565 [chen_li3 yah] Thank you very much for your time and the help.
  317635 [chen_li3 yah] I guess I figure out why the object doesn't respond to its method in

^ [QUIZ][SOLUTION] Modular Arithmetic (#179)
317478 [kbloom gmail] OK. I decided against that and decided that the operations would be

^ [ANN] ffmpeg-ruby first release : Now extracting thumbnails
317479 [antonin.aman] ffmpeg-ruby is a ruby C extension binding to ffmpeg/libav* library.

^ Re: Modular Arithmetic (#179)
317480 [micathom gma] Here is a (maybe too) simple proxy solution. Modular division isn't

^ Re: Hi  I have a Debian 4 machine with Ruby 1.8.6 (installed from source)  and some gems including R
317483 [b.candler po] The Phusion Passenger website recommends it is used in conjunction with

^ regexp with accent insensitive ??
317485 [ruby gmail.c] Is there anyway to make the regexp accent-insensitive? (/a/ match with ã
317551 [kbloom gmail] in which case, I would try replacing the accented letters with periods
317598 [ruby gmail.c] Thank you for your answer, but I'm working with a lot of languages, so I
317744 [kbloom gmail] You can use a StringScanner (require 'strscan') to properly do this in a

^ Procedure vs method
317486 [jonas.esp go] What advantage or difference has a procedure (Proc) over a method?
+ 317490 [phlip2005 gm] Is this for homework or something?
| + 317494 [dblack rubyp] I think you missed the "(Proc)" in the question. The question is about
| | 317523 [shortcutter ] IMHO it makes sense to not refer to Procs as "procedures" because they
| | + 317532 [martindemell] $ cat test.rb
| | | 317537 [phlip2005 gm] You can store 'bar' & use it later, and it stores its link to 'a'.
| | | 317539 [shortcutter ] I agree that it's a powerful means but I'm not as enthusiastic as you
| | + 317536 [dblack rubyp] Doesn't that vary by language though? I assume Proc/proc stands for
| |   317540 [shortcutter ] Well, probably you are right although I do not know a language where
| |   317541 [dblack rubyp] Aren't they in Lisp? I don't mean that the terms are interchangeable,
| + 317528 [jonas.esp go] I wanted to know why or when is used Proc because it looks that is the
|   317530 [sepp2k googl] Often you use Procs that have been created from a block. Using a method
+ 317492 [dblack rubyp] A method is executed as a direct result of sending a message to an

^ * Hot Chicks Shooting Guns Naked!!
317487 [kkatovic pea] Don't Miss these hot babes shooting high powered guns Naked!

^ Sorting help
317502 [binh pigbaby] I would like to request some helping with a sorting problem I have.
+ 317503 [ron_askew ho] I the values are actually numeric, they should be stored as numerics,
| + 317506 [sepp2k googl] PROBABLY BECAUSE THE OP REALIZED THAT 10.1.25 ISN'T REALLY A LEGAL NUMBER.
| + 317508 [_mwryder wor] The data may be coming from another source that the OP has no control
+ 317504 [matt moss.na] arr.sort_by { |str| str.split('.').map { |x| x.to_i } }
+ 317507 [sepp2k googl] Having already given one (hopefully) helpful answer, I can't help that the way
+ 317514 [botp delmont] RnJvbTogQmluaCBMeSBbbWFpbHRvOmJpbmhAcGlnYmFieS5uZXRdIA0KIyBHaXZlbiBhbiBhcnJh
+ 317542 [erikveen gma] module Enumerable
+ 317543 [shortcutter ] My advice so far would be to state what order you want to achieve.

^ Erase this subject, please! It's repeated by accident!
317505 [neurochild g] Please erase all your messages here. The link above has the same

^ need help with code translation from VB
317509 [chen_li3 yah] I copy the following scripts from
+ 317527 [shortcutter ] How much are you willing to pay?
+ 317535 [ jupp gmx.de] Josef 'Jupp' Schugt

^ dynamic evaluation from a database
317510 [allan.peda i] I am writing some functional testing applications in watir and I am most
317526 [shortcutter ] What is the reason for this?  What else data is there that needs to be

^ require works in ruby not in eruby
317513 [adamhurlburt] I am loading a .rb file from and .rhtml (using an absolute path)and the

^ Finding pattern in strings
317518 [gsr fast-for] How to find the pattern in strings.
317519 [botp delmont] RnJvbTogU3Jpbml2YXMgcmVkZHkgR3VkYSBbbWFpbHRvOmdzckBmYXN0LWZvcndhcmQuY29tLnNn
317520 [gsr fast-for] Thanks. index will fulfill by requirement.

^ A New Job Portal
317522 [salviyarose ] Dear All,

^ undefined symbol: rb_Digest_MD5_Init
317524 [willchu gmai] I am trying to run a program (s3sync) written in Ruby, but I am getting
+ 317534 [nobu ruby-la] Seems that md5init.o was compiled without openssl/md5.h but
+ 317561 [Stephen.G.Da] SSBoYWQgYSBzaW1pbGFyIGlzc3VlIGxhc3Qgd2VlayB3aXRoIHRoZSBtZDUuc28gYW5kIHdhcyBh

^ Win32API GetOpenFileName - filter problem
317531 [toth kw.gbm.] all files instead I defined in the @ofn[:lpstrFilter]. Any idea what
317548 [phasis gmail] Modify the line
317550 [toth kw.gbm.] Perfect! Thanks a lot!

^ Re: Question regarding mechanize lib
317546 [amanking yah] It seems the set_header method has been dropped in mechanize 0.8.4 (or
+ 317557 [gregory.t.br] Technical Blaag at: http://blog.majesticseacreature.com | Non-tech
+ 317612 [aaron tender] It depends.

^ [ANN] spreadsheet 0.6.0 Released
317547 [hannes.wyss ] spreadsheet version 0.6.0 has been released!
317957 [james.herdma] ParseExcel mentioned somewhere that it doesn't support formulae.  Does

^ Namespacing my classes
317549 [user domain.] this (just a fake example, reflecting reality)
317552 [pjb informat] You don't need to put these requires inside the module blocks.
317559 [ymendel pobo] On Oct 13, 9:12=A0am, p...@informatimago.com (Pascal J. Bourguignon)
317567 [shortcutter ] Probably a Lisp fan. :-)
317584 [user domain.] Ho, fine ! I didn't know I could reuse Module MyLib in several place to
317589 [shortcutter ] Note also that you do not need the full namespace path when referencing
317599 [higgs.bozo g] IRB chat!  Now that's an awesome typo.  Or maybe a Freudian slip?  You
317609 [shortcutter ] LOL!  It was definitively unconscious.  I was probably distracted.  I

^ Entering a newline in the windows command prompt
317553 [simon.a.chia] Took me a while to figure this out and thought it might be useful.

^ visual studio 2005
317554 [renyu_teng y] I am newbie for ruby, but I used vs studio for long time. I searched
317577 [rogerpack200] I think the word on the street is that you should compile with VC6.
+ 317593 [renyu_teng y] VC6 is out of question for me as there are many tools I used can't be
+ 317596 [huw darkneon] Just to clarify, Ruby In Steel has a free edition for standard Ruby
  + 317630 [renyu_teng y] thanks for your reply.
  | 317632 [huw darkneon] We don't have any additions to the Ruby interpreter/libraries so nothing
  + 317631 [lloyd 2live4] Posted via http://www.ruby-forum.com/.

^ Ruby Audio API
317558 [joe talkhous] I'm looking for a Ruby audio API.   Is there a good one already
+ 317564 [shortcutter ] Please do not hijack other threads.  This is a completely different=20
| 317571 [damnbigman g] Maybe it's just me but I don't see any other conversation here but the audi=
| 317581 [shortcutter ] pic
| 317591 [damnbigman g] I was reading in my email, It had shown as a new topic in gmail.
| 317615 [shortcutter ] Ah, this might be an explanation: I believe GMail's web frontend does
+ 317575 [joe talkhous] My apologies.
  317579 [shortcutter ] Accepted.
  317580 [gregory.t.br] Right, if you reply to a message and replace its subject, the
  317582 [joe talkhous] Possible.   I can't remember what exactly I was doing.  I'll repost =20

^ Accessing Ruby Object in Memory
317566 [btrichardson] I have a long running Ruby simulation in which data is stored to Ruby
+ 317569 [tpreal gmail] idea to do this. Probably a much better idea would be to start a TCP
| 317587 [vjoel path.b] DRb is the canonical way of doing this if both processes are ruby
| 317590 [vjoel path.b] 1. if the comm seems slow, try setting
+ 317588 [shortcutter ] Please look into DRb.  For pure status updates I would push the current

^ Re: Iconv and incompatible encodings
317570 [ruby gmail.c] I have also a problem with iconv. I'm under linux (configured with utf-8
317572 [james graypr] Try adding the -KU switch to Ruby, to put it in UTF-8 mode.
317578 [ruby gmail.c] $ ruby -KU -e "require 'iconv'; puts
319309 [ruby gmail.c] I was going crazy with this problem. I searched a lot and found some
319356 [nobu ruby-la] GNU libiconv seems to need the locale set.
338275 [ ono java.pl] - locale.c -------------------------------------------
338577 [nobu ruby-la] First of all, option after // is GNU iconv local extension.
338586 [ ono java.pl] Nobuyoshi,
338594 [nobu ruby-la] It affects library functions, such as printf(), and can cause
338598 [ ono java.pl] Of course, but FileUtils.rm_rf '/' can do harm as well, but it is still

^ Re: Installing rubygame and freinds...
317573 [tmcdowell gm] Same problem here, not too keen on using macports/fink/darwinports...
317608 [shawn42 gmai] I have installed Rubygame successfully on OS X on a couple of macs.  I too
threads.html
top