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

Резултати

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

Пребарај: #safety

当前筛选 #safety清除筛选
Bali News

@balinews · Post #537 · 05.12.2025 г., 15:00

📰 Tragedy at Sangeh Monkey Forest 🐒 A large old nutmeg tree fell during a severe storm at the Pura Bukit Sari temple within Sangeh Monkey Forest. What happened: ▪️ The tree crushed a bale gong pavilion where staff were sheltering. ▪️ A 51-year-old guide, Ida Bagus Nyoman Suamba, died. ▪️ A second staff member was injured. ▪️ Damage is estimated at ~1 billion IDR. 😔 An eyewitness reported leaving the pavilion with a colleague moments before the collapse, which saved them. A recurring danger: Last year, a similar incident in Ubud's Monkey Forest killed two tourists. Safety reminder for rainy season: ✅ Do NOT shelter under old tall trees during storms. ✅ Be aware of your surroundings. ✅ Heed staff warnings. #safety#accidents@BaliNews

Kursiv Uzbekistan (Eng)

@kursivuzeng · Post #2704 · 04.03.2026 г., 11:00

⚖️ Uzbekistan Considers Life Sentences for Child Sexual Offenders 🚨 Uzbekistan is proposing tougher penalties for child sexual offences, including the possibility of life imprisonment for convicted offenders. The measures were presented to President Shavkat Mirziyoyev during a meeting on protecting the rights of women and children. 📜 Authorities also suggest preventing convicted offenders from being transferred to lower-security prisons and shifting investigations of certain sexual crimes from police to the prosecutor’s office. 👩‍⚖️ Under the proposals, only specially trained lawyers, investigators and judges would handle cases involving violence against women and children, alongside stricter penalties for sexual harassment. 📱 To better protect women with restraining orders, officials propose installing an “SOS” emergency application on their phones to quickly request help. #Safety#Security

Kursiv Uzbekistan (Eng)

@kursivuzeng · Post #2701 · 04.03.2026 г., 06:03

🚨 Pakistan and Afghan Forces Clash Along Border, 42 Civilians Killed ⚔️ Pakistani and Afghan forces exchanged fire at several points along their 2,600-km border, with the United Nations mission in Afghanistan reporting at least 42 civilians killed and 104 wounded during six days of fighting. ✈️ Tensions escalated after Pakistan launched air strikes on Afghan cities last week. Islamabad said it targeted Bagram air base north of Kabul, claiming intelligence showed militants were using the site to support attacks on Pakistani forces. 🔥 Clashes have spread across the frontier, with Afghanistan saying Taliban fighters seized a Pakistani military post near Kandahar, while Pakistan reported fighting at more than two dozen locations and strikes on facilities in Jalalabad and Nangarhar. 🏠 The UN warned the violence has displaced around 16,400 households and disrupted humanitarian aid in areas already struggling after recent earthquakes, urging both sides to halt the fighting and prevent further escalation. #Safety#Security

Kursiv Uzbekistan (Eng)

@kursivuzeng · Post #2685 · 28.02.2026 г., 08:34

🕊 Uzbekistan Calls for Ceasefire After Afghanistan–Pakistan Border Clashes ⚠️ Uzbekistan expressed concern over escalating violence along the Afghanistan–Pakistan border, urging both sides to immediately cease fire and resolve disputes through peaceful, diplomatic means. 💥 Clashes began on February 26 after Pakistan accused Afghan forces of firing on its border posts, while Kabul said its actions were retaliation for Pakistani air strikes on February 22 targeting militant groups. ✈️ During the fighting, Pakistan reportedly struck Kabul, Kandahar, and other Afghan-controlled areas. Afghan officials later expressed openness to negotiations. 💀 Casualties reported include over 270 Taliban militants killed by Pakistan and 55 Pakistani deaths, according to Afghan authorities. 🕌 Pakistan claims the Afghan Taliban shelter Tehrik‑e‑Taliban Pakistan leaders, a charge Kabul denies. The U.S. has voiced support for Pakistan, citing Taliban failures to combat terrorism. #Safety#Security

Kursiv Uzbekistan (Eng)

@kursivuzeng · Post #2684 · 28.02.2026 г., 07:32

🚨 Israel Strikes Iran Amid Rising Nuclear Tensions 💥 Israel launched a pre-emptive strike on Iran, targeting nuclear and missile sites, escalating Middle East tensions and threatening diplomatic efforts. 🛡 Defence Minister Israel Katz said the operation aimed to “remove threats to the State of Israel,” and was planned months in coordination with the U.S. 🌆 Explosions were reported in Tehran, while sirens sounded across Israel warning of possible missile retaliation. Schools and workplaces were closed, and civilian air traffic halted. ⚠️ The strike follows a June air war and comes amid stalled negotiations over Iran’s nuclear programme. Israel demands full dismantling of nuclear infrastructure and limits on missiles. 💣 Iran warned it would respond to attacks and could target U.S. bases in the region. Western nations say Iran’s missile programme threatens stability, while Tehran denies seeking nuclear weapons. #Safety#Security

Anthropic предупреждает мир об угрозе кибербезопасности AI. А сам случайно теряет 3000 документов. Два дня назад исследователи из LayerX и Cambridge нашли открытый CMS Anthropic. Почти 3000 неопубликованных документов — в том числе черновик блога о новой модели Claude Mythos. Не один файл — вся база была публичной. Что теперь известно о Mythos: — Тир «Capybara» — выше Opus, крупнее, дороже — «Step change in performance» (значимое увеличение производительности), «most capable we've built» — «Far ahead of any other AI model in cyber capabilities» — Конкретных бенчмарков — ноль. Только формулировки. Может и «утечка» не случайная? Я плачу $200/мес за Opus 4.6, иногда 300. Мои 32 проекта — всё на Claude. Жду Митос — он будет следующим шагом. Ну а пока надо бы поручить опусу проверить безопасность в моих проектах) #ClaudeCode#safety

Bali News

@balinews · Post #505 · 07.10.2025 г., 09:05

📰Denpasar strengthens flood protection and reinforces riverbanks ℹ️ Following the September flood when the Badung River overflowed, Denpasar authorities are intensifying measures to protect the city from floods and inundations. A temporary dam made of sandbags has been set up at the mouth of the Ayung River to control water flow and safely restore damaged embankments. ⚠️ Meteorologists also warn of possible tidal flooding along Bali’s coasts from October 7 to 11. #weather#safety@BaliNews

Kursiv Uzbekistan (Eng)

@kursivuzeng · Post #2671 · 27.02.2026 г., 05:04

⚠️ Afghanistan and Pakistan Enter “Open War” After Air Strikes on Kabul 💥 Pakistan has carried out air strikes on Kabul and Kandahar following a sharp escalation in cross-border fighting. According to Al Jazeera, warplanes launched two raids on the Afghan capital early Friday and also struck a military base in Kandahar province. 🗣 Pakistani Defence Minister Khawaja Asif declared the situation an “open war” after Afghan Taliban forces reportedly launched retaliatory attacks on Pakistani military posts along the Durand Line. Taliban spokesperson Zabihullah Mujahid claimed dozens of Pakistani soldiers were killed and several captured. Islamabad rejected the claims, saying its counter-strikes hit Taliban headquarters and ammunition depots, killing at least 133 fighters. ⚔️ Militarily, Pakistan holds overwhelming conventional superiority with more than 600,000 active personnel, advanced air power and nuclear capability. The Taliban commands an estimated 100,000 to 150,000 fighters and lacks a functional air force or modern air defence systems, despite inheriting U.S. military equipment in 2021. 🌍 The crisis follows earlier Pakistani strikes in Nangarhar and Paktika targeting alleged TTP sanctuaries. Kabul said those attacks killed at least 18 civilians. A fragile ceasefire brokered in October has now collapsed, with both sides trading accusations over militant safe havens and cross-border attacks. #News#Safety#Security

Hulumarket - Buy & Sell Easily

@hulugramupdate · Post #284 · 16.02.2026 г., 14:51

⚠️ ከሁሉ ማርኬት እቃ ስናዝ ማድረግ ያለብን ጥንቃቄዎች 🚨 ✔️ የሻጩን ማንነት በደንብ ማጣራት ✔️ዋጋ ማጣራት (ስለረከሰ ብቻ ጥራታቸውን ሳናረጋግጥ መግዛት የለብንም) ✔️ከኣጭበርባሪዎች እራስዎን ይጠብቁ❗️ (እቃውን ከመረከብዎ በፊት ሂሳብ እይክፈሉ) ✔️ስለ የሚገዙት እቃ ግልፅ ማብራሪያ እንዳለው ማየት (ማንኛውንም እቃ ከመግዛትዎ በፊት የዕቃውን ዝርዝር መረጃ ማንበብ አይርሱ) 💥 📱PlayStore ላይ አፕሊኬሽኑን ያውርዱ ወይም 🌐hulumarket.com.et ን ይጎብኙ #Hulumarket#onlineshopping#safety

Google Facts™ [ ️@googlefactss🌎]

@googlefactss · Post #40359 · 19.12.2025 г., 03:02

Before 1956, kids could get trapped inside refrigerators because doors only opened from outside. The Refrigerator Safety Act changed this, requiring doors to open easily from inside. UL tests make sure doors open with a push from inside. [Read more] @googlefactss 🧊🚪⚠️#Safety#ChildSafety

BadVolf

@badvolfnews · Post #2034 · 10.02.2025 г., 11:33

**Update:** In Krasnodar Krai, an unmanned aerial vehicle has crashed near a private house in Afipsky settlement, Seversky district. Governor Veniamin Kondratyev reported this incident through his Telegram channel, confirming no casualties and that emergency services are on-site assisting affected parties. Local authorities are working to restore property damaged by the crash. Meanwhile, another drone incident occurred nearby, with fragments hitting a residential complex known as 'Central.' A detailed room-by-room inspection is underway to assess any structural damage to buildings in the area. Since 2022, drones have been utilized in Russia's regional operations as part of their special military efforts against Ukraine. Ukraine has not officially confirmed involvement but provided support and information about potential increases in drone activity. Earlier reports indicated that Insta, a Finnish defense company, had developed a new kamikaze drone for Ukrainian use. #Safety#Incident

ПретходнаСтраница 1 од 4Следна