Skip to main content
43
results
Andrew Fletcher
In the realm of system administration and monitoring, understanding memory usage trends is crucial for maintaining system health and performance. While tools like htop offer real-time insights into memory usage, they lack the capability to provide historical data. So, what if you need to analyze memory usage over the past 24 hours or even a week? Fear not, as Sysstat comes to the rescue with its powerful sar command.   Installing Sysstat Before delving into historical memory usage...
Andrew Fletcher
The red flag was when I saw the server disk space is showing a site is taking up...
Andrew Fletcher
To determine the size of a directory using the terminal, you can use the du...
Andrew Fletcher
Overview of the elements Set Up API Keys Obtain API keys for Pinecone and...
Andrew Fletcher
Lando is a local development environment tool, and it might not directly support...
Andrew Fletcher
Lando is a development environment tool that makes it easier to set up and manage local development environments for web applications. To use Python within a Lando-based development environment, you can follow these general steps:   Create a Lando Configuration File Make sure you have a Lando configuration file (e.g., .lando.yml) in your project's root directory. If you don't have one, you can create it. Here's a basic example: name: py-ai recipe: drupal10 config: webroot: web php:...
Andrew Fletcher
The error message "RuntimeError: Directory 'static/' does not exist" typically...
Andrew Fletcher
It seems like you're using the CharacterTextSplitter class from the tiktoken...
Andrew Fletcher
Create a Lando setup running Drupal 10. The command you provided appears to be a...
Andrew Fletcher
OpenAI request timeout? Retrying...
Andrew Fletcher
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python 3.11.5 (latest version). Errors GPTSimpleVectorIndex is deprecated Attempting to run python3.11 model-ai.py and I'm seeing the following response /home/{user}/.local/lib/python3.11/site-packages/langchain/__init__.py:40: UserWarning: Importing BasePromptTemplate from langchain root module is no longer supported. warnings.warn( /home/{user}/.local/lib/python3.11/site-packages/langchain/__init__.py:40: UserWarning:...
Andrew Fletcher
A summary of Node package commands Short cut commands npm install...
Andrew Fletcher
  Set up your server Begin by cleaning up your server environment.  Do...
Andrew Fletcher
Something I haven't had to do in a while is to change the name of a Git branch...
Andrew Fletcher
Post a NetSkope update, composer would fail when running any command that...