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

TGINSIGHT SIMILAR POSTS

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

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

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

Hashtags

Резултати

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

Търсене: #go

当前筛选 #go清除筛选
GitHub Trends

@githubtrending · Post #15455 · 31.01.2026 г., 16:00

#go Mermaid-ascii lets you render Mermaid graphs and sequence diagrams as ASCII art right in your terminal. Install via GitHub binary, build with Go, Nix, or Docker; use commands like `mermaid-ascii -f file.mermaid` for left-to-right/top-down layouts, labels, colors, padding, or web interface. It supports directions, edges, participants, Unicode, and ASCII mode. This helps you quickly view diagrams without browsers or images, making code reviews, docs, and terminal workflows faster and easier. https://github.com/AlexanderGrooff/mermaid-ascii

Hashtags

GitHub Trends

@githubtrending · Post #15289 · 10.11.2025 г., 15:30

#go OpenCloud is an open-source server backend written in Go that lets you securely store, access, and share files without using a database, instead saving data directly on your filesystem for simplicity and scalability. It supports user authentication via OpenID Connect with external or built-in identity providers. You can build and run it locally with simple commands, and contribute by reporting issues, adding features, or improving documentation. This setup benefits you by offering a flexible, scalable, and secure cloud solution that is easy to install, customize, and control, helping you manage your data efficiently and privately. https://github.com/opencloud-eu/opencloud

Hashtags

GitHub Trends

@githubtrending · Post #15276 · 06.11.2025 г., 14:30

#go The MCP Go SDK is an official software toolkit for the Go programming language that helps you easily build and run MCP servers and clients. It provides ready-made packages for core MCP features, OAuth support, and custom transports, letting you connect AI models with external tools and data securely and efficiently. You can create servers that offer AI tools and clients that communicate with them using simple APIs and standard input/output or other transports. This SDK follows the full MCP standard, making it easier to develop AI applications that interact with real-time data and services, improving automation and user experience. It’s open source and designed for production use, saving you time and effort in building AI integrations. https://github.com/modelcontextprotocol/go-sdk

Hashtags

GitHub Trends

@githubtrending · Post #15181 · 29.09.2025 г., 12:30

#go Fuck-u-code is a tool that checks how messy and bad your code is by giving it a "shit mountain" score from 0 to 100—the higher the score, the worse the code. It supports many programming languages and looks at seven key areas like complexity, comments, naming, and errors. It shows colorful reports in the terminal and can output Markdown for easy sharing or AI use. You can run it locally, so your code stays private. Using it helps you find problems early, improve code quality, and keep your projects clean and maintainable, saving time and effort in the long run. https://github.com/Done-0/fuck-u-code

Hashtags

GitHub Trends

@githubtrending · Post #15144 · 14.09.2025 г., 12:30

#go The Docker MCP Gateway helps you run and manage AI tools called MCP servers securely and easily using Docker containers. It acts as a single, safe gateway that connects AI applications to many MCP servers, handling authentication, secrets, and OAuth securely without exposing sensitive data. You can start, configure, and monitor these servers with simple commands, ensuring isolation and control. This setup lets you develop, test, and deploy AI tools faster while keeping your environment secure and consistent across different clients. It also supports automatic discovery of tools and detailed logging for better oversight. This benefits you by simplifying AI tool management and improving security in your projects. https://github.com/docker/mcp-gateway

Hashtags

GitHub Trends

@githubtrending · Post #15084 · 22.08.2025 г., 12:00

#go BloodHound Community Edition (CE) is a free, open-source tool that helps you find hidden security risks in identity and access systems by using graph theory. It works with Active Directory, Azure, and other platforms to map complex privilege relationships, showing possible attack paths attackers might use. This helps both attackers (for testing) and defenders (to fix weaknesses) understand and improve security. BloodHound CE is easy to deploy with container support, has a fast, user-friendly interface, supports secure multi-user access with features like two-factor authentication, and offers safe query execution. This means you can quickly and safely analyze your security environment to prevent attacks. https://github.com/SpecterOps/BloodHound

Hashtags

GitHub Trends

@githubtrending · Post #15027 · 03.08.2025 г., 12:00

#go OpenCode is a free, open-source AI coding assistant that runs directly in your terminal, helping you write, debug, and manage code efficiently without leaving the command line. It supports many AI models like OpenAI and Anthropic, integrates deeply with Language Server Protocol (LSP) for smart code understanding, and offers a smooth text-based user interface with features like file browsing, command history, and syntax highlighting. You can customize it, run it locally, and even control it remotely. This tool boosts your productivity by providing intelligent coding help right where you work, saving time and effort in coding tasks. https://github.com/sst/opencode

Hashtags

GitHub Trends

@githubtrending · Post #14830 · 16.06.2025 г., 20:00

#go FileBrowser Quantum is a powerful web-based file manager that lets you easily access and manage your files from the web. It offers features like secure shared links, user permissions, and advanced file previews. The interface is simple and easy to use, with real-time search and updates. This tool is great for users because it allows them to manage files efficiently, set permissions for different users, and enjoy a smooth browsing experience. It's also free and open-source, making it accessible to everyone. https://github.com/gtsteffaniak/filebrowser

Hashtags

GitHub Trends

@githubtrending · Post #14781 · 03.06.2025 г., 12:30

#go Nebula is a tool that helps connect computers securely from anywhere in the world. It's easy to use, portable, and works on many platforms like Linux, Windows, and mobile devices. Nebula uses strong encryption and certificates to ensure that only trusted computers can connect. It's fast and reliable, allowing thousands of computers to communicate without bottlenecks. This makes it useful for businesses and individuals who need secure connections across different networks. https://github.com/slackhq/nebula

Hashtags

GitHub Trends

@githubtrending · Post #14775 · 02.06.2025 г., 00:00

#go Skopeo is a tool that helps you work with container images without needing a container daemon. It allows you to inspect images on remote registries without downloading them, copy images between different storage types (like Docker Hub or local directories), delete images, and sync registries. This is useful because it saves space and time by not requiring you to download entire images just to view their details. Skopeo works with various image formats, including OCI and Docker images, making it a flexible tool for managing container images. https://github.com/containers/skopeo

Hashtags

GitHub Trends

@githubtrending · Post #14773 · 01.06.2025 г., 11:30

#go The Google Gen AI Go SDK helps developers use advanced AI models like Gemini to create smart features in their apps. It supports tasks like generating text from text or images, and even real-time video conversations. This SDK is easy to use and allows developers to build powerful AI applications quickly. By using this SDK, developers can create innovative apps with less effort, making it easier to integrate AI into their projects. https://github.com/googleapis/go-genai

Hashtags

123•••10•••1819
ПредишнаСтр. 1 от 19Следваща