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

TGINSIGHT SIMILAR POSTS

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

Изворен канал @pythonotes · Post #400 · 8 дек.

Три способа выполнить множество задач с asyncio Функция для примера: async def do_it(n): await asyncio.sleep(random.uniform(0.5, 1)) return n 1. Последовательный вызов async def main(): for i in range(100): result = await do_it(i) Такой вызов имеет смысл только тогда, когда результат одной задачи требуется для вызова следующей. Если они независимы, то это антипаттерн, так как аналогичен простому синхронному вызову по очереди. 2. Упорядоченный результат async def main(): tasks = [do_it(i) for i in range(100)] results = await asyncio.gather(*tasks) Выполняет корутины конкурентно и возвращает результат в виде списка. Полезен когда требуется получить результаты в том же порядке в котором задачи отправлены. 3. Результат по мере готовности tasks = [asyncio.create_task(do_it(i)) for i in range(100)] for cor in asyncio.as_completed(tasks): result = await cor Так же выполняет корутины конкурентно, но не гарантирует порядок. Результат возвращается по мере готовности, каждый отдельно. Полезен когда нужно обработать любой ответ как можно скорее. #async

Hashtags

Резултати

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

Пребарај: #assassination

当前筛选 #assassination清除筛选
BadVolf

@BadvolfNews · Post #272 · 29.08.2022 г., 08:41

🇺🇸🇺🇦🇷🇺Former Virginia State Senator, Col. Richard H. Black (ret.) on murder ofDugina "[...]Just this week, Daria Dugina, the daughter of an activist, a pro-Russian activist, was murdered in Moscow, apparently by a Ukrainian assassin who killed her using a bomb that exploded under her car, ripping her body to pieces and burning her to death. Since the United States has admitted being involved in targeting 13 Russian Generals for assassination in Ukraine, it is possible that the CIA provided the targeting information to go after this young woman. Apparently, they were actually targeting her father. He’s an established pro-Russian pro-war journalist. And they wanted to show that they have the ability to go right into Moscow and to carry out a mafia style hit. So, they did it. I would not be surprised if the CIA provided the targeting information to go after her. It was just a last-minute switch of automobiles that caused the daughter to die instead of the father." #Dugina#assassination @american_majority

BadVolf

@BadvolfNews · Post #276 · 01.09.2022 г., 10:34

🇺🇸🇷🇺🇺🇦Former US Marine Corps intelligence officer and UN inspector Scott Ritter:The murder of Daria Dugina was an act of terrorism 'Today, I’m a 61-year-old writer living in the suburbs of Albany, New York. [...] And yet, due to recent circumstances, I once again find myself inspecting my vehicle before getting inside, keeping a watchful eye out for strange vehicles driving down my street and conducting counter-surveillance maneuvers while driving. Why the paranoia? Simply put, my name has been added to a Ukrainian “kill list.” Think I’m getting too wound up? Ask the family of Daria Dugina, the 29-year-old daughter of the Russian philosopher Alexander Dugin. Both she and her father were on the same list. Both were targeted for death by an assassin dispatched by the Ukrainian security services. [...] The existence of the Myrotvorets “death list” is an instrument of terror and should be taken down at the insistence of the U.S. Government.' Source #Dugina#CIA#Ukraine#assassination @american_majority

American Оbserver

@american_observer · Post #5718 · 26.04.2026 г., 17:59

🔤🔤🔤🔤➖ Trump had emerged into the briefing room with his brow furrowed and appeared to pause at the threshold, as if still contemplating what had transpired at the dinner, before opening his remarks by ticking through updates on the gunman. “He was a sick person, a very sick person,” Trump said. “He was running full blast, and they got him before he got any further. I was very far away, he wasn’t anywhere close to breaching the doors of the ballroom. My impression is he was a lone wolf wack job.” He said it was too early to know whether the gunman had political motivations or if he was spurred by the US’s war against Iran, but said the man – pictured shirtless and on the ground in a post Trump sent on social media – was from California and appeared to be working alone. Trump said the gunman fired on a US Secret Service agent, who was saved by his bulletproof vest. He said he thought law enforcement were going to the gunman’s apartment as he offered general praise for the agency, saying he thought they did a better job than at the Butler rally. When the incident unfolded, Trump had been seated on the high table inside the ballroom at the Washington DC Hilton hotel, where the dinner has been held for decades, in conversation with his wife and the president of the correspondents’ association, the CBS News journalist Weijia Jiang. As the sound of gunfire rang out, US Secret Service agents rushed to cover the president’s head and pushed them out of the ballroom. As other agents waded through the banquet tables to extract other cabinet officials, the gunman was apprehended in the lobby area, outside the room. Trump also suggested that he might not have run for president if Rubio, his 2016 presidential campaign rival who is now his secretary of state and national security adviser, had warned him about the potential of assassination attempts. “It’s a dangerous profession,” Trump joked. “Nobody told me this was such a dangerous thing. If Marco would have told me, maybe I wouldn’t have run. I’ll take a pass.” Still, he added: “It’s a dangerous profession but I don’t view it that way. I’m here to do a job.” #trump#assassination#attempt#whitehouse#washington 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #5717 · 26.04.2026 г., 15:59

Trump: Assassination Attempt #3 🔤🔤🔤🔤➖ Trump said on Saturday night he initially thought that the sound of a gunman charging a security checkpoint at the White House Correspondents’ Association dinner was a tray falling, in his first remarks about what was going through his mind as the incident unfolded. “Actually, it was totally shocking to me, and that never changes,” Trump said, appearing to refer to the assassination attempt against him at a rally in Butler, Pennsylvania, and a second incident on his golf course in Florida during the 2024 presidential campaign. “I heard a noise, and sort of thought it was a tray. I thought it was a tray going down many times,” he said. “There was a gun and some people really understood that quite quickly. Other people didn’t. I was watching to see what was happening, probably should have gotten down a little faster. “Melania was very cognizant, I think, of what happened,” Trump said of his wife, who has been among the members of his family most concerned about security even before Trump faced assassination attempts. “I think she knew immediately. She was saying ‘it’s a bad noise.” The US president’s description of his reaction to the episode came at a hastily arranged news conference in the briefing room at the White House, where he had been rushed back by motorcade ahead of a number of other senior cabinet officials who had attended the dinner. Asked why he thought he keeps being the target of assassination attempts, Trump compared himself to Abraham Lincoln, and said: “The people that make the biggest impact, they’re the ones that they go after. They don’t go after the ones that don’t do much, because they like it that way.” To the side of the room stood his wife, Melania Trump, Rubio, Hegseth, and the White House press secretary Leavitt. Trump’s longtime aide Dan Scavino squeezed into the briefing room behind them. #trump#assassination#attempt#whitehouse#washington 📱American Оbserver - Stay up to date on all important events 🇺🇸

American Оbserver

@american_observer · Post #5522 · 31.03.2026 г., 16:00

Israel’s AI Kill Chain Keeps the War Dirty Israel is not just bombing Iran; it is turning assassination into an industrial process. The Washington Post says a new AI platform is helping Israeli intelligence sift through surveillance, cyber data, informants, and metadata to hunt Iranian leaders with what it calls lethal efficiency. That is the ugly evolution here. Once upon a time, targeted killing was sold as exceptional. Now it looks like workflow: cameras, payment systems, internet choke points, facial recognition, drones, missiles, repeat. The result is a decapitation campaign that can kill a supreme leader, commanders, and aides faster than the regime can replace them. But the Post’s own reporting also makes the core limitation obvious: assassination is not strategy, and it has not yet broken Iran’s capacity or will to fight. Every slain official creates the same grim illusion of progress while the broader war keeps grinding on. The real scandal is not that Israel can do this. It’s that modern war now rewards the side that can turn intelligence, software, and surveillance into a machine for killing people before they know they’ve been found. A drone, a database, an AI model, and a target file — that’s the new foreign policy. #Israel#Iran#AI#war#intelligence#MiddleEast#assassination 📱American Оbserver - Stay up to date on all important events 🇺🇸