Size: a a a

2020 May 07

Б

Боброний in PiterPy Meetup
Понять бы какую заглушку
источник

SB

Sasha Brud in PiterPy Meetup
Irina Saribekova
в питонячьи, дата саенс и го закинула
в целом интересны в принципе все технические, но с другими я не знакома)
я могу закинуть еще в куа-чаты
источник

SB

Sasha Brud in PiterPy Meetup
если надо
источник

IS

Irina Saribekova in PiterPy Meetup
Sasha Brud
я могу закинуть еще в куа-чаты
было  бы супер =)
источник

MK

Maxim Koltsov in PiterPy Meetup
Боброний
Это вопрос?
в общем, я не знаю можно ли такое делать не используя typing.Generic
источник

MK

Maxim Koltsov in PiterPy Meetup
но я сам не пробовал, может и можно
источник

Б

Боброний in PiterPy Meetup
Maxim Koltsov
в общем, я не знаю можно ли такое делать не используя typing.Generic
Используя точно нельзя
источник

E

Eugene in PiterPy Meetup
Виктор Титов
переходим с луиджи
Я почитал про airflow. А почему переходите с luidgi (про luidgi помню был на докладе Никиты). Просто на переколбашивание всех пайплайнов и инфры просто так не решаются, должны быть веские причины.
источник

Б

Боброний in PiterPy Meetup
источник

АП

Алексей А́риксу Петр... in PiterPy Meetup
Meanwhile in C language

a[1]==1[a]
источник

DA

Dmitry Alimov in PiterPy Meetup
Алексей А́риксу Петров
Meanwhile in C language

a[1]==1[a]
Ага)
источник
2020 May 08

DB

Dima Boger in PiterPy Meetup
Выкладываем в открытый доступ на youtube очередную и заключительную порцию видео по итогам PiterPy 2019

1) Николай Сасковец​ / Passionate Software Engineer
Строим микросервисное приложение используя Kafka и Django
https://youtu.be/CeOJlLVy6fw

2) Сергей Халецкий / EPAM
GraphQL + Python сегодня. Реализация Public API с помощью GraphQL
https://youtu.be/vNK0kc2Zmz4

3) Денис Катаев​ / Tinkoff.ru Разработчики имеют такие логи, на какие у них хватает фантазии
https://youtu.be/ryVnQShxZA8

4) Дмитрий Карпов / Wargaming
Перевод проекта со 2 на 3 Python
https://youtu.be/auVSCqUQ6F4

5) Александр Толмачев / Xsolla
Автоматический прогноз оборота бустинговыми моделями и DL
https://youtu.be/9SWZEAz6Vac

6) Константин Тяпочкин, Алексей Смирнов / Profiscope
Зачем роботам читать ваш код?
https://youtu.be/R8A0fAfA8Kk
источник

DB

Dima Boger in PiterPy Meetup
все выкладывают видео 🌚
источник

SB

Sasha Brud in PiterPy Meetup
видео мои видео
источник
2020 May 09

VB

Vladimir Bukhonov in PiterPy Meetup
👍🏻
источник

VB

Vladimir Bukhonov in PiterPy Meetup
Спасибо
источник
2020 May 10

D

Dmitriy in PiterPy Meetup
Technical Board statement on type hints for Django

Sorry for the late answer, I didn't have time to read this mailing list for the last month :-( Here's my position on the matter.

Adding type annotations only makes sense if a type checker checks them. Otherwise, they're unlikely to be correct and usable, so it would be counterproductive to add them. Unfortunately, I don't think we have a good enough type checker yet.

I'm having a rough experience maintaining type checking with mypy in websockets <https://github.com/aaugustin/websockets>, a library that is very much smaller and simpler than Django. (Some problems are related to async, which isn't a concern for Django, but that doesn't explain everything.)

* Besides adding the type annotations, type checking required many other code changes. Importing types in modules that need them created circular dependencies. Fixing these import loops required moving imports to the bottom (ugh), splitting code in small modules (meh), or always importing modules rather than objects inside modules (perhaps a good practice, but changing this throughout a project creates a lot of noise). Also, import loops tend to reappear when implementing new features or refactoring.

* It's an uphill struggle to keep up with subtle changes of behavior in mypy — which is still 0.x software. I also encountered regressions that required pinning to an old version. Supporting more than one mypy version seems out of reach. I'm very pessimistic about supporting more than one type checker.

* I don't remember mypy catching interesting bugs. I'm keeping it only because I'm failing to deal with the sunk cost logical fallacy :-( Overall, adding type annotation to websockets has decreased my ability and willingness to maintain it. I believe it increased the barrier to entry for other contributors as well.

So, I think the ecosystem needs to stabilize a lot before Django can adopt static typing, even just as a best practice for new code. Comments like this one <https://github.com/django/deps/pull/65/files#r333706194> make me uncomfortable about living that close to the edge.

Also, given that static typing was bolted on Python very late in its history and that there's a strong tradition of relying on duck typing, I'm not yet convinced static typing will ever be widely accepted as a best practice.
источник

MK

Maxim Koltsov in PiterPy Meetup
> splitting code in small modules (meh)
источник

DB

Dima Boger in PiterPy Meetup
Ну что, ещё пару лет подождать что ли
источник

MK

Maxim Koltsov in PiterPy Meetup
А есть, интересно, истории успеха с растом на бэке?
источник