TATECHATLAS
◎ English
TECHNOLOGY / KNOWLEDGE / PRACTICE

AI, programming, SQL, SAP and mathematics: guides and tips

Materials on AI, Python, Git, SQL, SAP/ERP, statistics and time series: explanations, examples, practical tips, sources and applicability limits.

PurePath versus Path: when path math is not filesystem truth

Use PurePath-family classes for portable, I/O-free path manipulation and Path/PosixPath/WindowsPath for filesystem-backed work. Do not treat lexical normalization as proof that a target exists, resolves through symlinks, or is contained.

pathlib / PurePath / Path / symlinks / resolve / filesystem checks

Latest guides

1-24 / 47 materials

PurePath versus Path: when path math is not filesystem truth

Use PurePath-family classes for portable, I/O-free path manipulation and Path/PosixPath/WindowsPath for filesystem-backed work. Do not treat lexical normalization as proof that a target exists, resolves through symlinks, or is contained.

pathlib / PurePath / Path / symlinks / resolve / filesystem checks

Interpreting Azure AI Search Hybrid Scores: RRF, Small Values and Cross-Query Limits

Azure AI Search hybrid queries combine full-text and vector search using Reciprocal Rank Fusion (RRF). The @search.score field reflects this fusion, often appearing small due to RRF’s reciprocal rank weighting. This score cannot be directly compared across queries because it depends on the relative ranking within each query’s result set. Practical guidance includes using ranking order instead of absolute scores and understanding when semantic ranking alters the relevance signal.

Azure AI Search / Hybrid Search / Reciprocal Rank Fusion / RRF / Vector Search / Full-Text Search / Semantic Ranking / Relevance Scoring

Aligning Loss and Evaluation Metrics in Time Series

Using the same strictly consistent scoring function for both training and evaluation in time series forecasting ensures models are optimized for and accurately assessed against the desired outcome.

time series / forecasting / loss function / evaluation metric / quantile regression / pinball loss / consistency / model training

Eliminating SQL UNKNOWN Across WHERE, IF, and WHILE with Sentinel Coalescing

Three-valued logic produces UNKNOWN when a nullable operand enters a comparison, and that single value diverges in effect across filtering, conditional, and loop constructs. Wrapping the operand with COALESCE and a domain-safe sentinel collapses the logic to two values, making every context behave identically.

three-valued-logic / NULL-handling / COALESCE / sentinel-pattern / T-SQL / Oracle / control-flow / outer-joins

Combining Static and Dynamic Metadata in pyproject.toml

In pyproject.toml, static metadata keys are declared directly in the file, while dynamic keys are listed in the project.dynamic array so a build backend can supply their values at build time. A backend must honour statically specified keys that are not listed in dynamic, and it must raise an error if name appears in dynamic. When a key is specified both statically and in dynamic (PEP 808), the backend may only append entries and must not modify or remove existing ones.

pyproject.toml / PEP 621 / PEP 808 / build backend / dynamic metadata / versioning / setuptools_scm / reproducible builds

Real-Time Margin Analysis with SAP S/4HANA Universal Journal

The Universal Journal (ACDOCA) merges financial and controlling data to enable real-time margin analysis without period-end settlement, automatically deriving market segments during cost postings.

SAP S/4HANA / Universal Journal / ACDOCA / Margin Analysis / Segment Reporting / Real-Time Analytics

Monitoring Plan Variants in SAP HANA Cloud with System Views

Track active Plan Variants in SAP HANA Cloud with M_SQL_PLAN_VARIANTS and their execution metrics via M_SQL_PLAN_VARIANT_STATISTICS, then interpret the data to detect and resolve performance fluctuations caused by suboptimal plan selection.

Plan Variants / SAP HANA Cloud / M_SQL_PLAN_VARIANTS / M_SQL_PLAN_VARIANT_STATISTICS / SQL performance / monitoring / system views

Separating Build Dependencies from Runtime Dependencies in pyproject.toml

To avoid version conflicts and ensure reproducible installs, use [build-system].requires for build tools only and [project].dependencies for runtime libraries. Pin exact versions in a separate requirements.txt generated with pip freeze or pip-compile.

pyproject.toml / dependencies / packaging / reproducibility / pip / pip-tools

Oracle String Concatenation and NULL Behavior Explained

Oracle treats empty strings as NULL but concatenates them as empty. This exception aids string building but harms portability and safety in checks. This article explains how NULL propagates through most Oracle operators, why concatenation is the sole exception, how SQL Server differs under SET ANSI_NULLS, and why explicit IS NULL and COALESCE handling is safer for cross-database designs.

Oracle / SQL / NULL / Concatenation / Portability / Best Practices

Using pip freeze and --no-deps for Repeatable and Secure Python Package Installation

pip freeze captures all direct and transitive dependencies in a requirements file, ensuring repeatable installations. Using --no-deps during installation adds a safety layer by preventing automatic installation of transitive dependencies. For stronger integrity guarantees, hash-checking mode with pip-compile --generate-hashes verifies downloaded artifacts, although no strategy fully eliminates repository or supply-chain risks.

pip / dependencies / install / freeze / no-deps / repeatable / security / requirements

Declaring and resolving extras in pyproject.toml, including self-referential groups

Each key under [project.optional-dependencies] becomes a Provides-Extra entry whose dependency array elements are gated by an environment marker, so pip only installs them when the user requests the bracket syntax. Self-referencing extras compose groups but require modern package managers.

pyproject.toml / optional-dependencies / extras / self-referential-extras / PEP-621 / packaging

SHA-256 hashes versus wheelhouse for repeatable Python server deployments

Use SHA-256 hash-checking when servers can still reach an index but you need tamper resistance beyond version pinning; use a wheelhouse when the server is offline or must avoid recompilation. Choose the repeatability level by environment: pinning for a cross-platform baseline, hashes for automated tamper protection, and wheelhouse for full offline isolation with portability limits.

pip / repeatable installs / SHA-256 hash-checking / wheelhouse / requirements.txt / offline deployment / server deployment / Python packaging