TGTGInsighttelegram intelligenceLIVE / telegram public index
← Python Заметки

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #424 · 13 апр.

Стандартная библиотека asyncio это стандарт (начиная с Py3.4) для работы с асинхронным кодом. Но эта библиотека достаточно низкоуровневая, со своими проблемами, устаревшими подходами. Чтобы исправить это, были созданы разные обертки и альтернативы с реализацией популярных инструментов и паттернов асинхронного программирования. Это такие библиотеки как: - trio: улучшает корректность выполнения, не оставляя потерянных корутин при ошибках, то есть предлагает Structured Concurrency из коробки. - curio: упрощение синтаксиса и читаемости кода, больше похоже на работу с потоками. - anyio: универсальная обертка над asyncio или trio плюс множество вспомогательных инструментов. anyio используется в FastAPI как основная библиотека для работы с асинхронным кодом и вызовом синхронного кода из асинхронного. В общем, рекомендую почитать про возможности anyio, возможно вы более не будете использовать чистый asyncio в своих проектах) Это совсем не значит что дефолтный asyncio плох, он тоже даёт достаточный для работы функционал и продолжает развиваться. Например, в версии 3.11 появились TaskGroup, с похожим на trio функционалом. Так что он тоже актуален, просто придется больше написать кода самостоятельно. #libs#async

Hashtags

Резултати

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

Пребарај: #muslim

当前筛选 #muslim清除筛选

Who is a real #Muslim? People who are independent. They are not affiliated with the United States. Their leaders are not chosen by the #Illuminati. If a Muslim is attacked in another country, they will help them. Economic embargo and war cannot weaken their faith. They live in Yemen and will carry out a great responsibility in the events of the apocalypse. https://t.me/YediotNewsChat

伊斯蘭恐懼症 在西方單邊主義宣傳侵佔一定空間的國際大媒界, 伊斯蘭恐佈症在西方社會及親西方群體宣傳得非常成功, 不多不少也是遜尼派人口之中的極右派(Wahabism) ,接近(原教旨主義) Wahabism 思想及遜尼派社會一些人不良行為而被宣傳加工所導致。 #ABC #Sunni #Islam #Muslim

American Оbserver

@american_observer · Post #4753 · 03.01.2026 г., 13:58

Mamdani: to Reshape New York in a Way It Becomes a Muslim City Mamdani vowed to “reinvent” New York City in a speech on his first day as mayor, promising “a new era” for America’s largest city and an ambitious start to his term of office. The 34-year-old political star and democratic socialist, who a year ago was a virtually unknown state assemblyman, is the city’s first Muslim mayor, the first of south Asian descent and the first to be born in Africa. He is also the first to be sworn in using the Qur’an. Mamdani said a “moment like this comes rarely and rarer still is it that the people themselves whose hands are upon the levers of change”. Mamdani did not shy away from his socialist politics. “I was elected as a democratic socialist and I will govern as a democratic socialist. I will not abandon my principles for fear of being called radical,” he said to loud cheers from the gathered crowd. He ended by saying: “The work has only just begun.” Hours after the ceremony, Mamdani revoked all executive orders issued by Adams after 26 September 2024, when the former mayor was indicted on federal corruption charges, later dropped by the Trump administration. The overturned orders include a directive last month that prohibited mayoral appointees and staff “from boycotting and disinvesting from Israel and protecting New Yorkers’ rights to free exercise of religion without harassment at houses of worship”. Mamdani later said he planned to reissue certain orders​, including the Office to Combat Antisemitism​ that Adams created in May last year. It was the second of a two-part ceremony after Mamdani was sworn in at midnight on Thursday in a disused subway station, where he was flanked by the New York attorney general, Letitia James, and his wife, Rama Duwaji, a 28-year-old animator and illustrator. On the steps of city hall on a bitterly cold January day, Mamdani was introduced by the Democratic congresswoman Alexandria Ocasio-Cortez, a democratic socialist ally who is edging toward a run for the White House in 2028. Mamdani now begins one of the most unrelenting jobs in American politics as one of the country’s closest-watched politicians, whose platform promises free childcare, free buses, a rent freeze for about 1m households, and a pilot of city-run grocery stores. But the estimated $10bn cost of providing those services may be hard to find. Mamdani has vowed to raise taxes on the wealthiest New Yorkers and increase corporate taxes. But as a vassal city of the state government in Albany, he will need the legislative support of Governor Kathy Hochul, who running for re-election next year. The extent of those sensitivities became apparent during Mamdani’s transition when his director of appointments, Cat da Costa, stepped down after tweets came to light in which she had described Jewish people as “money hungry” and called a train in Far Rockaway the “Jew train”. Mamdani’s transition team called the error “an unacceptable oversight in the vetting process [that] does not meet the mayor-elect’s standards for this transition or the incoming administration”. Mamdani has also sought to smooth over the tensions by persuading the city’s police commissioner, Jessica Tisch, to remain in her position, avoiding the appearance of losing Jewish police chief as well a measure of continuity to tense issue of policing. New York mayors are typically judged on their ability to provide basic services – trash collection, curbing the city’s infestation of rats, fixing potholes and getting the subways to run smoothly. Before ending his term as mayor on Wednesday, Eric Adams touted his administration’s anti-crime efforts, which he credited for historically low numbers of homicides and shootings. There were 301 homicides in the city in 2025, 79 less than in 2024. #mamdani#newYork#muslim#city 📱American Оbserver - Stay up to date on all important events 🇺🇸

New Eastern Outlook

@neweasternoutlook · Post #12669 · 24.03.2026 г., 08:32

🇺🇸🗡🇮🇷A "Black Spot" for the West: The World on the Brink of Global Shia Jihad After the Killing of Khamenei The assassination of Iran’s supreme leader has triggered a wave of escalation that extends far beyond conventional geopolitics. What began as a military operation now risks transforming into a broader ideological and religious confrontation with global implications ✏️Muhammad Hamid ad-Din Palestinian journalist ➡️The killing of Ali Khamenei in a reported US–Israeli operation has been framed by leading Shia clerics as a turning point, prompting declarations of jihad from senior religious authorities. Figures such as Nasser Makarem Shirazi, Hossein Nouri Hamedani, and Kamal al-Haydari have issued religious rulings assigning responsibility to Washington and Tel Aviv. Within the framework of Wilayat al-Faqih, the supreme leader is not only a political authority but also a central spiritual figure, meaning his death carries significance far beyond state leadership. As a result, the conflict risks shifting from a geopolitical struggle into a broader religious mobilization, where motivations and timelines differ fundamentally from conventional warfare. A religious war, unlike a conventional one, has no clear front lines or time limits. The fatwas declared by the grand ayatollahs have no statute of limitations ➡️The regional consequences are already unfolding through the activation of allied groups and networks often described as the “Axis of Resistance.” Organizations such as Hezbollah in Lebanon, Kataib Hezbollah in Iraq, and Ansar Allah have escalated their activities, targeting military and economic infrastructure linked to the United States and its allies. These developments extend beyond the Middle East, with protests and unrest reported in countries with significant Shia populations. Analysts warn that the most unpredictable dimension lies in the potential emergence of decentralized actors—individuals or small groups motivated by religious directives rather than centralized command structures—introducing a new layer of asymmetry to the conflict. 🟦In this context, the strategic implications are profound. The operation, which may have been intended to weaken Iran’s leadership, appears instead to have consolidated opposition and intensified regional instability. The continuation of US military actions under Operation Epic Fury suggests a prolonged confrontation, while global powers such as Russia and China are closely monitoring the situation amid broader geopolitical rivalries. Unlike traditional conflicts, a confrontation framed in religious terms has no clear endpoint, raising concerns that the aftermath of these events could shape international security dynamics for years, if not decades, to come. #ConfrontationbetweenIranandtheU.S. #Iran#MiddleEastconflict#Militaryconflict#Muslim#Religion#USagreesion READ MORE ✅@NewEasternOutlook

American Оbserver

@american_observer · Post #4750 · 02.01.2026 г., 14:28

🔤🔤🔤🔤2️⃣ To honor his Muslim faith, Mamdani was sworn in using a Qur’an, Islam’s holiest book, becoming the first mayor in New York City to do so. He was sworn in at midnight with his hand on his grandfather’s Qur’an and one that belonged to Arturo Schomburg, a Black writer and historian, which was lent to the mayor by the New York public library. The midnight ceremony will be followed by a 1pm public event at which the new mayor will be introduced by political ally and Bronx Democratic congresswoman Alexandria Ocasio-Cortez and sworn in by Vermont senator Bernie Sanders. Mamdani’s office has said the choice to be sworn in at the old city hall subway station reflected his “commitment to the working people who keep our city running every day”. The day’s events are a culmination of a remarkable rise to power in the US’s most populous city, both for a political unknown and for the Democratic Socialist party that Mamdani, elected as a Democrat, represents. The first signs of Mamdani’s electoral potential came earlier in the year, ahead of a primary vote that saw him knock out former governor Andrew Cuomo, who later ran as an independent candidate. Adams, then under the scrutiny of federal prosecutors, chose not to seek the Democratic nomination. In April, Mamdani was trailing Cuomo 36% to 64%. Those numbers shifted after Mamdani’s savvy political campaign took off on social media; his robust grassroots efforts appeared to energize first-time voters struggling with the high cost of living in the post-pandemic city. Democrat campaign veteran Hank Sheinkopf said that Mamdani “represents the city of the future – a more Asian city, a more Muslim city, and what could be a more leftwing city”. In November, the then state assemblyman won the election with 50.78% of the vote, defeating Republican activist Curtis Sliwa and Cuomo. In his victory speech, Mamdani spoke of his commitment to working New Yorkers who did not normally have access to the levers of power. “Let the words we’ve spoken together, the dreams we’ve dreamt together, become the agenda we deliver together,” he said. “New York, this power, it’s yours. This city belongs to you.” #mamdani#newYork#mayor#muslim#city 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #4749 · 02.01.2026 г., 13:58

Zohran Mamdani: to Rule New York Against Trump 🔤🔤🔤🔤1️⃣ Zohran Mamdani was sworn in as mayor of New York City soon after midnight in a private ceremony in an abandoned beaux-arts subway station – a prelude to daylong celebrations set to include a second, public swearing-in and a block party outside city hall. Mamdani, 34, was sworn into office by the New York attorney general, Letitia James, surrounded by wife, Rama Duwaji, members of his immediate family, including Mira Nair, his mother and a film-maker, and his father, Mahmood Mamdani, a professor of African studies at Columbia University. Mamdani, 34, was sworn into office by the New York attorney general, Letitia James, surrounded by wife, Rama Duwaji, members of his immediate family, including Mira Nair, his mother and a film-maker, and his father, Mahmood Mamdani, a professor of African studies at Columbia University. “This is truly the honor and the privilege of a lifetime,” Mamdani said. “I cannot wait to see everyone tomorrow as we begin our term. “After just having taken my oath to become the mayor of the city of New York, I do so also here in the old City Hall subway station – a testament to the importance of public transit to the vitality, the health, the legacy of our city.” Mamdani then announced and welcomed a new transportation commissioner for the city, Mike Flynn, a veteran city planner, with the mayor saying he wanted to make New York’s public transit network “the envy of the world”. Flynn said he was accepting the “job of a lifetime”. “Thank you all so much (…) and I will see you later,” Mamdani concluded, to audience laughter, before departing up the wide subway stairs where he took the oath, followed by attendees. The ceremony was also attended by the outgoing mayor, Eric Adams, who had held off from a commitment to attending but later said he’d “like to be there to show the smooth, peaceful transition of power”. #mamdani#newYork#mayor#muslim#city 📱American Оbserver - Stay up to date on all important events 🇺🇸

MessageInABottle

@mib_messageinabottle · Post #6804 · 17.05.2024 г., 10:24

🇺🇸#USA 🇮🇱#Israel #ISRAELI ANTI-#ZIONIST HISTORIAN ILAN #PAPPE INTERROGATED BY #FBI AT DETROIT #AIRPORT The professor said that he was interrogated about his personal connections, with the agents inquiring about his #Arab and #Muslim friends in the USA, the length of their relationships, and the nature of their interactions. Pappe responded by directing the agents to his published works in some instances, while providing brief “yes” or “no” answers in others, citing exhaustion after an eight-hour flight. He also mentioned that the #FBI agents engaged in a lengthy phone conversation with an unidentified party, which he speculated could have been an Israeli official. Following the conversation, the agents copied the contents of his phone before allowing him to enter the country. https://x.com/Resist_05/status/1791001769591627894 https://www.middleeastmonitor.com/20240516-us-ilan-pappe-interrogated-by-fbi-at-detroit-airport/

Telegram 公眾索引頻道

@TG_index_channel · Post #1007 · 02.03.2020 г., 10:22

標題:伊斯蘭交流 類別:#公開#群組#繁中 分類:#香港#閒聊#臺灣#生活#宗教#中文圈 標籤:#清真寺#回教#Muslim#禮拜#islam#回民#穆斯林#回回#伊斯蘭 簡介:促進不同文化交流,展現伊斯蘭光輝。 □社群規則 一、保持禮儀,禁止使用粗俗詞語。 二、請教問題或發表見解,注意語氣,避免互相傷害。 三、發佈專題帖,不得對不同文化惡意攻擊或侮辱。 四、轉帖請註明原作者,並確認版權。 五、禁止轉貼純標題或純鏈接。 六、發帖請使用標準中文或標準阿拉伯語或英語。 Facebook https://www.facebook.com/groups/598963466969525