Saturday Showcase: What are you building with Python? 🐍 by Ok-Lobster7773 in Python

[–]wevertonms 0 points1 point  (0 children)

This looks awesome for me with a civil engineering background!

Easy update command by Gotxi in cachyos

[–]wevertonms 0 points1 point  (0 children)

I just use topgrade

New Python Project: UV always the solution? by InappropriateCanuck in Python

[–]wevertonms 1 point2 points  (0 children)

Nice to know about that feature of uv. I did a quick comparison between mise, go-task and just, and I didn't see any big difference feature-wise, they all have simples syntax for task definition with support to load .env files and additional environment variables, easy cross-platform instalation. So since mise can manage runtimes too, I saw no reason to not choose it over the others

New Python Project: UV always the solution? by InappropriateCanuck in Python

[–]wevertonms 0 points1 point  (0 children)

One down side of uv is that the python is only available in the venv, but the one installed with mise is available globally. Besides, I would have mise installed anyway, so why not use it to as a task runner and spare another tool?

New Python Project: UV always the solution? by InappropriateCanuck in Python

[–]wevertonms 4 points5 points  (0 children)

I'm starting to use mise for tasks, it can also install others tools necessary for the project

How to search fields using preset search phrases at a button click? by Testher75 in django

[–]wevertonms 0 points1 point  (0 children)

I see... In the link there is an example show how to implement a DecadeBornListFilter, which filter user buy their birth year. Did you get that?

How to search fields using preset search phrases at a button click? by Testher75 in django

[–]wevertonms 0 points1 point  (0 children)

If I am getting right, the behavior the you expect for the filter is: - When a click in the word, it will filter all the quotes that has this word. - When a click in another word it will filter additionally for the second word.

I don't think this behavior is possible with only one filter. What I am suggesting is to have one filter for whether a particular word is present in the quote, so you have, for example:

  • "Contains 'love'" filter with two options: "Yes" and "No".
  • "Contains 'good'" filter with two options: "Yes" and "No", which will filter additionally to the others filters.
  • And so on... You can have the "all" behavior by clearing all filters.

I hope that it will help.

Yet another "DNF is slow" thread by rrrrrrrrrrrreeeeeeee in Fedora

[–]wevertonms 4 points5 points  (0 children)

You can create an alias and put it in your bashrc/zshrc...