• 4 Posts
  • 1.65K Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle







  • Sotuanduso@lemm.eetoProgramming Horror@programming.devmallocPlusAI
    link
    fedilink
    English
    arrow-up
    4
    arrow-down
    2
    ·
    28 days ago

    For 1, that’s why you say “Format your answer in this exact sentence: The number of bytes required (rounded up) is exactly # bytes., where # is the number of bytes.” And then regex for that sentence. What could go wrong?

    Also, it can do math somewhat consistently if you let it show its work, but I still wouldn’t rely on it as a cog in code execution. It’s not nearly reliable enough for that.






  • Sotuanduso@lemm.eetoComics@lemmy.mlThe current world state.
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 month ago

    Human reaction time is ~0.25 seconds.
    At 20 mph, you’re going ~29 ft per second, so you go ~7.3 ft before you can react.
    At 25 mph, that’s ~37 ft per second, so ~9.2 ft before you can react.

    The internet says a good car can break at about 15 f/s^2.
    At 29 f/s, that comes out to a stopping distance of ~28 ft.
    At 37 f/s, that’s ~46 ft.

    So Anne, who’s annoying for some reason, needs a total of ~35 ft to stop just before hitting the child.
    Norman needs ~9 ft to start decelerating, so by the time he reaches the 35 ft mark (after ~26 ft of hitting the brakes,) it’s been a total of ~0.98 seconds, and he is going ~26 f/s, which is ~18 miles per hour.