Posts

Showing posts from 2023

Partnering up with ChatGPT

Image
A little late to the party, I've finally started to consider ChatGPT in my daily life. Here's an interaction that I hadn't previously thought of, but that I found useful: In computer science, what's the word indicating that something is happening only once? The word that indicates that something is happening only once in computer science is "singleton." A singleton is a design pattern in object-oriented programming that restricts the instantiation of a class to a single instance and ensures that there is only one instance of the class throughout the application. The singleton pattern is commonly used in situations where a single object is required to coordinate actions across the system. That's not what I'm looking for. This word is used in messaging to handle duplicate requests I believe the word you are looking for is "idempotent". In computer science, an operation or function is considered idempotent if it can be applied multiple times wit