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

Резултати

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

Пребарај: #legalaction

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

@ai_and_law · Post #160 · 09.11.2023 г., 08:04

Scarlett Johansson Sues AI App for Unauthorized Voice Cloning in Ad Hello, dear subscribers! Scarlett Johansson is taking legal action against an AI app developer for using her voice in an online ad without her consent. The ad in question featured an AI-generated version of Scarlett Johansson's voice endorsing an AI image editor, Lisa AI: 90s Yearbook & Avatar. The 22-second ad began with the real Johansson and then transitioned to an AI-generated voice imitating her. The actress's representatives stated that Johansson was not associated with the app in any capacity. Her attorney is pursuing legal action to address the situation. As AI technology continues to advance, cases of unauthorized use of celebrity voices and likenesses are expected to increase, raising questions about the boundaries of AI in media and advertising. #ScarlettJohansson#AI#VoiceCloning#LegalAction

AI & Law

@ai_and_law · Post #322 · 05.06.2024 г., 07:04

Schumacher Family Awarded €200,000 Over AI-Generated Interview Michael Schumacher's family has been awarded €200,000 ($217,000) in compensation by a German magazine that falsely claimed to have conducted an exclusive interview with the Formula One legend. Die Aktuelle published the interview last April, suggesting it was an exclusive with Schumacher, who has not appeared in public since a serious brain injury from a skiing accident in December 2013. The end of the article revealed the interview to be entirely generated by AI. The Schumacher family pursued legal action, resulting in a settlement confirmed by the Munich Labor Court. Funke media group, which owns Die Aktuelle, apologized and terminated the contract of the editor-in-chief responsible for the publication. The family continues to maintain strict privacy regarding Schumacher's condition, with limited information shared even in a recent Netflix documentary about his life and career. #Schumacher#FormulaOne#AI#Privacy#LegalAction

AI & Law

@ai_and_law · Post #161 · 10.11.2023 г., 08:04

Artist Lawsuit Over AI Image Generators Faces Challenges Hello, dear subscribers! In the ongoing lawsuit against AI image generators by artists, several claims were dismissed by US district Judge William H. Orrick. Notably, two of the three plaintiffs in the case had not registered their disputed works with the Copyright Office, leading to the dismissal of their claims. However, the lead plaintiff, Sarah Andersen, has 30 days to amend her complaint and continue the copyright dispute. The artists allege that AI image generators infringe on their copyrights, claiming direct and vicarious infringement, violations of the Digital Millennium Copyright Act, and California laws related to unfair competition and rights to publicity. They argue that AI-generated images should be considered derivative works based on copyrighted content. While the case proceeds, the judge has called for clarification on how image generators work, especially regarding "compressed copies" of images and the operation of AI systems like Stable Diffusion. The lawsuit remains complex, with the core claim of direct copyright infringement proceeding against Stability AI but not against DeviantArt and Midjourney. The artists will need to address the many issues identified in their claims, including specifics regarding copyright management information and rights of publicity. #AIImageGenerators#CopyrightLawsuit#AIandArt#LegalAction

Crypto M - Crypto News

@CryptoM · Post #65344 · 13.04.2026 г., 01:32

🚀 WLFI Denies Justin Sun's Allegations of Token Contract Vulnerability Justin Sun recently accused the WLFI token contract of having a 'backdoor' that allows for arbitrary freezing of user assets. According to ChainCatcher, WLFI officials have denied these allegations and announced plans to pursue legal action.WLFI representatives stated that Justin Sun's accusations are defamatory and unfounded, portraying himself as a 'victim.' They noted that such public accusations are not new. WLFI claims to have gathered relevant contract and evidence materials and intends to confront Justin Sun in court. #WLFI#JustinSun#TokenContract#Backdoor#FreezingAssets#Defamation#LegalAction#ChainCatcher#Court

Crypto M - Crypto News

@CryptoM · Post #64536 · 09.04.2026 г., 06:43

🚀 Odin Fun Addresses Security Breach with Multiple Measures Odin Fun co-founder Bob Bodily announced that several initiatives are underway to address the recent security breach. According to Foresight News, the platform is being restored to its pre-attack state, and efforts are being made to retrieve large cryptocurrency withdrawals made after the incident. The company is collaborating with law enforcement and exchanges to track and freeze the attackers' funds and is preparing for legal action. Coordination is also ongoing with other Bitcoin protocols affected by third-party smart contract vulnerabilities. The vulnerability has been identified, fixed, verified, and redeployed. A comprehensive third-party smart contract audit is in progress. Odin Fun is maintaining continuous communication with the main community to reach the best solution and is discussing with users the optimal path for platform relaunch. Previously, on April 1, Odin Fun experienced an unusual large-scale sell-off, primarily involving a few meme coins like BURRITO and CRYPTOBURG. Subsequently, multiple users reported abnormal account balances and unauthorized withdrawals of BTC and tokens. #OdinFun#SecurityBreach#Cryptocurrency#SmartContracts#LawEnforcement#Bitcoin#CryptoSecurity#ForesightNews#PlatformRestoration#LegalAction#CommunityCommunication#ThirdPartyAudit#BTC#UnauthorizedWithdrawals#MemeCoins#BURRITO#CRYPTOBURG