thestoicattack | 1 year ago | on: Entering text in the terminal is complicated
thestoicattack's comments
thestoicattack | 1 year ago | on: Book Review: "Tidy First?" By Kent Beck
thestoicattack | 2 years ago | on: Two GitHub bots not talking to each other on a PR
thestoicattack | 3 years ago | on: How to check if any word is zero (2021)
thestoicattack | 3 years ago | on: Hollywood doesn’t make movies like ‘The Fugitive’ anymore (2018)
thestoicattack | 3 years ago | on: U.S. court rejects Tether’s bid to conceal reserve records from the public
thestoicattack | 3 years ago | on: Lies we tell ourselves to keep using Golang
thestoicattack | 3 years ago | on: -h –Help -help Help –? –?
I'd do kbihelp for the first and k2bdwA for the second.
thestoicattack | 3 years ago | on: Bitcoin Threw a Party in Miami and I Crashed It
Chien-Shiung Wu!
thestoicattack | 3 years ago | on: Newly Measured Particle Seems Heavy Enough to Break Known Physics
thestoicattack | 4 years ago | on: Learning Standard C++ as a New Language [pdf]
> Published in the May 1999 issue of "The C/C++ Users Journal"
thestoicattack | 4 years ago | on: Moving the Linux Kernel to Modern C
thestoicattack | 4 years ago | on: Linuxgems – A succinct cheat sheet for newbie Linux coders and sysadmins
find . -type f -exec grep stuff {} \;
will also invoke a new grep process for every file, which can be slow. If you think find is going to return a lot of files, it is often better to use find . -type f -exec grep stuff {} + # note plus sign
which will replace {} with as many filenames as allowed (all correctly quoted, etc).thestoicattack | 4 years ago | on: Warp: Fast, Rust-based terminal (waiting list)
thestoicattack | 4 years ago | on: Michael Collins, Apollo 11 astronaut, has died
thestoicattack | 4 years ago | on: 2020 Census Apportionment Results
(+2) TX
(+1) CO, FL, MT, NC, OR
(-1) CA, IL, MI, NY, OH, PA, WV
(0) everyone elsethestoicattack | 4 years ago | on: C++ Alternative Operator Representations
https://en.cppreference.com/w/cpp/utility/functional/bit_not
thestoicattack | 4 years ago | on: Illegal Prime Numbers
thestoicattack | 5 years ago | on: Performance comparison: counting words in Python, Go, C++, C, Awk, Forth, Rust
Maybe use a vector-of-pointer-to-pair, since we're leaving the map around and we don't really need the vector to own anything.
thestoicattack | 5 years ago | on: The Ten Commandments for C Programmers (1987)
> Because I’m a vim user, It took me a very long time to understand where these keybindings come from
libreadline supports a basic vi mode. In bash, `set -o vi` lets you use vim-style editing. It is a lifesaver.