Live data from Hacker News

Show HN: Print a WiFi Login Card

wificard.io

201–210 of 347 posts

Re: Show HN: Print a WiFi Login Card

#201

I do wish there was an option to safely disable all connectivity in a browser tab (forever) like with Javascript or camera access. Yes, saving the page, disconnecting your network connection, then deleting the page would work, but it's a real bother.

I think the risk model for this sort of thing is still... complicated, even though the site as it stands is safe and does not transmit credentials.

After first gaining popularity, the domain could later pass to someone with malicious intent quite easily, eg:

1. Tech people like HN verify the site as credible and approve of it

2. The site gains popularity and goes viral / receives significant use

3. The original author abandons the site because of costs, or simple boredom

4. A malicious actor acquires the domain and begins recording users credentials alongside IP addresses.

Conceivably, an enormous amount could be captured before the malicious recording became exposed, and (importantly) most of those whose credentials were compromised would have no straightforward path by which they could be alerted.

Other scenarios: site is malicious to begin with but set up to not transmit credentials during its first ~28 days.

Mirrors of this site with credential capture added, (hard to claim that's a flaw of this site itself, just a flaw with "this type of site being normalized").

Re: Show HN: Print a WiFi Login Card

#202
post #67

Asking 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?

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…

> I use Make as the standard way to interact with every repo I own.

After much fussing around with many kinds of solutions, this too is what I have settled on. Download repo and run `make` will "do the needful" to get you going, and all the major entry points are make stanzas.

Re: Show HN: Print a WiFi Login Card

#203
post #182

Earlier quoted context omitted.

If I had done this project it would probably use node.js + gulp + sass + pug + browserify + babel + bootstrap ... or maybe Webpack instead of gulp and browserify (depends on the project). Why? Because I have a website template that solves many things for me, like: - I see no reason not to use SASS or the latest ES even though I know how to. Or pug, for that matter... which I like. I also have a SASS template with som…

> All the extra baggage is just part of the development environment. If you want to skip my tools, they're quite easy to bypass and replace for any other transpiler... or you can just ignore my sources, reindent my compiled files and work on them directly. This might be technically true, but is not true in any meaningful sense if another developer ever has to work with your code. They will have to deal with all your…

If "you have to make it easy for third parties to fork your website" were a requirement in a particular project, I would still use the exact same stack but output non-minified pretty-printed code to some subdirectory that will get commited to the repository... so they don't even have to run "npm install && npm build" if they don't want to or don't know what npm is (although the README in my template provides these instructions).

... but I would still get advantages in terms of speed, maintainability, etc. from using a modern web development environment that I see no reason to give up. There are things like cache-busting hashes, linting, splitting js code in modules and using variables in SASS for things like colors, that to me are mandatory in a professional practice.

Re: Show HN: Print a WiFi Login Card

#204
post #67

Earlier 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.

I build static sites in Docker too. But then simply extract the built files out and upload them to any static hosting I need.

This allows me to self contain all the build tooling. And allows other developers to setup a dev environment in a few easy steps.

Re: Show HN: Print a WiFi Login Card

#205
post #140

Earlier quoted context omitted.

You sure you didn't have a computer architecture course? Most CS programs it is a required course

What is a required course?

In American terminology, individual classes are called "courses". This particular course is likely "required" as one of the steps in a Computer Science "major".

Re: Show HN: Print a WiFi Login Card

#206
post #67

Earlier 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…

> 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 also used to do this until I switched out Make by Just[1]. I find it worth a recommendation. https://github.com/casey/just

I second this. “just” is like make, but without the extraneous/confusing parts.

Re: Show HN: Print a WiFi Login Card

#207
post #34

qrencode -t utf8 'WIFI:T:WPA;S:network;P:password;;'

I wouldn’t ask if it wasn’t the top comment, on the current #1 front page story, but

Can someone please explain this command, and why it is presumably given as a criticism of this submission?

Re: Show HN: Print a WiFi Login Card

#208
post #207
post #34

qrencode -t utf8 'WIFI:T:WPA;S:network;P:password;;'

I wouldn’t ask if it wasn’t the top comment, on the current #1 front page story, but Can someone please explain this command, and why it is presumably given as a criticism of this submission?

The site requires you to put in your WiFi Network and Password even though it did not have to. (However nothing is actually sent to the server)

Re: Show HN: Print a WiFi Login Card

#209

Asking 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?

I can't speak for the poster, but sometimes the fun is in using tools you know. I don't know VanillaJS that well, so I took a stab at the same concept: https://q726kbxun.github.io/qrcodes/ Not nearly as pretty, since I know even less about making pages pretty, but still, a fun little stab at making such a site.

Would be nice if the code was in an image I could save.

Re: Show HN: Print a WiFi Login Card

#210
post #207
post #34

qrencode -t utf8 'WIFI:T:WPA;S:network;P:password;;'

I wouldn’t ask if it wasn’t the top comment, on the current #1 front page story, but Can someone please explain this command, and why it is presumably given as a criticism of this submission?

I didnt read it as a criticism necessarily. Qrencode is just awesome. I like that someone made a UI for this though so non-ghost-in-the-shell folks can get down with this awesome use of QR code dopeness :^)
Post reply on HN