HNHacker News
TopNewBestAskShowJobs

malft

91 karma · joined September 21, 2014

submissionscomments
malft··on Bytecode features not available in the Java language
Didn't see my favorite on the list: creating the bool 2. I believe there are a couple of methods in the JDK that do

    if (dangerousFlag == true) doCheck();
    ...
    foo(dangerousFlag ? bar : baz);
malft··on Some HTML, CSS and ES2015 Best Practices
Several of the examples have an extra lambda like this. What does it do?

const toArray = (() => Array.from ? Array.from : obj => [].slice.call(obj) )();

malft··on The DSP Behind Bat Echolocation
> In each chirp, there is one fundamental frequency at about 100 kHz, then another one at about 50 kHz, and two more above it at 150 kHz and 182 kHz.

Or a 50kHz fundamental frequency with overtones at 100, 150 and 200 (which looks like 384-200=184 because of aliasing, notice how the shape is reflected).

← PreviousPage 2 of 2