developer resources
Codebales holds an ever growing number of solutions to problems that we have experienced in our day to day code writing
Selected filter
35
results
Andrew Fletcher
•
Building a resilient web server
Early in the year, we encountered a number of challenges, one of the most disruptive was a sustained wave of automated attacks hammering several of the web servers we manage. The volume of traffic overwhelmed server resources, slowing websites to a crawl and frequently triggering 504 Gateway Timeout errors. With uptime and user experience at risk, we needed a robust solution to detect and block malicious traffic in real time, before it could do further...
Andrew Fletcher
•
Across every industry, the operational risks of cyber threats are escalating....
Andrew Fletcher
•
Introduction
Data extraction and filtering are crucial for developers working...
Andrew Fletcher
•
When deploying a Python project from a User Acceptance Testing (UAT) environment...
Andrew Fletcher
•
Seemingly minor technical misconfigurations can escalate into major...
Andrew Fletcher
•
For developers working with Python, setting up and managing environments can sometimes lead to frustrating terminal errors. If you’ve encountered issues like the `python: command not found` error or struggled to create a virtual environment, this guide walks through resolving these common problems when using `pyenv`.
Following are the steps to get your environment back on track, specifically addressing Python version conflicts and virtual environment setup.
Common problem: command not...
Andrew Fletcher
•
Logging levels determine the severity or importance of the messages that are...
Andrew Fletcher
•
In today’s fast-paced digital landscape, businesses increasingly rely on...
Andrew Fletcher
•
For many Python developers and engineers, there’s a familiar yet frustrating...
Andrew Fletcher
•
Why memory management matters and how Python developers can use generators and...
Andrew Fletcher
•
Managing dependencies in a web project can be challenging, especially when different projects require different versions of the same packages. Virtual environments offer a solution by isolating project dependencies. This article will guide you through creating and using a Python virtual environment in a web project, specifically when using PHP to execute Python scripts.
Why use a virtual environment?
Isolation: Keeps dependencies required by different projects in separate...
Andrew Fletcher
•
When attempting to install python libraries on my OSX
pip3 install pandas,...
Andrew Fletcher
•
The "Too many open files" error in Python typically occurs when your program has...
Andrew Fletcher
•
You can use the pip list --outdated command to view a list of installed Python...
Andrew Fletcher
•
Snapshot of the error
File...