Posts

Guide to GPU Programming

Nowadays, many AI models or machine learning models rely on GPUs for training. This is because GPUs have more cores compared to CPUs, allowing them to distribute tasks across multiple cores for parallel processing. Thus, GPUs play an increasingly important role in the AI era (should have invested in Nvidia earlier 😭). p.s. CPUs can perform a wider variety of tasks than GPUs, so they are still necessary and valuable.

Posted on  Jun 22, 2023  by  Amo Chen  ‐ 1 min read

ChatGPT Prompt Engineering for Developers Starts Now!

ChatGPT Prompt Engineering for Developers is a ’limited-time free’ course launched by AI industry leader Andrew Ng and OpenAI. It teaches developers how to integrate OpenAI’s LLM into your applications, such as for tasks like text summarization, sentiment analysis, translation, and grammar correction. However, the focus of the course isn’t on coding but on how to craft effective prompts. After all, having well-written prompts is key to ensuring the desired functionalities work accurately and effectively.

Posted on  Apr 28, 2023  by  Amo Chen  ‐ 1 min read

8 Simple Examples to Help You Write More Concise TypeScript

The following article provides 8 examples of TypeScript code snippets before and after modification, showing us how to write more concise TypeScript. However, since TypeScript is actually a superset of JavaScript, some of these concepts are also applicable to JavaScript: Clean Code in TypeScript

Posted on  Apr 23, 2023  by  Amo Chen  ‐ 1 min read

What? You Haven't Used K8s Yet?

With the rise of containerization, more and more companies are adopting Kubernetes (or K8s) to run various containerized services within K8s clusters. Not only does this provide a standard approach for deployments (since everyone writes YAML configuration files to describe how services are deployed), it also offers more flexibility in system resource scheduling and scaling (using K8s commands makes it easy to adjust the number or resources of service containers). So usually, after learning Docker and docker-compose, the next step is to learn how to use K8s.

Posted on  Mar 30, 2023  by  Amo Chen  ‐ 1 min read