Git Product home page Git Product logo

chops's People

Contributors

hoichi avatar

Stargazers

 avatar  avatar

Watchers

 avatar

chops's Issues

Make it stop!

Implement a proper non-watch mode, that is. Free resources and exit.

You can override critical data with conversions

Recent example: path. fsWatcher parses source path into an object, but if a converter reads yfm and it has a property named path, it gets fucked over.

Of course, the core engine is supposed to be very flexible, so your should be able to override most anything, but maybe we should at least validate the data critical for the core components themselves.

Collections can never emit anything if you fuck up your `indexBy`

indexBy for collections defaults to el => el.toString, which as ofted as not gives you [object Object]. Which, with the current implementation, makes the dictionary too short to ever reach expected length, so the emit never happens.

Gotta think of something when we properly implement the reaction to change.

Ensure we don’t drop data when someone subscribes too late

Not sure we want to block execution and make subscribing to every output channel obligatory, but there’s a nagging suspicion we could lose shit if someone subscribes too late.

Possible solutions:

  • Do make subscribing to every output channel obligatory (not so hot idea for 'template' channel on Renderer).
  • Buffer the unclaimed baggage. Will consume memory, should be destroyed when freeing resources ($ToDo)
  • ?

`fsWriter` fails silently if you send it the wrong data

Say you send page instead of {action: 'change', page}. And then nothing. Just the faint rustle of files not being written.

In theory, abstracting the event system should take care of that, but, you know. Lest we forget.

Unstoppable `change` event

Changed a markdown just now, and it seems like the changed is fired over and over.

Reproduce, locate, exterminate.

Create pagination

Allow it to be set up by consumer script, I guess.

And maybe add simple slice() for rss in the same stride.

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.