Robert Graham (rgraham)

rgraham
Website
http://whitetailsoftware.com/
Location
Austin, TX
Member since

Recent activity

  1. Robert Graham

    1. committed to Bjango

      460c668c60a3 Removing empty file

    2. created Interview Assignment

Repositories

  1. Bjango

    A/Bingo -- http://www.bingocardcreator.com/abingo/ -- clone for django. Not polished for use yet.

    To manage identity issues for testing purposes there is a decorator for your view methods. Use @bjango_identity.

    To start a split test:

    1. Use the decorator on the view method.

    2. Use split_test from utils.py to create the test, specify the alternatives, name the test, and connect it all to an identity

    3. Use the conversion function from utils.py to mark conversions for you split tests.

    The alternatives are specified as strings in an array, but the strings can be simple strings like in the 'meaningless'-named example a/b test or they can be whole templates as in the 'registration' example.

    Privacy
    Public repository
    Followers
  2. Interview Assignment

    In the programming language of your choice (one of C/C++/java), write a multithreaded simulator that runs 'T' threads and exits when done. The behavior of the threads and the executable is described below.

    Thread run: Each thread has to do the following

    Picks 2 random accounts from N-user-accounts.

    Transfers 'X' dollars from source-account to destination-account.

    Go back to step-1

    Thread Exit: The threads should all terminate when there is one account with zero balance.

    Input: The executable can take three arguments

    'T': number of simultaneous threads to start.

    'X': number of dollars for each transfer.

    'N': number of user accounts

    Output: The output will be the number of transactions it takes before the threads exit.

    If a transaction is requested for an amount larger than the remaining balance of an account then the transaction will be made for the remaining balance in the account.

    Ex. Acct A $5, Acct B $20.

    A requested transfer from Acct A for $10 to Acct B yields:

    Acct A $0, Acct B $25.

    All accounts will be initialized with a starting dollar amount of $100. (no requirement given)

    Privacy
    Public repository
    Followers
  3. Wufoo Quizzes

    I was asked to help someone use Wufoo as a quiz system and automate the grading process. This project integrates with Wufoo's API, sends emails, grades quizzes, and generates CSV files.

    This depends on the python wrapper for Wufoo's API. Grab that from GitHub: https://github.com/wufoo/pyfoo

    It also depends on python-dateutil and Django to send email with utf-8 compatibility.

    Privacy
    Public repository
    Followers