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

Резултати

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

Пребарај: #cyberthreats

当前筛选 #cyberthreats清除筛选
AI & Law

@ai_and_law · Post #29 · 15.06.2023 г., 07:04

Cybersecurity and AI: mapping key issues in the EU The European Union Agency for Cybersecurity (ENISA) has released a comprehensive report highlighting key cybersecurity issues in the field of artificial intelligence. The report aims to shed light on potential risks and provide guidance for policymakers, businesses, and AI developers. The report identifies several critical areas that require attention. One key concern is the security and integrity of AI systems, emphasizing the need for robust safeguards against unauthorized access, data breaches, and malicious attacks. It also highlights the importance of ensuring the privacy and protection of personal data used in AI processes. Additionally, the report emphasizes the significance of transparent and explainable AI algorithms. Clear accountability and understandable decision-making processes are vital to building trust in AI systems and avoiding potential biases or discrimination. #AI#Cybersecurity#EU#DataProtection#Privacy#Transparency#Trust#Cyberthreats

Crypto M - Crypto News

@CryptoM · Post #64721 · 09.04.2026 г., 16:04

🚀 U.S. Treasury Launches Cybersecurity Initiative for Digital Assets The U.S. Treasury's Office of Cybersecurity and Critical Infrastructure Protection (OCCIP) announced a new initiative on April 9 aimed at bolstering cybersecurity within the digital asset sector. According to BlockBeats, this initiative will provide eligible U.S. digital asset companies and industry organizations with timely and actionable cybersecurity information. The goal is to enhance their ability to identify, prevent, and respond to cyber threats targeting their customers and networks. This action implements a key recommendation from the President's Working Group on Financial Markets report titled 'Strengthening U.S. Leadership in Digital Financial Technology.' #USTreasury#Cybersecurity#DigitalAssets#OCCIP#CriticalInfrastructure#FinancialMarkets#CyberThreats#DigitalFinancialTechnology

Venture Village Wall 🦄

@venturevillagewall · Post #3706 · 24.12.2024 г., 19:00

Crypto Predictions for 2025 Revealed 🚀 *Forbes* outlines key predictions for the crypto industry by 2025:* 🔹 G7 or BRICS nation to announce strategic Bitcoin reserve, following Trump’s remarks. 🔹 Stablecoin market cap projected to hit $400 billion due to regulatory clarity, bolstering the USD. 🔹 Bitcoin DeFi will drive growth with L2 solutions like Stacks and Babylon aiming for $24 billion TVL. 🔹 New ETFs incoming, including Ethereum with staking, Solana, and diversified crypto indices. 🔹 Major corporations like Apple or Google may add Bitcoin to their balance sheets. 🔹 Overall crypto market forecast to exceed $8 trillion, fueled by DeFi, AI, and DePIN. 🔹 Revitalization of U.S. crypto startups expected as regulatory changes ease access. 👉 Explore more: Crypto Twitter 🌐Related Links: - Mining Ban in Parts of Russia - MicroStrategy Considers Stock Increases for Bitcoin Purchases - New Scam Alert Regarding YouTube Seed Phrases - Forbes Full Crypto Industry Predictions - Christmas Rally for Bitcoin Fizzles - Nokia Patents New Asset Encryption Module - Cyber Threats from NK Causing $249M Outflow from Hyperliquid - Bullish Ethereum Forecast by Analyst - TeraWulf Allocates 70MW for AI Computing - Investors Pull $1.18B from Bitcoin ETFs - BNB Chain DeFi Ecosystem Grows 58% - S-Group Creators Arrested for $100M Fraud - Black Sea Resident Scammed on Bitcoin Purchase - Meme Coin Boom Attracts Fraudsters to Solana - SpaceX Utilizes Stablecoins for Currency Risk Hedging #Crypto#Bitcoin#DeFi#ETF#Stablecoins#MarketCap#G7#BRICS#Investment#AI#Regulation#Technology#MicroStrategy#Nokia#CyberThreats#MemeCoins#Scam#TeraWulf#BNBChain#Solana#SpaceX