TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #884 · 5.10

Роскосмос пару дней назад опубликовал отчёт о том, почему упала "Луна-25". Там конечно канцелярит, но можно примерно понять, что двигатель коррекции получил неверные данные от акселерометра: из-за возможного попадания в один массив данных команд с различными приоритетами их исполнения прибором Это очень похоже на программную ошибку, а это моя сфера, и я решил над ситуацией поразмыслить. Хейтеры сразу стали строчить комментарии в стиле "Ололо, наняли каких-то идиотов, которые простейшие тесты не провели". Тут обычно справедливо вспоминают аварию с европейской ракетой Ариан-5 в 1996 году. Там буквально из-за пары строчек кода в результате неправильного приведения числовых типов ракета за 7 млрд баксов развалилась на куски в воздухе. Бывает. Что касается Роскосмоса, при всей его сомнительной репутации, объяснение "Дураки не провели тесты" звучит лично для меня неправдоподобно. На мой личный взгляд возможны два варианта: 1. Если в описании ошибки слово "приоритет" обозначает какой-то признак внутри объекта команды, значит, на входе в приёмный модуль эти команды не были отфильтрованы. Выглядит как грубая ошибка, целый логический блок упущен. Вряд ли этот блок вообще не написан, скорее всего он не выполнился. Такое бывает, если в тестовой среде есть какое-то условие, которого нет в рабочей, и именно это условие отвечает за выполнение участка кода. Сталкивался с таким миллион раз. Самое дикое из последнего: код парсит эксель-таблицу с числами. Разработчик написал, запустил проверил, прогнал тесты, всё ок. Отправляем в прод — все числа будто бы рандомно меняются на другие. Запускаем снова — у всех разработчиков функционирует нормально, а в проде на сервере нет. Таблица одна и та же. Можете подумать, почему так. Ответ: у разработчиков стоит русская локаль и десятичный разделитесь это запятая, а на проде в докере точка. При парсинге на проде запятая уже интерпретируется как разделитель тысячных разрядов. 2. Куда вероятнее, что слово "приоритет" в описании ошибки обозначает время, а, значит, список команд просто не был отсортирован, и в обработчик уже после актуальных значений попали какие-нибудь начальные нулевые данные, сбившие логику. По косвенному описанию проблемы очень похоже именно на это. Значит, на тестах всегда порядок возникновения команд соответствовал порядку их прихода, а в реальности перестал соответствовать. Вообще, работать с железом очень сложно. Какую-нибудь схемку заглючило от холода, она задержала ответ от датчика на миллисекунду, и всё. Никто не знал, что такая проблема возможна, пока она не возникла. Мне рассказывали о таком случае: юзер логинится на сайт и иногда логин проходит, а иногда нет. Логин и пароль те же самые. Просто в случайные моменты времени ему возвращают токен авторизации, а в другие моменты времени ошибку 403. Никакой закономерности нет вообще. Нет зависимости от времени суток и даты. Сервер точно работает стабильно и не падает все 100% времени. Почему так может быть? Ответ: у сервиса авторизации два инстанса, перед которыми балансировщик нагрузки. В одном инстансе данные для авторизации есть, в другом нет. Балансировщик при примерно одинаковой нагрузке включает просто случайный выбор между ними. В общем, программисты иногда допускают такие косяки, что какая-то мелочь может привести к серьёзной аварии. Это я вам говорю как программист, который пишет для атомных станций :) #dev

Hashtags

Резултати

Намерени 6 подобни публикации

Търсене: #rule

当前筛选 #rule清除筛选
Ali Ahmad

@AlisherAhmatovich · Post #803 · 22.06.2023 г., 19:04

#rule Juniorlar - Sizni, yangi ishga kirgan kompaniyangizga, foydangizdan ko'ra zararingiz ko'p bo'lishi mumkin, shuning uchun, "meni eshshakdek ishlatib arzimagan summa beryapti", "ketaman bu ishxonadan" deb siqilavermang. Sizni yozgan kodlaringizni baribir kimdir, soatini narxi qimmat bo'lgan tajribali birortasi vaqtini ketqazib, tekshirib chiqadi. Mobodo tekshirmasdan nimadir xato narsa loyihaga o'tib ketsa, zararingiz 10x, 100x, 1000x bo'lishi mumkin. 1-2 ta tanish, o'rtoq juniorlar salgina yaxshiroq oylikli ishga kirdi degani, sizam shunaqasiga kirishingiz kerak, boshqasiga dam degani emas. Yana o'ziz bilasiz, Hojiboy aytadiyu: "Qorbobo" deb Ha aytgancha, hoy middle, seniorlar, siz junior paytingiz, ishxonangizni qanchaga "kirgizib" yuborgansiz? ))

Hashtags

Recursion Automata® 通知频道

@RecMataChannel · Post #248 · 31.01.2025 г., 07:02

#info#aff#rule 简单规范下外部讨论组推广规则,该规则对发出时之后、颁布新规定之前的群消息生效: 1. 群组每 24h 清除一遍消息,且限制每 1h 发言一次,在群消息保留期间每个用户只能发送一遍推荐文案,超出该限制的管理员一经发现应立刻删除,多次违规应移出群组; 2. 群成员不允许使用频道身份发言,管理员一经发现应立刻停用该身份发言权限; 3. 原则上不鼓励在外部群组讨论各类事项,和服务相关的问题应当尽量引导到客户群内处理。 感谢大家的配合。

American Оbserver

@american_observer · Post #5330 · 09.03.2026 г., 15:29

⌨️⌨️⌨️⌨️⌨️ The appointment of Mojtaba Khamenei was welcomed by Yemen’s Houthi rebels, who are backed by the Iranian regime. “We congratulate the Islamic Republic of Iran, its leadership and people, on the selection of Sayyid Mojtaba Khamenei as Supreme Leader of the Islamic Revolution at this important and pivotal juncture,” the group said in a statement on Telegram. Mojtaba Khamenei’s elevation marks the first time since the 1979 Islamic revolution that Iran’s supreme leadership has passed from father to son. It is a development likely to ignite debate inside Iran about the emergence of a dynastic system in a state founded explicitly to overthrow hereditary rule after the shah. Ayatollah Ali Khamenei, who ruled for 37 years, was killed in a US-Israeli strike on Tehran on 28 February, on the first day of the war with Iran. Across Iran’s political and security establishment, officials moved swiftly to welcome the appointment of Mojtaba Khamenei as the country’s new supreme leader. The Revolutionary Guards declared they stood ready to follow him, signalling broad backing from the country’s core institutions. Earlier in the day, in a post on X in Farsi, the Israeli military said it would continue pursuing every successor of Ali Khamenei and would pursue every person who sought to appoint a successor for him. For many analysts, Khamenei’s appointment is a symbolic move designed to make the regime still appear strong and determined not to bow to western pressure. The 56-year-old cleric has never held elected office nor formally occupied a senior position within Iran’s government. He has spent much of his life at the centre of power in Iran while remaining largely out of public view. To his supporters, Khamenei represents continuity with the ideological line established by Ayatollah Ruhollah Khomeini and maintained by his father. To critics, his rise raises uncomfortable questions about the concentration of power – and the possibility of hereditary leadership in a state founded in revolt against monarchy. Oil prices surged more than 25% on Monday to their highest levels since mid-2022, as major Middle Eastern oil producers cut supply because they cannot safely send shipments through the strait of Hormuz to refiners worldwide. Traffic through the strait was largely closed after Iran attacked at least five ships, with a limited number of tankers transiting, choking off a key artery accounting for about 20% of global oil and LNG supply. #khamenei#mojtaba#son#iran#leader#rule 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #5329 · 09.03.2026 г., 14:59

Ali Khamenei’s Second Son Took His Place Who is He? ⌨️⌨️⌨️⌨️⌨️ Mojtaba Khamenei, the second son of the late Iranian supreme leader Ayatollah Ali Khamenei, has been chosen as his successor, as the war enters its 10th day and fresh missile and drone strikes reverberate across the Middle East. After members of the clerical body responsible for selecting Iran’s highest authority announced the decision on Sunday, Iranian institutions and politicians, from the foreign ministry to lawmakers, issued statements expressing their allegiance. “We will obey the commander-in-chief until the last drop of our blood,” a statement from the defence council said. The move could lead to a further escalation of the war, given Donald Trump had already acknowledged that Mojtaba Khamenei was the most likely successor and made clear he considered him an “unacceptable” choice. The US president said earlier on Sunday that Iran’s next supreme leader was “not going to last long” if Tehran did not get his approval first. When asked about the appointment during an interview with the Times of Israel published late on Sunday, Trump was reported as saying: “We’ll see what happens.” In the same interview, Trump said a decision on when to end the war would be a “mutual” one, together with Netanyahu. Trump also asserted that Iran would have destroyed Israel if he and Netanyahu had not been around. “Iran was going to destroy Israel and everything else around it (…) We’ve worked together. We’ve destroyed a country that wanted to destroy Israel,” he was quoted as saying. The Israeli military said it had launched a wave of strikes on Monday targeting “regime infrastructure” in central Iran, the first such announcement since the appointment of the new supreme leader. The military also announced strikes on the Iran-backed militant group Hezbollah in Lebanon. Iran and its proxies appeared to have launched attacks, too, with rocket and drone strikes targeting a US diplomatic facility near Baghdad’s international airport that were intercepted by the C-RAM defence system, said police sources. A drone strike targeted a US military base near Erbil airport in Iraqi Kurdistan, security sources said, while Saudi authorities reported intercepting a drone east of its northern al-Jawf region. In Bahrain, the health ministry reported 32 people were wounded overnight by an Iranian drone attack on the island of Sitra. They include a 17-year-old girl who suffered severe head and eye injuries, and a two-month-old baby, according to the ministry. Iranian state media also showed a projectile said to have been launched at Israel bearing the slogan: “At your command, Sayyid Mojtaba,” using an Islamic honorific. #khamenei#mojtaba#son#iran#leader#rule 📱American Оbserver - Stay up to date on all important events 🇺🇸