@social_justice_watch · Post #17111 · 10.09.2022 г., 04:23
Wow, this is the most perfect description of this problem I've come across. #ActuallyAutisticsource
Hashtags
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #76 · 27 апр.
Ранее я делал серию постов про битовые операторы. Вот вам ещё один наглядный пример как это используется в Python в модуле re. Чтобы указать флаг для компилятора нам надо указать его после передаваемой строки. Например, добавляем флаг для игнорирования переноса строки. pattern = re.compile(r"(\w+)+") words = pattern.search(text, re.DOTALL) А как указать несколько флагов? Ведь явно будут ситуации когда нам потребуется больше одного. Кто читал посты по битовые операторы уже понял как. pattern.search(text, re.DOTALL | re.VERBOSE) А теперь смотрим исходники, что находится в этих атрибутах? Не удивительно, степени двойки. Почему? Потому что каждое следующее значение это сдвиг единицы влево. >>> for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]: >>> print(bin(n)) 0b1 0b10 0b100 0b1000 0b10000 0b100000 0b1000000 0b10000000 0b100000000 Чтобы было понятней, давайте напишем тоже самое но иначе, добавим ведущие нули: 000000001 000000010 000000100 000001000 000010000 000100000 001000000 010000000 100000000 Не понятно что тут происходит? Читай три поста про битовые операторы начиная с этого ➡️https://t.me/pythonotes/45 В общем, это пример применения побитовых операций в самом Python. Теперь вы знаете Python еще немного лучше) #tricks#regex#libs
Пребарај: #actuallyautistic
@social_justice_watch · Post #17111 · 10.09.2022 г., 04:23
Wow, this is the most perfect description of this problem I've come across. #ActuallyAutisticsource
Hashtags
@random_knowledge_dushu · Post #2765 · 12.01.2022 г., 13:27
【如何支持自闭成人】 1. 请破除对自闭者的刻板定见。每个自闭者都是不同的。 2. 对于自闭儿童的相关支持应延续到自闭成人。 3. 请自主学习和自闭相关的知识,建议从搜索 #actuallyautistic 开始。请让我们发声,而不是替我们发声。 4. 请理解,自闭不是病,自闭不能治好,也不需要治好。 5. 请尊重我们,请尊重我们的劳动。 6. 请理解,有些时候我们会隐藏自己的自闭特征。这并不代表我们变成非自闭者了。 7. 请倾听我们的需求,请认真对待我们的需求。 8. 请不要把我们当小孩。当我们遇到困难时,请耐心对待我们。 source
Hashtags
@social_justice_watch · Post #17881 · 09.02.2023 г., 17:47
Sorry for what, exactly? 👀#Autism#autistic#ActuallyAutistic#AutismAcceptance#AutismAcceptancesource
@social_justice_watch · Post #17904 · 09.02.2023 г., 18:42
Betcha it would improve accessibility AND accuracy. Just sayin'. #Autism#autistic#ActuallyAutistic#autistictwittersource
@social_justice_watch · Post #18048 · 28.04.2023 г., 14:30
Gets me going every time. #Autism#autistic#ActuallyAutistic#pathologicaldemandavoidancesource
@social_justice_watch · Post #18054 · 02.05.2023 г., 19:17
It’s only a real choice if it’s a fully informed one. Identity First Language = Autistic person, am/is Autistic Person First Language = person with Autism, have/has Autism #autism#autistic#ActuallyAutistic#Autisticmemessource
@social_justice_watch · Post #17919 · 14.02.2023 г., 16:55
Maybe you’re not doing it wrong, you just haven’t found someone who gets you yet. ❤️ #Autism#autistic#ActuallyAutistic#autistichumorsource
@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 #18016 · 05.04.2023 г., 18:45
You can’t win, so why give them any of your f@cks? 😉 #autism#Autistic#ActuallyAutistic#AutismAcceptance#AutismAwarenesssource
@social_justice_watch · Post #18035 · 18.04.2023 г., 22:21
Actual footage. #pathologicaldemandavoidance#pervasivedriveforautonomy#autistic#ActuallyAutisticsource
@social_justice_watch · Post #18119 · 29.06.2023 г., 04:39
For some reason, even people who understand the importance of representation for other groups can struggle to apply the same logic to Autistic (and otherwise disabled) people. <cough cough #ableism> #autistic#ActuallyAutistic#nothingaboutuswithoutussource
@social_justice_watch · Post #18060 · 09.05.2023 г., 21:39
If your first instinct is to dismiss this on the grounds of “but that would be really messed up,” you’re about halfway to the point. Keep going. #Autism#autistic#ActuallyAutistic#AutismAcceptance#appliedbehavioranalysissource