@mdmbeng · Post #1937 · 20.06.2024 г., 07:31
#薅羊毛#SafePal#硬件钱包 本月底结束! 价值69.99$的SafePal硬件钱包免费领取 支付5U直邮中国! 教程由 ink 撰写 频道:@mdmbeng 投稿:@mdmbeng_Bot
TGINSIGHT SIMILAR POSTS
Изходен канал @clockstackwheels · Post #721 · 26.12
Почему я люблю языки с сильной системой типов, проверяемой статическим анализом кода — хорошо написанная программа является своей собственной спецификацией и позволяет выражать через язык программирования законы существования предметной области. Когда-то давно я писал на ActionScript. Там была система типов, но вот десериализация JSON'ов по-умолчанию была в какой-то общий Object, к полям которого нужно было обращаться ["по_строковому_имени"]. В один момент мне потребовалось написать что-то на C#, который я совсем не знал, я стал гуглить, как десериализовать JSON, и с удивлением обнаружил кучу советов заранее объявить класс со всеми нужными полями и десериализовать в него. "Какой ужас!", — подумал я тогда, — "Это же дико неудобно! А если я не знаю полей JSON? А если их много? Отвратительный язык!" Теперь то я прекрасно понимаю, что JSON это контракт, и что правильная десериализация только такая и должна быть, и что в хорошем API в одном поле никогда не бывает данных принципиально разных типов, и так далее. Нет, если вы набиваете вечерами пет-проект или сидите бессонную ночь на хакатоне, нет ничего плохого в том, чтобы взять простой язык с динамическими типами вроде JavaScript или Python, не требующий описывать данные. Но вот в энтерпрайзе, особенно когда над одним проектом работает много людей (а бывает это очень часто) — хорошее использование системы типов убережёт разработчиков от огромного количества ошибок, будет бить их по рукам, когда они пытаются сделать что-то не то, и будет подсказывать, когда они не уверены в чём-то. С помощью статической типизации можно на уровне кода обозначить правила, по которым ведёт себя предметная область вашей программы в реальном мире. Разработчику не только будет сложно их нарушить, но он ещё и станет узнавать какие-то вещи, которые мог не знать раньше. Например, если мы делаем медицинскую CRM, и больница заводит новых пациентов только тогда, когда знает их группу крови, мы можем объявить тип "Пациент" (или, если точнее, "Карта пациента") и запретить создавать экземпляры этого типа, не передав в конструктор группу крови (которая, в свою очередь, тоже является типом, вероятнее всего ValueObject'ом). Если новый программист пришёл в проект, он, во-первых, не сможет записать в БД некорректную карту пациента. Понятно, мы не учитываем случаи, когда новый программист переделывает модели предметной области — это будет хорошо видно на кодревью. А, во-вторых, даже если ему никто не сказал, что пациенты должны быть с группой крови, он узнает это из кода. И уже будет понимать, что в тех процессах реальной жизни, которые он описывает кодом, карта пациента создаётся только при наличии группы крови. А, значит, нужно искать какой-то способ сначала эту группу крови получить, и только потом создавать карту. Программирование моделирует реальный процесс. В настоящей работе даже на языках с типами, конечно, без должного контроля можно написать что угодно. Нужна управленческая воля, компетентность руководства, понимание опасности техдолга, в идеале отдельные должности для архитекторов, опытные лиды и старшие разработчики. Но когда всё это есть, можно отсекать много проблем ещё на старте и проще погружать новичков. #dev
Hashtags
Търсене: #safepal
@mdmbeng · Post #1937 · 20.06.2024 г., 07:31
#薅羊毛#SafePal#硬件钱包 本月底结束! 价值69.99$的SafePal硬件钱包免费领取 支付5U直邮中国! 教程由 ink 撰写 频道:@mdmbeng 投稿:@mdmbeng_Bot
@tonevents_en · Post #1019 · 25.11.2024 г., 13:15
Tangem Core. Reliability. ❤️ ✅ Three similar devices offer a second and third chance to recover your assets in case of accidents or loss. ✅ The #Tangem chip is a product of a collaboration with Samsung Semiconductors, Inc. Its incredible performance and reliability. ✅ The chip is fortified against electromagnetic pulses (EMP), electrostatic discharge (ESD), and X-rays, adhering to the stringent ISO 7816-1 standard for security. ✅ The entire wallet is IP69K certified, offering full dust and water resistance. It functions optimally in temperatures between –25°C and +50°C. ✅Tangem devices have an impressive 25-year replacement warranty, reflecting our confidence in their longevity and durability. ✅ As a monolithic device, no components have a shorter lifespan or are vulnerable to damage or hacking. 🛡When it comes to safeguarding your assets, nothing is more crucial than unwavering reliability.🤜 🛍🛍Easy buy a cold wallet Tangem with a 10% discount promo code: FG7L9X at tangem.com #Safepal#Ledger#Trezor#TON
@tonevents_en · Post #998 · 19.11.2024 г., 07:53
Tangem Core: Security❤️ What's inside? ✅Certified equipment: The highest level of safety among consumer devices — EAL 6+. ✅Firmware tested twice: First in 2018 by the Swiss company Kudelski Security and again in 2023 by the international laboratory Riscure. Both audits confirmed the absence of vulnerabilities and backdoors in the firmware, which cannot be updated. ✅Open Source Software: Fully transparent and available for review on GitHub. ✅Anti-counterfeit protection: When you activate your wallet, the app verifies the secure element, confirming its authenticity with #Tangem. ✅Private Key Security: Private keys are generated inside the chip when the wallet is activated using a hardware random number generator. No one, including Tangem, has access to these keys. ✅Smart Backup: Three hardware devices instead of one, each providing the same high level of security. No unsafe copies required. ✅Absolute privacy: Your private keys cannot be disclosed under any circumstances. ✅User-controlled access: The wallet is protected by your access code and biometric authentication. 🛡This is what absolute safety means! 🛍🛍Easy buy a cold wallet Tangem with a 10% discount promo code: FG7L9X attangem.com #Safepal#Ledger#Trezor#TON
@tonevents_en · Post #754 · 09.08.2024 г., 16:41
OKX DEX — DEX aggregator and cross-chain bridge — now available on Tangem!⚪️ With a new provider — new opportunities: - Over 1,000,000 new exchange pair options. - Over 1,500 new tokens available for swap. - No KYC. The team is improving the versatility and usability of the Tangem app by integrating more and more providers. Update your app and start exchanging crypto right now!🔄 🛍 Buy a cold wallet #Tangem with a 10% discountfrom our channel using the promo code:FG7L9X #safepal#ledger#trezor#ton#okx
@tonevents_en · Post #865 · 22.09.2024 г., 09:52
OKX DEX — DEX aggregator and cross-chain bridge — now available on Tangem Express!⚪️ With the new provider you can enjoy the following features: ↔️Over 1,000,000 new exchange pair options ↔️Over 1,500 new tokens available for swap ↔️KYC/AML not required🔥 Enjoy the ability to easily exchange crypto between different networks via the new OKX DEX directly in the Tangem app. Swap now! 🛍Buy a cold wallet #Tangem with a 10% discount from our channel using the promo code: FG7L9X #Safepal#Ledger#Trezor#TON#OKX#DEX
@tonevents_en · Post #1682 · 11.07.2025 г., 07:38
😇EVAA Updates: New Integrations, Expanded Features & Security Focus 🪙Integration with SafePal EVAA is now available in the TON DeFi Collection section of the SafePal wallet. Through #TON Connect, users can work with basic assets, take and issue loans, as well as use lending in various LP pairs. The team has prepared a detailed text guide on connecting and using the protocol. ☕️Partnership with Swap Coffee The protocol is integrated into the Swap Coffee aggregator. In the #Yield tab, you can now: • track the current APR for EVAA pools; • deposit and withdraw assets; • manage deposits and loans. 🪙Temporary suspension of collateral in $CATI Since Friday, July 11, support for the $CATI token in the ALTs pool has been temporarily disabled due to low liquidity. All active positions are safe and not subject to liquidation; however, opening new collateral in $CATI is currently not allowed. This decision was made to increase the protocol's stability. 🛡Trail of Bits audit completed EVAA successfully passed the final stage of the audit at Trail of Bits. Despite recent criticism of this company's address due to an incident with another project, the #EVAA team emphasizes that reliability and transparency remain its priority. EVAA app | News | Chat | Website #EVAA#SafePal#CATI#Audit#Security#DeFi#Toncoin