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

Резултати

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

Пребарај: #hashrate

当前筛选 #hashrate清除筛选
Garantex News Russia

@garantexnews · Post #13943 · 17.12.2024 г., 11:00

📈Хешрейт биткоина растет на фоне декабрьского ралли BTC 🔹 За месяц хешрейт вырос на 5%, положение майнеров улучшилось. 🔹 BTC пробил $106 000 и обновил максимум на $106 636 в понедельник. ⚠️ Возможна коррекция из-за укрепления доллара перед заседанием ФРС. Вместе с тем поддержка на $100 000 может сдержать сильное падение. 🔹 Данные за декабрь: Хешрейт BTC: 773 Eh/s. Доход майнеров: $57 300 за блок. Хешрейт 14 майнинг-компаний США: 222 Eh/s (+94%). Их капитализация выросла на 50% после выборов. 🔹Американские компании контролируют до 30% хешрейта. #Bitcoin#Hashrate#BTC АкадемияGarantex|Garantex Announcements|ВКонтакте|YouTube

Venture Village Wall 🦄

@venturevillagewall · Post #4068 · 04.02.2025 г., 19:00

BTC Transfers and Major Investments 🚨 1,430 #BTC (~$141.57M) transferred from unknown wallets. 🟠 Semler Scientific acquired 871 #Bitcoin for $88.5M at $101,616 each. 🎮 Beamable raised $13.5M in Series A led by Bitkraft for decentralized gaming infrastructure. Taproot Wizards secured $30M to expand OP_CAT functionality on Bitcoin. Bitcoin hash rate reaches all-time high. 🔗 Details: Whale Alert, Beamable, Taproot Wizards, Bitcoin Hashrate #BTC#Bitcoin#DeFi#VC#Gaming#Startup#Funding#Investment#Hashrate#Blockchain#Crypto

Первый день в Дубае — сразу в офисе #MyMining. Познакомился лично с основателями. Уровень структуры, прозрачности и подхода к майнингу впечатляет. Кто хочет увидеть экосистему изнутри — вот мой реф: 👉https://mymining.ai/register?ref=tonysminig Это только начало. 🚀 @cz_binance@APompliano #Bitcoin#Mining#Crypto#Dubai#BTC#Hashrate#MiningLife

Venture Village Wall 🦄

@venturevillagewall · Post #4105 · 09.02.2025 г., 10:00

Bitcoin Mining Difficulty Hits New High On February 9, Bitcoin mining difficulty surged by 5.61%, reaching a historic maximum of 114.17 trillion. Hashrate has also hit an all-time high of 864.8 EH/s, with the average block time now at 9.5 minutes. Read more here. #Bitcoin#Mining#Blockchain#Crypto#Economics#Tech#Trends#Innovation#Hashrate#Difficulty#Market

Venture Village Wall 🦄

@venturevillagewall · Post #3888 · 16.01.2025 г., 01:00

Texas Proposes State Bitcoin Reserve Texas Senator Charles Schwertner proposes a bill for a Strategic Bitcoin Reserve, indicating a significant move towards cryptocurrency adoption at the state level. Meanwhile, Bitcoin mining difficulty reaches an all-time high over 110 trillion, showing robust hashrate growth post-China mining ban. Details from Watcher Guru. #Bitcoin#Texas#Crypto#Mining#Blockchain#Regulations#Reserve#Senate#Innovation#Finance#DigitalAssets#Investment#Altcoins#HODL#Hashrate#MiningDifficulty#TexasSenate#Bill#Legislation#VC

Venture Village Wall 🦄

@venturevillagewall · Post #4073 · 05.02.2025 г., 13:00

Crypto Mining Highlights for January Key developments in crypto mining for January include: - Canaan launches new home mining machines. - Petrobras plus Russia's largest power grid venture into Bitcoin mining. - Hashrate Index unveils Top 10 Bitcoin Mining ASIC Machines for 2025. - Cipher Mining secured a $50M investment from SoftBank. For more details, visit Wu Blockchain News. #CryptoMining#Bitcoin#ASIC#Canaan#SoftBank#Petrobras#Hashrate#Investment#MiningMachines#BitcoinMining#Crypto#VC#TechNews#Blockchain#CryptoNews#Finance#Startup

Venture Village Wall 🦄

@venturevillagewall · Post #3785 · 04.01.2025 г., 01:00

US Dominates Bitcoin Mining Landscape The US leads with over 40% of Bitcoin's hashrate. Foundry, the largest mining pool, holds 36.5% share, raising concerns over centralization. MicroStrategy aims to raise $2B through preferred stock to enhance its Bitcoin holdings, part of its '21/21 Plan'. Expected offer in Q1 2025, pending market conditions. Read more: CoinTelegraph | MicroStrategy Press | The Block | tl;dr #Bitcoin#Mining#US#Foundry#MicroStrategy#CapitalRaise#PreferredStock #21/21Plan #Hashrate#Crypto#Finance#Investment#Blockchain#StockMarket#USDC#Billion#Q12025#MarketConditions#WhaleAlert#BlackRock#VC

Venture Village Wall 🦄

@venturevillagewall · Post #3789 · 04.01.2025 г., 13:00

Mining Project Linked to Notcoin? Emerging mining project possibly linked to The Open Builders, but not confirmed. Design resembles their work. Early supporters encouraged to invest, but caution advised due to potential volatility. Bitcoin has hit a new all-time hashrate of 1000 EH/s, with 40% concentrated in the US led by Foundry USA at 36.5% share. China still holds a significant portion of Bitcoin mining. In other news, Coinbase is considering tokenized stocks for its Base blockchain, while Ethena announces new products including an institutional synthetic stablecoin and a Telegram-based app. Phantom wallet team denies rumors of an upcoming airdrop or token launch. #Mining#Bitcoin#Cryptocurrency#Notcoin#TheOpenBuilders#Ethena#Stablecoins#PhantomWallet#COIN#Base#Funding#CryptoPayments#Investing#Hashrate#Blockchain#DeFi#CryptoNews#Tech#US#China#Foundry