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

Пребарај: #sequoia

当前筛选 #sequoia清除筛选
Venture Village Wall 🦄

@venturevillagewall · Post #4176 · 17.02.2025 г., 22:00

Crypto Twitter Buzzes Over Kaito.ai Crypto Twitter is abuzz with excitement around *kaito.ai*, a promising new player in the InfoFi space. After a revealing conversation with *Kaito.ai* CEO Yu Hu and notable investors like Sequoia and Dragonfly, awareness of the platform skyrocketed after the launch of ChatGPT, significantly boosting *Kaito.ai*'s valuation. Plans for collaboration with early user support are underway, enhancing insights for the platform. Additionally, JP Morgan's unexpected $100 million investment in strategy shares after buying Bitcoin emphasizes shifting perspectives on crypto, showcasing that actions may speak louder than words in the financial world. Meanwhile, a dramatic 500 ETH (approx. $1.5M) was burned with a mysterious message, indicating internal disputes within *Kuande Investment*. Stay tuned for further updates! Read more here #Crypto#KaitoAI#InfoFi#Bitcoin#JP Morgan #USD#ETH#Burn#Investment#WhaleAlert#AI#Tech#Market#Finance#Sequoia#Dragonfly#Earnings#Meme#Trends#Analytics

Venture Village Wall 🦄

@venturevillagewall · Post #3719 · 26.12.2024 г., 10:00

Nvidia's Earnings Shift Expected in 5 Years AI companies are struggling to earn enough to cover investments, according to David Kahn from Sequoia, who noted they should earn 6 times more. Currently, Nvidia leads AI earnings. SK Capital projects a shift in 3-5 years where solution developers like OpenAI will earn significantly more. This mirrors trends from the tech boom when software developers eventually outpaced hardware manufacturers. For detailed insights, read the full report here. #Nvidia#AI#Crypto#Sequoia#SKCapital#OpenAI#TechBoom#Earnings#Investments#MarketTrends#Software#Hardware#Developers#Graphics#Chips#GenerativeAI#InvestmentForecast#TechIndustry#BusinessModel#ValueChain#AIRevenue

Venture Village Wall 🦄

@venturevillagewall · Post #3601 · 20.12.2024 г., 16:16

Weekend Reading for Entrepreneurs Explore this week's top news: 1️⃣ Research on mobile game success probability - Read more2️⃣ Tech trends for 2025 according to Andreessen Horowitz - Find out more3️⃣ Video on David Lieb, creator of Google Photos - Watch here4️⃣ Podcast with Vlad Tenev from Robinhood - Listen in5️⃣ David Kahn's AI predictions for 2025 - Read the article6️⃣ Interview with Rocket Lab CEO Peter Beck - Explore the interview7️⃣ Turning mistakes into success with Flamp.io - Learn how #MobileGames#TechTrends#GooglePhotos#Podcast#AI#RocketLab#StartupSuccess#Sequoia#AndreessenHorowitz#VladTenev#DavidLieb#DavidKahn#PeterBeck#Flamp#YCombinator#SpaceX#Entrepreneurship#Innovation#Research#Investment#Finance