What are lambdas and what are their features?
Answer:
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5
What is serialization and why is it needed?
Answer:
A serialized object can then be deserialized — its original structure can be restored in memory. This is necessary when transferring data between programs, caching, or interprocess communication.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6
What are processes and threads, and what is the difference between them?
Answer:
In Python, threads are limited by the GIL (Global Interpreter Lock) — only one thread can execute bytecode at a time. Therefore, for parallel computing, multiprocessing (which creates separate processes) is used, while threading is mainly applied to tasks where threads often wait, such as network requests or file reading.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4
How does authentication differ from authorization?
Answer:
Authorization takes place after successful authentication and determines what actions this user is allowed to perform: which resources he has access to and what operations he can carry out.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤6
Why is
bool([]) — False, and bool([[]]) — True?Answer:
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤5🤯3
How does authentication using a JWT token work?
Answer:
The server does not store the session state and checks only the signature and validity of the token with each request. This approach is stateless, scales well, and does not require session storage, but it complicates the early revocation of tokens without the use of additional storage.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2
What is the difference between authentication using a JWT token and authentication using a session token stored in Redis?
Answer:
When using a session token in Redis, the server stores sessions and checks them with each request. This approach gives full control over sessions and allows them to be immediately disabled, but it requires server storage and additional calls to Redis.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3
What are lazy calculations?
Answer:
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4
What is GIL in Python, why is it needed, and how can it be bypassed?
Answer:
However, due to GIL, multithreading in Python does not provide true parallelism at the CPU level: even if you create multiple threads, they will be executed sequentially, not simultaneously, which limits performance for computationally intensive tasks.
This limitation can be bypassed by using modules like multiprocessing, which launch separate processes with their own memory and their own GIL. You can also move heavy logic into native C extensions or use interpreters without GIL, such as Jython or experimental versions of PyPy.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
This channels is for Programmers, Coders, Software Engineers.
0️⃣ Python
1️⃣ Data Science
2️⃣ Machine Learning
3️⃣ Data Visualization
4️⃣ Artificial Intelligence
5️⃣ Data Analysis
6️⃣ Statistics
7️⃣ Deep Learning
8️⃣ programming Languages
✅ https://news.1rj.ru/str/addlist/8_rRW2scgfRhOTc0
✅ https://news.1rj.ru/str/Codeprogrammer
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2
When to use built-in collections in Python?
In Python, the type of collection is chosen depending on the needs: list is suitable for mutable and ordered data, tuple — for immutable sets of values, and set — for storing unique elements without order and with fast membership checking presence
@DataScienceQ
@DataScienceQ
❤3
What is the difference between
remove, del, and pop?Answer:
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤4
Why are metrics needed and what are the main endpoints used for collecting them?
Answer:
To collect metrics, a separate HTTP endpoint is usually used /metrics, which provides indicators in a format understandable to monitoring systems, such as Prometheus. In addition to this, service endpoints are often used /health or /healthz to check the status of the service and /ready or /readiness to determine the application's readiness to accept traffic. These endpoints complement the metrics and are used in observability and orchestration systems.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2
Media is too big
VIEW IN TELEGRAM
OnSpace Mobile App builder: Build AI Apps in minutes
Visit website: https://www.onspace.ai/?via=tg_datas
Or Download app:https://onspace.onelink.me/za8S/h1jb6sb9?c=datas
With OnSpace, you can build website or AI Mobile Apps by chatting with AI, and publish to PlayStore or AppStore.
What will you get:
✔️ Create app or website by chatting with AI;
✔️ Integrate with Any top AI power just by giving order (like Sora2, Nanobanan Pro & Gemini 3 Pro);
✔️ Download APK,AAB file, publish to AppStore.
✔️ Add payments and monetize like in-app-purchase and Stripe.
✔️ Functional login & signup.
✔️ Database + dashboard in minutes.
✔️ Full tutorial on YouTube and within 1 day customer service
Visit website: https://www.onspace.ai/?via=tg_datas
Or Download app:https://onspace.onelink.me/za8S/h1jb6sb9?c=datas
With OnSpace, you can build website or AI Mobile Apps by chatting with AI, and publish to PlayStore or AppStore.
What will you get:
Please open Telegram to view this post
VIEW IN TELEGRAM
❤2
What is a generator function?
Answer:
tags: #article
Please open Telegram to view this post
VIEW IN TELEGRAM
PyData Careers
OnSpace Mobile App builder: Build AI Apps in minutes Visit website: https://www.onspace.ai/?via=tg_datas Or Download app:https://onspace.onelink.me/za8S/h1jb6sb9?c=datas With OnSpace, you can build website or AI Mobile Apps by chatting with AI, and publish…
A great app for building and programming desktop, Android, and Telegram bots using only prompts
Just send what you want and it will design everything for you and the possibility to make money from your app 👍
Just send what you want and it will design everything for you and the possibility to make money from your app 👍
🙈1
Why are
break and continue needed?Answer:
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3