Last night @pydanny and I soft-launched Air, our new open-source Python web framework at @pythonph. We'll be working through the helpful feedback we got before we do a full official public launch. Stay tuned, this isn't fully live yet
What makes someone an expert in their field? R: Answering "it depends" to any question they get asked. So there you have it, if you want expert AIs they need to gather much more context about we are trying to achieve.
I actually played a bit with prompts to try to get it to make more questions before proposing a solution but I guess the way AIs are currently trained make extremely anxious to spit out answers.
So far I've had no success doing any significant code refactoring using AI. It always ends up with code that is too bloated, it abstracts more than it should and over-complicates things. It frequently breaks nuanced use-cases or forgets something.
I expected Cursor Compose to be better at refactoring but I've notice it often makes small mistakes or simply forgets some piece of the code and because of that I end up not trusting it with the job. It's hard to identify these small issues within a change that involves multiple files so to ensure things won't break I prefer doing it myself.
"When reading code, you put things like values of variables, control flow logic and call sequences into your head. The average person can hold roughly four such chunks in working memory. Once the cognitive load reaches this threshold, it becomes much harder to understand things."
github.com/zakirullin/cognit…
"Fixing your process won't get you out of a crisis. During a crisis, your goal should be to get out of it, not to fix your operation."
open.substack.com/pub/strate…#RiskManagement hashtag#SoftwareEngineering
"as long as you are doing your work well and continuously working on the next most important thing prioritised by the business, any pressure to deliver beyond what your team is capable of is objectively unreasonable."
pocket.co/share/5ed037fe-691…
"The point is, 480 is divisible by a lot of numbers — which provides flexibility to add or remove physical hosts while preserving uniform shard distribution."
Great insights on database sharding from the Notion team notion.com/blog/sharding-pos…