• 2 Posts
  • 262 Comments
Joined 11 months ago
cake
Cake day: July 24th, 2023

help-circle


  • The new version seems to fix that since your comment was written, but it will stil panics if less than 2 samples are provided, unless the crate it wraps panics at an earlier point.

    let peak = buf
                .iter()
                .copied()
                .enumerate()
                .take(self.sample_count / 2)
                .max_by_key(|(_, s)| (s.abs() * 1000.0) as u32)
                .expect("to have at least 1 sample");
    











  • A HIMARS chocking what looks like a S-300 in a non sexual way (I hate that I have to mention it, but I know the crowd around here).

    It’s probably because the Ukraine have been allowed to strike into Russia with western weapons.
    Maybe there have already been specific news of S-300s being blown up since then, but they are probably unable to do the job they where built to do: securing russian airspace.

    PS: the S-300 has its eye on the wrong side








  • There [hasn’t been an election in Gaza for 18 years so nobody there had had the opportunity to choose an alternative anyway.

    That’s especially crazy about the “Palestinians voted for Hamas”. With the median age in gaza a bit below 18 years the majority of Gazans wasn’t even alive in the last election. Of the adults about half weren’t of voting age during that time.