@social_justice_watch · Post #17905 · 09.02.2023 г., 18:44
And this is one of the many reasons why self-identification is a thing. (Applicable to ADHDers as well.) #Autism#autistic#ActuallyAutistic#ADHD#AuDHDsource
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
Пребарај: #audhd
@social_justice_watch · Post #17905 · 09.02.2023 г., 18:44
And this is one of the many reasons why self-identification is a thing. (Applicable to ADHDers as well.) #Autism#autistic#ActuallyAutistic#ADHD#AuDHDsource
@social_justice_watch · Post #17968 · 07.03.2023 г., 22:50
Ableist stereotypes are bullshit. Also, we know our neurokin when we see them. 👀😉 #Autism#autistic#ActuallyAutistic#AuDHD#Neurodivergent#AutismAcceptancesource
@social_justice_watch · Post #17902 · 09.02.2023 г., 18:13
It’s like watching a slow-motion train wreck from the conductor’s seat. #Autism#Autistic#ActuallyAutistic#adhd#adhdtwitter#AuDHDsource
@social_justice_watch · Post #18069 · 18.05.2023 г., 00:28
I will always explain my jokes to you. 😘#autistic#ActuallyAutistic#AuDHD#ADHD#Neurodivergent#AutismAcceptancesource
@social_justice_watch · Post #17903 · 09.02.2023 г., 18:34
Facing judgment to provide accommodations can be hard. I see you, though, and maybe someone else does too. #Autism#autistic#ActuallyAutistic#ADHD#AuDHD#parentingstruggles#AutismAcceptancesource
@social_justice_watch · Post #18093 · 31.05.2023 г., 22:12
Alexithymia anyone? #Autism#autistic#ActuallyAutistic#audhd#ADHD#alexithymia #Emotionssource
@social_justice_watch · Post #17983 · 23.03.2023 г., 00:20
Trust me, I would LOVE for my kid’s struggles to be as much in my power to fix as schools seem to think they are. #parentblame#Autism#ADHD#AuDHD#pda#notfineinschool#schoolrefusalsource
@social_justice_watch · Post #18106 · 08.06.2023 г., 21:47
If it ain’t broke - let’s break it again and see what happens! #iep#504plan#ehcp#specialeducation#Autism#autistic#ADHD#AuDHDsource
@social_justice_watch · Post #17899 · 09.02.2023 г., 17:54
Go ahead and call me "anti-science' then. #Autism#autistic#ActuallyAutistic#ADHD#AuDHD#pda#aba#pbs#pbissource
@social_justice_watch · Post #18116 · 20.06.2023 г., 21:11
Pick your battles…but not this one. Put this one back. #Autism#autistic#actuallyautistic#ADHD#AuDHD#sensoryprocessing#SPD#arfid#neurodivergencesource