{
  "title": "About Calculator Plugin",
  "story": [
    {
      "type": "paragraph",
      "id": "b748d480a47c877e",
      "text": "This calculator showed the feasibility of numerical calculations expressed in an alternate markup. Its derived from an earlier awk script now in coffeescript.  [https://github.com/WardCunningham/Smallest-Federated-Wiki/blob/master/client/plugins/calculator.coffee github]"
    },
    {
      "type": "calculator",
      "id": "7904ee4f9c2036ae",
      "text": "Jackson Hole Expenses\nFebruary, '81\n\nCal Diller ...\n\n71.25  Cowboy Steak House\n24  M/M\n26  Mexican\n60  Lift Tickets\n13.50  Pizza\n-------\nCAL\n\nBill Pooley ...\n\n48 * 3  Lift Tickets\n14.04  Breakfast\n368.16  Room\n29.31  Drinks\n-------\nBILL\n\nWard Cunningham ...\n\n14.73  Gas\n14.2\n13.86\n17\n14.5\n13.76\n-------\nGAS  Total Gas\n\n15  Blue Lion\n48  Lift\n30.55  Anthonys\n69.24  Alpenhof\nGAS  Total Gas\n-------\nWARD\n\n\nTotal Shared Expenses ...\n\nCAL  Cal Diller\nBILL  Bill Pooley\nWARD  Ward Cunningham\n-------\nTOTAL / 3\n-------\nSHARE  Individual Share\n\n\nIndividual Balances ...\n\nBILL  Bill's Expenses\nSHARE DB\n-------\nSUM\n3.86  Telephone, Cal\n6.01  Telephone, Ward\n-------\nDB  Due Bill\n\n\nCAL  Cal's Expenses\nSHARE DB\n-------\nSUM\n3.86 DB  Telephone\n-------\nDC  Due Cal\n\n\nWARD  Ward's Expenses\nSHARE DB\n-------\nSUM\n6.01 DB  Telephone\n-------\nDW  Due Ward\n\n\nDoublechecking ...\n\nDB\nDC\nDW\n-------\nERROR  Unaccounted Funds\n",
      "data": []
    },
    {
      "type": "paragraph",
      "id": "68e40426c4013222",
      "text": "I wrote this calculator when I volunteered to work out the expenses for our 1981 ski trip to Jackson Hole. I wasn't even sure how to approach the calculation so I just started writing facts into a file."
    },
    {
      "type": "paragraph",
      "id": "c60a0f9d368d082c",
      "text": "Pretty soon I realized that if I could just sum the groups and then bring those sums into other groups then I'd pretty much have it. I wrote a small AWK script to do just that and print a report. I finished the script and the report together. See the script [http://c2.com/doc/expense here]."
    }
  ],
  "journal": [
    {
      "type": "create",
      "item": {
        "title": "About Calculator Plugin"
      },
      "date": 1362959671675
    },
    {
      "item": {
        "type": "factory",
        "id": "b748d480a47c877e"
      },
      "id": "b748d480a47c877e",
      "type": "add",
      "date": 1362959702252
    },
    {
      "type": "edit",
      "id": "b748d480a47c877e",
      "item": {
        "type": "paragraph",
        "id": "b748d480a47c877e",
        "text": "This calculator showed the feasibility of numerical calculations expressed in an alternate markup."
      },
      "date": 1362960002364
    },
    {
      "type": "edit",
      "id": "b748d480a47c877e",
      "item": {
        "type": "paragraph",
        "id": "b748d480a47c877e",
        "text": "This calculator showed the feasibility of numerical calculations expressed in an alternate markup. Its derived from an earlier awk program now translated to coffeescript.  [https://github.com/WardCunningham/Smallest-Federated-Wiki/blob/master/client/plugins/calculator.coffee github]"
      },
      "date": 1362960172783
    },
    {
      "type": "edit",
      "id": "b748d480a47c877e",
      "item": {
        "type": "paragraph",
        "id": "b748d480a47c877e",
        "text": "This calculator showed the feasibility of numerical calculations expressed in an alternate markup. Its derived from an earlier awk script now in coffeescript.  [https://github.com/WardCunningham/Smallest-Federated-Wiki/blob/master/client/plugins/calculator.coffee github]"
      },
      "date": 1362960202592
    },
    {
      "type": "add",
      "item": {
        "type": "calculator",
        "id": "7904ee4f9c2036ae",
        "text": "Jackson Hole Expenses\nFebruary, '81\n\nCal Diller ...\n\n71.25  Cowboy Steak House\n24  M/M\n26  Mexican\n60  Lift Tickets\n13.50  Pizza\n-------\nCAL\n\nBill Pooley ...\n\n48 * 3  Lift Tickets\n14.04  Breakfast\n368.16  Room\n29.31  Drinks\n-------\nBILL\n\nWard Cunningham ...\n\n14.73  Gas\n14.2\n13.86\n17\n14.5\n13.76\n-------\nGAS  Total Gas\n\n15  Blue Lion\n48  Lift\n30.55  Anthonys\n69.24  Alpenhof\nGAS  Total Gas\n-------\nWARD\n\n\nTotal Shared Expenses ...\n\nCAL  Cal Diller\nBILL  Bill Pooley\nWARD  Ward Cunningham\n-------\nTOTAL / 3\n-------\nSHARE  Individual Share\n\n\nIndividual Balances ...\n\nBILL  Bill's Expenses\nSHARE DB\n-------\nSUM\n3.86  Telephone, Cal\n6.01  Telephone, Ward\n-------\nDB  Due Bill\n\n\nCAL  Cal's Expenses\nSHARE DB\n-------\nSUM\n3.86 DB  Telephone\n-------\nDC  Due Cal\n\n\nWARD  Ward's Expenses\nSHARE DB\n-------\nSUM\n6.01 DB  Telephone\n-------\nDW  Due Ward\n\n\nDoublechecking ...\n\nDB\nDC\nDW\n-------\nERROR  Unaccounted Funds\n",
        "data": []
      },
      "id": "7904ee4f9c2036ae",
      "date": 1362960252742
    },
    {
      "type": "move",
      "order": [
        "b748d480a47c877e",
        "7904ee4f9c2036ae"
      ],
      "id": "b748d480a47c877e",
      "date": 1362960261402
    },
    {
      "type": "add",
      "item": {
        "type": "paragraph",
        "id": "68e40426c4013222",
        "text": "I wrote this calculator when I volunteered to work out the expenses for our 1981 ski trip to Jackson Hole. I wasn't even sure how to approach the calculation so I just started writing facts into a file."
      },
      "after": "7904ee4f9c2036ae",
      "id": "68e40426c4013222",
      "date": 1362960332180
    },
    {
      "type": "add",
      "item": {
        "type": "paragraph",
        "id": "c60a0f9d368d082c",
        "text": "Pretty soon I realized that if I could just sum the groups and then bring those sums into other groups then I'd pretty much have it. I wrote a small AWK script to do just that and print a report. I finished the script and the report together. See the script [http://c2.com/doc/expense here]."
      },
      "after": "68e40426c4013222",
      "id": "c60a0f9d368d082c",
      "date": 1362960337141
    }
  ]
}