Show HN: Print a WiFi Login Card
121–130 of 347 posts
Re: Show HN: Print a WiFi Login Card
#122Great work, OP. I'll be printing one for my fridge later today.
Re: Show HN: Print a WiFi Login Card
#123Asking as a person who understands the fundamentals of all of the technologies involved but is horrified by much of what goes on in the minds of today's web developers and designers, what motivates the decision to make this repo use make, docker, yarn, npx, nginx, react, and jest rather than a bit of static HTML and css and something like qrjs2.js or VanillaQR.js with a simple canvas or datauri update in onInput?
Re: Show HN: Print a WiFi Login Card
#124Earlier quoted context omitted.
Answering as the author who also understands the fundamentals of all of the technologies involved and questions much of what goes on in the minds of today's web developers and designers-- I use Make as the standard way to interact with every repo I own. This allows me to type `make build` instead of `$some-language-specific-command-I-forget-in-2-weeks`. I use Docker for distributing every app I build. If the app is a…
But now you’re paying for keeping a server online, whereas a GitHub page could’ve hosted this static website for free.
Re: Show HN: Print a WiFi Login Card
#125Asking as a person who understands the fundamentals of all of the technologies involved but is horrified by much of what goes on in the minds of today's web developers and designers, what motivates the decision to make this repo use make, docker, yarn, npx, nginx, react, and jest rather than a bit of static HTML and css and something like qrjs2.js or VanillaQR.js with a simple canvas or datauri update in onInput?
People love to constantly say "Want to learn to code? Make projects! projects! projects!" and then when someone makes a project as a means to learn a particular technology, now people turn up their nose and say "ew, why did you use this?" Anyway, this project provides exactly what I needed. Thanks to OP for sharing! Slick and simple
Share a project -> get opinions on it
What's the problem?
Re: Show HN: Print a WiFi Login Card
#126I am not sure I understand the app. Is it 2 input fields one for name and one for password? Which you then print? Is that the functionality - or have I misunderstood?
Re: Show HN: Print a WiFi Login Card
#127Asking as a person who understands the fundamentals of all of the technologies involved but is horrified by much of what goes on in the minds of today's web developers and designers, what motivates the decision to make this repo use make, docker, yarn, npx, nginx, react, and jest rather than a bit of static HTML and css and something like qrjs2.js or VanillaQR.js with a simple canvas or datauri update in onInput?
People love to constantly say "Want to learn to code? Make projects! projects! projects!" and then when someone makes a project as a means to learn a particular technology, now people turn up their nose and say "ew, why did you use this?" Anyway, this project provides exactly what I needed. Thanks to OP for sharing! Slick and simple
Why post your learning project on HN then? You advertise and get free critique. Double win in my book. What's wrong with that?
Re: Show HN: Print a WiFi Login Card
#128Earlier quoted context omitted.
The page might start a service worker and exfiltrate the data when connectivity returns even after the tab is closed.
Can any website start service workers that outlive their tabs? That seems like a huge change
The original way to do this via a synchronous XHR request in visibilitychange/beforeunload/unload handlers gave you a 1-2s window to exfiltrate the data. That's been deprecated in exchange for a more insidious "invisible background connection to the server maintained after closing the tab or navigating away" that doesn't involve any UI delays. (For "a better experience" of course, not for stealth! Never!)
It's called the beacon API [0] and it's supported by basically all browsers [1]. This was introduced because, chiefly among others, Google Analytics was stuck between blocking in head to record the page view or moving to the end of the html document and using documentready but with a fairly high risk of user navigating away before all that had a chance to trigger at all or after it triggered but before it could exfiltrate the data.
[0]: https://developer.mozilla.org/en-US/docs/Web/API/Beacon_API
Re: Show HN: Print a WiFi Login Card
#129I just generate a QR code for my wifi login using libreoffice writer. Edit: just use the built in QR code generator with a string in this format. WIFI:T:WPA;S:$SSID;P:$PASSWORD