TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #32 · 29.05

Попробовал, наконец, разработку на Blazor. Это такой фреймворк под .NET, который позволяет писать фронтенд на C#. Работает он двумя способами: либо собирает весь проект в WebAssembly, и бедный пользователь грузит себе мегабайтную dll, либо устанавливает клиент-серверное соединение через SignalR и шлёт клиенту информацию об обновлённых DOM-элементах. Вот вторую то я и пробовал. Казалось бы — каждое нажатие кнопки требует отправить на сервер запрос и получить ответ. Никогда такого не было! Но субъективно разницы во времени отклика нет (потому что веб и так достаточно медленный, хаха). Фронтенд-часть пишется очень похоже на JSX: вёрстка реактивно вперемешку с кодом. Когда-то я очень ругал React за такой подход, потому что каша. Но нетипизированный JS по-умолчанию каша, а здесь же по факту получается очень удобно: статический анализ не даёт тебе делать ошибки и писать ерунду. Но приятный полноценный язык программирования вместо JavaScript это лишь вишенка на торте. Самое крутое — вся сила серверного кода с полноценной возможностью обращения к базе данных, шеринг моделей данных между сервером и клиентом, и, наконец, Dependency Injection любого серверного модуля в «клиент»! То есть вы не просто пишете одно приложение вместо двух, вы ещё и получаете отсутствие ошибок при каком-нибудь изменении моделей API, когда сервер стал отдавать не то, что ожидает клиент. Вам вообще теперь не нужен API, достаточно закодить нужную функцию на серваке и инжектировать её в нужный фронтенд-модуль. Это супер удобно, супер быстро, супер устойчиво к ошибкам. Теперь не хочется возвращаться даже на вполне крутой Vue 3. Но, система пока новая, она не обросла решениями от комьюнити, а браузерный API всё равно придётся дергать через JavaScript Interop. Для совсем кайфа нужно подождать годик, поскольку развитие идёт довольно быстро. Например, там нет очень нужного в таком деле hot reload, но в .NET 6 он уже анонсирован, и вроде как есть в превью, а релиз в ноябре. #dev

Hashtags

Резултати

Намерени 1 подобни публикации

Търсене: #arrested

当前筛选 #arrested清除筛选
American Оbserver

@american_observer · Post #4989 · 29.01.2026 г., 12:59

Iran: More than 42,300 People Have Been Arrested, Killed and Tortured Doctors are being arrested in Iran for helping save the lives of some of the tens of thousands injured during Iran’s brutal crackdown on anti-regime protests, with at least one surgeon now at risk of being sentenced to death. The arrests and death sentence are part of a campaign of “revenge”, say human rights groups, after healthcare workers and doctors refused to ignore the plight of badly injured protesters shot or stabbed at close range. An Iranian surgeon, Alireza Golchini, 52, from the central city of Qazvin, has been charged with “moharebeh” (waging war against God), which can carry the death penalty, according to the Norway-based rights group Hengaw. The US state department yesterday called for his release. The US-based Human Rights Activists News Agency, whose figures have been reliable during previous crackdowns, says it has verified more than 6,000 dead and has more than 17,000 more recorded deaths under investigation. “He was arrested in a violent manner in front of his wife and son, who is only 11. They beat him up so badly during arrest, they broke his arm, ribs and dragged him out of his home. My family is terrified,” said Med dr. Golchini. A few days before his arrest Golchini, who also treated protesters during the 2022 Woman, life, freedom protests, had posted a note on his social media, says Nima, sharing his number and asking injured patients to contact him for treatment. “All he did was his duty of saving lives as a medical doctor. He had sworn to save people’s lives. How can any doctor not stand by his oath? I am worried not only for him, but also for other healthcare workers who have been arrested for simply standing by their sworn oath.” Iranian authorities have not publicly commented on Golchini’s detention, nor have they confirmed any charges against him. But Iran’s judiciary chief, Gholamhossein Mohseni Ejei, has urged authorities not to show any leniency towards protesters. “We should not remain silent in the face of those who seek to exploit the situation and disrupt the security and calm of the people,” he said. IHRNGO also reported the arrest of a volunteer first responder who had turned his home into an improvised medical shelter. According to the source, he was detained on 14 January after security forces raided his house, where he had provided care to more than 20 injured protesters, two of whom later died. “He was taken away in an extremely brutal manner and was severely beaten,” a source told IHRNGO, adding that security forces smashed the windows of the house, destroyed the interior and severely damaged his car during the raid. At least 42,324 arrests have been made across the country with limited information on their fate, according to the US-based Human Rights Activists in Iran, which says the regime is putting pressure on medical networks as a means of reducing support for the injured. A statement published yesterday by the US state department on X demanded the release of Golchini and “all the brave doctors who have helped their fellow countrymen”. It continued: “President Trump has clearly stated that no executions should take place in Iran and that there will be consequences if the government takes such actions.” #iran#tortures#killed#arrested#doctors 📱American Оbserver - Stay up to date on all important events 🇺🇸