Comparing TP Link (wifi connected) bulb with Hue - the former reacts a lot quicker than tp link after boot (if you are using the normal switch).
404 karma · joined December 11, 2015
Comparing TP Link (wifi connected) bulb with Hue - the former reacts a lot quicker than tp link after boot (if you are using the normal switch).
After using Ant Design, Vuetify (Material UI) and some bootstrap templates - Ant Design is definitely one of the favorites and would use it in other projects. Even though sometimes there are some weird bugs, it's good to mix frameworks a bit and not use the same one for all your projects to keep life interesting!
Hopefully CLI wil work :)
Other projects that I am considering to use: https://github.com/wailsapp/wails (looks very decent and I would be happy to use Vue.js for a UI bit) and Flutter with desktop support (https://github.com/google/flutter-desktop-embedding, in this case it's not directly using Go but you can bind them together).
If this would mean that I can just use Go for everything - that's great but the only concern for me I guess is just the availability of examples and widgets. I don't consider myself a good UI designer so relying on libraries is important :)
Takes like a second to cross compile Go app for all architectures, many cores ftw!
Tooling
For CI I bought a cheap Intel NUC that just sits on my table and runs Drone, Node-RED, my testing environment server.
1. Here from Drone I get all the test pipelines and most of my executable/docker image builds at a much better speed than I would get with Travis, CircleCI and so on. My desktop runs a Drone agent too, so never waiting too long for new builds. 2. Node-RED is used for various automation tasks such as healthchecks for all my services with rate-limits, a bit more complex checks (rather than just simple /health or /status endpoint ping), mailgun webhook handling, github brew formula updates and so on. It does control my TV too :D 3. I also run some tasks on Google Cloud builder which is free and fast. 4. Uptimerobot is also used (http://uptimerobot.com/) as it provides free, second opinion whether my services are down or not.
Compute
For compute I opted for GKE (at the time it was the best managed k8s you can get (and it's still probably is)) on Google Cloud with 3 1vCPU 3.75GB RAM VMs. That gives me plenty of resources to run my stack and any additional side-side-project on it. I tend to code in Go so I don't need much resources. I use managed postgres as a database so I can sleep peacefully.
For additional services I ended up choosing Vultr (https://www.vultr.com/) as they have many regions available and their pricing is really good. There is a nice, non-official CLI and so far their uptime was quite good (few issues but nothing major).
It really depends how much time you want to spend on ops. If you are fine with doing quite a bit of ops, go with Vultr or any other cheaper cloud provider. If you want to spend more time on features, go with GKE and fully automate deployment. Git push -> Google Cloud Builder -> Keel (https://keel.sh) -> new version deployed :)
Luna looks great and I actually think I initially saw it and then I was looking for it but couldn't find it, ending up with Node-RED. I might give it a try, however I didn't see any mentions of how it integrates with Git :/
Also, good to see that it's a more widespread issue with these captchas too, I somehow thought that I am just bad at solving them :)
1. Complex healthchecks for my side project webhookrelay.com (tests backend functionality every 30 seconds) 2. Normal HTTP healthchecks for all my websites - webhookrelay.com, keel.sh and few other backing services such as drone itself. 3. Updates homebrew formula hash when a new release is out (there's a super easy to use github integration that allows you to modify files) 4. Receives and processes emails from Mailgun about delivery failures.
So yeah, probably the best self-hosted IFTTT/Zapier out there :)
I also run more things on my NUC like drone.io build server to run my tests and few more things. I ended up just having a docker-compose file for all my things as opposed to installing services I use through things like HomeAssistant.
The only downside is that it's not user friendly for non-tech people as you would still have to know few things such as what is HTTP server and how do devices talk to each other. It's not as easy as plugging in Google Home and just talking to it. But on the other hand, I only use my google home to: 1. Set timer when I am cooking 2. Send webhooks to my NodeRED to control things.
I don't have Nest currently, although I did use it several years ago, can't say it's very smart :)