[-] Andy@programming.dev 2 points 2 years ago

Thanks, yes, I use nox and github actions for automated environments and testing in my own projects, and tox instead of nox when it's someone else's project. But for ad hoc, local and interactive multiple environments, I don't.

[-] Andy@programming.dev 2 points 2 years ago

The convention

That's one convention. I don't like it, I prefer to keep my venvs elsewhere. One reason is that it makes it simpler to maintain multiple venvs for a single project, using a different Python version for each, if I ever want to. It shouldn't matter to anyone else, as it's my environment, not some aspect of the shared repo. If I ever needed it there for some reason, I could always ln -s $VIRTUAL_ENV .venv.

Learn pyenv

I have used pyenv. It's fine. These days I use mise instead, which I prefer. But neither of them dictate how I create and store venvs.

Shell scripts within Python packages is depreciated

I don't understand if what you're referencing relates to my comment.

[-] Andy@programming.dev 2 points 2 years ago

I use my own Zsh project (zpy) to manage venvs stored like ~/.local/share/venvs/HASH-OF-PROJECT-PATH/venv, so use zpy's vpy function to launch a script with its associated Python executable ad-hoc, or add a full path shebang to the script with zpy's vpyshebang function.

vpy and vpyshebang in the docs

If anyone else is a Zsh fan and has any questions, I'm more than happy to answer or demo.

[-] Andy@programming.dev 2 points 2 years ago

For anyone else wondering:

Navidrome is an open source web-based music collection server and streamer. It gives you freedom to listen to your music collection from any browser or mobile device. It's like your personal Spotify!

[-] Andy@programming.dev 2 points 2 years ago

Well FWIW CodeWars has plenty of Factor katas, and I try to gather related resources at https://programming.dev/c/concatenative

I'm trying to keep up with the Perl Weekly Challenges, but with Factor, and am posting some Factor solutions to Exercism's 48in24 series.

[-] Andy@programming.dev 2 points 2 years ago

That’s true, but if the transformations have more than one argument, they go after the name

Yup, I understand. That's why I've not put them in the concatenative section.

Also, there are more languages with this feature, for example D, VimScript or Koka.

Thanks, maybe I'll add them to the sidebar! I hadn't heard of Koka.

If you have a suggested heading/description to replace "partially concatenative" I'm interested. Function chaining? And I'm not sure but maybe execline is actually concatenative and needs to be moved out of that section.

[-] Andy@programming.dev 2 points 2 years ago

It seems actively developed. Is your issue in the tracker?

[-] Andy@programming.dev 2 points 2 years ago

Factor!

I mentioned it in a reply but it deserves its own top-level answer.

[-] Andy@programming.dev 2 points 2 years ago

Sorry I don't know how to kbin yet. Maybe the link provided by the bot that replied to me is better?

Are there any concatenative/stack/Factor kbin magazines you know of?

[-] Andy@programming.dev 2 points 3 years ago

In case you haven't heard, Factor just had a new stable release, and is tons of fun for postfix enthusiasts.

[-] Andy@programming.dev 2 points 3 years ago

For any Zsh/tab-completion enthusiasts out there, my project zpy contains a pipx clone, pipz, which also works well.

view more: ‹ prev next ›

Andy

0 post score
0 comment score
joined 3 years ago
MODERATOR OF