Show newer

@jacob @glyph @jonathan @brettcannon pip didn't come from core.

pytest was in active competition with unittest and still isn't in core.

Virtualenv was ubiquitous before venv was created, and I get the impression that it is still more popular.

@kushal Seriously though, they shouldn't be allowed to call the thing they distribute Python.

@Greg I mostly listen to audiobooks and podcasts, but I've found Aftershokz Aeropex bone conduction headphones very helpful for around the house. They leave your ears open so you can still hear your kids / partner if you want to listen to stuff while doing dishes or laundry or something.

This kind of thing, by the way, is one of the main reasons that I am so bad at getting anything done in OSS anymore. My free time is at an extreme premium, and whenever I steal half an hour to try to merge an uncontroversial PR or something, it gets eaten up fixing bitrot. ☹

Show thread

Anyone know what versions of windows and mac runners I need to pin to in GHA to get Python 3.6?

With Ubuntu I know it's 20.04, but I don't know how to divine from [this](github.com/actions/python-vers) what the right invocation is.

[Here's](github.com/pganssle/zoneinfo/a) an example of it failing.

Also, to be clear, anyone who tells me to stop supporting 3.6 will be immediately blocked. ☺

Do you have any question about #pandas? Few core devs including myself will be answering questions in an AMA (ask me anything) session. Officially scheduled for tomorrow Thursday at 5:30pm UTC, but already open.

reddit.com/r/Python/comments/1

@glyph @sethmlarson @hynek Of course I still use type hints in big projects because they're useful for other people, or for when I start to build on top of them.

So I guess I'm one of those people who thinks type checking is useful for all kinds of code.

@glyph @sethmlarson @hynek In fact, for more serious stuff, I find that type checking is way more likely to put me in a situation where I'm pointlessly fighting with the type checker and reporting bugs to mypy because I can't express the contract of the function easily using the type system.

For quick scripts I'm usually just moving around strings or ints or paths or something and I'm not nearly as likely to write something like a function that takes functions and returns classes constrained to look a very specific way, or something with some cyclic references or something.

@glyph @sethmlarson @hynek Weird, I feel like I get the greatest bang for my buck when using at least basic typing on YOLO scripts because I'm never going to unit test them.

For anything serious, I'm writing extensive unit tests, and the type checking stuff is less likely to find bugs that, say, hypothesis wouldn't.

Anyone interested in joining a remote coverage.py sprint on March 20th as part of PyCascades?
2023.pycascades.com/program/sp

@pycascades #PyCascades

@hynek I have been teaching my younger son to like vegemite and marmite, I quite like it. A tip I got was to eat it in buttered toast (good butter, small amount of vegemite will do).

@peterdrake @lucifargundam There are some people who argue that an income without a job would lead to despair or a lack of meaning in life, but I think if it were common to have a reasonable income without a job, we would learn to cope...

@peterdrake @lucifargundam To be clear I do not think it's a bad thing when technology "destroys jobs". People think it's a bad thing because, IMO, they confuse costs for benefits (since practically speaking you need a job to get an income, people think they want a job rather than an income).

@peterdrake I never think of creating jobs as good, since a job is a cost of production.

Also, usually the people who talk about job creation are talking about creating them in a specific place, which I don't care about.

Though in reality a useful job is much better than make work, since make work is paying the cost without producing anything.

Nature, like many journals, has historically emphasized producing exciting, innovative outcomes as the basis for publication. Incentivizing researchers for rewards based on outcomes is a key contributor to many of the dysfunctional practices that the reform movement aims to address. Nature's adoption of Registered Reports is a powerful signal for the real opportunity to change the reward system. Culture change is a grind, but it is grinding on.

nature.com/articles/d41586-023.

@simon In the limit of "the LLM is as smart as the smartest human", you would still expect to need to give it the right kind of context and information to do what you want. Communication skills are super useful on both sides of the table.

Though I suppose somewhere along the way smarter LLMs will proactively recognize ambiguities and ask for clarification, which will lower the degree you which you need to be good at asking it to do something.

Another day, another PR to remove unnecessary upper version bounds from a package in order to unblock a project

iscinumpy.dev/post/bound-versi

@Daniel_Blake Feel free to do a tiny amount of research on the myriad reasons people have for using Signal as their SMS client, and the reasons why this is a *horrible* move on Signal's part.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.