capilot
capilot t1_ixv2kbw wrote
Reply to comment by AtHomeInTheUniverse in ELI5: In recent years, new formats like webp and jfif have started popping up. However, if I rename them to gif or jpeg, they still work. How can it be that renaming the extension doesn't ruin the image format? Why do they even exist then? by Luthemplaer
Fixed link: https://en.wikipedia.org/wiki/List_of_file_signatures
Fun fact: I've encountered jpeg files mis-labeled as ".gif" and vice-versa. A lot of software has no trouble with this at all, since it looks at the magic number. Your web browser for example.
capilot t1_iye18b2 wrote
Reply to ELI5: What is a Fast Fourier Transform? by edeneb
The Fourier transform is a way to analyze a waveform and determine the correct combination of pure sine waves and cosine waves that can be combined to re-create the original wave. Knowing the composition of an arbitrary wave in this way can enable all sorts of analysis and processing, including advanced signal processing.
The problem is that it's highly compute intensive, involving a sequence of integrals and so forth. In most cases, there are other analytic methods that are more practical than Fourier transform because of the work required.
In 1964, the Fast Fourier Transform was invented. It's basically a computational "trick" that replaces all those integrals with simple shifts and adds and subtracts. All of a sudden it became practical to use Fourier transforms in all sorts of ways that weren't practical before.
That video linked by /u/croninsiglos looks really good, off to watch it now.