• 0 Posts
  • 82 Comments
Joined 2 years ago
cake
Cake day: December 2nd, 2023

help-circle



  • they are not good at consistently following best practices or architectural instructions. So you have to have some kind of hierarchical goal/context scope framework - But then the high-level goals actually need to be reasoned about, which LLMs don’t do, so efforts to make the framework analyze/plan/reflect In order to select and sub divide those top goals fail.

    I have to fight with Claude to get it to just do three or four back-and-forth questions with me to establish the actual requirement instead of dumping 1000 lines of irrelevant code (And an MD document, and a usage guide, and an test suite) that ignores guidelines I had already given it.












  • Why would you reserve ram for swap???

    You’re hindering the OS’s ability to manage memory.

    Put swap on disk. Aim for it to rarely be touched - but it needs to be there so the OS can move idle memory data out if it wants to.

    Don’t hard-allocate a memory partition for postgres. Let it allocate and free as it sees fit.

    Then the OS will naturally use all possible RAM for cache, with the freedom to use more or less for the server process as demand requires.

    Monitor queries to ensure you’re not seeing table scans due to missing indexes. Make sure VACUUM is happening either automatically or manually.