Friday brings #Python Today I want to remind you that unpacking can be done in one line. Pick the elements you need from the start or end, and the starred name collects the rest into a list.
Ivan Karabadzhak
@jakeroid.bsky.social
Data Engineer ⋅ Perfecting Python & SQL ⋅ Mastering Vim ⋅ Obsessed with Efficiency ⋅ Using AI/ML to Get Things Done ⋅ Building Wealth Doing What I Love
Do you have a plan for when tokens/subscriptions would cost more?
How much do you use AI for day-to-day personal tasks, like cooking?
Monday brings #AI Let me share a trick. Give the AI your schema plus three real sample rows, not a description of your data. When people ask an LLM to write SQL, it's better to use an example rather than describing columns.
This Monday, I have a day off. What a wonderful way to start the day.
What is the best profession to switch to from software engineer after AI overtakes?
AI would not be able to replace you in touching the grass.
Friday brings #Python Did you know that the default value in dict.get() is evaluated even if the key already exists? Now you do.
The most exhausting thing is dealing with unsolvable problems. I'm not talking about science. That's about people who can make a problem out of nowhere.
The more parallel projects/streams you have, the less productive you become.
Monday brings #AI Don't ask to blindly optimize your code. Better ask why it could be slow and then decide how to optimize. Sometimes AI behaves like an overthinking engineer. The solution could be much easier.
Don't forget to spend some time with your family during the weekend.
Friday brings #Python Well, actually it brings Python 3.10+. By default, zip silently drops elements without a matching pair. However, starting with 3.10, you can use the strict argument to raise an exception when there’s no matching pair.
I had to split one function into two. I did that again. I asked AI to do it. It feels so lazy.
Stress kills you. Today is Wednesday. Try to relax a little while you're waiting for the weekend.
AI removed the fun from building small pet projects. When you are a father, you don't want to spend 2 hours writing the code manually if you know AI can do that in 20-30 minutes.
Monday brings #AI On Mondays I’ll share quick AI thoughts (like Python on Fridays). Today: keep context short - long chats can hurt results. To preserve key info, ask the model to condense the thread into a fresh prompt, then start a new session.
AI made weekends less fun. You can’t code a little now. You have to ship.
Friday brings #Python With defaultdict + lambda you can build a nested tree that never raises a KeyError. Isn't that cool?
With AI, there is always the feeling of "oh, that takes so much time, I would rather write it by myself," but then you think, "yeah, but that would take even more time" I think the reason is that you have to wait a lot.
How many different types of agents do you use while you "vibe code"?
Finally, the kid behaves a little better, and it’s possible to go for a walk.
What is the most beneficial improvement AI has brought for you?
Friday brings #Python Let's quickly refresh our memory on what groupBy does. It groups consecutive elements in the input data, which could be useful.