• Blog Content
  • About Burns and This Blog
  • To the Hackers and Script Kiddies
  • SE Skills Survey – Help!!

Eric Burns Online

My Virtual Take on Tech

  • Blog Content
  • About Burns and This Blog
  • To the Hackers and Script Kiddies
  • SE Skills Survey – Help!!

ChatGPT Coding – I Did It, and Have No Regrets

August 30, 2024 Attitude High Level Tech Intro No Comments

I first learned to program in the 6th grade. Since then I’ve spent time as an IT Engineer and System Architect. Prior to joining Cisco, I worked with Perl, shell scripting, Aspect, Expect, Tcl/Tk and a few others I’ve forgotten. We started with Perl when I was at Cisco, then switched to Java. And of course the webapps we built leveraged SQL, HTML and JavaScript. Doing full-stack work and Sales Engineering over the span of a few decades I’ve evolved into quite the generalist. I’ve worked with Varnish Control Language (VCL), Go and several others to the list depending on what needed to be built. Afterall my dad taught me early on that “the right tool is half the job.”

I recently ran into a snag where the CRM I use for my different projects had a bug that wouldn’t let me set some default values when adding a new Contact. Either the values wouldn’t get saved, or the date format would change to one that didn’t work and just brought up an error. It is open source, and the support team basically told me to upgrade to the paid version. Besides this minor annoyance, I really didn’t need to add that expense. I also didn’t feel like diving into PHP. I’ve tinkered with it a bit when working on a WordPress plugin, but really didn’t feel like digging into this one to add debug code and figure out their issues.

There was an area where I wanted to also leverage some APIs for the data that was being entered into the CRM. That got me thinking that perhaps a Chrome extension would be the way to go. I could start with the basics, just get these three fields set and later extract content from other sites and add the API functionality. Now some of you that are deeper into this tech than I am already see a problem I’ll hit later, but I’ll save that for later too.

I’ll never pass of someone else’s work as my own, but have no qualms about using code I’m legally allowed to use with proper credit being given. And a good security review also of course! For example, I’m putting together a virtual marketing event that will involve playing a whack-a-mole game on a Raspberry Pi. Sure, I could create the game, but there is only so much time in the day. A quick search for “site:github.com python whackamole game” on Google found someone’s homework that had the MIT license attached to it. Perfect – I can use it as long as I give credit! It was 9 years old, and Python had evolved, so I had to make one or two minor updates to get it to work. I do need to Fork their code and check it back in with the fix, or do a Pull request. I’ll also be adapting it to work with 5 OLED screens and will see how well I can adapt it to let you decide how it is configured.

But I’m really digressing here. Well, maybe not. I tried the same thing to find some code on GitHub that would create a Chrome extension. One that would modify a specific text field. It took me a while, and what I found didn’t do what I expected. I’ve been using ChatGPT for a few things, but have been resisting asking it to code. My good friend Darrell DeCosta has told me about the different ways he has used it for coding. I figured it was time . . .

When using a Large Language Model (LLM), there is a correct way to prompt it. This gets you the best answer the soonest. Saves you time and also overall reduces load on the LLM. Since I was experimenting here, I thought I’d forgo “proper Prompt Engineering” and just start with as simple request.

More to come . . . watch for updates!

 

Just Submitted a Proposal to Maker Faire Bay Area 2024

Chatbots? Some Thoughts About Employee Satisfaction

Leave a Reply Cancel reply

Recent Posts
  • Always On Culture and Global Teams
  • Google Dorking Against the Competition
  • API Guides Are Not Textbooks, Don’t Expect Your Users To Use Them That Way
  • ECHOGEAR Open Rack
  • Getting RAID Inside a Dell
Categories
  • Analytics
  • Attitude
  • CDNs
  • Conversational AI
  • Creative Projects
  • Gear
  • Getting Hired
  • High Level Tech Intro
  • Hiring Process
  • Message/Chat/Collaboration
  • Monitoring
  • Random Notes
  • Raspberry Pi
  • Sales Engineers
  • SE Skills
  • Startups
  • Uncategorized
Recent Comments
  • Peter Cohan on The Best Conference Demo
  • E Berry on Do You Know About These Female Trail Blazers?
Meta
  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org
Archives
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • September 2023
  • August 2023
  • July 2023
  • June 2023
  • March 2023
  • February 2023
  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • August 2020
  • July 2020
  • June 2020
  • May 2020
  • April 2020
  • March 2020
  • February 2020
  • January 2020
  • December 2019
  • November 2019
  • October 2019
  • September 2019
  • August 2019
  • July 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2018
  • November 2018
  • October 2018
  • September 2018
  • August 2018
  • July 2018
  • June 2018
  • May 2018
  • April 2018
  • March 2018
Proudly powered by WordPress | Theme: Doo by ThemeVS.