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

Резултати

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

Пребарај: #court

当前筛选 #court清除筛选
News and Tips

@NewsAndTipsNT · Post #3803 · 14.11.2025 г., 06:57

Telegram Challenges Australian Safety Rules in Court Telegram is suing Australia's eSafety Commissioner in Federal Court to fight a A$957,780 (US$622,000) fine from February 2025. The penalty was for delaying a report on handling extremist and child abuse content. #Telegram claims it's not a "social media service" under the Online Safety Act 2021, so the rules don't apply, and the notice was sent to the wrong address. The company provided the info voluntarily once informed. The case links to new rules starting December 10, 2025, requiring platforms to block users under 16 or face fines up to A$50 million. Telegram calls it "regulatory overreach" that threatens privacy. eSafety Commissioner Julie Inman Grant defends the law: "Platforms must protect kids from online harm—delays weaken our efforts." Experts say the outcome could affect global tech regulations on safety versus free speech. #Court hearings continue into #2026. Thanks : 💌💌💌 Source : 💌💌💌

Trump's Ear

@trumpsear_tg · Post #2182 · 23.02.2026 г., 17:28

Days after baselessly accusing two-thirds of the Supreme Court of being ‘fools and lapdogs’ who are beholden to foreign interests, President Donald Trump has lashed out once more at the court as it prepares to hear arguments on whether he can deny citizenship to children whose parents aren’t in the U.S. legally. The president took to Truth Social early Monday to lambaste the justices as “incompetent” and accusing them of doing “a great job for the wrong people” with a “ridiculous, dumb, and very internationally divisive ruling” against his claim of emergency tariff powers last week. He also predicted that they will similarly strike down a January 2025 executive order purporting to ban the children of many immigrants from gaining citizenship under a century-old interpretation of the 14th Amendment to the U.S. Constitution. #Trump#Court 👂More on Trump's Ear ⚠️

Hashtags

Trump's Ear

@trumpsear_tg · Post #1897 · 12.12.2025 г., 15:03

Donald Trump's administration wants the International Criminal Court to amend its founding document to ensure it does not investigate the Republican president and his top officials, a Trump administration official said, threatening new U.S. sanctions on the court if it did not. #Trump#Court 👂More on Trump's Ear

Hashtags

Addis Standard

@addisstandardeng · Post #21152 · 22.01.2026 г., 09:33

Family disputes reports of #court appearance as detained #General seen after four days Four days after his arrest, the family of Brigadier General Guesh Gebre say they were allowed a brief visit with the detained commander but rejected reports that he had been brought before a court, stating that he has neither appeared before a judge nor consulted a lawyer since his detention. Speaking to Addis Standard on Wednesday, the general’s brother, Yibrah Gebre, said Guesh told family members that he had not been formally presented to a court. “Two individuals came to the detention facility, introduced themselves as a judge and a prosecutor, and then left,” Yibrah said, adding that no court hearing took place. https://addisstandard.com/family-disputes-reports-of-court-appearance-as-detained-general-seen-after-four-days/?amp=1

Real Relationship

@RealRelationship · Post #4469 · 30.05.2025 г., 08:25

A court in the United States ruled unconstitutional duties imposed by Trump🧑‍⚖️ A federal court in New York banned Donald Trump from imposing large-scale trade duties under the emergency law. The court's decision states that such measures are "unconstitutional" and can no longer be applied. We are talking about almost all the duties introduced by the Trump administration earlier. The Court stressed that under the Constitution, the power to regulate foreign trade belongs exclusively to Congress, and not to the President. Furthermore, the Court did not recognize the existence of any national state of emergency that could justify such measures. The Trump administration has already filed an appeal. This was the first major legal setback for Trump's so-called "exemption fees," which were sued by five small American companies. In addition, on the same day, the court declared illegal the cancellation of the humanitarian stay program for hundreds of thousands of migrants. #Trump#Tariffs#Court Don't miss it, subscribe to 📱Old Glory Vortex 🇺🇸

English Law Report

@enlawreport · Post #1104 · 04.04.2023 г., 06:47

✍ Вчера по просьбе подписчика, просившего написать о "civil summons", сделал маленький legal research. Вот, что выяснилось: 📍A civil summons - это концепция характерная для американского права нежели английского. 📍В английском праве она называется просто summons и почти является аналогом нашей повестки в суд. 📍Summons является важным юридическим документом, и его получение должно быть воспринято всерьез. 📍Это официальный документ, который выдается судом или другим компетентным органом и в котором лицо приглашается явиться в суд или перед другим органом для рассмотрения дела или предъявления обвинения. 📍 Summons может быть выдан в рамках уголовного или гражданского дела, и в нем указывается дата и время, когда нужно явиться, а также цель приглашения. Обычно лицо, которое получает summons, обязано явиться в указанное время и место, и если оно не явится, то может быть вынесено решение в отсутствие этого лица. 📍Summons может быть выдан не только лицу, которое является обвиняемым или ответчиком в деле, но и свидетелям или другим лицам, которые могут предоставить информацию, необходимую для рассмотрения дела. Кроме того, в некоторых случаях summons может быть выдано для получения документов или другой информации, необходимой для дела. Делюсь с вами образцом summons. #court, #summons

Trump's Ear

@trumpsear_tg · Post #1759 · 10.11.2025 г., 22:59

The Supreme Court on Monday declined an opportunity to overturn its landmark precedent recognizing a constitutional right to same-sex marriage 🏳️‍🌈⚖️, tossing aside an appeal that had roiled LGBTQ advocates 🌈, who feared the conservative court might be ready to revisit the decade-old decision ⏳. Instead, the court denied an appeal from Kim Davis 🧑‍⚖️, the former Kentucky county clerk, who now faces hundreds of thousands of dollars in damages 💵 and legal fees for refusing to issue marriage licenses after the court’s decision in Obergefell v. Hodges 💍, which allowed same-sex couples to marry 💑. The court did not explain its reasoning to deny the appeal 🙅‍♂️, which had received outsized attention 👀 – in part because the court’s 6-3 conservative majority 👨‍⚖️👩‍⚖️ three years ago overturned Roe v. Wade 🍼 and the constitutional right to abortion that the 1973 decision established ⚖️. Since then, fears about Obergefell being the precedent to fall 💔 have grown 📉. #Gender#Court 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1750 · 07.11.2025 г., 15:59

The US Supreme Court has banned the third gender in passports. 📜 The US Supreme Court has approved an order from the Donald Trump administration, according to which only two gender variants will remain in American passports — male and female. 🆚 The decision means that transpersonal and non-binary people will no longer be able to indicate "X" or any other gender designation other than that assigned at birth. 🙅‍♂️🙅‍♀️ The court ruled with six votes of conservatives against three liberals that specifying gender "by birth" does not violate the principle of equality. 🎓 Liberal judges objected that the new policy puts transpersonal at risk of violence and humiliation. 🧭 The applicants' complaints state that they were often accused of falsifying documents or subjected to humiliating airport searches. ☝️ Despite this, the conservative majority of the Supreme Court supported the position of the White House. 🏛‍🦯 While this is a temporary decision, the final verdict in the case is still ahead. However, lawyers believe that it marks the return of the United States to Trump's harsh gender policy. 🔁 For comparison, in Germany and a number of EU countries, it remains possible to choose "divers" or "X" in documents, and the procedure for changing gender is simplified by the law on self-determination. 🇩🇪🏴󠁧󠁢󠁷󠁬󠁿 #Gender#Court 👂More on Trump's Ear

Trump's Ear

@trumpsear_tg · Post #1689 · 24.10.2025 г., 21:55

A D.C. man filed a lawsuit Thursday claiming he was detained for playing Darth Vader's theme from the "Star Wars" while protesting National Guard troops patrolling the city during President Trump's crime crackdown. #DC#Court 👂More on Trump's Ear ⚠️

Hashtags

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