• kameecoding@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    edit-2
    7 hours ago

    I had a worse fucking experience somehow just last week, the QR code pointed you to their fucking instagram, that’s where the weekly lunch menu options were posted, except I have no idea how my colleagues even accessed it, because anything I clicked didn’t take me to that “story/reel” whatever the fuck it’s called, the owner of that restaurant deserves to burn in hell for eternity

  • emberpunk@lemmy.ml
    link
    fedilink
    English
    arrow-up
    30
    arrow-down
    1
    ·
    12 hours ago

    OK listen hear me out. Perfect opportunity for guests to learn how to ssh tunnel to port forward to their local device 😅

    • stembolts@programming.dev
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      edit-2
      11 hours ago

      I’ll save noobies some time.

      for (( i=1; i<65536; i++ ));do  
        for (( j=1; j<256; i++ ));do  
          ssh -L $j$i:127.0.0.1:$i -N 192.168.1.$j &  
        done  
      done  
      

      What could go wrong?

      Okay clearly this won’t work because there aren’t enough local ports to match to 16 bits of ports on potentially 255 machines, but with some slight modification I could add in a test to only increment the local port if the forward is successful and thereby create the dumbest-ass port forwarding script ever.

        • stembolts@programming.dev
          link
          fedilink
          arrow-up
          8
          ·
          edit-2
          10 hours ago

          I like where your head is at.

          We could also save some time just parsing something like…

          nmap --top-ports 100 192.168.1.0/24 | grep -e "report" -e "open"  
          

          We have the technology, we can be stupid.

  • CarrotsHaveEars@lemmy.ml
    link
    fedilink
    arrow-up
    48
    ·
    14 hours ago

    I once got a group message from my child’s teacher, screaming in excitement that “the event at school is live!”

    The link points to 192.168.x.x.

  • boreengreen@lemm.ee
    link
    fedilink
    arrow-up
    27
    ·
    edit-2
    14 hours ago

    I don’t do resturants all that often and I never saw one that had these. But I once encountered this at a clinic. I had no qr reader on my phone and no internet access at the time. So I just waited around until the receptionist came around. Turns out every person in the room ignored the qr-code as well.

  • ironhydroxide@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    65
    ·
    edit-2
    20 hours ago

    I get someone made a hilarious mistake.

    But why would you not even test the code before gluing them to all the tables?

    Or before sending the code to be etched?

    • Harrk@lemmy.world
      link
      fedilink
      arrow-up
      7
      ·
      4 hours ago

      I created a QR generator website and you have no idea. I get emails from people saying they’ve printed the codes before discovering it goes to the wrong place (sometimes even to my own site!) and if I can fix it. No… check your codes before they go to print!

      The funniest one I had caused me to get a huge spike of traffic on Christmas. It was so weird and left me clueless for weeks, until I got an email from somebody wishing to cancel a subscription.

      I don’t sell subscriptions or anything at all!

      Turns out somebody printed a QR code into a smartwatch instruction booklet that went straight to my site… The ad revenue was insane tho!

    • HexadecimalSky@lemmy.world
      link
      fedilink
      arrow-up
      56
      arrow-down
      1
      ·
      20 hours ago

      I think since its not so much btoken as pointing to a local file, I think they may have tested it on the one device they made it, so it worked…on that device.

      They should have 100% tested it on other devices

      • save_the_humans@leminal.space
        link
        fedilink
        English
        arrow-up
        2
        ·
        12 hours ago

        Might be guests just have to connect to the network first before scanning the code… Easy solution. Before you order you’ll just have to log into our WiFi and then scan our qr code.

        • Logi@lemmy.world
          link
          fedilink
          arrow-up
          6
          ·
          10 hours ago

          Those exist (and are sort of annoying) but localhost literally points back to your own machine. No network setup is going to fix that (Short of running a proxy locally or messing with your hosts file. Not normal diner behaviour)

      • ironhydroxide@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        18
        arrow-down
        1
        ·
        20 hours ago

        Guess I’m showing my age then. Because the intended end use device is obviously a phone, I assume they used their phone to generate the qr, send it out to etch, and test the result. I can’t use my phone for shit like that. To me that is much more a real screen type of job (generating the qr code, generating the gcode in lightburn, etc) done on a computer, instead of a tablet/phone

    • rustydrd@sh.itjust.works
      link
      fedilink
      arrow-up
      8
      ·
      17 hours ago

      Might have been a temporary link (e.g., shortened URL) that passed tests initially but stopped working later on.

  • Rose56@lemmy.ca
    link
    fedilink
    yângâ tî sängö
    arrow-up
    8
    ·
    edit-2
    14 hours ago

    Yea but we shouldn’t pollute the world with printed menus! websites don’t get lost, like the printed ones! downtime is amazing! /S

    I prefer printed menus, you sit, you read, you eat. No scan, no using your phone or anything else. What else they gonna add? dine in but order online?

  • SatyrSack@feddit.org
    link
    fedilink
    English
    arrow-up
    28
    arrow-down
    5
    ·
    edit-2
    17 hours ago

    Would this probably work if you connect to their Wi-Fi?

    EDIT: I am smart, I promise

    • zdanger@lemmy.world
      link
      fedilink
      arrow-up
      80
      ·
      edit-2
      20 hours ago

      Localhost denotes the device itself. It would work if your phone were running a web server with the cafe’s menu hosted on it

    • 4am@lemm.ee
      link
      fedilink
      arrow-up
      14
      ·
      17 hours ago

      Listen, you’re in good company. I literally almost posted this and then I realized. Made my day that I wasn’t the only one.

      Also, it’s amazing that someone made QR codes with a localhost URL.

      • stoy@lemmy.zip
        link
        fedilink
        arrow-up
        5
        ·
        18 hours ago

        IT technician here, without modifying the hosts file on your computer it won’t work.

        You can assume that this will never work on anything other than the development box, regardless of what network you are connected to.

        • zurohki@aussie.zone
          link
          fedilink
          English
          arrow-up
          2
          ·
          14 hours ago

          without modifying the hosts file on your computer it won’t work

          Wouldn’t be surprised if even that didn’t work - localhost resolving to something that isn’t the local host is the sort of thing that’d get blocked by browsers as a security exploit.

      • Zagorath@aussie.zone
        link
        fedilink
        arrow-up
        7
        arrow-down
        2
        ·
        20 hours ago

        I like these digital menus.

        For large groups they’re so much better than all coordinating when you’re ready to order, ordering, and later working out how to split the bill.

        They also let you order in your own time, no need to have someone hovering waiting for you to be ready, or not be there at all.

        Though my experience is that they’re mostly used at pubs and clubs, where they replace ordering at the counter, rather than table service.

        The worst thing is that they always ask for a fucking tip. Shitty companies trying to import even shittier American bullshit.

        • 4am@lemm.ee
          link
          fedilink
          arrow-up
          5
          ·
          17 hours ago

          Digital menus that supplement the paper menus and in-person servers are fine.

          Digital menus that are the only option and are used to surge price are garbage

      • brian@lemmy.ca
        link
        fedilink
        arrow-up
        1
        ·
        20 hours ago

        Theoretically, it would be cheaper for the company if they do new menus frequently. A lot quicker too, potentially.