Started a Simulation with Python Blog

https://quantasticjourney.blogspot.com/2024/10/first-post-personality-based-simulator.html?m=1

The first post of a new python blog I started if anyone is interested.

10 points · 6 comments · view on lemmy.world

6 Comments

kyoji@lemmy.world · 4 pts · 1y (2 replies)

Can you share a little more about what this is? What are you trying to achieve? What is the motivation?

ecstatic_chance@mander.xyz · 0 pts · 1y (1 reply)

I'd like to write a piece of software that generates text for characters based upon the personality stats of those characters. I'm currently writing the software with a KivyMD UI and a Mongo database. My motivation is: why not?

kyoji@lemmy.world · 1 pts · 1y

Cool! You should add that in greater detail to your blog. Currently its lacking a lot of context, so your only post isn't very interesting as a result. Thanks for sharing!

makingStuffForFun@lemmy.ml · 2 pts · 1y (1 reply)

I'm all in. Added to my reading list.

ecstatic_chance@mander.xyz · 2 pts · 1y

Thanks!

logging_strict@programming.dev · 1 pts · 1y

If it's worth sharing it's worth to accompany the blog post with a repo containing unittests and tox.ini and pre-commit

If that had been done, tox would give feedback that match switch support is py310+

functools.singledispatch might be helpful to test multiple implementations

Complaint about sharing code within a blog post is the quality is ALWAYS suspect.

Lets leave crapoverflow.com style code examples in the past. Instead share tested code.