@easy_busy_eng · Post #411 · 28.12.2025 г., 07:48
If you believe Bitcoin will be worth more in 4–8 years, then starting to accumulate today makes sense. Small steps. Long vision. @saylor@APompliano@DocumentingBTC #Bitcoin#BTC#LongTerm#MyMining
TGINSIGHT SIMILAR POSTS
Изворен канал @pythonotes · Post #425 · 20 апр.
Недавно делал быстрый прототип асинхронного приложения в котором требовалось вызывать много синхронного кода. Да, я знаю, что это не лучший дизайн, но нужно было быстрое решение на один процесс и без очередей. Поэтому я выполнял код в потоках. Выглядело это примерно так: from fastapi.concurrency import run_in_threadpool async def execute(data: DataRequest) -> DataResponse: try: result = await run_in_threadpool(sync_function, data) return DataResponse(data=result) except Exception as e: return DataResponse( error=str(e), success=False, ) В общем работает нормально. Для всех вызовов под капотом используется общий тредпул, всё работает предсказуемо. Но потребовалось изменить количество запускаемых в пуле потоков (по умолчанию создается 40 воркеров). Так как дело происходит с FastAPI, делается это через lifespan используя настройки anyio: import anyio @asynccontextmanager async def lifespan(app: FastAPI): limiter = anyio.to_thread.current_default_thread_limiter() limiter.total_tokens = 100 yield # если вдруг нужно вернуть обратно limiter.total_tokens = 40 Зачем менять количество воркеров? - уменьшить, если оперативки мало (один тред занимает ~8мб) - увеличить чтобы выдержать нагрузку Если есть предложения получше при тех же вводных - предлагайте😉 #async
Hashtags
Пребарај: #longterm
@easy_busy_eng · Post #411 · 28.12.2025 г., 07:48
If you believe Bitcoin will be worth more in 4–8 years, then starting to accumulate today makes sense. Small steps. Long vision. @saylor@APompliano@DocumentingBTC #Bitcoin#BTC#LongTerm#MyMining
@mikrotiksg · Post #335 · 08.02.2026 г., 00:19
🛠️ RouterOS v7.20.8 Released (Long-Term) This is a bug-fix–only maintenance release for the v7.20 long-term branch. No new features, focused on stability and reliability. 🔧 Fixes include: • BGP RFC 7606 error handling improvements • Bridge VLAN creation regression fix • Container nftables / iptables issue resolved • PoE-out firmware & PSU recovery fixes • SNMP script execution & permission fixes • Rare RouterOS configuration loss resolved 📥 Download: https://mikrotik.com/download #MikroTik#RouterOS#LongTerm#NetworkStability#AlagasNet#MikroTikSG
@venturevillagewall · Post #4286 · 02.03.2025 г., 13:00
CZ Proposes New Token Unlock Model 🔵 CZ proposes a tokenomics model linking unlocks to price growth and time, reducing market impact. 😏 Initial 10% sold for development. 😏 Unlock every 6 months, contingent on 2x price increase maintained for 30 days. 😏 Max 5% unlock each time. ❓ Market implications include lack of sell pressure from mass unlocks and encouraging long-term projects. 🔴 Critics argue it could disadvantage small teams reliant on token price. Could this model reshape token economies? Read more: Link #CZ#Tokenomics#Crypto#Blockchain#Ethereum#MarketTrends#Investing#DeFi#Finance#Startups#Innovation#LongTerm#SmartContracts#PriceGrowth#Unlocks#Community#PricingModel#InvestmentStrategies#ElonMusk#HongKong