Sobes.tech

What do you think about the readability of an alternative solution to late binding problems via nested lambda factories?

201

async def check_response(delay: int, message: str) -> None: timeout = httpx.Timeout(timeout=5) client = httpx.AsyncClient( base_url=BASE_URL, timeout=timeout, ) async with client: response = await client.get(url=f"/delay/{delay}") print(response.status_code, message) async def main() -> None: await check_response(delay=2, message="from first line"), await check_response(delay=2, message="from second line"), await check_response(delay=2, message="from third line"), if __name__ == "__main__": print("Total time:", timeit.timeit(lambda: asyncio.run(main()), number=2))

201

How does a Python list differ from a NumPy array?

201

Can you explain what the term 'monolithic application' means in software development?

Junior — Middle
201

Can you explain how the middleware layer in application architecture is built and functions?

Junior — Middle
201

Explain the main differences between relational database management systems and non-relational databases.

Junior — Middle
201

How can you determine that a directory contains a Python module in the form of a package?

Junior — Middle
201

Do you have experience working with MongoDB and PostgreSQL database management systems?

Junior — Middle
201

What are the main differences between using ActiveRecord and the principles of Clean Architecture when designing a system?

Junior — Middle
201

Can you provide an example of a situation at work where you experienced high pressure or stress, and how you dealt with it?

Junior — Middle
201

Can you name the main features that distinguish a pure function?

Junior — Middle
201

What restrictions or risks are associated with using Redis for message exchange between microservices?

Junior — Middle
201

Can you give an example of a situation where an analytical approach is required to solve a problem?

Junior — Middle
201

Can you describe the main stages of processing an HTTP request in a server application?

Junior — Middle
201

What is asyncio, what is it used for, and how have you applied it in projects?

Middle
201

Can you name the main properties or parameters inherent to objects or classes in programming?

Junior — Middle
201

Share examples of the most exciting technical problems you have encountered and successfully solved.

201
/556