У Лавки Игр хороший SMM, но я на их примере хочу проиллюстрировать важность умения разбираться в деталях той системы, которой ты пользуешься.
СММщик писал пост с упоминанием статьи и вместо прямой ссылки на запись просто скопировал свой текущий URL из адресной строки браузера после того, как зашёл в поиск и нашёл нужный текст.
То есть, в тексте вместо простого /wall-8375786_166962 получилось что-то такое:
/search?c%5Bper_page%5D=40&c%5Bq%5D=истбрук&c%5Bsection%5D=statuses&w=wall-8375786_166962
Можно говорить, что это скорее ошибка ВК, но в разработке на самом деле есть некоторые подходы вроде CQRS, идемпотентности и семантического использования HTTP-методов, говорящие, в числе прочего, о том, что URL должен полностью отражать текущее состояние страницы. Думаю, это наследие Дурова, который любил консервативные решения. В любом случае, ВК здесь совершенно не уникален, и немало систем, которые ведут себя точно так же.
При этом СММщик вызывает своей ссылкой у пользователей непредвиденное поведение: заход на страницу поиска и ввод поисковой фразы. А нижняя ссылка на скриншоте ещё хуже — обратите внимание, там нужный пост был открыт изнутри некоторой личной переписки, поэтому нажатие на ссылку формирует, внезапно, запрос на переписку с незнакомым большинству пользователей человеком, с которым общался СММщик в этот момент.
Помимо просто путаницы для людей, которые в этом не разбираются (а таких большинство), возникает ещё и вполне прямая опасность: мало ли, что за страницы и с какой целью открыты у СММщика в момент вставки ссылки. Вполне возможна ситуация, при которой таким способом будут выданы закрытые сведения или даже даны несанкционированные доступы.
#web
https://blog.miguelgrinberg.com/post/designing-a-restful-api-with-python-and-flask
In recent years #REST (REpresentational State Transfer) has emerged as the standard architectural design for #web services and web #APIs.
In this article I'm going to show you how easy it is to create a RESTful web service using Python and the Flask microframework.
What is REST?
The characteristics of a REST system are defined by six design rules:
Client-Server: There should be a separation between the #server that offers a service, and the #client that consumes it.
Stateless: Each request from a client must contain all the information required by the server to carry out the #request. In other words, the server cannot store information provided by the client in one request and use it in another request.
Cacheable: The server must indicate to the client if requests can be cached or not.
Layered System: Communication between a client and a server should be standardized in such a way that allows intermediaries to respond to requests instead of the end server, without the client having to do anything different.
Uniform Interface: The method of communication between a client and a server must be uniform.
Code on demand: Servers can provide executable code or scripts for clients to execute in their context. This constraint is the only one that is optional.
https://docs.djangoproject.com/en/1.11/ref/contrib/gis/
#GeoDjango intends to be a world-class #geographic#Web#framework. Its goal is to make it as easy as possible to build #GIS Web applications and harness the power of spatially enabled data.
#typescript#agent#ai#ai_agents#browser_automation#javascript#typescript#ui_automation#web
Page Agent is an open-source tool that lets you control webpages with simple natural language commands, like "Click the login button." It runs directly in your browser with one line of code—no extensions, Python, or screenshots needed—and works with your own AI models for privacy. Use it for fast form filling, AI copilots in apps, accessibility via voice, or multi-page tasks. This saves time by turning clicks into sentences, making complex web apps easy and accessible for everyone.
https://github.com/alibaba/page-agent
#rust#async#framework#http_server#rust#salvo#web
Salvo is a simple yet powerful Rust web framework that gives you fast, modern servers (HTTP/1–3, WebSocket/WebTransport) with minimal Rust knowledge required, built on Hyper and Tokio. It uses a unified handler/middleware model, an infinitely nestable, chainable router for clear public/private route grouping, built-in multipart/file upload and data extraction, automatic OpenAPI generation, ACME TLS support, and a CLI to scaffold projects—so you can prototype and deploy secure, high-performance backends quickly with less boilerplate and easier routing, testing, and API documentation.
https://github.com/salvo-rs/salvo
Навигация по каналу.
Всем привет, с вами разработчик из Петербурга, а здесь мой личный блог. Многие люди говорят мне, что им нравится, как я пишу, и это поддерживает существование данного канала. Тут совершенно точно не будет примитивного агрегатора новостей, очередной подборки мемов или филиала твиттера с короткими эмоциональными высказываниями. Данный блог — вдумчивый и авторский, содержит мои размышления и пережитый опыт. Подписывайтесь, если вам действительно интересно читать. Буду рад также вашему участию в обсуждениях.
Вот основные теги:
#dev — программирование
#gadgets — гаджеты
#games — видеоигры и настолки
#fiction — книги, фильмы
#hobby — DIY и другие хобби
#web — интернет, соцсети
#life — просто о жизни
Mull
This is a privacy oriented and deblobbed web browser based on Firefox. It enables many features upstreamed by the Tor uplift project using preferences from the arkenfox-user.js project. It is compiled from source and proprietary blobs are removed using scripts by Relan.
Source code : https://gitlab.com/divested-mobile/mull-fenix
Project website: https://divestos.org
F-Droid repo:
https://divestos.org/fdroid/official/?fingerprint=E4BE8D6ABFA4D9D4FEEF03CDDA7FF62A73FD64B75566F6DD4E5E577550BE8467
📡@NoGoolag📡@Libreware
#mull#web#browser#ff#firefox#fennec