{"id":1594,"date":"2023-02-18T12:04:44","date_gmt":"2023-02-18T12:04:44","guid":{"rendered":"http:\/\/sdi.thoughtstorms.info\/?p=1594"},"modified":"2023-02-18T12:04:44","modified_gmt":"2023-02-18T12:04:44","slug":"chatgpt","status":"publish","type":"post","link":"https:\/\/sdi.thoughtstorms.info\/?p=1594","title":{"rendered":"ChatGPT"},"content":{"rendered":"<p>Two stories about ChatGPT<\/p>\n<p>Two days ago I tweeted :<\/p>\n<p>> I confess. I&#8217;ve succumbed and subscribed to ChatGPT Plus.<\/p>\n<p>Eufrasio asked me why, so I replied<\/p>\n<p>> It&#8217;s great for translating code from one programming language to another. For example, I had a version of [Gbloink!](http:\/\/gbloink.com) running in the browser, I wrote in CoffeeScript 10 yrs ago. There&#8217;s no future in CoffeeScript, but just translated it to Python, with GPT doing about 90% of the work<\/p>\n<p>This is true. I&#8217;m hoping that I can release a new Python based version of Gbloink! this year. The Python is running in the browser thanks to  [PyScript](https:\/\/pyscript.net\/) But I should also be able to use it for a desktop app. I may even look into [Kivy](https:\/\/kivy.org\/)<\/p>\n<p>As an aside if you haven&#8217;t seen them, you might be interested to see that I&#8217;m actually having a lot of success now with the original (1997 era!) Gbloink! running with modern DAW software : [Gbloink! Playlist](https:\/\/www.youtube.com\/watch?v=Q7PD00jvCy0&#038;list=PLuBDEereAQUyAPJZDGe85dKWMPnDXqodP)<\/p>\n<p>Anyway, on the main topic of ChatGPT, Abraham asked<\/p>\n<p>> How&#8217;s it looking so far? Worth every penny?<\/p>\n<p>And I answered :<\/p>\n<p>> Currently (since payment) it&#8217;s given me some code to add a) auto-complete to the &#8220;move card&#8221; field in Cardigan Bay. And b) to check broken links in a page.<\/p>\n<p>> I haven&#8217;t integrated them in yet, but I hope to in the next couple of days. If they work it&#8217;s a definite productivity boost.<\/p>\n<p>Which brings us to the second story, as I tweeted today :<\/p>\n<p>> Damn! OK. So #chatgpt just bullshitted me (or at least helped reinforce rather than correct my own stupidity)<\/p>\n<p>> I wanted to write a script to check broken links out of my wiki. And I got Chat to help me write it in Clojure.<\/p>\n<p>> Of course, I was thinking it would be nice to have this running in the browser. A handy component at the bottom of pages that checked all the external links on them to tell me if they were still valid.<\/p>\n<p>> So after some back and forth, it seems like me and chat got the code working.<\/p>\n<p>> And then I hit the CORS problem &#8230;<\/p>\n<p>> Of course you can&#8217;t run this in the browser. And when asked directly, #chatgpt KNOWS you can&#8217;t.<\/p>\n<p>> But it&#8217;s happily accompanied me along the path of writing a nice interactive Reagent based widget for doing all this work in the browser.<\/p>\n<p>> Now I thought I was smart enough to use #chatgpt and NOT be caught out by its bullshit.<\/p>\n<p>> And I now realise that&#8217;s bollocks.<\/p>\n<p>> Yes, I can totally be fooled by it.<\/p>\n<p>> I hope I&#8217;m wiser now.<\/p>\n<p>Which I think is a good summary of where I am.<\/p>\n<p>Yes, ChatGPT is an incredible productivity boost. And, it&#8217;s even good for &#8220;rubber ducking&#8221;, ie. having &#8220;someone&#8221; to talk a problem through with. I&#8217;m not regretting subscribing. BUT &#8230; you ALWAYS have to be alert that it can confidently assert things that aren&#8217;t true or don&#8217;t make sense.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Two stories about ChatGPT Two days ago I tweeted : > I confess. I&#8217;ve succumbed and subscribed to ChatGPT Plus. Eufrasio asked me why, so I replied > It&#8217;s great for translating code from one programming language to another. For example, I had a version of [Gbloink!](http:\/\/gbloink.com) running in the browser, I wrote in CoffeeScript [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[27,57,61,67,172,237,239,364,365],"class_list":["post-1594","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-artificial-intelligence","tag-cardigan-bay","tag-chatgpt","tag-clojurescript","tag-gbloink","tag-kivy","tag-language-models","tag-pyscript","tag-python"],"_links":{"self":[{"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/1594","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1594"}],"version-history":[{"count":0,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=\/wp\/v2\/posts\/1594\/revisions"}],"wp:attachment":[{"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1594"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1594"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sdi.thoughtstorms.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1594"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}