100051-100586 subjects 100526-109991
Re: Telnet and out-of-band responses
100299 [probertm@no ] ...
A simpler way to do this?
100312 [philrob@HO Y] I have an FXList window showing a list of users from a
+ 100314 [cribbsj@oa w] I'm not sure if I have a simpler way of doing what you have done, but
+ 100349 [bob.news@gm ] "Phil Roberts" <philrob@HOLYflatnetSHIT.net> schrieb im Newsbeitrag
getc windows != linux
100333 [roelandmoors] I'm trying to communicate with a program (gnucap) using ruby.
100337 [ahoward@no a] the output from gnucap on window must be line buffered - because it hasn't
+ 100375 [roelandmoors] thanks for the respone!
+ 100430 [roelandmoors] The wrapper didn't work, but I found a solution
+ 100438 [dooby@d1 .k ] [cc: email]
| 100447 [roelandmoors] <-- CODE -->
+ 100441 [ahoward@no a] this, essentially, how my session library works. when i send a command i
problems with literals and replacing classes
100336 [discord@ma .] I've been trying to get some code working that restores original
100340 [mneumann@nt ] It's no bug. You have modified the String class *object*. This object
100408 [discord@ma .] Well, that's kinda what I'd figured it was doing. But still, I would
100341 [dejaspam@ba ] How exactly is Ruby/Tk structured? Does it open an external tcl
100420 [nagai@ai ky ] No.
100345 [kbullock@ri ] Take the following two recursive implementations of Euclid's algorithm,
+ 100348 [phubuh@ph bu] If you run that algorithm in your head, you'll notice that even though
+ 100350 [bob.news@gm ] "Kevin Bullock" <firstname.lastname@example.org> schrieb im Newsbeitrag
+ 100353 [cez-misc.rub] In scheme, iteration is almost always defined as tail-recursion. Ergo,
100581 [kbullock@ri ] Thanks all. That's about what I expected. It seems as though optimizing
J2EE PetShop & Ruby? was Re: Please revisit Ruby's Best and vote for additions
100357 [khaines@en g] I've been out of the mainstream Java development world for a few years,
100358 [surrender_it] <snip all>
changing class at runtime
100373 [segphault@sb] I'm trying to find a way to arbitrarily alter the class of an instance at
+ 100374 [hal9000@hy e] You can't do it in Ruby unless you use Mauricio's "evil" library. (He
+ 100376 [batsman.geo@] batsman@tux-chan:/tmp$ cat ghfgkhjioujklg.rb
| 100379 [segphault@sb] Very cool! Thanks!! In addition to be exactly what I wanted, Its also a
+ 100384 [surrender_it] Can I dare to ask why you need this?
100387 [segphault@sb] At the moment, I have no actual reason for wanting to do this in ruby. I
profiling ruby extensions
100382 [elathan@ph s] Has anyone profiled ruby extensions on Linux?
+ 100393 [cyclists@nc ] Check out valgrind, http://valgrind.kde.org/
| 100402 [elathan@ph s] I thought valgrind was a memory leak checker. I will check it.
+ 100394 [bob.news@gm ] "Elias Athanasopoulos" <email@example.com> schrieb im Newsbeitrag
100404 [elathan@ph s] You mean gprof of binutils? Well, yes. I was just asking for
Namespaces (was [RCR] subclasses of string as hash keys)
100386 [matti_g@gm .] It's diffcult to define the merging.
100489 [bob.news@gm ] "Matthias Georgi" <firstname.lastname@example.org> schrieb im Newsbeitrag
Need Help Selecting a GUI
100395 [dejaspam@ba ] As anyone can tell by looking at the topics of my recent posts, I'm
+ 100396 [rich@li hi o] The FXScintilla Widget is a beast (like the docs say), but I'm as beginner
| 100539 [mkhan@le tr ] First, I was going to reply from the original message of this thread that
| + 100540 [cribbsj@oa w] I think jeroen is in the process of changing providers or
| | 100542 [robertm@sp l] of Fox
| + 100609 [lyle@kn lo y] A temporary glitch. I think you'll find that fox-toolkit.org is back in
+ 100397 [neoneye@ad l] I have comed to pretty much the same conclusions... I am seriously
+ 100400 [jgb3@em il b] I once started a project that used nothing more than Ruby/DL, and drew
| 100445 [feldt@ce ch ] One of my students has done a prototype for a pure-Ruby GUI framework
| 100484 [ptkwt@ar cn ] I'd be interested in looking at it and I think I may actually have some
+ 100401 [joaopedrosa@] Maybe. But I used to run my own Ruby-GNOME2 IRC client
| 100612 [emmanuel.tou] GTK is working OK under win32 nowadays, the installation is easy (and
| 100785 [vincenzo.pio] I'm currently rewriting with Fox an application I started with Gtk, because
| + 100854 [joaopedrosa@] (I am CCing this to the Ruby-GNOME2 dev list)
| | 100918 [vincenzo.pio] Ok, I will give it a try tomorrow at work.
| | 100995 [vincenzo.pio] I tested my prog against this new release and it is far more stable then
| | 101000 [joaopedrosa@] You could join us on the Ruby-GNOME2 dev list (it's
| + 100905 [joaopedrosa@] (Somehow my messages don't reach the newsgroups. As this is an
+ 100414 [ptkwt@ar cn ] FLTK? The FLTK shared lib and ruby bindings are smaller than 1MB.
+ 100417 [ahoward@no a] 6. webrick + native browser
+ 100505 [vladare@ya o] Are you trying the recently released RubyWebDialogs (graphical User
[ANN] Ruby/GtkSourceView 0.2.0
100409 [lrz@gn me or] Ruby/GtkSourceView 0.2.0 is out.
GET-parameters an local vars
100411 [dirk.einecke] I call i a file like this: index.rb?foo=test1&bar=test2
+ 100412 [cez-misc.rub] Well, you could do something with eval allong the following lines, but
| 100415 [dirk.einecke] This sounds good. I will try this...
+ 100413 [flgr@cc n. e] Moin!
100416 [dirk.einecke] Thank you for you posting. Sound good too - but first I will try the way
Speaking of Ruby presentations
100418 [se@he at x. ] Speaking of being able to use Ruby for a primary development language
100424 [neoneye@ad l] Yes, that was a really good speach David held.
Simple eRuby question
100419 [rubyguru@ho ] I'm using eRuby and mod_ruby to write some simple *.rhtml pages (I just
100571 [paul@vu ma k] %> cookie.rhtml
[ANN] ncurses-ruby 0.9
100422 [tpeters@in a] ncurses-ruby 0.9 has been released
ANN: SVG::Graph 0.5.6
100425 [ser@ge ma e-] Greets,
Unique Object for Each source file
100429 [vjoel@PA H. ] This is a silly little bit of code, but it's sort of an answer to
error in reg ex parser of 1.6.3 and 1.8.1?
100431 [chk@on in .d] "<META http-equiv=\"Content-Type content=\"text/html;
100432 [decoux@mo lo] it's called "eternal" match
100434 [chk@on in .d] Thank you - I regularily use regular expressions, but never had to deal with
100435 [decoux@mo lo] Well, you have perhaps the best case : what you must see is that the
[ANN] RMagick 1.5.0 in Debian "unstable"
100439 [cyclists@nc ] Thanks to Mike Williams' tireless efforts, RMagick 1.5.0 (with ImageMagick
Numbers Fixnum + Bignum = just Integer?
100440 [leszek@du ie] I am looking for scripting language to replace Perl, which I am using
+ 100443 [news@st d. t] .... which is kind of what FixNum and BigNum do under the hood. When the
+ 100446 [ksibilev@be ] Don't you think that you contradict yourself? You said programmer
+ 100449 [discord@ma .] Ruby uses Duck typing, so in nearly all cases, Bignums are
100452 [rohitlodha@h] class A
+ 100453 [flgr@cc n. e] Moin!
| 100457 [rohitlodha@h] I heavily assume that it's part of the language specification, because
| 100460 [batsman.geo@] singleton = class << obj; self end
+ 100462 [gsinclair@so] Search the wiki (http://www.rubygarden.org/ruby) for 'singleton' and
+ 100478 [dblack@wo bl] I know no reason to doubt that it's part of the design of the Ruby
+ 100494 [decoux@mo lo] Why do you make a distinction between classMethod and objectMethod ?
| 100519 [rohitlodha@h] Why do you make a distinction between classMethod and objectMethod ?
+ 100496 [bob.news@gm ] "rolo" <email@example.com> schrieb im Newsbeitrag
official valgrind suppression file
100454 [quixoticsyco] I have read that valgrind produces some erroneous results due to
ANN: REXML 3.0.8
100456 [ser@ge ma e-] REXML, the pure-Ruby XML parser, v3.0.8 is out.
100610 [brett_willia] Thanks Sean! Did my bug submission get through after all? Or did you
100775 [ser@ge ma e-] I'm not using Jitterbug any longer, which is probably why it didn't
Participate in short survey on Ruby defects!
100459 [feldt@ce ch ] A student is doing a small project on a tool for detecting coding
Ruby on Rails
100461 [matt@te hn r] Very neat presentation, it kept me up way too late last night watching it.
+ 100466 [rohitlodha@h] The more I think of doing weird things the more I LOVE ruby.
+ 100467 [se@he at x. ] Yes, that would be a great idea. Using some kind of screen cam software
| + 100468 [matt@te hn r] I just don't know enough about Ruby to be able to even start. Sigh.
| + 101095 [mneumann@nt ] rubyforge.org/projects/petstore
| 101180 [robertm@sp l] by
+ 101046 [david@lo dt ] I think that's a great idea and I've already experimented with this a
+ 101047 [jim@fr ez .o] Sorry if I missed it, but what did you use to make the video?
| 101049 [david@lo dt ] It's a combination of SnapProX for OS X (capturing the original
| 101051 [se@he at x. ] Also, Macromedia's RoboDemo, which in my opinion is the best of them
| 101052 [david@lo dt ] Camtasia can use Flash as well. The example I linked to was Flash. But
| 101053 [se@he at x. ] Yeah, I used that before. Last time I checked Camtasia only rendered the
+ 101050 [se@he at x. ] That is exactly what I meant. I think if you would do that you will have
| 101489 [rasputnik@he] Has anyone used vnc2swf? It looks similar to the links posted earlier
| 101498 [se@he at x. ] Great. Haven't even heard about it before. You could always record the
| 101505 [paul@vu ma k] I'll NOT take that bet because I suppose there are and will be in the
| 101528 [se@he at x. ] Word
+ 101063 [hal9000@hy e] I've thought about this. Odder ideas have materialized IMO.
101076 [surrender_it] I believe the gnome project has a 'bounty' project that somehow works
101084 [aredridel@nb] You could contribute, too, to the fundme.net project. It's early on, but
Spam attack on Ruby-Garden
100463 [careck@ci cl] i just had a look at some pages in the Rubygarden wiki and saw that
+ 100474 [lyle@kn lo y] I think I knocked off the rest of them just now. A search for "disney"
+ 100480 [paul@vu ma k] Perhaps some additonal wiki smarts would stop some of that. Assuming
100482 [nick@ac iv h] The wikipedia (http://www.wikipedia.com) is an interesting example of
We have to_yaml. How about to_xml?
100464 [djberg96@ho ] As I was sitting here contemplating my navel lint yet again, I was
100492 [surrender_it] agreed, but maybe you did'nt noticed that we have xml marshaller :)
100495 [nahi@ke na t] Agree. But I can understand this behavior.
Is Ruby the Language for Me?
100469 [n.koren@co c] Greetings!
+ 100470 [gsinclair@so] With that kind of attitude, I'm sure you'll benefit from learning the
+ 100471 [ssteiner@ma ] ...
+ 100472 [phlip_cpp@ya] The distance between low and high level in languages gets greater all the
| + 100473 [phlip_cpp@ya] Later
| + 100534 [tpeters@in a] cf. MatlabBridge on the rubygardern wiki.
+ 100479 [burtdav@ho m] I'll skip what Gavin has already covered and I agree with.
| 100486 [ptkwt@ar cn ] I can easily imagine that one could write a crypto_require or
+ 100487 [segphault@sb] I recently joined the ruby community. I was a python programmer, and I too
+ 100531 [ser@ge ma e-] give
100543 [olivers@mo d] Just to give another viewpoint, have you thought about distributing your
[ANN] (commercial) - Mondrian Ruby IDE beta5
100477 [olivers@mo d] With all the recent talk of ruby IDEs, it seems like a good time to release
100488 [segphault@sb] The interface is nice, and the project management and class browsing
100513 [curt@hi bs c] I hope that you have reported any problems that you have run into with
100493 [milo.thursto] This may be a trivial thing, but this simple code seems to
100498 [decoux@mo lo] try to give it ^D (Control-D) to say that it must stop to
Why do #dup and #clone behave differently with respect to instance methods
100497 [bob.news@gm ] => nil
+ 100549 [drbrain@se m] Note that #clone also copies the frozen and tainted state of an Object,
+ 100550 [flgr@cc n. e] I think the rationale is singleton methods being part of internal state.
100598 [bob.news@gm ] "Florian Gross" <firstname.lastname@example.org> schrieb im Newsbeitrag
100599 [decoux@mo lo] #class always return the class of the object.
100602 [bob.news@gm ] "ts" <email@example.com> schrieb im Newsbeitrag
100603 [decoux@mo lo] class return the result of the last expression. There is a RCR to have
RCR: More enumerator functionality
100500 [kristof@vl e] I would like to know your opinion about the following idea's.
+ 100506 [nobu.nokada@] $ ruby -c
| 100509 [kristof@vl e] Sorry, I forgot to mention it.
+ 100512 [surrender_it] what's wrong with
| 100514 [bob.news@gm ] "gabriele renzi" <firstname.lastname@example.org> schrieb im Newsbeitrag
| 100521 [kristof@vl e] That's indeed more elegant than with filter and lambdas.
+ 100630 [dblack@wo bl] Keep in mind rejected RCR #50
| 100635 [bob.news@gm ] "David A. Black" <email@example.com> schrieb im Newsbeitrag
| 100651 [dblack@wo bl] Sorry; I was misreading the whole post, and therefore
+ 100684 [nobu.nokada@] => [0, 2, 4]
100718 [kristof@vl e] Oh, yes, of course. (stupid mistake)
Suggestion: make command line -F imply -a
100501 [bob.news@gm ] ruby 1.8.1 (2003-12-25) [i386-cygwin]
100522 [matz@ru y- a] -F sets field separator, which is sometimes useful without -a.
100502 [imodev@so th] I think I guess the answer to this question, but I'd like to know if I'm
+ 100503 [bob.news@gm ] <firstname.lastname@example.org> schrieb im Newsbeitrag
| 100504 [imodev@so th] Just was I looking for. Thank you for your quick answer ;-)
+ 100515 [burtdav@ho m] a.class <= Integer
100518 [bob.news@gm ] "Dave Burt" <email@example.com> schrieb im Newsbeitrag
100524 [burtdav@ho m] My omissions were for simplicity; thanks for expanding, Robert.
100527 [bob.news@gm ] "Dave Burt" <firstname.lastname@example.org> schrieb im Newsbeitrag
[Ruby/TK] Widget Internal Layout
100508 [mhm26@dr xe ] require 'ext/tkscrollinglistbox'
100520 [nagai@ai ky ] You'll forget to configure 'weight' option for 'grid' geometry manager.
100510 [Ara.T.Howard] can anyone think of a good reason NOT to have this feature?
+ 100517 [neoneye@ad l] In the past I used the very same piece of code for deep copy.
| 100546 [ahoward@no a] you are right of course: i've written many a custom #clone methods and, for
+ 100523 [matz@ru y- a] I think deep copy should be implemented independently from
100545 [ahoward@no a] i see your point... perhaps an initial impl as in above, or even
How to duck type? - the psychology of static typing in Ruby
100511 [tim@ba es id] Following a discussion in #ruby-lang, I have a suggestion about how to
+ 100516 [decoux@mo lo] [ruby-talk:99351]
| 100560 [tim@ba es id] For those who can't be bothered finding those mails, they both refer to
+ 100525 [ser@ge ma e-] The problem with all of these solutions is that they are discovered at
| + 100528 [neoneye@ad l] I do plenty of unittesting, and only rarely have such kind of problems.
| + 100530 [bob.news@gm ] "SER" <email@example.com> schrieb im Newsbeitrag
| + 100552 [childNOSPAM@] What about Objective-C? It has static typing (with regular pointers) and
| | 100593 [bob.news@gm ] "Marek Janukowicz" <childNOSPAM@t17.ds.pwr.wroc.pl> schrieb im Newsbeitrag
| | + 100601 [childNOSPAM@] I cannot say I know Objective C well too, but I get some basic concepts.
| | | + 100604 [bob.news@gm ] "Marek Janukowicz" <childNOSPAM@t17.ds.pwr.wroc.pl> schrieb im Newsbeitrag
| | | | 100753 [childNOSPAM@] You're right.
| | | + 100605 [matz@ru y- a] Tell me briefly what feature is not present in Java, and what you can
| | | | 100801 [ser@ge ma e-] I want to make sure we're all on the same page.
| | | | + 100802 [hal9000@hy e] Well, here's one comment.
| | | | | + 100852 [surrender_it] I'd say, from an 'optimistic' perspective that this falls in what sean
| | | | | + 100951 [ser@ge ma e-] Yes. As Gabriele Renzi mentioned, I'm more interested in catching as
| | | | | 101097 [bob.news@gm ] "Sean Russell" <firstname.lastname@example.org> schrieb im Newsbeitrag
| | | | | + 101108 [surrender_it] I'd say: yes.
| | | | | + 101129 [ser@ge ma e-] How is that any worse that what you do now? Are you seriously arguing
| | | | | 101130 [bob.news@gm ] "Sean Russell" <email@example.com> schrieb im Newsbeitrag
| | | | | 101194 [ser@ge ma e-] Ah. By that logic, unit testing is bad, because it gives you the
| | | | | 101313 [bob.news@gm ] "Sean Russell" <firstname.lastname@example.org> schrieb im Newsbeitrag
| | | | | 101367 [ser@ge ma e-] I think that, with unit tests, you *think* you know what is covered.
| | | | | 101397 [bob.news@gm ] "Sean Russell" <email@example.com> schrieb im Newsbeitrag
| | | | | 101405 [ser@ge ma e-] and
| | | | + 100807 [dblack@wo bl] I think "expected duck types" may be a contradiction in terms :-)
| | | + 100620 [pjs@al m. it] Yes and no. Objective C started off with ANSI C and added a
| | | 100634 [bob.news@gm ] That was an interesting read!
| | | 100757 [bg-rubytalk@] I have a beef with this attitude. Of course you'll catch this error if
| | | + 100761 [eyez@il uz o] A better example is that perl does exactly what you were asking for
| | | | 100864 [burtdav@ho m] Kind of like this?
| | | + 100764 [hal9000@hy e] A code coverage tool (combined with unit tests) can help this. There's
| | | | + 100768 [neoneye@ad l] Simon Strandgaard
| | | | + 100770 [bg-rubytalk@] As good as a code coverage tool is, it still only works with running
| | | | + 100771 [neoneye@ad l] Have a look at this sample output.. its amazing what this tool are able
| | | | + 100772 [hal9000@hy e] I don't disagree at all.
| | | | + 100773 [DocBoobenste] 8< ----- snip -----
| | | + 101171 [bob.news@gm ] "Ben Giddings" <firstname.lastname@example.org> schrieb im Newsbeitrag
| | + 100618 [aredridel@nb] regular C integers, things like that, so it has to support static
| + 100778 [ser@ge ma e-] This isn't strictly true.
| + 100788 [jamesUNDERBA] Then your goose would be cooked
| | 100790 [hal9000@hy e] If you typed that, you'd better duck.
| | 100815 [lyle@kn lo y] I can't resist pecking out just one more bird pun for this thread. After
| | 100817 [david.naseby] This thread is puffin out too much, and needs to go the way of the dodo.
| | 100824 [ljz@as as .c] Are you chickening out?
| | + 100830 [ljz@as as .c] This turkey is laying an egg. Let's fly it over to alt.cascade
| | + 100906 [tom@in oe he] I think he's just egging you on.
| + 101173 [bob.news@gm ] "Sean Russell" <email@example.com> schrieb im Newsbeitrag
| 101203 [george.marro] There's some discussion of this in "Dynamic vs. Static Optimization
+ 100556 [john.carter@] Excellent idea, Excellent article. Thanks.
| 100563 [tim@ba es id] Ah, of course. But seeing as I never actually do this in code, I can be
| + 100564 [aredridel@nb] Nah, it crashes down on /them/. Garbage in, garbage out.
| + 100566 [john.carter@] The tighter you constrain the interface, the less reusable it is. In the
| + 100572 [gsinclair@so] This is a good guideline for basic types like numbers, strings, arrays,
| | + 100574 [john.carter@] Hmm. I never _aim_ at reuse, I just don't do anything that would
| | + 100615 [aredridel@nb] How about a delegator to your Customer class, with some extensions for
| | | 100662 [gsinclair@so] That's a good question. And the answer, I guess, is no.
| | + 100645 [beast@sy te ] Let me tell you a little story...
| + 100803 [ser@ge ma e-] I'm posting a lot on this topic because I think we have people
| 100958 [john.carter@] I like what you are saying, it is an excellent idea. In fact I like it
| 101025 [ser@ge ma e-] I'll have to take a look at the internals of CGI, but I agree that
+ 100558 [surrender_it] <snipall>
+ 100561 [gsinclair@so] Now I'm no unit testing guru (I try...) but that test to me seems so
| 100565 [tim@ba es id] You're right, that's a really stupid example, and I was hoping nobody
| 100567 [gsinclair@so] Well, there's the problem. There's no context for the attribute, so
| 100606 [burtdav@ho m] The simplest example of unit testing I've seen (except for Tim's contrived
+ 100577 [jamesUNDERBA] <snip/>
+ 100578 [hal9000@hy e] Well, this is partly a side issue.
+ 100608 [dave@pr gp o] No one requires you to do this. Instead, you do this if you feel
100750 [childNOSPAM@] OK, but I personally find it difficult to write unit tests for some kind
100781 [dave@pr gp o] I'm careful to separate the application and business object code from
+ 100786 [chrismo@cl b] Where and when will the sharing be unveiled? :-)
+ 100791 [childNOSPAM@] Such a separation is rather obvious. The business logic is rather easy
| + 100792 [hal9000@hy e] UI is often hard, especially GUI.
| + 100845 [dave@pr gp o] Sorry
+ 100956 [cmiller@pa t] You tease, you.