HackerTrans
TopNewTrendsCommentsPastAskShowJobs

dr_traktor

no profile record

Submissions

Show HN: Pyziggy – Python code generator and runtime to work with Zigbee2MQTT

pyziggy.github.io
1 points·by dr_traktor·10 mesi fa·0 comments

comments

dr_traktor
·10 mesi fa·discuss
I’m writing a Python framework to create Python home automation scripts driving Zigbee2MQTT with as little boilerplate as possible. https://pyziggy.github.io
dr_traktor
·5 anni fa·discuss
> At the right angle and velocity, you might even fall back into Earth’s atmosphere and burn up.

That's highly unlikely. Scott Manley has a video [1] examining whether an astronaut could deorbit a small object with human power, and not really. And that's something small, not a massive thing like an astronaut. Fun video though.

[1]: https://youtu.be/cxNJoaBLLNM
dr_traktor
·5 anni fa·discuss
I created a CMake package that autogenerates Python bindings for annotated C++ functions.

If you have a C++ static lib in CMake, it takes two more lines of CMake to generate a Python extension module, and a single line of annotation per C++ function that you want to export.

https://github.com/bebump/bbmp_interop

I use it mostly for testing numerical C++ code using Numpy and Scipy.
dr_traktor
·5 anni fa·discuss
Comparing it to engineering vs music is missing the point.

The keyword is craftsmanship.

I've graduated and have done work as an electrical engineer, and have become a programmer over the years for financial reasons. Whenever I do engineering or design work, I feel they really are very similar to programming. And they probably are similar to music, although I lack comparable proficiency in that field.

And the key insight for me was: the more you do any of this stuff, the better you become. The time you spend with thoughts about it, or practicing it, it slowly changes you. It changes the way you think, the way you approach the problems. You become experienced. And it does not seem to end, there are always new revelations, and you can always find fault in yesterdays work, that you could probably do a little better today.