21,271 karma · joined Nov 23, 2012 (14y ago) · 6,737 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 8mo ago · link · parent
Poetry's CLI would often, for me, just fall over and crash. Crashing a lot is not a fundamental problem in the sense you can fix the bugs, but hey I'm not hitting uv crashes.
pipenv was even worse in terms of just hanging during package resolution. Tools that hang are not tools you want in a CI pipeline!
The end result: `uv run` I expect to work. `pipenv` or `poetry` calls I have to assume don't work, have to put retries into CI pipelines and things like that.
comment 8mo ago · link · parent
Full time effort put into tools gets you a looooot of time to make things work well. Even ignoring the OSS stuff, many vendors seem to consider their own libs to be at best “some engineers spend a bit of time on them” projects!
comment 8mo ago · link · parent
I regret to inform you that there are _loads_ of multi-decades-old Python stacks at this point.
On the micro level I'll be like "ugh wish I wasn't paying the costs of Python" decently enough. But on the macro level I don't regret Python stacks. At least not when looking at the alternatives.
Tho I will admit I'm a bit mystified at data science stuff in particular persisting in Python. Lots of CPU churn even if the underlying libs are all C extensions.
comment 8mo ago · link · parent
It wasn't until much later (I would say 3.4 or 3.5?) that we had good tooling to allow for migrating from Python 2 to Python 3 gradually, which is what most tools needed to do.
The final thing that made Python upgrading easy was making a bunch of changes (along with stuff like six) so that you could write code that would run identically in Python 2 and Python 3. That lets you do refactors over time, little cleanups, and not have the huge "move to Python 3" commit.
comment 8mo ago · link · parent
https://discuss.python.org/t/pep-744-jit-compilation/50756/8... here's one thing
I do think you can also just outright ask questions about it on the forums and you'll get some answers.
At the end of the day there's only so many people working on this though.
comment 8mo ago · link · parent
And getting rid of descriptors would be a _fundamental change to the language_. An immeense one. Loads of features are built off of descriptors or descriptor-like things.
And what you're complaining about is also not true in Javascript world either... I believe you can build descriptor-like things in JS now as well.
_But_ if you want that you can use stuff like mypyc + annotations to get that for you. There are tools that let you get to where you want. Just not out of the box because Python isn't that language.
Remember, this is a scripting language, not a compiled language. Every optimization for things you talk about would be paid on program load (you have pyc stuff but still..)
Gotta show up with proof that what you're saying is verifiable and works well. Up until ~6 or 7 years ago CPython had a concept of being easy to onboard onto. Dataflow analyses make the codebase harder to deal with.
Having said all of that.... would be nice to just inline RPython-y code and have it all work nicely. I don't need it on everything and proving safety is probably non-trivial but I feel like we've got to be closer to doing this than in the past.
I ... think in theory the JIT can solve for that too. In theory
comment 8mo ago · link · parent
I remember a couple of years ago (well probably around 2021) reading about GC exposure concerns and seeing some line in some TC39 doc like "users should not have visibility into collection" but if we've shipped weakrefs sounds like we're not thinking about that anymore
comment 8mo ago · link · parent
I think __del__ is tricky though. In theory __del__ is not meant to be reliable. In practice CPython reliably calls it cuz it reference counts. So people know about it and use it (though I've only really seen it used for best effort cleanup checks)
In a world where more people were using PyPy we could have pressure from that perspective to avoid leaning into it. And that would also generate more pressure to implement code that is performant in "any" system.
comment 8mo ago · link · parent
In most corporate environments while it might make sense to do N of M in the high security case it's not really a thing that people will jump for for the first... uhhh 10k employees of a company's lifetime.
comment 8mo ago · link · parent
It’s not so much about decision making as it is about the practical reality that people at that level basically need at least read access to a lot of secrets.
You could say “maybe jazzband can infra its way out of those problems” but that’s a looooot of work! “N out of M consensus on making a GitHub API request to set who is a maintainer” * every single action roadies need to do
It’s not just about bad actors either. Imagine a jazzband roadie getting credentials stolen via some npm-y attack. Obviously this problem exists in the project in the current form but _that problem gets worse just onboarding people_
comment 8mo ago · link · parent
I would say that having roadie level access is equivalent to having access to Django core. I have never seen a recent Django project that isn’t pulling something from jazzband
Despite this I think it’s important to highlight that even in that world jazzband had a lot of infra so that projects could do things like releases cleanly and safely (we aren’t doing direct project releases to pypi but going through jazzband infra to do the release). So release maintainers have a lot less access despite releases “coming from” Jazzband
comment 8mo ago · link · parent
And all the success stories I've seen in people using these tools have had a similar theme: top level might be LLM-y but you rush to get to deterministic straightforward building blocks so that you can have reliability.
That, to me, looks like writing up a bunch of small programs to help establish vocabularies and workflows to avoid just churning and getting lost in the weeds.
I'd be interested in seeing some future form of process orientation, but in the meantime.... shells in general have proven they are decently good at tying stuff together quite well.
`ls dir | grep thingy | process` gonna involve less possibility of annoying drift and churn than "run process on all the files with thingy in their name in directory"
comment 8mo ago · link · parent
2013 MBA pricing in USD was $1100
2013 MBA pricing in JPY was 110k JPY
2026 Macbook Neo pricing in JPY is ~100k JPY
2026 Macbook Neo pricing in USD is $600
2026 Macbook Air pricing in JPY is ~140k JPY
2026 Macbook Air pricing in USD is ..~$1100
So depending on the currency either the Neo is a massively cheaper thing or filling a gap in a product line that inflation created.
I wonder how much of Apple's costs are USD-denominated. The fact that the MBA hasn't changed pricing at all makes me guess that not that much, but I don't know how manufacturing contracts work
I dunno, I find it interesting, but JPY inflation is a recent phenomenon
comment 8mo ago · link · parent
I've dual run Macbooks and Thinkpads for a while and the Thinkpad trackpad really isn't that bad (the trackpoint getting randomly stuck in a non-neutral position is a common thing I've experienced though)
The nicest thing for the Macbook for me in practice (disclaimer: I don't do fancy things on the trackpad) is the size. It "feels" fancier but the thinkpad plastic works totally fine for me.
I think some Mac users overindex on the quality of like... $400 Acer laptops from 2008 or whatever as their metric for "cheap Windows laptop".
Software stuff is still garbage but lots of machines have just straightforwardly decent hardware. Apple hardware is _very very good_ but it's not like the bad old days of "I actually cannot use this trackpad" in windows land. As much
comment 8mo ago · link · parent
I wonder how much of the Neo pricing wow factor is Apple taking advantage of the strong dollar vs much else that's changed on the ground (obv the processor pick is a "real thing")
comment 8mo ago · link · parent
The ease at which Flash CSx would just let you draw a circle in a spot, then click on it to get its script file and immediately add a little bit of behavior is magic for prototyping
comment 9mo ago · link · parent
Perhaps if Sweden adopted a different policy it would have an even longer life expectancy!
comment 9mo ago · link · parent
The Django admin is really great. I do wish there could be a bit more extensibility hook points to hook into existing stuff, but I know a loooot of projects that hack stuff into the admin despite that (I think in particular it's a bit futzy to have things like confirmation screens on custom actions).
I think the real power of Django comes from not only having the batteries included, but almost always having the right kind of extension points in terms of methods (or template overrides) that really give you ways to quickly insert the right kinds of customization for your project. The admin existing and working so well for so long is proof of that IMO
comment 9mo ago · link · parent
This argument is quite close to what gov'ts are "trying" to do here! And I tihnk you'll find very few people ammenable to the idea that we should allow cigarettes to be sold to underaged people (even if in practice they still get access).
The argument on the "don't do the social media ban" side is quite an uphill battle if you dig into this metaphor too much
comment 9mo ago · link · parent
Lots of people have mentioned awkward use cases where decisions have to be made. A built in command would have to confront those and it might not be easy