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

help-circle

  • Nice workaround!

    In my situation the hotel’s DNS was properly giving out the IP address to its portal but the travel router wouldn’t respond whatsoever to DNS queries. Wireshark on a laptop showed no traffic whatsoever back; that was the firmware bug they’d addressed in the update. (DNS on the router itself going out to the hotel network was fine though.)




  • I used a travel router at the last hotel I was at but didn’t realize the firmware was buggy — it wouldn’t respond to DNS queries whatsoever on my personal network.

    I unfortunately forgot my Ethernet cable so it was a real challenge.

    Remembering that iOS uses Wi-Fi Privacy (changes MAC address constantly) I just brought up their portal on my phone, signed in, cloned the MAC address then on iOS chose “Forget this Network.”

    Worked like a charm! (Then the travel router updated its firmware and DNS was back on track.)






  • Ha! I’d kill for 10 minutes. When I first moved to SoCal I didn’t have a car and had two take two buses daily to work with an hour between.

    One time the second bus didn’t show (not the first time), I couldn’t find a ride so I walked the 10 miles and got to work sooner than if I’d taken the bus.




  • I use a standardization library for phone numbers. It makes parsing any user input dead easy, storing it as a standard string (can’t think of the standard name) and then outputting in the country’s respective format. I don’t have to inject a bunch of JavaScript crap that’s like “wrong format” and harass users; the backend sorts it all out.



  • Whenever I’m passing a date from a website backend to frontend I’ll usually send it inside something like <span> then have JavaScript convert it to a string based on the browser’s localization settings.

    So many websites I see for error reporting, etc always throw everything out as UTC and it drives me crazy. It would be nice to just have an HTML tag for ISO-8601 (or even UNIX as done here).</span>