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

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

Резултати

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

Пребарај: #techcrisis

当前筛选 #techcrisis清除筛选
Daily Political Press

@dailypolitical · Post #36 · 15.04.2026 г., 18:48

The AI Memory Problem Nobody's Solving Every AI conversation starts from zero, creating a digital dementia crisis where your data is rented, not owned. While the tools for persistent memory exist, billion-dollar giants prefer selling subscriptions to walled gardens over giving you actual agency. We are trading long-term cognitive autonomy for convenient, forgetful interfaces. Read more: https://dailypoliticalpress.com/?p=46946 #AI#DataOwnership#TechCrisis#ArtificialIntelligence

Joshua Reid | Redpills.tv

@realjoshuareid · Post #303 · 20.11.2025 г., 16:49

🌐⚠️ GLOBAL INTERNET OUTAGE WARNING SOMETHING BIG IS HAPPENING ⚠️🌐 November 20, 2025 The internet is blinking across the world and experts say this may be the start of one of the largest global outages in recent years. 🚨 WHAT’S HAPPENING RIGHT NOW • Major platforms are lagging or going completely dark • Cloudflare — one of the biggest internet infrastructure providers — suffered a massive failure • Millions of users across multiple countries reported errors within minutes • Websites, apps, and even essential online services are showing instability • Some regions are seeing partial blackouts and slowdowns This isn’t just one website failing… This is the backbone of the internet glitching. 🔥 WHY PEOPLE ARE WORRIED When Cloudflare goes down, the internet goes with it: • Social media • AI tools • Banking portals • E-commerce • Streaming • Messaging apps • Business platforms Everything becomes vulnerable. ⚡️ IS A MAJOR OUTAGE COMING? Many experts say YES the signs are there. The internet has never been more interconnected… And that means when one piece breaks, the whole system feels it. 💬 STAY PREPARED: • Screenshot important info • Keep offline copies of documents • Download maps & essential contacts • Expect slowdowns, login errors, and random crashes • Don’t panic — stay informed 🌍 This story is still developing. If the global network weakens further, the next few hours could get rough. 🙏 Stay safe, stay connected… while you still can. ⚠️ AI-generated content for awareness and updates only. #InternetOutage#GlobalInternetCrisis#InternetDown#WorldwideOutage#BreakingNews#SystemFailure#TechCrisis#GlobalAlert#CyberInfrastructure#NetworkFailure#DigitalBlackout#TechEmergency#InternetGlitch#SystemsDown#StayPrepared#AIgenerated#CrisisUpdate#DigitalWorld#NetworkCrash