This document provides guidelines for maintaining high-quality Python code. These rules MUST be followed by all AI coding agents and contributors.
All code you write MUST be fully optimized.
"Fully optimized" includes:
Applied rationality for a coding agent. Defensive epistemology: minimize false beliefs, catch errors early, avoid compounding mistakes.
This is correct for code, where:
Created with
Make sure you install headless-gl's dependencies, then run with XVFB like so:
Let's start by creating entry for server in docker-compose.yaml:
version: '2'
# version 2 of docker-compose is not "old" version, it's the actual version,
# see below for explanation:
# https://stackoverflow.com/a/53636006/961092
services:| sudo yum -y install vim wget git | |
| sudo yum -y install glibc-static.aarch64 gcc.aarch64 | |
| mkdir -p ~/go/src/github.com/percona/ | |
| cd $_ | |
| git clone https://github.com/percona/pmm-admin.git | |
| git clone https://github.com/percona/pmm-agent.git | |
| git clone https://github.com/percona/node_exporter.git | |
| cd /tmp/ |
| <ENVELOPE> | |
| <HEADER> | |
| <TALLYREQUEST>Import Data</TALLYREQUEST> | |
| </HEADER> | |
| <BODY> | |
| <IMPORTDATA> | |
| <REQUESTDESC> | |
| <REPORTNAME>Vouchers</REPORTNAME> | |
| <STATICVARIABLES> | |
| <SVCURRENTCOMPANY>XYZ Company</SVCURRENTCOMPANY> |
| [opcache] | |
| ; Determines if Zend OPCache is enabled | |
| opcache.enable=1 | |
| ; Determines if Zend OPCache is enabled for the CLI version of PHP | |
| ;opcache.enable_cli=1 | |
| ; The OPcache shared memory storage size. | |
| opcache.memory_consumption=512 |