Skip to main content

Posts

Showing posts from 2020

How to make pull request

PURPOSE Pull requests are a mechanism for a developer to notify team members that they have completed a feature. HOW IT WORKS //============================================== For developer Main step: 1. Make sure branch naming is corrected. Rename command: git branch -m newName 2. Make sure your source code based on lastest source code in "develop" branch git checkout develop git pull git checkout your-branch git rebase resolve conflict(if any) 3.Squash commit A nice way to group some changes together, especially before sharing them with others. https://www.internalpointers.com/post/squash-commits-into-one-git 4. Final step Re-check "Commit message" Re-check "Source changes" Add reviewer //============================================== For reviewer/project maintainer 1. Review code - Convention (naming, format) - Clean code(duplicate, pseudo code, debugger....based on SOLID, DRY, KISS) - Unit test code 2. This implementat

Car gadget 2020

Introduction This is a car gadget which is a present for my wife who got a driver’s license not long ago. In fact, the traffic in Vietnam is terrifyingly dangerous because vehicle owners usually break the rules. For example, reckless driving, road rage, making improper turns, following too close, jaywalking and accidents are common sense in Hanoi. Driving is truly a big challenge for a new driver. This device may improve one-way communication between the driver and another from the following vehicle. Main features This device has two separated modules:  The first module will be set up in front of the driver. It can recognize the driver's voice. Then it automatically translates driver voice to text commands and forwards these commands to the other module which is installed in the rear-end of the car. The second module receives the command from the first module and displays corresponding content on the led matrix screen. It also reads car speed from the GPS