News for hackers. Stuff that matters.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by jack_riminton on Monday April 03, 2023 @04:17AM (#35420209)
Glorious. This blog post by the creator on the insanity of the JS ecosystem is also a good read https://pouria.dev/programs-are-dead/
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by flohofwoe on Monday April 03, 2023 @05:10AM (#35420564)
Looking in the browser devtools it seems to be a three.js application.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by Kovah on Monday April 03, 2023 @06:46AM (#35421332)
Looking into the dev tools also reveals that the page tries to load Google Analytics without consent. Not cool.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by poeti8 on Monday April 03, 2023 @07:07AM (#35421534)
I'm sorry, I forgot about that. I removed Google Analytics from my personal website just now.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by flohofwoe on Monday April 03, 2023 @08:12AM (#35422165)
I didn't think it worth mentioning because it's blocked by uBlock Origin anyway ;)
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by KyeRussell on Monday April 03, 2023 @09:38AM (#35423356)
What an absurdly high bar that 99% of the sites on HN certainly don’t reach.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by thiht on Monday April 03, 2023 @09:39AM (#35423366)
The law?
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by antonvs on Monday April 03, 2023 @09:51AM (#35423546)
Laws are different in different countries. The internet is in all of them.

What is it that you’re looking for, a useless “this site uses cookies” warning? That can mean anything, from a site that has a simple login feature, to a site that participates in a network that tracks you across the internet. The legal requirement for that notification is a great example of futile regulation that achieves nothing but globally wasted productivity. It’s like having to warn people that you breathe - regulators focused on the wrong common factor.

If you care enough about the issue, there are plenty of off-the-shelf blockers you can install.

Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by readertime on Monday April 03, 2023 @09:59AM (#35423665)
Seriously fuck off with that.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by keb_ on Monday April 03, 2023 @08:32AM (#35422417)
The great irony of this post is that the author dreams of a world where they can use a library without it depending on hundreds of other modules, yet their website is built on Gatsby, an NPM package with one of the most insane dependency graphs I've seen. Uploading the author's website's package.json[1] into npmgraph[2] lists a total of 1561 dependencies. All that for what amounts to a simple blog site.

[1] https://github.com/poeti8/pouria.dev/blob/master/package.jso...

[2] https://npmgraph.js.org/

Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by poeti8 on Monday April 03, 2023 @08:41AM (#35422496)
That's why I wrote the blog the post.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by keb_ on Monday April 03, 2023 @09:11AM (#35422915)
Why not use a different tool then? Hugo or Zola are mature and provide static binaries. If you want to stay in the Node world, I can recommend tinyjam by mourner (or anything by Volodymyr, really).
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by jack_riminton on Monday April 03, 2023 @11:04AM (#35424871)
The point of the article is to complain about the state of the JS ecosystem as a whole. Of course there are workarounds and alternatives but it doesn't detract from the main point.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by keb_ on Monday April 03, 2023 @11:27AM (#35425371)
I agree, it doesn't detract from the main point, and I understand the purpose of the article. I only find it surprising that the website is built with Gatsby given the author's stance.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by BuildTheRobots on Monday April 03, 2023 @11:45AM (#35425749)
Surely the stance can come after and because of building the website?

There's a lot of projects that've taught me exactly what tool I wouldn't use if I were redoing them from scratch, but there's no time to start again or no wish to go through a lot of extra pain and work (until needed) to end up with the same end result.

Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by keb_ on Monday April 03, 2023 @01:29PM (#35427870)
Yeah, I believe that is what happened here. See the author's comment: https://news.ycombinator.com/item?id=35422496
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by billfruit on Monday April 03, 2023 @12:35PM (#35426838)
But do you think there is a solution? Why do we have to bear such a painful ecosystem?May we are at an evolutionary stage where too much variety is proliferating, and over time things will converge into a few proven ways of doing things.
Re:Show HN: Unknown Pleasures, a tiny web experiment with WebGL by Abishek_Muthian on Tuesday April 04, 2023 @10:47PM (#35448679)
Thanks for writing it.

Whenever I see WebGL posts like yours & chiechanowski I think like these folks must really love JavaScript to create such masterpiece & with my apprehension towards the JS ecosystem I couldn't indulge myself to put such effort.

Your post on JS ecosystem resonates with me & perhaps there's a narrow gap for someone without liking the JS ecosystem could do something extraordinary with JavaScript.