frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Show HN: Draw a fish and watch it swim with the others

https://drawafish.com
640•hallak•3d ago•185 comments

Does the Bitter Lesson Have Limits?

https://www.dbreunig.com/2025/08/01/does-the-bitter-lesson-have-limits.html
14•dbreunig•59m ago•9 comments

Deep Agents

https://blog.langchain.com/deep-agents/
58•saikatsg•1h ago•14 comments

I couldn't submit a PR, so I got hired and fixed it myself

https://www.skeptrune.com/posts/doing-the-little-things/
114•skeptrune•4h ago•51 comments

Gemini 2.5 Deep Think

https://blog.google/products/gemini/gemini-2-5-deep-think/
350•meetpateltech•10h ago•173 comments

Ask HN: Who is hiring? (August 2025)

110•whoishiring•6h ago•153 comments

Google shifts goo.gl policy: Inactive links deactivated, active links preserved

https://blog.google/technology/developers/googl-link-shortening-update/
131•shuuji3•3h ago•97 comments

Build an AI telephony agent for inbound and outbound calls

https://github.com/videosdk-community/ai-telephony-demo
19•sagarkava•2d ago•8 comments

Researchers map where solar energy delivers the biggest climate payoff

https://www.rutgers.edu/news/researchers-map-where-solar-energy-delivers-biggest-climate-payoff
10•rbanffy•59m ago•0 comments

Self-Signed JWTs

https://www.selfref.com/self-signed-jwts
31•danscan•2h ago•4 comments

Supporting the BEAM community with free CI/CD security audits

https://www.erlang-solutions.com/blog/supporting-the-beam-community-with-free-ci-cd-security-audits/
68•todsacerdoti•5h ago•13 comments

Show HN: TraceRoot – Open-source agentic debugging for distributed services

https://github.com/traceroot-ai/traceroot
16•xinweihe•4h ago•2 comments

Hyrum's Law

https://www.hyrumslaw.com
75•andsoitis•6h ago•35 comments

Ergonomic keyboarding with the Svalboard: a half-year retrospective

https://twey.io/hci/svalboard/
45•Twey•4h ago•14 comments

Coverage Cat (YC S22) Is Hiring a Senior, Staff, or Principal Engineer

https://www.coveragecat.com/careers/engineering/software-engineer
1•botacode•4h ago

Make Your Own Backup System – Part 2: Forging the FreeBSD Backup Stronghold

https://it-notes.dragas.net/2025/07/29/make-your-own-backup-system-part-2-forging-the-freebsd-backup-stronghold/
64•todsacerdoti•3d ago•0 comments

Launch HN: Societies.io (YC W25) – AI simulations of your target audience

56•p-sharpe•9h ago•39 comments

Corporation for Public Broadcasting ceasing operations

https://cpb.org/pressroom/Corporation-Public-Broadcasting-Addresses-Operations-Following-Loss-Federal-Funding
443•coloneltcb•4h ago•437 comments

At 17, Hannah Cairo solved a major math mystery

https://www.quantamagazine.org/at-17-hannah-cairo-solved-a-major-math-mystery-20250801/
150•baruchel•4h ago•77 comments

When Flatpak's Sandbox Cracks

https://www.linuxjournal.com/content/when-flatpaks-sandbox-cracks-real-life-security-issues-beyond-ideal
5•dxs•1h ago•3 comments

Ask HN: Who wants to be hired? (August 2025)

51•whoishiring•6h ago•134 comments

Replacing cron jobs with a centralized task scheduler

https://mayhul.com/posts/scheduled-tasks/
140•tlf•4d ago•73 comments

Dynamic Programming Bursting Balloons

https://sylhare.github.io/2025/07/29/bursting-balloons.html
4•ingve•2d ago•1 comments

Fast (2019)

https://patrickcollison.com/fast
69•samuel246•6h ago•18 comments

Bad UX

https://www.google.com/search?q=bad+UX
71•liquid99•2h ago•27 comments

Pseudo, a Common Lisp macro for pseudocode expressions

http://funcall.blogspot.com/2025/07/pseudo.html
54•reikonomusha•3d ago•3 comments

Show HN: An interactive dashboard to explore NYC rentals data

https://leaseswap.nyc/analytics
60•giulioco•2d ago•44 comments

Our Farewell from Google Play

https://secuso.aifb.kit.edu/english/2809.php
196•shakna•12h ago•70 comments

Atlassian terminates 150 staff

https://www.cyberdaily.au/digital-transformation/12441-atlassian-terminates-150-staff-with-pre-recorded-video-will-be-largely-replaced-by-ai
168•speckx•1h ago•117 comments

OpenAI raises $8.3B at $300B valuation

https://www.nytimes.com/2025/08/01/business/dealbook/openai-ai-mega-funding-deal.html
164•mfiguiere•6h ago•177 comments
Open in hackernews

Crafting your own Static Site Generator using Phoenix (2023)

https://fly.io/phoenix-files/crafting-your-own-static-site-generator-using-phoenix/
29•Bogdanp•22h ago

Comments

doomspork•19h ago
We migrated https://ElixirSchool.com off of Jekyll to Phoenix and NimblePublisher back in 2021 (we covered it here: https://elixirschool.com/blog/now-with-more-elixir as well as a lesson on NimblePublisher and Phoenix here: https://elixirschool.com/en/lessons/misc/nimble_publisher). Since then it's worked well for the most part (more on that below) but as we've grown it's become apparent this solution doesn't scale well so now we're exploring options like sqlite.

If you consider how this all works the issue becomes rather obvious: Your content is compiled into Elixir module attributes as strings at build time. The more content you have, the larger these modules become and the more data gets compiled into your application. For a small blog with a small number of posts this would work fine. In our case the ever growing list of lessons, posts, and translations results in a lot of content.

This creates two main pain points: First, compilation times have become painfully slow as the compiler has to process all that content into module attributes on every build. Second, on more than one occasion our Fly.io release has failed due to size and memory usage during deployment, thankfully retries have worked and gotten us on our way.

The trade-off here is that NimblePublisher's strength, everything pre-compiled for fast serving, becomes its weakness when you're dealing with substantial content volumes.

When we pull the trigger on a migration away from NimblePublisher we'll be sure to publish an updated blog post.

joelcares•18h ago
With incremental builds 11ty compilation is very fast.
wraptile•18h ago
I recently wrote my own very similar static site generator in Python to migrate away from Ghost CMS and Python today has everything you need:

- pathlib is brilliant for managing filesystem

- jinja2 still best templating engine out there

- mistune very good markdown -> html renderer and it's quite easy to extend

- lxml is quite fast when it comes to HTML modification for dynamic content injection (CTAs etc.)

- livereload is great for live development and you can get around Python's slowness with smart reloading rather than having to rebuild the entire site

- tailwindcss works brilliantly with static generators as dropping in some html in markdown makes content creation really flexible

Making your own generator has never been this easy!

My only gripe is having to tune livereload to avoid rebuilding everything with each modification as building all 400+ articles on Python currently takes around 4 seconds which when doing theme development is a bit annoying but a small price to pay for staying in the Python ecosystem. For content creation you can just rebuild the effected graph of objects which is just some miliseconds, even in Python.

mediumsmart•16h ago
CMS, really flexible, nimble, engine, dynamic content injection, livereload, extend, fast, modification, fly

Did you mean Static maybe?