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

TGINSIGHT SIMILAR POSTS

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

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

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

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

Пребарај: #ukdataprotection

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

@ai_and_law · Post #183 · 07.12.2023 г., 08:04

UK Information Commissioner Appeals Clearview AI Judgment Hi everyone! The UK Information Commissioner is seeking permission to appeal a recent judgment by the First Tier Tribunal (Information Rights) regarding Clearview AI Inc, a US-based company specializing in facial recognition technology. The Tribunal supported the Information Commissioner's Office (ICO) stance that Clearview's processing of personal information, involving the monitoring of individuals through the collection of billions of facial images for access and analysis using AI, falls under UK data protection legislation. While the ICO welcomes the clarity the judgment brings to UK data protection legislation, it contends that the Tribunal incorrectly interpreted the law regarding Clearview's activities. The Commissioner argues that the Tribunal's decision to consider Clearview's processing as falling outside the scope of UK data protection law due to its services for foreign law enforcement agencies is a misinterpretation. John Edwards, the UK Information Commissioner, emphasizes the importance of protecting the data rights of UK citizens, particularly in the context of Clearview's extensive scraping of personal information. He expresses concern about the scale and intrusiveness of Clearview's operations and underscores the need to ensure that commercial enterprises processing digital images of UK residents cannot claim exemption from UK law on the grounds of "law enforcement" purposes. As AI technologies continue to evolve, the case with Clearview highlights the ongoing challenge of striking a balance between fostering innovation in AI solutions and safeguarding individuals' privacy rights. The ICO's appeal seeks to address these nuanced issues and establish clearer boundaries for AI companies operating in the UK. #ClearviewAI#UKDataProtection#AIandPrivacy