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

Резултати

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

Пребарај: #jacobrobertsteeves

当前筛选 #jacobrobertsteeves清除筛选
Crypto M - Crypto News

@CryptoM · Post #65233 · 12.04.2026 г., 06:56

🚀 Bittensor Co-Founder Addresses Covenant AI Incident and Future Plans On April 12, Bittensor co-founder Jacob Robert Steeves responded to the Covenant AI incident, expressing his shock over recent developments. According to BlockBeats, Steeves accused Covenant AI founder Samuel Dare of actions that severely harmed the protocol and community, betraying the trust of investors and users. He apologized to those affected by the incident. Steeves stated that Bittensor was designed to combat greed and selfishness by enabling collective ownership of AI through a permissionless mechanism. He acknowledged that the incident exposed vulnerabilities in the system but also highlighted the opportunity to strengthen the protocol and community's resilience. Looking ahead, Steeves proposed advancing a "Locked Stake" mechanism, introducing a "time + stake" commitment dimension at the protocol level to enhance transparency and investor protection, thereby reducing similar risks. He noted that this plan was initially designed with Samuel Dare's involvement. Furthermore, Steeves mentioned that the development of subnets 3, 39, and 81 will continue under community leadership, with no changes to their overall functionality and vision. He emphasized that Bittensor remains one of the most decentralized AI protocols and will continue to promote open AI development, with plans to advance towards training larger-scale models, including a trillion-parameter model in the future. #Bittensor#CovenantAI#JacobRobertSteeves#SamuelDare#AI#Blockchain#DecentralizedAI#InvestorProtection#LockedStake#AIProtocol#CommunityLeadership#OpenAI#FuturePlans#TrillionParameterModel#TAO