Open in app

Sign In

Write

Sign In

Yat Man, Wong
Yat Man, Wong

26 Followers

Home

About

Apr 1

Apr1 PlaceHolder

1 min read

1 min read


Feb 2

Rule Engine doesn’t work on all rules

Sometimes may be better to handle the rules yourself — I want to share about the difficulties I ran into when using a rule engine. The specific tool I used is Drools. I still think rule engine has its place in the decision making process, but in practice it is only useful if the rules has no dependencies on each…

7 min read

Rule Engine doesn’t work on all rules
Rule Engine doesn’t work on all rules

7 min read


Dec 2, 2022

Single-Sign-On, Okta, OpenID Connect (OIDC), OAuth2, what are their connection?

A beginner guide to authentication and authorization — Like the http protocol were designed to transfer information between networked devices, SSO, OIDC, OAuth2 are all protocols designed to grant user access permission to resource between services. They are all related because they are extended concept of one another, but they solve different aspect of this user permission problem.

7 min read

Dec 1 Plac
Dec 1 Plac

7 min read


Oct 2, 2022

Spring & Splunk logging tips

The most critical piece of the debug process — Use Case The backend application I work on use Splunk for the logging service. Splunk provide an easy way to view our logs once our application is deployed on Azure. Splunk has a powerful search and filter feature. It is also the root of our bug discovery and onCall process. …

3 min read

Oct1
Oct1

3 min read


Aug 1, 2022

Return zipped csv from Spring service

What goes on in this api call? — One major feature I been working on is “Export Building”. It is an api that serves a zip csv file to the frontend when user click download. This article documents the problems I solved in this api: Response type Error handling Asynchronous processing Zip logic Java Stream OpenCSV Verify on…

Java

5 min read

Return zipped csv from Spring service
Return zipped csv from Spring service
Java

5 min read


Jun 2, 2022

Database Normalization Process

Why are tables designed this way? — Introduction to database concepts Candidate keys are a minimum sets of attributes that can uniquely identify a row in a table Primary key is one of the Candidate key chosen to uniquely identify a row in the table Super key is a Candidate key + other attributes All Candidate keys are Super keys. …

14 min read

Database Normalization Process
Database Normalization Process

14 min read


Apr 1, 2022

Microservices with Spring Boot and Spring Cloud

https://www.udemy.com/course/microservices-with-spring-boot-and-spring-cloud/learn/lecture/8005594#overview Web Service Definition: Software designed to support interoperable machine-to-machine interaction over a network service definition should define: * request responses format * request structure * response structure * endpoint transport define how a service is called * over HTTP or MQ (queue)

Java

14 min read

Microservices with Spring Boot and Spring Cloud
Microservices with Spring Boot and Spring Cloud
Java

14 min read


Feb 1, 2022

Android Unit Test Basic

You thought it is straightforward… until you try it — If you are interested in the theory: https://developer.android.com/training/testing/fundamentals This documentation is mostly a summarization from https://developer.android.com/codelabs/advanced-android-kotlin-training-testing-basics#0 https://developer.android.com/codelabs/advanced-android-kotlin-training-testing-test-doubles#0 https://developer.android.com/codelabs/advanced-android-kotlin-training-testing-survey#0

Programming

6 min read

Android Unit Test Basic
Android Unit Test Basic
Programming

6 min read


Dec 1, 2021

Common problems when writing Espresso Test

The messy stuff no one’s willing to talk about — I have to start off by saying testing is my least favorite part in Android development. If you have a use case that is a little more complex than what is shown in the documentation, you will likely run into some sort of issue. Problem: How to load test data when testing a specific page? Lets say we want to test…

5 min read

Common problems when writing Espresso Test
Common problems when writing Espresso Test

5 min read


Oct 1, 2021

Geohash Implementation Explained

Do you really need to import a library? — I assume you already understand what is geohash. This post focus on its algorithm and implementation. If you are evaluating the existing libraries versus coding it up yourself, this post is for you. For general information see: Geohashing What is geohashing exactly?medium.com Geohash Implementation Lets do an example, convert latitude and longitude (39.92324, 116.3906) into geohash.

Geohash

7 min read

Geohash Implementation Explained
Geohash Implementation Explained
Geohash

7 min read

Yat Man, Wong

Yat Man, Wong

26 Followers

Android developer, problem solver, real man in training

Following
  • @cowtowncoder

    @cowtowncoder

  • Angelo Faella

    Angelo Faella

  • Evan Bishop

    Evan Bishop

  • parv bhardwaj

    parv bhardwaj

  • Lyla Fujiwara

    Lyla Fujiwara

See all (7)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech