70575-71955

70358-84125 subjects 70736-71958

^ "Collage" of images -- more pychological randomness
70575 [hal9000 hype] Lately I have posted an occasional coding challenge
+ 70576 [dcarrera mat] grid and images.  Are you interested in the specific solution for this
| 70577 [hal9000 hype] I'm flexible.
| 70580 [dcarrera mat] Yeah, I didn't realize the random-looking scenario.  You see, the optimal
| 70586 [B.Candler po] I thought *'s were 2-squares - should the fourth line end '1 1 1' ?
+ 70589 [ahoward fsl.] n_3x3 = 0 or n_3x3 >= 2
  70590 [hal9000 hype] unit;

^ GC.garbage_collect
70578 [unet rexx.co] I notice that in Ruby 1.8 preview2, GC.start no longer
70581 [matz ruby-la] % ri garbage_collect
70583 [hal9000 hype] As for me, I still had to visit the docs before I
70592 [unet rexx.co] I think that was it.  Thanks for the help, guys.

^ Problems with Test::Unit and Ruby 1.8?
70584 [ptkwt shell1] I've got some unit tests that run fine in 1.6.8, but don't work under

^ Urgent Assistance
70587 [federicksavi] Good Day,

^ FreeRIDE and irb
70593 [surrender_it] Is there some plugin somewhere to allow the use of IRB in FR the way
70600 [curt hibbs.c] I'm not aware of any such plugin. I think it has been mentioned as a
70639 [surrender_it] possibly useless, but it does'nt seem a wishlist...
70676 [curt hibbs.c] Hmmm, I sure didn't remember that! But I do know that nothing lasting came

^ Why is PHP so popular?  What can we learn from the PHP camp?
70594 [ptkwt shell1] ....and what can we learn from PHP's rapid rise to success?
+ 70595 [rich lithino] that level of 'extra' functionality. Sure, it could be done.. but it has yet
| + 70616 [lone-star ho] <?php php code ?>
| + 70617 [nemo hellotr] that level of 'extra' functionality. Sure, it could be done.. but it has yet
|   + 70628 [ptkwt shell1] I'll check it out... SE 17th and what's the cross street?
|   | + 70631 [rodrigo.berm] Actually The Mexican Independence is on  September 15th.
|   | + 70632 [nemo hellotr] Why
|   | + 71892 [paul prescod] PHP was designed specifically to solve a problem that a bunch of people
|   + 70681 [bob.news gmx] "Chris Pine" <nemo@hellotree.com> schrieb im Newsbeitrag
+ 70596 [brian coolna] [ snipping a fair number of good points ]
| 70598 [prell cfl.rr] Good evening all,
| 71130 [spam deck.dk] <shameless plug>
+ 70604 [news-1 nospa] My guess, PHP has a lot of the same syntax as C, most functions (of
+ 70605 [B.Candler po] I don't know if PHP was actually first with the concept of "embedding code
| 70817 [rasputin shr] A massive user base, for starters :)
| 70824 [bob.news gmx] "Rasputin" <rasputin@shrike.mine.nu> schrieb im Newsbeitrag
+ 70606 [spectra debi] That's easy!
| + 70609 [james_b neur] The P also refers to Perl and Python; LAMR hasn't the same ring.
| | 70612 [austin halos] And the best information comes up.
| + 70620 [mvondung gmx] I actually think this is exactly the key.
| + 70849 [dwerder gmx.] This is the main reason why I'm still using PHP for web development. I
| + 70933 [dwerder gmx.] This is the main reason why I'm still using PHP for web development. I
+ 70608 [james_b neur] Libraries and lots of full-featured, professional-grade apps.
| + 70613 [jgreer midso] I agree, James, even though many of them seem to be one-off variants of
| + 70623 [kgergely mla] Yes, and we don't have good tutorials to make a web portal.
+ 70622 [mailinglists] Reasons for success
| + 70627 [B.Candler po] StringIO? A pair of threads? IO.popen('-')?
| + 70630 [aredridel nb] It's also far easier to port a C-based library to another functional
| | + 70641 [usenet andre] Oh yes, that's true. I once tried to use non-blocking sockets... they
| | | 70668 [paul snake.n] That's an easy bandwagon to jump on, and (though you may be an exception),
| | | + 70672 [mwilson13 co] Put together a standard distribution of Ruby that permits someone with
| | | + 70698 [usenet andre] I'm not only talking about exploits like buffer overflows, but also
| | |   + 70706 [idan idanso.] This is no longer true, it is possible, but should only be enabled in
| | |   + 70713 [paul snake.n] Could you explain this a bit more?  I'm not clear on why having a
| | |     70730 [usenet andre] This is what I meant. It is now disabled in the default distribution,
| | |     70732 [paul snake.n] That will happen by default whether you run Ruby/PHP as a module or as
| | + 71884 [jason_watkin] PHP got where it is mostly by being old, and not being perl. While we
| |   71885 [ptkwt shell1] I'm wondering if perhaps we already have lots of documentation out there,
| |   + 71895 [james_b neur] I confess to not having the desired time to do all the things
| |   + 71904 [jason_watkin] Hrmm... good point. What I was talking about is more that the accepted open
| |     71955 [surrender_it] Some time ago (~a month) daemonnews.org (bsd ezine) posted a call for
| + 70682 [bob.news gmx] Although I'd agree most of your statements, I'd like to challenge two of
|   70695 [mailinglists] Because a CGI script (or better any non application server like
|   + 70700 [paul snake.n] If you're going to make statements like that, you must expect to be
|   | 70715 [mailinglists] I'm sorry. I typed to fast. Of couse i mean MySqlAdmin, the PHP
|   | 70716 [paul snake.n] Ah.  Okay.  I didn't quite get how MySQL itself came into this.
|   | 70763 [surrender_it] completely OT: some hint about when arachnoRuby could be out ?
|   | 70794 [mailinglists] I'm sorry: i can't say anything. Its still in the business plan,
|   | 70851 [ptkwt shell1] What is AracnoRuby?
|   | + 70868 [mailinglists] You can read about the plans at http://www.ruby-ide.com .
|   | | + 70873 [rodrigo.berm] I would buy it    !
|   | | + 70874 [lyle users.s] As do the screenshots for Arachno PHP, Arachno Python and Arachno Perl ;)
|   | |   70880 [mailinglists] Yes i know and i'm sorry for this.
|   | + 70869 [surrender_it] still vapor, but you can look at the Arachno* suite
|   |   70888 [ptkwt shell1] so it looks like a commercial Ruby 'distro' with an IDE.  I had no idea
|   + 70729 [bob.news gmx] "Lothar Scholz" <mailinglists@scriptolutions.com> schrieb im Newsbeitrag
|     70755 [emschwar pob] I have to say that one of the things I like most about using Ruby for
+ 70636 [emiel il.fon] Just wanted to mention that in all the replies so far no one has
  70637 [B.Candler po] I would disagree there - I have never seen *any* Java application which is
  + 70640 [idan idanso.] I have to disagree here, good enough JITing would provide execution speed
  + 70662 [aredridel nb] Agreed.  I usually end up waiting for pages ending in .jhtml.. could be
  + 70826 [rasputin shr] Client side Java - particularly GUI code - is absolutely awful.
    + 70879 [hvtijen h0tm] I beg to differ. You get many requests per second. So you need a thread or
    | 70894 [rasputin shr] I don't use MySQL, but I doubt that forking off a subshell to run a CGI
    | 70925 [B.Candler po] Perhaps he was referring to Apache + mod_ruby? There is no fork involved to
    + 70887 [B.Candler po] I've seen some *real* bad server-based Java/servlet/Tomcat applications -

^ Pure ruby stream compression library?
70597 [lists zara.6] Anybody know of one? Compression speed or ratio is not important. Need
70633 [dcarrera mat] -  Why do you not want external libraries?
+ 70634 [dcarrera mat] Oh, and one more question, do you only need it to work on Ruby strings?
+ 70708 [lists zara.6] The application is to likely be deployed on a shared hosting server
  70710 [B.Candler po] If it's a shared hosting server that lets you upload Ruby scripts, then I
  70774 [ jupp gmx.de] Saluton!
  70786 [B.Candler po] So, compile whatever you want on another box and upload it. Shared libraries

^ welcome to our website
70599 [sophia-zhang] Dear madam/sir,

^ Problem using FXFileStream
70603 [thomas thoma] I'm having problems using FXFileStream in FXRuby. I want so save an
70614 [lyle users.s] I don't see anything wrong with your code, but I also don't understand
70626 [thomas thoma] This is exactly what I was wondering about.
70832 [lyle users.s] Yes, I just confirmed this under Windows 2000 as well, but I still don't

^ =?iso-8859-2?Q?From=20Mr=20Alex=20Kargbo=20Alie=20?=
70611 [alexalie o2.] From Mr Alex Kargbo Alie

^ ruby and mdk 9.1
70619 [egius.falk t] with ruby. But when i try to install fox in Mandrake 9.1 i'm fall in
70621 [mike ratdog.] I have had reasonable success on Mandrake 9.1, but I compile everything
70807 [egius.falk t] What is CVS?
+ 70821 [jgreer midso] CVS = Concurrent Versions System.
| 70949 [egius.falk t] Thank you, Giuseppe.
+ 70852 [mike ratdog.] CVS is the source code control system used by the Ruby developers as a

^ Ruby Code Kata
70625 [marick testi] I'm getting together a bunch of people with varying degrees of Ruby
70629 [ptkwt shell1] Brian,

^ Are you still swapping links?
70635 [linktrading ] This is a multipart MIME message.

^ [Q] Binary data
70638 [dcarrera mat] Is it possible to store and manipulate binary data in Ruby?
+ 70642 [batsman.geo ] Bit operations w/ Fixnum, then Array#pack.
| 70643 [dcarrera mat] Could you explain to me how to use Array#pack?  PickAxe doesn't contain
| 70653 [B.Candler po] It's in the Pickaxe, you just have to look a bit...
+ 70644 [billk cts.co] As I understand it, strings in Ruby store binary data, and can
| 70647 [djberge qwes] x = "hello".unpack("b*").to_s ->
+ 70649 [ahoward fsl.] #!/usr/bin/env ruby
+ 70680 [laurent data] Array#pack

^ Unix timestamp -> Time object
70645 [usenet andre] I get a DATETIME field from a MySQL DB and am looking for an easy way to
+ 70704 [flifson cs.u] Sounds like a job for the  ParseDate module, which is in the standard
+ 70792 [google tompa] SELECT it from MySQL as a numeric field, then use Time.at

^ timestamp -> formatted date & time
70646 [usenet andre] I get a DATETIME field from a MySQL DB and am looking for an easy way to
70650 [ahoward fsl.] don't know if DATETIME is numeric or text (i use postgresql) but convert to a

^ Sell NI-MH battery
70648 [sam ruby-lan] This is a multi-part message in MIME format

^ [Q] How do you use Array#pack?
70651 [dcarrera mat] I know now that I need to use Array#pack, could someone please tell me
+ 70654 [gfb tonesoft] Most useful information contained in String#unpack description.
+ 70656 [billk cts.co] I see Brian's already replied with a link to the on-line
+ 70657 [ahoward fsl.] -a
+ 70663 [dooby d10.ka] The table of template characters for Array#pack may be found

^ A wishlist for a "Ruby Standard Library"
70652 [aredridel nb] * REXML
+ 70655 [B.Candler po] Perhaps ruby-sumo is a starting point? It's in the RAA. Doesn't look like
| + 70660 [aredridel nb] Not quite included -- it's a separate package to compile and install.
| | 70692 [B.Candler po] I meant 'included in ruby-sumo'
| | 70712 [aredridel nb] Aha!  I had no idea that Ruby-sumo was that sort of "fat" distribution.
| | + 70714 [rodrigo.berm] Just one doubt, who is in charge to mantain the  ruby-lang.org  ?
| | | 70735 [aredridel nb] This is true -- someone would have to actually /do/ it.  I'll not commit
| | | + 70747 [ptkwt shell1] What is PLD?
| | | | 70756 [aredridel nb] Sorry for the acronym -- Polish[ed] Linux Distribution.
| | | + 70830 [matz ruby-la] We, www-admin@ruby-lang.org are doing the job.  See [ruby-talk:70685].
| | | + 71147 [qrczak knm.o] Dnia wto 6. maja 2003 19:42, Aredridel napisa
| | |   + 71156 [childNOSPAM ] Yes, but only Ruby itself and very few libraries.
| | |   + 71162 [aredridel nb] Only a couple packages -- everything else has to be installed manually,
| | + 70749 [ptkwt shell1] raainstall
| + 70673 [mwilson13 co] [snipped many wonderful things.]
|   + 70711 [aredridel nb] The problem with this is that in a shared-hosting environ, the chances
|   + 70722 [gsemones tre] To play devil's advocate here, I'd rather have more of a CPAN type of
|     + 70731 [usenet andre] I think it would be good to have a package with only the interpreter
|     | 70733 [hal9000 hype] There are multiple issues here as I see it.
|     | 70734 [aredridel nb] I agree here -- have a way to strip the distribution to minimal size,
|     | 70819 [jgreer midso] [ I've had my morning coffee and I'm feeling a bit verbose... bear with
|     | 70899 [aredridel nb] Pardon my somewhat off-topic reply, but package management is something
|     + 70748 [ptkwt shell1] Same here.  But I think that part of the reason we're moving toward a
+ 70661 [ahoward fsl.] * YAML (it's almost insane how much better, for some things, this is than xml)
  70693 [0bz63fz3m1qt] Yes I like this voting idea :-)

^ Standard Library Idea
70659 [aredridel nb] I haven't checked to see how easy this would be yet, but I was thinking
+ 70666 [ptkwt shell1] Agreed, I've been thinking for some time now that Ruby would make a good
+ 70671 [mwilson13 co] For Ruby and Objective C, there is also RubyCocoa, by Fujimoto Hisa. See

^ Variable/Method ambiguity
70664 [bystr mac.co] This is a multi-part message in MIME format.
+ 70665 [gsinclair so] Use self.name = "aaa" to call the method.  I'll leave it to others to
+ 70667 [dblack super] I don't think it's inconsistent.  I think it would be inconsistent,
| 70677 [bystr mac.co] These 2 cases would work the same, as actual execution happens after
+ 70670 [ahoward fsl.] use yaml - love yaml
| 70678 [bystr mac.co] I will consider using YAML any time soon, however in my case
+ 70683 [B.Candler po] I don't. I think you want Ruby to be 'clever' in examining the object to

^ [Request] Something Like Dr. Scheme for Ruby
70674 [mwilson13 co] In my never ending quest for knowledge, I decided to learn scheme,

^ Suggestion: String#pack
70675 [austin halos] I have been working on some code recently where it would be very
+ 70684 [matz ruby-la] Pack templates A, a, Z, B, b, H, h, u, m, P and p takes string
+ 70691 [B.Candler po] Well, there are many other data types that you might want to pack (Fixnum
| 70707 [djberge qwes] Be sure to read the comments.  Anyone want to submit a new RCR?
+ 70709 [dblack super] I approach this with trepidation, because (un)pack is one of these
  70761 [austin halos] I have to look up the template meanings most times, myself, but I
  + 70766 [B.Candler po] OK, understood. But I'm sure you know to beware the disease known as
  + 70781 [sroberts uni] packee = []

^ [ANN] www.ruby-lang.org article submitter wanted
70685 [matz ruby-la] As you may know, http://www.ruby-lang.org/ is now blog-like style
+ 70688 [botp delmont] I would be happy to join but I am a nuby and has not attained the
+ 70740 [mwilson13 co] I would like to do so.
| 70742 [jim freeze.o] I looked at the site but did not see  how to submit articles.
| 70831 [matz ruby-la] There's "update" link at the bottom of the left column, but you have
| 70876 [ jupp gmx.de] Saluton!
| 70881 [emschwar pob] Because stylesheets, as originally envisioned by Netscape, were
+ 70762 [austin halos] Certainly. What sort of articles and how often would updates be

^ case sensitive glob?
70694 [xrfang hotma] I found that Ruby dir glob (Dir["*.EXT"]) is case sensitive even on

^ [fxruby] create children
70696 [0bz63fz3m1qt] I want to add some widgets outside the constructor.
+ 70703 [0bz63fz3m1qt] I found out myself..  well inheriting from FXHorizontalFrame
+ 70720 [lyle users.s] When you call create() on an FXComposite widget (such as FXTabBook) it
  70724 [0bz63fz3m1qt] Thanks :-)

^ Module as namespace
70697 [jim freeze.o] I was wondering, is there a difference between the following
70702 [nobu.nokada ] In the former case, a constant defined in Fred can not be

^ SWIG and Ruby  (Was Re: SWIG on Solaris problem)
70699 [jim freeze.o] Ok, I have been reading the swig docs and I have
+ 70717 [putsch mxim.] In a nutshell, yes. Basically, the C data structures used by
| 70723 [lyle users.s] I *was* wondering whose API Jim was working with ;)
+ 70719 [lyle users.s] We should probably add a standard typemap for converting a Ruby Array of

^ Changing interpreter options during runtime
70701 [jim freeze.o] Can the interpreter options be changed during runtime?
70705 [nobu.nokada ] Yes.

^ %w(foo) v.s. ['foo']
70718 [ahoward fsl.] rubyists-
+ 70721 [dcarrera mat] - year, month, day = %w(year month day).map{|k| cgi[k]}
| 70725 [gfb tonesoft] %w{year month day} and %w(year month day) are the same thing, you can use
| 70726 [dcarrera mat] I didn't know that.  Ruby rocks.
| 70728 [gfb tonesoft] I can't imagine either. It must be the same.
+ 70727 [matz ruby-la] No idea.  Could you show us problem reproducing code snippet?
  70743 [ahoward fsl.] this is the offending script - i'm sure the problem must be elsewhere, i just
  + 70745 [gfb tonesoft] Your script has "%(year month day)" instead of "%w(year month day)". I
  + 70746 [gfb tonesoft] By the way, I just verified in IRB that %(year month day) is actually "year
    + 70750 [hal9000 hype] "year
    + 70752 [dblack super] That's gotten quite a lot of play lately; you must have taken a
threads.html
top