{"id":7775,"date":"2026-03-03T23:03:28","date_gmt":"2026-03-03T23:03:28","guid":{"rendered":"https:\/\/robertjwallace.com\/?p=7775"},"modified":"2026-03-05T00:20:02","modified_gmt":"2026-03-05T00:20:02","slug":"ai-coding-finding-the-sweet-spots","status":"publish","type":"post","link":"https:\/\/robertjwallace.com\/es\/ai-coding-finding-the-sweet-spots\/","title":{"rendered":"AI Coding &#8211; finding the sweet spots"},"content":{"rendered":"<p class=\"\">I don&#8217;t think people realize what will happen with AI coding eventually. I have been playing with AI Coding for a little while and I am amazed at how well it does for certain tasks. These are simple programs that I have AI write for my personal use. I have had several Android Phone Apps created by AI that I use as a magician, for example. These apps are not intended for the general population and do not need to meet everyones needs, only mine.<\/p>\n\n\n\n<p class=\"\">Recently I found a old ASUS Nexus 7 Android tablet that I wanted to resurrect. I decided that I would use it as a controller tablet for my Home Assistant home automation system, something akin to a Kiosk mode controller. I had a brief chat with Google&#8217;s Gemini which told me that what I wanted to do was doable, but that since the device was old the code would have to be written without using the latest web tech. I suggested using the Home Assistant API and it thought that was a great idea. (I do find it annoying that AIs find all ideas to the great, even when they are not.)<\/p>\n\n\n\n<p class=\"\">Here is where I was amazed. I went into my Home Assistant and copied its configuration file. I uploaded that to Gemini and it extracted the devices I have from the file, suggested which ones it thought I should include, and then wrote the Javascript and HTML code for the app. It also gave me instructions on where to put the file within the Home Assistant server.<\/p>\n\n\n\n<p class=\"\">I uploaded the file and it worked. Now note that I could have used a third party plugin to Home Assistant that puts Home Assistant into a Kiosk mode, but I would have had to create a Home Assistant dashboard with the devices. Also, it is likely that that page would not have run on the Nexus web browser.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" width=\"459\" height=\"640\" data-src=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2026\/03\/image.png\" alt=\"\" class=\"wp-image-7776 lazyload\" data-srcset=\"https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2026\/03\/image-459x600.png 459w, https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2026\/03\/image-215x300.png 215w, https:\/\/robertjwallace-images.s3.us-east-2.amazonaws.com\/wp-content\/uploads\/2026\/03\/image-9x12.png 9w\" data-sizes=\"(max-width: 459px) 100vw, 459px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 459px; --smush-placeholder-aspect-ratio: 459\/640;\"><figcaption class=\"wp-element-caption\">Kiosk Page to control my Home Assistant from my Nexus 7 tablet<\/figcaption><\/figure>\n\n\n\n<p class=\"\">What does this mean for the future. I still had to copy and paste the code, but we are already seeing AI agents that can take over even those tasks. I can see when users no longer open the Play Store to download an app, or search for a PC Program. Instead they will simply tell the AI Agent what they want the program or app to do and it will be created for them. If it isn&#8217;t exactly what you want, no problem, just tell the AI what to change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Additional thoughts<\/h2>\n\n\n\n<p class=\"\">So having AI build the new web page based interface I decided that I wanted it to run as an app, not has a web page via the browser.  The problem with using the browser was that it opened with the browser tool bar and headers.   So I asked the AI to build a Cordova app that simply showed the page, without using Chrome or Firefox.<\/p>\n\n\n\n<p class=\"\">It did this, but it was a bit harder.  Not harder techically, harder in the sense it took the AI more time to get it right.  The reason was that I am using very old hardware.  Cordova has many dependencies and the AI had to figure out what version of each layer of technology would work.  It eventually got there and I now have an app on the tablet that opens the kiosk mode directly.<\/p>","protected":false},"excerpt":{"rendered":"<p>I don&#8217;t think people realize what will happen with AI coding eventually. I have been playing with AI Coding for a little while and I am amazed at how well it does for certain tasks. These are simple programs that I have AI write for my personal use. I have had several Android Phone Apps &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/robertjwallace.com\/es\/ai-coding-finding-the-sweet-spots\/\" class=\"more-link\">Continuar leyendo<span class=\"screen-reader-text\"> &#8220;AI Coding &#8211; finding the sweet spots&#8221;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"nf_dc_page":"","_eb_attr":"","footnotes":""},"categories":[171,143],"tags":[],"class_list":["post-7775","post","type-post","status-publish","format-standard","hentry","category-ai","category-computer-stuff"],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Bob","author_link":"https:\/\/robertjwallace.com\/es\/author\/admin\/"},"_links":{"self":[{"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/posts\/7775","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/comments?post=7775"}],"version-history":[{"count":2,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/posts\/7775\/revisions"}],"predecessor-version":[{"id":7781,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/posts\/7775\/revisions\/7781"}],"wp:attachment":[{"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/media?parent=7775"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/categories?post=7775"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/robertjwallace.com\/es\/wp-json\/wp\/v2\/tags?post=7775"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}