Programs to Emulate

Discussion in 'Ruby' started by scooby doo, Feb 19, 2004.

  1. scooby doo

    scooby doo Guest

    I'm looking for some well written, small & simple
    applications, written in Ruby, that would be good
    exercise to try to emulate.

    I'm new to Ruby and programming. I have some basics
    down from following some online tutorials.

    -Scooby

    Anyone?

    __________________________________
    Do you Yahoo!?
    Yahoo! Mail SpamGuard - Read only the mail you want.
    http://antispam.yahoo.com/tools
     
    scooby doo, Feb 19, 2004
    #1
    1. Advertising

  2. On Fri, 20 Feb 2004 07:23:45 +0900, scooby doo wrote:

    > I'm looking for some well written, small & simple
    > applications, written in Ruby, that would be good
    > exercise to try to emulate.


    Sorry, I am a little confused over 'emulate'?

    A: educational pieces of Ruby to learn from?

    B: emulate ruby -> make own ruby interpreter?

    What exactly do you mean?

    --
    Simon Strandgaard
     
    Simon Strandgaard, Feb 20, 2004
    #2
    1. Advertising

  3. scooby doo

    Tom Copeland Guest

    On Thu, 2004-02-19 at 17:23, scooby doo wrote:
    > I'm looking for some well written, small & simple
    > applications, written in Ruby, that would be good
    > exercise to try to emulate.
    >
    > I'm new to Ruby and programming. I have some basics
    > down from following some online tutorials.


    The Cerise code looks pretty good to me:

    http://tinyurl.com/2vrxx

    Yours,

    Tom
     
    Tom Copeland, Feb 20, 2004
    #3
  4. scooby doo

    Ara.T.Howard Guest

    On Fri, 20 Feb 2004, scooby doo wrote:

    > I'm looking for some well written, small & simple
    > applications, written in Ruby, that would be good
    > exercise to try to emulate.
    >
    > I'm new to Ruby and programming.


    welcome on board.

    > I have some basics down from following some online tutorials.
    >
    > -Scooby
    >
    > Anyone?


    the standard libraries are good (i should hope)

    ~ > find /usr/local/lib/ruby -name '*rb'

    or

    ~ > ls /usr/local/lib/ruby/1.8/*rb

    (or whatever on you machine)

    you will be suprised to find that many of them are quite short a easy to read.

    try

    pstore.rb
    logger.rb
    open3.rb
    tempfile.rb
    singleton.rb
    ftools.rb

    for some straight forward ones. the advantage to studying these is that you
    will also be able to find docs and examples from them, even if it's only by
    searching clr.

    -a
    --
    ===============================================================================
    | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
    | PHONE :: 303.497.6469
    | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
    | URL :: http://www.ngdc.noaa.gov/stp/
    | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done
    ===============================================================================
     
    Ara.T.Howard, Feb 20, 2004
    #4
  5. scooby doo

    Chris Corwin Guest

    On Feb 20, 2004, at 11:04 AM, Ara.T.Howard wrote:

    > the advantage to studying these is that you
    > will also be able to find docs and examples from them, even if it's
    > only by
    > searching clr.



    greetings, i also am new to ruby

    what does "searching clr" mean?

    (by new to ruby, i mean, as of yesterday, i decided to learn it,
    instead of python, i think)


    - me

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    mysql> SELECT * FROM clients WHERE clue > 0
    0 rows returned
     
    Chris Corwin, Feb 20, 2004
    #5
  6. scooby doo

    Ara.T.Howard Guest

    On Sat, 21 Feb 2004, Chris Corwin wrote:

    >
    > On Feb 20, 2004, at 11:04 AM, Ara.T.Howard wrote:
    >
    > > the advantage to studying these is that you
    > > will also be able to find docs and examples from them, even if it's
    > > only by
    > > searching clr.

    >
    >
    > greetings, i also am new to ruby
    >
    > what does "searching clr" mean?

    ^^^
    ^^^
    comp.lang.ruby

    > (by new to ruby, i mean, as of yesterday, i decided to learn it, instead of
    > python, i think)



    a wise man

    >
    >
    > - me
    >
    > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    >
    > mysql> SELECT * FROM clients WHERE clue > 0
    > 0 rows returned


    -a
    --
    ===============================================================================
    | EMAIL :: Ara [dot] T [dot] Howard [at] noaa [dot] gov
    | PHONE :: 303.497.6469
    | ADDRESS :: E/GC2 325 Broadway, Boulder, CO 80305-3328
    | URL :: http://www.ngdc.noaa.gov/stp/
    | TRY :: for l in ruby perl;do $l -e "print \"\x3a\x2d\x29\x0a\"";done
    ===============================================================================
     
    Ara.T.Howard, Feb 20, 2004
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    12
    Views:
    1,702
    Dave Thompson
    Jan 10, 2005
  2. Coca
    Replies:
    7
    Views:
    776
    Aidan Grey
    Aug 24, 2004
  3. Replies:
    18
    Views:
    656
    Dave Thompson
    Jan 10, 2005
  4. lone_eagle
    Replies:
    3
    Views:
    669
    psykeedelik
    May 26, 2009
  5. Casey Hawthorne
    Replies:
    14
    Views:
    467
Loading...

Share This Page