News for hackers. Stuff that matters.
Re:Show HN: Jampack – Optimizes static websites as a post-pr... by chambored on Monday March 25, 2024 @01:16PM (#39818878)
This is exactly what I've been looking for. I had been using my own scripts with Sharp for image optimizations like this, but this eliminates the need for the that entirely and works much better!

I ran Jampack after building my Quarto static site and got a 32% smaller folder with no noticeable drawbacks yet. Here are my metrics before Jampack and after using PageSpeed Insights:

before Jampack:

- mobile: - 52 Performance - 73 Accessibility - 100 Best Practices - 85 SEO

- desktop: - 90 Performance - 75 Accessibility - 100 Best Practices - 82 SEO

after Jampack:

- mobile: - 49 Performance - 80 Accessibility - 100 Best Practices - 92 SEO

- desktop: - 85 Performance - 82 Accessibility - 100 Best Practices - 91 SEO

Re:Show HN: Jampack – Optimizes static websites as a post-pr... by lelandfe on Monday March 25, 2024 @02:18PM (#39819587)
Remember that Lighthouse (and therefore PageSpeed Insights) scores fluctuate. Consider running multiple times and taking median scores when doing comparisons of performance like this. "The median Lighthouse score of 5 runs is twice as stable as 1 run" https://developers.google.com/web/tools/lighthouse/variabili...
Re:Show HN: Jampack – Optimizes static websites as a post-pr... by chambored on Monday March 25, 2024 @03:46PM (#39820521)
That's a fair point. There were certainly small discrepancies when I ran it multiple times, but I'll use the median metric moving forward.
Re:Show HN: Jampack – Optimizes static websites as a post-pr... by georges_gomes on Monday March 25, 2024 @01:21PM (#39818952)
Hi! Happy you enjoyed it! I would have expected better results for Performance metrics! If you don't mind sharing your static site output pre-jampack I would enjoy checking out. georges [at] divriots [dot] com
Re:Show HN: Jampack – Optimizes static websites as a post-pr... by samstave on Monday March 25, 2024 @01:29PM (#39819055)
Just want to say this two comment interaction is a perfect distilled example of value of posting to HN for such things.
Re:Show HN: Jampack – Optimizes static websites as a post-pr... by nolok on Monday March 25, 2024 @02:41PM (#39819838)
I would say it's exactly why I miss the network of forums of old internet, where this interaction was common on pretty much any subject matter from video game saves to tooling to whatever.

Facebook groups, discord rooms, reddit subs and the likes just aren't the same, they all feel so impersonal and detached, in some people compete for internet points, in others everything is ephemeral and closed off ... Maybe it's just nostalgia / me being old.

Re:Show HN: Jampack – Optimizes static websites as a post-pr... by joemi on Monday March 25, 2024 @03:06PM (#39820125)
> Facebook groups, discord rooms, reddit subs and the likes just aren't the same

I think it depends on which ones you're using. There are some facebook groups and subreddits I use that still feel very much like a small-forum, where people are generally good and helpful and many of the users are regulars. I haven't seen any discord rooms like that except for some ones that are direct spinoffs of the facebook groups and subreddits I mentioned, so that seems more like a credit to the users than the medium.

I think they have to be pretty niche, though. But to be fair, forums of the old internet also had similar issues where once they reached a certain size the experience was different/worse than when they were smaller.

Re:Show HN: Jampack – Optimizes static websites as a post-pr... by samstave on Monday March 25, 2024 @02:53PM (#39819987)
Sam's Law:

"As an idea or subject gains wider popularity and interest, the level of passion and laser focus on the _outcomes_ of the idea or subject gets diluted to the average level of understanding of the interested audience for the core subject"

(my weak attempt at describing this issue)

Re:Show HN: Jampack – Optimizes static websites as a post-pr... by rrr_oh_man on Monday March 25, 2024 @04:17PM (#39820814)
The Peter Principle of communities: They grow until they become useless.
Re:Show HN: Jampack – Optimizes static websites as a post-pr... by samstave on Monday March 25, 2024 @04:48PM (#39821103)
Petering out, as it were :-)
Re:Show HN: Jampack – Optimizes static websites as a post-pr... by chambored on Monday March 25, 2024 @01:45PM (#39819257)
I've zipped it up and sent a link.