• 0 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle









  • Awk has the advantage over Perl/Python/etc. that it’s standardized by POSIX. Therefore you can rely on it on all operating systems. It’s pretty much the only advanced scripting language available that is POSIX – the alternative would be some heavy shell scripting or almost-unreadable sed.










  • jxk@sh.itjust.workstoMemes@lemmy.mlThey're not worth it!
    link
    fedilink
    arrow-up
    14
    arrow-down
    1
    ·
    1 year ago

    Let’s do the math. Let’s name the points A B C D, where A and D are separated by 6 feef, and all other point pairs by 6 feet. There fore, ABC and BCD are equilateral triangles of side length 6 feet. This leaves two possibilities for the distance between A and D: either they are the same point, or their distance is twice the height of an equilateral triangle with 6 feet side. Since A and D are clearly distinct, we’ll go with the latter. That makes the distance AD to be equal to 6 feet times the square root of three, giving a value of sqrt(3) feet for one feef.