These days I am investigating the map used in Hongkong and China mainland since it uses the different standard according to Chinese law. There are some several interesting points can be discussed here: Chinese Coordinate System GCJ-02 vs GPS WGS-84 Today most of the world uses the World Geodetic System WGS-84, where 84 …
Read MoreThese days when I handle the image in the frontend, there are some concepts make me confusing. How can we handle the image when saving, uploading and transfering the files? So I want to write some notes about the learning processing here. What is Blob, Buffer, ArrayBuffer and Base64 format? How to convert them among …
Read MoreThese days I am interested at the Frontend video technologies, so did some investigation and want to write learning notes here. This article would only focus on the frontend technologies, maybe I will write something about the backend in the future maybe, but let's focus frontend here. So to play a frontend html5 …
Read MoreThese days I need to implement a component to draw a line on the given image and this line should be scalable, draggable and limited within the image. So here are the steps to implement it. Konva Definitely we need canvas to complete it, but instead of using canvas directly, it's better to use some mature library, like …
Read MoreThe first time I touched the React-hook-form was in 2020 and it also was the first time I learned React's new concept Hooks. During that time we compared all the popular form libraries, Formik, react-form, final form and etc, but we finally chose the React-hook-form even though it was still under the development during …
Read MoreAround 2018, one of my colleague was working on creating a list component which only renders a limited amount of items in the list instead of the whole one to improve the performance if the list is in large or huge scale. I was always interested at how he did that, but I did not do any investment, just an idea. Then …
Read MoreUpdate 2022-11-15: add the images to explain the steps As we presented in the previous article, we have showed how to implement the FolderFlip with limited number (like 3) items with the position: sticky and IntersectionObserver. The Problem But it only allows limited number, if it comes more items or the screen is …
Read MoreHaven't updated the blogs for a long time. Just had been struggling on the house work during the whole summer time, painting external and internal wall, new bathroom and etc. But there is still the good news, implemented an interesting frontend component with React, which would inspired by lifeatspotify - borrow the …
Read More