quack's Introduction
quack's People
Forkers
weldrake13quack's Issues
Introduce a state caching
Currently the duck is not state aware. This means that when a user clicks the duck, there system doesn't know if the duck is quacking at the moment or not.
From an end user point of view this is simply a little confusion when the duck spins besides someone else having turned it off. The issue however is when we want to disable the duck. if the duck gets disabled, whilst on, an human(someone in the office) would be unable to turn it off...
You shuold cache the state so that the system knows if the duck is on or off based on when the program is started. The state could also be updated maybe via API to tell the system that it is currently on or off (incase some weirdness happens).
You could take this one step further, and actiuvely monitor the current between the power and the speaker to see if the duck is on or off at any time.
Volume Control is required
You need to add a potentiometer in order to be able to control the ducks volume.
Quack quack quack quack, quack quack quack quack
secondary override API so we can temporarily disable the duck
so that we can temporarily disable the duck we shuold have a secondary override api that requires authentication.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.