logging_strict

joined 8 months ago
[–] logging_strict@programming.dev 1 points 1 week ago (1 children)

U are not wrong.

Dependency management is tough and often frustrating. Dealing with resolving dependency conflicts is unavoidable. This area is a constant focus of development, so could see improvements over time.

Some packages to keep an eye on:

pip & setuptools

pip-tools (specifically pip-compile)

https://pypi.org/project/pip-compile-multi/

poetry

Any others i've missed?

If it's worth sharing it's worth to accompany the blog post with a repo containing unittests and tox.ini and pre-commit

If that had been done, tox would give feedback that match switch support is py310+

functools.singledispatch might be helpful to test multiple implementations

Complaint about sharing code within a blog post is the quality is ALWAYS suspect.

Lets leave crapoverflow.com style code examples in the past. Instead share tested code.

Also logging is not isolated. Bleeds all over the place. Which is a deal breaker

Not worth the endless time doing forensics

Agree! Lets stick with multiprocessing

one thread sounds nice. Lets do much more of that

that's pretty cool u are curating release announcements

[–] logging_strict@programming.dev 1 points 4 months ago

Just activate the venv and then put it out of your mind. Can activate it with either a relative or absolute path. Doesn't matter which

[–] logging_strict@programming.dev 1 points 6 months ago

LPython will be obsoleted by Mojo

[–] logging_strict@programming.dev 1 points 6 months ago* (last edited 6 months ago)

BFF 1: Chuck is going to be so surprised. We've hired the best caterers, cosplay theme, fireworks, yard ales, twister themed blind laser tag, there will be balloons, ball pool, athletic challenge course, fabulous entertainment from top notch talent, show girls, the wine will flow like water

BFF 2: Tell me you didn't invite that grifter, mypy

BFF 1: I ... err ... hum. Opps

mypy enters the conversation

Don't use lambda use def function instead

BFF 2: Man i hate that guy. Rains on our parade and sucks the fun out of the room (and this entire thread).

[–] logging_strict@programming.dev 1 points 8 months ago

Heard that only pyright, not mypy, has support for the new typing syntax

Wouldn't hurt to try out another static type checker. And if pyright is better. Switch.

Using mypy btw. Haven't moved on to support the new typing syntax