160711-163481

160652-164058 subjects 160952-162042

^ Set.new vs Set[]
160711 [djberg96 gma] Ruby 1.8.3
+ 160716 [damphyr free] Nope, you just made a Set with an array as an element in the second example.
+ 160736 [ruby.brian g] bschroed@black:~$ irb -r set

^ yaml warning messages
160718 [jlsysinc all] Are these new warning messages actionable?

^ ANN: ZenTest 3.4.0 Released
160724 [ryand-ruby z] ZenTest version 2.4.0 has been released!
161054 [christophe.g] Thank you very much for it! I've always wanted to learn about unit testing, but
161165 [ryand-ruby z] You are very welcome. I look forward to your feedback.

^ Tic-tac-toe checking
160731 [CBlair1986 g] tic-tac-toe win.
+ 160737 [dooby d10.ka] Hmm, the question seems quick enough :p
| 160742 [rhkramer gma] What a really good idea (putting a snip reminder in each post)--I'll  start
| 160964 [dooby d10.ka] No, sorry - an unintended ambiguity.
| 160991 [rhkramer gma] Now I understand!  Thanks!
+ 160738 [dooby d10.ka] Interesting (short line wins).
  160743 [rhkramer gma] Expanding on your explanation, he doesn't have to check the entire row,

^ [ANN] ruby-oci8 0.1.13
160740 [kubo jiubao.] ruby-oci8 0.1.13 is released.

^ rio..
160752 [fghfghfh hom] I can get rio to work on my Windows system. I'm trying to get a list of
160756 [sean.ohalpin] Have you tried R:\\test?
160777 [fghfghfh hom] Nope.. but I will!
160783 [fghfghfh hom] Rio doesn't seem to suport Windows at all:-
160806 [gsinclair gm] irb(main):008:0> r = rio('C:/')
+ 160807 [jqshenker gm] Yeah.I've always used forward slashes (on Windows)... not sure ifbackslashes work, anywhere, in Ruby. In any case, forward slashes aremuch better anyway (cross-platform compatability).
+ 160850 [gandalfmeist] I think you will find that that was a listing of the drive your Ruby
  160868 [gsinclair gm] My IRB experience listed drive C: as it was asked.
  160869 [gsinclair gm] Forget the "in advance"; I just tried it more properly and you're
  160926 [fghfghfh hom] In my case I get the listing from G drive, which is where Ruby is
  163212 [rio4ruby rub] Sorry for being so tardy in my response, I was called away for a few

^ net::FTP fails me (newbe question)
160754 [bill jrl.org] I am running ruby 1.8.2 (2004-12-25) [i386-mswin32] on winXp SP2+ and

^ [ANN] Ruby-GNOME2-0.14.0
160761 [mutoh highwa] Ruby-GNOME2-0.14.0 is out. Enjoy!

^ convert fd to IO object in extension?
160762 [toby cbcg.ne] I'm writing a C extension for Ruby to bind to the epoll(4) facility in
+ 160767 [decoux moulo] Perhaps you can try with ObjectSpace::each_object, something like this
+ 160769 [ruby-ml magi] You may want to peek at Zed A. Shaw's wrapping of Provos' libevent (which
  160776 [toby cbcg.ne] <code>
  160791 [ruby-ml magi] Works.
  160796 [toby cbcg.ne] rb_io_get_io() is not available to extensions, so just get rid of that call

^ Re: net::FTP fails me (newbe question)(further)
160763 [wmustard gma] I changed "ftp.puttextfile(f)" to "ftp.putbinaryfile(f,f,1024)"

^ Re: rcairo 1.0.0
160765 [netghost gma] Sounds promising, thanks for creating this library.

^ RubyConf 2005 Audio - Now Podcasts at Odeo
160780 [jim freeze.o] Jim Freeze
160788 [neoneye gmai] Thanks, its good sound quality.. now I have to stay up late listing.

^ ANN: RubyInline 3.5.0 released
160781 [ryand-ruby z] RubyInline version 3.5.0 has been released!
+ 160784 [Ara.T.Howard] thanks so much for this work ryan!
+ 160793 [rdm cfcl.com] If anyone is looking for projects in this area, Objective-C and Java

^ class to read an email from net/pop3 ?
160782 [stephane.wir] Is there a library to read emails (rfc822) stored in a mailbox or a
+ 160789 [tim vegeta.a] It's difficult to figure out what you want.  Your subject
| 160924 [stephane.wir] Yes, sorry. In fact, I would like to create a small client to retrieve
+ 160790 [bob.news gmx] require 'net/pop'
  160923 [stephane.wir] emails in a rdbms (postgresql, ... (why not sqlite3)).
  160993 [lyndon.samso] Great minds think alike!!! :-)

^ ruby on rails again
160785 [zee_man78 ya] it's me again! yeah :)
160821 [zdennis mkte] On the machine that you have where you can download gems you want to
160854 [zee_man78 ya] i have a win xp computer wich is connected to the internet through
+ 160856 [christophe.g] Take a look at penggy: http://freshmeat.net/projects/penggy/
+ 160859 [zee_man78 ya] Congratulations, you've put Ruby on Rails

^ how to create a hash from 2 arrays?
160794 [tiggerius gm] keys = ["1", "2", "3", "4", "5"]
+ 160795 [neoneye gmai] Hash[*keys.zip(vals).flatten]
| 160799 [tiggerius gm] thanks. let me chew on it.
+ 160797 [ruby.brian g] Not as slick as simons version, but never miss a possibility to use inject.
| 160836 [bob.news gmx] Very nice!  You clearly seem injected - pardon: infected.
+ 160798 [ruby-ml magi] Array#zip is a good way to get started. It takes two Arrays and

^ Re: Closures and Perl [was: Help! define_method leaking procs...]
160800 [ryand-ruby z] "Lexical closures, introduced by Lisp in the early 1970s, are now,

^ [ML-meta] Getting bounce messages
160802 [ruby-ml magi] The ML is throwing bounce messages for the mails I send; the
160822 [matz ruby-la] "foobar@di.pdx.ne.jp" is an address for Japanese cell phone, which is

^ RCRchive Rails Error
160803 [transfire gm] There seems to be a problem with RCRchive. It reports a Rails Error
+ 160804 [Ara.T.Howard] you must really want it ;-)
| 160860 [transfire gm] Two years of blood, sweat and tears.
+ 160811 [ruby-ml magi] Like the suggestion but is there any chance of a version in English? :)
| 160865 [transfire gm] Funny, Matz tosses out some concepts in a keynote on the 15th and I
+ 160873 [dblack wobbl] I'll look into it, though last time stuff like this happened (errors

^ Editing in Ruby
160810 [sravi2k4 gma] I just started reading up on programming in Ruby. I used to program in
+ 160814 [jqshenker gm] There are things that do that... but why?Ruby is a very different language than Java and .Net, which sometimesrely on the IDE too heavily. For Ruby, you don't need autocomplete.Actually, because Ruby is such a dynamic language, a *good*autocomplete is virtually impossible to make. My advice: try to use aneditor instead of an IDE or IDE-like environment with autocomplete andthe like. Experiment with Vim or Scite for a while, you might like it.I did, and I swore by autocomplete for Java before learning Ruby. Justmy $.02!
| 160816 [curt.hibbs g] Its true that autocomplete is a difficult proposition in a dynamic language=
| + 160819 [jqshenker gm] Curt,I actually think we agree on this point. Perhaps the point I wastrying to make is that Java and .Net often rely on code generation andother IDE-powered tricks to speed up development. Ruby doesn't.However, hierarchical trees and such are great and should definitelybe used!
| + 161383 [rob.02004 gm] Curt, have you tried out the jEdit Ruby Editor Plugin? It provides
| | 161420 [curt.hibbs g] I'll have t give it a try... thanks!
| + 163028 [joevandyk gm] Vim + taglist does this.  I don't use it though.
+ 160815 [ruby gmail.c] I'm a newbie to all things in general but I think the Ruby Development
+ 160817 [ruby-talk le] Use irb with irb/completion
| 160835 [jeff.darklig] I agree with Greg.
+ 161376 [rob.02004 gm] The jEdit Ruby Editor Plugin provides method autocompletion for the
+ 163027 [jussij zeuse] The Zeus for Windows IDE uses Exuberant Ctags to do it's

^ Adding a cookie to http-access2 without using a cookie.dat
160813 [pwolpe gmail] Is there a way to add a cookie with http-access2 without having a

^ [ANN] SCGI Rails Runner (could support others)
160826 [zedshaw zeds] Hope you bastards had a great time at RubyConf.  I know I just *loved*

^ starting a process after the previous one is done
160827 [tattvamasi g] I am a RUBY NUBY.
160828 [corey synthe] #!/usr/local/bin/ruby -W
160906 [tattvamasi g] Corey,
160928 [bob.news gmx] No way: sytem is synchronous, i.e. ruby will block until it has finished.

^ Re: [QUIZ] Lost Cities (#51)
160832 [daniels pron] Just had 10 minutes to look at this, and created a quick test harness to
+ 160833 [daniels pron] Oh - and there's a bit there that I had commented out because I had the
+ 160875 [bob_showalte] Daniel, this is awesome! I'm learning a ton just studying your code and
| + 160884 [bob_showalte] I've found another glitch that affects the automation of players with
| | 160930 [james graypr] Let's not go changing the protocol on people.  It's expected to be a
| | 160995 [daniels pron] This is the nice thing about sharing your code. You go to bed, and
| + 160929 [james graypr] Yes, Game.new() expects to be given fresh players.  Good catch.
+ 160890 [bob_showalte] OK, one more minor glitch with the harness. The random number seeding

^ Ruby for Python/OO developer
160838 [achim.domma ] I'm a experienced Python developer (also other OO languages, like C++,
+ 160840 [joevandyk gm] Honestly, the best documentation / tutorial out there is the Agile
| 160843 [achim.domma ] I had already a look at the website, but the book does not seem to
| + 160844 [joevandyk gm] There's a short section / appendix at the back of the Agile Web Dev
| + 160845 [damphyr free] Well, nothing like the Pickaxe book. You can start with the first
+ 160855 [cyclists nc.] _why's (poignant) guide to ruby
+ 160864 [gene.tani gm] also look in the back of Ruby Way book, there's perl to ruby and python
| 160866 [gene.tani gm] (I knew i had a lot of links somewhere)
| 160896 [rictic gmail] I was in the same boat as you Achim, experienced Python guy who got
| 160914 [achim.domma ] Interesting to here, that there are developers which converted from
| + 160917 [gene.tani gm] The syntax becomes quite natural, what is difficult is keeping perl,
| + 161019 [rictic gmail] Yeah, I wouldn't have thought that I would prefer ruby for the average
+ 160900 [marco reimei] I haven't used either Rails or Django, but I've read their intro
| 160909 [achim.domma ] Yes, I know Django. It looks very promissing and as a python fan I would
| 160956 [holovaty gma] Hmm, I'm not too sure about that. For example, Django gives you an
| 160958 [jeff.darklig] ... uh, this is becoming a religious battle, and I don't know about
+ 160904 [snacktime gm] Programming Ruby from the pragmatic bookshelf is a great guide to most of

^ Convenient way to get many hash elements at once.
160839 [rm_rails che] If I have a hash table with a bunch of fields; and I want to
160841 [neoneye gmai] h.values_at('first name', 'last name')

^ ot: debian in ruby
160846 [botp delmont] i hope the ruby maintainer for debian frequents this list since i'd like to ask when will the ruby deb package be updated to ruby1.8.3 (it is still 1.8.2).
+ 160849 [christophe.g] just another Rubyist using Debian (as a desktop, so I'm happy with unstable :)
| 160851 [christophe.g] I forgot one thing. You might want to look at backports. There is a backport of
+ 160852 [paul luon.ne] Ruby 1.8.3 has entered the unstable tree of Debian (sid) about 3 weeks

^ Question about standard library and Net::IMAP.
160848 [steve_rubyta] As a first-steps project in Ruby I've opted to write a simple daemon

^ Nifty Proxy Object for Testing
160853 [ruby.brian g] I had an idea for a testing method I wanted to share. I develop a c
160863 [bob.news gmx] Maybe I didn't understand this correctly but if you have "normal" unit
160901 [ruby.brian g] my idea was that it is a lot easier to write a functional (bugfree)

^ FIXED Re: [ANN] SCGI Rails Runner (could support others)
160867 [zedshaw zeds] A quick notice that I had packaged the scgi_rails packages

^ declaratively caching results of a method
160870 [briankbuckle] I have a class Foo which has a number of heavy, CPU intensive, number
+ 160874 [sean.ohalpin] You could check out Daniel Berger's memoize (based on Nobu Nokada's
| 160927 [briankbuckle] Thank you and wowser!  memoize seems to do just what I'd been looking
| + 160932 [jeff.darklig] if you look at the examples ... normally you include the Memoize
| | 160969 [djberg96 gma] This won't work: "undefined method `memoize' for Foo:Class
| | 160977 [sean.ohalpin] class Foo
| | 160981 [sean.ohalpin] I should have pointed out that this method only memoizes within the
| | 160982 [Daniel.Berge] Eh? If you memoize in initialize, why wouldn't another instance of Foo get the
| | 160985 [sean.ohalpin] class Foo
| | 161075 [Daniel.Berge] Alrighty, then.  I'll make that change in the next release.
| | 161078 [pit capitain] My code was meant as a quick hack for the OP to be able to experiment
| | 161081 [Daniel.Berge] Hm...ok, then I could just return the cache itself, as Sean originally
| | + 161433 [briankbuckle] Suppose the result of a method call is nil or false, and suppose is
| | + 161626 [briankbuckle] Suppose the result of a method call is nil or false, and suppose it
| |   161700 [Daniel.Berge] Good idea!  Thanks!
| + 160941 [lukfugl gmai] This is the magic of closures. When you use define_method, it takes a
| | 160946 [briankbuckle] Thank you for the closure explanation.  I'll have to experiment.
| | + 160948 [jeff.darklig] Brian it isn't ... one copy is your "sent" copy... the other when it comes
| | + 160950 [lukfugl gmai] Not with the current implementation of memoize, no.
| | + 160966 [sean.ohalpin] module Memoize
| |   160973 [Daniel.Berge] I'm debating between this suggestion and Pit's (where you access the cache via
| |   160983 [leavengood g] I prefer Pit's. Otherwise you'll have to hang on to each cache
| |   160984 [sean.ohalpin] Agreed. Pit's is better (even if more complicated ;)
| + 160943 [sean.ohalpin] If you hadn't noticed, "meth" is also a local variable. It looks like
| + 160945 [leavengood g] Yes it is a local variable, but the block used in define_method is a
| + 160955 [pit capitain] define_method("#{name}_cache") do
|   160963 [briankbuckle] It does indeed work.  You rock!
+ 160911 [pan erikveen] class Module
  160915 [pan erikveen] Ignore my previous post...
  160918 [jeff.darklig] Actually, I know there is a method or module in the nano/mega packages

^ XML Validation against XMLSchema ?
160871 [peter.fitzgi] <?xml version="1.0" ?>
160880 [bob.news gmx] HTH

^ Re: Tic-tac-toe checking
160872 [warrenbrown ] CBlair1986,
160877 [warrenbrown ] CBlair1986,

^ [ANN] Roxy 0.1 - Remote Proxy Objects w/ type & method signature impersonation and w/ remote block yields.
160881 [jeff.darklig] Hey folks.
+ 160883 [tom infoethe] Done :-)
| 160887 [jeff.darklig] Alright, it's posted. News hasn't shown up on the Rubyforge homepage,
| 160889 [tom infoethe] I think he checks pending news postings once every day or so...
| 160891 [jeff.darklig] groovy, thanks.
| 160980 [ed.howland g] Now all we need is an ORB!
| 160997 [Neville.Burn] Or a ruby version of JNDI
+ 161016 [drbrain segm] Roxy looks like it reimplements a significant portion of DRb.  Have
  161031 [jeff.darklig] Eric,

^ euruko slides/photos/etc
160885 [armin approx] Dear all,

^ Re: Set.new vs Set[]
160888 [Daniel.Berge] Whoops, you're right.  I should have noticed that.  Anyway, I think I'll

^ YAML serialization of exceptions
160892 [jpshack gmai] Why does the YAML library add a 'mesg' instance variable instead of
160902 [jpshack gmai] Comments on the following alternative?

^ Ruby module for the Asterisk Manager Interface
160899 [snacktime gm] I have just released the first version of Rami, a ruby module for the
161003 [botp delmont] #I have just released the first version of Rami, a ruby module for the
161010 [snacktime gm] They compliment each other. ragi is an interface to the Asterisk AGI, which
161013 [botp delmont] #They compliment each other. ragi is an interface to the

^ mkmf, linking against a specific DLL on windows
160905 [Daniel.Berge] Ruby 1.8.2
161014 [nobuyoshi.na] What do you want to link against?  AFAIK, VC link.exe can't
162622 [djberg96 gma] Ok, but you can generate a .lib file from a .def, and you can generate
162652 [nobuyoshi.na] Of course you can, but I don't think it should be done
+ 162654 [nobuyoshi.na] Oops,
+ 162672 [djberg96 gma] My research indicates that older compilers use dumpbin.exe, but the
| 162690 [nobuyoshi.na] What version do you have?
| 162756 [Daniel.Berge] That should work, thanks.
| 163481 [nobuyoshi.na] Yes, it seems to work.
+ 162673 [djberg96 gma] Oh, you know what? I meant to say "path names with spaces in them".

^ Querying IP Address of a NIC
160913 [joevandyk gm] Other than parsing the output of `sudo /sbin/ifconfig`, anyone know of
+ 160919 [detlef.reich] on linux systems its in /sys/class/net/eth0/address
| 161253 [guslist free] That looks like the Mac address, not the IP address.
+ 160922 [segabor gmai] charset=UTF-8;
+ 160951 [ysantoso-rub] Parsing ifconfig is the only method that works on the largest number
+ 160979 [rasputnik gm] Well, you don't need to run it under sudo..... :)

^ ruby poster
160920 [jperkins sne] There was a poster depicting the class hierarchy of Ruby available
+ 160921 [a.r.ferreira] That is the first page I've got while Googling "ruby chart class
+ 161170 [rubyhacker g] Was it this one?

^ Read a Mail Box in mbox format (was: Re: class to read an email from net/pop3 ?)
160931 [bob.news gmx] Please choose a less misleading subject next time.

^ inner string to path
160933 [segabor gmai] How can I easily conver a string containing path
160937 [langstefan g] `ls '#{str}'`
160942 [segabor gmai] charset=UTF-8;
160962 [bob.news gmx] str = 'your path with strange chars here'
161070 [kballard gma] See above about the multi-argument form, but if you want to stick with

^ gem server horked?
160934 [jeff.darklig] This morning seems the gem server is having a bit of a fit ... getting
160938 [james graypr] Yes, I've been having trouble this morning too.
160940 [pan erikveen] I've been having trouble this evening, too.
160947 [jeff.darklig] True, my view wasn't geographically sensitive.
160957 [jeff.darklig] Has anybody that's part of that project caught this yet ??? I'm surprised
+ 160961 [tom infoethe] The problem is that RubyForge is on a relatively small network
| 160972 [leavengood g] Back when I was first envisioning the original RubyGems, I had
| 160975 [tom infoethe] Cool, yup, Austin just opened a thread on this sort of thing on
+ 160965 [destiney gma] wget -c http://gems.rubyforge.org/gems/rails-0.13.1.gemhttp://gems.rubyforge.org/gems/rake-0.6.2.gemhttp://gems.rubyforge.org/gems/activesupport-1.1.1.gemhttp://gems.rubyforge.org/gems/activerecord-1.11.1.gemhttp://gems.rubyforge.org/gems/actionpack-1.9.1.gemhttp://gems.rubyforge.org/gems/actionmailer-1.0.1.gemhttp://gems.rubyforge.org/gems/actionwebservice-0.8.1.gem
  161206 [vanweerd gma] Cool.
  161216 [tom infoethe] Nope, currently all the Gems are served off gems.rubyforge.org - unless
  161311 [robby.lists ] Until the mirrors are official... enjoy!
threads.html
top