Show newer

Me: "I should get this shirt."
Wife: "... Why?"
Me: "To look extremely cool, obviously."

Nailed it.

(Not shown: the matching one my 5 year old was wearing.)

Calling all #Python library maintainers! 🐍

Python 3.12 is in beta! 🎉

This means no new features are allowed in and it's now time to start testing your code. You might find things in your code to fix, or even better, you might find things to fix in Python itself!

Here's how to do it:

dev.to/hugovk/help-test-python #python312 #beta #test #CI #GitHubActions

req for suggestions to my limited following 😅 anyone know of any tools/services for capturing user feedback on CLI tools e.g. “try out this new feature: do the prompts make sense? do the commands make sense for the task(s) we're asking you to do?”

git pro tip 

`git log -S some_variable_name` returns all commits where `some_variable_name` is in the diff (either removed, added, or modified)

super useful for tracking down regressions where you know the variable that's the culprit

Note: I will eventually try `fish` or `zsh`, but my schedule and to-do list don't currently permit me to rework all my [dotfiles](github.com/pganssle/dotfiles) to work with a new shell.

Show thread

I've tried `atuin` so far, and I don't like it. I think I can only use it with the full screen history search and somehow despite the fact that it's automatically merging commands from all shells, it still loses commands, sometimes *from the shell I'm currently using*.

Show thread

Does anyone have a good solution for handling bash history?

What (I think) I want:
- History search for each shell searches the history of that shell first, then all other shells' history.
- I don't want to lose history from windows opened in tmux or when I'm running a bunch of shells in parallel.

What I don't care about:
- Syncing history
- Fuzzy search

What I don't want:
- Mandatory full-screen history search

@brettcannon Average speed increase/decrease numbers are kinda hard to judge. Kind of a different story if it does stuff like making tuple creation slower but numpy is unaffected or something.

This post basically describes my approach to understanding computers (and to doing physics):

rachelbythebay.com/w/2023/05/3

- watch / poke / use system
- develop mental model of why it is
- find where that model breaks and you can not predict what the system does correctly

The places where your mental model and reality are wrong are the most interesting and productive things to look at!

@hynek To be fair no one seems to be saying I should actually start skipping back day. My doctor didn't suggest it or anything, so I guess it probably wouldn't help anyway.

Do you use and ?

I am wondering if you also see this behavior: github.com/keepassxreboot/keep

If you don't, what OS and desktop environment are you using?

@hynek Yeah, that is indeed the problem. I've got too much to do and every time I try and accomplish the last task with 2.7 support I'm bogged down with a bunch of CI bitrot, which all bitrots again before I make much progress on the final PR.

@hugovk Ugh. I guess I know what I'll be doing instead of actually working on getting `dateutil` 3.0 out next time I have free time to work on open source.

Next, GitHub will be removing support for Python 2.7 from actions/setup-python in under a month, on 19th June. 🪦

"Breaking changes

"Hello everyone. The Python 2.7.x will be removed from python-versions and it won't be possible to set up Python 2.7.x by setup-python.

"The motivation for the changes

"Python2.7 is not supported since January 1, 2020."

github.com/actions/setup-pytho

#GitHub #GitHubActions #Python #Python27 #CI #EOL

Show thread

This is the one place where ChatGPT has seemed useful to me, by the way. When I try and use it for anything Python-related, it's worse than useless because I know Python stuff *way* better than ChatGPT, and it's faster for me to just do it myself anyway.

When I'm trying to get a handle on super basic questions, ChatGPT seems to be kind of OK at explaining things in such a way as to unblock me.

Show thread

Not that I think that there's something we or they could be doing a ton better. I'm sure there are reasons for why it's all confusing and disorienting.

Show thread

Spending time trying to contribute to open source Android applications really brings me a lot of empathy for new Python users.

I barely understand what I'm doing. The packaging ecosystem seems complicated and I don't understand it. When I try and upgrade versions a bunch of stuff breaks. The documentation refers to a bunch of stuff I don't understand, and seems relevant only to newer code bases.

Show older
Qoto Mastodon

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