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

TGINSIGHT SIMILAR POSTS

Најди сличен содржај

Изворен канал @pythonotes · Post #239 · 3 мај

Один из самых удобных способов записать данные это использование готовых форматов, такие как JSON или YAML. Из плюсов такого подхода стоит отметить вот что: 🔸 готовый, повсеместно используемый и поддерживаемый формат 🔸 простой и понятный файл, удобочитаемый для человека 🔸 можно легко редактировать в любом текстовом редакторе без специальных программ и библиотек Но есть и минусы 🔹 затраты времени при записи файла (кодирование данных в нужный формат строки) 🔹 затраты времени при чтении файла (декодирование данных в Python объекты) 🔹 размер файла увеличивается из-за разметки данных (скобки, запятые, переносы, отступы...) 🔹 перед записью все данные должны быть помещены в память в полном объёме (не всегда) 🔹 при чтении необходимо считать весь файл в память и только потом декодировать данные Если нужно писать немного данных в несколько файлов, то затраты по времени не ощутимы. Обычно это файлы конфига или какие-либо метаданные. Это отличный вариант под такие задачи. Есть и другой поход к записи файлов - это бинарные файлы. Используется, когда данных достаточно много и никто их не собирается читать глазками😳. 🔸 очень быстрая запись 🔸 чтение значительно быстрей чем JSON, YAML итд 🔸 размер файла значительно меньше, так как нет разметки 🔸 можно записывать данные по мере поступления не загружая всё в память 🔸 можно извлечь любую часть данных независимо Из минусов 🔹 нужно определить свой формат записи данных (если не используете готовую спецификацию определённого формата) 🔹 не получится открыть файл и визуально понять что там записано, а для чтения файла потребуется знать его спецификацию. 🔹 не так-то просто создать такой файл без специальной библиотеки В таком виде удобно записывать большой массив любых однородных данных. Например, мониторинг валютной биржи или кэшированная анимация 3D геометрии. (Это не означает что нельзя записать данные разного типа, просто это будет не так удобно) Представьте себе JPG-картинку. По сути это немного мета-информации и большой массив пикселей. Тоже самое со звуком или видео файлом. Поэтому, если вы попробуете открыть картинку в текстовом редакторе вы увидите что-то вроде такого f15d cd29 a564 4578 ... 09e2 9bc4 a696 1253 ... 84e9 4de1 3b23 c24a ... 2534 5161 28e0 709d ... ... Это и есть записанные байтики. И для их чтения требуется определённый софт который знает что с ними делать. Под каждый тип файла. К чему это я? Читайте в следующем посте... #tricks#basic

Резултати

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

Пребарај: #speculation

当前筛选 #speculation清除筛选
Crypto M - Crypto News

@CryptoM · Post #64900 · 10.04.2026 г., 08:04

🚀 White House Issues Warning on Futures Market Speculation Following Policy Shift On April 10, insiders revealed that shortly after U.S. President Donald Trump unexpectedly announced a halt to attacks on Iran last month, the White House cautioned staff against exploiting their positions for speculative activities in the futures market. According to BlockBeats, the White House Office of Management sent an email to all employees on March 23, issuing this warning. Earlier that day, Trump had announced the decision to pause the attacks via Truth Social. Approximately 15 minutes before this abrupt policy change, the futures market experienced a series of mysterious trading activities. A senior government official who received the email noted that the warning served as a timely 'reminder,' given the frequent reports of suspicious large bets in the futures market. #WhiteHouse#FuturesMarket#Speculation#PolicyShift#Trump#Iran#Trading#MarketWarning#FinancialRegulation#Government

Venture Village Wall 🦄

@venturevillagewall · Post #3923 · 19.01.2025 г., 19:00

Trump's Meme Coin Surges 8000% Trump's meme coin $TRUMP shows explosive growth, with $52.75 million injected into TRUMP/USDC pool via Meteora in just 20 minutes. Trading volumes surpassed Ethereum's entire network. Concerns arise over Trump's 80% token holdings while critics suggest airdrops could enhance credibility. Analysts urge caution: it's too early to declare major significance. #Trump#Crypto#USDC#MemeCoin#Ethereum#Trading#FTX#Airdrop#Tokenomics#MarketTrends#Blockchain#DeFi#Speculation#Web3#Investing#News#Updates

Venture Village Wall 🦄

@venturevillagewall · Post #4023 · 29.01.2025 г., 19:00

Massive $4M Profit in Hours! Mr. Burns profited over $4 million within six hours of trading the VINE token. Initially investing $70k, he sold 9.96 million VINE for $2.36 million while retaining 4.67 million VINE worth $1.73 million—highlighting a surge in the token's value. 📈 Full story: Mr. Burns’ Trading Success #Crypto#VINE#Trading#Profit#Investing#Tokens#Blockchain#ATH#Finance#Wealth#MrBurns#VentureCapital#Speculation

Crypto M - Crypto News

@CryptoM · Post #65181 · 11.04.2026 г., 16:54

🚀 Market Conditions Present Opportunities for Strategic Investments, Says DWF Labs Co-Founder The cryptocurrency market is currently experiencing a "very boring" phase, according to ChainCatcher. DWF Labs Co-Founder Andrei Grachev expressed on social media that while participants may engage in discussions or humor, significant activities such as financing, trading, investing, and business expansion are quietly underway. Grachev noted that the current market environment poses challenges for major projects, exchanges, and companies to make new listings or significant announcements, as high-profile actions may not be effective at this time. He advised maintaining patience in investment portfolios and waiting for more opportune moments. He emphasized that the market is not in decline but rather offers opportunities for seemingly mundane activities, such as buying and holding Bitcoin long-term or engaging in altcoin speculation. Grachev concluded that there is still much to do for builders and investors, while smaller investors should focus on learning, avoid lamenting losses, and enjoy the market they have chosen to enter. #cryptocurrency#marketconditions#investmentopportunities#DWF Labs #AndreiGrachev#bitcoin#altcoin#longtermholding#speculation#investors#builders#patience#learning#BTC

Venture Village Wall 🦄

@venturevillagewall · Post #4362 · 11.03.2025 г., 13:00

Eric Trump’s Investment Advice Backfires Eric Trump advised buying Bitcoin and Ethereum, but prices dropped 20% and 30% respectively. World Liberty Financial's portfolio fell by $110 million. His praise messages were deleted after the crash. A false report on ETH purchase circulated, later debunked. For more info, visit ForkLog. #Bitcoin#Ethereum#Crypto#Investment#MarketCrash#WorldLiberty#FinancialNews#EricTrump#ETH#BTC#Trading#Blockchain#TechNews#Assets#Speculation#Finance#MarketStrategy#News

Venture Village Wall 🦄

@venturevillagewall · Post #4048 · 01.02.2025 г., 19:00

Bitcoin Surpasses $100,000 Multiple Times Bitcoin continues to break the $100,000 threshold frequently throughout 2024. This ongoing trend has captured significant attention in the crypto community as it solidifies its position in the market. #Bitcoin#Crypto#Finance#Investing#MarketTrends#Blockchain#Investments#Altcoins#Technology#Economics#Trading#Analytics#DigitalAssets#InvestmentStrategy#PriceAction#BullMarket#Speculation#Wealth#TradingCommunity#VC

Venture Village Wall 🦄

@venturevillagewall · Post #3924 · 19.01.2025 г., 22:00

TRUMP MemeCoin Liquidation Begins A trader who previously gained $360M from the $TRUMP meme coin is now liquidating holdings as the coin's market cap surpasses $15 billion. There's speculation on Trump's evolving stance on crypto, influenced by support from the crypto community. In related developments, Trump’s company has exchanged $32 million for Ethereum amid the meme coin wave, clearing $400M in transaction volume in just 12 hours, marking a surge in new user registrations for the platform. #TRUMP#MemeCoin#Crypto#Ethereum#Bitcoin#Liquidation#MarketCap#Investments#Finance#USDC#Blockchain#Trading#Speculation#Altcoins#Investors#HODL#NewUsers#DeFi#OnChain#Volume

Venture Village Wall 🦄

@venturevillagewall · Post #4065 · 04.02.2025 г., 13:00

Market Clean-Up: Excess Leverage Purged CryptoQuant and Glassnode confirm market 'cleaning' post-major liquidations. Reduced speculation indicates shift towards 'late bull run' phase. Read more: Forklog #Crypto#Market#BullRun#Leverage#Trading#Speculation#Liquidation#Analytics#DigitalAssets#Investing#Blockchain#CryptoQuant#Glassnode#Finance#Ethereum#Bitcoin#Altcoins#News#Updates#AI#VC

Journey to Fluency

@fluencyinenglish · Post #7900 · 03.10.2025 г., 13:15

در IELTS Speaking، خصوصاً Part 3، نمره شما بر اساس مهارت زبانی (Fluency & Coherence, Lexical Resource, Grammatical Range & Accuracy, Pronunciation) داده می‌شود، نه میزان اطلاعات عمومی یا صحت factual. ✅ راهکارهای عملی 1. از تردید کردن نترسید و صادق باشید جملاتی مثل: “I’m not an expert in this field, but I think…” “I don’t know much about this, although it seems that…” به شما اجازه می‌دهد بدون توقف ادامه دهید. 2. استفاده از speculation یا حدس منطقی وقتی نمی‌دانید، می‌توانید با حدس منطقی نظر بدهید: “It might be because…” “Perhaps this will lead to…” 3. مثال شخصی یا تجربه روزمره بیاورید “From my own experience…” یا “In my city/school…” حتی اگر اطلاعات عمومی کم باشد، مثال شخصی به طولانی‌تر شدن پاسخ و انسجام کمک می‌کند. 4. تمرکز روی انسجام و روانی صحبت از ضمیرها و ربط‌دهنده‌ها (this, that, these, however, on the other hand) استفاده کنید تا جمله‌ها به هم وصل شوند. 5. استفاده از واژگان پیشرفته و ساختارهای گرامری متنوع به جای تکیه روی اطلاعات، از واژگان دقیق و اصطلاحات متداول آیلتس استفاده کنید: “plays a pivotal role” “poses a significant challenge” “from my perspective” 🔹 نمونه پاسخ با speculation Q: Do you think governments should invest more in renewable energy? > “I’m not fully aware of all the policies, but I think governments should invest more in renewable energy. It might help reduce pollution and create new jobs. For example, building more solar farms could provide electricity for many households. Although I don’t know all the details, it seems like a positive step for the future.” #IELTS#IELTSSpeaking#SpeakingTips#Hedging#Speculation#Fluency#Coherence#LexicalResource#Band8#آیلتس#Part3#EnglishSpeaking#LanguageTips#AdvancedEnglish#Pronunciation

Venture Village Wall 🦄

@venturevillagewall · Post #3957 · 23.01.2025 г., 07:00

Goldman Sachs CEO on Bitcoin's Speculative Nature Goldman Sachs CEO David Solomon states that the firm cannot engage in Bitcoin transactions due to regulatory constraints. He also dismissed Trump's strategic Bitcoin reserve proposal, labeling Bitcoin a speculative asset that won't undermine the US dollar's status. Read more here. #Bitcoin#GoldmanSachs#Dollar#Regulation#Crypto#Speculation#Finance#Investment#DavidSolomon#USDollar#CryptoNews#MarketUpdate#Banking#DigitalAssets#USD#Web3#Economy#Blockchain#VC

Venture Village Wall 🦄

@venturevillagewall · Post #3926 · 20.01.2025 г., 04:00

Melania Meme Token Debuts on Major Exchanges Centralized exchanges like MEXC, BingX, Gate, and Bitget list Melania Meme (MELANIA) token. The token's economic model: 35% team share (30-day lock), 20% treasury, 20% community, 15% public offering, 10% liquidity. Major transaction: an address bought 3.8M MELANIA for 800k USDC, now with a profit of $38.6M. Read more: Wu Blockchain News #Crypto#MemeToken#MELANIA#TrumpProject#Dogecoin#Bitcoin#Profit#Exchanges#Trading#Finance#USDC#MarketAnalysis#Tokenomics#Investment#TradingStrategy#Speculation#ProfitableAddresses#MarketTrends#Blockchain#Web3#VC

Venture Village Wall 🦄

@venturevillagewall · Post #3974 · 24.01.2025 г., 19:00

Big Moves in Crypto Regulation News 🚀 US Senator Cynthia Lummis, a vocal Bitcoin advocate, elected Chair of the Senate Digital Assets Committee. Proposed strategic Bitcoin reserve hints at potential significant moves for Bitcoin. Meanwhile, Trump's recent crypto executive order suggests a reserve of 'seized digital assets,' increasing speculation around Bitcoin's future. 🔗 For further details, read the article here. 🔗 In additional news, the SEC has opened the door for Wall Street banks to hold crypto. 🔗 Standard Chartered forecasts Bitcoin could reach $200,000 by the end of 2025. 🔗 Japan's Central Bank raised interest rates to a 17-year high, now at 0.5%, causing ripples across markets, including crypto. #Crypto#Bitcoin#US#Regulations#SEC#InterestRates#Japan#Senate#DigitalAssets#Investment#FinancialMarkets#WallStreet#Speculation#CynthiaLummis#CryptoBanks#PanteraCapital#StandardChartered#Ethereum#AI#VC

12
ПретходнаСтраница 1 од 2Следна