News for hackers. Stuff that matters.

dr_traktor

Re:Ask HN: What are you working on? (September 2025) on Monday September 29, 2025 @05:37PM (#45419066)
I’m writing a Python framework to create Python home automation scripts driving Zigbee2MQTT with as little boilerplate as possible. https://pyziggy.github.io

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

https://pyziggy.github.io

I didn't like the existing solutions for writing complex home automation scripts. I don't jive with YAML. I like to code in an IDE with full code completion and as much type safety as I can get from the given language. I like to debug programs when something weird happens. I don't like copying and pasting strings. Pyziggy is my entry in the yet another automation framework category. Big thanks...

( Read More... | no comments | on HN )
Re:What Happens If an Astronaut Floats Off in Space? (2013) on Wednesday June 16, 2021 @10:12AM (#27528684)
> 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

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.

Re:Programming is hard on Tuesday April 06, 2021 @11:10AM (#26712745)
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.