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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #396 · 9 окт.

7.09.2025 состоялся релизPithon 3.14! На фоне хайпа про NoGIL всё позабыли про другие фичи. Особенно про Multiple Interpreters, который обещает изоляцию процессов но с эффективностью потоков! На сколько действительно это будет эффективно мы узнаем позже, потому что сейчас это лишь первый релиз с ограничениями и недоработками. Но что там про NoGIL? Теперь этот режим не экспериментальный, а официально поддерживаемый, но опциональный. Чтобы запустить без GIL нужна специальная сборка. И перед стартом нужно объявить переменную PYTHON_GIL=0 Для вас я собрал готовый репозиторий где достаточно запустить скрпит, который всё сделает: ▫️ соберет релизный Python 3.14 в новый Docker-образ ▫️ запустит тесты в контейнере (GIL, NoGIL, MultiInterpreter) ▫️ распечатает результаты Тест очень простой, усложняйте сами) Вот какие результаты у меня: === Running ThreadPoolExecutor GIL ON TOTAL TIME: 45.48 seconds === Running ThreadPoolExecutor GIL OFF TOTAL TIME: 6.14 seconds === Running basic Thread GIL ON TOTAL TIME: 45.54 seconds === Running basic Thread GIL OFF TOTAL TIME: 4.74 seconds === Running with Multi Interpreter TOTAL TIME: 18.30 seconds Если сравнивать GIL и NoGIL, то на мои 32 ядра прирост х7-x10 (почему не х32? 🤷). При этом нам обещают что скорости будут расти с новыми релизами. Режим без GIL похож (визуально) на async, тоже параллельно, тоже не по порядку. Но это не IO! и от того некоторый диссонанс в голове 😵‍💫, нас учили не так! Интересно, что чистый Thread работает быстрей чем ThreadPoolExecutor без GIL. Ну и где-то плачет один адепт мульти-интерпретаторов😭 Теперь нужно искать где они могут пригодиться с такой-то скоростью. Скорее всего своя область применения найдется. Отдельно я затестил память и вот что вышло на 32 потока: ThreadPoolExecutor GIL ON 305.228 MB ThreadPoolExecutor GIL OFF 500.176 MB basic Thread GIL ON 90.668 MB basic Thread GIL OFF 472.444 MB with Multi Interpreter 1267.788 MB Пока не знаю как к этому относиться) В целом - радует направление развития! #release

Hashtags

Резултати

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

Пребарај: #privacyrights

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

@ai_and_law · Post #532 · 24.03.2025 г., 08:04

🇳🇴OpenAI Faces GDPR Complaint Over ChatGPT’s False Accusation of Murder Privacy group Noyb has filed a complaint with the Norwegian Data Protection Authority, alleging OpenAI violated GDPR after ChatGPT falsely claimed a Norwegian man was convicted of murdering his children. The chatbot’s response contained both fabricated details and accurate personal information, raising concerns about AI-generated defamation. Noyb argues that OpenAI is still processing inaccurate personal data within its model, even if the output has been corrected. The complaint cites GDPR’s requirement for accurate data processing and demands OpenAI delete defamatory information, fine-tune its model, and face financial penalties to prevent future violations. This case underscores a growing regulatory challenge: how to enforce data accuracy in AI systems that continuously evolve. #GDPR#AIRegulation#PrivacyRights#ChatGPT

AI & Law

@ai_and_law · Post #230 · 01.02.2024 г., 08:04

US Lawmakers Propose DEFIANCE Act Against Nonconsensual AI-Generated Porn Hello, everyone! US senators, including Dick Durbin and Lindsey Graham, introduced the Disrupt Explicit Forged Images and Non-Consensual Edits (DEFIANCE) Act. The bill aims to combat the rising tide of AI-generated explicit images, providing a civil right of action for victims depicted without consent. It follows the controversy over digitally manipulated explicit images of Taylor Swift. The DEFIANCE Act broadens the scope beyond AI-generated content to encompass any "intimate" sexual image created through various means, targeting those who knowingly produce or possess such content for dissemination. The proposed legislation aligns with President Biden's push for AI regulation. #DEFIANCEAct#PrivacyRights#AIRegulation

AI & Law

@ai_and_law · Post #200 · 26.12.2023 г., 08:04

FTC bans Rite Aid from using AI facial recognition in stores for 5 years Hello everybody! The US Federal Trade Commission (FTC) has barred American drugstore giant Rite Aid from utilizing AI facial recognition technology for surveillance purposes over the next five years. The FTC intervened as Rite Aid allegedly "failed to implement reasonable procedures" in deploying facial recognition across 200 stores over eight years. Rite Aid's facial recognition system, designed to identify past shoplifters, resulted in numerous false positives. Tens of thousands of individuals were included, often with low-quality images from various sources, leading to unwarranted confrontations and police interventions, disproportionately impacting people of color. Rite Aid is mandated to delete collected images, algorithms, and related products, notify consumers, enhance data security measures, and provide clear notices regarding any biometric surveillance technology in stores. Rite Aid, while agreeing to the FTC settlement, expressed fundamental disagreement with the facial recognition allegations. The company halted the technology's use three years prior to the FTC investigation and commits to fortifying information security practices. #AILaw#PrivacyRights#FacialRecognition#FTC#RiteAid#LegalTech

AI & Law

@ai_and_law · Post #628 · 05.08.2025 г., 07:04

🇬🇧UK Parliament Launches Human Rights Inquiry in the AI Era The U.K. Parliament’s Joint Committee on Human Rights has opened a formal inquiry into how artificial intelligence is impacting fundamental rights. Key focus areas include privacy, discrimination, algorithmic bias, and mechanisms for redress when AI systems cause harm. The committee is also evaluating whether current legal frameworks are sufficient, or if new legislation is needed to safeguard human rights in the face of accelerating AI adoption. Public submissions are open until 5 September. #AIandLaw#HumanRights#AIRegulation#UKParliament#AlgorithmicBias#PrivacyRights#Accountability#AIGovernance