A bad day feels a little less bad after talking to my wife and hanging out with our almost 8-month-old.
19
I’ve been trying Hermes to see what I can automate. It now handles my posting schedule, so it’s easier to focus on writing.
22
Friday brings #Python
Use itertools.batched() to split an iterable into chunks without turning it into a list first. The last batch can be smaller. Python 3.12+.
10
The best break from AI is still a walk in the woods where nobody says the word “tokens.”
(P.S. AI generated the post and the picture. So much for taking a break. 😁)
🤖 Made with AI
17
I’m playing around with the Hermes agent. So far, it looks good, but I’m exploring ways to automate my workflows.
1
76
Monday brings #AI
What if we wrote laws instead of tests? That’s the idea behind Bend 2: define mathematical properties, and the compiler verifies proofs the code obeys them.
Great for AI-generated code: AI writes it - and proves it.
github.com/bendlang/bend
19
Since becoming a father, I’ve had back pain.
It turns out I don’t have a major issue with my spine. However, I should be going to the gym more often so my back works as it should.
46
Friday brings #Python
You don’t need to write JSON schemas for tool or function calling by hand. Pydantic can build one from the function signature.
1
24
Is there a point in continuing to write posts about #Python on Fridays? I’m starting to think they aren’t that useful. Maybe I should shift focus from Python tricks to more useful Python AI content.
36
Monday brings #AI
The easiest way to improve what AI did is asking it afterward to identify 3-5 issues with the solution. There is a caveat that AI will not always be able to find what's bad. The key here is to have some context and decide what is bad and what is good.
19
Friday brings #Python
Define AI tasks in Python with typed inputs/outputs - no messy prompts.
Here, DSPy uses an LLM to classify ad campaigns (awareness, conversion, retargeting), then auto-optimizes the prompts using evaluation data.
1
2
72
The best thing about AI is how fast you can figure out the solution if you have enough knowledge.
35
Monday brings #AI
One of my favorite use cases for AI is discussing some specific code or function, and then simply asking: "Now double-check what you've just told me against our docs in Confluence."
It's a nice way to discover something new or find docs that needs updating.
42













