Introducing Scribe Menu
Why and how the idea of Scribe Menu came to my mind? One of my new year resolutions was to write a blog post every month on coding and productivity tips. Each blog post should be short enough for learners to go through all the topics quickly but also long enough to contain essential information. English not being my native language, I needed a tool to proofread my works. I used ChatGPT for the purpose....
Go Design Pattern: Adapter
What is Adapter? The Adapter pattern is probably the most used design pattern in software engineering. It allows objects/classes of different abstracts/signatures/blueprints to collaborate. I will guide you through a practical scenario that will make it easier to understand the Adapter pattern. Let鈥檚 start with a scenario: Hack the API Suppose you are creating an OpenAI API client. It connects to the OpenAI client with a secret key. But you want to hack the client to communicate with the Hugging Face API instead....
Go Design Pattern: Singleton
What is Singleton? The Singleton pattern is a design pattern that ensures a class has only one instance and provides a global access point to that instance. I will keep the post as simple as possible as our brain can process a little at a time (don鈥檛 know about yours, mine can鈥檛). Let鈥檚 start with a scenario: Database connection You want to connect to the database of a service to fetch some information....
Tech Trends in 2024
Congratulations! You鈥檝e made it to 2024. If you鈥檝e navigated it successfully, take a bow. If not, it鈥檚 time to prepare yourself for the challenges of 2024. Here are some of my personal suggestions on which technologies you should take note of this year. Generative AI The dominant tech trend will be using Generative Artificial Intelligence (AI) in 2024. A study by PwC estimates AI could add up to $15.7 trillion to the global economy by 2030....