В 2023 году мы с коллегой сделали доклад на DotNext по DDD и архитектуре систем. И там, в числе прочего, показали, что устройство сложного проекта, спроектированного по определённым правилам, может иметь фрактальную структуру. Но мысль эту особо не развивали.
В 2024 году Влад Хононов — автор одной из самых известных книг по DDD — сделал доклад на DotNext по теме «Фрактальная геометрия в проектировании систем». Разумеется, он никаким образом на нашу идею не опирался, а работал над своей системой уже несколько лет к моменту доклада. У него там прям интересные научные обоснования, более серьёзный теоретический фундамент с введением новых понятий и принципов. Но факт близости хода мысли приятен. Типа, мы с коллегой делали систему, которая показала те же свойства, что и системы крутого эксперта в архитектуре.
Прям рекомендую доклад по второй ссылке всем, кто работает в компаниях, где по какому-то странному недосмотру есть архитектура, борьба с техдолгом и попытки не допустить превращения кода в лапшу с высоким зацеплением.
#dev@clockstackwheels
pytgbot 4.0 is out with all the new API goodness, including but not limited to:
- Telegram Passport (why though?)
- Replacing media
- Bug fixes
Upgrade to the newest version via
pip install pytgbot --upgrade
or clone & install it directly from
https://github.com/luckydonald/pytgbot
#update#pytgbot
Finally found a bit of time to update pytgbot to Bot API v5.0.
Comes with a new async client as well, for those who fancy the speed of asyncio.
#pytgbot#update#v5_0
Updated @YATubeBot to be more clear of errors related to upload size.
Will now handle file size related upload errors more transparent, telling you exactly what's going on, instead of just stopping sending any updates after "Uploading...".
Now it will check file size before uploading, and also handle rare errors raised (in an unspecified way) by telegram.
Technical background:
The telegram API returns a HTML error message instead of the usual json response, which of course isn't mentioned anywere in the API documentation. This broke pytgbot, the library used to interact with the API. The package was fixed to be able to handle that. Now also provides the file size of the file to upload in an easy accessable way, so that the upload size can be checked before uploading.
#update#YATube#pytgbot#TechnicalDetails