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
64
results
Andrew Fletcher
•
Introduction
Data extraction and filtering are crucial for developers working with large research datasets. Whether you're working on government archives, industry reports, or academic research projects, extracting meaningful insights efficiently can be challenging.
I'm going to explore how we tackled a problem—filtering and extracting research project records based on species names from structured JSON data. We started with regular expressions (regex), ran into limitations, and...
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...
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 artificial intelligence (AI) to streamline operations, enhance customer interactions, and drive innovation. Among the most utilised AI tools are language models like GPT-4, which can generate human-like text based on prompts. However, one common challenge organisations face is achieving consistency in the responses these models provide. Inconsistent answers can lead to confusion, miscommunication, and a lack of trust in...
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
•
When working on Drupal projects, especially in a collaborative environment, it’s...
Andrew Fletcher
•
If you're working with Drupal on an Ubuntu 24.04 server, it's common to use the...
Andrew Fletcher
•
Maintaining a Drupal site is usually smooth sailing once the environment is properly set up. However, even in a stable environment, updates to modules can sometimes reveal underlying configuration issues that weren't apparent before. This was the case when I updated a contrib module on a Drupal 10.3 site, which suddenly started throwing errors related to the mbstring PHP extension.
The problem
The problem first surfaced after updating the search_api_attachments contrib module. The Drupal...
Andrew Fletcher
•
If you’ve ever encountered strange errors while running a bash script, you’re...
Andrew Fletcher
•
Managing dependencies in a web project can be challenging, especially when...
Andrew Fletcher
•
Have you ever wanted to use Terminal with a more fluid style and increase your...
Andrew Fletcher
•
When it comes to text editing, Visual Studio Code (VS Code) is one of the most...