Python
How to guarantee message processing order in Kafka with multiple partitions?
[name] asked: Is it correct that nonlocal allows an inner function to access a variable from an outer function?
How does garbage collection work in Python?
What do you mean by managerial moments?
Am I correct in understanding that you first looked for the minimal match (for example, paragraph match), and then simply unloaded the entire document and sent it to the LLM context?
Can you use an object of your own class as a dictionary key?
What is the difference between synchronous and asynchronous service interactions?
What happens to a file descriptor when a process forks?
How does the model interact with data when it is already in production?
Which of these (list and generator) is a copy of data, and which is not?
Have you mainly worked with FastAPI or Django? Can you explain select_related and prefetch_related — what are they and why?
What is the difference between an array and a linked list? What data structure is used under the hood in a Python list?
How did you keep the cache consistent in catalog and cart services — when invalidating, how was it organized?
In Softmedia, were tasks pushed from the top or could they be chosen by oneself?
What does EXPLAIN do and what changes when adding ANALYZE? When is an index useless?
What data types are there in Python, and how do they differ?
What happens if you call blocking code inside an async function? What will happen to the event loop?
In Kafka, there is a topic with 10 partitions. We added another consumer replica, but the performance did not increase. Why is that and what should we do?
In your opinion, are all statistical quality metrics considered the same, or do they have nuances?
Do you have experience working as a solo developer, where you had to receive tasks, think through, plan, propose solutions, and implement?