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 слични објави

Пребарај: #discrimination

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

@ai_and_law · Post #93 · 24.08.2023 г., 07:04

Historic Settlement: EEOC Resolves AI-Driven Age Discrimination Case The Equal Employment Opportunity Commission (EEOC) has reached a groundbreaking settlement with iTutorGroup for $365,000 over allegations of AI-driven age discrimination. This marks the first-ever settlement against AI-powered recruitment tools in the US. The EEOC filed the lawsuit in May 2022, accusing iTutorGroup of using an algorithm that automatically rejected older job applicants based on their age. Women over 55 and men over 60 were disproportionately affected by this automated process, which violated the Age Discrimination Act's protections for individuals aged 40 and above. With litigation initiated in the U.S. District Court for the Eastern District of New York, the EEOC's efforts to conciliate prior to legal action were unsuccessful. As a result, the case was set for a settlement conference in October 2023. However, the EEOC has now settled the case for $365,000, underlining the significance of this legal victory. As part of the consent decree, iTutorGroup is barred from automatically rejecting candidates based on age or gender. The company is required to adhere to non-discrimination laws and collaborate with the EEOC to establish policies that prevent unlawful discrimination in the future. This lawsuit is likely to set a precedent for future cases involving HR Tech tools. The ongoing regulatory focus on automated employment decisions calls for responsible and compliant AI use to avoid legal consequences and uphold fairness. #AI#Law#LegalTech#EqualOpportunity#Discrimination#AIEthics

AI & Law

@ai_and_law · Post #94 · 25.08.2023 г., 07:04

US: New Federal Privacy Bill Aims to Safeguard Against AI-Driven Discrimination Greetings! Senator Maria Cantwell, head of the Senate Commerce Committee, has highlighted that her introduced federal privacy bill could serve as a protective shield against discrimination fueled by artificial intelligence. Speaking at the Washington state's Future of AI forum, she underscored both the potential of AI and the necessity for "guardrails" to prevent potential risks. Cantwell expressed concerns about AI's potential discriminatory applications, which might lead to unfair employment or loan practices. She emphasized the importance of her privacy legislation, designed to safeguard individuals from such biases. While not providing specific details during the forum, Cantwell's spokesperson indicated that she was referring to the Consumer Online Privacy Rights Act, initially introduced in 2019 and re-introduced in 2021. The bill proposes several key provisions, including requiring companies to obtain consumers' opt-in consent for behaviorally targeted ads and prohibiting discriminatory ad targeting based on factors such as race, religion, or sex. The legislation also aims to hold companies accountable for using algorithms in housing, education, job, or credit ads. Cantwell's advocacy reflects a growing awareness of the need to regulate AI applications to ensure fairness and protect individuals' rights. #AI#Privacy#Discrimination#Legislation#AIEthics#Law

International News

@intnewsagency · Post #9359 · 24.04.2026 г., 05:31

Lithuania Bans Property Purchases by Russians and Belarusians The Lithuanian Parliament committee has approved a ban on Russian and Belarusian citizens buying real estate in Lithuania. Exceptions apply only to those already residing in the country, but transactions near military sites remain prohibited. This broad ban targets nationality rather than specific sanctioned individuals. Previously, Lithuania tightened rules by revoking residence permits from Russians visiting their homeland. #Lithuania#Russia#Belarus#RealEstate#Discrimination The main news of Russia and the world ishere.

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40646 · 10.02.2026 г., 23:01

In 1968, teacher Jane Elliott divided her students by eye color (blue vs brown) to show how discrimination works. One group was labeled “better” and given privileges. The other was treated as “worse.” Children quickly changed behavior and school performance, proving how labels and power create prejudice. 🧠👀 (Read more 1) (Read more 2) @googlefactss #Psychology#SocialExperiment#JaneElliott#Discrimination#Education#History

Sos Donbass

@sos_donbass · Post #1604 · 09.07.2025 г., 12:22

🔴 APPEL À SOLIDARITÉ JURIDIQUE L’association Sos Donbass recherche un avocat engagé, prêt à défendre ses intérêts gracieusement face à des cas de discrimination préoccupants. ➡️ Refus d’ouverture de compte bancaire, alors même que la loi française garantit ce droit à toute personne morale ou physique. ➡️ Fermeture arbitraire de plateformes de dons telles que HelloAsso, AssoConnect, Stripe, nous empêchant de mener à bien nos actions humanitaires. 🎯 Si vous êtes avocat ou connaissez un professionnel prêt à s’engager pro bono pour La Défense de nos droits fondamentaux, contactez-nous. 📩 [email protected] 📨message privé 🙏 Merci de partager cet appel autour de vous. Ensemble, faisons valoir la justice. #AppelAvocat#Discrimination#SOSDonbass#DroitsFondamentaux#Solidarité#ProBono