Fuck I despise this menu bullshit. Give me a fucking menu.
[Moved to !iiiiiiitttttttttttt@programming.dev, check pinned post.] iiiiiiitttttttttttt.
you know the computer thing is it plugged in?
Moved to !iiiiiiitttttttttttt@programming.dev.
They had to put a fucking law in Rio de Janeiro and São Paulo mandating that restaurants had to have physical menus with the printed prices.
I live in São Paulo, had no idea. I can just ask then?
Looks like I misunderstood and is still a law project
In Rio was made into law in 2023
Hell, Sao Paulo lagging behind here
I like when there's a qr code that allows you to order and pay without needing to wait for a waiter. A qr code where it just links to a pdf of a menu that they didn't want to print sucks.
If it’s printed on the inside of the menu so you can order quickly when it’s busy and help take some of the pressure off the servers and maybe get your food faster? That’s cool.
When it’s just a virtual menu so they can surge price in real time? Fuck those places.
PDF is at least kind of permanent. Most restaurants that have qr code set up usually have "surge pricing" that allows them to change their prices on a whim.
Get mad at the problem and not the symptoms. I've been to dozens of restaurants with qr code menus and never seen one with surge pricing. Just be mad about surge pricing.
Not much of a challange to have a webserver point to another pdf when some condition is fulfilled.
You can just generate a PDF on demand. There isn't much permanent about them at all.
Give me a menu or I'll tell you what I want and you can figure out how to put it in.
Either that or I walk.
Say "for $3.00" after your order, too. Fuck'em.
The only setting in which it’s actually helpful is when you go to an establishment that prioritizes drinks and the food is an afterthought (but you can still walk up to the bar and never use the QR code if you wanted).
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?
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
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
Some tasks belong on the medium screen, not the tiny one!
Or perhaps hire someone who knows what they're doing.
Might have been a temporary link (e.g., shortened URL) that passed tests initially but stopped working later on.
The browser says "localhost", so it would have had to stop working by suddenly redirecting to localhost...
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.
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.
OK listen hear me out. Perfect opportunity for guests to learn how to ssh tunnel to port forward to their local device 😅
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.
ip a a 127.0.0.2/8 dev lo
You have a whole /8 subnet of localhost, do it.
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.
Would this probably work if you connect to their Wi-Fi?
EDIT: I am smart, I promise
Localhost denotes the device itself. It would work if your phone were running a web server with the cafe's menu hosted on it
I almost said yes, but no, localhost is your own device. If it was a 192.168 ip it would be different.
I'll know it's the future when I start seeing http://[fe80::xxxx:xxxx:xxxx:xxxx]/
link fuckups.
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.
You'd still go to localhost, so realistically: no.
Well, you forgot to install the menu-server-app. Do it, and the problem is solved.
Someone needs to name their catering business 'localhost'
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?
"Ticket closed."