Роскосмос пару дней назад опубликовал отчёт о том, почему упала "Луна-25". Там конечно канцелярит, но можно примерно понять, что двигатель коррекции получил неверные данные от акселерометра:
из-за возможного попадания в один массив данных команд с различными приоритетами их исполнения прибором
Это очень похоже на программную ошибку, а это моя сфера, и я решил над ситуацией поразмыслить.
Хейтеры сразу стали строчить комментарии в стиле "Ололо, наняли каких-то идиотов, которые простейшие тесты не провели". Тут обычно справедливо вспоминают аварию с европейской ракетой Ариан-5 в 1996 году. Там буквально из-за пары строчек кода в результате неправильного приведения числовых типов ракета за 7 млрд баксов развалилась на куски в воздухе. Бывает.
Что касается Роскосмоса, при всей его сомнительной репутации, объяснение "Дураки не провели тесты" звучит лично для меня неправдоподобно. На мой личный взгляд возможны два варианта:
1. Если в описании ошибки слово "приоритет" обозначает какой-то признак внутри объекта команды, значит, на входе в приёмный модуль эти команды не были отфильтрованы. Выглядит как грубая ошибка, целый логический блок упущен. Вряд ли этот блок вообще не написан, скорее всего он не выполнился. Такое бывает, если в тестовой среде есть какое-то условие, которого нет в рабочей, и именно это условие отвечает за выполнение участка кода.
Сталкивался с таким миллион раз. Самое дикое из последнего: код парсит эксель-таблицу с числами. Разработчик написал, запустил проверил, прогнал тесты, всё ок. Отправляем в прод — все числа будто бы рандомно меняются на другие. Запускаем снова — у всех разработчиков функционирует нормально, а в проде на сервере нет. Таблица одна и та же. Можете подумать, почему так. Ответ: у разработчиков стоит русская локаль и десятичный разделитесь это запятая, а на проде в докере точка. При парсинге на проде запятая уже интерпретируется как разделитель тысячных разрядов.
2. Куда вероятнее, что слово "приоритет" в описании ошибки обозначает время, а, значит, список команд просто не был отсортирован, и в обработчик уже после актуальных значений попали какие-нибудь начальные нулевые данные, сбившие логику. По косвенному описанию проблемы очень похоже именно на это. Значит, на тестах всегда порядок возникновения команд соответствовал порядку их прихода, а в реальности перестал соответствовать. Вообще, работать с железом очень сложно. Какую-нибудь схемку заглючило от холода, она задержала ответ от датчика на миллисекунду, и всё. Никто не знал, что такая проблема возможна, пока она не возникла.
Мне рассказывали о таком случае: юзер логинится на сайт и иногда логин проходит, а иногда нет. Логин и пароль те же самые. Просто в случайные моменты времени ему возвращают токен авторизации, а в другие моменты времени ошибку 403. Никакой закономерности нет вообще. Нет зависимости от времени суток и даты. Сервер точно работает стабильно и не падает все 100% времени. Почему так может быть? Ответ: у сервиса авторизации два инстанса, перед которыми балансировщик нагрузки. В одном инстансе данные для авторизации есть, в другом нет. Балансировщик при примерно одинаковой нагрузке включает просто случайный выбор между ними.
В общем, программисты иногда допускают такие косяки, что какая-то мелочь может привести к серьёзной аварии. Это я вам говорю как программист, который пишет для атомных станций :)
#dev
swap.coffee — #Decentralized OTC Platform
swap.coffee is the ultimate #DeFi hub in the #TON ecosystem 🏅
👨💻 Now you can compare top TON yield protocols, choose the best fit, track APR, deposit and withdraw assets and manage your positions — all in one seamless interface.
😳 they already support 15 protocols, and the list keeps growing: STON.fi, TONCO, EVAA, Storm Trade, Tonstakers, Hipo, Bemo, Torch Finance, Moon.cx, Stakee, KTON, DeDust, KirkaFi, Colossus, Coffin.
🐸Try it now: swap.coffee/earn
We love, the swap.coffee team 😀
swap.coffee — #Decentralized OTC Platform
swap.coffee is the ultimate #DeFi hub in the #TON ecosystem 🏅
👨💻 Now you can compare top TON yield protocols, choose the best fit, track APR, deposit and withdraw assets and manage your positions — all in one seamless interface.
😳 they already support 15 protocols, and the list keeps growing: STON.fi, TONCO, EVAA, Storm Trade, Tonstakers, Hipo, Bemo, Torch Finance, Moon.cx, Stakee, KTON, DeDust, KirkaFi, Colossus, Coffin.
🐸Try it now: swap.coffee/earn
We love, the swap.coffee team 😀
🎉 GPT360 acquires ownership of gpt360.bit
We now have a unified #decentralizedidentity in #Web3to protect our brand now and into the future. Check 🔗d.id/gpt360.bit
Huge shout out to https://twitter.com/DIDbasedfor gifting us the #DIDfor our brand! 💚
We are absolutely thrilled to announce our support for Yield Guild Games to further develop its soulbound reputation token.
We believe that #blockchain has the potential to transform the #gaming industry by enabling players to own their own assets and earn #rewards.
Through YGG’s partnerships with #NFT games and ecosystems like Axie Infinity, The Sandbox and League of Kingdoms, the guild is at the forefront of blockchain-based game economies.
Our goal is to support YGG and help the guild expand its offerings such as the Guild Advancement Program to connect even more players and provide them with an opportunity to participate in a #decentralized gaming ecosystem and get rewarded from their gaming activities.
Play-to-earn is the #future of gaming 🏆
Full read here.
🚀 Welcome to the Future of Communication & Payments with Liberdus
🔐 A decentralized messaging + payment platform built for privacy, speed, and freedom.
✨ Features: • End-to-end encrypted messaging
• Instant crypto payments
• Decentralized network
• Ultra low transaction fees
• Built on powerful Shardus technology
• Community-driven ecosystem
➡️ No central control. No censorship. Just secure communication and financial freedom.
⚡️ Liberdus is combining blockchain technology with real-world messaging utility to create the next generation of Web3 communication.
🔵Telegram: https://t.me/liberdusofficial
🔴 Website: http://liberdus.com
🐦 X: https://x.com/liberdus
#Liberdus#Web3#Crypto#Blockchain#DeFi#Messaging#Decentralized#Shardus#Privacy#CryptoPayments
🔐 Is Your Data Secure? 🔐
🫰 Discover peace of mind with #Cloudatabox – the #future of #secure, #decentralized storage powered by innovative #Web3 solutions! 🌐✨
🚀Register Now to explore how Cloudatabox keeps your data protected and accessible like never before. 📂🔒
Secure your future, secure your data!
#Cloudatabox#DataSecurity#Web3Solutions#DecentralizedStorage#RegisterToday#FutureOfStorage
🔥TOP 10 Trending RUNES ON #Bitcoin!
1️⃣#DOGGOTOTHEMOON
2️⃣#PUPSWORLDPEACE
3️⃣#RSICGENESISRUNE
4️⃣#THEDONALDTRUMP
5️⃣#CATSINTHESATS
6️⃣#ZZZZZFEHUZZZZZ
7️⃣#RUNESXBITCOIN
8️⃣#DECENTRALIZED
9️⃣#LOBOTHEWOLFPUP
🔟#WADDLEWADDLEPENGU
💥DATA SOURCE: MagicEden
Easily add your #RUNES to your TokenPocket #Bitcoin wallet and enjoy the trading services provided by MagicEden all in one place!
Guide👉https://help.tokenpocket.pro/en/wallet-faq-en/btc-wallet/runes-use-guide
Trump Calls for Ross Ulbricht's Release
Senator Rand Paul urges President Trump to free Ross Ulbricht, the founder of Silk Road. Meanwhile, Coinbase CEO Brian Armstrong states Trump is excited about a Strategic Bitcoin Reserve, aiming to be the first Bitcoin President. Additionally, Binance's CEO predicts a crypto all-time high in 2025 amid clearer U.S. regulation under Trump. Critical Metals Corp raises $500M for Bitcoin reserve strategy as they accept BTC as treasury asset—first Nasdaq company in critical minerals sector to do so.
🔗 Related articles from Watcher Guru and CoinDesk.
#Bitcoin#USDC#Crypto#Trump#Coinbase#Binance#HesterPeirce#SEC#Decentralization#Finance#Investment#CriticalMetals#Aviation#Regulation#Liberty#Decentralized#Blockchain#CryptoNews#VC
#Bitcoin#USDC#Crypto#Trump#Coinbase#Binance#HesterPeirce#SEC#Decentralization#Finance#Investment#CriticalMetals#Aviation#Regulation#Liberty#Decentralized#Blockchain#CryptoNews#VC
Funding Rounds Announced for Multiple Startups
Andesite AI raises $23M for cybersecurity enhancements. Comulate secures $20M for revenue automation in large broker teams. Jolly garners $16.50M, leveraging AI to boost employee performance. ConverzAI obtains $16M to automate staffing with AI agents. ACCURE gathers $16M, transforming battery data into business insights. Legend Labs closes $15M for decentralized finance solutions. ScorePlay raises $13M for AI-powered sports asset management. Swanston Labs and Levee Medical each acquire $10M, focusing on investment ventures and recovery technologies, respectively.
Read more about Andesite AI here, Comulate here, Jolly here, ConverzAI here, ACCURE here, Legend Labs here, ScorePlay here, Swanston Labs here, and Levee Medical here.
#AI#Cybersecurity#Finance#Automation#DataScience#Sports#Tech#Investments#Sustainability#Recruitment#Decentralized#Media#Production#Innovation#Recovery#VC
Thai SEC Considers Bitcoin ETF Approval
The Thai Securities and Exchange Commission is evaluating a proposal to approve a Bitcoin ETF for listing on its local exchange. Currently, Thai investors can only access overseas Bitcoin ETFs through a fund of funds product launched in mid-2024. Read more
#Thailand#Bitcoin#ETF#Crypto#Investing#Finance#USDC#fxUSD#XRP#WhaleAlert#Assets#Trading#Decentralized#Yield#Securities#Exchange#LocalMarket#DigitalAssets#BlueChip#Stablecoin#VC