Yeah, you can call Decimal.normalize(), but then you need to be special-casing your formatting code which is just stupid.
15+ years working with Python and most of the issues I would run into were either my fault (not understanding a concept) or an inherit limitation of the platform , i.e, if you want really fast code or rely on good parallelism, you are not going to have a good time.
Today though I think I hit the first thing that truly disappointed me: try formatting a Decimal number in a way that it prints only the significant digits. You can not. `:g` works for floats, but not Decimals.
I re-started my blog a few months ago and got maybe only 3 posts since. I never planned to be a prolific writer, but it's funny how every draft I start ends up like something that could be a single post here. But then I don't write it here because I usually write to organize my thoughts, while here (I think) the posts should bring a conversation.
"The medium is the message", but I don't know what is cause-and-effect in this. Is my lack of writing due to the shallowness of my thoughts?
It should be a very sad day for both conservatives and progressives alike when we just assume that a dual-income family (and outsourcing child-rearing and child-care) is the only way that we can live in a rich country.
New life goal: to get the BabylonBee their own instance on the fediverse.
There is a special place in hell for everyone that creates a HTTP API that returns 200 OK for every request and puts the status code on the body.
It only loses to the braindead "architect" that puts a "redirect_url" attribute on the JSON instead of using the proper header.
I guess it is the first time I've seen a codebase so shitty that made me quit halfway through the trial period.
Another reminder that what people expect from any project related to cryptocurrency has almost no grounds in reality and make zero economic sense.
We Harmonized a Jay-Z Deepfake - Adam Neely
Yeah, this post is just a verborragic way of saying "Y'all are doing federation wrong", but the blog form makes it more valid.
Creator of communick.com
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!