4 ms·
> Here is an example. This Go program (a compiler) generates and serves its own website: https://NN-512.com https://NN-512.com Not a very good one - clicking t
by CyberShadow 5y ago
> Here is an example. This Go program (a compiler) generates and serves its own website: https://NN-512.com https://NN-512.com
Not a very good one - clicking the link produces a download dialog on Firefox (I'm guessing because the website neglects to indicate a Content-Type).
Ironically this is an argument against trying to do everything yourself - you might waste time chasing the long tail of thousands of little details that had been solved many times over elsewhere.
- y4mi 5y agoIt does work with Firefox on my end... Also hosting it yourself doesn't mean that you do everything yourself. It would definitely spawn build plugins that do most of what you need if this practice actually establishes itself.
- 37ef_ced3 5y ago
- CyberShadow 5y ago> It works for everyone except you. The Content-Type is right there, in the header. I don't know what to tell you. It's not there. https://dump.cy.md/9b2a31fa5184397159fe42a85c197242/1640447625.283727360.png https://dump.cy.md/9b2a31fa5184397159fe42a85c197242/16404476... It is there if I check with cURL, though. Edit: looks like this bug is triggered by the absence of Accept-Encoding in the request. When the server compresses the response, it neglects to include the Content-Type of the compressed content. > You defend Microsoft, here and in other parts of this thread, as they sell the work of open source authors without attribution and in violation of explicit license statements in the code. I did no such thing. Please stop.
- 37ef_ced3 5y ago
- CyberShadow 5y agoI am not, and have never been a Microsoft employee. You can search online for my name / username to find my open-source contribution history, if you would like. I hope that sufficiently answers your query.
- 37ef_ced3 5y ago
- CyberShadow 5y agoI own zero shares of anything directly or indirectly.
- 37ef_ced3 5y ago
- CyberShadow 5y agoNo. I am not in the program nor requested access. This is my last reply in this subthread; feel free to assume the same answer for all questions along the same line. I also invite you to review the HN comment guidelines: https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html
- workOrNah 5y agoyou just keep digging your own grave lol
- dang 5y agoYou broke the site guidelines repeatedly and extremely badly in this thread. We ban accounts that do that. Please review https://news.ycombinator.com/newsguidelines.html https://news.ycombinator.com/newsguidelines.html and don't do anything like this on HN again.
- forgotpwd16 5y ago>clicking the link produces a download dialog on Firefox Works fine for me (v90/Linux).