-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hapi_mqtt.ino: Eliminated a use of a temporary variable and special value. #106
Conversation
… temporary variable and special value. Where else can this be done?
Did you check if this compiles before you changed the working code base? |
@ozarchie asked:
No. I look forward to doing so, So I rely on you and others to test Arduino stuff |
What instructions do we need? Step-by-step for setting up a node? |
Maybe this could shed some light: https://github.com/ozarchie/hapi/wiki/HAPInode I'd like to merge Archie's Wiki with upstream, but maybe @TylerReedMC would like to take a look first. |
@PedroSFreitas, go for it! |
@TylerReedMC commented an hour ago
Done. |
I am still confused -- the documentation says 'arduino', but and ESP / Node device is depicted. I have a drawer full of each sitting around, but what 'cookbook' steps:
and only then, see if it does something useful There is a lot of 'embedded' or assumed knowledge, which needs to be reduced to steps which may be printed, and 'checked off'; as done, and to know that one will end up with, say, at least a gateway control node:
There is talk in the last prior comment of a code review. What is the pull request number, so it might be reviewed? |
@herrold commented:
Read my previous comment.
But thanks for your contributions, I'm sending it to our communication channel as well (Kanboard). 👍 We are three, one is handling Nodes (Arduino/Node/ESP) code, one is focusing on Python code to run on Smart Modules (Raspberry Pi) and the other is right in between the two. James is helping us on whatever he can and we're super glad for that. Now just a quick note about compiling the code before pushing it to upstream. Until we set up our Jenkins Integration it should be fairly easy to get the code and try compiling it using Arduino IDE. If the code compiles then it's a good indication that should be pushed (no actual hardware is necessary). Of course we would appreciate immensely if the code was compiled and tested on actual hardware, but we know that isn't something easy for everyone. |
Russ, you seem to have a pretty good step-by-step list evolving there. Could you flesh that out a bit and post it on the Wiki? |
@TylerReedMC The wiki can't be publicly edited. Perhaps it would be worth looking at moving the wiki contents into the readme folder within the repo so that we can perform pull requests and include documentation updates with corresponding code changes? It is an unfortunate limitation that pull requests can't be opened on the Github wiki. |
@matthew-dews commented
I've read the same and strange that I was thinking exactly that during lunch time. I'll do that then. Probably tomorrow. |
I have opened a new issue #107 to discuss the documentation, |
Please don't create a second space for team discussions. The team should have all discussion content accessible and searchable in a single repository that all team members (especially non-developers) are using. GitHub is great for version control but it's severely lacking when it comes to robust communications. |
Not going to happen with me as it is not a FOSS approach
How can this be called 'better'? |
FOSS refers primarily to the Products of a development effort and not the Process used to create them. Wikipedia - "Free and open-source software (FOSS) is computer software that can be classified as both free software and open-source software.[a] That is, anyone is freely licensed to use, copy, study, and change the software in any way, and the source code is openly shared so that people are encouraged to voluntarily improve the design of the software." Some FOSS products are created by private teams with no visibility from the outside world into the development process at all. Which is fine. By contrast, HAPI is an extremely open project. We appreciate all the help we can get, but it is painful to see the team distracted by long-running comment chains that are irrelevant to the functionality of the end product. If you have philosophical issues with the way we're creating our products, please find another way to vent them. |
74e942a
to
e59aa19
Compare
Where else can this be done?
Could this be simplified further?