Pull to refresh

All streams

Show first
Period
Level of difficulty

Security Week 2626: вредоносные обои рабочего стола в Steam Workshop

Reading time4 min
Reach and readers5K

На прошлой неделе исследователи «Лаборатории Касперского» опубликовали разбор свежей кампании по распространению вредоносного ПО в Steam Workshop, встроенной в игровую платформу Steam мастерской для обмена пользовательским контентом. Для заражения пользователей злоумышленники используют программу Wallpaper Engine — это платная утилита для создания кастомных обоев рабочего стола. Возможности программы достаточно широки — от анимации и воспроизведения видео до запуска приложений. Именно этой особенностью и воспользовались организаторы атаки.

Исследователи наблюдали два варианта распространения вредоносного ПО под видом анимированных обоев. В самом простом варианте жертве доставлялся архив, внутри которого содержались и обещанные обои, и вредоносные файлы. Чуть более сложный метод предполагал распространение в уже запароленном архиве. К нему был приложен скрипт, который распаковывал архив и запускал вредоносную нагрузку автоматически. Обои публиковались в Steam Workshop с конца 2025 года. Авторы отчета обнаружили десятки вредоносных обоев, причем некоторые из них имели десятки тысяч скачиваний. Результат установки такого ПО ожидаемый: кража учетной записи Steam, установка вымогателя-шифровальщика и запуск криптомайнера.

Read more

Query result caching in PostgreSQL: how to speed up frequent queries and reduce database load

Level of difficultyMedium
Reading time11 min
Reach and readers5.2K

Imagine your heaviest SQL queries running in milliseconds. It sounds like science fiction, but with the pgpro_result_cache extension, it’s very real. In this article, we’ll look at how multi-second queries can be turned into lightning-fast cache hits.

Read more

Anthropic's J-Space: A Workspace Made of Signs. Why Vygotsky Explains the Data Better Than Baars

Level of difficultyEasy
Reading time12 min
Reach and readers2.6K

On July 6, 2026, researchers at Anthropic published the results of a new study claiming to have discovered an analogue of the "global workspace" in Claude, dubbed J-space.

The research is highly fascinating and, I believe, reveals the future of neural networks much more deeply than it appears at first glance.

In this article, I will explore why the Global Workspace Theory (GWT) accurately describes the structure of this finding, yet remains silent on its main oddity: the fact that this workspace consists of "words" (or, more precisely, discrete signs). And I will explain why Lev Vygotsky answered this exact question a century ago.

Read more

The globally optimal, eighth, and fastest type of bytecode interpreters

Level of difficultyHard
Reading time14 min
Reach and readers2.2K

Совершать невозможное и раздавать пинки здравому смыслу — в этом и состоит жизнь членов Гуррен-Дана! (C) Камина

This article enters into a technical debate with a 2015 article by Atakua, whose approaches I am attacking. Atakua explores 7 types of bytecode interpreters, but does so disrespectfully - the fastest turns out to be binary translation, which is essentially no longer a bytecode interpreter, but a form of Ahead-Of-Time compiler. This binary translation translates bytecode into machine code, which is a chain of calls to compiled service routines. The very same ones that are responsible for executing each opcode in a bytecode interpreter.

But Atakua didn't squeeze all the possible speed out of bytecode interpreters. So this article is a tutorial: how to write a bytecode interpreter that can outperform JIT/AOT compilation in speed. Interested? Read on!

A benchmark is included. There will be a bit of hardcore and not a single AI-generated image!

Read more

Neural Networks for Beginners. Part Zero. Overview

Level of difficultyHard
Reading time67 min
Reach and readers1.6K

Neural Networks for the Little Ones

Every time you say “Thank you” to a neural network, you launch a pipeline that multiplies hundreds of matrices with billions of elements, and burn as much electricity as an LED lamp in a few seconds.

This is the first article in a short series dedicated to networks for AI/ML clusters and HPC.

In this series, we’ll touch on the principles of model operation and training, parallelization, DMA and RDMA technologies, network topologies, InfiniBand and RoCE, and we’ll also philosophize on the topic of general and specialized solutions.

In this particular article, we’ll figure out what a neural network is, how it works, how it’s trained, and most importantly, why it needs hundreds of expensive GPU cards and some kind of special network.

The refrain of today’s story: there’s no magic in neural networks—it’s just a multitude of simple operations on numbers, performed on computers with special chips. There’s no magic in how they work, nor in the infrastructure they run on.

Let's dive in!

Windows 11 Enterprise G – What is this edition for the Chinese government and why would you need it?

Level of difficultyHard
Reading time11 min
Reach and readers1.3K

Today I would like to share some information with you about a special, somewhat unique edition that exists in Windows 10 and Windows 11, released by Microsoft for the Chinese government sector. What is Windows Enterprise G, also known as Windows Enterprise Government China, how does it differ from other editions, and most importantly, how (and why) you can get it.

Read more

Building a Camping Battery or Make Powerbank Great Again

Reading time26 min
Reach and readers1.2K

We're building a portable 12V 110 Ah LiFePo4 battery for camping and household needs, and also making 12V USB charger modules deliver their full power.

This Powerbank will be useful at home, in the car, in a tent, outdoors, on a boat, at the beach, and where roads and power lines don't reach.

I have been into car tourism for a long time. These are trips by car, with overnight stays and day stops far from civilization. The duration of such trips can be up to two weeks, during which we set up camp in the most beautiful and hard-to-reach places.

While the car is running, it naturally takes care of all electricity needs. Everything that needs to work and charge does. But when it's turned off, the power consumption required by the camp will drain the under-hood battery quite quickly...

Read in full

Reverse Engineering the Xiaomi Smart Band 10

Level of difficultyHard
Reading time16 min
Reach and readers1.1K

Wearable devices present a paradox: the band measures your heart rate, sleep, and activity, but the manufacturer doesn't provide a ready-made open API to integrate this data into third-party systems (like a home monitoring setup or a local database). The official Xiaomi Mi Fitness app shows beautiful graphs, but the data remains 'locked' within the mobile ecosystem.

The initial task was purely practical: to set up automatic collection of health data into a local SQLite database and display reports in a family Telegram bot. Since the band syncs with the app, which in turn syncs with the Xiaomi cloud, the data is guaranteed to be transmitted over the network. I needed to understand the format in which it's transmitted and how to retrieve it.

This article is a technical breakdown of the journey from analyzing network traffic and setting up trust for a custom CA to reverse-engineering Xiaomi's RC4 protocol, decrypting AES/CBC objects from FDS storage, and parsing the proprietary binary sleep format.

Read more

Obsidian+Github instead of Notion: synchronization, backup, and versioning (3-in-1)

Level of difficultyEasy
Reading time9 min
Reach and readers944

How to set up transparent synchronization of Obsidian notes between devices (Desktop, Android, iOS) via GitHub:

1. Without third-party applications (like iCloud, SyncThing, Termux, etc.)
2. For free
3. As a bonus—a backup: of both the notes themselves and their change history.

The result is a full-fledged replacement for Notion: structured notes with automatic synchronization between devices.

Instructions:

The Reverse Junior or Debunking the Main Myth of Vibe-Coding

Level of difficultyEasy
Reading time16 min
Reach and readers1K

Yesterday (November 27), Habr hosted an 'Author's Fireside Chat'.

It was very interesting, and one of the speaker's statements struck me. It was that AI can help write simple pieces of code but doesn't work with complex things. Thus, large language models are likened to a junior programmer.

I decided to write an article about it this morning, drawing on my knowledge and experience in computational mathematics (I used to do modeling in the past, and for the last few years, I've been teaching computational mathematics at MIPT). Let me know what you think.

I think this is the main myth of vibe-coding. It's exactly the opposite — AI is often good at writing quite complex things and retrieving important information that is difficult to find on your own. But it gets confused in the most elementary things. It's a reverse junior.

The problem is that this is a dangerous illusion, and I will now clearly explain why, and how it can be dangerous. Brew some coffee and get ready for a debunking that might save your millions, your career, or even human lives in the future.

Read more

Wrapping YouTube with a snake, or how to watch and download YouTube videos without a VPN using pure Python. Part 1

Level of difficultyEasy
Reading time13 min
Reach and readers845

The modern world is saturated with all kinds of information, and in our difficult times, it's important to be able to not only find it but also to save it. Many have probably noticed that on YouTube, besides the junk, cats, and other useless things (which we sometimes don't mind watching), there is a lot of useful material on a wide variety of topics. And sometimes it would be nice to save this material for the future, so as not to depend on the changing moods in the world.

In this article, I want to explain how you can download videos, audio (Part 1 of the article), playlists, and entire channels from YouTube (Part 2 of the article) without using a VPN and in pure Python. A quick disclaimer: we won't need a VPN, but we will create our own tool that will solve the "problem with outdated and worn-out equipment Google Global Cache" (you know what I mean). I think this tool will be especially relevant today, when for many Russians, YouTube barely works or doesn't work at all.

Read more

Let's forget everything about scalar and vector products. There's a much better way

Level of difficultyEasy
Reading time12 min
Reach and readers811

Everyone who has taken a linear algebra or physics course at university remembers this strange dualism. We were taught that vectors have TWO types of products. The first, scalar, takes two vectors and outputs a number. Geometrically, it's about projections and angles. The second, vector, also takes two vectors and... suddenly spits out a third vector, perpendicular to the first two. And this trick only works in 3D and 7D.

It always seemed like some kind of mathematical 'crutch'.

Why is it so complicated? Why two different products for different tasks? Why does one depend on the cosine and the other on the sine?

What if I told you that they really are 'crutches'? That there is a single, universal, and elegant geometric product, which includes both of these cases (and much more), and which is based on a single, crystal-clear idea. An idea that changes the way we look at the very essence of mathematics.

This article is an invitation to the world of Geometric Algebra. We are going to reinvent multiplication.

Read more

The Pythagorean Theorem: The Great Deception of the School Curriculum. How Abstraction Killed Meaning

Level of difficultyEasy
Reading time12 min
Reach and readers800

We all know this formula. a^2 + b^2 = c^2.

This is perhaps the only piece of knowledge from school geometry that stays with a person for their entire life, even if they work as a barista or a copywriter.

But have you ever asked yourself the question: why squares specifically?
Why not cubes? Why not just the sum of the absolute values |a| + |b|?

If you ask a teacher, they will draw little squares on the sides of the triangle. If you ask a university professor, they will write down the definition of a scalar product.
And both of them, in essence, will deceive you. Or, to put it more mildly, they won't tell you the whole truth.

Today, we will unpack this 'black box' and see that the Pythagorean theorem is not about triangles at all. And it should be proven in a completely different way than we were taught.

The school curriculum doesn't provide an answer. Moreover, the history of teaching the Pythagorean theorem is a story of how living, visual geometry was turned into dry, dead algebra. We were led further and further away from understanding the essence and towards abstraction.

Today, we will analyze this path of degradation and show a proof that will bring you back to reality. Spoiler: the Pythagorean theorem is not about triangles. It's about mirrors.

Get ready to have all your preconceptions shattered!

Read more

Beware the letter 'M'. The strangest bug of my life

Level of difficultyMedium
Reading time5 min
Reach and readers1.2K

On a Friday evening, a colleague, let's call him Avenger, asked if I had ever encountered a problem where a route returns 400... but "if you change the name to something very different," then everything is okay. At first, I didn't pay attention to the word "very". Maybe the route registration is duplicated somewhere? Or Avenger mixed up GET and POST. Or is there some general bug in handler creation?

Welcome
1