Coder Social home page Coder Social logo

manhattan's People

Contributors

wylee avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

wylee cartlogic

manhattan's Issues

Allow path passed to TimeRotatingLog to be a bare file name?

When path is a bare file name (i.e., it has no directory prefix), TimeRotatingLog.create_dirs bails when trying to create a parent directory with no name.

Possible solutions:

  • Convert path to absolute path in __init__
  • Skip creating parent directories if dirpath is empty in create_dirs

Support denormalized 'recent sessions' functionality

Keep a consistently-updated table containing just a certain number or certain time period of recent sessions. For icing on the cake, allow keeping specific tables for sessions that have recently converted on a certain goal.

Support site-specific aggregation

As of now the frontend and logs support site-specific data, but the backend aggregator does not.

Denormalized results should be available per-site, using the .site_id attribute available on each record. This could be implemented either:

  • Explicitly in each Rollup instance as desired
  • Implicitly by building additional rollups for each site
  • Implicitly by performing each rollup for each site
  • ???

Get rid of wait calls and increase reliability in threaded tests

The thread-based approach is obnoxious to test, because incorrectly behaving threads may live longer than expected, and synchronization is difficult.

Possible solutions could be:

  • Switch the server/worker/log stack to gevent, so that Greenlets can be killed reliably.
  • Use proper synchronization mechanisms, like threading Events / locks / semaphores for various steps of processing.
  • Eliminate the need to spawn threads at all in tests.

On itsdangerous signature mismatch, throw both desired and actual values

In the middleware, the exception thrown on a signature mismatch when calling self.signer.unsign should include a message with both the desired signature and actual signature, instead of just the actual signature. This should aid in diagnosing issues with cookie mangling, truncation, etc.

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.