Open in app

Sign In

Write

Sign In

Aijin Yuan (Vince)
Aijin Yuan (Vince)

244 Followers

Home

About

Mar 12, 2021

Excited about Flutter 2 and Farewell to React Native

I began to use React Native at the end of 2016. In early 2019, I switched to Flutter in the production app and never looked back. In terms of the technology and the ecosystem, Flutter is much better than React Native. (I may write a post about why we should switch to Flutter from React Native.) Recently, Flutter 2 is officially released! There are a lot of new features. The most exciting feature to me is the web support. Yes, you can use Flutter to write web apps! (If you can’t open flutter.dev, you may have set .dev domain on your machine long time ago. Here is the fix.)

Flutter

1 min read

Flutter

1 min read


Aug 28, 2017

Reading and Parsing NFC tag on iOS 11

Apple finally opens iPhone’s NFC chip. With iOS 11, apps on iPhone 7 and iPhone 7 plus can read NFC tag using Core NFC. (Writing is not…

IOS

5 min read

Reading and Parsing NFC tag on iOS 11
Reading and Parsing NFC tag on iOS 11
IOS

5 min read


Published in

codeburst

·May 13, 2017

React Native Debugging Tools

This article introduces how to debug code (logic) and GUI of React Native apps. Originally it was the talk I made at a React.js/React Native meetup in April 2017. (This article was updated on Mar 17, 2018.) “A great software developer must be a great debugger.” The beginners all have…

React Native

7 min read

React Native Debugging Tools
React Native Debugging Tools
React Native

7 min read


Jan 22, 2017

Implementing Progress Tracker in React Native

This post shows how I implement a progress tracker (progress bar, progress indicator) in React Native and the lessons I learnt. First version At the beginning, the design is like this. There are two buttons. There is an arrow between them.

React Native

4 min read

Implementing Progress Tracker in React Native
Implementing Progress Tracker in React Native
React Native

4 min read


Nov 20, 2015

Profiling memory usage of a Go app

Profiling memory usage of a Go app net/http/pprof is a powerful package for profiling. This video introduces how to use it to do memory profiling. Let me write down the steps. Import the package in your go web project (it doesn’t have to be a web app). Just add this…

Golang

2 min read

Golang

2 min read


Sep 8, 2015

Solving the SSL root certificates issue

I created a docker container for a golang app, based on debian 7 image. Everything works well until it visits https. The error is x509: failed to load system roots and no roots provided. I thought there might be something that should be configured for golang. But actually, it is nothing about golang. It’s about SSL certificates. For debian, /etc/ssl/certs/ca-certificates.crt is the root certificates. But the offical debian 7 image does not contain it. Installing ca-certificates via apt-get solved the problem. (You can manually copy /etc/ssl/certs/ca-certificates.crt from another linux OS too.)

Docker

1 min read

Docker

1 min read


Jun 8, 2015

Managing Docker images with tags

When you build Docker images many times, you will find it is very necessary to manage images with tags. If you build an image without a tag, the default tag ‘latest’ is created automatically. docker build -t company/myimage . The complete name is company/myimage:latest When you need to update a new version of company/myimage, you don't need to create an image company/myimage_v2. You should create an image with the same name and a new tag.

Docker

1 min read

Docker

1 min read


May 30, 2015

Docker Tricks and Tips

Recently I deployed my node.js app, Redis, Postgres, Nginx with Docker and wrote a tutorial. I want to share you with some tricks and tips about Docker. Choose Debian as the base image. Debian image is much smaller than other OS images. It is recommended in Docker’s official best practices. A problem is the packages in…

Docker

2 min read

Docker

2 min read


May 29, 2015

Restoring/Backing up Postgres Database in a Docker Container

In the previous tutorial, I show you how to deploy a web app, Redis, Postgres, Nginx with Docker. This post shows you how to restore and backup Postgres database which is running in a Docker container. You can get all source code at https://github.com/vinceyuan/DockerizingWebAppTutorial. I use pg_dump to dump a…

Docker

3 min read

Docker

3 min read


May 29, 2015

Deploying a Web App, Redis, Postgres and Nginx with Docker

This tutorial introduces how to deploy a web app, Redis, Postgres and Nginx with Docker on the same server. In this tutorial, the web app is a node.js(express) app. We use Redis as a cache store, Postgres as the database, and Nginx as the reverse proxy server. …

Docker

8 min read

Docker

8 min read

Aijin Yuan (Vince)

Aijin Yuan (Vince)

244 Followers

iOS/Android/Web developer. UX engineering lead at Grab. Singapore/Hong Kong/Shanghai

Following
  • Thomas Ricouard

    Thomas Ricouard

  • Jason Goldman

    Jason Goldman

  • heapwolf

    heapwolf

  • Cat Chen

    Cat Chen

  • Daniel Merrill

    Daniel Merrill

See all (154)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams