Better HN
topnewbestaskshowjobs
Log inSign up

laptopdev

-5 karma · joined Mar 22, 2023 (3y ago) · 27 submissions

Submissions

comment 2mo ago · link · parent

second this

comment 7mo ago · link · parent

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.

comment 1y ago · link · parent

Carnivore

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Well, I know how sober a driver should be...

comment 1y ago · link · parent

Grammar nasi but isn't it "It looks right — completely right, to me — to have the dash standing on its own"...

comment 1y ago · link · parent

Ants are vegetables

comment 1y ago · link · parent

Everytime I hear ebook my brain pictures https://en.wikipedia.org/wiki/Ewok#/media/File%3AWicket_W_Wa...

comment 1y ago · link · parent

Can confirm, had exchange student brother

comment 1y ago · link · parent

I was using the land mine method, but it didn't trigger reliably. Now I use SmartBomb™.

comment 1y ago · link · parent

Solving like humans using tools

comment 1y ago · link · parent

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.

comment 1y ago · link · parent

Is this available in full text anywhere without sign up?

comment 1y ago · link · parent

What are the analogies here? If you can find the door in the book you just need the key.

comment 1y ago · link · parent

Shoe horn-y

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

I would describe it as savage more than unusual.

comment 2y ago · link · parent

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.

comment 2y ago · link · parent

I feel like with cancel culture there should be some relationship with local telecoms and local credit unions.

comment 2y ago · link · parent

Whats bananas now? Not this one.

comment 2y ago · link · parent

Nah, im good

comment 2y ago · link · parent

Purple is not on the chart. Suspicious.

comment 2y ago · link · parent

Theres an app for that

comment 2y ago · link · parent

Selling buckets to sell buckets

comment 2y ago · link · parent

"The last will be first, and the first will be last"

comment 2y ago · link · parent

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?