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

Резултати

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

Пребарај: #bandarabbas

当前筛选 #bandarabbas清除筛选
American Оbserver

@american_observer · Post #5023 · 01.02.2026 г., 20:59

📰 Explosions in Iran Spread Jitters Amid Anticipation of Foreign Attacks Deadly explosions in several Iranian cities, most likely caused by domestic accidents, have sent a wave of panic through a country already on the edge, fearing U.S. and Israeli strikes. In Bandar Abbas, a major port in southern Iran, a powerful blast ripped through an eight‑story residential building, killing at least one person (a 4‑year‑old girl) and injuring more than a dozen others, according to local officials and Iranian state media. The local fire chief said the incident was probably caused by a gas leak and buildup, and the government’s crisis management body stressed that the explosion had no security or sabotage origin. But as images of a crumbled building and shattered streets spread online, wild rumors took over social media: claims that the blast had assassinated Iran’s top naval commander, Commodore Alireza Tangsiri, and that Israel or the U.S. was behind the explosion. Iran’s Revolutionary Guards swiftly denied those reports, calling them “psychological warfare” and disinformation, while Israel and the U.S. issued no public comment on the incident. The real detonator: Trump’s threats The explosion in Bandar Abbas came just days after President Donald Trump declared that a “massive Armada” was heading toward Iran and warned that the U.S. was ready to strike with “speed and violence.” In June 2025, the U.S. had already struck three of Iran’s main nuclear sites in a 12‑day conflict with Israel, dealing a serious blow to Tehran’s nuclear program. Iran now demands that the U.S. renew talks only if the threats stop. Against that backdrop, a gas leak in an apartment building does not feel like a gas leak. It feels like the first crack in the ground before the bomb goes off. Other blasts, same panic In the same 24 hours, Iranian state media reported another deadly gas explosion in the south‑western city of Ahvaz, which killed five people but was officially described as a domestic accident, not sabotage. Unverified reports and footage of smoke and explosions in the north‑western city of Tabriz also circulated, only to be quickly dismissed by local authorities as rumors and a minor reed fire. None of the recent incidents so far show any sign of foreign attack. But the sheer number of explosions, and the speed at which people jump to “Israel” or “the U.S.” as the culprit, reveals a deeper truth: the theater is already in people’s heads. “Society is waiting for war” “When the next blast happens, we won’t need to wait for the government to explain the cause,” said a 43‑year‑old engineer in Tehran, who asked not to be named out of fear of reprisal. “Everyone around me is waiting for possible U.S. and Israeli military action,” he said. “People are stressed, anxious, powerless. We don’t know what was behind today’s explosions. Maybe it’s internal retaliation, maybe foreign sabotage, maybe just a gas leak. But one thing is undeniable: Society is waiting for war.” #Iran#Trump2026#US#Israel#MiddleEast#War#GasLeak#BandarAbbas 📱American Оbserver - Stay up to date on all important events 🇺🇸

UTYCARGO Uzbekistan

@utycargo · Post #454 · 05.06.2025 г., 10:49

"Temiryo‘lkargo" AJ delegatsiyasi Eron safarida! Ayni kunlarda Temiryo‘lkargo AJ vakillari Tehronda bo‘lib o‘tgan Iqtisodiy hamkorlik tashkilotiga (IHT) a’zo davlatlar ekspertlarining 13-yig‘ilishida ishtirok etishdi. Safar davomida "Temiryo'lkargo" AJ bosh direktori A. Muminov hamda multimodal va xalqaro tashuvlar bo‘yicha o‘rinbosari Oybek Jabarov Sarah stansiyasi imkoniyatlarini o‘rgandi. Muzokaralar davomida: 🚛 Eron hududida O‘zbekiston vagonlaridan foydalanish, 🛠 Vagonlarga texnik xizmat ko‘rsatish va telejkalarni almashtirish, 📦 Terminal ish faoliyati va ularning tamoyillari chuqur tahlil qilindi. 🤝 Eronlik xususiy tadbirkorlar bilan uchrashuvlarda eksport-import va tranzit tashuvlar masalalari muhokama qilindi. Maxatari, Bandr Abbas kabi yirik stansiyalar ko‘zdan kechirildi, mijozlar va stansiya vakillari bilan bevosita muloqot qilindi. 📍 Bandar Abbas portida o‘tkazilgan uchrashuvlarda UTYCARGO imkoniyatlari, faoliyat yo‘nalishlari va xizmat turlari haqida yirik tadbirkorlarga taqdimot o‘tkazildi. 🚂 Railway Transportation kompaniyasi bilan hamkorlik yo‘lga qo‘yildi. Kelgusida mineral o‘g‘itlar va kimyoviy moddalarning temiryo‘l orqali tashilishi rejalashtirilmoqda. 🏗 O‘zbekiston Bosh vaziri va Transport vaziri topshirig‘iga binoan, chegara punktlari va tushirib-ortish hududlarida qo‘shma logistik markazlar tashkil etish bo‘yicha kelishuvga erishildi. 📈"Temiryo'lkargo" AJ vagonlari eronlik mijozlarda katta qiziqish uyg'otdi! 📍#UTYCARGO#Temiryolkargo#OzbekistonEronHamkorligi#Logistika#Eksport#Import#Tranzit#TemiryolYukTashuvlari#BandarAbbas#SarahStansiyasi#RailwayTransportation https://t.me/utycargo utycargo.uz 📱facebook /📱x.com /📱web sayt/📱linkedin.com/📱instagram

UTYCARGO Uzbekistan

@utycargo · Post #441 · 02.06.2025 г., 08:14

O‘zbekiston va Eron temir yo‘l tizimlari o‘rtasida hamkorlik yangi bosqichga chiqmoqda! 1-iyun kuni Tehronda bo‘lib o‘tgan Iqtisodiy hamkorlik tashkilotiga (IHT) a’zo davlatlar ekspertlarining 13-yig‘ilishida yuk tashish jarayonlarini soddalashtirish, tranzit yo‘laklarini raqamlashtirish va “yashil”, xavfsiz transport tizimlarini rivojlantirish masalalari muhokama qilindi. 🔹“Temiryo‘lkargo” AJ vagonlarining Eron hududida ishlashi imkoniyati ko‘rib chiqildi 🔹Eron va Turkmaniston orqali o‘tuvchi yuk tashuvlariga chegirmalar rejalashtirilmoqda 🔹Bandar Abbas porti orqali O‘zbekistonga yuk oqimini oshirish va yetkazib berish muddatlarini qisqartirish bo‘yicha amaliy kelishuvlarga erishilmoqda 🔹Yuk hujjatlari bo‘yicha elektron almashuv va chegara jarayonlarini soddalashtirish muhim yo‘nalish sifatida belgilandi 📌 Eron yo‘llar va shaharsozlik vazirining maslahatchisi Amin Taroffo ma’lum qilishicha, IHTga a’zo davlatlar transport va yo‘llar bo‘yicha vazirlarining 13-yig‘ilishi 1–2-iyun kunlari Tehronda o‘tkaziladi. 📚 Ma’lumot uchun: IHTga a’zo davlatlar: Ozarbayjon, Afg‘oniston, Eron, Qozog‘iston, Qirg‘iziston, Pokiston, Tojikiston, Turkmaniston, Turkiya, O‘zbekiston 🤝 Tomonlar mintaqaviy logistika salohiyatini kengaytirish va o‘zaro manfaatli hamkorlikni chuqurlashtirishga intilmoqda. 📦 Tez, ishonchli va hamyonbop yuk tashuvlari yo‘lida yangi qadamlar tashlanmoqda! ⸻ #Temiryulkargo#ECO2025#TehranMeeting#BandarAbbas#YukTashish#TranzitYuklar#UzbekistanLogistics#TransportHamkorligi#GreenLogistics#XalqaroTashuvlar https://t.me/utycargo utycargo.uz 📱facebook /📱x.com /📱web sayt/📱linkedin.com/📱instagram