Giter Site home page Giter Site logo

neperien's Introduction

Neperien build

A structured, hierarchical logging system for debugging complex algorithms and programs.

todo: a lwd/nottui viewer

neperien's People

Contributors

c-cube avatar drup avatar gbury avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

drup

neperien's Issues

change disk format

from a record with given ID, need:

  • access parent
  • access (first) child
  • access previous record (causally)
  • access next record

to do this, we need two files:

  1. index, a fixed-size record file. Record at offset 3 * sizeof(int64) * n stores:
    • the offset of n-th record in the data file
    • the ID of first child of record with Id n
    • the ID of (causal) next record
  2. data, append-only file with records storing messages, previous pointer and parent pointer (variable size)

When logging a new record, obtain next ID n (incr), create record in index with 0 as next and first-child; write content of record (with previous/parent pointers) into data; if there's a parent or predecessor update their first-child/next pointer fields in file index.

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.