Роскосмос пару дней назад опубликовал отчёт о том, почему упала "Луна-25". Там конечно канцелярит, но можно примерно понять, что двигатель коррекции получил неверные данные от акселерометра:
из-за возможного попадания в один массив данных команд с различными приоритетами их исполнения прибором
Это очень похоже на программную ошибку, а это моя сфера, и я решил над ситуацией поразмыслить.
Хейтеры сразу стали строчить комментарии в стиле "Ололо, наняли каких-то идиотов, которые простейшие тесты не провели". Тут обычно справедливо вспоминают аварию с европейской ракетой Ариан-5 в 1996 году. Там буквально из-за пары строчек кода в результате неправильного приведения числовых типов ракета за 7 млрд баксов развалилась на куски в воздухе. Бывает.
Что касается Роскосмоса, при всей его сомнительной репутации, объяснение "Дураки не провели тесты" звучит лично для меня неправдоподобно. На мой личный взгляд возможны два варианта:
1. Если в описании ошибки слово "приоритет" обозначает какой-то признак внутри объекта команды, значит, на входе в приёмный модуль эти команды не были отфильтрованы. Выглядит как грубая ошибка, целый логический блок упущен. Вряд ли этот блок вообще не написан, скорее всего он не выполнился. Такое бывает, если в тестовой среде есть какое-то условие, которого нет в рабочей, и именно это условие отвечает за выполнение участка кода.
Сталкивался с таким миллион раз. Самое дикое из последнего: код парсит эксель-таблицу с числами. Разработчик написал, запустил проверил, прогнал тесты, всё ок. Отправляем в прод — все числа будто бы рандомно меняются на другие. Запускаем снова — у всех разработчиков функционирует нормально, а в проде на сервере нет. Таблица одна и та же. Можете подумать, почему так. Ответ: у разработчиков стоит русская локаль и десятичный разделитесь это запятая, а на проде в докере точка. При парсинге на проде запятая уже интерпретируется как разделитель тысячных разрядов.
2. Куда вероятнее, что слово "приоритет" в описании ошибки обозначает время, а, значит, список команд просто не был отсортирован, и в обработчик уже после актуальных значений попали какие-нибудь начальные нулевые данные, сбившие логику. По косвенному описанию проблемы очень похоже именно на это. Значит, на тестах всегда порядок возникновения команд соответствовал порядку их прихода, а в реальности перестал соответствовать. Вообще, работать с железом очень сложно. Какую-нибудь схемку заглючило от холода, она задержала ответ от датчика на миллисекунду, и всё. Никто не знал, что такая проблема возможна, пока она не возникла.
Мне рассказывали о таком случае: юзер логинится на сайт и иногда логин проходит, а иногда нет. Логин и пароль те же самые. Просто в случайные моменты времени ему возвращают токен авторизации, а в другие моменты времени ошибку 403. Никакой закономерности нет вообще. Нет зависимости от времени суток и даты. Сервер точно работает стабильно и не падает все 100% времени. Почему так может быть? Ответ: у сервиса авторизации два инстанса, перед которыми балансировщик нагрузки. В одном инстансе данные для авторизации есть, в другом нет. Балансировщик при примерно одинаковой нагрузке включает просто случайный выбор между ними.
В общем, программисты иногда допускают такие косяки, что какая-то мелочь может привести к серьёзной аварии. Это я вам говорю как программист, который пишет для атомных станций :)
#dev
Завершаем 2017 год запуском отличного проекта. Увидимся в 2018!
Всегда позитивно и интерактивно ваши, команда #eventplatform#positive#year#engineofemotions
Dear #Crypto Fight Community All Members 😎
We wish you all a #HAPPY#NEW#YEAR🎉🎉, may you always be happy in your life, and have good health and fortune.🍀.
😀Happy New Year 2️⃣0️⃣2️⃣6️⃣🎆
[ Crypto Fight Team ]
😄Crypto Fight Link :
✉️Telegram✉️Channel
📝Twitter🔶Binance Live
*️⃣Linktree
🔤🔤🔤🔤2️⃣
The White House has repeatedly rejected claims that the president’s actions amount to authoritarianism, dismissing such criticism as “deeply unserious” and rooted in what the president calls “Trump derangement syndrome”.
When pressed, the president has said he was handed a broad mandate to restore “law and order,” secure elections and dismantle what he has described as a corrupt federal bureaucracy.
“Here’s the reality: President Trump was resoundingly reelected by the American people based on his America First agenda,” White House spokesperson, Abigail Jackson, said in a statement.
“Now, he’s delivering on all his campaign promises – that’s democracy in action.”
While at the White House, Musk took a chainsaw to the federal government, firing thousands of workers in sweeping, indiscriminate cuts that were quickly challenged in court.
Estimates suggest more than 300,000 federal workers left in the Trump-era exodus, draining the government of top scientists, researchers and analysts.
Traditionally autocratic regimes expand social services for supporters as a way to buy loyalty, while stripping away their political rights, Ben-Ghiat said: “that’s how they get so many people to go along and look the other way”.
But Trump, she said, has diverged from that model: rather than shoring up the social safety net, his administration, abetted by Congressional Republicans, has moved to “kneecap” public health and social programs, including child care benefits – cuts Democrats plan to foreground in this year’s midterm elections.
Last year, millions joined No Kings rallies to denounce a president they say has wielded power like a monarch.
At the ballot box, Democrats won successive victories in the 2025 off-year elections, and are well positioned to retake the House – and possibly the Senate – in the 2026 midterms.
Trump, meanwhile, remains unpopular nationally – a vulnerability for his party heading into this year’s elections. A CNN poll found that a majority of Americans believe Trump’s policies have worsened economic conditions in the country, and 58% call his first year a failure.
Trump’s fragile political standing is one indication that the administration’s narrative is increasingly at “odds with what people see – their lived experience,” Ben-Ghiat said. The more that gap widens, she said, “the more people will wake up”.
She pointed to Minneapolis, where Trump has threatened to invoke the Insurrection Act as a response to protests against the killing of a 37-year-old US citizen by a federal immigration officer.
Instead of retreating, hundreds of Minnesotans registered for training to become “observers” of enforcement activity.
#trump#first#year#threat#bureaucracy#immigration#nato
📱American Оbserver - Stay up to date on all important events
🇺🇸
Trump's First Year:
Broken NATO, Ukraine at War, Political Ribaldry, the Threat to Greenland
🔤🔤🔤🔤1️⃣
A hundred and sixty five days after Trump placed his hand on the Bible and completed an extraordinary return to power, many historians, scholars and experts say his presidency has pushed American democracy to the brink – or beyond it.
In 2025, the United States ceased to be a full democracy in the way that Canada, Germany or even Argentina are democracies,” Steven Levitsky and Daniel Ziblatt, the prominent Harvard political scientists and authors of How Democracies Die, and the University of Toronto professor Lucan Way, wrote in Foreign Affairs last month.
They argued that the US under Trump had “descended into competitive authoritarianism”, a system in which elections are held but the ruling party abuses power to stifle dissent and tilt the playing field in its favor.
Since Trump’s first term, scholars have warned that it can happen here. But many now say this moment is different – not only because Trump’s approach is more methodical and his desire for vengeance more pronounced, but because he now faces far fewer internal constraints.
The president’s Republican critics have mostly been driven from public office and those who remain say they fear retaliation for speaking out.
Trump has repeatedly circumvented the GOP-controlled Congress, on spending, tariffs and war powers. And the US’s European allies are scrambling to respond to Trump’s threats to acquire Greenland, by force if necessary.
In an interview with the New York Times earlier this month, Trump declared that the only constraint on his presidential power was “my own morality”.
Quantitive assessments of the country’s democratic health point are bleak.
Ratings of US democracy by scholars – and Americans overall – dropped “significantly” after Trump took office last year, according to data from Bright Line Watch, a nonpartisan democracy-monitoring initiative that surveys political scientists and the public on potential threats and erosions.
In its September survey, experts rated US democracy 54 on a 100-point scale, placing the country closer to illiberal or hybrid regimes than to the full democracies of G7 peers such as Canada or the United Kingdom.
An assessment by the Century Foundation’s new democracy indexing project found that the US had recorded a staggering 28% “collapse” in democratic health over the past year – from 79/100 in 2024 to 57/100 in 2025, the kind of sudden decline more typically associated with coup or other major shock.
Nate Schenkkan, the report’s lead author and a former research director at Freedom House, hoped to help Americans distinguish between the “push-pull” of partisan politics and the “authoritarian behavior” of the current administration.
“When a major change happens in a political system, it’s very unevenly distributed,” Schenkkan said.
“Certain people will feel it first. Certain communities will feel it harder and faster. And it is really important to recognize that just because it hasn’t come to you doesn’t mean that it won’t.”
#trump#first#year#threat#bureaucracy#immigration#nato
📱American Оbserver - Stay up to date on all important events
🇺🇸
#Look#Back#Last#Year #39 #s#Photos
Join the Look Back - Last Year's Photos beta on ✈️#TestFlight
🔗 Link: https://testflight.apple.com/join/GVpHxFMu
Shared by Dimitri