95965-96707

95737-96238 subjects 96054-97895

^ mkfifo on windows
95965 [Ara.T.Howard] windoze types-
95971 [dooby d10.ka] yeah, whaddyawant ?                                       :>
96026 [bob.news gmx] "daz" <dooby@d10.karoo.co.uk> schrieb im Newsbeitrag
96031 [djd15 po.cwr] MSDN reference on the CreateNamedPipe function.
96033 [ahoward fatt] this look promising.  i was under the impression thet fifo's were a posix
96364 [guslist free] Any examples? I am always interested in new ways to do this type of

^ [ANN] session-2.1.6
95966 [Ara.T.Howard] - wrapped send_command in a Thread (send async) so output processing can

^ When You Hear The Heavy Accent & The Poor Phone Connection... HANG UP!!!  _____  Ahu502o5hDQIP
95967 [Victim_Of_Hy] When You Hear The Heavy Accent & The Poor Phone Connection... HANG UP!!

^ Re: OT: When You Hear The Heavy Accent & The Poor Phone Connection...
95969 [mailinglists] I think my english communication skills are good enough for
95974 [matt technor] I resent that!

^ loading file to irb
95978 [robo mars.co] Say I've written a few classes in a .rb file, how do I load the classes to
+ 95979 [mailinglists] Starting irb and then type 'require "somethin.rb"'.
+ 95980 [nobu.nokada ] $ irb --help
| 95982 [robo mars.co] Thanks, didn't really wanna ask such newbie questions, still getting grips
+ 95983 [surrender_it] require 'filename' :)

^ Dormant projects (was Status of AOP in Ruby)
95981 [xlucid users] RAA & RubyForge initiatives going dormant is not uncommon.
+ 96166 [tom infoethe] RubyForge doesn't at the moment.
| 96169 [neoneye adsl] Maybe one could calculate a 'dormant' value, so that visitors easily
| 96209 [martindemell] Something I suggested a package manager include is separate "last
| 96237 [xlucid users] Sounds good to me.
+ 96189 [hatespyware ] No offense, but I think it is a pretty awful idea.  Under what
  96236 [xlucid users] Most circumstances, imo.
  96262 [kero chello.] What is the same, had better keep the same name to prevent confusion.
  96276 [rasputnik he] Hear, hear. I can think of a dozen ruby packages I use on a regular
  96293 [surrender_it] that's what the 'like' is for , avoiding heresy ;)

^ deciding between ruby and python
95984 [ik detongise] I'm trying to decide to learn either python or ruby. Are there fundamental
+ 95985 [flgr ccan.de] That's the fundamental error you're making -- Just learn both. It's
+ 95986 [lthiryIdontw] No in a theoric point of view (since the last versions of python),
+ 95987 [lists zara.6] Maybe :-)
+ 95988 [neoneye adsl] Ruby aims to be as intuitive to read as possible, while still maintaining
+ 95991 [jamesUNDERBA] James
+ 95998 [mailinglists] No, there aren't any fundamental difference. From an educational point
| + 96062 [ik detongise] fundamental
| | + 96081 [mailinglists] No i don't think that python has such a top priority. It came from a
| | | 96089 [ptkwt aracne] TCL the most advanced scripting language and TK 'technically the best GUI
| | | 96099 [mailinglists] No other language has complete separate multiple interpreters in the
| | | + 96122 [surrender_it] And tcl has a lovely vfs implementation in the core :)
| | | | 96148 [ptkwt aracne] does vfs == "virtual file system" ?  Meaning that you can access a URL
| | | | 96160 [surrender_it] yes
| | | + 96178 [michael_s_ca] What is it about a "scripting" language that obviates their need for
| | + 96082 [cyclists nc.] Ruby-ists, IMO, are generally reluctant to make qualitative statements
| |   96095 [xlucid users] Yes - it's a lot like saying "I'm looking for a large quadruped.  Is a
| |   96096 [ahoward fatt] definedly a cow.  horse burgers are terrible.
| |   96097 [daniels pron] What? You want to ride the quadruped?
| |   96098 [hal9000 hype] And thus was C++ born.
| |   96118 [andrew walro] For those developers capable enough to use it, it is peerless. For the less
| + 96135 [ccos alphali] yes either that or you could just learn Oz and kill three birds with
+ 96006 [klausm0762 y] Ruby has a lot of Smalltalk ideas in it and implements OO very nicely
| 96008 [seth cql.com] I don't think I would say that python has a lisp slant.  In fact, ruby has more functional programming syntax (e.g. list processing) than python.  Python is a procedural language.
| + 96010 [surrender_it] I'd say that python has a Scheme slant, cause functions are in the
| | 96012 [cc1 cec.wust] I would say feature wise they are very similar, from a theoretical
| + 96317 [ville spamme] It's amazing to see how clueless people here can be, and still offer
|   96319 [hal9000 hype] I'm prepared to admit you are right, since I don't know Python.
|   + 96322 [Stephan.Kaem] Right, it's doesn't seem to be either. What I immediately thought was
|   + 96334 [ville spamme] That's a commendable attitude.
|     96336 [hal9000 hype] I'd have thought t.split.join(' ') would better exemplify
|     96339 [ville spamme] ' '.join(sequence) tends to get some bad rep, but I think it's more OO
|     96340 [hal9000 hype] I'd have to disagree. join, since it produces a string, obviously
|     + 96345 [ville spamme] And hence, the sequence knows about strings. The Ruby approach is
|     | + 96348 [surrender_it] I *believe* he talks about accessor methods.
|     | + 96352 [g_ogata optu] It's not String-specific; it calls the elements' #to_s methods, and
|     | | 96353 [surrender_it] I believe this is just like print.
|     | + 96377 [discord mac.] I get the feeling I may be feeding a troll, but some of your comments
|     |   + 96387 [flori nixe.p] class Proc
|     |   | 96400 [swap gmx.net] My arity preserving solution to this problem was
|     |   | 96421 [matt technor] Just to totally confuse the ongoing discussion, I'd like to throw in my
|     |   + 96390 [ville spamme] It does make a difference, because sequences (or 'iterables') are a
|     |     + 96391 [decoux moulo] and security, this is more, more important ... (at least for me)
|     |     + 96393 [ahoward fatt] i think alan turing would disagree.  strings are THE fundemental concept
|     |     + 96427 [nathaniel ta] Hmmm... you're missing the two things that completely turned me off of
|     |       96429 [alex_verk ma] I was faced with this decision just about a month ago. What I wanted was
|     + 96368 [jim weirichh] I think Ville means that making join a method on a list means that lists
|       96373 [ville spamme] I mostly meant that the sequence has a special case for the list of
|       96446 [aredridel nb] class Socket
|       + 96456 [discord mac.] <snip example>
|       + 96467 [ville spamme] Indeed it is. We do the same thing in Python (just define __str__() in
|         + 96486 [aredridel nb] Hm. In this case, defining (locally!) the Socket#to_str method seems to
|         + 96493 [billk cts.co] A little foolishly, probably, I feel somewhat impelled to point
|           96495 [jamesUNDERBA] I've been enjoying this thread, as it teeters on trolling but yet is
|           96503 [ville spamme] Alright, let's assume that we have a function f that should always
|           96508 [djd15 po.cwr] As you say, this whole thread has been done many times before.
|           + 96509 [guslist free] I had the exact opposite understanding of the meaning of #to_s and
|           | 96511 [djd15 po.cwr] Ah, yes. Upon going back and reading I had it backwards. Serves me right for
|           | 96515 [dblack wobbl] I think there's a difference between an object acting like a string
|           | 96518 [matz ruby-la] Pre 1.0 Ruby was very tolerant about types: 1 + "2" gave 3, and
|           | 96523 [guslist free] Just a as we are on the subject. Should Ojbect#to_s return self.to_str
|           | 96552 [matz ruby-la] I encourage defining "to_str" along with string methods, i.e. by
|           | 96561 [ramen lackin] I'd really like to understand what you mean, here. In your first sentence,
|           | 96562 [gsinclair so] I won't speak on Matz's behalf, but it's important to remember that
|           + 96512 [ville spamme] #each is just a for loop (at least the #each usages I've seen
|           | 96538 [gsinclair so] #each is not just a for loop.  #each is the embodiment of Ruby's
|           | 96544 [surrender_it] As of current python, you have equivalent mechanics for yield as an
|           | 96548 [gsinclair so] It's not equivalent.  Ruby's approach is more OO: you can chain
|           | + 96564 [surrender_it] ok, I can agree, cause I like consistency, but I think you can agree
|           | | 96690 [dagbrown LAR] Nope.
|           | | 96691 [surrender_it] yep
|           | | + 96692 [harryo qiqso] Yes, he's creating a hash (not an array), but that's presumably just because he grabbed the code from a real application, where he wants to be able to re-use the values.
|           | | | 96693 [djd15 po.cwr] No, his point is that you can't zip two such objects together. You need at
|           | | | 96694 [harryo qiqso] Ah!  I thought he was just commenting on the fact that Dave's Fib#each was storing all the values.  I thought Gabriele just thought this was necessary to make it work.
|           | | + 96695 [jim weirichh] Alas, that is a limitation of the internal iterator paradigm that Ruby
|           | |   96707 [surrender_it] yes, I knew this, look at an older post of mine in this thread :)
|           | + 96566 [ville spamme] (Yes, I know I'm really overstaying my welcome in this ng, just
|           |   + 96571 [cc1 cec.wust] (reverse (map (lambda (x) (begin (display x) (* x 2)))
|           |   | 96574 [dblack wobbl] I think you want #map there.  With each, the first block is
|           |   | 96579 [cc1 cec.wust] Whoops, just goes to show what happens when I forget to test the code
|           |   | 96585 [dblack wobbl] There's definitely an efficiency issue; #each only has to keep the
|           |   + 96573 [dblack wobbl] That looks like #map rather than #each.
|           |   + 96580 [gsinclair so] I don't mind.  You post intelligently, and although a lot of this
|           |     + 96582 [vadimn redha] Feature-by-feature comparisons are useful insofar as they help you
|           |     | + 96588 [cc1 cec.wust] Yea but that doesn't give you the guarenteed cleanup that the yield
|           |     | | + 96591 [vadimn redha] The English language does just fine without explicit case endings.
|           |     | | | 96598 [cc1 cec.wust] I like the logic being inline like it is in the ruby example.  I find it
|           |     | | + 96592 [vadimn redha] $ cat Main.java
|           |     | |   + 96594 [mikei gwnsof] class ExternalResource : System.IDisposable {
|           |     | |   + 96596 [cc1 cec.wust] Yea I knew that was a possibility, but that seperates logic from point
|           |     | + 96590 [bg-rubytalk ] Ah yes, in one fell swoop, demonstrating almost all the things I find
|           |     | + 96615 [gsinclair so] Doesn't seem insurmountable to me! :)
|           |     + 96624 [ville spamme] You don't really pollute it much, because you can always use the same
|           |       + 96628 [gsinclair so] [warning, long post :]
|           |       | 96645 [ville spamme] Yes, why not? The scoping of objects is the same, and using list
|           |       + 96657 [bg-rubytalk ] Not only that, but in Ruby you don't need to know about "rollback" or
|           |         96683 [daniels pron] While you may have created closure-like behaviour by using the array
|           + 96517 [matz ruby-la] Maybe "join" should call "to_str" instead of "to_s" in the future.
|             96539 [gsinclair so] Bad idea, IMO.  "join" is designed for returning a string.  It
|             96546 [rasputnik he] Yeah, but it should be the objects decision whether it's able to provide a meaningful
|             96551 [gsinclair so] I'm probably covering the same ground as DAB here, but there's a big
+ 96094 [charleshixsn] The main advantage of Python is that the libraries are more mature and
  96100 [mailinglists] This will happen in Python 2.4.

^ [WANTED] Secure TCPServer, TCPClient
95990 [djberg96 hot] With the inclusion of the OpenSSL package in Ruby 1.8.x, is there
+ 96002 [surrender_it] FWIW I believe that this would be cool :)
| 96027 [rasputnik he] cleartext = HTTPServer.new(
| 96600 [im_not_givin] def connect(tcp)
+ 96020 [frido q-soft] I assume quite some peope are capable of it. Question is are enough

^ [ANN] Madeleine 0.6
95992 [ndrsbngtssn ] What is Madeleine?
+ 95993 [chad chadfow] Wonderful, Anders!
| + 95997 [ndrsbngtssn ] The remote install works great. Thanks!
| + 96015 [NoSpamPlease] What's the significant difference between GPL, Lesser GPL, and BSD
|   96021 [surrender_it] you're stimulating a huge flamewar ;)
|   96040 [usenets yaho] If a consultant use any of those program with the above license at his/her
|   96045 [surrender_it] absolutely no.
|   + 96048 [gfb tonesoft] Do not make confusions -- Ruby in general is not GPL, file "Copying" in
|   + 96050 [steven.jenki] It's better to get the answer to questions like this from the
+ 95999 [david loudth] I'm thrilled to see that you're still working on Madeleine. I use it as
| + 96000 [seth cql.com] What is Madeleine?  URL?
| | 96001 [surrender_it] I believe you missed the first message of this thread :)
| + 96028 [ndrsbngtssn ] Cool to see it being used! I'll take a look at Instiki.
+ 96084 [NoSpamPlease] 1- connect to mysql db
| + 96106 [ndrsbngtssn ] Madeleine isn't a web library, it's a persistence library. So you would
| + 96120 [aengstrom gn] Madeleine is not library to connect to a SQL database. Madeleine is a
+ 96239 [pbrannan atd] After reading the webpage, I'm still wondering that.
  96240 [khaines enig] It sounds like an in-memory database of Ruby objects that knows how to
  96257 [ndrsbngtssn ] It has some similarities with Pstore, but not that many. It has a very
  96259 [khaines enig] I've been doing some reading on it.  It seems very interesting, and I can

^ [ANN] rbbr-0.6.0
95994 [mutoh highwa] rbbr-0.6.0 released. Enjoy!

^ [ANN] ruby-root v0.0.2
95996 [elathan phys] ruby-root v0.0.2 is released!

^ [newbie] What is String#dump for=?koi8-r?Q?=3F?=
96003 [alex_verk ma] [quoted from http://c2.com/cgi/wiki?IwannaLearnRuby]
96005 [flori nixe.p] (flori@lambda:flori/ 0)$ ri String#dump
96007 [alex_verk ma] _="puts'_='+_.dump+';'+_";puts'_='+_.dump+';'+_
96013 [flori nixe.p] It's not the same method as inspect, but similar. There is also

^ Re: [newbie] What is String#dump for?
96004 [lyle knology] See the "Reflection, ObjectSpace and Distributed Ruby" chapter of
96009 [sroberts uni] Yes, that is one important use, though you could use it for other things.

^ YAML and initializers
96014 [hal9000 hype] Here's a thought question for you. If you read the subject line, you
96022 [ruby-talk wh] Good discussion, Hal.  I've been really rethinking the YAML+Ruby typing
+ 96025 [hal9000 hype] Good, I have some other random thoughts below. Thanks for replying...
| + 96029 [surrender_it] yes! and
| + 96046 [ruby-talk wh] Okay, yeah.  It's one of those things I'd like to have, but there hasn't
|   + 96051 [hal9000 hype] I understand about not looking forward to coding it.
|   | 96117 [martindemell] I like this - it's elegant. Strings would probably be better than
|   + 96147 [guslist free] Let me add my name to the list of people interrested in this feature.
+ 96030 [bob.news gmx] "why the lucky stiff" <ruby-talk@whytheluckystiff.net> schrieb im

^ OT: Licenses [Was Re: [ANN] Madeleine 0.6]
96016 [aredridel nb] or compatible.

^ [ANN] Ruby/CAPTCHA 0.1.2
96018 [jgb3 email.b] This is not actually a new release... just a move to RubyForge.

^ wrapping interactive console program in Windows
96019 [edward nikon] I am trying to write a wrapper for a program with an interactive shell,
+ 96023 [nobu.nokada ] At close_write, your myprogram.exe reaches EOF.  You have to
+ 96080 [bg-rubytalk ] You might want to look at rexpect.rb or expect.rb.  I think expect.rb is
  96087 [edward nikon] I thought of that but It is not apear to be included with the windows
  96091 [nobu.nokada ] Windows doesn't pty support.  I'd like to know how to create
  96102 [edward nikon] I think this is how to do it.
  96121 [nobu.nokada ] I didn't mean how to use console, but how to provide console
  96204 [edward nikon] I am not sure I am understanding but would this be what you are refering
  96313 [nobu.nokada ] Default console provided by Windows quite differs from pty.
  96362 [edward nikon] I have read it but probably not understood.  I realize it should not

^ proposal - delayed intropolation in heredoc
96035 [neoneye adsl] yet another crazy proposal from me.. read on, am I crazy?
96038 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
96042 [neoneye adsl] I was afraid of that. If you are a genius then its ok to be crazy,
+ 96126 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
| 96157 [neoneye adsl] I prefer being my self, rather than pretending to be somebody else ;-)
| 96196 [bob.news gmx] "Simon Strandgaard" <neoneye@adslhome.dk> schrieb im Newsbeitrag
+ 96128 [kjana dm4lab] This particular case, you can use sprintf or String#%, can't you?
  96158 [neoneye adsl] Bommer..  Yes '%' does the trick.  Silly me.  I have been using this many
  96159 [neoneye adsl] def write_page(body, title, css, filename)

^ Ruby on Windows
96037 [rubytuzdayz ] Is there any good Ruby example that manipulate any Office Docoments,
+ 96049 [curt hibbs.c] I haven't done this myself, but you probably want to take a look at Winole.
+ 96109 [frido q-soft] Have you tried some Ruby ODBC?
+ 96143 [jussij zeuse] For what it's worth, I have been playing with the RubyScript WSH
+ 96177 [sdate everes] This should get you started ...
+ 96260 [rubytuzdayz ] I will try each and find which one is easier to move my data in Access
  96264 [bret pettich] ______________________________________

^ [Ann] Atlanta Ruby User Group: First Meeting
96039 [joey joeygib] To anyone in or near the Atlanta area, the first meeting of the Atlanta

^ OT: licenses [Was Re: [ANN] Madeleine 0.6]
96041 [aredridel nb] None of them have a no-commmercial-use clause -- you can do whatever you
threads.html
top