Роскосмос пару дней назад опубликовал отчёт о том, почему упала "Луна-25". Там конечно канцелярит, но можно примерно понять, что двигатель коррекции получил неверные данные от акселерометра:
из-за возможного попадания в один массив данных команд с различными приоритетами их исполнения прибором
Это очень похоже на программную ошибку, а это моя сфера, и я решил над ситуацией поразмыслить.
Хейтеры сразу стали строчить комментарии в стиле "Ололо, наняли каких-то идиотов, которые простейшие тесты не провели". Тут обычно справедливо вспоминают аварию с европейской ракетой Ариан-5 в 1996 году. Там буквально из-за пары строчек кода в результате неправильного приведения числовых типов ракета за 7 млрд баксов развалилась на куски в воздухе. Бывает.
Что касается Роскосмоса, при всей его сомнительной репутации, объяснение "Дураки не провели тесты" звучит лично для меня неправдоподобно. На мой личный взгляд возможны два варианта:
1. Если в описании ошибки слово "приоритет" обозначает какой-то признак внутри объекта команды, значит, на входе в приёмный модуль эти команды не были отфильтрованы. Выглядит как грубая ошибка, целый логический блок упущен. Вряд ли этот блок вообще не написан, скорее всего он не выполнился. Такое бывает, если в тестовой среде есть какое-то условие, которого нет в рабочей, и именно это условие отвечает за выполнение участка кода.
Сталкивался с таким миллион раз. Самое дикое из последнего: код парсит эксель-таблицу с числами. Разработчик написал, запустил проверил, прогнал тесты, всё ок. Отправляем в прод — все числа будто бы рандомно меняются на другие. Запускаем снова — у всех разработчиков функционирует нормально, а в проде на сервере нет. Таблица одна и та же. Можете подумать, почему так. Ответ: у разработчиков стоит русская локаль и десятичный разделитесь это запятая, а на проде в докере точка. При парсинге на проде запятая уже интерпретируется как разделитель тысячных разрядов.
2. Куда вероятнее, что слово "приоритет" в описании ошибки обозначает время, а, значит, список команд просто не был отсортирован, и в обработчик уже после актуальных значений попали какие-нибудь начальные нулевые данные, сбившие логику. По косвенному описанию проблемы очень похоже именно на это. Значит, на тестах всегда порядок возникновения команд соответствовал порядку их прихода, а в реальности перестал соответствовать. Вообще, работать с железом очень сложно. Какую-нибудь схемку заглючило от холода, она задержала ответ от датчика на миллисекунду, и всё. Никто не знал, что такая проблема возможна, пока она не возникла.
Мне рассказывали о таком случае: юзер логинится на сайт и иногда логин проходит, а иногда нет. Логин и пароль те же самые. Просто в случайные моменты времени ему возвращают токен авторизации, а в другие моменты времени ошибку 403. Никакой закономерности нет вообще. Нет зависимости от времени суток и даты. Сервер точно работает стабильно и не падает все 100% времени. Почему так может быть? Ответ: у сервиса авторизации два инстанса, перед которыми балансировщик нагрузки. В одном инстансе данные для авторизации есть, в другом нет. Балансировщик при примерно одинаковой нагрузке включает просто случайный выбор между ними.
В общем, программисты иногда допускают такие косяки, что какая-то мелочь может привести к серьёзной аварии. Это я вам говорю как программист, который пишет для атомных станций :)
#dev
🗓 On April 23-24, the 13th ASEAN Regional Forum Open Ended Study Group on Confidence Building Measures to Reduce the Risk of Confict Stemming from the Use ofICTs (13th #ARF OESG) and the 6th ASEAN Regional Forum Inter-Sessional Meeting (#ARF ISM) on ICT Security co-chaired by Russia 🇷🇺 and Indonesia 🇮🇩 was held in Moscow in a hybrid format.
🔹️Delegations of Indonesia 🇮🇩, Singapore 🇸🇬, Thailand 🇹🇭, Cambodia 🇰🇭, the Philippines 🇵🇭, India 🇮🇳 and Bangladesh 🇧🇩 took part in the meeting in person. Chair of the United Nations Open-Ended Working Group on security of and in the use of ICTs 2021-2025, Permanent Representative of the Republic of Singapore to the UN H.E. Mr. Burhanudeen Gafoor🇸🇬 addressed the gathering with his welcoming speech.
🔹️More than 80 participants discussed future plans and cooperation within the framework of the ARF ISM on ICT Security and considered new initiatives proposed by ARF members. The meeting also exchanged views on cooperation on ICT Security-related issues within the framework of the UN and other international platforms.
🤝 On the sidelines of the events a number of bilateral meetings took place.
⚡️Russia's Foreign Minister Sergey Lavrov takes part in the 32th Ministerial Session of the ASEAN Regional Forum (#ARF) on security.
📍 Kuala Lumpur, July 11
🗓 On April 23-24, the 13th ASEAN Regional Forum Open Ended Study Group on Confidence Building Measures to Reduce the Risk of Confict Stemming from the Use ofICTs (13th #ARF OESG) and the 6th ASEAN Regional Forum Inter-Sessional Meeting (#ARF ISM) on ICT Security co-chaired by Russia 🇷🇺 and Indonesia 🇮🇩 was held in Moscow in a hybrid format.
🔹️Delegations of Indonesia 🇮🇩, Singapore 🇸🇬, Thailand 🇹🇭, Cambodia 🇰🇭, the Philippines 🇵🇭, India 🇮🇳 and Bangladesh 🇧🇩 took part in the meeting in person. Chair of the United Nations Open-Ended Working Group on security of and in the use of ICTs 2021-2025, Permanent Representative of the Republic of Singapore to the UN H.E. Mr. Burhanudeen Gafoor🇸🇬 addressed the gathering with his welcoming speech.
🔹️More than 80 participants discussed future plans and cooperation within the framework of the ARF ISM on ICT Security and considered new initiatives proposed by ARF members. The meeting also exchanged views on cooperation on ICT Security-related issues within the framework of the UN and other international platforms.
🤝 On the sidelines of the events a number of bilateral meetings took place.
🗓 On 28 April 2023 the 5th ASEAN Regional Forum Inter-Sessional Meeting (#ARF ISM) on ICT Security co-chaired by Russia 🇷🇺, Indonesia 🇮🇩 and the Republic of Korea 🇰🇷 was held in Moscow in a hybrid format.
🔹️More than 60 participants discussed cooperation on ICT Security-related issues within the framework of the ARF, UN and other international platforms.
🔹️This is the first ARF ISM on ICT Security held in hybrid format since the beginning of the COVID-19 pandemic. On its sidelines a number of bilateral meetings took place.
🗓 On 27 April 2023 the 11th ASEAN Regional Forum Open Ended Study Group on Confidence Building Measures to Reduce the Risk of Confict Stemming from the Use of ICTs (11th #ARF OESG) co-chaired by Russia 🇷🇺, Indonesia 🇮🇩 and the Republic of Korea 🇰🇷 was held in Moscow in a hybrid format to prepare for tomorrow's ARF Inter-Sessional Meeting (ISM) on ICT Security.
Delegates discussed future plans and cooperation within the framework of the ARF ISM on ICT Security and considered new initiatives proposed by ARF participants.
🗓On June 14, Deputy Minister of Foreign Affairs of the Russian Federation Andrey Rudenko 🇷🇺 participated in the ASEAN Regional Forum Senior Officials' Meeting (#ARF SOM) held online under Indonesian Chairmanship 🇮🇩.
🔹Senior officials discussed the progress achieved so far and issues related to preparation for the upcoming ARF Foreign Ministers' Meeting in July in Jakarta, Indonesia 🇮🇩.
🇷🇺 As part of the exchange of views on topical issues in the Asia-Pacific, Russian delegation voiced its approach towards the military-political risks associated with building up a network of minilateral blocs in the region and bringing NATO potential to the East Asia.
☝️ Russia reiterated its position on the maintaining and strengthening the central role of #ASEAN in regional affairs based on ASEAN-led platforms of multilateral cooperation.
🤝 Russia’s Foreign Minister Sergey Lavrov takes part in the 31th session of the ASEAN Regional Forum (#ARF) on security.
📍Vientiane, July 27, 2024
#RussiaASEAN
🗓 On June 10-11, Deputy Minister of Foreign Affairs of the Russian Federation Andrey Rudenko🇷🇺 participated in the East Asia Summit Senior Officials' Meeting (#EAS SOM) and ASEAN Regional Forum Senior Officials' Meeting (#ARF SOM) in Penang, Malaysia 🇲🇾.
🔹️Senior officials discussed issues related to preparation for the EAS Summit and EAS and ARF Foreign Ministers' Meetings later this year.
🇷🇺 The Russian Side emphasized the importance of continuing joint efforts in key areas of cooperation within the ARF and the EAS, including implementation of the leaders' decisions on launching Regional Mechanism of Emerging Infectious Diseases Prevention and Control and establishing interaction among the EAS Participating States on tourism. Russia introduced new initiatives as well – proposal to add issues of socio-cultural connectivity to the EAS agenda and increase of capacity building in the field of countering the use of ICT for criminal purposes within the framework of ARF.
🔹️ As part of the exchange of views on topical issues in the Asia-Pacific, Russian delegation voiced its approach towards the military-political risks associated with building up a network of minilateral blocs of high conflict potential in the region and bringing NATO potential to the East Asia.
☝️ Russia reiterated its position on the maintaining and strengthening the central role of ASEAN in regional affairs based on ASEAN-led platforms of multilateral cooperation such as EAS, ARF and ADMM-Plus as well as developing the platforms towards building an architecture of equal and indivisible security in the Asia-Pacific region.
#EAS#ARF
🗓 On June 7-8, Russia's Alternate SOM Leader, Director-General of the Department of Asian and Pacific Cooperation of the Russian MFA Mr. Alexey Ovchinnikov🇷🇺 participated in the East Asia Summit Senior Officials' Meeting (#EAS SOM) and ASEAN Regional Forum Senior Officials' Meeting (#ARF SOM) in Vientiane, Lao PDR 🇱🇦.
🔹️Senior officials discussed issues related to preparation for the EAS Summit and EAS and ARF Foreign Ministers' Meetings later this year.
🇷🇺 The Russian Side emphasized the importance of continuing joint efforts in key areas of cooperation within the ARF and the EAS including implementation of the leaders' decisions on launching Regional Mechanism of Emerging Infectious Diseases Prevention and Control as well as establishing interaction among the EAS Participating States on tourism.
🔹️As part of the exchange of views on topical issues in the Asia-Pacific, Russian delegation voiced its approach towards the military-political risks associated with building up a network of minilateral blocs of high conflict potential in the region and bringing NATO potential to the East Asia.
☝️ Russia reiterated its position on the maintaining and strengthening the central role of ASEAN in regional affairs based on ASEAN-led platforms of multilateral cooperation such as EAS, ARF and ADMM-Plus.
#EAS#ARF
🗓 On June 7-8, Russia's Alternate SOM Leader, Director-General of the Department of Asian and Pacific Cooperation of the Russian MFA Mr. Alexey Ovchinnikov🇷🇺 participated in the East Asia Summit Senior Officials' Meeting (#EAS SOM) and ASEAN Regional Forum Senior Officials' Meeting (#ARF SOM) in Vientiane, Lao PDR 🇱🇦.
🔹️Senior officials discussed issues related to preparation for the EAS Summit and EAS and ARF Foreign Ministers' Meetings later this year.
🇷🇺 The Russian Side emphasized the importance of continuing joint efforts in key areas of cooperation within the ARF and the EAS including implementation of the leaders' decisions on launching Regional Mechanism of Emerging Infectious Diseases Prevention and Control as well as establishing interaction among the EAS Participating States on tourism.
🔹️As part of the exchange of views on topical issues in the Asia-Pacific, Russian delegation voiced its approach towards the military-political risks associated with building up a network of minilateral blocs of high conflict potential in the region and bringing NATO potential to the East Asia.
☝️ Russia reiterated its position on the maintaining and strengthening the central role of ASEAN in regional affairs based on ASEAN-led platforms of multilateral cooperation such as EAS, ARF and ADMM-Plus.
#EAS#ARF
🎙 Russia's Foreign Minister Sergey Lavrov’s answers to media questions following his visit to Malaysia
📍Kuala Lumpur, July 28, 2024
❓Question: The US has been obsessively trying to create another training ground out of countries in the southeast. Is it relevant to say that cooperation between Russia and Asia can help the region maintain its sovereignty?
💬Sergey Lavrov: Of course. I think we had a chance to see it for ourselves yesterday and the day before in Laos during the East Asia Summit (#EAS) and the ASEAN Regional Forum (#ARF).
Russia is seen as a balancing and stabilising factor in the context of countering the extremely sharp-elbowed actions by the countries outside the region, led by the US, who push their military infrastructure, including strategic arms. <...>
Our balanced and clear stance always comes from the need to create platforms for negotiations and to agree on the basis of a balance of interests. This stance receives respect. Certainly, in contrast to the invasive and aggressive course of the US and NATO for military development of the region, our stance is closer to our #ASEAN friends.
❓Question: Last night saw another escalation in the Middle East, namely a missile attack on a football ground in the Israeli-occupied Golan Heights in which mostly children and teenagers were killed and injured. Israel has accused Lebanon, while Lebanon has put the blame on Israel. What is the likelihood of an all-out war between Israel and Lebanon? What could be done to prevent further bloodshed?
💬Sergey Lavrov: So far, we do not see any possibility of stopping the bloodshed. In response to numerous calls for a ceasefire, Israeli Prime Minister Benjamin Netanyahu has stated that Israel will not stop until it destroys Hamas completely. I believe, and many of my colleagues share this view, that the destruction of that organisation, which has significant capabilities and enjoys broad support, including in the Muslim world, is an unrealistic task.
Russia condemns all terrorist attacks committed by any group. We condemned Hamas’s terrorist attack on Israeli civilians on October 7, 2023. But Israel’s retaliatory actions have been unacceptable. They are a flagrant violation of international humanitarian law and amount to collective punishment of people, which international conventions prohibit. <...>
I am sure that the main condition for a lasting solution to the Middle East crisis is the fulfilment of the UN Security Council resolution on the establishment of a Palestinian state as soon as possible. This cannot be achieved without restoring Palestinian unity so that the Palestinians themselves can determine the format of negotiations regarding their life in a sovereign state. This goal has not yet been achieved. Efforts must continue towards this end.
Read in full
🎙 Russia's Foreign Minister Sergey Lavrov’s answers to media questions following his visit to Malaysia
📍Kuala Lumpur, July 28, 2024
❓Question: The US has been obsessively trying to create another training ground out of countries in the southeast. Is it relevant to say that cooperation between Russia and Asia can help the region maintain its sovereignty?
💬Sergey Lavrov: Of course. I think we had a chance to see it for ourselves yesterday and the day before in Laos during the East Asia Summit (#EAS) and the ASEAN Regional Forum (#ARF).
Russia is seen as a balancing and stabilising factor in the context of countering the extremely sharp-elbowed actions by the countries outside the region, led by the US, who push their military infrastructure, including strategic arms. <...>
Our balanced and clear stance always comes from the need to create platforms for negotiations and to agree on the basis of a balance of interests. This stance receives respect. Certainly, in contrast to the invasive and aggressive course of the US and NATO for military development of the region, our stance is closer to our #ASEAN friends.
❓Question: Last night saw another escalation in the Middle East, namely a missile attack on a football ground in the Israeli-occupied Golan Heights in which mostly children and teenagers were killed and injured. Israel has accused Lebanon, while Lebanon has put the blame on Israel. What is the likelihood of an all-out war between Israel and Lebanon? What could be done to prevent further bloodshed?
💬Sergey Lavrov: So far, we do not see any possibility of stopping the bloodshed. In response to numerous calls for a ceasefire, Israeli Prime Minister Benjamin Netanyahu has stated that Israel will not stop until it destroys Hamas completely. I believe, and many of my colleagues share this view, that the destruction of that organisation, which has significant capabilities and enjoys broad support, including in the Muslim world, is an unrealistic task.
Russia condemns all terrorist attacks committed by any group. We condemned Hamas’s terrorist attack on Israeli civilians on October 7, 2023. But Israel’s retaliatory actions have been unacceptable. They are a flagrant violation of international humanitarian law and amount to collective punishment of people, which international conventions prohibit. <...>
I am sure that the main condition for a lasting solution to the Middle East crisis is the fulfilment of the UN Security Council resolution on the establishment of a Palestinian state as soon as possible. This cannot be achieved without restoring Palestinian unity so that the Palestinians themselves can determine the format of negotiations regarding their life in a sovereign state. This goal has not yet been achieved. Efforts must continue towards this end.
Read in full