Git Product home page Git Product logo

settime0's Introduction

settime0
========

settime0 is a wrapper for ntpdate(8). A symlink named settime pointing to the most recent version of settime should be placed in a directory that is in the PATH.


PROCEDURE
---------

- Set the default options
-
- Read the config file
-
- Choose the sites to query
-
-
- Build the initial list
-
- Remove any unwanted sites from the list (I need to change this from removing specifically Microsoft sites to removing sites that math a particular RegEx.
-
- Choose the NRC sites (I need to change this from choosing specifically NRC sites to choosing sites that match a particular RegEx.
-
- Choose the least often picked (inverse weighted random)
-
    - read each candidate's 'pick' stats
    - inverse the ticket quantities
        - if anyone has a 0 weight, give everyone an additional ticket
- Choose sites with the most hits (weighted random)
-
    - read each candidate's 'success' stats
        - if anyone has a 0 weight, give everyone an additional ticket
- Choose sites with best hit/pick ratio (weighted random)
-
    - read each candidate's 'success' stats
        - if anyone has a 0 weight, give everyone an additional ticket
- Shuffle the chosen
-
- Simulate a success
-
- Update the stats
-
- Output the stats to screen (for testing)
-
- Write stats to file
-


TODO
----

* change the formula that calculates the number of tickets when reading the best hit/pick ratio to multiply by a different number (perhaps the reciprical of something...)

settime0's People

Contributors

bpg1968 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.