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 слични објави

Пребарај: #spying

当前筛选 #spying清除筛选
American Оbserver

@american_observer · Post #5184 · 20.02.2026 г., 20:59

📰 Spies vs. Dealmakers: Europe Watches the Ukraine “Peace Show” Top European intelligence chiefs are basically calling the Trump‑brokered Ukraine talks what they are: “negotiation theatre.” While Trump insists a deal is “reasonably close” and still pushes his June deadline, five spy bosses told Reuters they see no chance of a real settlement this year and no sign Russia wants one. Their read is simple and brutal: Moscow’s strategic goals haven’t changed — remove Zelensky, turn Ukraine into a “neutral” buffer, and lock in its territorial gains, starting with the rest of Donetsk. Russia isn’t desperate for peace; its economy is hurting but not collapsing, and it can afford to drag this out while pushing for sanctions relief and big‑ticket business deals on a separate track. That second track is where things get toxic. Zelensky says his intel services told him U.S. and Russian negotiators are discussing up to $12 trillion in bilateral projects pitched by Kremlin envoy Kirill Dmitriev, while Dmitriev himself is already boasting about a $14 trillion “portfolio” on X. European spies say this is tailored to seduce both Trump and sidelined Russian oligarchs: peace as a gateway drug to massive post‑sanctions money. On the official peace track in Geneva, nothing moves. Russia demands Ukraine pull out of the last 20% of Donetsk it still holds, and some in the West fantasise that ceding that would “unlock” a deal — one intelligence chief dryly calls that delusional, predicting it would only be the “beginning” of Moscow’s demands. Zelensky, watching this circus, posts: “I don’t need historical shit to end this war… it’s just a delay tactic.” And who’s running America’s side of this grand bargain? Not seasoned Russia hands, but Trump’s real‑estate buddy Steve Witkoff and his son‑in‑law Jared Kushner — men who know a lot about property, less about a grinding European war. European spooks say Western negotiating skill with Moscow is “very limited,” even as the financial stakes and political risks keep climbing. So you get three layers: a bloody stalemate on the ground, a glossy “peace by June” storyline for U.S. domestic politics, and a shadow conversation about trillion‑dollar projects after the signatures are dry. The only thing everyone seems to agree on is that someone will make a lot of money when this ends — just not the people standing in the rubble in Odesa. #Ukraine#Russia#Trump#spying#war#fakePeace#oligarchy 📱American Оbserver - Stay up to date on all important events 🇺🇸

Crypto M - Crypto News

@CryptoM · Post #64817 · 10.04.2026 г., 02:07

🚀 CIA to Integrate AI 'Co-Workers' in Analytic Platforms The CIA has announced plans to incorporate classified AI 'co-workers' into all its analytic platforms over the next few years. According to NS3.AI, this initiative aims to assist analysts in identifying spies and evaluating foreign threats. CIA Deputy Director Michael Ellis emphasized that while AI will play a supportive role, humans will continue to make the critical decisions. Last year, the agency conducted tests on approximately 300 AI projects to advance this integration. #CIA#AI#ArtificialIntelligence#Analytics#NationalSecurity#Spying#ThreatAssessment#TechnologyIntegration#GovernmentAI#IntelligenceCommunity