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

Резултати

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

Пребарај: #oecd

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

@ai_and_law · Post #536 · 28.03.2025 г., 08:04

🌐OECD Report on AI and Intellectual Property The OECD has released a policy paper addressing IP challenges in AI trained on scraped data. Chapter 3 is essential for lawyers, covering key IP rights at stake—copyright, database rights, trademarks, trade secrets, and moral rights. For those following AI copyright lawsuits, Annex A outlines how copyright exceptions vary across jurisdictions. The report (p.40) clarifies that U.S. courts weigh multiple factors when determining fair use, including commercial purpose and market impact. Understanding these nuances is key to informed discussion on AI and copyright. #AI#OECD

Hashtags

AI & Law

@ai_and_law · Post #563 · 06.05.2025 г., 07:04

🌐G7 AI Governance: First Transparency Reports Released The OECD has published the first-ever reports from the G7 Hiroshima AI Process, revealing how 19 organizations — from major tech firms to research labs — are managing AI governance under the new code of conduct for advanced systems. The reports detail how these entities conduct risk assessments, address safety and security vulnerabilities, implement internal governance frameworks, and share lessons from incidents. For AI governance professionals, this dataset offers an unprecedented look at real-world risk management practices beyond policy declarations. #AIgovernance#OECD#ResponsibleAI

AI & Law

@ai_and_law · Post #466 · 17.12.2024 г., 08:04

OECD’s Roadmap for AI Governance: Risks, Benefits, and Imperatives The OECD’s new report, "Assessing Potential Future AI Risks, Benefits, and Policy Imperatives", lays out a comprehensive framework for addressing AI’s transformative potential. It highlights AI’s capacity to revolutionize healthcare, education, and climate change mitigation, while simultaneously warning of risks like concentrated power, privacy breaches, and disinformation undermining democracy. Key policy actions proposed include: ✅ Establishing liability frameworks for AI harms. ✅ Promoting transparency and lifecycle risk management for high-risk systems. ✅ Investing in AI safety, alignment, and explainability research to ensure accountability and trustworthiness. This report is essential for aligning AI governance with societal values and preparing for its profound societal impact. #AIGovernance#OECD#EthicsInAI

AI & Law

@ai_and_law · Post #663 · 23.09.2025 г., 07:04

📖AI Openness: OECD Outlines Benefits, Risks, and Policy Trade-offs The OECD has released “AI Openness: A Primer for Policymakers”, providing a structured analysis of AI openness and its implications for governance. The report argues that the term “open source” fails to fully capture the complexity of AI systems, where openness spans model weights, code, data, and documentation. It introduces the concept of open-weight foundation models, AI systems with publicly available trained weights, now comprising over half of the market, with the U.S., China, and France leading development. The report emphasizes both benefits and risks: open-weight models can accelerate innovation, competition, and accountability but also raise concerns over deepfakes, cyberattacks, and misuse in sensitive domains. Policymakers are urged to weigh marginal benefits against emerging risks within a broader risk governance framework, particularly as falling compute costs make both legitimate and malicious use more accessible. #AILaw#AIEthics#OECD#AIGovernance

AI & Law

@ai_and_law · Post #411 · 04.10.2024 г., 07:04

OECD Publishes Key Papers on AI Governance(Part 2) More free online documents from OECD: ➡️A new dawn for public employment services ➡️Artificial intelligence and the changing demand for skills in Canada ➡️Artificial intelligence, data and competition ➡️Defining AI incidents and related terms ➡️The impact of AI on productivity, distribution & growth #AIGovernance#OECD#EthicsInAI#AIRegulation

AI & Law

@ai_and_law · Post #410 · 03.10.2024 г., 07:04

OECD Publishes Key Papers on AI Governance The OECD has recently released a series of insightful papers on critical AI-related topics, offering a valuable resource for anyone invested in AI governance. These papers explore the evolving challenges and opportunities within AI, addressing topics such as ethics, transparency, and policy frameworks. For leaders looking to understand the complexities of AI regulation and how to align it with global best practices, this is a unique opportunity to deepen your knowledge. The papers are available for free online—download, engage, and contribute to shaping the future of AI governance: ➡️Measuring the demand for AI skills in the United Kingdom ➡️Regulatory approaches to Artificial Intelligence in finance ➡️The potential impact of AI on equity and inclusion in education ➡️AI, data governance and privacy ➡️Using AI to manage min. income benefits & unemployment assist ➡️Governing with Artificial Intelligence #AIGovernance#OECD#EthicsInAI#AIRegulation

AI & Law

@ai_and_law · Post #786 · 17.03.2026 г., 08:04

🌐OECD Report Seeks Clear Terminology for AI Agents and Agentic AI The Organisation for Economic Co-operation and Development (OECD) has published a report examining the concepts of “AI agents” and “agentic AI” and the distinction between them. The report analyses how both terms are used in existing literature and evaluates their meaning through the lens of the OECD definition of an AI system. The study aims to establish more precise and consistent terminology around these concepts. By reviewing current academic and policy discussions, the report highlights differences in how the terms are applied and seeks to clarify their use in the context of AI governance and research. #AI#AIGovernance#AITerminology#AIRegulation#OECD

AI & Law

@ai_and_law · Post #166 · 16.11.2023 г., 08:04

OECD Finalizes AI Definition to Shape EU's AI Act Hello, everyone! The Organisation for Economic Co-operation and Development (OECD) has formally updated its definition of Artificial Intelligence, a pivotal move set to influence the upcoming EU AI Act. In 2019, the OECD proposed a set of influential principles for trustworthy AI policies, including an early AI definition. Last week, the Council officially adopted an updated version, crucial for defining the scope of the impending EU AI regulation. The revised definition states, "An AI system is a machine-based system that, for explicit or implicit objectives, infers, from the input it receives, how to generate outputs such as predictions, content, recommendations, or decisions that [can] influence physical or virtual environments." Why the change? It aligns internationally, incorporates the last five years' advancements, enhances technical accuracy, and aims for future-proofing. Notable adjustments include removing the requirement for human-defined objectives, accommodating AI systems that learn new objectives. The wording also acknowledges AI's ability to evolve post-deployment and addresses potential misalignments between objectives and outcomes. #AInews#OECD#EUAIACT

AI & Law

@ai_and_law · Post #776 · 03.03.2026 г., 08:04

🌐📖OECD Issues Due Diligence Framework for Responsible AI The Organisation for Economic Co-operation and Development has released a Due Diligence Guidance for Responsible AI report aimed at enterprises implementing the OECD standards on responsible business conduct and the OECD AI Principles. The guidance is designed to help companies proactively address adverse impacts arising from their deployed AI systems while supporting innovation, investment, and growth. Beyond corporate compliance, the report positions due diligence as a governance mechanism to align technological deployment with risk accountability. It also seeks to promote policy coherence and, where possible, interoperability between OECD approaches and other national or international AI risk management frameworks. #AIRegulation#ResponsibleAI#OECD#AIGovernance#RiskManagement#AIEthics

Форум ОЭСР по финансовой проверке в швейном и обувном секторе состоится 3-4 февраля 2021 года Открыта регистрация на форум Организации экономического сотрудничества и развития (ОЭСР) по финансовой проверке в швейном и обувном секторе, который состоится 3-4 февраля 2021 года. Форум соберет представителей правительства, бизнеса, профсоюзов и гражданского общества для рассмотрения возникающих рисков и обмена опытом по реализации трудовой, правозащитной, экологической и антикоррупционной проверки в этом секторе в различных регионах. Пандемия COVID-19 обозначила хрупкость производственно-сбытовых цепочек швейного сектора, оказав разрушительное воздействие на работников этой сферы и окружающую среду. С учетом уроков, которые нам преподнес кризис, включая примеры, когда секторальный диалог играл важную роль, первый день форума будет посвящен вопросу создания более жизнеспособного и устойчивого сектора. Второй день откроется дискуссией о последних изменениях в политике обязательной экспертизы с учетом их роли в укреплении и расширении практики аудита компаний в швейном и обувном секторе, а также о подводных камнях, которых следует избегать. Доступ к регистрации и повестке дня мероприятия - на странице Центра многостороннего сотрудничества и евразийской интеграции Российского союза промышленников и предпринимателей (РСПП): https://rspp.ru/events/news/forum-oesr-po-finansovoy-proverke-v-shveynom-i-obuvnom-sektore-sostoitsya-3-4-fevralya-2021-goda-60013245cefc6/ #РСПП#ЦМСЕИ#ОЭСР#RSPP#OECD

AI & Law

@ai_and_law · Post #252 · 01.03.2024 г., 08:04

OECD Establishes Expert Group for AI, Data, and Privacy Policy Synergies Hello everybody! The Organisation for Economic Co-operation and Development (OECD) has launched a new expert group aimed at fostering collaboration and coherence in artificial intelligence, data, and privacy policies. With a focus on finding common ground, the group seeks to bridge the gap between data governance and AI communities. By providing a platform for stakeholders to exchange insights and best practices, the OECD aims to address the complex intersection of AI, data, and privacy regulations. Through collective efforts, the group endeavors to develop guidelines and frameworks that promote responsible AI deployment while safeguarding individual privacy rights. #OECD#AI#DataGovernance#PrivacyPolicies

ПретходнаСтраница 1 од 3Следна