Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. Ju Ju Tsu(codeberg.page)
    1comments
  2. Privacy Tools Experts Use(proton.me)
    discuss
  3. Ticket-In Ticket-Out(wikipedia.org)
    discuss
  4. Show HN: An honest comparison of the Agent Harness vs. six alternatives(time2magic.com)
    discuss
  5. Before and After Photos Show Data Centers Furiously Popping Up Across America(petapixel.com)
    discuss
  6. Breaking a four year hiatus to talk about the export keyword (PEPs 842 and 843)(aroberge.blogspot.com)
    discuss
  7. Show HN: Primescript – Academic Markdown editor with vector search and LaTeX(primescript.com)
    discuss
  8. Show HN: A Mondrian-style puzzle block game(wdamao.com)
    1comments
  9. A Calendar of Smells(worldsensorium.com)
    discuss
  10. A space war played in SQL(schemaverse.com)
    discuss
  11. Solitaire Alone Together(eieio.games)
    1comments
  12. An Ocean Planet in Space(blue-continuum.com)
    discuss
  13. EZ4: A reflection-driven alternative to AWS CDK for serverless apps(github.com/sbalmt)
    discuss
  14. Ask HN: How do you sell a small bootstrapped SaaS?
    discuss
  15. A 7B fact-checker beat 30B LLM reviewers and deleted no true claims(openteams.com)
    discuss
  16. The World After Capital (2024)(worldaftercapital.org)
    discuss
  17. How Your Internet Traffic Gets There: IXPs and Peering(ipinfo.io)
    discuss
  18. A Programming Mentality(natemeyvis.com)
    discuss
  19. Vibes vs. Evidence: What delivers AI code review quality(dsifry.github.io)
    discuss
  20. What Makes Jev Different from Other LLMs? A Simple Explanation(medium.com/dolevietthang)
    discuss
  21. Silicon Valley Saw the iPhone Coming 13 Yrs Before Apple [video](youtube.com)
    discuss
  22. Something bugs me about AGI AI LLM, what if we back paddled 1000 year(shatteringtheabyss.substack.com)
    1comments
  23. Context compaction, measured: FutureOS vs. Codex vs. OpenCode(future-os-blog.github.io)
    discuss
  24. Major air traffic controller outage triggers flight chaos [video](youtube.com)
    discuss
  25. Meta's Muse Is Better at Surveilling Than Helping Me(wired.com)
    discuss
  26. Android Bench 2.0 – Long Horizon Android Development Benchmark(android.com)
    discuss
  27. FloatLib: Verified Floating-Point Arithmetic in Lean(leandojo.org)
    discuss
  28. Driscoll's Gave China Its Blueberries–Then China Swiped the Secret to Growing Th(wsj.com)
    discuss
  29. Open-Sourcing Rebalancer: High-Performance Assignment Problem Solver(fb.com)
    discuss
  30. Lifestreams: A storage model for personal data (1996)(acm.org)
    discuss

Ask HN: Ceremonious Architecture in Times of AI

2 pointsby 54m ago
1 comments
There's extensive literature on several software architecture patterns and styles whose benefits are well known, but which are often ignored due to the cost of their boilerplatic layers and abstractions.

For example: Domain-Driven Design is cool, but it probably won't be applied to a CRUD-heavy startup backend; Clean Architecture is great, but defining a database schema via some annotations on entity fields is simpler and faster.

It's clear that having a single `FooService` mapped to endpoints and directly hitting the database (as an extreme case) would be much faster to ship than introducing `FooRepository`, `AddFooCommand`, `AddFooCommandHandler`, `FooValidator`, et cetera (including the respective interfaces and plumbing).

At least it was faster.

Nowadays, an LLM can spit out ten times that scaffolding in roughly the same amount of time, so it seems like one of the main costs of "heavy" architectural patterns has become almost irrelevant.

On the other hand, their benefits may have been amplified, as highly structured codebases (especially those that can statically enforce and/or test that structure) could serve as a better leash for code-spitting machines, keeping their autonomous design adventures in check.

So, as my first HN interaction — hello! — I wanted to ask the community for their opinion on this topic: do you think the rise of LLMs will/should make heavy architectural patterns more prevalent, even in scenarios where they would otherwise be discarded?

42m agoHN ↗

For greenfield I tend to defer to the llm on structure. I've gone into hundreds of thousands of lines without a structural bottleneck, in my opinion.