Live data from Hacker News

Show HN: Local development with .local domains and HTTPS

localcan.com

101–108 of 108 posts

Re: Show HN: Local development with .local domains and HTTPS

#102

"Forget editing /etc/hosts!" Right. Why would you edit a local file (or create a record on your own local DNS), generate your own self-signed certificate, and immediately get a website that can be tested on your machine, on your local network or on your VPN, when you can pay someone $19 per device (MacOS only) for something less powerful? I understand that everybody needs to make money for a living, but this seems li…

> digital equivalent of bottling tap water

That's intended as a criticism, but bottled water is a $300B market in the US alone. Most of which is tap water.

https://www.latimes.com/business/story/2021-09-28/bottled-wa...

Re: Show HN: Local development with .local domains and HTTPS

#103
post #79
post #76

Earlier quoted context omitted.

pip install https.server python -m https.server

I guess you must have just omitted the line where the SSL certs are generated and the mDNS is handled? Smart Alec replies are one thing but badly thought out Smart Alec replies contribute so very little.

SSL cert is generated (untrusted)

mDNS is a QoL feature I am not sure is that useful.

Re: Show HN: Local development with .local domains and HTTPS

#104

Earlier quoted context omitted.

On modern systemd-based Linux systems that use its systemd-resolved DNS resolver it automatically forwards all *.localhost traffic to your local host. It works great with caddy for local development and testing of services.

Yep! And some browsers now hard-coded resolve *.localhost to ::1 by default, so you often don't need any resolver at all. See https://dev.to/k4ml/firefox-and-chrome-resolve-any-localhost...

I’m initially bothered by browsers doing this but perhaps it’s fine

Re: Show HN: Local development with .local domains and HTTPS

#105
post #46

This submission violates the HN guidelines: "Please don't use HN primarily for promotion. It's ok to post your own stuff part of the time, but the primary use of the site should be for curiosity." https://news.ycombinator.com/newsguidelines.html The https://news.ycombinator.com/user?id=jarekceborski account was created 1 day ago, the only submission is this one https://news.ycombinator.com/user?id=jarekceborski and t…

N=1 is not a trend. We don't know if the submitter has other active accounts that aren't in their real name. If they are new to this site, can we be more welcoming? This is cool content and made the front page.

Re: Show HN: Local development with .local domains and HTTPS

#106
post #100
post #98

Earlier quoted context omitted.

Also from those exact same guidelines: “Please don't post insinuations about astroturfing, shilling, brigading, foreign agents, and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email hn@ycombinator.com and we'll look at the data.”

> Please don't post insinuations about astroturfing, shilling, brigading, foreign agents, and the like. It degrades discussion and is usually mistaken. It's not an insinuation. The submission author literally said: "I'm Jarek, and I've built this tool". It's an undeniable fact that the submitter is self-promoting. There's no mistake. The submitter's profile also shows irrefutably that the HN account has never been us…

[deleted]

Re: Show HN: Local development with .local domains and HTTPS

#107
post #46

This submission violates the HN guidelines: "Please don't use HN primarily for promotion. It's ok to post your own stuff part of the time, but the primary use of the site should be for curiosity." https://news.ycombinator.com/newsguidelines.html The https://news.ycombinator.com/user?id=jarekceborski account was created 1 day ago, the only submission is this one https://news.ycombinator.com/user?id=jarekceborski and t…

N=1 is not a trend. We don't know if the submitter has other active accounts that aren't in their real name. If they are new to this site, can we be more welcoming? This is cool content and made the front page.

> N=1 is not a trend.

Every spammer is N=1.

> We don't know if the submitter has other active accounts that aren't in their real name.

That would be yet another HN guidelines violation: "Throwaway accounts are ok for sensitive information, but please don't create accounts routinely." https://news.ycombinator.com/newsguidelines.html

> If they are new to this site, can we be more welcoming?

Would you say the same to all spammers?

> This is cool content and made the front page.

There are a lot of cool paid products in the world. You're giving permission for everyone to just post their own "Buy" page here. That's not what HN is for. I'm a software developer myself, and while I have submitted some of my technical blog posts, I've never just submitted my product marketing pages.

And as I said in another comment, this shouldn't even be a "Show HN" post: https://news.ycombinator.com/item?id=36959608

Re: Show HN: Local development with .local domains and HTTPS

#108
post #107

Earlier quoted context omitted.

N=1 is not a trend. We don't know if the submitter has other active accounts that aren't in their real name. If they are new to this site, can we be more welcoming? This is cool content and made the front page.

> N=1 is not a trend. Every spammer is N=1. > We don't know if the submitter has other active accounts that aren't in their real name. That would be yet another HN guidelines violation: "Throwaway accounts are ok for sensitive information, but please don't create accounts routinely." https://news.ycombinator.com/newsguidelines.html > If they are new to this site, can we be more welcoming? Would you say the same to al…

Every spammer is not N=1. The user could submit their marketing page repeatedly. They could submit it from multiple accounts. That hasn't happened here, there's no need for outrage.

https://news.ycombinator.com/from?site=localcan.com

Post reply on HN