The json module handles only a fixed set of Python types. To serialize complex numbers, dates, paths, or user-defined classes you must supply a default function or subclass JSONEncoder, then pair the output with object_hook on the decode side.
json / serialization / JSONEncoder / default / object_hook / python-standard-library / datetime / complex
A closer look at explicitly deferred NO ACTION checks and clearing only the optional component of a composite foreign key. These details complement the basic choice between RESTRICT, CASCADE and SET NULL.
postgresql / foreign-key / on-delete / data-retention / cascade / restrict / set-null / referential-integrity
How to read, modify, and synchronize environment variables in Python using os.environ and os.environb, handle encoding differences across platforms, and pass environment to child processes.
os.environ / os.environb / environment-variables / python-os / utf8-mode / cross-platform / child-process / reload_environ
Understand how document splitting distributes line items and, when configured, creates zero-balance clearing lines for a segment. Follow one numeric example and inspect the general ledger view before comparing reports.
SAP S/4HANA / Universal Journal / Segment Reporting / Financial Accounting / Controlling / Document Splitting / Balance Sheets / Reporting
Step-by-step guide to creating an index, generating embeddings, and executing hybrid queries that combine full-text and vector search using Azure AI Search.
azure-ai-search / hybrid-search / vector-search / semantic-reranker / index-schema / embeddings
Use ON CONFLICT to atomically insert or update rows based on unique constraints. Specify the exact conflict target, handle duplicate input rows, and understand that excluded values replace, not accumulate.
postgresql / sql / upsert / insert / on-conflict / unique-constraint / concurrency / database
Distinguish missing and empty settings, parse ports and booleans explicitly, and report configuration errors without exposing secrets.
Python / Configuration / Environment / Validation
Use ISO timestamp strings and decimal strings, then reconstruct the fields explicitly. A complete standard-library example shows timezone checks, precision and predictable failures.
JSON / Serialization / Deserialization / Datetime / Decimal / Python / Data Contract / Type Handling
Learn how to parse JSON data in Python from both string literals and files, and how to effectively handle potential decoding errors using the built-in json module.
python / json / parsing / decoding / file handling / error handling / pathlib / data serialization
A practical guide to using pathlib for file existence checks, extension manipulation, directory navigation, and path resolution without introducing platform-specific bugs on Windows or Unix systems.
pathlib / cross-platform / python / file-system / os.PathLike / PurePath / glob / resolve
A posting rejection is usually a period-control issue, not a document-date mistake. The journal entry date is the document issue date, while the posting date determines the posting period that the system checks. The posting period variant, not the fiscal year variant, opens and closes periods for the header and for each account type.
SAP S/4HANA / posting date / document date / posting period variant / fiscal year variant / period control / authorization / FI document
Transactions in PostgreSQL allow grouping SQL operations into atomic blocks using the commands BEGIN, COMMIT, and ROLLBACK. This ensures data integrity: either all changes are applied or none at all. The mechanism is based on ACID principles - atomicity, consistency, isolation, and durability.
PostgreSQL / transactions / BEGIN / COMMIT / ROLLBACK / ACID / savepoint
A technical guide explaining why syntactically correct JSON from Large Language Models (LLMs) is insufficient for production systems and how JSON Schema provides the necessary structural and type guarantees.
LLM / JSON / JSON Schema / Data Validation / Software Engineering / Python
A guide to using the Python csv module to automatically detect delimiters, handle Unicode Byte Order Marks (BOM) with utf-8-sig, and manage platform-specific newline issues using the Sniffer class and correct file opening parameters.
python / csv / data-processing / encoding / utf-8-sig / automation
How Python resolves relative paths depends on the process working directory, which varies by launcher. This guide shows how to inspect the working directory, choose and document an explicit path base, and understand why __file__ cannot always be trusted.
Python / pathlib / relative paths / working directory / __file__ / os.getcwd
A practical order for comparing SAP reports: organizational scope, ledger, fiscal period, currency and line-item detail.
SAP / Universal Journal / Reporting
Build a previous-season reference, evaluate it on later observations and distinguish calendar alignment from leakage and missing data.
Time Series / Forecasting / Baseline / Validation