bocajnotnef / microcontrollers Goto Github PK
View Code? Open in Web Editor NEWa collection of my microcontroller driven projects
a collection of my microcontroller driven projects
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.
need to have it respond to different commands
also need to clean up the config file, 'cuz message subject is no longer determined by it
should also look into lists in config files, for multiple email recipients
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
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
.ini
is stupid, and we should use something better. json is magical, and we should use it.
timeout override and debug mode (so we don't spam live email list when we're testing updates)
have the Listener threads collect data and take the averages, then write the data to a local sqlite3 DB in minute increments.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.