You are here |
tech.preferred.jp | ||
| | | |
ruudvanasseldonk.com
|
|
| | | | In this post I explore the design space of adding floats to RCL, a gradually typed configuration language. With floats in place, RCL is finally a true json superset. | |
| | | |
tomaugspurger.net
|
|
| | | | This post is a bit of a tutorial on serializing and deserializing Python dataclasses. I've been hacking on zarr-python-v3 a bit, which uses some dataclasses to represent some metadata objects. Those objects need to be serialized to and deserialized from JSON. This is a (surprisingly?) challenging area, and there are several excellent libraries out there that you should probably use. My personal favorite is msgspec, but cattrs, pydantic, and pyserde are also options. But hopefully this can be helpful for understanding how those libraries work at a conceptual level (their exact implementations will look very different.) In zarr-python's case, this didn't quite warrant needing to bring in a dependency, so we rolled our own. | |
| | | |
florimond.dev
|
|
| | | | Type hints add optional static typing to Python 3.5+, and I love them. I now use annotated variables throughout my projects. | |
| | | |
blog.qburst.com
|
|
| | In this blog series, we bring you one of our enterprise client's cloud migration success story. The groundwork for migrating our client's on-premise |