GitHub Actions: Job summary updates | GitHub Changelog
https://github.blog/changelog/2023-01-31-github-actions-job-summary-updates/
https://github.blog/changelog/2023-01-31-github-actions-job-summary-updates/
The GitHub Blog
GitHub Actions: Job summary updates | GitHub Changelog
How to Write Unit Tests for Instance Methods in Python
https://www.freecodecamp.org/news/how-to-write-unit-tests-for-instance-methods-in-python/
https://www.freecodecamp.org/news/how-to-write-unit-tests-for-instance-methods-in-python/
freeCodeCamp.org
How to Write Unit Tests for Instance Methods in Python
This tutorial will teach you how to write unit tests for instance methods in Python. In a previous tutorial, we covered how to write unit tests for Python functions. While unit testing for instance methods works similarly, you may have some challenge...
Learn Django by Building a Marketplace
https://www.freecodecamp.org/news/learn-django-by-building-a-marketplace/
https://www.freecodecamp.org/news/learn-django-by-building-a-marketplace/
freeCodeCamp.org
Learn Django by Building a Marketplace
Django is a powerful and popular web framework for Python. It is used to build robust and scalable web applications with ease. We just published a course on the freeCodeCamp.org YouTube channel that will help you learn Django through building your ow...
How to improve your coding skills using ChatGPT
https://cointelegraph.com/news/how-to-improve-your-coding-skills-using-chatgpt
https://cointelegraph.com/news/how-to-improve-your-coding-skills-using-chatgpt
Cointelegraph
How to improve your coding skills using ChatGPT
ChatGPT can be used for understanding syntax of specific programming languages, explaining how certain algorithms work and troubleshooting errors in code.
20 Git Commands That Will Make You a Version Control Pro. - DEV Community 👩💻👨💻
https://dev.to/devland/20-git-commands-that-will-make-you-a-version-control-pro-149p
https://dev.to/devland/20-git-commands-that-will-make-you-a-version-control-pro-149p
DEV Community
20 Git Commands That Will Make You a Version Control Pro.
Version control is essential for programmers who want to collaborate effectively and track changes...
Python Automation Scripts You Should Know
https://www.freecodecamp.org/news/python-automation-scripts/
https://www.freecodecamp.org/news/python-automation-scripts/
freeCodeCamp.org
Python Automation Scripts You Should Know
By Shittu Olumide We all have those same old boring tasks that we do over and over again. Fortunately, we can automate some of these processes so that we can focus on doing other things that really need our energy and attention. In this article, we w...
10 Javascript Tips that Frontend Devs Should Master in 2023 | by omgzui | Jan, 2023
https://javascript.plainenglish.io/10-javascript-tips-that-frontend-devs-should-master-in-2023-4dcf87c90bdb
https://javascript.plainenglish.io/10-javascript-tips-that-frontend-devs-should-master-in-2023-4dcf87c90bdb
Medium
10 Javascript Tips that Frontend Devs Should Master in 2023
You should have used many of them, especially ?? and ?. and the dynamic introduction of import(). What about others?
دوستان سلام
اگر توی ویاسکد خواستین تستهای جنگو رو ران بگیرید ولی اونها رو پیدا نمیکنه یا ارورهایی مبنی برا اینکه اپها هنوز لود نشدن یا ...
من توی این فرک که از پلاگین تست پایتون برای ویاسکد هست مشکلش رو حل کردم و حالا میتونه تستهای جنگو رو با یونیت-تست پایتون ران کنه و خیلی شیک و مجلسی براتون نشون بده که موفق بودن یا شکست خوردن
امیدورام درصورتی که راضی بودین حداقل یک ستاره بدین بهش
@programming_tricks
https://github.com/mh-firouzjah/vscode-python-test-adapter
اصل داستان از اینجا شروع شده بود و چیزی که فعلا تونست حلش کنه هم همینجا پست کردم.
اگر توی ویاسکد خواستین تستهای جنگو رو ران بگیرید ولی اونها رو پیدا نمیکنه یا ارورهایی مبنی برا اینکه اپها هنوز لود نشدن یا ...
من توی این فرک که از پلاگین تست پایتون برای ویاسکد هست مشکلش رو حل کردم و حالا میتونه تستهای جنگو رو با یونیت-تست پایتون ران کنه و خیلی شیک و مجلسی براتون نشون بده که موفق بودن یا شکست خوردن
امیدورام درصورتی که راضی بودین حداقل یک ستاره بدین بهش
@programming_tricks
https://github.com/mh-firouzjah/vscode-python-test-adapter
اصل داستان از اینجا شروع شده بود و چیزی که فعلا تونست حلش کنه هم همینجا پست کردم.
GitHub
GitHub - mh-firouzjah/vscode-python-test-adapter: Python Test Adapter for the VS Code Test Explorer
Python Test Adapter for the VS Code Test Explorer - GitHub - mh-firouzjah/vscode-python-test-adapter: Python Test Adapter for the VS Code Test Explorer
9 Python String Manipulation Tricks That Make Your Coding Easier | by Yang Zhou | Feb, 2023
https://levelup.gitconnected.com/9-python-string-manipulation-tricks-that-make-your-coding-easier-67c17fd793b6
https://levelup.gitconnected.com/9-python-string-manipulation-tricks-that-make-your-coding-easier-67c17fd793b6
Medium
9 Python String Manipulation Tricks That Make Your Coding Easier
Handling strings in a Pythonic way
دوستان سلام!
@programming_tricks
اگر توی پروژه جنگویی لازمتون شد مثلا برای هر author تعدادی از پستهاش رو واکشی کنید
شاید یک روش ساده و سریع به ذهنتون بیاد که خب روی لیست(کوئریست) نویسندهها یک حلقه میزنیم و از هرکدوم هم تعداد مشخصی از پستهاش رو میگیریم و توی یک لیست جدید میریزم!
ولی همچین کاری نکنید!
این کار شما باعث میشه جنگو به ازای هر نویسنده یکبار دیتابیس رو کوئری بزنه و اون تعداد پست رو براش واکشی کنه
فکر میکنم اسم چنین مشکلی
n+1 queries problem
هست که خب مشخصه وقتی تعداد نویسندهها زیاد باشه چه بلایی سر پرفورمنس میاد.
اینجا یک روش دیگه رو نوشتم که خیلی بهینهتر هست و فقط یک کوئری میزنه برای همه نویسندهها و همون تعداد پست برای هرکدومشون رو هم جدا میکنه
حتی میتونید بازم با روشهایی مثل values_list همینم مختصرترش کنید و کیفیت بهتری بدست بیارید.(بسته به شرایط اگر لازم شد)
https://lnkd.in/eTus5H5n
@programming_tricks
اگر توی پروژه جنگویی لازمتون شد مثلا برای هر author تعدادی از پستهاش رو واکشی کنید
شاید یک روش ساده و سریع به ذهنتون بیاد که خب روی لیست(کوئریست) نویسندهها یک حلقه میزنیم و از هرکدوم هم تعداد مشخصی از پستهاش رو میگیریم و توی یک لیست جدید میریزم!
ولی همچین کاری نکنید!
این کار شما باعث میشه جنگو به ازای هر نویسنده یکبار دیتابیس رو کوئری بزنه و اون تعداد پست رو براش واکشی کنه
فکر میکنم اسم چنین مشکلی
n+1 queries problem
هست که خب مشخصه وقتی تعداد نویسندهها زیاد باشه چه بلایی سر پرفورمنس میاد.
اینجا یک روش دیگه رو نوشتم که خیلی بهینهتر هست و فقط یک کوئری میزنه برای همه نویسندهها و همون تعداد پست برای هرکدومشون رو هم جدا میکنه
حتی میتونید بازم با روشهایی مثل values_list همینم مختصرترش کنید و کیفیت بهتری بدست بیارید.(بسته به شرایط اگر لازم شد)
https://lnkd.in/eTus5H5n
Stack Overflow
How to get the latest 3 books from each author using django
Using the following django models:
class Author(models.Model):
name = models.CharField(max_length=100)
age = models.IntegerField()
class Book(models.Model):
name = models.CharField(max_...
class Author(models.Model):
name = models.CharField(max_length=100)
age = models.IntegerField()
class Book(models.Model):
name = models.CharField(max_...
How to create a reading list in Notion (with template)
https://zapier.com/blog/notion-reading-list/
https://zapier.com/blog/notion-reading-list/
Zapier
How to create a reading list in Notion (with template)
Love books and lists? This Notion template is for you—discover how to use Notion to organize your reading list.
How to describe professional experience in Python development if my code isn't shareable? [Can't share as per company policy]
https://workplace.stackexchange.com/questions/190212/how-to-describe-professional-experience-in-python-development-if-my-code-isnt-s
https://workplace.stackexchange.com/questions/190212/how-to-describe-professional-experience-in-python-development-if-my-code-isnt-s
The Workplace Stack Exchange
How to describe professional experience in Python development if my code isn't shareable? [Can't share as per company policy]
I'm seeking some career advice on getting into software engineering. My academic background is in EE and I'm currently in QA testing. I'm working with my employer's client, which is a major tech co...
Python for Business Analytics (Part 1) Cheat Sheet by ocivv - Download free from Cheatography
https://cheatography.com/ocivv/cheat-sheets/python-for-business-analytics-part-1/
https://cheatography.com/ocivv/cheat-sheets/python-for-business-analytics-part-1/
Cheatography
Python for Business Analytics (Part 1) Cheat Sheet
Understanding the Differences Between HTTP and HTTPS
https://dev.to/haszankauna/understanding-the-differences-between-http-and-https-3155
https://dev.to/haszankauna/understanding-the-differences-between-http-and-https-3155
DEV Community
Understanding the Differences Between HTTP and HTTPS
As the world becomes more connected, the need for secure communication between web servers and...