
Data Engineer ⋅ Perfecting Python & SQL ⋅ Mastering Vim ⋅ Obsessed with Efficiency ⋅ Using AI/ML to Get Things Done ⋅ Building Wealth Doing What I Love
Sofia, Bulgaria
Joined February 2011
- Tweets26.5K
- Following390
- Followers1.5K
- Likes25.3K
Apparently I was early to the stranded ship photo trend. This was 2019.
bnrnews.bg/en/post/565336/ta…
37
Monday brings #AI
Before trusting AI-written ad revenue SQL, test two impressions worth 1¢ each, where one matches two tracking events. The right total is 2¢. A plain SUM after the join gives 3¢, and SUM(DISTINCT revenue) gives 1¢.
A bad day feels a little less bad after talking to my wife and hanging out with our almost 8-month-old.
54
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.
26
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+.
16
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
22
I’m playing around with the Hermes agent. So far, it looks good, but I’m exploring ways to automate my workflows.
1
81
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
20
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












