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

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

Hashtags

Резултати

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

Пребарај: #mj

当前筛选 #mj清除筛选
Stable Diffusion | Text2img

@stablediffusion · Post #1392 · 24.09.2022 г., 10:17

wlop. room. garden. disney princess, art, highly detailed, digital painting, artstation, young girl, long hair, cute girl, belly dance, blueprint, detailed eyes, perfect faces, fine details, room, cute, elegant, art, gold sharms, concept art, smooth, sharp focus, illustration, artgerm, wlop, craig mullins, greg rutkowski --test --creative --upbeta --ar 1:2 #mj

Hashtags

浮光掠影

@inbox_all · Post #108 · 07.05.2021 г., 08:17

BILLIE JEAN (HIStory Tour, Munich 1997) 迈克尔·杰克逊(Michael Jackson)1997 年 HIStory 巡演德国慕尼黑演唱会表演《BILLIE JEAN》现场片段。 HIStory 世界巡回演唱会是 MJ 的第三次世界巡回演唱会,也是最后一次。1996年9月7日开始,1997年10月15日结束,横跨非洲、亚洲、欧洲、大洋洲和夏威夷。此次巡演共82场演出,共计4500000歌迷入场,总收入高达1.63亿美元,创造惊人神话。 1997 年 HIStory 巡演德国慕尼黑演唱会现场完整视频链接(4K修复):LIVE IN MUNICH, 1997 [ZDF Version] - HIStory World Tour (Munich, 1997) #音乐#MJ

Hashtags

Pensive|

@PensivePost · Post #5053 · 01.04.2021 г., 08:33

When you face your demon. The day when you feel every possible pain, confusion, darkness, the negativity you can imagine. When you can't able to sleep when you can't able to breathe peacefully, and so on. Consider this now you found your demon. You feel helpless, you feel so numb, you feel lost. But you know what? Even in the night of darkness, there is still hope of light that waiting for you. Gautam Buddha once said, whenever you fall into the worst situation never forget to pursue something good from it. Make your pain your best teacher your best friend. You're pain always trying to say become better than you used to be. Become stronger than you used to be. • This Universe beyond our thinking and imagination. In this universe, there is something or nothing. We don't know. No one does. I don't know where you live but I know you live somewhere in the world in this tiny world, we don't know why we here, we don't know why we born. We come into this world. We spend our lives with our loved ones, then we die they will cry and they will move on because this is very difficult to live with that pain and they also die one day. If you do something to help this world some more people remember you and some will cry some will not and they also move on. Something always with you withing you but we always underestimate that sense of existence. In this new world, we always greedy to feed logic and reasoning but our small brain not made out for that, this universe beyond our mind. Thoughts come and goes. Days come and goes. The feeling comes and goes. People come and goes. What remains at this moment? You! When you're day will come you also leave this world. Understand this and be grateful for this precious life. Be kind, be honest add value to your life. Find something that you can live or die for. Find your calling. Suppose even if you don't achieve what you planned for the last day of your life, you will have a smile of satisfaction on your face that you never give up you always stand back when you fall. You always fight back. This only enough to make you smile on your last day. When someone decides to give that precious life to something he/she loves, The great infinite universe starts giving them energy, potential, the courage to do that thing. Then nothing seems that important than your purpose. Believe in yourself the more you hurt the more you will become stronger. Have faith in my words, forgive yourself for everything and start again my love. Thanks for reading. #MJ#Review#story

ПретходнаСтраница 1 од 3Следна