Matter of time, good while it lasted
taaz
Oh interesting I will have to look how tessaract does it
What a dumb way to do image proxying.
This is about proxying external images, URL rewrite won't work unless the image is also downloaded and hosted by the instance (which seems even worse for many reasons).
Or am I missing something here?
Afaik constant use of paracetamol has most impact on stomach, it does something to the lining.
Or maybe that was ibuprofen?
Not a medical professional either way so
Edit: Root cause aside as people have already told you here, I would try CBD it might help and shouldn't strain the body as much.
Long Earth was good, lots of classics here as well
Yeah kinda, unix socket does count as ipc
- Is the usual solution, but instead of file use unix socket and user/group permissions as auth - the running user has to be part of some group so that the control client (A) can access the control socket of (B) daemon.
Alternatively you could use capabilities:
I have been pretty content with just zsh with fzf - extends the ctrl+R with interactive fuzzy search across the history.
In theory some session like behaviour should be easy to make with a little script that changes $HISTFILE
Using pip to install packages outside of venv was always a risk, (newer) pip now has this mechanism to really drive the point home that this can break stuff.
Do I have to do this everytime I start the script via console?
Yes, one way to get rid of this requirement is to package the script as binary/executable package (add pyproject.toml with some sane defaults and with proper [project.scripts]
) and then install the project using pipx - pipx install -e path/to/the/project/
, the -e
flag stands for editable and is nice to have here as you won't have to reinstall everytime you change the script.
What pipx does is that it creates the local virtualenv, installs everything the package declares as needed and adds a special executable script into location like ~/.local/bin/
that first sources the venv and then starts the entry script - keeping everything isolated.
You will want to use virtualenv, it creates isolated "workspace" so that system (python) packages do not conflict or mix.
pipx won't work for that, it's a library.
If you are working on your own project/script, you should use virtualenv for development and install all required libraries there.
If you need it because some system installed application or part of your system does not work without it then... you are in bad place - pip is python package manager primarily used for general python development (installing depending packages, and in theory also for packaging python projects) but it should never be used as system wide package manager - you will break stuff (especially when used with sudo).
What/who wrote this article? There seem to be extra words here and there