{"id":11150,"date":"2025-12-30T15:34:29","date_gmt":"2025-12-30T22:34:29","guid":{"rendered":"http:\/\/capnbob.us\/blog\/?p=11150"},"modified":"2026-01-01T15:32:49","modified_gmt":"2026-01-01T22:32:49","slug":"happy-new-year-6","status":"publish","type":"post","link":"http:\/\/capnbob.us\/blog\/2025\/12\/30\/happy-new-year-6\/","title":{"rendered":"HAPPY NEW YEAR!!"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/capnbob.us\/blog\/wp-content\/uploads\/2025\/12\/cb-happy-2026.jpg\" alt=\"\" width=\"987\" height=\"129\" class=\"aligncenter size-full wp-image-11148\" srcset=\"http:\/\/capnbob.us\/blog\/wp-content\/uploads\/2025\/12\/cb-happy-2026.jpg 987w, http:\/\/capnbob.us\/blog\/wp-content\/uploads\/2025\/12\/cb-happy-2026-300x39.jpg 300w, http:\/\/capnbob.us\/blog\/wp-content\/uploads\/2025\/12\/cb-happy-2026-768x100.jpg 768w\" sizes=\"auto, (max-width: 987px) 100vw, 987px\" \/><\/p>\n<p>I&#8217;ve been fooling around with some AI lately and I understand that some users have been using AI to write code. So, I tried my hand at asking it to write a script for a countdown to the new year. I asked for JavaScript to be embedded in HTML and it produced the result seen below. The AI (Google Gemini) produced JavaScript, HTML and the Style Script (CSS). All I had to do was provide the HTML Header and Body and, voila, the counter worked right off the bat. <a href=\"https:\/\/gemini.google.com\/share\/85ff59348b94\" target=\"_blank\">Link to Gemini code<\/a>.<\/p>\n<p>If you see &#8220;Happy New Year&#8221; instead of the counter, then It is already (MST) 2026.<\/p>\n<p><iframe loading=\"lazy\" src=\"http:\/\/capnbob.us\/scripts\/gemini-ai-counter.htm\" width=\"600\" height=\"120\"><\/iframe><\/p>\n<p>I&#8217;m posting this some 32 hours or so before the new year so visitors to the site can see the counter. I may (just for grins) change the code to countdown to 2027 after the new year.<\/p>\n<p>So, from both The Damsel and I, we wish you all a happy and prosperous New Year in 2026!<\/p>\n<p><strong>UPDATE<\/strong>: I changed the target to St. Valentine&#8217;s Day 2026!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been fooling around with some AI lately and I understand that some users have been using AI to write code. So, I tried my hand&#46;&#46;&#46;<\/p>\n","protected":false},"author":190,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34,26,73,44],"tags":[],"class_list":["post-11150","post","type-post","status-publish","format-standard","hentry","category-cyberspace","category-entertainment","category-holidays","category-technology-talk"],"_links":{"self":[{"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/posts\/11150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/users\/190"}],"replies":[{"embeddable":true,"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/comments?post=11150"}],"version-history":[{"count":17,"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/posts\/11150\/revisions"}],"predecessor-version":[{"id":11167,"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/posts\/11150\/revisions\/11167"}],"wp:attachment":[{"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/media?parent=11150"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/categories?post=11150"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/capnbob.us\/blog\/wp-json\/wp\/v2\/tags?post=11150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}