Damminhtien

Về prompt engineering

@Author: damminhtien :whale: @LastUpdate: 07/03/2023 Prompting engineering xuất hiện trong khoảng < 2 năm gần đây như là một kỹ năng mới trong tương lai mà mọi người đều cần học và giỏi nó. Với sự phát triển mạnh của khoa học hàn lâm và marketing về các ngôn hình ngôn ngữ lớn (Large Language Model - LLMs), kỹ thuật prompting lại càng trở n...

Read more

Build your own front-end library

@Author: damminhtien :whale: @CreatedAt: 10/07/2021 📆 A front-end UI library is a collection of reusable components and styles that are used to build user interfaces. By using a UI library, developers can save time and effort by reusing existing components instead of building everything from scratch. Building a front-end UI library based on R...

Read more

Question for code review

@Author: damminhtien :whale: @LastUpdate: 30/03/2021 Questions to ask yourself when conducting a code review Code review plays an vital role in software development pipeline. Although in the modern day this work is more easier and automate with the support of a lot of CI tools, reviewer have to know extractly what the purpose of pull requests...

Read more

Python concurrency

@Author: damminhtien :whale: @LastUpdate: 27/12/2020 Python concurrency Concurrent mechanism in Python (key features from Python Cookbook) As we know, concurrency is the ability of different parts or units of a program, algorithm, or problem to be executed out-of-order or in partial order, without affecting the final outcome. Concurrency...

Read more

Understanding Higher-Order Components in ReactJS

@Author: damminhtien :whale: @CreatedAt: 07/01/2020 @LastUpdate: 07/12/2020 1. Intro and definition In office website of ReactJS introduce a pattern called High Order Component (HOC for short). A higher-order component (HOC) is an advanced technique in React for reusing component logic. HOCs are not part of the React API, per se. They are a ...

Read more

Increasing the amount of inotify watchers

@Author: damminhtien :whale: @LastUpdate: 16/11/2019 Sometime you code on VSCode editor and get troubles with the limit of watchers in linux, the error seem like “Unable to wathc for file changes in this large workspace”. The content below will help you debug :) TDLR; How to If you are not interested in the technical details and only want t...

Read more

Ubuntu starter-pack for Computer Vision

@Author: damminhtien :whale: @LastUpdate: 16/11/2019 This tutorial for Ubuntu 18.x and computer with Nvidia GPU, install tensorflow-gpu and opencv. It require you must install specific version of Cuda, CuDnn to use GPU power. Find more on this link. Let’s start! :muscle: 1. Install anaconda # Download Anaconda from it's official website: http...

Read more