{"id":2477,"date":"2024-07-12T08:57:22","date_gmt":"2024-07-12T08:57:22","guid":{"rendered":"https:\/\/www.andreaswacker.com\/blog\/?p=2477"},"modified":"2024-07-12T08:59:01","modified_gmt":"2024-07-12T08:59:01","slug":"coding-along-llms-july","status":"publish","type":"post","link":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/","title":{"rendered":"coding along LLMs, July"},"content":{"rendered":"\n<p>July 2024 and it is still surprising how erratic LLMs can be when they get tasked to help with very small coding jobs. I work on many projects on my Mac. For a while, I have been using my own directory simple stack implementation. Remembering paths is what the computer can do for me.<\/p>\n\n\n\n<p>It works well and has two parts: zsh functions loaded via .zshrc and a Python program doing the actual work, naturally except for the cd, change of the prompt.<\/p>\n\n\n\n<p>I thought it would be nice if my &#8216;cd&#8217; variation could check if a Python environment under *\/bin\/activate would exist in the directory I changed into. If so, it can source it. If there is none, then it should not care, and if there are multiple, it should list them so that I could pick and choose.<\/p>\n\n\n\n<p>Simple enough.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"503\" src=\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1024x503.jpg\" alt=\"\" class=\"wp-image-2478\" srcset=\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1024x503.jpg 1024w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-300x147.jpg 300w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-768x377.jpg 768w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1536x755.jpg 1536w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1200x590.jpg 1200w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows.jpg 1563w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>Parts would require zsh shell coding. Not something I tend to do a lot. Since Sonnet 3.5 has a limit even in the paid version, I tend to use my paid gpt4o first.<\/p>\n\n\n\n<p>For this simple thing, I should not have. Today gpt4o was stunningly stupid. It managed to do zsh syntax well enough, but then completely failed. For a while, stuck in that dreadful loop where one hopes the next version would finally work. I still abort those loops of idiocy way too late.<\/p>\n\n\n\n<p>Claude 3.5 got it right. In my frustration, I also had introduced a bug \/ typo on my end. Both gpt4o and Claude would have pointed it out easily if they had seen that part of the code. Claude stood out since its debug hints let me see what I had done wrong. That was beyond my current expectation horizon.<\/p>\n\n\n\n<p>Speaking of: I am amazed how dumb LLMs still can be. Today gpt4o was utterly stupid. Not sure why. Is it zsh that it is not familiar with? Did the system prompt that got assigned to me, or my region, suddenly change? Who knows.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"351\" src=\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/trumpet-1024x351.jpg\" alt=\"\" class=\"wp-image-2479\" srcset=\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/trumpet-1024x351.jpg 1024w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/trumpet-300x103.jpg 300w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/trumpet-768x263.jpg 768w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/trumpet-1536x527.jpg 1536w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/trumpet-2048x702.jpg 2048w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/trumpet-1200x412.jpg 1200w, https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/trumpet-1980x679.jpg 1980w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>It must be hard to make a living based on some expectations from LLMs. They are really awesome, but can fall off a cliff at any point. Pretty much the opposite from computer work in general.<\/p>\n\n\n\n<p>I expect that people develop all sorts of Cargo Cults in their work with these tools.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>July 2024 and it is still surprising how erratic LLMs can be when they get tasked to help with very small coding jobs. I work on many projects on my Mac. For a while, I have been using my own directory simple stack implementation. Remembering paths is what the computer can do for me. It [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[42,19],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>The Unpredictable Nature of LLM Coding Assistance<\/title>\n<meta name=\"description\" content=\"A developer sharing experience with LLM coding assistance, highlighting the erratic nature of AI tools like gpt4o and Claude Sonnet 3.5 tackling small coding tasks. %\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"The Unpredictable Nature of LLM Coding Assistance\" \/>\n<meta property=\"og:description\" content=\"A developer sharing experience with LLM coding assistance, highlighting the erratic nature of AI tools like gpt4o and Claude Sonnet 3.5 tackling small coding tasks. %\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/\" \/>\n<meta property=\"og:site_name\" content=\"Andreas Wacker\" \/>\n<meta property=\"article:published_time\" content=\"2024-07-12T08:57:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-07-12T08:59:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1024x503.jpg\" \/>\n<meta name=\"author\" content=\"Andreas Wacker\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@_andreaswacker\" \/>\n<meta name=\"twitter:site\" content=\"@_andreaswacker\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Andreas Wacker\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/\"},\"author\":{\"name\":\"Andreas Wacker\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\"},\"headline\":\"coding along LLMs, July\",\"datePublished\":\"2024-07-12T08:57:22+00:00\",\"dateModified\":\"2024-07-12T08:59:01+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/\"},\"wordCount\":388,\"publisher\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\"},\"image\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1024x503.jpg\",\"articleSection\":[\"AI\",\"technology\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/\",\"name\":\"The Unpredictable Nature of LLM Coding Assistance\",\"isPartOf\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1024x503.jpg\",\"datePublished\":\"2024-07-12T08:57:22+00:00\",\"dateModified\":\"2024-07-12T08:59:01+00:00\",\"description\":\"A developer sharing experience with LLM coding assistance, highlighting the erratic nature of AI tools like gpt4o and Claude Sonnet 3.5 tackling small coding tasks. %\",\"breadcrumb\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#primaryimage\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows.jpg\",\"contentUrl\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows.jpg\",\"width\":1563,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.andreaswacker.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"coding along LLMs, July\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#website\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/\",\"name\":\"Andreas Wacker\",\"description\":\"weblog\",\"publisher\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.andreaswacker.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a\",\"name\":\"Andreas Wacker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png\",\"contentUrl\":\"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png\",\"width\":248,\"height\":248,\"caption\":\"Andreas Wacker\"},\"logo\":{\"@id\":\"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/\"},\"sameAs\":[\"http:\/\/www.andreaswacker.com\",\"https:\/\/www.instagram.com\/_andreaswacker\/\",\"https:\/\/x.com\/_andreaswacker\",\"https:\/\/www.youtube.com\/channel\/UCWwFtVC_HATVr-R5EiNmhHw\"],\"url\":\"https:\/\/www.andreaswacker.com\/blog\/author\/admin2\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"The Unpredictable Nature of LLM Coding Assistance","description":"A developer sharing experience with LLM coding assistance, highlighting the erratic nature of AI tools like gpt4o and Claude Sonnet 3.5 tackling small coding tasks. %","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/","og_locale":"en_US","og_type":"article","og_title":"The Unpredictable Nature of LLM Coding Assistance","og_description":"A developer sharing experience with LLM coding assistance, highlighting the erratic nature of AI tools like gpt4o and Claude Sonnet 3.5 tackling small coding tasks. %","og_url":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/","og_site_name":"Andreas Wacker","article_published_time":"2024-07-12T08:57:22+00:00","article_modified_time":"2024-07-12T08:59:01+00:00","og_image":[{"url":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1024x503.jpg"}],"author":"Andreas Wacker","twitter_card":"summary_large_image","twitter_creator":"@_andreaswacker","twitter_site":"@_andreaswacker","twitter_misc":{"Written by":"Andreas Wacker","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#article","isPartOf":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/"},"author":{"name":"Andreas Wacker","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a"},"headline":"coding along LLMs, July","datePublished":"2024-07-12T08:57:22+00:00","dateModified":"2024-07-12T08:59:01+00:00","mainEntityOfPage":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/"},"wordCount":388,"publisher":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a"},"image":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#primaryimage"},"thumbnailUrl":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1024x503.jpg","articleSection":["AI","technology"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/","url":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/","name":"The Unpredictable Nature of LLM Coding Assistance","isPartOf":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#primaryimage"},"image":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#primaryimage"},"thumbnailUrl":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows-1024x503.jpg","datePublished":"2024-07-12T08:57:22+00:00","dateModified":"2024-07-12T08:59:01+00:00","description":"A developer sharing experience with LLM coding assistance, highlighting the erratic nature of AI tools like gpt4o and Claude Sonnet 3.5 tackling small coding tasks. %","breadcrumb":{"@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#primaryimage","url":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows.jpg","contentUrl":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/07\/cows.jpg","width":1563,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/www.andreaswacker.com\/blog\/2024\/07\/12\/coding-along-llms-july\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.andreaswacker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"coding along LLMs, July"}]},{"@type":"WebSite","@id":"https:\/\/www.andreaswacker.com\/blog\/#website","url":"https:\/\/www.andreaswacker.com\/blog\/","name":"Andreas Wacker","description":"weblog","publisher":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.andreaswacker.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/c1f46a348eafeb52ee54843dce18442a","name":"Andreas Wacker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png","contentUrl":"https:\/\/www.andreaswacker.com\/blog\/wp-content\/uploads\/2024\/06\/awfavion.png","width":248,"height":248,"caption":"Andreas Wacker"},"logo":{"@id":"https:\/\/www.andreaswacker.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["http:\/\/www.andreaswacker.com","https:\/\/www.instagram.com\/_andreaswacker\/","https:\/\/x.com\/_andreaswacker","https:\/\/www.youtube.com\/channel\/UCWwFtVC_HATVr-R5EiNmhHw"],"url":"https:\/\/www.andreaswacker.com\/blog\/author\/admin2\/"}]}},"_links":{"self":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts\/2477"}],"collection":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/comments?post=2477"}],"version-history":[{"count":1,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts\/2477\/revisions"}],"predecessor-version":[{"id":2480,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/posts\/2477\/revisions\/2480"}],"wp:attachment":[{"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/media?parent=2477"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/categories?post=2477"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.andreaswacker.com\/blog\/wp-json\/wp\/v2\/tags?post=2477"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}