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

Резултати

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

Пребарај: #australia

当前筛选 #australia清除筛选

🇦🇺Bestialidad policial contra manifestantes propalestinos en Australia Un ejemplo más de cómo se comportan las naciones 'civilizadas' del mundo occidental. ¿Libertad de expresión, respeto por los DDHH, profesionalismo en el deber? Términos desconocidos para la Policía de Nueva Gales del Sur a juzgar por las imágenes. Las protestas reventaron tras la invitación de Canberra al presidente israelí Isaac Herzog a Sídney para 'honrar' a las víctimas del ataque terrorista en Bondi Beach. Es decir, uno de los responsables del genocidio en Gaza que se ha cobrado la vida de más de 70.000 civiles —según cifras conservadoras— fue a Sídney a 'llorar' por las víctimas mortales de un ataque terrorista. ¿Recuerdan aNetanyahu responsabilizando al Gobierno australiano del ataque terrorista? Pues parece que Canberra bajó la cabeza y ha empezado a acatar las órdenes de Tel Aviv. La visita de Herzog no tiene nada que ver con las víctimas de Bondi Beach, sino con su misión de constatar en el terreno la sumisión de Australia. El comisionado de Policía de Nueva Gales del Sur, Mal Lanyon, dice que se ha disculpado con los líderes de la comunidad musulmana"por cualquier ofensa que pueda haberse tomado" tras la paliza dada por sus efectivos a los manifestantes de la protesta. El primer ministro australiano Chris Minns rechazó la sugerencia de que la Policía actuó desproporcionadamente contra la comunidad musulmana. Dar palizas a manifestantes desarmados sí pueden, pero actuar de forma eficiente contra los terroristas de Bondi Beachya eso es otra cosa. #australia ——— Únete a la lucha por la verdad en 📱Telegram 🫥Odysee 📱X (Twitter)

Hashtags

🇺🇦 Más ataúdes de hierro con orugas llegarán a Ucrania Australia ha entregado a Polonia los últimos 12 de 49 tanques Abrams para Ucrania, después de que pasaran 55 días en el mar en un barco comercial desde Geelong. Los tanques se entregaron sin ninguna modificación, ni jaulas para drones. No durarán mucho en el campo de batalla moderno contra los drones rusos. De esta forma, Australia se deshace de sus obsoletos tanques de la forma más económica, mientras recibe nuevas máquinas más modernas desde EEUU. Tremendo negocio es este conflicto ucraniano para los aliados. #australia ——— Únete a la lucha por la verdad en 📱Telegram 📱YouTube 📱X (Twitter)

Hashtags

🔞 Advertencia: imágenes sensibles 🔞 🇮🇱Israel culpa a Irán del ataque terrorista de Bondi Beach en Australia Los medios israelíes, citando a 'fuentes de inteligencia', están impulsando la narrativa de que Irán está detrás del ataque terrorista de Sydney. Y aunque el portavoz del Ministerio de Relaciones Exteriores de Irán, Esmail Bagaei, condenó enérgicamente el violento ataque de Sydney, rechazando el terrorismo y la matanza de inocentes dondequiera que ocurra, EEUU emitió un comunicado: 🗣 "Si el ataque en Australia fue dirigido por Irán, Israel tiene plena legitimidad de EEUU para atacar a Irán", dijo una fuente senior de EEUU a Fox News. ▪️ Pero la evidencia sugiere que es poco probable que Irán estuviera detrás del ataque de Bondi Beach: En una publicación de Facebook de 2022 muestra a uno de los atacantes, Naveed Akram, estudiando la recitación del Corán (tajwīd) bajo un maestro salafista. ▪️ La foto proporciona varias pistas clave: 1. Los libros detrás de él están claramente escritos por importantes eruditos salafistas-wahabíes Se pueden ver títulos de Ibn Baz, Uthaimin y otros eruditos asociados con el salafismo saudí/wahabí, una secta que es abiertamente hostil hacia Irán, el Islam chií y el Estado iraní. 2. Su maestro es parte de una institución salafista La publicación del instructor elogia la maestría de Akram en tajwid según las metodologías suníes clásicas comúnmente utilizadas en los círculos salafistas. En conjunto, el material apunta hacia la influencia ideológica suní-salafista, NO la influencia iraní/chií. Esto no prueba un motivo, pero contradice directamente la afirmación de que el atacante estaba actuando en nombre de Irán, un Estado y una tradición religiosa que los salafistas suelen considerar heréticos. Por cierto, durante el ataque terrorista un testigo logró desarmar a uno de los atacantes, pero cometió el error de dejarlo ir. El tirador no apreció su nobleza, simplemente regresó a su cómplice en el puente, tomó otro rifle y comenzó un tiroteo con el que le había quitado su arma. Como resultado, el testigo primero recibió una herida de bala en la mano y luego en la espalda al intentar escapar del lugar del tiroteo. Y mientras todo esto sucedía, uno de los policías continuó escondiéndose detrás del automóvil, y solo al final, otro oficial de Policía abrió fuego contra los tiradores por la espalda. #australia ——— Únete a la lucha por la verdad en 📱Telegram 📱YouTube 📱X (Twitter)

Hashtags

ASIANOMICS

@asianomics · Post #5936 · 13.04.2026 г., 16:10

🇦🇺Australia Names First Female Army Chief Australia's government announced that Lieutenant General Susan Coyle will become chief of army in July, replacing Lieutenant General Simon Stuart. Coyle, 55, currently serves as chief of joint capabilities and enlisted in the military in 1987. The appointment marks the first time a woman has led any service branch of the Australian military in its 125-year history. Women currently comprise around 21% of the Australian Defence Force and 18.5% of senior leadership roles, with a target of 25% overall participation set for 2030. The government also confirmed Vice Admiral Mark Hammond as the new head of the Australian Defence Force, succeeding Admiral David Johnston. Rear Admiral Matthew Buckley will take over from Hammond as chief of navy. #Australia @asianomics

Hashtags

ASIANOMICS

@asianomics · Post #5873 · 07.04.2026 г., 13:00

🇦🇺Australia's Top Veteran Faces War Crime Charges Ben Roberts-Smith, Australia's most decorated living veteran and a former Special Air Service Regiment corporal, was arrested at Sydney Airport on Tuesday. He is expected to face war crime charges alleging the murder of five unarmed Afghan nationals during deployments between 2009 and 2012. Australian Federal Police Commissioner Krissy Barrett stated that the alleged victims were detained, unarmed, and under the control of Australian Defense Force members at the time of their deaths. The charges allege that victims were shot either by the accused directly or by subordinate ADF members acting on his orders. Roberts-Smith is only the second Australian Afghanistan veteran to face such charges. The Office of the Special Investigator, which oversaw the process, noted that 53 war crime allegations had been investigated in total, with 39 concluding without charges. #Australia @asianomics

Hashtags

ASIANOMICS

@asianomics · Post #5779 · 25.03.2026 г., 16:57

🇦🇺Diesel Crisis Squeezes Australian Miners, Farmers Rising diesel prices and disrupted fuel distribution linked to the Strait of Hormuz crisis are putting pressure on Australia's resource and agricultural sectors. Industry representatives say smaller miners and farmers are already weighing decisions on whether to scale back operations. The supply disruptions stem from the Strait of Hormuz crisis, which is pushing up fuel prices and interfering with distribution networks reaching key production regions. The impact is being felt most acutely by smaller operators with less capacity to absorb cost increases. Australia's mining and agricultural sectors are heavily dependent on diesel for machinery and transport. Both industries have flagged the situation to industry representatives as a pressing operational challenge. #Australia @asianomics

Hashtags

International Geographic

@internationalgeographic · Post #5670 · 09.05.2025 г., 20:36

📍Melbourne, #Australia🇦🇺 An incredible city that is unofficially the cultural capital 🙂 Before Melbourne became known as Melbourne, it was called Batmania after John Batman, a migrant farmer from Tasmania.

Hashtags

POPULAR FRONT

@popularxfront · Post #5540 · 21.03.2026 г., 13:59

🇦🇺#Australia: Footage shows a prototype VTOL drone with a sleek, elongated, missile like design, resembling Ukraine's P1-SUN platforms. The system is still in development and has not yet been officially named. However the creator has described the system as a "flying sword". The drone launches vertically and reportedly reaches speeds of up to 450 km/h, striking targets using direct kinetic impact with a blade-like front section rather than an explosive payload. The video shows the drone hitting a simulated target, producing a distinct high-pitched "whizzing" sound. The developer claims the design disperses or trails this sound behind the drone, making it difficult to detect by ear until impact. The system is described as modular, with a potential explosive variant still in development. (via @CardilloSamuel on X)

Hashtags

ASIANOMICS

@asianomics · Post #5448 · 01.12.2025 г., 08:40

🇦🇺 Australia to overhaul defense bureaucracy to improve spending, delivery, says minister Australia will reorganize its defense department, forming a Defense Delivery Agency and appointing a national armaments director to improve defense spending and delivery, Defense Minister Richard Marles said on Monday. The changes to start in July next year will merge the existing Capability Acquisition and Sustainment Group, Guided Weapons and Explosive Ordnance Group, and Naval Shipbuilding and Sustainment Group. The new agency will report directly to the defense minister. The reforms "will see a much bigger bang for buck for the defence spend", as Australia plans to spend an extra A$70 billion over the next decade, Marles said. #Australia @asianomics

Hashtags

POPULAR FRONT

@popularxfront · Post #4522 · 15.01.2026 г., 10:27

🇦🇺#Australia: At least 11 pipe bombs were discovered on public paths in Belconnen this week. The explosive devices were found in the vicinity of Lake Ginninderra, between Joynton Smith Drive and Ginninderra Drive.

Hashtags

POPULAR FRONT

@popularxfront · Post #4136 · 14.12.2025 г., 11:17

🇦🇺#Australia: Mass shooting on Bondi Beach, Sydney, during a Hanukkah event. Two shooters. At least 12 people dead, including one shooter. Reports of IEDs found in a car nearby. Footage shows a brave citizen tackling and disarming one of the gunmen.

Hashtags

123•••10•••1617
ПретходнаСтраница 1 од 17Следна