TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #421 · 23 мар.

Мы используем Makefile думая, что нет альтернатив, что это стандарт и всё такое. Но make это не запускалка команд, а система сборки. Мы фактически используем его не по назначению. И на самом деле альтернатива есть! Некоторое время назад я открыл для себя прекрасный инструмент - just. Он решает все проблемы make. just - это не система сборки как make, это именно исполнитель команд! Больше никаких Phony Targets и табуляций, привет нормальный синтаксис и передача аргументов!!! 😎 ⭐️Что умеет just: ✅ Автодокументирование команд Не нужно делать отдельную команду с докой, просто добавь комментарий # команда сборки build: ... $ just --list Available recipes: build # команда сборки Команда с именем default запускается по умолчанию если не указано другое, так что я обычно делаю так: default: just --list Теперь просто выполняем just и получаем доку из текущего файла. ✅ Удобная работа с переменными окружения # загрузить из .env set dotenv-load # глобальная переменная export PYTHONPATH := "./src" # переменная для команды test $TESTUNG="true": pytest ✅ Передача аргументов build target: @echo 'Build {{target}}...' команда запуска $ just build dev # Build dev... ✅ Выбор интерпретатора прямо в команде Пример с инлайн-скриптом на python: system: #!/usr/bin/env python3 import platform print(platform.system()) Эта же функция позволит выполнить скрипт как одну команду вместо перезапуска шела для каждой строки foo: #!/usr/bin/env sh for file in ls .; do echo $file done ✅ Выполнение команды в определенной директории. Можно указать как релятивный путь так и абсолютный [working-directory: 'backend'] build: docker compose build Также можно задать рабочую директорию глобально Там еще много интересного: - поддержка функций - автокомплиты и интеграции - экспрешены - алиасы команд - группировка команд - альтернативы команды под разные ОС - импорт других just-файлов - цветной вывод - ... и другие штуковины! Так что вперёд - ➡️ читать доку! Репозиторий: ➡️https://github.com/casey/just Статья: ➡️https://www.chicks.net/reference/file_formats/just/ ЗЫ. Кажется, на Makefile я уже не вернусь) #tools

Hashtags

Резултати

Пронајдени 3 слични објави

Пребарај: #hacked

当前筛选 #hacked清除筛选

disruption. The exchange's ability to cover the loss is a surprising detail, given the scale of the hack, and it underscores Bybit's financial stability and commitment to user security.Community and Market Reaction The hack triggered immediate market reactions, with Ethereum prices dropping over 3% following the confirmation, as reported by Decrypt. The crypto community on X saw panic, with hashtags like #Bybit and #Hacked trending, and users urging immediate withdrawals. However, Bybit's transparency initiative, announced earlier that day, making liquidation data publicly accessible via an enhanced API, was highlighted as an industry benchmark, potentially mitigating long-term trust issues (WorldCoinIndex).Analysis of Security Measures Bybit has historically emphasized robust security, including AI-powered fraud detection that thwarted over $79 million in suspicious withdrawals in the first half of 2024. The exchange's use of cold storage for user funds and a policy limiting withdrawals to three times per day were noted in past reviews, such as CoinFi, which praised Bybit's security measures before this incident. However, the sophistication of the attack, involving masked UI spoofing and smart contract manipulation, indicates evolving threats that even established exchanges face. Conclusion In conclusion, Bybit was indeed hacked on February 21, 2025, with an estimated loss of $1.4 billion, confirmed by multiple sources including Bybit's CEO via X and news outlets like CryptoBriefing and Cointelegraph. Despite the severity, Bybit's assurance that user funds are safe and operations are normal, backed by their solvency to cover losses, provides reassurance. This incident highlights the ongoing challenges in crypto security and the importance of transparency, as demonstrated by Bybit's response and community engagement.

NEWS 鏈新聞-ABMedia

@abmedia_news · Post #23798 · 11.04.2026 г., 07:16

【🚀產品技術|OpenAI 緊急要求所有 macOS 用戶更新應用程式,Axios 供應鏈攻擊引發安全憑證更新 】 #OpenAI#macOS#Axios#Hacked 📍請見報導: https://abmedia.io/openai-macos-security-update-axios-supply-chain-incident 📍訂閱鏈新聞頻道:https://linktr.ee/abmedia.io