This post will be sort of an "archive" of everything about Gab that gives me the heebie-jeebies.
JS: Tail-call optimized recursive setTimeout
If you're writing some code on a time-delayed-loop in JavaScript, there are 2 main options: setInterval setTimeout, recursively However, each has a potential downside: setInterval schedules the code to run at the given interval, regardless of whether the last invocation has completed. This means that, if the function takes longer than the delay to execute, it'll schedule the next invocation before the current invocation is finished, which can lead …
[DRAFT] Pleroma on Docker Compose
This testing was done with Pleroma 2.4.1, in environment Rocky Linux 8 (Before starting, be sure docker and docker-compose are installed, as well as git, and NGINX.) Fetch and prepare the source code: git clone -b stable –depth=10 "https://git.pleroma.social/pleroma/pleroma.git" && cd pleroma git fetch –depth=20 "https://git.lain.church/squeegily/pleroma.git" "feature/docker-compose":"feature/docker-compose" && git -c "user.name=Anonymous" -c "user.email=nobody@localhost" merge –no-commit "feature/docker-compose" read -p "Enter your domain name: " pleroma_domain Build it: mkdir -vp uploads …
Docker: remove all containers and images
docker rm -f `docker container ls -a -q` && docker rmi -f `docker image ls -a -q`
Garland Favorito bumped from witnessing
“Yeah, so, thank you, John, for, again, letting me tell you this story; it's now become more amazing. Senator Ligon cut me from the testimony yesterday; I was the #7 defense witness for the President, and Senator Ligon cut me out and moved me to the bottom and then cut off the witnesses and ended the hearing without me getting to testify. We were wondering why he did this and then realized that my testimony would have exposed the Secretary of State of Georgia, the Elections Director of Georgia, and the Legal Counsel of Georgia for the Secretary of State, all for wrongdoing…”