• BlackRose@slrpnk.net
      link
      fedilink
      English
      arrow-up
      7
      ·
      edit-2
      1 year ago

      It’s meant to be used like this:

      
      curl localhost:8000/?city=Paris | grep Temperature >> TemperaturesOfTheWorld.log
      
        • Marxism-Fennekinism@lemmy.mlOP
          link
          fedilink
          English
          arrow-up
          7
          ·
          1 year ago

          Pfft just go there and feel the air yourself. Knowing the weather in advance is bloat anyway. If medieval sailors could launch ships without weather info and survive 30% of the time, you can too.

          • suodrazah@lemmy.world
            link
            fedilink
            English
            arrow-up
            5
            arrow-down
            1
            ·
            1 year ago

            Imagine having to rely on physical senses to determine the weather, how pathetic. Honestly if you can’t infer weather patterns from learned data then better get back to that CSS.

    • oldfart@lemm.ee
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      You can see the programmer used Copilot, who in their right mind would want to type <?php echo htmlspecialchars($city); ?> four times