Skip to main content
30
results
Andrew Fletcher
Recently I came across this piece of gold when dealing with databases, particularly relational ones like MySQL, managing transactions efficiently is crucial to ensure data integrity and consistency. In MySQL, transactions are used to group several SQL commands into a single unit that either completely succeeds or completely fails, ensuring that a database remains in a consistent state. Managing transactions efficiently in databases like MySQL is crucial for ensuring data integrity and...
Andrew Fletcher
These steps are for Drupal 8 and 9.   Export your database Order here is...
Andrew Fletcher
Overview of the elements Set Up API Keys Obtain API keys for Pinecone and...
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
OpenAI request timeout? Retrying langchain.chat_models.openai.ChatOpenAI.completion_with_retry.<locals>._completion_with_retry in 4.0 seconds as it raised ServiceUnavailableError: The server is overloaded or not ready yet..Try increasing the timeout parameter.  For example,  llm = ChatOpenAI(temperature=0, model_name=model)Change to llm = ChatOpenAI(temperature=0, model_name=model,...
Andrew Fletcher
While the default version on Ubuntu 20.04 for Python is 3.8, I've added Python...
Andrew Fletcher
  Set up your server Begin by cleaning up your server environment.  Do...
Andrew Fletcher
  Install the CKAN package Begin by cleaning up your server environment....
Andrew Fletcher
If you're planning to create extensions, generating CKAN from source is the...
Andrew Fletcher
CKAN extensions - adding to your installation   Following the information on the CKAN site Use the CKAN create command to create an empty extension: Activate your CKAN virtual environment, for example: . /usr/lib/ckan/default/bin/activateThen check your location is cd /usr/lib/ckan/default/srcSo you can execute the create command ckan -c /etc/ckan/default/ckan.ini create -t ckanext ckanext-example_theme  Error – dev-requirements.txt However, when running this command the response...
Andrew Fletcher
Goal: Restrict content access through username and password entry on an Nginx...
Andrew Fletcher
Goal: I want to download a table list to a txt or csv file. Initially, as a root...
Andrew Fletcher
Reviewing CKAN extensions and listing the extensions that have been created /...
Andrew Fletcher
Location of the base templates cd...