

It’s like this meme was made for me. GET OUT OF MY HEAD, ANON.
Alt account of @Badabinski
Just a sweaty nerd interested in software, home automation, emotional issues, and polite discourse about all of the above.


It’s like this meme was made for me. GET OUT OF MY HEAD, ANON.
pissing in the pool produces awful nitrogen trichloride pls don’t
Using ohmyzsh and not antidote? Blocked /s


Yeah, I was being pretty thick earlier today. Oopsie!


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.
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.
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.
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.
no pipe necessary, just
sed -E 's/TH|[EL ]|DO//g' <<<"$line"
Open source can be enshittified. FOSS with many contributors should be basically proof against being fucked with.


CAD was a big problem for me as well. I’ve been happy enough with OnShape (coming from Autodesk Inventor), but the extreme SaaS nature of it makes me worry.
Oh, I use vim, I don’t run an OS that can run Notepad++ natively. I meant using HEREDOCs as the responding anon suggested. I’ve absolutely done that on systems that lack a text editor.