20 karma · joined Oct 2, 2022 (4y ago) · 6 submissions
comment 3y ago · link · parent
What does this mean? Every JS runtime (node, deno, bun etc.) has its own set of APIs and they are generally not cross-compatible. The code for all the Bun APIs is open source so I'm not sure what makes them proprietary.
> You can call JS in Bun, but you cannot call Bun APIs in JS
Bad use of terminology. JS is the language, JavaScript/ECMAScript, and every JS runtime (node, bun, deno etc.) is using it. So you definitely can call Bun APIs in JS.
comment 3y ago · link · parent
Good article on the topic by Airbus: https://aircraft.airbus.com/en/newsroom/news/2022-06-satelli...
comment 4y ago · link · parent
For the uninitiated, wavlet transform is basically Fourier transform on steroids. Not only does it tell you what frequencies are present in a signal, it also tells you when they are present giving you a time vs. frequency plot (similar to short-time Fourier transform). Of course there is a limit to how well you can know both at the same time (just like the Heisenberg uncertainty principle actually!), but it's a very useful tool for studying signals. In my specific case, I was analyzing signals from a pulse oximeter in order to extract the breathing rate from them (https://dl.acm.org/doi/fullHtml/10.1145/3460238.3460254), but it has applications in many other fields such as image processing and compression.