Live data from Hacker News

Ask HN: Teach me something new

news.ycombinator.com

141–150 of 782 posts

Re: Ask HN: Teach me something new

#141
post #64

Ctrl+D to quickly close a terminal window (Bash).

Most of these work in most programs using readline: https://readline.kablamo.org/emacs.html

It's fun to blow people's minds by cutting/copying/pasting _in the shell_ without touching the mouse and using Ctrl+u to clear password inputs when you make a typo.

Re: Ask HN: Teach me something new

#142

I've described this on HN before; forgive me if you've already seen it. I have chronic migraine. It sounds worse than it is; I rarely suffer attacks anymore, and when I do, they're usually mostly harmless, as in the case I'll describe below. Contrary to popular belief, migraine is not a headache. It's something a little more like an epileptic seizure. Intense headaches are one common symptom, but there are a lot of o…

These are called ocular migraines. I’ve had them since a kid, roughly once every two months or so.

what’s really interesting is after having heart surgery, I would have like 10 a day for weeks. Others in post-cardiac surgery message boards reported the same experience. It went back to normal frequency months after surgery, but definitely an unsolved mystery!

Re: Ask HN: Teach me something new

#143
post #8

afaik the only way to get epoch with only posix-compliant tools is to use awk: $ awk 'BEGIN {srand(); t = srand() ; print t}' 1651247949 explaination: 1. srand if not provided with a seed will use the current unix epoch as seed 2. srand will return its previous seed in a new initialization (and we assign it to t) 3. we print t I learned this via a "Systems we love" talk ( https://www.youtube.com/watch?v=IfhMUed9RSE )

It's definitely not POSIX, but a good GNUish way is

  date +%s
Your portable suggestion worked in gawk, nawk, and mawk -- cool!

Re: Ask HN: Teach me something new

#144
post #136

Very few people know the potent facts about the brain: * your neurons are not in your "brain" 90% of your neurons are not in what you generally denote by brain. They are in your cerebellum. The cerebellum has a distinct neural architecture, that difference is in fact clearly visible with the najed eye. A very poor simplistification would be to call it our GPU. * the spinal cord is huge and is structurally a contiguou…

> also anyone know how is lymph pumped? I don't think the heart pump lymph so is it stagnant? I have a close friend who is working on getting certified as a massage therapist. Skeletal, muscular, and vascular anatomy make up a big part of the required knowledge for the certification. Two interesting things I learned from them: 1. The lymphatic system is massive and runs alongside our vascular system. For example, the…

Wow I wonder how much power does gravity has over lymph repartition in the body? I mean wether I lay down or stand still probably impact the "coverage" of our body by the immune system. There might be correlates between time to recovery and human position and movements then.

BTW bugs do not have vascularisation their body is one single flask of stagnant fluid. And their brain is distributed..

Re: Ask HN: Teach me something new

#145
Double-clicking on text selects the whole word.

Double-clicking and dragging selects text word-by-word.

Triple-clicking selects the whole paragraph.

Middle-clicking a link opens it in a new tab.

Middle-clicking a tab closes it.

Middle-clicking in general often has useful functionality!

Re: Ask HN: Teach me something new

#146

I have tinnitus. Before I had tinnitus I could simply use earplugs. Problem when I sleep: when I use earplugs it presses in my ear and it aggrevates my tinnitus. Solution: - Bose QC 35 - Earplugs Now the earplugs don't get pushed in and don't aggrevate the tinnitus. The bose QC 35 gets pushed onto whatever is directly outside your ear, which is a bit uncomfortable but fine. This is my new earplugs setup and it works.

If you sleep laying down wearing earmuffs, you'd better also place something - like some string - between earmuff and skin: otherwise, you risk suction of the tympanum (and aggravate the situation).

Re: Ask HN: Teach me something new

#147

Very few people know the potent facts about the brain: * your neurons are not in your "brain" 90% of your neurons are not in what you generally denote by brain. They are in your cerebellum. The cerebellum has a distinct neural architecture, that difference is in fact clearly visible with the najed eye. A very poor simplistification would be to call it our GPU. * the spinal cord is huge and is structurally a contiguou…

this is a terrible list of 'brain facts'. they're not interesting or constructive to a larger understanding, and analogizing the cerebellum to a GPU is naive and misleading to the point of being insulting. working neuroscientist don't think about consciousness, we look at neurobiology, develop experimental techniques to allow imaging of ever larger numbers of neurons, try to understand how the brain computes.

I don't see how one could boil down the staggering complexity of the field in the one-bite popsci factoids that leave a layperson with any useful model of the brain. People certainly try though (ahem, Andrew Huberman...).

Here are some facts though: you have some neurons, they do things sometimes. we have some vague ideas about what different bits of brain do in very specific context. we have absolutely no idea how it all fits together, and are decades away from such an understanding. the fruit fly visual cortex, which is several orders of magnitude smaller than mammalian cortex, has been exhaustively studied for 40+ years, and we are only recently starting to build a circuit level model of the computation in the first layers. Here is your fact: brains are the most complex objects in the known universe

Re: Ask HN: Teach me something new

#148

I'm going to go a bit random...get a styptic pencil! Nobody I've met even knows what they are. I came across them years ago in the shaving section, and was blown away by their utility. They are solid pieces of some saltlike material that are super effective at stopping bleeding. We don't even have bandaids in our house anymore, the pencils are way more useful.

I first encountered the use of this pencil in one of the "Dad, How do I" videos on YouTube.

Re: Ask HN: Teach me something new

#149
post #136

Earlier quoted context omitted.

> also anyone know how is lymph pumped? I don't think the heart pump lymph so is it stagnant? I have a close friend who is working on getting certified as a massage therapist. Skeletal, muscular, and vascular anatomy make up a big part of the required knowledge for the certification. Two interesting things I learned from them: 1. The lymphatic system is massive and runs alongside our vascular system. For example, the…

Wow I wonder how much power does gravity has over lymph repartition in the body? I mean wether I lay down or stand still probably impact the "coverage" of our body by the immune system. There might be correlates between time to recovery and human position and movements then. BTW bugs do not have vascularisation their body is one single flask of stagnant fluid. And their brain is distributed..

Fun fact: one of the red flag symptoms of a headache or migraine is if it is significantly less severe sitting up vs lying down. Or if it gets worse when you sneeze. I am NOT a doctor, but IIRC this can be a signal of serious issues they could be causing such a headache, as it means the blood pressure caused by lying down or sneezing is potentially stressing vascular structure in your head.

See: https://youtu.be/d2vW_CHWqo4

Re: Ask HN: Teach me something new

#150

Double-clicking on text selects the whole word. Double-clicking and dragging selects text word-by-word. Triple-clicking selects the whole paragraph. Middle-clicking a link opens it in a new tab. Middle-clicking a tab closes it. Middle-clicking in general often has useful functionality!

No post body was provided.
Post reply on HN