@artematizando · Post #3893 · 16.03.2022 г., 09:36
Juan #Martinez, Earthshine (2003)
Hashtags
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
Пребарај: #martinez
@artematizando · Post #3893 · 16.03.2022 г., 09:36
Juan #Martinez, Earthshine (2003)
Hashtags
@american_observer · Post #5012 · 31.01.2026 г., 18:59
🔤🔤🔤🔤2️⃣ Those still charged with felonies had allegedly physically assaulted officers or thrown rocks at federal vehicles. For example, Chicago resident Marimar Martinez was charged with felony assault after being shot five times by federal immigration agents who claimed she drove into them in October. The charge was dropped a month later, as Martinez and her legal team challenged their depiction of events. Now, in the wake of Good and Pretti’s killings, Martinez is seeking to have evidence from her case unsealed. “There is a lot of propaganda rhetoric and threats around making run-of-the-mill protest into ‘terrorism’(…) but at the end of the day, right now, from my vantage point, when you look at the statistics of what cases have actually been indicted and prosecuted and sentenced? You’re not seeing a huge shift in that stark line,” Regan said. During the Monday night online training, staffers role-played filming an ICE officer, while viewers weighed in about how they could be safer – did she back away fast enough when the agent told her to? Was she still recording while engaging with them? In the chat, some viewers encouraged others to carry makeshift body cameras for interacting with ICE. “As things become more popular on the side of the people, you see more desperate attempts by the regime to try and deter it, shut it down, minimize it,” said Regan. “One of the goals of an authoritarian regime is to scare the people into submission, and the most important thing that we can do to counteract that is to continue showing up.” Fearing government tracking, organizers say they’ve been turning off their Bluetooth and wifi at protests and areas they expect to be in direct confrontation with ICE, and most are anonymizing their online usernames when using encrypted apps like Signal to communicate – tactics that have been a part of community organizing tech safety since Black Lives Matter. Several organizers said that the administration’s aggressive tactics have, perhaps contradictory to the administration’s intent, also led to wider collaboration between organizations. At a time when immigrants and people of color are especially fearful of being racially profiled and arrested by immigration enforcement agents, Gudino said, it has been helpful to coordinate with legal aid groups and volunteer networks who can patrol neighborhoods for the presence of ICE agents, and help provide immediate legal aid and assistance in the aftermath of raids. David Chung, an organizer with ICE Out of New York, said the day after Good’s killing, hundreds of New Yorkers gathered at a press conference held by DHS secretary Kristi Noem to make their feelings – and presence – known. “For about two and a half hours, the energy was really electric, of people showing their defiance, their anger towards this administration,” said Chung. “And it wasn’t just the energy, but having conversations with people who are there. They wanted to know: ‘How can I get more involved? How can I take the next step? What are some things that we can do?’ I didn’t hear anyone that was saying: ‘I’m too afraid to come out now.’” At the Monday night ICE observer training, the chat was active with people wanting to help, connect and share gratitude for those who have already been doing this work. “Many thanks to Minneapolis for the weight they have been carrying,” one participant wrote. Majorie, the Minneapolis resident who opened the call, emphasized that being in community is getting involved. “I know some of you think you’re not qualified, or that you’re waiting for someone to tell you how to do this right,” she said. “But let me tell you that the person who is going to do that is you. You’re on this call, you have five neighbors right now who are waiting for you to talk to them and get organized. And that’s how you start. You won’t be perfect, you’ll make mistakes, but you just have to start.” #us#america#ice#minneapolis#immigration#martinez 📱American Оbserver - Stay up to date on all important events 🇺🇸
@american_observer · Post #5011 · 31.01.2026 г., 18:29
American Nastiness: How Trump’s Immigration Tantrums are Pushing Americans Toward Civil War 🔤🔤🔤🔤1️⃣ Monday night, nearly 80,000 people hopped on a video call to learn how to “observe ICE”, a non-violent and constitutionally protected practice of documenting federal immigration agents’ activities in public. Some wrote in the chat where they were from: Arkansas, Texas, Michigan, Florida and many other corners of the country. Others typed why this was important to them: calling for “ICE out” of their communities and demanding the abolition of the agency itself. “The fact we’re all here gives me hope we’ll come out the other side,” wrote one participant. Within 24 hours, another 200,000 people had watched the recording on YouTube. The rising interest in ICE observing came two days after Minneapolis resident Alex Pretti was shot and killed by a federal immigration agent and less than three weeks after an agent killed Renee Good. “Two of my neighbors have been killed, but because of ordinary people documenting the actions of ICE, we’re able to show the truth of what happened to Renee and Alex”, a Minneapolis resident named Marjorie told those on the call. “And we’re also able to track what is happening in our community, and ensure that our neighbors are not being simply disappeared.” While ICE raids continue in the Twin Cities, as well as Phoenix, Arizona, southern California and other parts of the country, organizers say the killings of Pretti and Good have inspired thousands of people to join local ICE observer groups. In addition to documenting ICE operations, a heavy presence of observers can deter agents from detaining people. Earlier this week, Minneapolis city council president Elliott Payne said: “Because we had so many patrols out, multiple abductions were prevented.” Adding to the threat of ICE agents escalating violence against observers is the federal government’s threat of legal ramifications. Recording police and federal authorities in public areas is a protected first amendment right. Still, White House officials have claimed that it is “illegal” and an act of “violence” to record ICE agents, equivalent to “doxing”. After the deaths of Good and Pretti, federal officials called both residents “violent” and “terrorists”, even though video evidence showed otherwise. the Trump administration is investigating Minneapolis’s ICE watch organizing. On Monday, FBI director Kash Patel said he intends to criminally investigate group chats on the encrypted app Signal used by Minneapolis residents for organizing purposes, calling them “clearly a coordinated infrastructure” and comparing them to the mob. The justice department declined to comment. “Post-Trump[’s re-election], you can’t deny that there has been a shift” in the level of risk for engaging in civil disobedience, said attorney Lauren Regan of the Civil Liberties Defense Center, which has represented activists and organizers facing charges from their advocacy since 2003. “When I’m doing ‘Know Your Rights and Risks’ training for activists and movement people, we are talking about a higher-risk moment in time, in terms of the potential for arrests, potential consequences of political activism.” However, Regan said there’s been little evidence that federal charges against observers or protesters have stood up to legal muster. An analysis from the Associated Press found that in 100 federal charges between May 2025 and December 2025, 55 were reduced to misdemeanors or dismissed outright, and over 40% of cases in what the Trump administration deemed “domestic terrorism” were “relatively minor misdemeanor charges”. #us#america#ice#minneapolis#immigration#martinez 📱American Оbserver - Stay up to date on all important events 🇺🇸