izard: (Default)
2029-05-31 10:08 am

This blog

I'm writing the blog in English because I type twice as fast this way than in Russian, and 90% of my friends and friends read English any way. I answer comments in the same language they are posted.

I am trying not to post anything related to my employer, but if I do so, this expresses only my own views and does not represent official position of my employer.

When I post about some technical topic which seems non trivial and is related to my employer's product, don't expect it to be inside information. If I post about it, it means that this info is already public. Usually I do not post any personal information or anything that is related to my family.

All photos are mine, and I allow anyone to copy, change, do anything you please with them. I don't post "friends only".

Useful tags are: http://izard.livejournal.com/tag/software , http://izard.livejournal.com/tag/readlog , http://izard.livejournal.com/tag/idea , http://izard.livejournal.com/tag/deutschland and http://izard.livejournal.com/tag/trip_report
izard: (Default)
2025-11-01 07:19 pm

When a “C” in math mean the same as “A”

Looking back at my own education, I realize I never really understood what grades meant.
In school I always had straight A’s in math - through my 'math/physics magnet middle/high school' and the early university years. Then, near the end of my undergraduate studies and into graduate level, the abstraction level finally outran me. What once felt easy became a fog of symbols and proofs I could barely follow. My grades dropped from A’s to barely passing.

Now my son is in middle school, facing math tests that seem simple compared with what I used to do, and yet he usualy brings home B’s and C’s. At first I was worried he was struggling. But after thinking about how math actually builds from one layer to the next, I began to see grades differently.
Math is cumulative: arithmetic => fractions => basic algebra => trigonometry => calculus => abstract algebra and other abstract branches.
To pass any stage, even with a C, a student must already handle the lower levels - fractions, negative numbers, operations, with near-A competence. In that sense, every “passing” grade is built on a pyramid of earlier mastery. A C in algebra implies solid command of arithmetic; otherwise the algebra would collapse.
And mathematics is abstract all the way down. Even counting natural numbers is an act of abstraction - something crows and primates can do. As we climb the ladder, the required abstraction doesn’t suddenly appear; it grows, from trivial symbolic mapping to ever more demanding mental models. And eventually each person reaches their ceiling - the point where abstraction exceeds what their working memory and reasoning capacity can handle.

This leads to what I see as a two-axis model of learning math. One axis is vertical, measuring mastery of the current/latest subject - the top of the stack of skills built layer by layer. The other is horizontal, measuring the mind’s abstraction capacity - how far one can extend that structure before it becomes too complex to hold. Grades only measure the first axis. The second one, which defines how far a person can ultimately go, remains totally invisible.
Piaget hinted at this when describing the “formal operational” stage — the onset of abstract reasoning — but reality is more continuous. The ability to handle higher abstraction isn’t a stage that suddenly starts; it’s a spectrum that stretches through life, unevenly across individuals.

And here lies the problem: all education systems remain centred on test scores that capture only the vertical axis. It rewards fluency and accuracy but ignores the horizontal reach of abstraction that truly defines mathematical potential. Until education finds a way to see and nurture that dimension, grades will continue to tell only half the story, and I would argue not the most important one.
izard: (Default)
2025-10-30 08:09 pm
Entry tags:

Full circle

I was in middle school in the late 80s and early 90s, in a small town in the Soviet Union. Our school had a computer lab - a real rarity back then. In a class of about thirty, three kids had a PC at home. By sixth grade, those few could type, and the rest learned slowly at school.

Twenty years later, in the mid-2000s, things were completely different. In most countries, almost every family had a computer. Even poor families could afford an old PCs and were buying them "for kid's education". Children grew up clicking, typing, chatting, coding. It felt like the world became more digital and advanced.

Now it’s 2025. My son is in sixth grade at a Bavarian Gymnasium - a demanding, high-performing school. You’d expect every child there to be digitally fluent. But when I asked, he said only three kids in his class of thirty have a real computer, same experience as mine. But there is a difference: the rest have phones and tablets. And Jacob is the only one who can actually type pretty fast.

It feels like we’ve looped back to where it all started - a few kids at the keyboard, most just watching. Except this time, it’s not because computers are rare or expensive. It’s because no one thinks they’re needed anymore :(
izard: (Default)
2025-10-27 07:39 am
Entry tags:

Two simple fractions.

I am still spreading antivax agenda online, and here is a very common counter-argument I am often confronted with. An official USA CDC publication: Cardiac Complications After SARS-CoV-2 Infection and mRNA COVID-19 Vaccination presumably proving that heart inflammation from covid is more common than one from the vaccine in both sexes and each age bracket.

When reading this paper first I thought that they compare heart inflammation risk(HIR) in the vaccinated groups vs unvaccinated groups, and proved that the latter is bigger. That would certainly change my mind about the subject! Unlike covid vaccination enthusiasts who just believe in science, my beliefs can be changed with new evidence.

Then I realised they don't compare HIR/vac vs HIR/unvac groups, I thought that maybe they compare HIR/vac vs HIR/(unvac&infected). No, it is not quite the case either.

What they compare is (HIR)/vac vs (HIR+MIS)/(positive covid PCR test), and latter is larger. Which makes total sense because not every covid infection gets PCR tested in hospital or testing site, especially with Omicron+ versions of the virus. So the second fraction gets significantly larger because of small denominator.

So they are correct: the HIR from vaccination is less common than HIR from severe covid. But parents are more interested in HIR from vaccination vs HIR from not vaccinating, which is entirely different Bayesian reasoning game.

How can I estimate/quantify the difference? The numbers in the article are the following: "Among males aged 12–17 years, the incidences of myocarditis and myocarditis or pericarditis were 50.1–64.9 cases per 100,000 after infection, 2.2–3.3 after the first vaccine dose, and 22.0–35.9 after the second dose; incidences of myocarditis,
pericarditis, or MIS were 150.5–180.0 after infection. So, TEEN BOYS (ages 12-17 years) had 2-6X the risk of heart complications after infection compared to after vaccination."

However, noting severity of Omicron+ in children, more than 80% of the cases were asymptomatic or so mild that no parent would bring a child for PCR testing, at most there is just at-home antigen test used. (According to MMWR seropositivity study by February 2022 ~55M children were seropositive and 12M children tested positive in US) This makes second fraction 5x smaller if we count all infections.

Which makes final comparison show that vaccination is 0.8x-2x more dangerous than covid infection for young boys. (Assuming the chance of infection is 100%, which is also not the case).

Maybe that is why an official FDA representative recently wrote the following words in an opinion piece published in JAMA : "During the COVID-19 pandemic, broad, one-size-fits-all mandates were aggressively pursued, requiring vaccines in populations with potentially net-negative benefit-risk profiles. This ... in part, [may] be responsible for widespread loss of trust in public health and medicine and growing hesitancy against all vaccination. Public trust takes decades to build, but can be forfeited in a single action."
izard: (Default)
2025-09-28 06:58 am

a short fantasy text

Jan's Dream

"Papa," Jan said, staring out the kitchen window at the early summer rain. "I want to become a doctor. But with my grades… Abitur 2.0, maybe 1.9 if I’m lucky… that’s nothing. They say only with 1.0 or 1.1 you can even dream of medicine. It’s impossible."
His father closed his laptop. "Then study harder, Junge."
"But if an elder spirit comes," Jan pressed on, "everything changes. If I integrate someone like Paul Ehrlich or Otto Warburg, I’d get free admission. Heidelberg, Munich—anywhere."
His father shook his head. "Dozens out of millions, Jan. Spirits are luck, like a lottery. Don't build your life on that."

Two months later, on a school trip to the Alps, Jan strayed from his classmates into the pines. The air was sharp, the mountains silent. A strange pressure pulsed in his chest, fleeting, inexplicable. His heart raced—could it be? He said nothing. Weeks passed. Nothing happened.

One night, flying his Messerschmitt in a WWII sim, Jan banked too steep. A voice, calm and certain, cut through the static:
"Ease the nose. Hold her steady. I am Erich Hartmann."
Jan tore off his headset, trembling. The Black Devil of the Luftwaffe. His spirit had come.
"But… I wanted medicine," he whispered. The voice chuckled. "You love the sky, boy. I was drawn to that."

In the Germany of the 2030s, no cockpit waited. Civil and military aircraft alike were controlled entirely by AI, perfect and tireless. Jan had gained the rarest gift imaginable—yet it tied him forever to a profession that no longer existed.
izard: (Default)
2025-09-02 06:07 pm

Петух Андрея Ильича

В нашем дачном массиве в 80-х царили инженеры. Народ полностью городской, с деревенскими терминами не знакомый.

Сосед наш, инженер-конструктор Андрей Ильич, решил заняться птицеводством по-научному. Соорудил автоматические кормушки, поилки, птичник утеплил, почти куриная кремниевая долина получилась. Летом приезжал раз в неделю, а цыплята росли сами, будто в лаборатории под контролем алгоритмов.
Осенью Андрей Ильич утеплил птичник и пустил в дело топор: зарезал петушков и большую часть кур, оставил одного на продажу. Слышал он, что за живого петуха на рынке дают дороже. И вот идёт он в воскресенье в райцентр, петуха под мышкой тащит, по пути грибы-моховики собирает (местные, конечно, от них нос воротили - Ай-ай-ай, возле дороги!»).
На рынке у него товар скромный, всего один петух. Есть еще небольшая проблема - Андрей Ильич совсем не говорил по-чувашски, а многие покупатели не очень хорошо говорили по-русски. Но общий язык найти можно. Народ подходит, птицу одобрительно щупает и задаёт один и тот же вопрос:
— Куртопчит?
Андрей Ильич не понял, что за зверь такой "куртопчит", подумал - покупатель цену сбивает, ругает петуха по-чувашски. Поэтому ответил:
— Нет, не куртопчит.
Покупатель развёл руками:
— Так на кой он нужен? И ушёл.
Следующему, по закону итераций, Андрей Ильич выдал противоположный ответ:
— Конечно, куртопчит!
Ему попался весёлый, уже слегка поддатый покупатель:
— А как часто?
— Раз в неделю, честно прикинул инженер, будто говорил про планёрку в КБ.
Покупатель сморщился и исчез. А больше никто не подошел, слух уже пошёл по рынку: «Странный вырас (русский - чув.) продаёт петуха, который кур не топчет. Раз в неделю - и то еле-еле».
Так научный эксперимент по птицеводству закончился маркетинговым провалом.
izard: (Default)
2025-08-14 09:25 pm
Entry tags:

Confirmation bias and antivax ranting

С тех пор, как я потерял примерно полмиллиона долларов из-за US federal covid vaccine mandate, я участвую в интернет срачах на эту тему (если они попадаются в моей ленте, специально для этого я никуда не бегаю).

За последнюю неделю заметил две закономерности.
1. В постах антиваксеров не трут и не скрывают никакие комментарии, а в постах сторонников вакцинации от ковида никогда не трут и не скрывают комментарии антиваксеров-идиотов (у которых 5g радиоволны дистанционно активизируют чипы в вакцине), чтобы показать, что антиваксеры - идиоты.
2. У сторонников вакцинации от ковида время остановилось в 2021 году - произошел импринтинг пропаганды того времени, и с тех пор почти ничего не может поколебать их непоколебимую решимость.

Было очень приятно пообщаться в комментах поста. Автор поста - профессиональный микробиолог с огромным опытом и просто приятный человек. Но мне было сложно угадать, когда уважаемый автор решит открыть мой комментарий, а когда решит его скрыть. Поэтому скопирую ветки со моими комментариями, которые оказались скрыты, в этот пост.

1. Мне _очень_ близка точка зрения [profile] topicfinisher, изложенная им в ветке комментариев:

topicfinisher >>"Миллионы людей — и тех, кто выдержал принуждение государства, и тех, кто сдался и подставил.. что требовали подставить — затаили изрядную злобу."

К сожалению, мой ответ на его последнюю реплику скрыт автором поста> Мне кажется, вы слишком оптимистично думаете о людях. Наоборот, в большинстве "те, кто сдался" — после этого в первых рядах сторонников принудительных экспериментальных медицинских процедур.
И к этому примыкает confirmation bias, который позволяет не видеть любые новые данные за 2022-2025 год, если произошел импринтинг госпропаганды 2021 года.
Read more... )
izard: (Default)
2025-07-28 09:13 pm
Entry tags:

Fencing 27th July

Jacob's last U11 tournament with is over, and now it is time to buy a longer weapon and start attaching wire to the helmet. This time he only got 6th place; worse than before. And once again, most of dangerous opponents only practiced single move.
The most strange one was a guy who was only using one move: take the priority, and ram the opponent with both blade and helmet, while covering his chest with left hand! With serious judges, this would grant him black cards each time, but now judges only warned him, and I overheard when they were discussing "I should disqualify him but I do not want to spoil fun." Jacob still managed to win.
Another guy was an opponent who weights ~2x more than Jacob and more than any other competitor, and he also practiced a single move: really very strong parry which looked like using a club rather than a foil, and then quick attack while the opponent is distracted. Jacob managed to win 5:0 while feinting against parry and then attacking, worked 5 times in a row.
And then Jacob lost in elimination to a left-handed opponent who rushed to start close quarter combat (while doing so, he scored 3 points and my son scored 4), and then in close quarter fight he scored 6 points and Jacob scored 0. He was begging his coaches to teach him close quarters for a long time, but they always responded that it is too early, and he should not let the opponent that close anyway.
Once the first "ramming" guy learns close quarters fight techniques, he will be very difficult to face.
izard: (Default)
2025-07-12 10:33 pm
Entry tags:

Fencing 12 July 2025

Just returned from the Upper Bavaria Open Fencing Tournament - Jacob’s first competition under German rules and his return to competitive fencing after a long break. The format followed European youth fencing regulations, which meant a significant equipment change for Jacob: a shorter and stiffer foil compared to one he was using in U.S. tournaments.

Read more... )
izard: (Default)
2025-07-09 06:32 pm
Entry tags:

Viber bug and message delivery statuses

Here is how buggy messenger delivery status can lead to miscommunication.

Message status: [Sent, Delivered, Read]

My view, after mobile internet went down on my phone at some point:
1. Me: Going home now. [SDR]
2. Julia: We'll be at a grocery store soon, should I pick you up at station A?
3. Me: No, thanks, I'll exit at station B and walk home. [SD]
4. Me: I'll be there in 30 minutes. [S]
5. Me: I'll text you if something happens with the train. []

Julia's view:
1. Alex: Going home now.
2. Me: We'll be at a grocery store soon, should I pick you up at station A? [SDR]
3. Alex: I'll be there in 30 minutes.
4. Me: I am waiting, where are you? [S]
5. Me: FindMy shows you at station B, why? [S]
6, 7, 8, 9

I was considering sending an SMS, but as my 3. was shown as delivered, I did not expect Julia to receive my message 4. only, but not 3. I should probably switch to WhatsApp.
izard: (Default)
2025-07-08 05:31 pm
Entry tags:

When it rains

When I was a kid, I was spending every summer holiday in my grandmother’s village in Russia. The region sits on a cultural and religious border between Christian and Islam parts, with surviving traces of pre-Christian paganism. Some villages still had practicing shamans who preserved old rituals that were rarely talked about openly, but widely respected.

When I was 14 a drought had started in summer. Crops were at risk, and everyone was worried. A weather forecast finally offered some hope: light, scattered showers the following day. In response, several shamans from neighboring villages decided to “ask the gods” for rain.

I didn’t witness the ritual itself. But later that evening, I saw what they had left behind: stains of chicken blood at the base of a centuries-old oak tree, and bright cloths tied into its branches, swaying in the still, hot evening air.

The next day, it rained. Not much, maybe 20 minutes, but it was something. That’s when things got strange. I took my bicycle out and rode around the area.
Read more... )
izard: (Default)
2025-06-27 01:57 pm
Entry tags:

Rant/response

The most prominent LJ biologist recently wrote a long article about Trump's CDC/FDA appointees.

One of his points was "А ещё мракобеса посадили в кресло директора FDA по оценке и изучению биопрепаратов, то есть вакцин и генных терапий. Это хирург Марти Мэкари, известный своей резонансной статьёй о том, что повторная вакцинация от ковида приносит мальчикам-подросткам больше вреда, чем пользы. Правда, среди авторов статьи не было ни одного специалиста по вакцинам или инфекционным заболеваниям."

I think this is the article.

Scinquisitor's point was that all authors of that article were not qualified, hence the article is wrong (though BMJ journal of medical ethics editors still published it)

Makary is 8th author (indeed signed as Department of Surgery, Johns Hopkins University), but he is not the only author from Johns Hopkins University. Another one is from Epidemiology, Johns Hopkins University; another one is from Department of Global Health and Social Medicine, Harvard Medical School; and another from Epidemiology and Biostatistics, University of California San Francisco.

Interestingly, Paul Offit is favourably mentioned in both BMJ article and LJ post :)

Looking through the article, I can't really get it why Makary is "мракобес". Anybody knows why?
izard: (Default)
2025-06-23 09:22 am
Entry tags:

Мияйя ди пикколи брукки нелла камера.

Just got back from vacation, where we drove through 7 counties: Germany, Austria, Switzerland, Lichtenstein, Italy, Monaco and France. 11 hours one way not accounting for traffic jams, and it took us 12 and 16 hours in real life.

On our way back, I rented a Chalet in an Italian high mountain camping village called "Ёлки-Палки". It was great overall, but there was a small nuisance in one of the rooms: just before our arrival, a butterfly laid eggs on a top level of a bunk bed, they hatched during the night, so thousands of tiny caterpillars went on a quest to find some fresh leaves for dinner. Caterpillars started descending towards my lower bed using their threads. This is how nature works, but Julia was scared first.

One of the hosts spoke adequate English, but I did not expect him to know the word "caterpillar". So, I had to find words in Italian, and came up with "thousands of small caterpillars in the room" - "мияйя ди пикколи брукки нелла камера"
izard: (Default)
2025-01-26 04:34 pm

Local LLM Russian translation

I just used local Deepseek-r1-llama70b-q8 model and asked it to translate my short story from a previous post to Russian. Here is the result:
Read more... )
izard: (Default)
2025-01-26 08:45 am

Dystopian sci-fi short text

As always, flu got me over the weekend. So I could hardly sleep with 39C+ fever, and could not help but use the time to write a dark sci-fi short text, heavily influenced by Isaac Asimov and Pavel Ievlev.
Please see under a cut.
Read more... )
izard: (Default)
2025-01-04 09:29 pm
Entry tags:

Our new home

On December 31st we've moved to a new condo. Here is the view from a window:

We were thinking first that we are choosing between an apartment in Munich close suburb or a house in a village, but finally had to settle for an apartment in a village not too far from Munich in the direction of Alps.
izard: (Default)
2024-12-21 07:40 pm
Entry tags:

Резиновая бомба продолжает сеять разрушения

Recent (end of 2024!!) social media discussion:

Someone: I won't do covid-19 boosters, they cause myocarditis. 3 upvotes, 8 downvotes.

Pro-vaxer: Here is a link to a study proving that covid-19 vaccine causes myocarditis, but covid-19 causes myocarditis more often.
15 upvotes, no downvotes.

Me: Could you please explain why you claim that this study proves that "covid-19 vaccine causes myocarditis, but covid-19 causes myocarditis more often", while the study does not explore frequency of myocarditis after covid-19 and after the vaccine at all? All the study does is demonstrating that post-vaccine myocarditis is less harmful than post-covid19 one.
6 downvotes, no upvotes.

Pro-vaxer: Oh, sometimes stupid antivaxers even read the linked studies! But they can't comprehend what they read, this is the problem. You see, even the abstract says: "Patients with post–COVID-19 mRNA vaccination myocarditis, contrary to those with post–COVID-19 myocarditis, show a lower frequency of cardiovascular complications than those with conventional myocarditis at 18 months."
You probably just read a part of the summary, which says "Post-vaccination myocarditis after vaccination with anti-COVID vaccines has a milder course and a lower risk of developing complications in the long term."
You think I made an error, but the error is all yours!
0 downvotes, 1 upvote

Me:
Let's think step by step:
1. From your first comment: "covid-19 vaccine causes myocarditis, but covid-19 causes myocarditis more often"
Let's assume P(A) the probability of getting myocarditis from the vaccine, and P(B) the probability of getting myocarditis from COVID.
So, your statement is P(A) < P(B).


2. From your second comment, the first quote from the abstract, which, in your opinion, I misunderstood. "Patients with post–COVID-19 mRNA vaccination myocarditis, contrary to those with post–COVID-19 myocarditis, show a lower frequency of cardiovascular complications than those with conventional myocarditis at 18 months." Please re-read it again. It says nothing at all about P(A) and P(B). All it says is that P(C|A) < P(C|B), where P(C) is the probability of cardiovascular complications 18 months after the diagnosis of myocarditis.
1 downvote, 0 upvotes, no responses so far.

The scary part is that Pro-vaxer is likely a doctor, based on his (or her) other comments. Confirmation bias maybe really tough.
izard: (Default)
2024-12-16 07:37 pm
Entry tags:

New author

Maybe I am a bit too late, but I just discovered this guy

Not a great literature, but OK.
1. "Кровь на воздух" - LLMs in space opera setting. Darkness - 5/10
2. "Седьмая мапа" Cyberpunk world - high tech, low life. Interesting setting - a cyberpunk city. Darkness - 7/10
3. "Хранители Мультиверсума ", Darkness - 8/10
2 & 3 are part of universe of великого кристалламультивесума.
The author knows how to use genai to do illustrations..

Какие времена, такой и Крапивин.
izard: (Default)
2024-10-19 10:12 am
Entry tags:

Exams and big tech interviews

Back in university, my friends and I had a trick when it came to exams in advanced physics and math courses: we’d try to sit exams with a postdoc or, better yet, a PhD student rather than a seasoned professor. Professors, with decades of experience, could gauge a student’s depth of understanding after just a few questions, accurately assigning grades. PhD students, however, lacked this refined intuition and often gave higher grades if you could converse confidently about basic concepts and demonstrate a good grasp of basic terminology. They usually tended to assume the best, consciously or subconsciously. The real test wasn’t the material itself, but skilfully steering the exam into a dialogue where you could shine.

So, why do I find myself reflecting on this old trick now? Read more... )
izard: (Default)
2024-08-04 09:54 am
Entry tags:

Flux model works great on Macs

After Black Forest released the Flux model, I think everyone started trying it and comparing with DALL-E3, Midjourney and Stable Diffusion 3. I am cancelling my Midjourney subscription. (Not that I used it a lot, local SD-3 was mostly good enough for me)

On Mac, Flux just works with the following conda env setup:
Python 3.11.3,
pip install torch==2.3.1 torchaudio==2.3.1 torchvision==0.18.1 einops==0.6.1 numba==0.57.0 numpy==1.24.3 transformers==4.33.1 tqdm==4.65.0 tts==0.21.1
Please use the text encoder and Flux-1-dev.
ComfyUI config and pic:
Read more... )