• Lucid Dreaming - Dream Views




    Results 1 to 24 of 24

    Threaded View

    1. #1
      FBI agent Ynot's Avatar
      Join Date
      Oct 2005
      Gender
      Location
      Southend, Essex
      Posts
      4,337
      Likes
      14

      DV Elim Stats - Bash Scripts

      With round 2 of the elimination game set to start on Wednesday, I thought some people would be interested in the scripts I made for the stats.

      These are a lot more in-depth than the first round stats, and in particular, use concurrent processing to speed up execution.

      It may not be the most efficient of programs (in fact, I'm sure someone will spot bits that are highly inefficient), but I'm quite proud of it none-the-less

      The main program is called "elim_start"
      This program sets up some global stuff, forks off the parallel processing work for tracking individual users' scores, then does the top-x totals and pulls everything together.

      For obvious reasons, I've altered the login credentials of my FTP account

      elim_start
      Spoiler for elim_start:


      The parallel processing is governed by this wrapper script

      parallel
      Spoiler for parallel:


      And finally, the per-user tracking script

      user_loop
      Spoiler for user_loop:



      *edit*
      The finished product can be seen here
      (obviously, it's blank until the game actually starts)
      http://www.snoopy.force9.co.uk/dv_elim.html
      Last edited by Ynot; 09-22-2009 at 12:58 AM.
      (\_ _/)
      (='.'=)
      (")_(")

    Bookmarks

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •