Articles

Golden Ratio Search

EN

Golden-section search, also called golden-ratio search, locates a minimum or maximum of a unimodal function on a specified interval. It compares function values at two interior points and discards a part of the interval while preserving a minimizer under the assumptions stated below. No derivatives ...

Gradient Descent

EN

Gradient descent is a first-order method for minimizing a differentiable objective in mathematics, statistics, machine learning, and artificial intelligence. At the current point, the gradient gives the direction of steepest local increase in the Euclidean norm. The method moves in the opposite dire...

Bisection Method

EN

Bisection approximates a real root of a continuous function f by repeatedly halving an interval [a,b] whose endpoints have opposite signs. It is a bracketing method: each update preserves an interval known to contain at least one root, rather than relying on a single guess. Its main advantages are a...

Root Finding

EN

Root-finding algorithms aim to solve equations of the form...

Backward Difference

EN

The backward difference method estimates a derivative using the function value at the target point x and a preceding point x-h, with h > 0. It is a finite difference method: the slope over a nonzero interval replaces the limiting slope that defines the derivative. This stencil is useful at the right...

Taylor Series

EN

Taylor expansion describes a function near a chosen center a using its value and derivatives at that point. The constant term records the function value, the linear term records its slope, and higher powers describe curvature and further local variation. A finite expansion includes a remainder, whic...

Differentiation

EN

Differentiation describes how a quantity changes as its input changes. The derivative gives a local rate of change and, geometrically, the slope of the tangent to the function's graph. It also supplies the linear term used to predict the effect of a small input change: f(x+h) ≈ f(x)+hf'(x). This con...

Forward Difference

EN

The forward difference method estimates a derivative from the function value at the target point x and a later point x+h, with h > 0. Dividing the change in the two values by their separation gives a secant slope that approximates the tangent slope at x. The method is useful at the left boundary of ...

Central Difference

EN

The central difference method estimates a derivative using function values at equal distances on either side of the target point. It combines the forward and backward difference formulas so that their leading curvature errors cancel. For a sufficiently smooth function, this symmetry gives a second-o...

Thin Plate Spline Interpolation

EN

Thin-plate spline (TPS) interpolation fits a surface through scattered data while controlling bending. This note develops the classical two-dimensional formulation; higher-dimensional polyharmonic spline constructions depend on the dimension and derivative order, so their kernel is not always the sa...

Interpolation

EN

Interpolation constructs a function that passes exactly through a set of known data points. If the data are...

Gaussian Interpolation

EN

Gaussian radial basis function (RBF) interpolation builds a smooth interpolant from Gaussian functions centered at the data sites...

Cubic Spline Interpolation

EN

A cubic spline interpolates data with a sequence of cubic polynomials rather than one high-degree polynomial across the entire interval...

Least Squares

EN

Least squares fits a model to data by minimizing the sum of squared residuals...

Linear Interpolation

EN

Linear interpolation estimates a value between two known points by assuming the function is a straight line over that interval...

Newton Polynomial

EN

Newton interpolation represents the same unique polynomial obtained by Lagrange interpolation, but in a form that is easier to build incrementally...

Regression

EN

Regression models the relationship between one or more predictors and a response variable. Unlike interpolation, regression generally does not try to pass exactly through every observation. Instead, it chooses model parameters that balance data fit with a chosen model structure...

Lagrange Polynomial Interpolation

EN

Lagrange interpolation constructs the unique polynomial of degree at most n that passes through n+1 distinct data points...

Economy Guidance

EN

The economy guidance layer makes the gather-build-recruit loop visible to the player. Resource counters explain what each resource is for, the economy guide shows costs and prerequisites, and skirmish coaching gives the player a short sequence of economic goals...

Food and Farms

EN

Food connects settlement growth to military production. Farms grow grain, builders harvest grain or slaughter sheep, homes spend food to recruit civilians, and civilians become manpower when they reach a barracks. The result is an economic loop in which food drives population while wood, stone, and ...

Frame Pacing

EN

Frame pacing in Standard of Iron is measured from real gameplay runs and reported as a frame_pacing verdict. The gate is designed to answer a broader question than “what was the average FPS?” It measures whether presented frames arrive consistently, whether CPU/GPU frame work fits the active graphic...

Sorting

EN

Sorting arranges a collection of items according to a defined ordering, such as ascending numeric value or a record's timestamp. The comparison rule must be consistent; contradictory comparisons make a sorted result ill-defined...

Dokumentacja

PL

Dokumentacja jest istotnym elementem każdego projektu programistycznego. Umożliwia użytkownikom zrozumienie, jak działa aplikacja, jak jest zbudowana, oraz jakie funkcje oferuje. Odpowiednio przygotowana dokumentacja pomaga również innym programistom w szybkim zrozumieniu kodu, ułatwiając jego dalsz...

Paradygmaty Programowania

PL

Paradygmat w programowaniu to nie tylko sposób myślenia o tworzeniu programów, ale także zestaw konceptów i technik, które kierują projektowaniem i strukturyzacją oprogramowania. Te filozofie wpływają na to, jak programiści definiują problemy oraz jak podejmują decyzje o sposobie ich rozwiązania. Ch...

Api wraz z Fastapi

PL

FastAPI to nowoczesne, wydajne i łatwe w użyciu narzędzie do tworzenia API w Pythonie. Za jego popularność odpowiada prostota tworzenia aplikacji, wbudowana walidacja danych oraz automatyczne generowanie dokumentacji...

Aws Services

EN

Choose a service by data model, access pattern, transaction requirements, and operational constraints. A keyword such as “financial,” “serverless,” or “high scale” is a clue, not a complete architecture decision. Check service availability and compatibility before designing a new deployment...

Tar and Gzip

EN

Working with files on Unix-based systems often involves managing multiple files and directories, especially when it comes to storage or transferring data. Tools like tar and gzip are invaluable for packaging and compressing files efficiently. Understanding how to use these commands can simplify task...

Utilities

EN

We will discuss various tools that can be used on Linux systems for tasks such as taking screenshots, recording screens, preparing bootable sticks, and detecting malware. It provides brief explanations of each tool and includes installation and usage instructions...

Cron Jobs

EN

Cron is a powerful utility in Unix-like operating systems that automates the execution of scripts or commands at specified times, dates, or intervals. It is used for tasks such as system maintenance, backups, updates, and more...

Inodes and Symlinks

EN

Inodes are critical as they store essential metadata about files, such as permissions and locations, allowing efficient file system management. Hard links are important because they let multiple file names point to the same inode, saving disk space by avoiding data duplication. Symlinks provide flex...

Ci Cd

EN

CI/CD stands for Continuous Integration and Continuous Delivery (or Continuous Deployment). It is a set of practices that automate the process of integrating code changes, running tests, and delivering software to production environments. For Linux administrators moving into DevOps, CI/CD pipelines ...

Commands

EN

Let's talk about some seriously useful tricks that'll make your command-line life much easier. Ever find yourself thinking "I know I ran that command yesterday, but what was it again?" or "There has to be a faster way to do this!" Well, you're in luck, the terminal has some fantastic features to hel...

Environment Modules

EN

Environment Modules is a tool used to manage software environments from the command line...

System Startup

EN

The system startup process is everything that happens between pressing the power button and reaching a usable login prompt or graphical desktop...

Disk Io Analysis

EN

Disk I/O analysis is the process of observing how data is read from and written to storage devices...