TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #672 · 28.11

Впервые сделал крупный проект (под NDA, так что не расскажу, какой) на облачных функциях. Впечатления противоречивые. Изначально программисты арендовали компьютер в датацентре: или целиком или кусочек. На нём теоретически можно делать что угодно, но для запуска своих программ нужно было настроить операционную систему, безопасность и авторизацию, установить нужные исполнительные модули, программы для удобства деплоя, мониторинг нагрузки итд. Поэтому появились сервисы, которые это всё делают за тебя, а тебе дают буквально окно, куда можно написать свой код и запускать его удалённо на чужой машине. Конкретно я пользовался решением от Яндекса, чей протокол скопирован напрямую с Amazon Web Services. Причём, в документации не только открыто об этом говорится, но ещё и в некоторых местах перенаправляют на доки от Amazon. И SDK предлагают тоже использовать амазоновский. До санкций я бы сказал, что это не так плохо — можно использовать что-то привычное тем, кто уже работал с Amazon. Но сейчас привязка к американскому сервису выглядит скорее жирным минусом. Не знаю, есть ли у Яндекса ресурсы на какое-то серьёзное разделение. Судя по состоянию документации и платформы в целом — нет. Yandex Cloud кажется системой, которая активно развивалась несколько лет назад, а сейчас подзаброшена. Среда выполнения .NET отстаёт от актуальной на две версии (3.1 вместо 6, четвёртой версии не существует). Изначально мой проект был написан как обычное контейнеризированное приложение на .NET 6, а потом я переводил его на функции. Пришлось пройтись по всему коду и переписать несовместимые куски с C#10 на C#8, это было не слишком приятно. Документации фактически нет, а там, где есть, много путаницы. В примерах написано одно, по факту другое: например в функцию вместо объекта Request приходит просто строка, а разбирать её надо самому. Авторизацию я нашёл только на Stackoverflow. Интересно, что адекватных доков про неё не было ни у Яндекса, ни у Amazon. Функция выполняется и выгружается, поэтому ваша программа не должна рассчитывать на наличие постоянно живущего процесса. Мне пришлось вытащить из неё большой словарь, который грузится при старте, и положить уже подготовленные данные из него в Object Storage — это такое горячее файловое хранилище, там же рядом с функциями. Справедливости ради, работает это всё быстрее, чем я думал. Удалось запихнуть в функции даже сравнительно большой проект с кучей классов, создающий при запуске несколько десятков объектов и производящий загрузку из сети с декомпрессией. Другой важный плюс — бесплатная квота довольно внушительная: миллион вызовов и 10Гб*часов оперативной памяти в месяц. Для пет проекта вы сможете вообще не покупать сервер. Но если сервер у вас всё-таки есть, деплой вы уже настроили, то удобнее будет, конечно, делать как привычно. И гибкости больше. #dev

Hashtags

Резултати

Намерени 869 подобни публикации

Общо глобално търсене

Ben Edgington | 𝕏🧵 RT @abcoathup: FAQ ⌛️@ethdevnews limited run Weeks not months. Unless I find sponsors/grants. @optimism's RetroPGF 2 grant for @weekinethnews pays my rent and feeds my family. But after living off that for years (thanks @evan_van_ness🙏) it is finally coming to the end. I want to work for Ethereum forever but also need to eat. 🤖 Can't AI do ethdevnews Not yet, but eventually. Currently news gathering is manual (twice a day, 7 days a week), with manual curation. I use AI for quick fact checking, but my wife is the best proof reader. If your AI news just points to where I have curated updates on @EthMagicians or assigned EIP/ERC numbers, then it is still me doing manual work (though happy for AI to takeover these unpaid tasks). 🧑‍💻@abcoathup job hunting Tech writing/community likely suits me best. I'm more of an AI prompter than a software engineer these days but would consider testing. I want remote async & family friendly. I’m in Melbourne Australia. Travelling (family commitments) and public speaking (autistic) are both hard for me. Resume and writing samples available. --- Thanks friends for all the support. 🙏 ~ ₿izFeed#⃣:#dev#ETH

Hashtags

vitalik.eth | 𝕏🧵 RT @liron: Doom Debate with @VitalikButerin has dropped: Will “d/acc” Protect Humanity from Superintelligent AI? Vitalik is both a hardcore techno-optimist and builder, and someone willing to seriously consider AI regulation and coordination mechanisms. He coined the term "d/acc'" – defensive, decentralized acceleration – as a middle path between uncritical AI acceleration and total pause scenarios. We debate the tractability of AI alignment, whether approaches like d/acc would actually work when superintelligence arrives, and why he thinks a pluralistic world of competing AIs might be safer than a single aligned superintelligence. The crux of our disagreement is that I think we're heading for a "plants vs. animals" scenario where AI will simply operate on timescales we can't match, while Vitalik believes we can maintain agency through the right combination of defensive technologies and institutional design. Finally, we tackle the discourse... View original post ~ ₿izFeed#⃣:#dev#ETH

Hashtags

‌Ben Edgington | 𝕏🧵 RT @ethresearchbot: New post on EthResear.ch! Integrating 3SF with ePBS, FOCIL, and PeerDAS By: - Luca Zanolini - Roberto Saltini 🔗ethresear.ch/t/22909 Highlights: - The integration of 3SF with ePBS, FOCIL, and PeerDAS aims to enhance blockchain efficiency and security by addressing transaction inclusion and proposer-builder separation. - The proposed system operates in slots, allowing all validators to vote on blocks every slot, which simplifies the process and removes the need for epochs or committees. - FOCIL ensures that important transactions are included in blocks by requiring proposers to follow inclusion lists created by a committee of validators, preventing censorship. - ePBS formalizes the separation of roles between block builders and proposers, allowing for a more competitive and transparent block construction process. - The research highlights the importance of maintaining core properties of 3SF, such as reorg resilience and transaction inclusion, even when integrating new mechanisms. ELI5: This research explores how to combine a new protocol called 3SF with other proposals to improve blockchain performance and security. It looks at how these systems can work together without causing problems, ensuring that transactions are included fairly and efficiently. ~ ₿izFeed#⃣:#dev#ETH

Hashtags

Ben Edgington | 𝕏🧵 RT @0xzak: I've been in crypto for over 10 years and I’ve Never been hacked. Perfect OpSec record. Yesterday, my wallet was drained by a malicious @cursor_ai extension for the first time. If it can happen to me, it can happen to you. Here’s a full breakdown. 🧵👇 ~ ₿izFeed#⃣:#dev#ETH

Hashtags

vitalik.eth | 𝕏🧵 A good book, worth reading to understand the basic case for why many people, even those who are generally very enthusiastic about speeding up technological progress, consider superintelligent AI uniquely risky https://twitter.com/ESYudkowsky/status/1922710969785917691 ~ ₿izFeed#⃣:#dev#ETH

Hashtags

12•••5•••89101112•••15•••20•••25•••30•••35•••40•••45•••50•••55•••60•••65•••70•••7273