202433-204889

202267-236689 subjects 202522-203250

^ How to learn ruby language?
202433 [roopeman gma] How to learn ruby language? where i can find some simple code to learn?
+ 202436 [foamdino gma] Try Learn to Program by Chris Pine[1], also take a look at _why's
+ 202438 [james graypr] Ruby Quizzes come in all difficulty levels.  Here are some links to
| 202469 [studlee2 gma] I liked the Pragmatic Programmers Ruby Guide - Pickaxe.  You can find
+ 202482 [jmg3000 gmai] The home-base for Ruby docs is Ruby-Doc: http://www.ruby-doc.org/.
+ 202552 [gene.tani gm] Ruby for Rails is a good accelerated tutorial

^ Uh oh. In a corner. Need help.
202439 [Eric.Armstro] My rakefile needs to abort when an html
+ 202441 [gwtmp01 mac.] tidy ... > file 2> errlog
+ 202453 [alex blackke] - Use open3, which gives you access to stderr.
  202575 [Eric.Armstro] Thanks, Alex. And you, too, "gwtmp01".

^ wsdl2ruby.rb problem on Windows
202442 [jamesvtoomey] An earlier post mentioned that whenever he runs wsdl2ruby.rb, "even
+ 202443 [nakahiro sar] You need to obtain wsdl2ruby.rb command line program from
+ 202460 [anne wjh.har] on tiger mac, I ran the program from the soap4r bin directory of the
+ 202494 [jamesvtoomey] I couldn't find a Windows installation, but I was able to unzip this

^ [ANN] RHDL 0.5.0
202446 [ptkwt aracne] What is it?
202473 [schapht gmai] As someone who had to do a lot of VHDL in school, I applaud you for

^ ri, rdoc, gems, and rails
202450 [listrecv gma] One great new feature of rubygems 0.9 is that we now have ri for
202451 [drbrain segm] You need to use gemri (comes with rubygems) if you are on Ruby 1.8.4
+ 202452 [listrecv gma] Abbrev, ActionWebService, Archive, Archive::Tar, ArgumentError,
| 202509 [drbrain segm] ActionWebService is part of Rails.
+ 202492 [listrecv gma] I'm finding that I get gemdocs even with ri, but not for all packages.
  202511 [drbrain segm] You will need to generate the ri for packages built before 0.9.0.
  202561 [listrecv gma] Thank you, Eric, for the great info.  I followed your directions and

^ Strange behaviour - Instantiating an object and giving it a block to be used as a method body
202465 [chrisjroos g] In both examples below, the expected results are observed.  However,in the second example (class Bar) warnings are generated.  This isRuby 1.8.2 on Mac Os x 10.4.7.
202466 [chrisjroos g] Ok, so it seems to be with scoping and my choice of the proc variable name.
+ 202474 [m_goldberg a] The following seem a more straight-forward approach to what I think
| 202475 [decoux moulo] no, not really
| 202477 [m_goldberg a] Thanks for pointing this out. I did indeed miss an important point.
+ 202480 [m_goldberg a] I now propose this as a more straight-forward solution to the problem.
  202890 [chrisjroos g] Thanks for the response guys.  As it turns out I didn't need it anyway...

^ Problems installing rubyzip gem on Debian...can someone help?
202467 [subimage gma] I haven't had issues with it before, but now I am...I go to install
+ 202497 [transfire gm] col 31 is at the end of that line. What's that blank space there?
+ 202501 [dharple gene] Maybe you ran into this problem: http://onestepback.org/index.cgi/
| 202550 [subimage gma] Thanks I tried that, but it's still giving me the same damn error.
| 203912 [danbernier g] subimage, any luck with this?  I'm getting the same thing, on a WinXP
+ 203913 [yakumo9275 g] i ran into this with ruby 1.8.2 but 1.8.4 worked fine installing it!
  + 203918 [stonelists g] I'm not sure about rubyzip, but would guess that it needs zlib.  Did you
  + 204211 [subimage gma] I never did get it working, and I'm kind of locked into 1.8.2 as I'm
  | + 204260 [stonelists g] I don't know of a way to upgrade on Debian, but I did just learn of package
  | + 204282 [jmg3000 gmai] Well, you might just install 1.8.4 into someplace like
  + 204886 [ts_news1 son] Odd. I just tried installing the gem myself (I'm the author) on an older
    204889 [ts_news1 son] and rubyforge so you should be able to get it with gem install rubyzip.

^ Web bassed file manager using drb(optionally) and rails
202472 [mcgoverp lab] Usor stands for User Space On Rails, and is a project i've been working
+ 202502 [mcgoverp lab] sorry typo
+ 202621 [botp delmont] # Subject: Web bassed file manager using drb(optionally) and rails
| 203607 [mcgoverp lab] It Does just probably a bad one USOR short for User Space on Rails.
+ 203625 [jgbailey gma] Interesting project. I like the "logos" on certain folders  and the
  203733 [mcgoverp lab] The files should be getting selected with a slightly darker gray, the

^ newbie demo 2 sceptics in my company....
202478 [bitdoger2 ya] ...i have 1.8.2...and i want to do a http hello world program in a web
202479 [james graypr] Your message doesn't contain a question.  ;)
202485 [bitdoger2 ya] oka...how does one do the above two hello world in ruby... and does
+ 202503 [greg.kujawa ] The 1.8.2 Ruby One-Click Installer should come with webrick so you can
+ 202504 [studlee2 gma] Check out Instant Rails:  http://rubyforge.org/projects/instantrails/
+ 202506 [james graypr] Oh good, questions...  ;)
+ 202507 [schapht gmai] I don't know your situation, but you might want to take a look at
+ 202620 [botp delmont] # oka...how does one do the above two hello world in ruby... and does

^ Systir - System Testing In Ruby
202483 [aidy.rutter ] Systir has been bandied about everywhere

^ program works in irb, but not in script...
202484 [john.fink gm] Hey folks,
202486 [decoux moulo] Try it with
202488 [john.fink gm] Holy moley, that works.  Retrospectively, what a completely dumb thing I

^ Difference between include and require for modules?
202491 [jatinder.sau] What I understand from require statement is that the argument to it is a
202516 [jorgen devso] Require is purely used to 'embed' files in other files.

^ One-Click Installer: MinGW? or VC2005?
202498 [ml.chibbs gm] The One-Click Ruby Installer for Windows is at a cross-roads. The C++
+ 202510 [ara.t.howard] not unable - but with a significant amount of work.
| 202512 [ml.chibbs gm] Thanks for taking the time to post such a detailed account. Now that you
| + 202515 [ara.t.howard] right.  the question is whether it's reasonable and/or healthly for the ruby
| | + 202517 [greg.kujawa ] Good points. I ran into similar things trying to build LDAP and Qt in
| | + 203110 [halostatue g] It can't. It uses an older Win32 API and still doesn't use the most
| |   + 203116 [ara.t.howard] can you show some numbers?
| |   + 203230 [strobel secu] rd=20
| |     203235 [phurley gmai] I have written a fair number of C extensions and for me it comes down
| |     203251 [halostatue g] They may. I don't know. What I *can* say is that before I went on
| |     + 203255 [srinivas.j s] I have recently started looking at the possibility of converting one of
| |     | 203294 [halostatue g] Probably not. We don't want to require a P-language to compile Ruby extensions.
| |     + 203287 [ml.chibbs gm] I agree that that this has been a very productive discussion thread, and I'm
| |     | 203324 [znmeb cesmai] Is there a "MinGW team?" <ducking>
| |     | 203362 [ml.chibbs gm] I think the majority of the people on this thread are the MinGW team.
| |     + 203629 [dsisnero gma] I also think that fixing the toolchain might help out more in the long run
| + 203107 [halostatue g] I'm on vacation, so of necessity my post and details will be limited.
+ 202524 [garbagecat10] There's one issue we may be finessing. What about installations (like
| 202529 [ara.t.howard] exactly - this issue is orthogonal.
| 202534 [garbagecat10] world
| + 202539 [tanner.burso] I think this is a fairly valid point though, and plays a point in this
| | + 202542 [ml.chibbs gm] You've nailed it here. The end users (Windows developers) want binaries and
| | | 202573 [garbagecat10] Seems to me the only benefit to VC is that it might somehow produce better
| | | 202579 [ara.t.howard] and they have a stellar record at doing that... ;-)
| | + 203112 [halostatue g] Not quite. MinGW won't give you 64-bit Windows support. At all.
| |   + 203128 [ara.t.howard] setup a binary gsl build we can download and test using ms toolchain only - no
| |   | 203138 [halostatue g] I won't take your challenge for several reasons. I will forward it on
| |   | 203148 [ara.t.howard] fair enough and  thanks for doing it (when you do).
| |   + 203142 [sean.ohalpin] Nor will Visual C++ 2005 Express Edition - it's 32-bit only.
| + 202545 [ mfp acm.org] I believe that it is not entirely orthogonal. My gut feeling is that MinGW
|   202566 [SimonKroeger] Actually i was about to say something like mingw is only easier if you already
|   202580 [lyle.johnson] Seeing as I'm still a few steps behind you, could you comment on what
|   202582 [ara.t.howard] that's odd - i installed and compiled straight away... i'm at an airport now
|   + 202601 [ml.chibbs gm] Ara, could you please post a link to your MinGW writeup to this thread.
|   + 202742 [lyle.johnson] *Please* do post how you got this to work when you are back.
|     + 202752 [SimonKroeger] $ diff ruby-1.8.4/win32/win32.h.orig ruby-1.8.4/win32/win32.h
|     | 202766 [lyle.johnson] It does! Thanks for the patches, Simon. Based on Sean's response I'm
|     + 202759 [sean.ohalpin] I installed MinGW Current (MinGW-5.0.3) first, then
|       202765 [lyle.johnson] Thanks, Sean! I will add this to my list of experiments to try. I'm
+ 202537 [billk cts.co] ruby extconf.rb
| + 202618 [TimHunter nc] I'm sure Kaspar feels your pain :-)
| + 203111 [halostatue g] Then this is a bug with that extension. Anyone who assumes GCC only on
|   + 203121 [ara.t.howard] why is that?  gcc is, far and above, the most platform indepedant compiler in
|   + 203141 [tanner.burso] What happens when VC2k5 goes the way of VC6?  What happens when we can no
|     + 203164 [ara.t.howard] bingo.
|     + 203182 [mailinglists] How long until we have a maintainer dispute in the MinGW team? If this
|       + 203237 [greg.kujawa ] I agree with this assertion. In my world I prefer to use Ruby for most
|       | 203239 [znmeb cesmai] Hmmm ... now it's starting to make sense. There's ActiveState Python,
|       | 203252 [halostatue g] Not enough market as of yet. You'd also be surprised what ActiveState
|       + 203511 [nobu ruby-la] Patches are always welcome. :)
+ 202541 [ mfp acm.org] Given that the current situation can be to a large extent attributed to the
| + 202722 [vjoel path.b] A small addition to Mauricio's point: if a compiler is distributed with
| | + 202739 [ml.chibbs gm] This is a very good point (both Mauricio's and yours). Its an angle that I
| | | 203118 [halostatue g] I do not believe it offers sufficient benefit to consider it.
| | + 202849 [botp delmont] # > * availability: MinGW will not disappear the way VC6 did
| + 202741 [sean.ohalpin] +1 for this idea - a one-click binary installer and a one-click
|   202779 [SimonKroeger] I would *love* a one click installer that would include a
|   + 202784 [ml.chibbs gm] Its more likely that the one-click installer would continue to be a binary
|   | + 202789 [SimonKroeger] I'm just curious, why would you distribute binaries if you have to provide
|   | | + 202796 [tanner.burso] Install time, and consistency, and package size come to mind.  I can drop
|   | | + 202807 [sean.ohalpin] I was suggesting two installers - one for those who just want an easy
|   | |   202810 [ml.chibbs gm] At 77MB, it would have to be an optional add-on.
|   | |   + 202814 [sean.ohalpin] Indeed! :)
|   | |   | 202841 [ml.chibbs gm] I need to go through all of the feedback and tally up the pros and cons. But
|   | |   | + 202842 [TimHunter nc] RMagick votes for MinGW.
|   | |   | + 202915 [devlists-rub] +1 for MinGW.
|   | |   |   + 202924 [Nuralanur ao] I would also like to support a two-part solution that has been suggested
|   | |   |   | 203037 [znmeb cesmai] Could someone remind me what it was that *can't* be built using MinGW?
|   | |   |   | + 203051 [eule space.c] I'll have a shot at that ;)
|   | |   |   | + 203053 [scoopr iki.f] My only concern is the ability to interface with other binary-only
|   | |   |   + 202980 [buppcpp yaho] -1 for MinGW
|   | |   |     + 203001 [alex blackke] Not to throw stones or anything, but are these positions backed by a
|   | |   |     | 203212 [devlists-rub] I recently started a new job in a Windows based lab (having been in Mac
|   | |   |     + 203063 [mailinglists] Some here
|   | |   |       + 203075 [yakumo9275 g] 10% is a LOT! I'd like to see these numbers that proove 10%.
|   | |   |       | + 203077 [phurley gmai] On the issue of licensing, can we distribute MSCVRT with an
|   | |   |       | | + 203078 [ml.chibbs gm] I don't think that this is an issue. msvcrt.dll is nearly ubiquitous and
|   | |   |       | | | 203504 [ml.chibbs gm] I would like to thank everyone who posted to this thread. You have really
|   | |   |       | | + 203126 [halostatue g] IIRC, no. However, Microsoft's licence does allow the distribution of
|   | |   |       | + 203079 [alex blackke] It wouldn't surprise me, but I'd still like to see numbers.
|   | |   |       | + 203083 [simon.kroege] I know this does not say much, but without fiddling with optimizer
|   | |   |       | | 203108 [mailinglists] Maybe your numbers are correct. But you should use a ruby compiled
|   | |   |       | + 203085 [mailinglists] I measured this with my machine. I only did a -O3 with gcc so maybe i
|   | |   |       | | 203104 [guido sohne.] Umm. This is not really a sensible argument. What does out of the box
|   | |   |       | + 203125 [halostatue g] Your rate would be wrong, demonstrably. MSVC is not only the more
|   | |   |       |   203131 [ara.t.howard] but building extension is a language feature - if what you say is true then
|   | |   |       |   203135 [halostatue g] No, Ara, it's not a language feature. It's something that *can* be
|   | |   |       |   + 203147 [ara.t.howard] [OT]
|   | |   |       |   + 203177 [chneukirchen] It's getting time the Ruby "compiler"/runtime-environment is rewritten
|   | |   |       |     203186 [mailinglists] Let us wait 20 years with this until we have the ultra fast quantum
|   | |   |       |     203257 [chneukirchen] If they can do it in Smalltalk and Lisp, it's possible in Ruby too.
|   | |   |       |     203269 [mailinglists] Lisp doesn't count because "data = program syntax" and the builtin
|   | |   |       |     203316 [chneukirchen] There are very fast and efficient implementations of both, I don't see
|   | |   |       + 203094 [ara.t.howard] didn't someone further up this thread show that the mingw compiler was better?
|   | |   |       | 203129 [halostatue g] I won't use gcc on any platform where it isn't the native compiler.
|   | |   |       | 203136 [ara.t.howard] ok austin, i believe your experience.  however you, of all people, should be
|   | |   |       + 203175 [jwkenne attg] Ummm....  Installed, Microsoft's is 1,650MB on my system. MSYS is 206MB.
|   | |   + 202815 [ara.t.howard] i love this idea.
|   | |   + 203084 [simon.kroege] I agree, this might be better.
|   | + 202797 [kevwil gmail] How about a "extension compiler toolchain" binary gem?
|   + 203120 [halostatue g] Big. Big enough to not be worth considering, IMO. (~80Mb is the
+ 202592 [sean.ohalpin] Having used MS C since before it became Visual I can certainly attest
| + 202638 [buppcpp yaho] MS needs to evolve also, do you expect MS to continue to enhance MS-DOS.
| | + 202643 [dbalmain.ml ] Sean's making plenty of sense. His K&R code does still work. It's the
| | | 202666 [leslieviljoe] Mine too. MinGW + MSYS is great, just what I have been looking for,
| | + 203045 [billk cts.co] Since you asked... No.  <grin>  But MS-DOS is frightfully in need of enhancement,
| + 202687 [yakumo9275 g] in some cases, its called progress.
|   202802 [ara.t.howard] i've posted this as long as a year ago - but here's a simple patch to the
+ 202630 [znmeb cesmai] Is cross-compiling/linking with GCC on a GNU platform a viable third
| + 202632 [znmeb cesmai] By the way, the people who build R for Windows have a very extensive
| + 203113 [halostatue g] No. I would stop using the One-Click Ruby Installer if that were the
+ 202712 [kevwil gmail] What we're really talking about is building all kinds of unix-derived
  202714 [ml.chibbs gm] Curt

^ dnssd and avahi?
202505 [rasputnik gm] Has anybody got the dnssd gem to build against avahi?

^ more newbie help with classes and methods please
202514 [simonharriso] I posted a question a week or so now which I got some great help with.
+ 202616 [danielholloc] My suggestion would be to add that behavior right when you are getting
+ 202622 [wrecklass1 g] First, as Daniel already said, why not put the information right in the
  + 202647 [simonharriso] Thanks for replies. Just to point out, this code is not meant for
  | 202653 [simonharriso] decided to have a go at using the case statement. Why won't this work?
  | + 202657 [dblack wobbl] What's that for?
  | | 202658 [simonharriso] Thanks David. Great book by the way. Easier for a beginner than
  | | 202661 [simonharriso] I end with gets because I'm on Windows which usually shuts the window
  | | 202665 [simonharriso] case favourite_colour
  | | 202668 [dblack wobbl] white === favourite_colour
  | + 202671 [m_goldberg a] There are two forms of case block and you have sort of mixed them up.
  |   202673 [dblack wobbl] That's a more thorough answer than mine, since I didn't think of the
  |   202675 [m_goldberg a] I view case without a target as a fancy, more compact, and (IMHO)
  |   + 202676 [dblack wobbl] I'm not sure about its being more compact, unless you've got multiple
  |   | + 202678 [botp delmont] # I'm not sure about its being more compact, unless you've got multiple
  |   | | 202679 [dblack wobbl] This message is in MIME format.  The first part should be readable text,
  |   | | 202681 [botp delmont] # Here's another interesting usage (with target, but sort of in the
  |   | | 202685 [simonharriso] Very helpful reply Morton. Understand case a lot more now. One thing.
  |   | | 202716 [m_goldberg a] Glad to be of help.
  |   | | 202801 [logancapaldo] Well Kernel#gets is ARGF#gets. ARGF is (in general) for writing well-
  |   | | 202867 [simonharriso] Very confusing. Surely it would have been easier to keep getc as a
  |   | + 202715 [m_goldberg a] I try (not always successfully) to avoid deeply nested constructs.
  |   + 202677 [botp delmont] # I view case without a target as a fancy, more compact, and (IMHO)
  + 202656 [dblack wobbl] s/target/target_age/   Also, "until" is a nicer way to do while ! .
threads.html
top