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

TGINSIGHT SIMILAR POSTS

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

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

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

Hashtags

Резултати

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

Търсене: #configuration

当前筛选 #configuration清除筛选
The Telegram Times

@TheTGTimes · Post #81 · 20.10.2023 г., 17:00

The maximum number of chat folders for premium users was increased Based on the latest information received from the Telegram configuration, the folder creation limit for ⭐️Premium Users has been increased from 20 to 30. This limit has not changed for non-premium users and these users can create a maximum of 10 folders. #Premium | #Configuration 👉The TG Times

The Telegram Times

@TheTGTimes · Post #78 · 06.10.2023 г., 10:24

Increased cooldown time to activate Stealth Mode in stories According to the latest changes in Telegram's configuration files, the minimum time interval for reactivating Stealth Mode for stories was increased from one hour to 3 hours. This means that after activating it, Stealth Mode will be activated for you for 25 minutes, and you can activate Stealth Mode again after 2 hours and 35 minutes. #Stories | #Configuration 👉The TG Times

The Telegram Times

@TheTGTimes · Post #60 · 11.09.2023 г., 07:31

Archive and Save Stories in Channels As with personal stories, channel stories are archived after they expire, and subscribers to that channel will no longer be able to access them unless you post them to the channel profile. #Stories | #Configuration 👉The TG Times

The Telegram Times

@TheTGTimes · Post #18 · 10.08.2023 г., 18:58

Limits for posting stories In the configuration of the Telegram server, It was found that there are restrictions for premium and non-premium users. Information specified from this configuration: - Weekly limit for posting stories: ⭐️ Premium users : 70 stories 👤 Non-premium users : 7 stories - Monthly limit for posting stories: ⭐️ Premium users : 300 stories 👤 Non-premium users : 30 stories It is possible that other restrictions will be applied to Telegram stories, but as soon as it becomes clear, we will inform you through the channel. #Stories | #Configuration 👉The TG Times

iDubTG

@idubtg · Post #276 · 20.10.2023 г., 17:08

The maximum number of chat folders for premium users was increased Based on the latest information received from the Telegram configuration, the folder creation limit for ⭐️Premium Users has been increased from 20 to 30. This limit has not changed for non-premium users and these users can create a maximum of 10 folders. #Premium | #Configuration 👉The TG Times

The Telegram Times

@TheTGTimes · Post #59 · 11.09.2023 г., 07:22

Stories on Channels and Boosts According to the latest Telegram configuration information received, Telegram is launching the boosting system for channels. Boost allows channel subscribers to vote for their favorite channels. By boosting channels, some features may be activated, such as posting stories in the channel. But the exact features and rewards based on this system are still unknown As it turns out, only premium users have the ability to boost channels, and these users will only have one boost available at no extra cost. Users can only choose which channel to boost once a day. #Stories | #Beta | #Configuration 👉The TG Times

The Telegram Times

@TheTGTimes · Post #115 · 31.10.2023 г., 21:20

📰Giveaways are getting ready to be activated on the main server Telegram beta configuration updates in each version make the Giveaways more complete and prepare for official presentation. This system was active for some to receive more boosts from the first release of the beta version 10.2.0 on the test server. Also, multiple boosts and the possibility of boosting more by giving a Premium gift are not activated on the main server, which can be related to the Giveaways. It is expected that this system will be launched soon in the next updates for the main server. Configurations by @tgcrawl #Giveaways | #Configuration 👉The TG Times

The Telegram Times

@TheTGTimes · Post #108 · 25.10.2023 г., 19:06

📰Get more boosts by gifting Telegram Premium! In the latest information received from Telegram beta configuration by @tgcrawl, it was found that if you buy a Premium subscription for yourself, you will receive one available boost and if you gift a subscription to one of your contacts, you will receive some additional boosts. When you want to boost another channel while you have already boosted another channel, this message will be displayed to you: "To Boost **1%$s** reassign a previous boost or gift Telegram Premium to a friend to get **%2$d** additional boosts" This is an example #Boost | #Configuration | #Beta v.10.2 👉The TG Times

Go

@golang · Post #28 · 28.01.2018 г., 20:33

Interesting step-by-step guide about design and development API with Docker containers, Swarm cluster and Traefik (HTTP reverse proxy and load balancer). In this article you’ll know how to configure the Traefik in the Docker environment with 3 following nodes: one manager and two workers #architecture#configuration#docker#microservices https://hackernoon.com/architecting-a-highly-scalable-golang-api-with-docker-swarm-traefik-875d1871cc1f?source=linkShare-b636419a57de-1517171008

GitHub Trends

@githubtrending · Post #15440 · 27.01.2026 г., 12:00

#go#config#config_loader#configuration#configuration_file#configuration_management#etcd_client#go#golang#golang_package#s3_bucket#toml#viper#yaml koanf is a lightweight Go library to load config from files (JSON, YAML, TOML), env vars, flags, S3, Vault and more, merging them easily with dot-path keys like "app.server.port". Install core with `go get github.com/knadh/koanf/v2`, add providers/parsers as needed. It's a cleaner Viper alternative with fewer dependencies and better extensibility. This saves you time by simplifying config in apps, letting you override values flexibly without bloat or forced orders. https://github.com/knadh/koanf