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

TGINSIGHT SIMILAR POSTS

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

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

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

Hashtags

Резултати

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

Търсене: #rust

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

@githubtrending · Post #15562 · 15.03.2026 г., 11:30

#rust Vite+ is a single tool that handles all web development needs: install packages, run fast dev servers, check/lint/format code, test, build apps or libraries, and manage monorepo tasks with smart caching. Install globally as `vp`, use commands like `vp dev`, `vp test`, or `vp build`, and configure everything in one `vite.config.ts` file. It speeds up workflows 2-100x using Rust tools, cuts setup time, and ensures consistency—saving you hours on config, debugging, and CI costs so you focus on coding. https://github.com/voidzero-dev/vite-plus

Hashtags

GitHub Trends

@githubtrending · Post #15480 · 08.02.2026 г., 15:00

#rust Monty is a minimal, secure Python interpreter in Rust that safely runs AI-generated code in your agents. It starts in under 1 microsecond, blocks host access to files, network, and env vars (only via your controlled functions), and supports type checking, resource limits, and snapshotting to pause/resume execution. This lets you skip slow, complex containers, making AI agents run faster, cheaper, and more reliably without security risks. https://github.com/pydantic/monty

Hashtags

GitHub Trends

@githubtrending · Post #15475 · 07.02.2026 г., 12:00

#rust LiteBox is a new open-source Rust library OS from Microsoft that sandboxes apps with a tiny host interface to slash attack risks and boost security. It runs Linux programs on Windows without changes, sandboxes Linux apps better than containers, supports secure tech like SEV-SNP and OP-TEE, and works in kernel or non-kernel setups under MIT license. You gain safer app isolation, easier cross-platform runs, and smaller vulnerability blasts for secure coding, CI jobs, or cloud tasks—while it's evolving, so adapt as it improves. https://github.com/microsoft/litebox

Hashtags

GitHub Trends

@githubtrending · Post #15357 · 23.12.2025 г., 12:30

#rust Miri is a tool that detects bugs in unsafe Rust code by finding undefined behavior—situations where your program violates safety rules and can behave unpredictably. When you write unsafe code, you bypass Rust's normal safety checks, so you must manually ensure your code follows strict requirements like proper memory alignment, no data races, and correct pointer usage. Miri catches violations of these requirements by running your code in a special interpreter that monitors every operation. It detects problems like out-of-bounds memory access, use-after-free errors, uninitialized data, and misaligned pointers. You can easily use Miri by installing it with Rust's nightly toolchain and running `cargo miri test` on your project. The benefit is that Miri finds subtle bugs that would otherwise cause crashes or security vulnerabilities in production, making it an essential tool for anyone writing unsafe Rust code. https://github.com/rust-lang/miri

Hashtags

GitHub Trends

@githubtrending · Post #15337 · 16.12.2025 г., 14:30

#rust Hashcards is a simple tool for making and reviewing flashcards in plain text Markdown files you edit easily, like with any text editor or Git for tracking changes. Cards use hashes, so editing resets progress; write Q/A or cloze types (C Frictionless creation helps you learn faster without complex apps. https://github.com/eudoxia0/hashcards

Hashtags

GitHub Trends

@githubtrending · Post #15327 · 11.12.2025 г., 12:00

#rust Tempo is a fast, low-cost blockchain built specifically for stablecoin payments, designed to handle many transactions quickly with sub-second finality. It offers predictable, very low fees paid directly in stablecoins like USDC or USDT, making it ideal for businesses, banks, and fintechs to process payments efficiently. Tempo supports batch and scheduled payments, modern authentication, and built-in compliance, helping users automate payroll, settlements, and cross-border transfers with ease. It is fully compatible with Ethereum tools, so developers can build on it without learning new systems. This means you get a reliable, scalable, and user-friendly payment network optimized for real-world financial use. https://github.com/tempoxyz/tempo

Hashtags

GitHub Trends

@githubtrending · Post #15309 · 05.12.2025 г., 12:00

#rust Fresh is a fast, user-friendly terminal text editor built in Rust that opens huge files instantly without slowing down. It features an intuitive menu system, mouse support, and a command palette for easy navigation, making it perfect if you're switching from graphical editors. You can extend Fresh with TypeScript plugins in a secure environment, and it includes powerful tools like multi-cursor editing, split panes, language server support, and git integration. The main benefit is that Fresh combines the speed and lightweight nature of terminal editors with the ease of use and modern features you'd expect from a graphical editor, all while handling massive files efficiently. https://github.com/sinelaw/fresh

Hashtags

GitHub Trends

@githubtrending · Post #15297 · 12.11.2025 г., 14:00

#rust Vello is a fast 2D graphics renderer written in Rust that uses your GPU's compute power to draw shapes, images, text, and gradients[1]. Unlike older renderers that rely on your CPU for sorting and clipping, Vello moves most work to the GPU using special algorithms, giving you much better performance with less computer power needed[1][2]. It can draw large scenes smoothly and interactively, making it perfect for user interfaces, games, and animation tools[1]. You benefit from faster, smoother graphics with lower energy use, and it works across different platforms including web and Android. https://github.com/linebender/vello

Hashtags

GitHub Trends

@githubtrending · Post #15177 · 27.09.2025 г., 14:30

#rust NVIDIA Dynamo is an open-source, high-speed, low-delay framework that helps run large AI models, like language models, efficiently across many GPUs and servers. It solves problems like slow response and memory limits by smartly splitting tasks, routing requests to avoid repeated work, and managing memory better. It supports multiple AI engines and uses fast data transfer methods to speed up inference. You can easily set it up on your system, run AI models with it, and scale across many machines. This means you get faster, more efficient AI model serving, saving time and computing resources. https://github.com/ai-dynamo/dynamo

Hashtags

GitHub Trends

@githubtrending · Post #15149 · 17.09.2025 г., 12:00

#rust MonadBFT is a fast and secure blockchain consensus protocol that helps many independent nodes agree on the order of transactions quickly and reliably. It separates the process of agreeing on transaction order (consensus) from actually executing those transactions, which speeds up the system and allows for high throughput with 1-second finality. This design prevents problems like chain reorganizations (tail-forks) and censorship by any single validator, making the blockchain fairer, more stable, and efficient. For users, this means faster transaction confirmations, fewer unexpected changes, and a more trustworthy network without sacrificing decentralization or security. https://github.com/category-labs/monad-bft

Hashtags

GitHub Trends

@githubtrending · Post #15040 · 08.08.2025 г., 13:30

#rust You can install OpenAI Codex CLI on your computer easily using commands like `npm install -g @openai/codex` or `brew install codex`. It runs locally, letting you interact with AI models directly in your terminal to read, write, and run code safely within a sandboxed environment. You can control how much autonomy Codex has, from read-only to full read/write access with your approval. It supports integration with your ChatGPT Plus or Pro account for free access to advanced models. This tool helps you code faster, fix bugs, and understand code without leaving your terminal, improving productivity and security since your code stays on your machine. https://github.com/openai/codex

Hashtags

GitHub Trends

@githubtrending · Post #14997 · 26.07.2025 г., 11:30

#rust Datavzrd is a tool that helps you quickly create interactive, visual HTML reports from tables like CSV, TSV, JSON, or Parquet files without needing to write code. It automatically makes charts like histograms for each column and lets you customize these visuals and add links to other websites or between tables using a simple config file. The reports are standalone HTML files, so you can easily share them by email or cloud without needing a web server. This makes it easier to explore, understand, and share your data in a clear, interactive way, saving you time and effort in data reporting and communication[1][2][3][4]. https://github.com/datavzrd/datavzrd

Hashtags

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