Giter Club home page Giter Club logo

microcontrollers's People

Contributors

bocajnotnef avatar

Stargazers

 avatar

Watchers

 avatar

microcontrollers's Issues

current overseer model doesn't handle 'stop' properly

When we halt, we set the thread_run variable to false and then wait for all the threads to end naturally. Threads like the overseer and listener threads are stuck waiting for new connections or for new data before they check the condition on their while loops. We need a better way of handling those threads, or at least of cleaning up their resources so we can have their sockets back.

server application needs configs

either load from a config file at runtime or add arguments for a command line call, but we need a way around manually setting port/IP data

refactor canary state handling

could (and should) be done with an action(state) reducer and enums

e.g.

timestamp_is_old(canary_never_seen) -> canary_never_seen
timestamp_is_old(canary_is_alive) -> canary_is_dead
timestamp_is_current(canary_is_alive) -> canary_is_alive
timtestamp_is_current(canary_is_dead) -> canary_is_alive

so on

this would be much more readable than the weird if-elif-else mayhem that's going on

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.