25 articles

Articles

Structured explanations of models, algorithms, systems and engineering decisions.

Accounting Invariants as Enforceable Checks in a Financial System

A practical guide to designing enforceable accounting invariants: from PostgreSQL schema constraints and double-entry balance per currency to concurrent debit control, immutability of postings, external reconciliation, and testing. The article separates the mathematical guarantees of the ledger, business policies, and financial reporting requirements.

2026.11.17

Business Operation Observability: Why Technical Metrics Are Not Enough

How to confirm that a payment or transfer actually completed when all services returned success: operation states and invariants, a business-SLI with a deadline, correlation of trace ID with an operation identifier, reconciliation with the provider, and the investigation sequence, illustrated with a fictional example of a confirmed debit of 120 USD without an internal posting.

2026.11.04

Off the shelf, configured or built in-house: a choice model with shared criteria

A vendor-neutral comparison model for three ways of delivering an enterprise system: mandatory guarantees as a filter first, then identical criteria, TCO on a single horizon, the price of error through likelihood and consequences, pilot verification and sensitivity analysis. The model is presented as the author's synthesis of sources, not as a standard with ready-made weights.

2026.10.27

How to Choose a Durable Specialization: Domain, Mathematics, and Technology

A professional specialization is more usefully chosen not by a single program or a favorite branch of mathematics, but by a bundle of problems, methods, and tools. We compare business analytics, engineering work with machine learning, and mechanical design, examine the limits of skill transferability, and propose practical choice trials.

2026.10.23

Constrained optimization: how to formalize a choice instead of picking it by hand

How to turn a practical choice into a model: decision variables, an objective function, hard and soft constraints. A checkable numerical example shows the difference between a feasible and an optimal solution, between fractional and integer choice, and the effect of the penalty weight. Here, optimum always means the best solution within the given model.

2026.10.19

How a Language Model Works: The Path from Tokens to an Answer

A step-by-step analysis of how an autoregressive language model works: tokenization using the verifiable example “2 + 2 = 4” in the r50k_base encoding, vector representations and position, the attention mechanism with a causal mask, Transformer blocks, next-token probabilities, and the rules used to choose a token. The article also examines the differences between training and inference, as well as practical limits: the context window, factual errors, memorization of training data, and architectural differences.

2026.10.01

Deterministic Computations Inside Probabilistic AI Systems: Architecture, Accuracy, and Reproducibility

Probabilistic text generation and deterministic computation do not contradict each other. A language model can interpret a prompt and select an operation, while verifiable code performs the arithmetic, database query, or other critical calculation. However, execution determinism must not be conflated with bitwise reproducibility, numerical accuracy, and problem formulation correctness. The article breaks down greedy decoding and sampling, external function calls, floating-point arithmetic limitations, CPU/GPU reproducibility levels, and the practical role of seed, `system_fingerprint`, and `torch.use_deterministic_algorithms(...)`.

2026.09.27

AI Agent in ERP: Where the Boundary of Permissible Decision Delegation Lies

An AI agent can prepare documents, check data, and perform limited actions in ERP. But access to the system is not the same as authority to make any decision. We break down how to separate recommendations, execution, and approval, which operations require human control, and why the "Approve" button by itself does not ensure oversight.

2026.09.25

AI in HR Automation: Boundaries of Acceptable Use, Data Requirements, and Accountability

Reliable automation is possible primarily for verifiable administrative operations and supporting tasks, where AI searches, extracts, cross-checks or prepares a draft, but does not determine the outcome for a person. Candidate selection, employee evaluation, promotion, dismissal and the allocation of opportunities require separate risk classification, valid criteria, group-level control, logging, real human review and the right to appeal. Some scenarios, including emotion recognition in the workplace from biometric data in the EU, may be directly prohibited. The article shows how to choose automation scenarios and which changes to process, data, control and accountability are needed before deployment.

2026.09.20

What Remains for the Engineer When AI Writes Code, Queries, and Technical Texts

AI automates the production of many technical artifacts, but it does not take over the engineering function as a whole. The engineer still defines the goal and requirements, chooses the computational mechanism, specifies admissible states and constraints, evaluates the consequences of failure, assembles evidence of correctness, and is accountable for integration and operation. The delegation boundary does not run between “simple” and “complex” tasks, but between results that can be independently verified and safely rolled back, and decisions where an error is hard to observe, spreads widely, or is expensive.

2026.09.20

How a Technical Specialist Should Allocate Learning and Responsibility Among Fundamental Knowledge, Subject-Matter Specialization, Programming, and AI

Study deeply what is necessary to formulate a task correctly, notice a hidden error, and assess the consequences of a decision. It is reasonable to delegate reversible and independently verifiable operations to programming and AI, but not the choice of goal, acceptable risk, acceptance criteria, or the final decision. This article offers a practical framework for determining the depth of knowledge, the boundaries of delegation, and the owners of responsibility.

2026.09.20