The 3DS of the payment

Recently, I have been working on the fraud check part of the payment flow. More precisely, I am trying to integrate the 3DS 2.0 into our payment system. It’s another dimension that I never touched. Introduction What is the 3DS The 3DS is a type of fraud check method. Generally, it will display a verification page when a user makes a payment with a credit card. The verification page will require a verification code from SMS or email. After the user input the correct code and press the process(or submit) button, the payment will continue processing. ...

October 17, 2021 · 9 min

Guide to article illustrations

Some of my articles will have illustrations, so here I will list the specifications. It will help me maintain the unity of the illustration style. Reference: 技术文章配图指南 Background The background width should be 1200 pixels, and there is no limit for height; it’s all dependent on the content. The background color is #EEEEEE, that’s because my blog used white background, so I should avoid using white as illustrations’ background. And I have tested, this color also looks fine in black background. ...

October 5, 2021 · 1 min

Config Huawei HS8145X6

Background I recently bought a Huawei HS8145X6 from AliExpress, it’s a good router for connecting to the internet with optical fiber, and I will introduce the detailed parameters in the next chapter. Which version I bought is Huawei HS8145X6 (GPON) & Shell Permission & Huawei Interface . I pay the extra money for the last two specific contents. Why did I pay for that? That’s because when I bought it, I thought: time is money, and I want to use it without specific configuration, so that can save my time and make me happy. ...

September 29, 2021 · 6 min

What is the GFS

Introduction The GFS is a file system based on the distributed systems and designed by Google for the map reduce module. It has the essential elements of the distributed systems, such as fault-tolerant, replica, etc. So that, it is different from standard filesystems. And in the design, GFS will not provide a POSIX interface, so you will only access it using a special SDK. And Google already deprecated the GFS and designed a new file system, but the GFS still is valuable for learning distributed systems. ...

September 5, 2021 · 10 min

Linux issue cheat sheet

Input method Ibus cannot work with IDEs of Jetbrains Description I cannot input CJK characters within the GoLand. More correctly, when I input more than 4 characters, the input method will disappear directly and have an underline show under the typed characters. Solution Open “Help | Edit Custom VM options…” in GoLand. Add -Drecreate.x11.input.method=true to the last line. restart GoLand.

May 17, 2021 · 1 min

Git commit format

Message format The message format follows the 50/72 rule: The characters of first line of the commit can not longer than 50, and the characters of other lines can not longer than 72. You can see the below format structure: <type>(<scope>): <subject> <body> <footer> Message subject Just like above-mentioned, the first line can not longer than 50 characters, and it consists of type, scope (optional) and subject message. Allowed type values Value Description feat Has new feature for end-user fix Has bug fix for end-user docs Change to the documentation, include the inside manual and outside manual. style Formatting, missing semicolons, etc., no production code change. refactor Refactoring production code, e.g., renaming a variable. test Adding missing tests, refactoring test, no production code change. chore Updating other tasks without production code change. e.g., add a new build script. What’s the scope The scope is used to describe: your change will impact which part of the system. ...

March 17, 2021 · 2 min