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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #72 · 21 апр.

Регулярные выражения иногда могут быть просто монструозными. Выглядеть это может крайне запутанно. Сами регэкспы и без того история непростая, а когда это длинный паттерн на несколько десятков знаков, разобрать там что-либо становится не просто. Но на помощь приходит Python и его стремление сделать нашу жизнь проще! В функциях регулярок можно после паттерна указывать флаги, один из которых позволяет писать паттерны более свободно. А именно, добавлять пробелы и переносы, которые будут игнорированы. В результате мы можем разбить паттерн на строки и добавить комментов. Чтобы это сработало нужно добавить флаг re.VERBOSE. Пробелы в паттерне теперь следует указывать явно спец символами. Согласитесь, что даже с именованными группами а таком виде регэкспа выглядит вполне сносно 😉. #tricks#regex

Резултати

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

Пребарај: #copiedact

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

@ai_and_law · Post #359 · 24.07.2024 г., 07:04

USA: Senate Bill Targets AI Deepfakes and Protects Content Creators A new bipartisan bill, the Content Origin Protection and Integrity from Edited and Deepfaked Media (COPIED) Act, has been introduced in the Senate to establish federal transparency guidelines for AI-generated content, including deepfakes. This legislation mandates AI companies to embed origin data into generated content and prohibits the removal or tampering of this information, ensuring content creators can detect unauthorized use of their work. The COPIED Act aims to provide robust legal protections for content creators such as journalists, artists, and musicians, allowing them to safeguard their intellectual property and dictate terms of use. By requiring AI providers to include provenance metadata, the bill ensures that rightsholders can trace and address unauthorized utilization of their content. Additionally, the Federal Trade Commission (FTC) and state attorney generals will enforce these regulations, with content owners retaining the right to sue for unauthorized use. #AI#Deepfakes#COPIEDAct#Transparency#DigitalRights