I wrote a thing about how some languages and libraries make it easier to write code "left to right". It's something I've thought about for a while, and what I think about as enabling "forward progress"
https://rtpg.co/2025/01/10/designing-for-forward-progress/
=> More informations about this toot | View the thread
@CodenameTim this is my brain dump on debugging memory leaks, at least as a first order thing.
=> More informations about this toot | View the thread
Does your Python project have a memory leak? Are you just randomly restarting your Django processes every 5k requests rather than digging into the problem?
Here's a small guide you can use to take a quick look at what the source of your memory growth might be. And it includes a couple tips for how to do it iteratively without constantly going through process restarts.
https://rtpg.co/2025/01/01/cowboy-coding-memory/
=> More informations about this toot | View the thread
I'm looking for work(AUS/Remote)!
If you need an experienced backend developer who likes to get things shipped, please reach out! Main experience is in #Python + #Django, but I am comfortable in all parts of the stack.
Some greatest hits of things I've written🧵
=> More informations about this toot | View the thread
foo()
await foo()
await foo()["bar"]
(await foo())["bar"]
Not a week goes by that I'm not reminded that everybody but Rust seems to have gotten the "await keyword" syntax wrong.
=> More informations about this toot | View the thread
I posted a feature request/complaint in the #django forums about admin actions with parameters, and somebody just took the idea and ran with it and released a surprisingly polished "configurable admin action" library! Successful nerdsnipe https://github.com/michalpokusa/django-admin-action-forms
=> More informations about this toot | View the thread
=> This profile without reblog | Go to raphael@mastodon.sdf.org account This content has been proxied by September (3851b).Proxy Information
text/gemini