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
👩💻 FREE 2026 IT Learning Kits Giveaway
🔥Whether you're preparing for #Cisco #AWS #PMP #Python #Excel #Google #Microsoft #AI or any other in-demand certification – SPOTO has got you covered!
🎁 Explore Our FREE Study Resources
·IT Certs E-book : https://bit.ly/3YvSMHL
·IT exams skill Test : https://bit.ly/4r4VHnd
·Python, ITIL, PMP, Excel, Cyber Security, cloud, SQL Courses : https://bit.ly/4qNWl8r
·Free AI online preparation material and support tools : https://bit.ly/4qKiKTN
🔗 Need IT Certs Exam Help? contact: wa.link/dm4kyz
📲 Join IT Study Group for insider tips & expert support:
https://chat.whatsapp.com/BEQ9WrfLnpg1SgzGQw69oM
🔥Whether you're preparing for #Cisco #AWS #PMP #Python #Excel #Google #Microsoft #AI or any other in-demand certification – SPOTO has got you covered!
🎁 Explore Our FREE Study Resources
·IT Certs E-book : https://bit.ly/3YvSMHL
·IT exams skill Test : https://bit.ly/4r4VHnd
·Python, ITIL, PMP, Excel, Cyber Security, cloud, SQL Courses : https://bit.ly/4qNWl8r
·Free AI online preparation material and support tools : https://bit.ly/4qKiKTN
🔗 Need IT Certs Exam Help? contact: wa.link/dm4kyz
📲 Join IT Study Group for insider tips & expert support:
https://chat.whatsapp.com/BEQ9WrfLnpg1SgzGQw69oM
❤2
What are CORS and CSRF?
Answer:
CSRF (Cross-Site Request Forgery) is a type of attack in which an attacker forces the user's browser to perform an unwanted request to a site on which the user is already authenticated. Protection against CSRF is usually implemented using CSRF tokens, header checks, and cookie settings.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤3
What are the existing authorization models and what are their differences?
Answer:
The role-based model (RBAC) is based on roles. A user is assigned roles, and each role defines a set of allowed actions. The model is simple to implement and widely used, but it is not well suited for complex and dynamic access rules.
The permission-based model operates with specific rights, not roles. A user is directly assigned permissions for actions or resources. This is a more flexible approach, but it is more difficult to manage with a large number of users and permissions.
The attribute-based model (ABAC) makes an access decision based on attributes of the user, the resource, and the context, such as time, location, or type of request. This is the most flexible model, but it is also the most difficult to implement and maintain.
Conclusion: RBAC is suitable for simple systems, permission-based - for more precise control, ABAC - for complex business rules and dynamic access policies.
tags: #interview
Please open Telegram to view this post
VIEW IN TELEGRAM
❤1
📚 Learning Python? Get started with a solid foundation! 💡 Two members of the Python for Beginners live course share their experiences on accountability and basic progression. 🤔️ Check it out: https://realpython.com/python-tricks/?utmsource=realpython&utmmedium=rss&utmcampaign=footer
Realpython
Improve Your Python With Python Tricks – Real Python
Get a short & sweet Python Trick delivered directly to your inbox every couple of days.
❤2
📚💻 Tips for Using the AI Coding Editor Cursor 👉
🔧 Are you new to using an AI-powered IDE like Cursor? Here are some tips to get you started:
• Understand why Cursor might work for you: This AI tool is designed to help Python developers write faster, more accurately, and with less effort. It's perfect for those who want to improve their coding skills without sacrificing quality.
👉 Learn how to use different modes & models: Explore the various modes available in Cursor, including Code Completion, Inline Edits, and Project-Aware Chat. Discover which mode works best for your needs.
💻 Run multiple agents at a time: With Cursor's multi-agent interface, you can run multiple tools simultaneously, speeding up development and reducing errors.
🧹 Resolve tiny merge conflicts: Cursor's Composer model ensures fast and efficient merging of code changes. Learn how to resolve small conflicts with ease.
🔍 Run a project and fix a bug: Debug your code with Cursor's built-in debugging features. Identify and fix issues quickly, making it easier to develop and test your projects.
💡 Practice using the terminal: Cursor has a comprehensive terminal support system. Get familiar with its commands and learn how to use them effectively.
📝 Save your progress: Cursor allows you to save your project at any time. Take advantage of this feature to collaborate with others or revert to previous versions if needed.
👍 Follow our channel for more Python tips and tricks! 🐍💻
Stay updated on the latest developments in the world of Python programming
🔧 Are you new to using an AI-powered IDE like Cursor? Here are some tips to get you started:
• Understand why Cursor might work for you: This AI tool is designed to help Python developers write faster, more accurately, and with less effort. It's perfect for those who want to improve their coding skills without sacrificing quality.
👉 Learn how to use different modes & models: Explore the various modes available in Cursor, including Code Completion, Inline Edits, and Project-Aware Chat. Discover which mode works best for your needs.
💻 Run multiple agents at a time: With Cursor's multi-agent interface, you can run multiple tools simultaneously, speeding up development and reducing errors.
🧹 Resolve tiny merge conflicts: Cursor's Composer model ensures fast and efficient merging of code changes. Learn how to resolve small conflicts with ease.
🔍 Run a project and fix a bug: Debug your code with Cursor's built-in debugging features. Identify and fix issues quickly, making it easier to develop and test your projects.
💡 Practice using the terminal: Cursor has a comprehensive terminal support system. Get familiar with its commands and learn how to use them effectively.
📝 Save your progress: Cursor allows you to save your project at any time. Take advantage of this feature to collaborate with others or revert to previous versions if needed.
👍 Follow our channel for more Python tips and tricks! 🐍💻
Stay updated on the latest developments in the world of Python programming
❤2
🔬 Python 3.14: The Year of Developer Focused Improvements 📈
In 2025, Python 3.14 arrived with a wave of developer-focused improvements that will benefit you throughout 2026 and beyond.
• Lazy Annotations: Finally resolved long-standing type hinting quirks.
• t-Strings: More control over string interpolation with the introduction of t-strings.
These changes make Python 3.14 a great choice for developers who want to take their coding skills to the next level. Whether you're working on a data science project or building a machine learning model, Python 3.14 is worth checking out! 🐍
In 2025, Python 3.14 arrived with a wave of developer-focused improvements that will benefit you throughout 2026 and beyond.
• Lazy Annotations: Finally resolved long-standing type hinting quirks.
• t-Strings: More control over string interpolation with the introduction of t-strings.
These changes make Python 3.14 a great choice for developers who want to take their coding skills to the next level. Whether you're working on a data science project or building a machine learning model, Python 3.14 is worth checking out! 🐍
❤1