laptopdev
laptopdev on Hacker News
showdef () {
local file=
if [[ $1 == -f ]]
then
file=$2
shift 2
fi
if [[ -n $file ]]
then
(
shopt -s expand_aliases
source "$file" 2> /dev/null
showdef "$1"
)
return
fi
if alias "$1" &> /dev/null
then
alias "$1"
elif declare -f "$1" &> /dev/null
then
declare -f "$1"
elif [[ -n ${!1} ]]
then
echo "${!1}"
else
echo "No alias, function, or environment variable found for '$1'"
fi
}
This looks up the definition of a shell name — alias, function, or environment variable — and prints it.
with -f [.bashrc (for example)] it sources the given file in a subshell before running the lookup in that subshell.
If computer usage hampers a child's socialization with the group he's learning with, maybe the simplest and most meaningful solution would be preventing children enrolled in language comprehension classes from having access to computers at home particularly at core language and reasoning stages in development.
Well, I know how sober a driver should be...
Grammar nasi but isn't it "It looks right — completely right, to me — to have the dash standing on its own"...
Can confirm, had exchange student brother
I was using the land mine method, but it didn't trigger reliably. Now I use SmartBomb™.
Solving like humans using tools
We dont align our current actions with AGI. Rather, we align our actions with a presumption of what we think AGI is to become (assuming some inevitability).
Some people believe AGI is imminent, others believe AGI is here now. Observe their behavior, calm your anticipation, and satisfy your curiosoty rather than seeking to confirm a bias on the matter.
The tech is new in my experience and accepting claims beyond my capacity to validate such a grand assertion would require me to take on faith the word of someone I don't know or have never seen, who likely generated such a query in the first place outside the context length of Chatgpt mini.
Is this available in full text anywhere without sign up?
What are the analogies here? If you can find the door in the book you just need the key.
When I was 7, my family's Japanese foreign exchange student was being introduced to me.
She bursted out laughing saying my nick name Dev Dev sounded like "fart fart" or "fat fart".
Had the nickname fart fart until my sister moved out of the house.
Maybe you could confirm, but ChatGPT tells me in Japanese Debu colloquially and offensively means "fat" or "chubby", and Bu is an onomotapoeia for a fart noise, like "prrt" in English.
I would describe it as savage more than unusual.
A lot of people apparently have similar self-beliefs. Recognize these are beliefs. Identify and map out your current belief system so that you can analyze it for what it is. That's what you have to do when you are uncertain, is map things out. When you develop more self awareness you can choose different belief systems, like in the matrix.
I feel like with cancel culture there should be some relationship with local telecoms and local credit unions.
Whats bananas now? Not this one.
Purple is not on the chart. Suspicious.
Selling buckets to sell buckets
"The last will be first, and the first will be last"
Great structure for the website. intuitive in the browser.
I would Like to be able to access entries using curl like I can with cheat.sh/ from terminal with curl
Also, I would appreciate fleshed out tutorials for ssh.
How do you choose what entries and tutorials for commands to include?