4 comments

  • BatchJob12 minutes ago
    You can see the slop through the headline. No need to click. Posts like this are turning the internet into a trash pile. Nobody needs this slop, abandonware.<p>Heres the template:<p>&quot;I&quot; &lt;--- prompted some LLM<p>&quot;built&quot; &lt;--- to generate code for a<p>&quot;fastest&quot; &lt;-- insert specious claim here<p>&quot;PHP server&quot; &lt;-- thing<p>&quot;And I prompted the LLM to build a website&quot; &lt;---- link<p>Im sorry folks but this just doesnt cut it anymore. I dont think it ever did.
    • bliteben8 minutes ago
      I feel like HN has had posts like this for 15 years. This one is just an opportunity to discuss where php falls with llms in the mix.
    • ceejayoz8 minutes ago
      I saw someone promote their new simple framework today. It was all TODOs.
  • etchalon8 minutes ago
    I haven&#x27;t used PHP as a daily workhorse in a decade, so I guess I don&#x27;t understand why I would want a web server in pure PHP? Nginx exists.
  • LoganDark26 minutes ago
    You don&#x27;t need your database on a dedicated server. Not sure why the comparison table claims &quot;$30 + DB server&quot; when your web server is a perfectly good server already.
    • iinnPP21 minutes ago
      Presumably to remove it from the need to calculate. Everyone is using a different approach and one DB may require a lot more than the 30$ server can provide.<p>Now everyone can understand the math.
  • mpalmer36 minutes ago
    I&#x27;m confused why the copy you generated <i>repeatedly</i> boasts &quot;no nginx, no Redis&quot; as if those things don&#x27;t exist independently of application servers for a reason, and as if building something that doesn&#x27;t need these things (when deployed as a single instance) is particularly notable.<p>&quot;no Docker&quot; - so what? Docker is a tool. Running containers on Linux has extremely low overhead. No idea what this is about.<p>You didn&#x27;t spend the effort to decorate the slop with <i>your</i> rationale for these choices, so I see no evidence that you built any of this.
    • tobz100029 minutes ago
      One of the biggest shortcomings I often see with LLM-produced content, following a planning conversation, is that they misunderstand the breadth of the domain for which a detail is relevant or interesting.<p>So if it fixes a bug where function was accidentally deleting a file, it will update the function&#x27;s documentation with &quot;does not delete any important files&quot;, as if that&#x27;s a key feature and not just one of a million things it should not do.<p>The same pattern repeats when an LLM is left to generate its own copy after a brainstorming and architecting session. It has no concept of what&#x27;s important to the end-user.
      • ramon15624 minutes ago
        The only LLM that does this wel (in my opinion) is gemini. if i ask claude to fix comments, it very clearly fails in doing so. Gemini actually seems to understand the scope of a task
        • iinnPP15 minutes ago
          In the specific context though, it is relevant. So the aside is more closely related to the behavior being outlined.
    • bel826 minutes ago
      In the context of PHP it is notable to be able to run a production grade web server without nginx&#x2F;apache&#x2F;docker in front of it.<p>PHP doesn&#x27;t have a production grade built-in server like .NET&#x27;s Kestrel.
    • vachina16 minutes ago
      PHP is stable enough to not need Docker.<p>As in there’s very little ways to fuck up a PHP setup.<p>You just turn it on and it runs.