Forwarded from Savely Krasovsky
Wikipedia
Finite-state machine
In theoretical computer science, a finite-state machine (FSM) or finite-state automaton (FSA, plural: automata), finite automaton, or simply a state machine, is a mathematical model of computation.[1] It is an abstract machine that can be in exactly one of…
Forwarded from Savely Krasovsky
Грубо говоря в базе для каждого юзера нужно хранить состояние.
Forwarded from Savely Krasovsky
Каждый раз когда он что-то новое пишет, нужно обращаться к базе, узнавать состояние и на основе этого реагировать.
Forwarded from Savely Krasovsky
Ещё есть простой способ с ForceReply, но он не гибкий и его почти всегда не хватает.
Forwarded from Viktor
Я ещё с Lonami и Даниилом обсуждал их obfuscated2 и mtproto proxy :)
Forwarded from Savely Krasovsky
Я помню этот Obfuscated2 был списке протоколов Madeline года два назад ещё.
Forwarded from Viktor
Это просто mtproto сервер который слушает ТОЛЬКО obfuscated2
Forwarded from Savely Krasovsky
Но я так и не понял. Выходит команда телеги юзанула идею Данила? Потому что никаких Obfuscated2 в клиентах телеги по-моему никогда не было.
Forwarded from Viktor
Obfuscated2 это один из протоколов, который mtproto использует в “transport component”
Forwarded from Viktor
Более того, ключ всегда подбирается чтобы он не совпал с GET/POST и другими константами, по которым определяется како именно “transport component” клиент использует
Forwarded from Viktor
The protocol is designed for access to a server API from applications running on mobile devices. It must be emphasized that a web browser is not such an application.
The protocol is subdivided into three virtually independent components:
High-level component (API query language): defines the method whereby API queries and responses are converted to binary messages.
Cryptographic (authorization) layer: defines the method by which messages are encrypted prior to being transmitted through the transport protocol.
Transport component: defines the method for the client and the server to transmit messages over some other existing network protocol (such as HTTP, HTTPS, TCP, UDP).
The protocol is subdivided into three virtually independent components:
High-level component (API query language): defines the method whereby API queries and responses are converted to binary messages.
Cryptographic (authorization) layer: defines the method by which messages are encrypted prior to being transmitted through the transport protocol.
Transport component: defines the method for the client and the server to transmit messages over some other existing network protocol (such as HTTP, HTTPS, TCP, UDP).
Forwarded from Savely Krasovsky
у меня знакомый написал простую DB через telegra.ph
Forwarded from Aleksey Grigoriev
У кого нить есть сыль на гитхаб, где выкладывают заболоченные ркном айпи?
Forwarded from Aleksandr
Там данные уже несколько дней не обновлялись, так что хз. У @rknshowtime в каждом посте диффы отдельно на pastebin