Роскосмос пару дней назад опубликовал отчёт о том, почему упала "Луна-25". Там конечно канцелярит, но можно примерно понять, что двигатель коррекции получил неверные данные от акселерометра:
из-за возможного попадания в один массив данных команд с различными приоритетами их исполнения прибором
Это очень похоже на программную ошибку, а это моя сфера, и я решил над ситуацией поразмыслить.
Хейтеры сразу стали строчить комментарии в стиле "Ололо, наняли каких-то идиотов, которые простейшие тесты не провели". Тут обычно справедливо вспоминают аварию с европейской ракетой Ариан-5 в 1996 году. Там буквально из-за пары строчек кода в результате неправильного приведения числовых типов ракета за 7 млрд баксов развалилась на куски в воздухе. Бывает.
Что касается Роскосмоса, при всей его сомнительной репутации, объяснение "Дураки не провели тесты" звучит лично для меня неправдоподобно. На мой личный взгляд возможны два варианта:
1. Если в описании ошибки слово "приоритет" обозначает какой-то признак внутри объекта команды, значит, на входе в приёмный модуль эти команды не были отфильтрованы. Выглядит как грубая ошибка, целый логический блок упущен. Вряд ли этот блок вообще не написан, скорее всего он не выполнился. Такое бывает, если в тестовой среде есть какое-то условие, которого нет в рабочей, и именно это условие отвечает за выполнение участка кода.
Сталкивался с таким миллион раз. Самое дикое из последнего: код парсит эксель-таблицу с числами. Разработчик написал, запустил проверил, прогнал тесты, всё ок. Отправляем в прод — все числа будто бы рандомно меняются на другие. Запускаем снова — у всех разработчиков функционирует нормально, а в проде на сервере нет. Таблица одна и та же. Можете подумать, почему так. Ответ: у разработчиков стоит русская локаль и десятичный разделитесь это запятая, а на проде в докере точка. При парсинге на проде запятая уже интерпретируется как разделитель тысячных разрядов.
2. Куда вероятнее, что слово "приоритет" в описании ошибки обозначает время, а, значит, список команд просто не был отсортирован, и в обработчик уже после актуальных значений попали какие-нибудь начальные нулевые данные, сбившие логику. По косвенному описанию проблемы очень похоже именно на это. Значит, на тестах всегда порядок возникновения команд соответствовал порядку их прихода, а в реальности перестал соответствовать. Вообще, работать с железом очень сложно. Какую-нибудь схемку заглючило от холода, она задержала ответ от датчика на миллисекунду, и всё. Никто не знал, что такая проблема возможна, пока она не возникла.
Мне рассказывали о таком случае: юзер логинится на сайт и иногда логин проходит, а иногда нет. Логин и пароль те же самые. Просто в случайные моменты времени ему возвращают токен авторизации, а в другие моменты времени ошибку 403. Никакой закономерности нет вообще. Нет зависимости от времени суток и даты. Сервер точно работает стабильно и не падает все 100% времени. Почему так может быть? Ответ: у сервиса авторизации два инстанса, перед которыми балансировщик нагрузки. В одном инстансе данные для авторизации есть, в другом нет. Балансировщик при примерно одинаковой нагрузке включает просто случайный выбор между ними.
В общем, программисты иногда допускают такие косяки, что какая-то мелочь может привести к серьёзной аварии. Это я вам говорю как программист, который пишет для атомных станций :)
#dev
⚡️The Daily TON: DeDust Introduces CPMM v2 Pools
#DeDust#TON
The Daily TON reports on DeDust.io's launch of CPMM v2 liquidity pools, making it easier for liquidity providers to separate profits and initial liquidity. The update benefits token creators on the Uranus memepad by simplifying fee structures and offering new opportunities for meme token projects.
Source: link
@tonlines
⚡️DeDust.io: Launch of New CPMM v2 Pools
#TON#DeDust
DeDust.io introduces new CPMM v2 liquidity pools, improving reward systems for token creators and traders on the TON platform. The update addresses tracking of earnings and allows trading fees to be claimed separately from the core LP position. A new Creator Fee feature is also introduced, streamlining fee collection for token creators.
Source: link
@tonlines
EVAA: DeDust Rewards Now Available
#EVAA#DeDust
The EVAA channel has announced that rewards for users who supplied LP tokens and used them in liquidity loops via EVAA lending are now available. A total of 369 users who deposited DeDust LPs during the reward window can claim their TON rewards in the EVAA Rewards section.
Source: link
@tonlines
TON — LIVE: DeDust Announces Staking Update
#DeDust#staking
The channel TON — LIVE shares that DeDust has announced a staking update, distributing 200,000 DUST to stakers as an incentive until the launch of version 2.0, expected in the third quarter of 2025.
Source: link
@tonlines
⚡️TON — LIVE: Launch Meme-Tokens Easily with Uranus
#DeDust#finance
TON — LIVE introduces Uranus, a new tool by the DeDust team on x1000.finance, facilitating one-click launches of meme-tokens. Token creators can now earn up to 70% of trading fees.
Source: link
@tonlines
☕️ The upcoming XP halving for swaps and a mini-review of the situation as EVAA itself overcame the overload of the blockchain
↗️ The recently added token exchange mechanism in the EVAA bot showed good results – the volume of swaps exceeded $6,5 million, we described it in detail in our last post.
Important update: The reward for exchanges has been halved and is now 5 #EVAA XP for each exchanged US dollar.
📉 We all remember how recently our blockchain was under heavy load, most swaps through the most popular DEX #StonFi were stuck in a queue for hours, but since EVAA implemented the dex aggregator 💱Swap Coffee, these problems were avoided - all transactions through EVAA were automatically redirected to #DeDust, allowing more flexible in current volatile situations. Recall the advantages of swaps inside EVAA:
🟡Advanced routing.
🟡Standard commissions, like on DeDust or StonFi.
🟡Rewards in the form of a $CES token and EVAA XP.
🛡 Also, due to the tension and concern about the safety of funds in DeFi projects, EVAA decided to remind everyone that all funds are safe:
➖We can safely withdraw our tokens using "Repay All & Withdraw All", even if price flow oracles or other systems do not work. Although transactions may take a little longer under these conditions, they will be completed, ensuring that we can always access our funds after paying off any borrowed tokens.
➖EVAA has a $350,000 reserve fund to cover losses resulting from issues such as delayed liquidation, which keeps your funds safe.
🎉 Congratulations to our EVAA on breaking surpassing the 12,000 on-chain users mark. We remind you that the coin listing is coming soon, 3 halvings are already over, 😇 so we continue to farm XP points and actively swap through EVAA!
EVAA app | News | Chat | Video-guide
⚡️The Daily TON: Updates on $DUST Staking and Future Developments
#DUST#DeDust
The Daily TON reports significant updates to the $DUST staking program on DeDust.io. The team distributed $320,000 in USDt as rewards, calculated based on staking duration, and outlined plans for Staking 2.0. However, further rewards are paused until the new system launches in Q3 2025.
Source: link
@tonlines
⚡️TON Community: Results of TON x Jupiter Exchange Competition
#TON#JupNet#DeDust
The TON Community announces the winners of the TON x Jupiter Exchange competition. DeDust and swap.coffee have emerged as leaders, securing opportunities for potential integration into JupNet, as well as receiving audits and investor introductions.
Source: link
@tonlines
TONCO: 3 months of growth, Liquidity Migration 3.0 and a new notification bot
↗️ The team shared their achievements over the 3 months since the launch on mainnet:
🟡#TONCO took 4th place in The Open League and received the "Best DeFi Project" award on TONX.
🟡 $2.5M TVL ATH and $1.2M daily trading volume ATH.
🟡 Advanced LP presets (strategies), Telegram Mini App and other features have appeared.
🟡 DEX Aggregator Integration☕️ SwapCoffee.
🟡 Average APR was ~185%, 3k+ unique LPs and 40k transactions.
🔄 New campaign Liquidity Migration 3.0 together with Tonstakers. The condition is as usual simple — transfer your liquidity from DeDust or StonFi in the pair $tsTON/$USDT and wait for the results. Migration guide. In the previous two similar campaigns, the chance of winning was decent, while there is an opportunity to farm APR in the same pair at ~180%, 😮 This is +/- 60 times more than v2 #DeDust and #StonFi.
The promotion will last until March 5 , and the total prize is💵 1000, which will be divided among 30 winners ($33 each).
🔔New feature for working with CLAMM V3 TONCO – bot for receiving notifications. Now you will start receiving notifications if your position goes beyond the allowed interval. The bot is intuitive, you need to connect the wallet and select the desired positions for tracking.
❓TONCO regularlyholds giveawayswith riddles in theirchat. For those whose total balance is zero, this is a fairly easy way to collect a small starting capital using your knowledge of DEX.
TONCO | Channel | Chat
⚡️DeDust.io Launches Staking 2.0 with Bonus Incentives
#DeDust#staking#liquidity
DeDust.io is enhancing its staking program with the introduction of Staking 2.0 and announcing a promotional budget of 200,000 $DUST for stakers during the transition. This update precedes the launch of DeDust X featuring liquidity pools with customizable logic and aims to provide more fair and robust incentives for long-term stakeholders.
Source: link
@tonlines
DeDust.io x OKX Wallet joint campaign
Recently, OKX Wallet, a Web3 wallet by the popular crypto exchange, added support for TON and featured DeDust.io as one of the most popular TON dApps.
🎁A huge promotional campaign has been launched to increase exposure for TON. Among other prizes, $50,000 worth of $SCALE is up for grabs.
The campaign can be found under the Cryptopedia tab in the Discover section. How to participate:
Install the OKX app on your mobile phone, set up a wallet, and complete quests.
#DeDust#OKX#web3#TON#DEX
😇LP Pool Rewards Payouts and Upcoming Events
😇EVAA distributed #TON for using LP tokens from🟧#DeDust. All users who provided their LP in EVAA have already been paid. Check your rewards in the "Rewards" section.
🎙 There are two events ahead – an AMA session (today) and an offline meeting in Dubai:
➡️The online broadcast (workshop) will be dedicated to oracles and TMA development. It will be especially useful for developers and those participating in the TON Mini Apps Build Contest. AMA will start at 13:00 (UTC +3) on four platforms for CIS users at once: YouTube, Telegram, Twitter and Twitch.
➡️The second event will be held offline at #TOKEN2049 in Dubai on April 30. The main topic for discussion is how neobanking works on blockchain technologies. Sponsored by #StonFi.
🥹Find out more and sign up for the side event.
😇EVAA app | News | Chat