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 слични објави

Пребарај: #uspto

当前筛选 #uspto清除筛选
AI & Law

@ai_and_law · Post #523 · 11.03.2025 г., 08:04

🇺🇸USPTO Withdraws AI Strategy Amid Policy Shift The U.S. Patent and Trademark Office (USPTO) has officially withdrawn its AI strategy document, published in January 2025. Acting Director Coke Morgan Stewart cited that the strategy was influenced by Biden-era executive orders, which have since been rescinded by the Trump administration. The new AI policy direction focuses on deregulation and strengthening U.S. global AI dominance—though specific implementation details remain unclear. Key legal questions now come to the forefront: Will the U.S. redefine AI inventorship, potentially allowing corporations to be named as inventors? And how aggressively will the USPTO integrate AI into the patent examination process? These issues could reshape both intellectual property law and AI governance in the years ahead. #AI#PatentLaw#USPTO#AIGovernance#AIRegulation

AI & Law

@ai_and_law · Post #713 · 01.12.2025 г., 08:04

🇺🇸USPTO Reframes AI-Assisted Invention: Human Inventorship Remains the Rule The U.S. Patent and Trademark Office has issued new guidance confirming that AI may support invention but it cannot share or replace inventorship. The USPTO rescinded last year’s AI-specific guidelines and returned to a uniform standard: the same inventorship test applies to all inventions, regardless of whether AI was used in the process. Generative AI is now formally treated as “laboratory equipment” or any other research tool that assists a human creator, not as a co-inventor. Notably, the Office rejected the prior administration’s “joint inventorship”-based framework for determining patentability of AI-assisted inventions. Instead, examiners must ask a single question: did a natural person conceive the invention under traditional doctrine? Courts have already held that AI systems cannot receive patents, but they have not yet ruled on the boundaries of human inventorship when AI is deeply embedded in R&D. This updated guidance will likely shape that future litigation. #AIandLaw#IntellectualProperty#PatentLaw#AIRegulation#USPTO#AIGovernance

AI & Law

@ai_and_law · Post #247 · 23.02.2024 г., 08:04

OpenAI's Trademark Application for 'GPT' Denied Greetings everybody! The US Patent and Trademark Office (PTO) has rejected OpenAI's bid to trademark the term 'GPT' (generative pre-trained transformer), citing its generic nature. According to the PTO, granting the trademark could impede competitors from accurately describing their products as GPT. OpenAI argued that 'GPT' isn't merely descriptive and doesn't immediately convey its meaning to consumers. However, the PTO emphasized that those familiar with the technology understand 'GPT' as a general type of software, not exclusive to OpenAI products. The decision marks a setback for OpenAI, whose association with 'GPT' grew significantly with the popularity of ChatGPT and its subsequent AI models. Despite previous denials, OpenAI may appeal to the Trademark Trial and Appeal Board for another chance to secure the trademark. #OpenAI#GPT#Trademark#USPTO#AI