How to use multiple programming languages without losing your mind
https://opensource.com/article/18/11/multiple-programming-languages
https://opensource.com/article/18/11/multiple-programming-languages
How to think like a programmer — lessons in problem solving
https://www.freecodecamp.org/news/how-to-think-like-a-programmer-lessons-in-problem-solving-d1d8bf1de7d2/
https://www.freecodecamp.org/news/how-to-think-like-a-programmer-lessons-in-problem-solving-d1d8bf1de7d2/
Ditching Excel for Python – Lessons Learned from a Legacy Industry
https://amypeniston.com/ditching-excel-for-python/
https://amypeniston.com/ditching-excel-for-python/
Amy Peniston
Ditching Excel for Python - Lessons Learned from a Legacy Industry - Amy Peniston
I spent 3 years as an analyst in the reinsurance industry. During this time, I witnessed firsthand how Python is driving rapid technological change. (Goodbye, Excel!)
WHAT IS DATABASE TRANSACTION ISOLATION?
⠀
💡 Transaction isolation levels specify the amount of data that is visible to a transaction, specifically when the same data is accessed by multiple transactions simultaneously. The SQL standard defines four transaction isolation levels, from weak to strong:
⠀
❶ Read Uncommitted: a transaction is allowed to read data from a row that has been modified by another running transaction and not yet committed. This phenomenon is also known as “dirty reads”.
⠀
❷ Read Committed: guarantees that any data read by a transaction is committed at the moment it is read, hence preventing “dirty reads”. But it makes no promise if the transaction re-reads the data, it will find the same data; data is free to change after it is read.
⠀
❸ Repeatable Read: similar to Read Committed, but guarantees that if the transaction re-reads the data, it will find always the same data. Basically, it keeps the read lock until the transaction commits. Even though this isolation is pretty strict, phantom reads anomaly is still possible (out of this post's scope).
⠀
❹ Serializable: The strictest isolation level, that prevents most anomalies. Comes with a big performance cost.
⠀
For advanced readers: it’s fascinating that MySQL, Postgres, Oracle DB, and MS SQL Server understand and implement the aforementioned isolation levels differently. For example, Oracle doesn’t support Serializable level. Check out this repository for more information:
⠀
> https://github.com/ept/hermitage
Source: Coding Unicorn
https://www.instagram.com/p/CHvLtR7APf5/?utm_source=ig_web_copy_link
⠀
💡 Transaction isolation levels specify the amount of data that is visible to a transaction, specifically when the same data is accessed by multiple transactions simultaneously. The SQL standard defines four transaction isolation levels, from weak to strong:
⠀
❶ Read Uncommitted: a transaction is allowed to read data from a row that has been modified by another running transaction and not yet committed. This phenomenon is also known as “dirty reads”.
⠀
❷ Read Committed: guarantees that any data read by a transaction is committed at the moment it is read, hence preventing “dirty reads”. But it makes no promise if the transaction re-reads the data, it will find the same data; data is free to change after it is read.
⠀
❸ Repeatable Read: similar to Read Committed, but guarantees that if the transaction re-reads the data, it will find always the same data. Basically, it keeps the read lock until the transaction commits. Even though this isolation is pretty strict, phantom reads anomaly is still possible (out of this post's scope).
⠀
❹ Serializable: The strictest isolation level, that prevents most anomalies. Comes with a big performance cost.
⠀
For advanced readers: it’s fascinating that MySQL, Postgres, Oracle DB, and MS SQL Server understand and implement the aforementioned isolation levels differently. For example, Oracle doesn’t support Serializable level. Check out this repository for more information:
⠀
> https://github.com/ept/hermitage
Source: Coding Unicorn
https://www.instagram.com/p/CHvLtR7APf5/?utm_source=ig_web_copy_link
GitHub
GitHub - ept/hermitage: What are the differences between the transaction isolation levels in databases? This is a suite of test…
What are the differences between the transaction isolation levels in databases? This is a suite of test cases which differentiate isolation levels. - ept/hermitage
The S.O.L.I.D Principles in Pictures 🤖
There are so many great articles online about SOLID but I rarely see any examples with pictures. This makes it a bit difficult for visual learners like me to learn while staying engaged.
So the main aim of this article is to get a better understanding of these principles using illustrations and emphasizing the goal for each principle. 🌈
Source: kutt.it/solid
#SOLID
There are so many great articles online about SOLID but I rarely see any examples with pictures. This makes it a bit difficult for visual learners like me to learn while staying engaged.
So the main aim of this article is to get a better understanding of these principles using illustrations and emphasizing the goal for each principle. 🌈
Source: kutt.it/solid
#SOLID
Medium
The S.O.L.I.D Principles in Pictures
If you are familiar with Object-Oriented Programming, then you’ve probably heard about the SOLID principles.
Let’s Encrypt is a Certificate Authority (CA) that provides an easy way to obtain and install free TLS/SSL certificates, thereby enabling encrypted HTTPS on web servers. It simplifies the process by providing a software client, Certbot, that attempts to automate most (if not all) of the required steps.
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-16-04
ROBUST WEB SCRAPING OR WEB API BASED DATA COLLECTION
https://datascience.blog.wzb.eu/2020/12/04/robust-data-collection-via-web-scraping-and-web-apis/
https://datascience.blog.wzb.eu/2020/12/04/robust-data-collection-via-web-scraping-and-web-apis/
WZB Data Science Blog
Robust web scraping or web API based data collection
There are thousands of articles on the web about web scraping and accessing web APIs. Most of them show you how to extract information from specific elements on a web page or how to communicate wit…
A Switch story
What is a switch?
The switch is a statement that evaluates the accuracy or similarity of the value of a certain input. But isn’t that the same thing that the if statement does?
https://matteoguadrini.github.io/posts/a-switch-story/
What is a switch?
The switch is a statement that evaluates the accuracy or similarity of the value of a certain input. But isn’t that the same thing that the if statement does?
https://matteoguadrini.github.io/posts/a-switch-story/
matteoguadrini.github.io
A Switch Story – Matteo Guadrini's blog
What is a switch? The switch is a statement that evaluates the accuracy or similarity of the value of a certain input. But isn’t that the same thing that the if statement does? Let’s see this statement starting with bash scripting language.
case EXPRESSION…
case EXPRESSION…
A list of resources for those interested in getting started in bug bounties
https://bit.ly/beginner-bug-bounty
https://bit.ly/beginner-bug-bounty
GitHub
GitHub - nahamsec/Resources-for-Beginner-Bug-Bounty-Hunters: A list of resources for those interested in getting started in bug…
A list of resources for those interested in getting started in bug bounties - GitHub - nahamsec/Resources-for-Beginner-Bug-Bounty-Hunters: A list of resources for those interested in getting starte...
aspnetcore-developer-roadmap-printable.png
2.1 MB
ASP.NET Core Developer Roadmap in 2021 🚀
Github Repository:
https://github.com/MoienTajik/AspNetCore-Developer-Roadmap
Github Repository:
https://github.com/MoienTajik/AspNetCore-Developer-Roadmap
Singletons: Instantiate objects only once
Let's explore how Python deals with objects such as True, False, None, and why we use the syntax is True instead of == True in our code
https://pythonforthelab.com/blog/singletons-instantiate-objects-only-once/
Let's explore how Python deals with objects such as True, False, None, and why we use the syntax is True instead of == True in our code
https://pythonforthelab.com/blog/singletons-instantiate-objects-only-once/
Python for the Lab
Singletons: Instantiate objects only once
Let's explore how Python deals with objects such as True, False, None, and why we use the syntax is True instead of == True in our code
Clean Code III: Functions
Robert C. Martin, Object Mentor, USA
https://vimeo.com/channels/1111213/12643301
Robert C. Martin, Object Mentor, USA
https://vimeo.com/channels/1111213/12643301
Vimeo
Clean Code III: Functions - Robert C. Martin
Clean Code III: Functions
Robert C. Martin, Object Mentor, USA Get ready for a challenge as Robert Martin dives deep into the topic of clean Java code by examining…
Robert C. Martin, Object Mentor, USA Get ready for a challenge as Robert Martin dives deep into the topic of clean Java code by examining…
20 Best VSCode Extensions To Improve Your Productivity
https://x-team.com/blog/best-vscode-extensions/amp/?__twitter_impression=true
https://x-team.com/blog/best-vscode-extensions/amp/?__twitter_impression=true
X-Team Blog - The Most-Loved Company for Engineers
20 Best VSCode Extensions to Improve Your Productivity
Extensions to your IDE are invaluable to speed up your work. Here are 20 VSCode extensions to make you a more productive developer.
Help out your favorite open source projects and become a better developer while doing it.
1) https://up-for-grabs.net/#/
2) https://www.codetriage.com/
1) https://up-for-grabs.net/#/
2) https://www.codetriage.com/
up-for-grabs.net
Up For Grabs
Want to contribute to open source, but not sure where to start?
The Magic of Python Context Managers
Resource management is one of those things you need to do in any programming language. Whether you are dealing with locks, files, sessions or database connections - you always have to make sure you close and free up these resources for them operate correctly. Usually, one would do that using try/finally - using the resource in try block and disposing of it in finally block. In Python however, there is a better way - the context management protocol implemented using with statement.
So, in this article we will explore what it is, how it works and most importantly where you can find and how you can implement your own awesome context managers!
https://martinheinz.dev/blog/34
Resource management is one of those things you need to do in any programming language. Whether you are dealing with locks, files, sessions or database connections - you always have to make sure you close and free up these resources for them operate correctly. Usually, one would do that using try/finally - using the resource in try block and disposing of it in finally block. In Python however, there is a better way - the context management protocol implemented using with statement.
So, in this article we will explore what it is, how it works and most importantly where you can find and how you can implement your own awesome context managers!
https://martinheinz.dev/blog/34
martinheinz.dev
The Magic of Python Context Managers
<p>
Resource management is one of those things you need to do in any programming language. Whether you are dealing with locks, files, sessions or datab...
Resource management is one of those things you need to do in any programming language. Whether you are dealing with locks, files, sessions or datab...