Много лет назад я делал игру ВКонтакте про домики. Одно общее изометрическое поле, где у каждого свой участок, на котором можно строить дом, выбирать его размеры, материалы, форму окон и крыши. И обставлять мебелью.
Поле было квадратным 100 на 100, соответственно у каждого квартала был номер по одной оси X от 0 до 99 и по другой Y от 0 до 99. По какой-то причине мне тогда нужно было сохранить это в одном числе как идентификатор квартала, и я подумал, что изобрёл гениальный способ: A = X*100 + Y. Извлечь обратно тоже было легко: поделить A на 100 и округлить вниз, это получался X. А потом Y = A - X*100. Например, квартал с координатами 13-29, собственно, так и записывался: 1329. Важно, что это математические операции, а не строковые. Они и сами по себе быстрее выполняются программой, и позволяют, например, удобно отсортировать участки.
Я считал себя очень умным, не зная тогда, что по сути изобрёл системы исчисления, и вообще подобный подход очень банален и прост. Мы куда чаще видим это в битовых масках, потому что и сама задача для двузначных свойств возникает чаще, и компьютер существенно быстрее работает с битами, но от того, какая там база системы исчисления, математический смысл не меняется. Если тебе надо записать в одно число несколько свойств, каждое из которых может быть в N значениях, то в это число должно влезать N*N*N... сколько там у тебя этих свойств. Ты пишешь первое свойство n1, потом прибавляешь n2*N, потом n3*N*N и так далее. Величины существуют в разных разрядах N-ричной системы исчисления, поэтому не пересекаются, и их можно разделить.
Игра, кстати, поначалу хорошо набирала пользователей, а потом перестала. Я думал, что она не интересная, и закрыл проект. А сильно позже уже выяснилось, что был баг в коде регистрации игрока, из-за чего новые приходить не смогли начиная с какого-то момента. В том самом коде, который извлекал координаты квартала из его идентификатора, да.
#dev
🚨🚨[Updated] FTX and Alameda Research further deposited $14.4M worth of 8 tokens $MATIC, $BAND, $PERP, $TRU, $BICO, $KNC, $CVC and $BOND to exchanges.
Top 3 inclues:
- 8.15M $MATIC ($4.96M)
- 2.03M $BAND ($3.15M)
- 3.76M $PERP ($2.28M)
Overall, FTX and Alameda have deposited $47.3M worth of 20 #EVM tokens to exchanges.
Currently, they still hold ~$736M worth of various EVM assets more!
👉 Entities:
- FTX: https://platform.spotonchain.ai/entity/354
- Alameda Research: https://platform.spotonchain.ai/entity/79
👉 More details: https://platform.spotonchain.ai/signal-details/ftx-and-alameda-further-deposited-assets-to-exchanges-2957
🎙Wow, we had an electrifying AMA with @CyberChargeJoe. Big thanks for sharing those exciting updates. 🚀
⚡️Congrats to our Twitter Winners:
@Nguyen2Sakura
@Maso1st
@RiosCrystal
@SSupergem
@Chloe_McLaren
🎉You’ve each won 10 USDT! DM @CyberChargeWeb3 with your #EVM wallet address to claim your prize.
Like👍, Retweet🔵, Comment
Link to the Tweet!
🎤We just wrapped up an amazing and insightful AMA session! Big thanks to @CyberChargeJoe for sharing the latest product updates and exciting future plans for CyberCharge.
⚡️Now, it's time to recognize our Twitter Winners:
@web3k7
@JMikecryp
@hung3301
@Benny_bitcoinn
@CryptoKhangng2
🎉Congrats to the winners! Each of you will receive a reward of 10 USDT. Please send a DM to @CyberChargeWeb3 with your #EVM wallet address to claim your prize. ✍️
Like👍, Retweet🔵, Comment
Link to the Tweet!
The State of TON DeFi Q2 2024
The launch of native USDt provided a significant boost to liquidity and trading volumes across all major DeFi protocols on TON. As a result, the TON/USDt pools on DeDust and STON.fi became the largest multi-exposure pools with a stablecoin across all blockchains tracked by DefiLlama, with TVLs of $301.12M and $286.75 respectively. Additionally, TON’s Daily Active Addresses (DAAs) surpassed those of Ethereum for the first time.
The quarter also saw impactful infrastructure launches, including the TON Applications Chain (TAC), the first solution to bring EVM capabilities to TON, and TonFura, a platform for building dApps on TON that complements the existing TON API.
Keep track of the ~50% APR opportunities in TON/USDt pools on DeDust and STON.fi, and read our new article about the performance of TON’s DeFi sector in Q2 2024.
You may be interested in: How to Achieve EVM Compatibility in Non-EVM Blockchains.
#DeFi#EVM#DEX
🔝Website🔝Kirill from TOP
📰Medium✖️ X
💼Linkedin📖Facebook
🆕We just released TP Wallet's New Version on iOS! 🔺2.1.3🔺
🔵 Support HD Wallets.
🔵 Support the interaction between KeyPal Hardware Wallet and TRON, #BTC, and dogecoin.
🔵Allow setting Nonce for transfers.
🔵 Support checksum for #EVM addresses.
🔵 Support auto-suggestion feature for entering secret recovery phrases.
🔵 Default filter the risky transaction histories.
🔵 Support Thai🇹🇭and Portuguese🇵🇹 languages.
🔵 Optimize the Select Network page.
🔵 Optimize #EIP1559 interaction.
🔵 Optimize fee estimation for Layer 2 like optimismFND, arbitrum, etc.
👉https://tokenpocket.pro
🪙HOT Bridge — the fastest and cheapest bridge to TON!
And that's really true
Transfer $USDT from #Solana, #NEAR, and #EVM networks to #TON with zero bridge fees!
➡Bridge speed — up to 45 seconds
➡Seamless interaction in just a couple of clicks
➡All transfers are decentralized and powered by HOT Protocol
👍Try it now — just simply import your seed-phrase or secret key and enjoy the best bridge in Telegram!
Quoted symbiosis_fi : 💰 Join our ongoing $1,000 giveaway exclusively for #TokenPocket users! 👇
https://galxe.com/TokenPocket/campaign/GCS8ytUEqJ
✨Embark on your #DeFi adventure by bridging $USDT seamlessly from #EVM to #TRON! symbiosis_fi
Don't miss out on this incredible opportunity to elevate your #crypto experience.
【Details】https://twitter.com/TokenPocket_TP/status/1728367858324013316
【Powered By】Crypto Box
#FTX and #Alameda used the past #BitcoinETF rally week to deposit $28.2M worth of assets to CEX at good prices, including:
• 402.6 $WBTC ($18.7M)
• 3,200 $ETH ($8.09M)
• 602K $PENDLE ($1.04M)
• 9.03M $PEOPLE ($350K)
They still have ~$1.2B left in #EVM assets.
👉 For more updates, follow @spotonchain and turn on your 🔔 at:
1. FTX entity: https://platform.spotonchain.ai/en/platform/entity/354
2. Alameda Research entity: https://platform.spotonchain.ai/en/platform/entity/79
💰$1,000 Giveaway To #TokenPocket Users. TokenPocket_TP teams up with symbiosis_fi & Tronify_io to bring you a $1,000 reward extravaganza.
🏆 Prize Pool: $1,000
Complete the simple tasks and get a chance to share the rewards and claim your #GalxeOAT!👇
https://galxe.com/TokenPocket/campaign/GCS8ytUEqJ
1️⃣ Download #TokenPocket:
👉https://www.tokenpocket.pro/
2️⃣Complete $USDT cross-chain transfer from #EVM to #TRON at least $15.
3️⃣RT & Follow TokenPocket_TP symbiosis_fi Tronify_io
Grab your ticket now for the #DeFi adventure!
The greater your trading activity, the higher your chances of securing a portion of the $1,000 giveaway!
【Details】https://twitter.com/TokenPocket_TP/status/1727978282677567995
【Powered By】Crypto Box
🥳We are thrilled to announce that UFLY Labs has completed the investment to Duck_Chain!
Duck_Chain is the first #TON consumer layer connecting TON with #EVM , #BTC , and more! Powered by Arbitrum.
DuckChain will adopt UXLINK Social Growth Layer as its social layer, providing core services for the social modules on the blockchain.
🎁DuckChain's native token will do global #TGE in Jan.2025, and we will do #Airdrops to both community members especially for $UXLINK holders and stakers!
Vitalik Buterin proposes binary state trees and a RISC-V VM to solve Ethereum’s execution bottlenecks.
⚡️ 他指出,目前以太坊执行层面临两大核心瓶颈:
1️⃣ 状态访问与存储效率
2️⃣ 虚拟机架构限制
通过引入 Binary State Trees,有望优化状态证明结构,而 RISC-V 虚拟机 则可能提升执行效率与灵活性。
“A better VM can make Ethereum beautiful and great.”
⚡️这不仅是技术升级讨论,更是 长期可扩展性与模块化路线的关键一步。
若推进顺利,或将影响未来 L2 设计与执行层架构方向。
#Ethereum#ETH#Layer1#Scaling
#Blockchain#EVM#RISC#Crypto
#блокчейн#EVM#Ethereum#база
Что такое EVM-совместимый блокчейн?
EVM (Ethereum Virtual Machine) — это "мозг" Ethereum, который отвечает за выполнение смарт-контрактов. EVM-совместимый блокчейн — это блокчейн, который поддерживает работу этих смарт-контрактов точно так же, как и Ethereum.
👍Преимущества:
• Совместимость: Можно переносить смарт-контракты и dApps с Ethereum без изменений.
• Большое сообщество: Множество разработчиков, инструментов и библиотек, которые можно использовать.
• Низкие комиссии: Некоторые EVM-совместимые блокчейны предлагают более дешевые транзакции, чем сам Ethereum.
📌 Примеры:
#BinanceSmartChain (BSC): Популярный EVM-совместимый блокчейн с низкими комиссиями.
#Polygon: Решение второго уровня для Ethereum с высокой пропускной способностью.
#Avalanche: Предлагает высокую скорость транзакций и EVM-совместимость.
❗️EVM-совместимые блокчейны — это мощный инструмент для разработчиков и пользователей. Они дают возможность работать с уже известными технологиями, но при этом выбирать наиболее подходящие условия.
@MirraChannel😎