Ivan Karabadzhak
jakeroid.bsky.social
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
When you are tired of useless meetings and dream about the writing code.
November 8, 2025 at 3:57 PM
Friday brings #Python

Today you are going to read about some weirdo. Who would like to use classes if we can use functions instead? Let's make a simple function with a cache by storing the cache inside the function. Don't ask questions why.

Did you know that's possible?
November 7, 2025 at 4:00 PM
Chilling
November 2, 2025 at 4:00 PM
Finally! They added Journal to macOS. It was so strange to have a default journaling app on the phone but not on the laptop.
November 1, 2025 at 4:04 PM
Friday brings #Python

Let's talk about Protocol today. It allows you to have "duck typing". If an object has the required fields/methods, then the type checker keeps silent and no inheritance is required. It's a powerful thing to build interfaces.

Take a look.
October 31, 2025 at 3:58 PM
Weekend Results
October 27, 2025 at 3:56 PM
200 days streak!
October 25, 2025 at 3:02 PM
Friday is #Python day! If you didn't know, I post about Python on Fridays.

Did you know loops have an else option? It's unusual, and I recommend not using it, but it's good to know it exists.
October 24, 2025 at 3:04 PM
Vacation

➕ I'm having fun
➖ I miss this guy
October 19, 2025 at 2:59 PM
Today is Friday, and I'm on vacation. However, we still need to talk about #Python.

Did you know that Python has a function to check if an object is callable? This is particularly useful when building tricky tools.
October 17, 2025 at 3:04 PM
Isn't it nice?
October 16, 2025 at 3:03 PM
Time to open my course "How to Invest" 😁
October 15, 2025 at 2:58 PM
Let's discuss #Python this Friday.

See the code screenshot? It triggers an exception because the variable is local due to its assignment at the end. So, you can't access it before assigning a value. Tricky, right?

Now you know. Stay sharp!
October 10, 2025 at 3:00 PM
Touching the grass… Maybe, I mean, the snow.
October 5, 2025 at 5:04 PM
Friday = #Python

Using list() or [:] on a list makes a shallow copy, duplicating the container but keeping the same elements.

For tuples, tuple() or [:] retains the original since tuples are immutable. Python optimizes by having one immutable object with multiple references.
October 3, 2025 at 9:31 AM
It’s not bad, I think.
October 2, 2025 at 9:28 AM
Friday = #Python

Did you know this code would cause an error in Python 3, but in Python 2, it would print 4? That's because list comprehensions were merely syntactic sugar in Python 2.

This knowledge might be useless, but it's still interesting. Want to read more like this? Follow me.
September 26, 2025 at 9:32 AM
Guess, what is it?
September 20, 2025 at 2:04 PM
Friday is #Python time!

Did you know `auto` can auto-generate enum values? But if you want string values, use `_generate_next_value_`. Be cautious with `auto`; implicit values might cause mistakes.
September 19, 2025 at 9:28 AM
I'm working to enhance Icecream, the best print debugging library.

The new release is out. Check the link below.
September 15, 2025 at 9:27 AM
Sometimes weekends are for open sourcing!
September 14, 2025 at 1:56 PM
Friday = #Python. If you can remember this then better follow me.

Today I'm gonna show you a simple, but useful thing about dataclasses in Python.

What if you want to bypass a value without having it inside dataclass? There is a way!
September 12, 2025 at 9:33 AM
- having fun
- touching the grass
September 10, 2025 at 9:34 AM
The learning could be fast, especially when the lecturer warns not to rush.

What's your general watching-learning speed?
September 8, 2025 at 9:30 AM
Look at this beauty... he helps me with my stretching exercises.
September 6, 2025 at 1:58 PM