Show HN: KrotoDC – gRPC in Kotlin with Dataclasses 2 by mscheong | 0 comments on Hacker News. - A protoc plugin data class generator that can be used as a substitute for existing Java protobuf classes that need to be constructed by a builder (which isn't very kotlin-ish). - generates coroutine service base and stubs that use the generated classes as request/response types, allowing you to completely avoid using Java classes. - Since it also generates converter extension functions between the generated types and Java types, you can still easily use protobuf-specific features such as serialization. - Additionally provides Kotlin-specific features (optional fields as nullable, oneof fields as sealed classes).
Show HN: Tools and code to make MicroPython development faster and more fun 3 by meta-level | 0 comments on Hacker News. Because I love bringing small devices to life and I also love Python I was very excited when MicroPython started to be conveniently available for platforms like the ESP32. But it's still quite cumbersome and error prone to get your code on a device and make it run. And then you have to worry about wearing out the flash memory by continuously copying over new versions of your code. This is why I came up with "esp32_mpy_robooter" which I now use among a couple of private projects, e.g. for the Watchy ([1]) and the M5StickC ([2]). Rather than copying over modified Python files to the device over and over again it (the toolset) creates a RAM disk on the device and _fetches_ the source files via WiFi, which means you don't have to reboot the device and you can even stay in the REPL! Non-modified files are taken care of using file checksums and the ser...
Comments
Post a Comment