[Discussion of AI] Despite the ethical regulations upon AI, Chinese government prioritize the nation welfare in compared to western counterparts

Introduction Artificial Intelligence and its sub-category Machine Learning has gradually taken control of modern civilization. Regulations and mandatory rules are imposed across the globe. The concerns of personal information and privacy has led to the formation of General Data Protection Regulation (GDPR) in 2018 and identical regulations in United States. As AI algorithms evolves, the more complex and thorough refinement of laws are being imposed [1]. However, in contrast to GDPR and United States, China government emphasizes its nation welfare as priority....

November 27, 2022 · 6 min · Derry

Git - What Is Origin in Git Push Origin Main

What is origin in git push origin main? The origin is a convention. It’s an alias, short for what we see from the output of git remote -v. You can name it whatever you want. You can think of it as where this code is “originated” from. git remote -v # output origin git@github.com:derrykid/workongit.git (fetch) origin git@github.com:derrykid/workongit.git (push) Set the remote URL as origin and upstream Whenever we pull the code from remote repository, it flows downstream....

November 12, 2022 · 1 min · Derry

Git - How to Switch From Password Prompt to Ssh

GitHub has terminated the login from password in command line. You can switch to SSH. This tutorial will guide you how to do it. Git switch from password to SSH What I do is switch remote URLs from HTTPS to SSH. By doing this, the password prompt is no longer there and I can push directly. Usually we use git clone https://github.com/USERNAME/repo.git to get the clone the remote repo to local machine....

November 12, 2022 · 1 min · Derry

Linux Archive and Compress Command Tar Gzip

Archive vs compress As a former Windows user, I didn’t have much knowledge about file archiving and file compression. Like most PC users do, I simply collect the files we want to compress and right click the folder to compress then. The output compressed files are, without a doubt, mostly likely to be extension .zip or .rar files. However, when I switch to Linux, things changed. As on the road of knowing more commands, we inevitably go across files extensions ending like ....

November 4, 2022 · 4 min · Derry

Git Cheatsheet

I learn git from this interactive tutorial. I take note along the way while I was doing it. Learn git visual Commit to repo We was on C1 commit git commit Branch new branch git branch <name> change branch git checkout <name> create a new branch and check it out It can be shorthand: git checkout -b <name> merge Now we are working on main branch We are going to merge the branch bugFix into main...

June 27, 2022 · 5 min · Derry