Ah yeah I misread your comment. 100% agree.
Ah yeah I misread your comment. 100% agree.
From what I could tell it’s just because he cared about things a lot, and maybe is a little on the spectrum. He definitely wasn’t wrong, and maybe other people would have just given up and gone on with their lives but I don’t think that’s necessarily a trait to encourage.
To put it another way, sometimes when people kick up a fuss it’s because they are obstinate naysayers, and sometimes it’s because they’re doggedly holding decision makers to account. This seemed more like the latter from what I read.
Well, in fairness imagine if Guido did become a racist sexist arsehole. I don’t think he should be immune.
But clearly this situation is not right.
valid criticism of his own defense
To be clear that post makes a valid point (don’t defend people just because they seem nice or dedicated or whatever), but it isn’t a valid criticism of Chris’s post because he didn’t do that.
He did say Tim is nice and dedicated etc. etc. but he also went through the specific crimes that Tim was supposed to have committed and refuted them.
I read a load of Tim’s comments and this was definitely a case of the CoC people getting annoyed with someone who disagreed with them and wouldn’t give up. There wasn’t anything remotely ban-worthy.
I dunno maybe once a week or so? We don’t actually have a system that detects if your pip install
is out of sync with pyproject.toml
yet so I run it occasionally just to make sure.
And it runs in CI around a dozen times for each PR. Yeah not ideal but there are goodish reasons which I can explain if you want.
Oo hello. Didn’t know that’s what you were doing these days! Hope it goes well, though I’d be nervous about a realistic business plan.
Anyway, yeah bit too late for Python.
they wouldn’t have made a different tool altogether if it was really a 1:1 replacement
Why not? It’s 10x faster.
I think it might have some other new features but you don’t need to use those.
i doubt one person on the team could be using uv while everyone else sticks to pip
This is exactly what we do at work. There’s no way I could convince everyone to switch to uv
so I just switch between them based on an environment variable.
It even supports random stuff like pip install --config-settings editable_mode=compat --editable foo
which is required for static tooling to work (e.g. Pyright).
you generally use a SAT solver for dependency resolution (unless you don’t care for correctness)
Actually Go’s dependency system is specifically designed to avoid the need for global constraint solvers. Go has the most modern and elegant dependency versioning system that I’m aware of. Python was designed before people realised that it’s dependency style was a mistake.
uv
is a drop-in replacement for pip
. There’s no extra standard. It’s pareto better. Honestly the Python community would do the world a favour if the deprecated pip and adopted uv as the official tool, but you can guess how likely that is…
uv
is fantastic. I would highly recommend it. I’ve used it in a quite complex environment, with no issues (quite an achievement!) and it’s about 10x faster than pip.
I mean… I guess it’s not surprising given uv
is written in Rust and pip is written in Python, but even so given pip is surely IO bound I was expecting something like 4x improvement. 10x is impressive.
Yes. For the project I work on pip install
takes about 60 seconds and replacing it with uv
reduces that to about 7 seconds. That’s a very significant improvement. Much less annoying interactively and in CI we do this multiple times so it saves a significant chunk of time.
Thanks for finally being explicit about the kind of person you are.
As if wokeness isn’t a thing 🙄
You seem to be giving a lot more leeway to interpretations of Peters’ words than my comparison. Odd.
It doesn’t require any leeway. It’s a totally mainstream opinion supported by actual research. It’s only in woke CoC teams that comments like that are objectionable.
he’s also dismissing that it’s worthwhile to try and have an environment free from sexual harassment.
Complete misunderstanding of his comment. Read it again.
Gracefully accepting constructive criticism.
Lol the irony is overpowering.
If you “made light of sexual harassment training” at your job like this you would be fired?
And I lost count of how many times an executive at a startup I’ve worked for was charged with sexual harassment. The outcome was always the same: nothing actually happened to them, but the entire company was sentenced to days of “sexual harassment prevention” training, as part of the deal the bigwig cut to get off easy. By now I must be one of the most highly trained people on Earth in that specialty :wink:.
Jesus you should leave now! That’s not ok. (At least in countries with proper labour laws; I guess in America they can fire you for anything.)
I mean I wouldn’t advise writing that on your company Slack, but nowhere I have ever worked would fire you for it.
In any case the Python community isn’t a company & as far as I understand it Peters isn’t getting paid.
So either you agree with what it’s called or you’re “disruptive” and should be banned? Hmm.
I read a load of his comments and they seem quite reasonable. A million miles from ban-worthy.
Those sensors are pure trash. Use SHT-75 or SHT-85 if you actually care about getting a real value. More expensive though.
I wouldn’t recommend it. Installing Python packages not in a venv is asking for trouble. Why do you care anyway?
Yeah I agree.
In fairness for the invalid escape sequence thing static linters (Pylint, Pyright, etc.) should be already telling you about it.
In VSCode the best answer by far is Pylance, which uses Pyright under the hood for type analysis.
Unfortunately while Pyright is open source, Pylance isn’t (part of Microsoft’s strategy to maintain control over VSCode), so you can’t use it in Emacs.
Still, I would give the Pyright LSP server a try. I haven’t used it but I would guess it will give you type error squiggles but maybe not code completion / go-to-definition.
Ruff is really a different thing - it is a linter like Pylint, so it only gives you some hints and fixits. You can maybe install it in addition to Pyright if you can be bothered.
Btw Pyright is far superior to Mypy - even with
--strict
. I would ditch Mypy asap.