Show more

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.

In fact, I’m kinda, busy apologizing to the people who I sold on Signal with the line, “Oh it’s great because you can use it as an SMS client that just upgrades you to a better protocol when the other person is using Signal, too!”

Show thread

“You will no longer be able to send SMS messages from Signal soon. Invite to Signal to keep the conversation here."

Lol. I’d love to keep using Signal, but this move doesn’t exactly inspire me to try and sell it to anyone else.

An article in today's Washington Post questions the scientific validity of Drug Recognition Experts. As it happens, this is one of the examples in my forthcoming book, Probably Overthinking It. I just posted an excerpt from Chapter 9: “Fairness and Fallacy”: allendowney.com/blog/2023/02/1

@jacob You also seem to be a very modal runner as well!

Umm, so: the #PyCon 2023 schedule is out, and according to it, on Friday morning I am a keynote speaker! yikes.

us.pycon.org/2023/schedule/

Show more
Qoto Mastodon

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