home tags events about login

sergeyb rss

Sergey Bronnikov / Сергей Бронников

Делай добро и бросай его в воду.

sergeyb honked 03 Nov 2025 23:42 +0300

Еще один источник информации о сборке проекта, который поможет найти узкие места. Хорошее дополнение к материалу статьи "Вы можете тестировать быстрее" [1].

If you are using Clang 9 or later as your compiler (or Apple Clang), you can add the -ftime-trace compiler option to record fine-grained details about where the compiler spends its time for each file. The ninjatracing tool also knows how to read the data that Clang produces. Add the -e option to the ninjatracing command and it will include the Clang trace data in the whole build’s tracing results. This gives an incredibly detailed insight into the build performance.

https://crascit.com/2022/06/24/build-performance-insights/

[1] https://bronevichok.ru/posts/regression.html

sergeyb bonked 02 Nov 2025 09:13 +0300
original: ryanc@infosec.exchange

Found a post complaining about slow build times for OpenWRT, found a gem in the replies.

"Simply have a child, then once they having a gaming PC, backdoor it to use as a build host!"

Screenshot from a forum:

quoted text:

bullet point get a faster build host
bullet point dabble with ccache

post body:

I achieved the first bullet by "allowing" my teenage child to purchase and assemble a gaming system (ensuring it had 32 gig ram and that virtualization was enabled in the bios), then set about installing ssh (so I could log on and build projects with them knowing it), and finally, as it is running win10, installing wsl2 (there are some tricks here to keep a screen session running on wsl even if I log out from ssh).

Assuming one does not have a teenage child interested enough in gaming to unwittingly build you your own build box or a teenage child is beyond one's current budget, the second bullet point is likely a better option.

EDIT teenage children also typically take 12-14 years from conception to get to the point of desiring a gaming pc.

sergeyb bonked 02 Nov 2025 09:11 +0300
original: SarahMackAttack@scicomm.xyz

This is a Pallid Bat. They live in the Western US and in Mexico.

They are so cute I want to throw myself into traffic.

They eat mostly insects and fly close to the ground when hunting, 1-2 meters above the earth.

They are so cute that I feel the need to fall to my knees and scream, scream, scream forever.

They eat the most venomous scorpion in NA, Arizona Bark Scorpions.

The feeling I am feeling when I behold this bat is called "cute aggression".

📷: Lindsay Wildlife Experience

The cutest most earnest bat you have ever seen is cheesing at the camera with a toothy grin in the gloved hand of a human. Its an orangey tan with a boopable nose and big brown eyes. Each of its ears are twice as big as the rest of its face.

sergeyb bonked 02 Nov 2025 09:08 +0300
original: marcbrooker@fediscience.org

Wikipedia asserts that: "In 1983,[2] Andreas Reuter and Theo Härder coined the acronym ACID, building on earlier work by Jim Gray[3] who named atomicity, consistency, and durability, but not isolation, when characterizing the transaction concept."

But, from Gray's 1980 "A Transaction Model":

The users of the system author programs and invoke them as transactions. They are assured that each invocation:

Will be executed exactly once (reliability)

Will be isolated from temporary violations of the consistency constraint introduced by actions of concurrently executing transactions (consistency).

sergeyb honked 31 Oct 2025 23:53 +0300

Интересный проект для автоматического разрашения конфликтов при слиянии патчей

https://mergiraf.org/

поддерживает множество ЯП (даже Lua)

sergeyb honked 31 Oct 2025 17:05 +0300

Читаю про противодействие фишинговым атакам. Один из способов - метод "ПВО" (Погоди Выполнять, Отменят). Смысл метода в том, чтобы никогда не начинать сразу делать то, что написано в письме, даже если там написано что-то невыносимо страшное.

кмк этот метод исполнения знаком любому сотруднику крупных компаний, где постоянно пристают то с прохождением очередного внутреннего тренинга, то с другими задачами, не связанными с исполнением прямых обязанностей.