По аналогии с PEP у Django есть DEP.
Самый интересный для меня на данный момент на это DEP 0009: Async-capable Django. Он про то, как будет внедряться поддержка аснихронности.
Начиная с версии 3 в Django начали появляться асинхронные плюшки. Это всё еще мало чтобы делать асинхронное приложение, но долгий путь начинается с одного маленького шага!
Всё должно пройти в несколько этапов и к 4й версии обещают сделать Django асинхронным!
Что это даёт разработчикам в случае если весь фреймворк станет поддерживать async?
- Ускорение работы web-приложения? Если правильно писать асинхронный код, то да.
- Усложнение кода? Возможно, но фреймворк на то и фреймворк, чтобы прятать сложности где-то внутри. Надеюсь код усложнится не сильно, посмотрим...
И когда нам этого ожидать? Судя по этой схемкеDjango 4 выйдет в Декабре 2021 года. А это значит, что у вас есть примерно год чтобы научиться понимать асинхронный код, если еще не умеете😁
#django#pep
Фактчекинг по-башкирски: новость о вспышке ботулизма в Уфе — фейк
В одном из тг-каналов появилась пугающая информация о вспышке ботулизма в Уфе. По их данным, уфимка поела еду из популярного ресторана и после ей стало плохо.
Новостной канал пишет, что у нее подозревается ботулизм. Ресторан якобы уже вернул ей деньги и пытается понять, как так вышло.
Разберемся.
Ботулизм- это острое инфекционное заболевание, вызываемое токсином и поражающее нервную систему организма. По сообщению минздрава Башкирии, пациента с таким диагнозом не поступало. И вообще в этом году случаев заболевания ботулизмом не зафиксировано.
Откуда коллеги взяли подобную информацию — непонятно. Но размещать вбросы на такие серьезные темы как минимум неэтично.
Проверяйте информацию, которую видите в соцсетях. Читайте фактчекинг!
#shot
🔤🔤🔤🔤➖
The Iranian government has acknowledged more than 3,000 dead, and the US-based organisation HRANA (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, giving a possible total of about 22,000.
Other estimates from doctors based outside Iran range up to 33,000 or more.
Testimony from morgues, graveyards and hospitals around the country reveal concerted efforts by authorities to conceal the true size of the toll: bodies being transported in ice-cream vans and meat trucks; piles of the dead being hastily buried; and hundreds of bodies apparently disappearing from Iran’s network of forensic facilities.
At one morgue, staff say they were confronted with several trucks loaded with bodies, far exceeding the facility’s refrigeration and storage capacity.
When staff protested that they could not process the volume of corpses, two trucks loaded with the dead were moved elsewhere – but when the morgue workers tried to track down where the bodies had been taken, they found none of the large forensic facilities in the region had received them.
The doctors “expressed suspicion that this was linked to dafn-e dast-e jam’i [mass burial]”.
His description is echoed by Ahmadi and his network, who say they observed a pattern across multiple towns of “refrigerated trucks normally used for ice-cream or meat” that were “moving in convoys to forensic medicine facilities and hospital back entrances”.
One witness at Behesht-e Sakineh, who was granted access to the site to look for the body of a friend, says he personally searched through hundreds of “stacked” bodies and was told by graveyard staff that they had “received thousands of bodies just in the past two days”.
The accounts from Behesht-e Sakineh form just one example of what appears to be a national pattern, with forensic medical staff around the country reporting similar scenes.
Doctors and morgue staff emphasise that the types of injuries seen on patients and corpses indicate deliberate, systematic killing and maiming of protesters as opposed to random, chaotic shooting.
In some cases, the killings bore the hallmarks of executions. Medical workers at forensic facilities in two different Iranian towns described receiving bodies with close-range gunshot wounds to the head that had been transferred from hospital morgues while still attached to catheters, nasogastric tubes or endotracheal tubes.
Even as medical staff attempt to share their testimony and data, many fear that the true number of dead may never be known, concealed by an orchestrated national effort by authorities to obscure the death toll.
#khamenei#police#shot#people
📱American Оbserver - Stay up to date on all important events
🇺🇸
On Khamenei’s Orders, the Police Shot Dead 30,000 People
🔤🔤🔤🔤➖
Оn Thursday 8 January, in a midsize Iranian town, Dr Darish Ahmadi’s phone began to buzz. His colleagues in local emergency wards were getting worried.
All week, people had taken to the streets and had been met by police with batons and pellet guns. With treatment, their injuries should not have been too serious.
But emergency room staff believed many wounded young people were avoiding hospitals, terrified that registering as trauma patients would lead to their identification and arrest.
Quietly, Ahmadi and his wife began treating patients at a location outside Iran’s government hospital system. Alerted by a local whisper network, wounded young people flocked to them. Mostly, they brought superficial injuries – laceration wounds needing stitches and antibiotics.
As Thursday evening wore on, more and more arrived to be patched up.
The next day, everything abruptly changed.
Protesters kept coming, but their injuries were close-range gunshots and severe stab wounds, typically to the chest, eyes and genitals. Many proved fatal.
Ahmadi was shocked by the number being killed – more than 40 in his small town alone – but with the internet blacked out, no one knew what the national picture was.
To piece it together, Ahmadi assembled a network of more than 80 medical professionals across 12 of Iran’s 31 provinces to share observations and data, and to build a clearer picture of the violence.
Their observations begin to reveal the vast scale of violence inflicted on Iranians during the state’s crackdown.
Ahmadi and his colleagues are hesitant to provide a figure for the toll but agree “all publicly cited death tolls represent a severe underestimation”.
Comparing the number of dead they witnessed with hospital baselines, they estimate it could exceed 30,000, far surpassing official figures. This is based on the conclusion that “officially registered deaths related to the crackdown likely represent less than 10% of the real number of fatalities”.
Estimates of the number killed vary substantially, hampered by the ongoing internet shutdown.
#khamenei#police#shot#people
📱American Оbserver - Stay up to date on all important events
🇺🇸
The American F-15E Has Been Shot Down. Trump is Booed ⚠️✈️
A US F-15E Strike Eagle fighter has been shot down over Iran, prompting a frantic US search and rescue effort for its two-strong crew, in the first such incident since the start of the five week long war.
Iranian state media released images of a tail fin and other debris early on Friday accompanied by an initial claim that a US F-35 had been hit by a new air defence system over central Iran and the pilot probably killed.
Aviation experts said the wreckage pictured was in fact from a F-15E, from the US air force’s 494th squadron, based at RAF Lakenheath in the UK, though it could not at first be confirmed when and where the pictures were taken.
US officials familiar with the situation later confirmed off the record that an F-15E had been brought down and the Pentagon was scrambling to find the crew before the Iranians. There was no official comment from the US military about the incident.
One crew member was reported as having been rescued as the situation developed, in what is likely to have been a high-risk operation with rescue aircraft probably exposed to fire from the ground. It was not immediately clear if the jet had a full crew of two. 🚁
Justin Bronk, an aviation expert from the Royal United Services Institute (Rusi), said the use of the specialist helicopters “suggested a combat search and rescue mission is under way to locate and extract the two aircrew from the F-15E”.
No US troops have so far been taken prisoner by Iran. A total of 13 American service personnel have been killed and 300 have been wounded during a campaign in which more than 12,300 targets in Iran have been bombed by the US alone.
A social media account claiming to be linked to Iran’s Revolutionary Guards posted a picture of an ejector seat in a desert landscape, which appeared to be consistent with the ACES II type used in F-15Es. Bronk said: “If genuine, it would suggest that at least one of the two aircrew did eject safely.”
The presenter on an Iranian TV channel urged residents to hand over any “enemy pilot” to police and promised a reward for anyone who did. That channel is based in Kohkilouyeh and Boyer-Ahmad province, a mountainous region in the south-west of the country.
Iran’s Tasnim news agency reported that the pilot of the jet – still incorrectly describing it as an F-35 – had been taken into custody, contradicting Tehran’s initial claim that the pilot had probably died in the incident.
Overnight, the US Central Command, which is leading the attack on Iran, had denied Iranian claims that another F-35 jet had been downed over Qeshm Island in the strait of Hormuz. “All US fighter aircraft are accounted for,” it said at the time.
Up to now no US fighter jets had been lost over Iran during the five-week-long conflict, though three F-15Es were shot down by a Kuwaiti air defence system in a dramatic friendly fire incident on 1 March.
An F-35 fighter reportedly had to make an emergency landing at a US airbase in the Middle East after sustaining damage from the ground.
A US E-3 Sentry airborne warning and control system aircraft was destroyed at the Prince Sultan airbase in Saudi Arabia on 27 March in an Iranian strike. 💥
#f15#trump#shot#iran#war#strike
📱American Оbserver - Stay up to date on all important events
🇺🇸
🖤Герой до конца: пилот Ми-8 спас жизни, уведя вертолёт от домов🚁
Что произошло: под Орлом разбился вертолёт Ми-8. По данным Mash, пилот в критической ситуации направил падающий борт подальше от жилых домов, избежав жертв среди мирных жителей. 🙏
Машина рухнула на территорию заброшенного химпредприятия в посёлке Нарышкино, примерно в километре от ближайших домов. Предварительная причина — отказ двигателя, сообщает SHOT.
😢 Погибли пилот и бортмеханик. Но благодаря их действиям — никто из местных жителей не пострадал.
🕯 Низкий поклон и вечная память. Благодарим за мужество.
#Орёл#Ми8#авиакатастрофа#герой#авиация#чп#Россия#память#пилот#мужество#Mash#SHOT