Live data from Hacker News

Ask HN: What scientific phenomenon do you wish someone would explain better?

news.ycombinator.com

291–300 of 839 posts

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#291

Why does time slow down/go faster with movement compared to another object. The well known example that if you travel into space you'd gain let's say 5 years and people on earth 25 in the same time or so. I just don't get it and I can't find any logic explanation. For instance: Two twins who came to live exactly at the same moment in the year 2000 and both die on their 75th birthday at the same time. One travels into…

Because space and time are just two aspects of the same thing. Your velocity isn't a 3-dimensional vector--it's actually a 4-dimensional unit vector, and the direction in which it points is what you consider to be the future. The non-constant nature of 3-velocities that we actually measure is just a result of the non-constant nature of projections of that 4-dimensional velocity vector onto different 3D spaces--i.e., different inertial frames of reference.

To get an intuitive idea of why this necessarily results in symmetrical time dilation, imagine two people walking along non-parallel paths at a constant rate on a 2D surface. From either person's point of view, the other person has a one-dimensional relative velocity, either towards or away from the observer, and that relative velocity depends on the angle between their paths. One-dimensional acceleration is just rotation in the 2D space. Now, what happens if you project one person's path onto the other person's 2-velocity? The projection will be shorter! And remember, the direction of your velocity is the direction of forward time from your perspective. So, from your perspective, the other person has traveled less distance along the time direction than you have, because some of their constant-velocity path was used up traveling in space instead. I.e., from your perspective, time has slowed down for them. But, projecting your path onto their velocity vector also results in a shorter path--so the effect is 100% symmetrical!

Now, this analogy fails in two ways because the real universe doesn't have any meta-time that you can use to observer where the other guy is "right now", and because spacetime rotations are hyperbolic rather than Euclidean, but those two sources of error happen to cancel out nicely and you get the correct result that moving objects appear to move through time slower.

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#292

Fourier Transforms. I'd wish I had a intuitive understanding of how they work. Until then I'm stuck with just believing that the magic works out.

There are two types of Fourier magic.

1. The magical orthogonal basis functions: complex sinusoids. Shifting of a time signal just multiplies the Fourier counterpart by a new phase (relative to its represented frequency). Thus transforming to the Fourier basis enables an alternate method of implementing a lot of linear operations (like convolution, i.e. filtering).

2. The magic of the fast implementation of the Discrete Fourier Transform (DFT) as the Fast Fourier Transform (FFT) makes the above alternate method faster. It can be most easily understood by a programmer as a clever reuse of intermediate results from inner loops. The FFT is O(N log N), a direct DFT transform would be O(N^2)

A mathy demonstration of this at https://sourceforge.net/projects/kissfft/

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#293
Crypto and practical security. I get tired of the circular “don’t roll your own crypto unless you’re qualified”. How does one become qualified? I don’t feel like I know how to evaluate many of the arguments people make for or against technologies people argue about on HN, such as Signal or different password managers. I feel like “security through obscurity” is a bad thing, and “layers of security” are a good thing, but isn’t all security obscuring something, and how does one evaluate whether a layer is adequate? “Just use bcrypt” - okay, help me understand!

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#294

Lot's of quantum related phenomenon here, but what keeps bothering me is that while I get it that light is both a wave and a particle, but I have no clue what that means. I mean, a wave of sound, is made from air particles, a wave of ripples in a pond is made of movement of water molecules. In the double slit experiment, it's explained that the single photon has to be "interfering with itself", so I don't get it if b…

I think this is more about the terminology than the actual concepts. This is like in biology, where you classify things as living and non-living, but then you encounter things like viruses, which would depend on the criteria for a "living thing." Or, is a gel a solid or a liquid? Again, it has properties of both states of matter. Similarly, in order to classify phenomena as waves or particles, you look for common attributes between the things you observe. But light exhibits properties of both.

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#295

Has someone that thought they were taking LSD ever turned into a permanent schizophrenic zombie or in a mental institution, or is it all urban legend. If someone that didn't know they were predisposed to mental illness, is it applicable to dismiss their experience in order to maintain how safe LSD is? If any of this is true, are there any sources aside from "my friend's friend's brother took too much and now he is...…

Permanent schizophrenic zombie, maybe a bit extreme, but severe and traumatic long-lasting psychological damage is a not-uncommon phenomena.

I had a fling with psychedelics in my teens, and everything was great until the one time it wasn't. I was taking psychedelics pretty much every weekend, and by my count have tried over a dozen of them.

Had an experience with LSD which completely shook me to my core and gave me such severe PTSD and trauma that every night I started to have massive panic attacks and needed medical help. My entire worldview and perception of reality was shattered, I wasn't able to "anchor" myself anymore and it all felt like a sham. I was completely dissociated. I also got HPPD: to this day, everything has a sharpened oil-painting type texture to it that increases based on my anxiety level, and I'm sensitive to visual + aural stimuli (loud, brightly-colored places are unpleasant). If I get too anxious, I start to dissociate.

It took ~2 years for the PTSD to subside for the most part, but still if I am under a lot of stress I am liable to have a panic attack and get flashbacks and need to go find somewhere quiet to sit somewhere alone to try to work through it.

LSD being the particular substance has nothing to do with it, in my opinion. I was young, dumb, reckless, and played with fire then got burned. It could have happened with any of the other dozen psychedelics I took, but it just so happened to be LSD the one time that it did.

But I want to add, that while giving me the most nightmarish, traumatizing experience of my life, the best/most positively-profound experience has also been on the same substance. I grew up in a pretty abusive household and didn't do well forming relationships growing up, and had a lot of anger and resentment in my worldview. After taking psychedelics (LSD, 2C-B, Shrooms) and MDMA with the right group of people a few times, my entire perspective shifted. For the first time in my life, it felt like I understand how it felt to be loved, and what "love" was, and how we're "all in this together" so we may as well be good to each other while we're here.

It's been a long time since I've touched any of that stuff and I'm not sure I ever will again, but I don't think it's inherently bad or good. Psychedelics are like knives, they're neutral - can be used as a tool or cut the hell out of you if you're reckless.

---

Footnote: For context, this was probably due to life circumstances/psyche at the time. I was in a relationship with a pretty toxic partner, and my mental state wasn't the greatest. In hindsight, it seems like I was almost begging for a "slap in the face" if you will.

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#297
Law. How much of it rests on technicalities, and how much do judges care about the essence of the facts of a case? You only hear about the weird outcomes on the news. For example, I was once working with an attorney because my landlord didn’t supply heat in the apartment. I started keeping a temperature log, but how would a judge know that the log was accurate? Do I need to prove that my thermometer is accurate... etc. In practice, no, but how can I better reason about what is “likely” vs not?

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#298

The twin paradox. All explanations seem to be just "something something one twin has to accelerate"

The amount of time you experience is directly related to the length of your worldline--the path you trace out in 4D spacetime as you move through space and simultaneously move forward in time.

It should be easy to see that a non-accelerating object (or person) will trace out a straight worldline. If you ever change your velocity, though, either through smooth acceleration or instantaneous rotation of your velocity vector, you will trace out some non-straight curve in spacetime. If you leave your friend behind and then, at some later time, meet back up again, if you did not undergo exactly the same amount of acceleration throughout your journeys (i.e., because one of you stayed behind and hardly accelerated at all, tracing out a boring straight line path), then you will have different world-line lengths (different "path integrals") between the starting and ending points, and thus will have experienced different amounts of subjective time.

Now, in a Euclidean spacetime, the traveling twin would end up older, because a straight line is the shortest distance between two points. But our spacetime is not Euclidean--it is a Minkowski space, in which acceleration is equivalent to a hyperbolic rather than Euclidean rotation of your velocity vector, so it turns out that straight line is actually the longest distance between any two points, and the twin who leaves and comes back will have a shorter worldline, and thus will have aged less.

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#299
post #56

I find most explanations of the Equivalence Principle that lies at the foundation of General Relativity to be very lax. To wit, the idea is that you cannot distinguish whether you are in an accelerated frame or in a gravitational field; alternatively stated, if you’re floating around in an elevator you don’t know whether you’re freefalling to your doom or in deep sideral space far from any gravitational source (thoug…

> you’d see them move closer because of tidal effects dictated by the fact that they’re each falling towards the earth’s centre of gravity, and therefore at (very slightly) different angles. This point isn't raised anywhere because it's mostly a pedantic point that has nothing to do with the thought experiment. You shouldn't try and decompose thought experiments literally, otherwise you'll get caught up in unimportan…

But then again, realizing this problem with the thought experiment is a mark of a sophisticated student. This was the last question on my physics exam in 1991, and I still regret that I went with the simple explanation. I wonder whether the prof was looking for the students who really got it.

Re: Ask HN: What scientific phenomenon do you wish someone would explain better?

#300

Fourier Transforms. I'd wish I had a intuitive understanding of how they work. Until then I'm stuck with just believing that the magic works out.

The best way to understand the Fourier transformations is to think of them as change-of-basis operations, like we do in linear algebra. Specifically a change from the "time basis" (normal functions) to the "frequency basis" (consisting of a family of orthonormal functions). Here is the chapter on Fourier transforms from my linear algebra book that goes into more details: https://minireference.com/static/excerpts/four…

Some quite careful math for Fourier series is in Rudin, Principles of Mathematical Analysis. Fourier series applies to a function on the whole real line that is periodic, that is, repeats exactly once each some number of seconds. For the math, need only one period so in effect throw away the rest of the function and, indeed, really need the function defined only on the interval of some one period.

For some intuition, consider music, especially on a violin. Fourier series applies to a periodic function (wave), and represents the whole wave as sine waves that fit the one period exactly. So, get sine waves at frequency 1, 2, ... that of the period. In music, these waves are called overtones.

Playing with a violin, the overtones are fully real and even important! E.g., get a tuning fork and tune the A string (second from the right as the violinist sees them) to 440 cycles per second (440 Hertz, 440 Hz). Then the D string, the next to the left, is supposed to have frequency 2/3rds that of the A string. So, bow the two strings together and listen for the pitch 880 Hz, that is, 3 times the desired frequency of the D string and twice that of the A string. So are listening to the second overtone of the D string and the first overtone of the A string; are hearing the third Fourier series term of the D string and the second Fourier series term of the A string. Adjust the tuning peg of the D string until don't hear beats. If the D string is at, say, 881 Hz, then will get 1 beat a second -- so this is an accurate method of tuning. Similarly for tuning the E string from the A string and the G string from the D string -- on a violin, the frequencies of adjacent strings are in the ratio of 3:2, that is, a perfect fifth. That's how violinists tune their violin -- which is needed often since violins are just wood and glue and less stable than, say, the cast iron frame of a piano.

For one more, hold a finger lightly against a string at 1/2 the length of the string and hear a note one octave, twice the frequency, higher. That's often done in the music, e.g., playing harmonics. And it's a good way to get the left hand where it belongs at the start of the famous Bach Preludio in E-major that starts on the E half way up the E string. Lightly touch one third of the way up the string and get three times the fundamental frequency, sometimes done in music to give a special tone color. Net, Fourier series, harmonics, and overtones are real everyday for violinists.

E.g., on a piano, hold down a key and then play and release the key one octave lower and notice that the strings of the key held down still vibrate. The key vibrating was stimulated by the first overtone of the key struck and released.

The Fourier integral applies to functions on the whole real line. Very careful math is in Rudin, Real and Complex Analysis.

Yes, Fourier series and integrals can be looked at as all about perpendicular projections of rank 1 as emphasized in Halmos, Finite Dimensional Vector Spaces, written in 1942 when Halmos was an assistant to John von Neumann at the Institute for Advanced Study. That Halmos book is a finite dimensional (linear algebra) introduction to Hilbert space apparently at least partly due to von Neumann. So, right, Fourier theory can be done in Hilbert space.

Fourier integrals and series are very close both intuitively and mathematically, one often an approximation to the other. E.g., if multiply in one (time, frequency) domain, then convolve in the other (frequency, time) domain. E.g., take a function on the whole real line, call it a box, that is 0 everywhere but 1 on, say, [-1,1]. Well the Fourier transform of the box is a wave, roughly a bell curve, that goes to zero quickly away from 0. A convolution is just a moving weighted average, usually a smoothing. Then given a function on the whole real line, regard that line as the time domain and multiply by the box. Now can regard the result as one period, under the box, of a periodic function to which can apply Fourier series. And in the frequency domain, the Fourier transform of the product is the smoothing with the Fourier transform of the box of the Fourier transform of the function and, then, an approximation of Fourier series coefficients of a periodic function with the one period under the box. Nice. That is partly why the fast Fourier transform algorithm is presented as applying both to Fourier series and the Fourier transform.

Mostly Fourier theory is done with an L^2, that is, finite square integral, assumption, but somewhere in my grad school notes I have some of the theory with just an L^1 assumption. Nice notes!

Essentially the Fourier transform of a Gaussian bell curve is a Gaussian bell curve -- if the curve is wide in one domain, then it is narrow in the other.

The uncertainty principle in quantum mechanics is just Plancherel's theorem from Fourier theory.

Can do a lot with Fourier theory just with little pictures such as for that box -- can get a lot of intuition for what is actually correct.

I got all wound up with this Fourier stuff when working on US Navy sonar signal processing.

Then at one point I moved on to power spectral analysis of wave forms, signals, sample paths of stochastic processes, as in

Blackman and Tukey, The Measurement of Power Spectra: From the Point of View of Communications Engineering.

Can get more on the relevant wave forms, signals, stochastic processes from

Athanasuis Papoulis, Probability, Random Variables, and Stochastic Processes, ISBN 07-048448-1.

with more on the math of the relevant stochastic processes in a chapter of

J. L. Doob, Stochastic Processes.

Doob was long a leader in stochastic processes in the US and the professor of Halmos.

At one time a hot area for applications of Fourier theory and the fast Fourier transform was to looking for oil, that is, mapping underground layers, as in

Enders A. Robinson, Multichannel Time Series Analysis with Digital Computer Programs.

Quickly antenna theory depends deeply on Fourier theory so can do beam forming, etc.

Can also see

Ron Bracewell, The Fourier Transform and its Applications.

Of course, one application is to holography. So, that's why can cut a hologram in half and still get the whole image, except with less resolution: The cutting in half is like applying that box, and the resulting Fourier transform is just the same as before except smoothed some by the Fourier transform of the box.

As I recall, in

David R. Brillinger, Time Series Analysis: Data Analysis and Theory, Expanded Edition, ISBN 0-8162-1150-7,

every time-invariant linear system (maybe with some meager additional assumptions) has sine waves as eigenvectors. That it, feed in a sine wave and, then, will get out a sine wave with the same frequency but maybe with amplitude and phase adjusted.

So, in a concert hall, the orchestra plays and up in the cheap seats what hear is the wave filtered by a convolution, that is, with the amplitudes and phases of the Fourier transform of the signal adjusted by the characteristics of the concert hall.

In particular, the usual audio tone controls are essentially just such adjustments of Fourier transform amplitudes and phases.

Since there a lot of systems that are time-invariant and linear or nearly so, there is no shortage of applications of Fourier theory.

Post reply on HN