Are you tired of writing messy and unorganized code that leads to frustration and bugs? You can transform your code from a confusing mess into something crystal clear with a few simple changes. In this article, we'll explore key principles from the book "Clean Code" by Robert C. Martin, also known as Uncle Bob, and apply them to Python. Whether you're a web developer, software engineer, data analyst, or data scientist, these principles will help you write clean, readable, and maintainable Python code.
My feed
Two problems why you are not selling Internationally
My name is Paul Karol and I work as a director in a Russian IT company that mostly sells their products in the international market.
I have been deeply involved in a project and I haven’t had time to write here lately.
But out of this work came an understanding of two very large Mistakes that are being made that prevent your pre-sales from succeeding.
I’m going to go into deeper detail on each one of these issues in the next articles, but I will introduce them here now.
Let me make you a promise….. if you correct these two issues, your software and development projects will sell.
**I have a proven track record. If these areas are fixed the company begins to sell 150 % more than they’ve ever sold in the past.
150% more profits!
Formal verification of smart contracts in the ConCert framework
Hey! My name's Kirill Ziborov and I'm a member of the Distributed System Security team at Positive Technologies. In this article, I'll be continuing the discussion of methods and tools for the formal verification of smart contracts and their practical application to prevent vulnerabilities. The main focus will be on the deductive verification method, or more precisely, the ConCert framework for testing and verifying smart contracts.
Kata Containers for Docker in 2024
Kata Containers is actually now the main way to run containers in an isolated virtual machine for greater security. I tell you how to install them for use with Containerd and Docker while still being able to switch between release versions.
Amazon parsing on easy level and all by yourself
I came across a script on the Internet that allows you to parse product cards from Amazon. And I just needed a solution to a problem like that.
I wracked my brain while looking for a way to parse product cards from Amazon. The problem is that Amazon uses different design options for different outputs, in particular – if you need to parse the cards with the search query "bags" – the cards will be arranged vertically, as I need it, but if you take, for example, "t-shirts" – then the cards will be arranged horizontally, and in such way the script falls into an error, it works out opening the page, but does not want to scroll.
Google Gems: The Surprising AI Upgrade You Can't Miss
Google has launched an exciting new feature called "Gems" within its Gemini platform. This feature allows users to create personalized AI chatbots tailored to their needs. Let’s explore what Google Gem is.
Character Creation Assistance, a hobby ML project
For one of my projects I was exploring Reddit to understand how players create characters in video games, what is important to them in this process, and what their preferences are. It turns out that communities sharing their creations or seeking help with specific character designs remain active even for games released years ago. This realization sparked the idea for a hobby project that could assist these players in creating the characters they envision.
ChatGPT-4: How to use it for free
ChatGPT-4, the latest model from OpenAI, boasts impressive capabilities like text generation, question answering, problem-solving, coding, and even image analysis. However, accessing it requires a $20 monthly subscription on OpenAI's website. For residents of certain countries, accessing the service poses additional challenges due to restrictions, necessitating the use of foreign payment methods and VPNs.
We've created a list of the top-4 services that offer completely free access to ChatGPT-4. This article will delve into the advantages and limitations of each option, comparing them side-by-side.
Hashicorp Vault — gcs + gcpckms
Secret Management and Why It’s Important
Hi! My name is Evgeny, and I work as a Lead DevOps at Exante. In this article, I will discuss the practical experience of setting up a high-availability HashiCorp Vault with a GCP storage backend and auto unseal in Kubernetes (K8s).
Our infrastructure used to consist of thousands of virtual and physical machines hosting our legacy services. Configuration files, including plain-text secrets, were distributed across these machines, both manually and with the help of Chef.
We decided to change the company’s strategy for several reasons: to accelerate code delivery processes, ensure continuous delivery, securely store secrets, and speed up the deployment of new applications and environments.
We decided to transition our product to a cloud-native model, which required us to change our approach to development and infrastructure. This involved refactoring our legacy services, adopting a microservices architecture, deploying services in cloud-based Kubernetes (K8s), and utilizing managed resources like Redis and PostgreSQL.
In our situation, everything needed to change—from applications and infrastructure to how we distribute configs and secrets. We chose Google as our cloud provider and HashiCorp Vault for secret storage. We've since made significant progress on this journey.
Why HashiCorp Vault?
There were several reasons:
Your Guide to the Best Free AI Tools
The world of AI is rapidly expanding, placing powerful tools within reach of individuals and businesses alike. These tools offer innovative solutions to a myriad of challenges. This article presents a curated selection of the top free AI tools currently available, designed to meet a diverse range of needs – from crafting compelling content and analyzing complex data to streamlining workflows and enriching your leisure time.
Ladybird Browser: First Impressions & Easy Installation Guide
In this article, I would like to introduce a new web browser called Ladybird. This ambitious open-source project aims to revolutionize the browsing experience. Although it hasn't been officially released, I had the opportunity to test it on Ubuntu. In this article, I'll show you what it looks like and explain how you can run it on your computer.
Iterative CI development in GitLab for an automated testing framework
A story about evolving our CI process for a monolithic Python repo with tests, challenges faced, and solutions. Discussing Docker, linters, Allure TestOps, and more.
This AI tool Takes Prompt Engineering to the Next Level
Hey there! I'm excited to dive into an exciting topic today — how AI can help us create more effective prompts. Did you know that AI-generated prompts can be 30% more effective than those crafted by humans? Let's explore how we can harness this power to simplify prompt engineering and make our interactions with AI more efficient.
Making of Heroes of Might and Magic III — Factory Town in 3D
Hello everyone, this is Denis Weber.
Heroes 3 is one of my favorite games from my childhood. I can call it the king of turn-based strategy games. Once again, while playing Heroes, I thought about what a castle from a game could look like in 3D, but all I had was a low quality screenshot.
If you prefer the video format, I will leave a link to the video at the end of the post.
Easy Authentication for Next.js project with Firebase
Today, I would like to share a simple tutorial on how to set up authentication in your Next.js project using Firebase. This guide will walk you through the process step-by-step, ensuring you can quickly implement a secure authentication system.
Tree-sitter and Preprocessing: A Syntax Showdown
According to the description,
Tree-sitter is a parser generator tool and an incremental parsing library. It can build a concrete syntax tree for a source file and efficiently update the syntax tree as the source file is edited.
But how does Tree-sitter handle languages that require a preprocessing stage?
Migrating from freezed.dart… or not?
I recently stumbled upon a package called dart_mappable
, and I feel compelled to share what I liked about it. If you're involved in Dart or Flutter development, this might be of particular interest to you.
No More AI Costs: How to Run Meta Llama 3.1 Locally
I'm excited to tell you about Meta's Llama 3.1, a powerful AI language model you can use for free. In this article, I'll show you how to install and run Llama 3.1 on your computer. This means you can use it without the internet and save money on AI costs.
These Tools helped me become x10 faster Web Developer
In this article, I'd like to share my top 5 tools that have helped me become more efficient and faster as a web developer. You may already use some of these tools, but others could be new. Read the article to the end to make sure you don't miss the most essential tool :).
Data labeling – training on cats
At some point while diving deeper into automation processes you are faced with the need for data labeling, although just a couple of weeks ago, the phrases data labeling and you were standing at a party called "Earnings on the Internet" in different rooms. Or it would be better to say that you were standing by the pool, and the data labeling was on the third floor, smoking on the balcony with experts in the field of machine learning. How did we meet? Probably, someone pushed it off the balcony into the pool, and I helped it out, soaking my clothes along the way.