

It was obvious and I was being a bit of a dummy this morning. Mea culpa.
Alt account of @Badabinski
Just a sweaty nerd interested in software, home automation, emotional issues, and polite discourse about all of the above.


It was obvious and I was being a bit of a dummy this morning. Mea culpa.


If you want a free and massive performance optimization, remove the cat:
fastWikiLookup() { grep "$@" ~/wikipedia.txt }
Reading and piping 156 GB of data to another process every time you want to look something up is a somewhat nontrivial action. Grep can directly read the file, which should result in a pretty damn good speed up.
As someone else linked, it’s called that because the Colt Single Action Army revolver was nicknamed as such. Colt’s slogan was some variation of this:
God created men equal, Col. Colt made them equal…
If equality is peace, then anything to enforce that would be a “peace maker.” I uh, don’t necessarily agree with that sentiment, but it was popular in the American West for a long ass time.


It’s getting encoded. % is a special character in URIs. Let me try posting it inside of back ticks, as well as triple back ticks:
https://noai.duckduckgo.com/?q=%25s
https://noai.duckduckgo.com/?q=%25s
I’ve noticed that there’s a plague of threadiverse clients which improperly escape/encode URIs. It’s most evident with how they mangle parenthesis in Wikipedia article titles.


The Utah state government is especially incompetent when matters get overly political, so I give this a nonzero chance of succeeding.
Source: I’ve lived in Utah for 35 years.


Easy block candidate right here, folks.
Hell, Bash provides filesystem-based sockets in /dev/tcp, so a tcp connection can almost be like Unix sockets or anything else.
I always found it weird that it was specifically provided by Bash…


Sheesh, it’s 5 GB with pnpm. Isn’t that meant to deduplicate dependencies?
Anywho, it looks like --prod isn’t being set in the Dockerfile, so dev dependencies are being included. I’m no node dev, but I remember this being something that people needed to set to shrink node_modules with npm. That might be an easy win.


My public schools had teacher/student ratios up to 35-1. Good old Utah.


Piefed might support what they need at this point. I’ve heard the devs really focused on moderator tooling.


journalctl -b -1 will show you the logs from the previous boot. journalctl -k -b -1 will do the same for the kernel logs. If you’ve rebooted again since, just use -2 instead of -1.
Yeah, plus it has type hints and tooling to make said type hints mandatory.
Also, like, fuck golang, it’s such a shit language and the compiler does very little to protect you. I’d say that mypy does a better job of giving you AOT protection.
I don’t believe that does the same thing either. What if I lock my computer, sleep it, and step away for the day? I haven’t logged out, but my interactive session has ended.
Uptime shows how long the system has been up, not how long one has been interacting with the system.


Yeah, that’s icky. Machines like the Breville superautomatic ones are way better because they just have a regular fucking steam wand that’s easy to clean.
idk who downvoted you, it’s a very common sentiment. I advocate for <<<, but a pipe is often fine when performance doesn’t matter.
Idk, writing POSIX-compliant shell is so miserable that I avoid doing it when I can. You can use Bash on BSD and all other unixes, so it’s still a relatively portable solution.
I was waiting for someone to come along with this response lmao
I’m terrible at remembering shell string operation syntax, but this is the ultimate answer.
Yeah, I was being pretty thick earlier today. Oopsie!