{"channel":"llm","content":"Working with LLMs is a speed-run through 50 years of software engineering.\r\n\r\nA few weeks ago, I found myself wanting << .pyh >> *header* files.  Just the function signatures (and a one-line comment).  No need to waste the valuable processing space on implementation details that it shouldn't need to know or change.\r\n\r\n----\r\n\r\nToday, I find myself wanting code-file tiers.  The base layer (database models, LLM APIs, etc.) get uploaded to Claude as \"project knowledge\".  The higher level layers (HTML templates) only get uploaded within individual chats.\r\n\r\n<quote> the two hardest problems in Computer Science are cache invalidation, naming things, and off-by-one errors.\r\n\r\nBecause the API tools aren't there to keep everything in-sync automatically.  And ... while I could keep track, I would prefer not to.\r\n\r\n----\r\n\r\nThe \"halfway\" solution is a script that moves a current version of all the \"uploading\" files to a single directory.  Then, I use that to create a new project. (<red> projects are cheap.  I could upload a hundred versions of the 100KB of code files and nobody would care.) (<xantham> and, thanks to Claude, instead of 80% of the work being << write the script >>, 80% of the work is << figure out what the script should do >>)\r\n\r\nThis speaks to the iron law of optimization.  Before, it was 20% of X planning, and 80% of X coding.  Now, it is 20% of X planning, and 4% of X coding.  The *machine* has made coding 20 times faster in this example, and made the overall project 4 times faster.\r\n\r\nNo additional amount of \"faster coding\" can improve this more than 20%. (<orange> well, actually, in the future, the *machine* will also be able to do planning)","created_at":"2025-01-17T16:00:40.054089","id":114,"llm_annotations":{},"parent_id":113,"processed_content":"<p>Working with LLMs is a speed-run through 50 years of software engineering.\r</p>\n<p>A few weeks ago, I found myself wanting <span class=\"literal-text\">.pyh</span> <em>header</em> files.  Just the function signatures (and a one-line comment).  No need to waste the valuable processing space on implementation details that it shouldn't need to know or change.\r</p><hr class=\"section-break\" /><p>Today, I find myself wanting code-file tiers.  The base layer (database models, LLM APIs, etc.) get uploaded to Claude as \"project knowledge\".  The higher level layers (HTML templates) only get uploaded within individual chats.\r</p>\n<p><span class=\"colorblock color-quote\"><span class=\"sigil\">\ud83d\udcac</span><span class=\"colortext-content\"> the two hardest problems in Computer Science are cache invalidation, naming things, and off-by-one errors.\r</span></span></p>\n<p>Because the API tools aren't there to keep everything in-sync automatically.  And ... while I could keep track, I would prefer not to.\r</p><hr class=\"section-break\" /><p>The \"halfway\" solution is a script that moves a current version of all the \"uploading\" files to a single directory.  Then, I use that to create a new project. <span class=\"colorblock color-red\"><span class=\"sigil\">\ud83d\udca1</span><span class=\"colortext-content\">( projects are cheap.  I could upload a hundred versions of the 100KB of code files and nobody would care.)</span></span> <span class=\"colorblock color-xantham\"><span class=\"sigil\">\ud83d\udd25</span><span class=\"colortext-content\">( and, thanks to Claude, instead of 80% of the work being <span class=\"literal-text\">write the script</span>, 80% of the work is <span class=\"literal-text\">figure out what the script should do</span>)</span></span>\r</p>\n<p>This speaks to the iron law of optimization.  Before, it was 20% of X planning, and 80% of X coding.  Now, it is 20% of X planning, and 4% of X coding.  The <em>machine</em> has made coding 20 times faster in this example, and made the overall project 4 times faster.\r</p>\n<p>No additional amount of \"faster coding\" can improve this more than 20%. <span class=\"colorblock color-orange\"><span class=\"sigil\">\u2694\ufe0f</span><span class=\"colortext-content\">( well, actually, in the future, the <em>machine</em> will also be able to do planning)</span></span></p>","quotes":[{"text":"the two hardest problems in Computer Science are cache invalidation, naming things, and off-by-one errors.","type":"reference"}],"subject":"the core"}
