1. 08 Nov, 2016 1 commit
    • Jason Rhinelander's avatar
      Improve latex equation output · 04d4a248
      Jason Rhinelander authored
      - in the general latex tabulation, use a minipage instead of a
        \nopagebreak; the latter only prevents page breaks at once location,
        but does nothing about page-breaks in the title that appears right
        before it (so half the equation could end up at the bottom of a
        page/column, and the other half at the top of the next page/column).
        Putting the whole thing in a minipage fixes that.
      
      - Don't put a \n before the equation: under latex, it becomes a \\, but
        the \\ is in an invalid location and generates "no line to end here"
        errors.
      04d4a248
  2. 07 Nov, 2016 15 commits
  3. 06 Nov, 2016 2 commits
  4. 03 Nov, 2016 4 commits
  5. 02 Nov, 2016 2 commits
    • Jason Rhinelander's avatar
      Remove taxes from default series list · 3085000b
      Jason Rhinelander authored
      It's an incredibly boring series: 0 until the policy begins, then a
      constant (of course there's variation in the constant across
      simulations, but not over time).
      3085000b
    • Jason Rhinelander's avatar
      Added taxes and total spending variables · 7e23f18a
      Jason Rhinelander authored
      Also renamed books_written to books_written_pc to reflect that it's a
      per-capita (actually per hundred readers) value.
      
      Added (commented-out) stubs for reader_fines and readers_caught_pc;
      these need deeper changes (and a simulation re-run) as they aren't
      currently tracked in the creativity state file.
      7e23f18a
  6. 01 Nov, 2016 4 commits
  7. 31 Oct, 2016 2 commits
    • Jason Rhinelander's avatar
      Add progress to creativity-data · a2083b54
      Jason Rhinelander authored
      The progress is displayed both in the error output and in the process
      name shown in top (via prctl).
      a2083b54
    • Jason Rhinelander's avatar
      Simulation data: make book numbers per capita · 3b90b9cb
      Jason Rhinelander authored
      books_written, books_bought, books_pirated, and books_public are all not
      particular useful as total numbers because, ceteris paribus, a larger
      simulation will have larger values of all of them.
      
      This changes them all to per-capita values (the first changes to a
      per-100-readers value, the rest to per-reader averages).
      3b90b9cb
  8. 30 Oct, 2016 2 commits
  9. 29 Oct, 2016 4 commits
  10. 27 Oct, 2016 3 commits
    • Jason Rhinelander's avatar
      Removed debugging · fc9ea94f
      Jason Rhinelander authored
      fc9ea94f
    • Jason Rhinelander's avatar
      gcc-4.9 fix · 68e29e88
      Jason Rhinelander authored
      Sadly, libstdc++ doesn't support moving a stringstream before v5, so
      work around it by accepting a unique_ptr instead.
      68e29e88
    • Jason Rhinelander's avatar
      creativity-data: added file preloading · bc62d7ce
      Jason Rhinelander authored
      Right now processing is limited by the fact that individual threads are
      trying to read/decompress different files at once, and don't read from
      disk until they start working.  By using a single thread to load files
      from disk into memory, then having individual worker threads load from
      memory, the disk contention bottleneck should be reduced: one process
      ends up reading files from disk as fast as possible, but sequentially,
      and so while the disk may still bottleneck the process (particular if
      the disk is slow or the CPUs are numerous and very fast), that
      bottleneck should be reduced by reading everything sequentially in one
      thread.
      bc62d7ce
  11. 25 Oct, 2016 1 commit