есть земля и есть небо, а между между ними зияет весна как прогалины меж снегами сверхмассивна черная дыра уместить в том пространстве и слова не удалось до сих пор даже мху то души моей первооснова там я в бездну свою загляну скитаться годами в мгновенье, теряя недели во сне, бежать по полям наваждений и прятать следы на спине никто не осудит — отлично значит я потихоньку сойду сойду с пьедестала…
This article covers two key questions. Why use typing in Python, a language that lets you write without it? And how do you write typed Python code correctly? We will quickly go through the essential tools so that after reading, you can consciously start writing typed Python programs. It is not that hard. # Dynamic vs Static So what is typing? For many Python developers, this can feel new, because…
This is a short beginner’s guide on how to work with open source within GitHub flow practices. All examples will use the GitHub platform, but other repository hosting services that provide the necessary functionality to implement GitHub flow can also be used. Here you can find a classic way to contribute to almost any project, as well as learn a few tips and hacks. So, where does any contribution…
We have a coin, with $p - \text{probability of 1 (head)}$ and $(1 - p) - \text{probability of 0 (tail)}$. We tossed it $n$ times and got a results: $n: x_1, x_2, \dots, x_n \in \{0, 1\}$. Our task it will be a checking the truth of hypothesis $H_0: p = 0.5$. If $H_0$ will be false, we need to choose alternative hypothesis $H_1: p \neq 0.5$. Firstly, let’s make a little speculations, using our…
This is my simple note about basic data types in SQL and foundation of SQL — relation algebra. Let’s start from little cheat sheet of data types: Whole numbers: TINYINT — from $-128$ to $127$. SMALLINT — from $-32 768$ to $32 767$. INTAGER — from $−2 147 483 648$ to $−2 147 483 647$. BIGINT — very big! Float numbers: FLOAT — single precision, approximately 7-8 significant digits. DOUBLE — double…
Imagine that data is streaming to you: millions of transactions, stock prices, sensor readings. You need to calculate the mean, variance, and correlations. The classic way is to save all the data and then calculate it. But it takes up a lot of memory, calculations are getting heavy, rounding errors occur on large numbers. Recently, I came across to Welford algorithm, which can be online…
Today I want to tell about Injecting Life into Static Files: Building Dynamic Configs with Devsyringe . As developers, we live in a world of dynamic values. API tokens, temporary URLs from tunneling services like ngrok or localtunnel, database connection strings, and feature flags are the lifeblood of our modern applications. In compiled languages or Node.js environments, we have a rich ecosystem…
We’ve all been in a situation when you need to share your screen with many windows, and you need a few minutes before clicking on “Share screen” button, in order to decide. It’s okay, especially if your system is your second (or even first) home: with private notes, documents, passwords, chats and so on. Next we will set up a useful workflow for this case. But, this setup will use new feature,…
The part of reality perceived by us as the environment defines our state, passing through the prism of internal perception, and is projected onto our value system. Like water passing through a filter, it gradually wears down, contaminates, and ultimately wears it out; the environment inconspicuously but inexorably “wears down” the prism of our worldview, distorting it, and strives to narrow it to…
Prior to the premodern era, it was impossible to draw an absolute distinction between the physical and metaphysical categories of causality, or even between the material and the conditionally “spiritual.” The universe was seen as a complex and even mysterious interweaving of immanent and transcendent mediations and forces. According to Aristotle, we can distinguish four categories of causality:…
If you think this code is idiomatic, elegant and beautiful, read this article! FindProcess(ByTitle(title)) FindProcess(ByPID(pid)) This code is an example of the result of the predicate pattern. This example is synthetic, but here we’re trying to achieve a similar result here. Firstly, let’s figure out the predicate. Predicate is a function, that returns a boolean value — very simple! Now, for…
There are relationships between people, and they are universal, the same for both men and women. That is, the relationship between a student and a teacher is a relationship, the relationship between husband and wife is a relationship, the relationship between brother and sister is a relationship, the relationship between male fishermen buddies is a relationship, and any relationship between a man…
We all know our battery not forever. It’s okay, we can replace degraded battery at service and use machine again. But very useful see current state of your battery. In MacOS it’s default feature, on Linux we, of course, can do same thing. Let’s see! Now we will understand how to find the desired value and then make a beautiful minimalistic waybar module for battery. # Find a battery degradation…
In more practical cases we want to make projection of vector to subspace, and if subspace define with orthogonal and orthonormal basis we can do it easily. To orthogonalize a vectors, we using Gram-Schmidt method. We have source vectors $v_1, v_2, \dots, v_n$, and we need to get orthogonal vectors $u_1, u_2, \dots, u_n$. In general, describe the method: 0. Remove all zero vector. We take first…
When we analyze a function, we want to find stationary points. If we haven’t a constraints, use gradient. Gradient it’s a vector of partial derivatives: $$ \nabla f = \begin{pmatrix} \displaystyle \frac{\partial f}{\partial x_1} \\ \displaystyle \frac{\partial f}{\partial x_2} \\ \dots \\ \displaystyle \frac{\partial f}{\partial x_n} \end{pmatrix} $$See on example: $f(x, y, z) = x^2 + y^2 - 4x -…
Imagine we got function and a few stationary points of this function, and we need to classify them, like: max, min or saddle point. If function without constraints, we can use Hessian matrix. How to find stationary points of the function you can read at this article: “Stationary points and Lagrange method ” Let’s learn it on example. Function and stationary points: $$ f(x, y) = x^3 + y^3 - 3xy;…
Start with useful definition: Non-zero vectors $u, v \in \mathbb{R}$ call collinear vectors, if they are proportional to each other, that is exist $\lambda \in \mathbb{R}$, that $u = \lambda v$. Collinear vectors denoted as $u || v$. Zero-vector collinear with any vector. Geometrically, vectors collinear, if they have same or opposite direction. Let’s consider the plane $\pi$ in $\mathbb{R}^3$…
The Linear Algebra starts from basic geometry intuition, which continues to multivariate spaces. Now we will talk about line, plane and space. # The line in plane and space How to define a line in plane? Of course, through two points. But it’s not all. Exists are three more methods: Parametric equation Let line $l$ set by two points $r_0 = (x_0; y_0)$ and $r_1 = (x_1;y_1)$. Observe that vector $a…
What is a vector? For natural number $n$ will call a n-variate vector list of n ordered real numbers $v = \begin{pmatrix}v_1&v_2&v_3&\ldots&v_n\end{pmatrix}$. Well the $n$ number is a vector dimension: $\dim{v} = n$. For $n$ number the set of all possible vectors will call $R^n$. The regular number we call “scalar”. For example, $5 \ - \ scalar$, but $\begin{pmatrix}1&3\end{pmatrix} \ - \ vector$.…
There’s a simple idea: In youth, accumulate expertise, and later – implement it. If you start implementing your weak expertise while young, you’ll waste time, earn almost no money, and end up with nothing. Imagine we’re choosing between ML and business. Both are more or less interesting to us. ML appears more complex and fundamental than business. Especially research trajectories, like…
Recently, find the simple way to make anything at my servers in GitHub pipeline with Actions. And I love it’s very clear. I can control all operations, step and processes. Now I’ll show how to make clear depoly with it, but you can use similar for your goals. Let’s think! How we deploy manually? In the simple case, we connect to server, pull repository and then restart our app. We want automate…
If you using docker on your machine, would be a good place for start it’s clean all docker stuff. Only if you’re sure in your docker containers, volumes nothing important: docker system prune # 1. Clean packages Next tips for Arch-base systems: Find heaviest packages. This command show top-20 most heavy packages: pacman -Qi | awk '/^Name/{name=$3} /^Installed Size/{print $4 $5, name}' | sort -hr |…
(Premise) The world is a unity of opposites. If there is A, then there is not A (Law of Double Negation ). If there is temporal, there is eternal; if there is changing, there is unchanging; if there is mortal, there is immortal. Clarification: This isn’t dividing all things into two categories (“here are changing things, there are unchanging ones”). The changing and unchanging are one (Allegory of…
— Thank God. — said Anselm — But God doesn’t exist. — objected Akuan — Then what are we talking about now? — About God. And that certainly doesn’t mean He exists. — I’m not yet saying He actually exists. But at the very least, as the subject of our discussion here in this dialogue, He is. Otherwise, what would we be talking about? — said Anselm, then added with a Greek accent — Friend Akuan, do…
The symbol of this blog, which you can see in the background. What is it? This is the sun – the source of light of being. Solar – the archetypal symbol of life energy, its overabundance and fullness. This is the thorn – a symbol of suffering for the sake of love and transfiguration. This is the gear – the mechanism and inner structure of reality. This is the eye – the door to the soul. This is the…
Engineering Open Source Projects Practice-driven course, designed by Anton Grishin, that was started in winter 2026 for high school students. The lectures are given in Russian, but all materials are available in English. Educational project created with CPM and CU . On this page, all course materials will be collected. List of articles that will be helpful for the course. The curriculum of the…