habrahabr
Shawarma as a service: как создать бота для заказа шавермы и оставить голодными лишь 1,1% коллег

Полтора года назад в Selectel появилась традиция кушать шаверму по четвергам. Акция, названная Шавадеем, быстро обрела популярность. С увеличением количества адептов ее организационные моменты — в частности, сбор и отправка заказов — становились все сложнее. На помощь позвали программиста — меня. В этой статье я расскажу, как мы автоматизировали организацию шавадея, написав бота, как Telegram вставлял палки в колеса, как я с этим боролся и что в итоге получилось. В конце вас ждет статистика,…

  • суббота, 17 июня 2023 г. в 00:00:17
habrahabr
Убийство разработки: опыт Selectel

Диаграмма, составленная менеджеромИтак, я зашел в раздел с постами и там увидел диаграмму (пик рилейтед).А под ней ссылка на статью «Разработчики - в стойло, менеджеры в - башню из слоновой кости: создаем касту избранных в 4 шага». Не на что тут смотретьВсего 3 комментария, 1900 просмотров и целых 37 пальцев вверх. Отличный результат, я уверен, тут нет никакой накрутки. Статья очень нажористая, рекомендую ознакомиться.Нукси (имя изменено) поведала нам, как в отделе занимающемся дашбордом, где …

  • суббота, 17 июня 2023 г. в 00:00:17
javascript
Cмарт-контракт. Solidity + Ganache

Транзакция на создание смарт-контрактаВ данной статье мы познакомимся с тем, как задеплоить очень простой смарт-контракт на локальный блокчейн Ganache. После развёртывания смарт-контракта, мы научимся взаимодействовать с ним путём отправки транзакций в его адрес. Для простоты я буду использовать фреймворк Truffle, так как он упрощает деплой и взаимодействие со смарт-контрактом.В качестве контракта мы создадим самый простой Faucet. В реальных условиях Faucet используется как хранилище криптовал…

  • суббота, 17 июня 2023 г. в 00:00:15
github
rvaidun / befake

view bereals without posting your own :)BeFake Site will not be hosted anymore since I got a Cease & Desist from BeReal for unauthorized access to their API. Code will still be kept public for educational purposes and to point out the security vulnerabilities in the BeReal API Features See friends' posts without posting anything yourself BeFake allows you to see your friends' posts without posting anything yourself. You can also screenshot their posts without them getting notified…

  • суббота, 17 июня 2023 г. в 00:00:13
github
open-mmlab / mmagic

OpenMMLab Multimodal Advanced, Generative, and Intelligent Creation Toolbox. Unlock the magic 🪄: Generative-AI (AIGC), easy-to-use APIs, awsome model zoo, diffusion models, for text-to-image generation, image/video restoration/enhancement, etc.   Multimodal Advanced, Generative, and Intelligent Creation (MMagic [em'mædʒɪk])   OpenMMLab website HOT      OpenMMLab platform TRY IT OUT   …

  • суббота, 17 июня 2023 г. в 00:00:12
github
ataradov / usb-sniffer

Low-cost LS/FS/HS USB sniffer with Wireshark interfaceLow-cost USB Sniffer (LS/FS/HS) with Wireshark interface This sniffer can be used standalone from a command line or as a plugin for Wireshark with direct control from the UI. Either way, the capture is saved in a standard PcapNG format. Here are some example capture files: Mouse (Low-Speed) Virtual COM-Port Adapter (Full-Speed) USB Flash Drive (High-Speed) Note: You will need a recent version of Wireshark (v4.x.x). Older versions may not …

  • суббота, 17 июня 2023 г. в 00:00:11
github
tatsu-lab / alpaca_eval

A validated automatic evaluator for instruction-following language models. High-quality, cheap, and fast. AlpacaEval : An Automatic Evaluator for Instruction-following Language Models Evaluation of instruction-following models (e.g., ChatGPT) typically requires human interactions. This is time-consuming, expensive, and hard to replicate. AlpacaEval in an LLM-based automatic evaluation that is fast, cheap, replicable, and validated against 20K human annotations. It is particularly useful for…

  • суббота, 17 июня 2023 г. в 00:00:07
github
krzysztofzablocki / Swift-Macros

A curated list of awesome Swift MacrosSwift Macros 🚀 Swift Macros have brought in a new wave of possibilities. The aim of this project is to curate a list of community-created Macros and associated learning resources. A lot of use-cases my Sourcery covered before can now be implemented by Swift Macros. Learning Resources 📚 Tools Swift AST Explorer This is extremely helpful when working with SwiftSyntax, I used this when writing Sourcery parser and you can leverage it to build your own Macr…

  • суббота, 17 июня 2023 г. в 00:00:06
github
YimMenu / YimMenu

YimMenu, a GTA V menu oriented at protecting from crashes (not all currently) and improving the overall experience.YimMenu A mod menu base for Grand Theft Auto V. Strictly for educational purposes. YimMenu is originally based of off BigBaseV2 which was an amazing base at the time but nowadays is a bit dated. So here I am with an up-to-date menu focusing on protecting the user from toxic modders. Table of contents How to build Make your own flavour of YimMenu Staying Up To Date Project Struct…

  • суббота, 17 июня 2023 г. в 00:00:05