Portfolio Update September 2020 – COVID recovery

Girl status wall street by Jouwen Wang

Here is my current asset allocation in September 2020. Some of the current allocation % are way off the new target %. REIT is a bit too risky for me at the moment. I am not a fan of its recent performance and how much risks REIT assets carry. I will actively reduce my exposure… Continue reading Portfolio Update September 2020 – COVID recovery

Weekend Coding Kata Challenge – Yatzy Refactor in Typescript

I had done the Yatzy refactoring kata (https://github.com/emilybache/Yatzy-Refactoring-Kata) a few times before. I think once it was in Kotlin, and once in Java. However, due to time constraint, I never managed to finish the kata. I think I was pair-programming with one of my work colleagues, and we only had around 90 minutes to do… Continue reading Weekend Coding Kata Challenge – Yatzy Refactor in Typescript

Weekend Coding Kata Challenge – Fizzbuzz TDD Using Haskell

I wanted to check out different stacks recently. The goal is to pick an interesting new language and go deep on some aspects of it – understanding how to implement a simple web server with or without the language-specific framework. The main thing is to implement everything in TDD. I had a brief look at… Continue reading Weekend Coding Kata Challenge – Fizzbuzz TDD Using Haskell

50 Books I read in 2019 – Keywords: Freedom, Innovation, Capitalism and Humanity

I managed to finish reading 50 books in 2019. I didn’t have any particular reading goal set at the beginning of the year. I let what I read to discover the next books for me and so on. In 2019, I discovered the following broad themes with the book I read. Rome Learning a bit… Continue reading 50 Books I read in 2019 – Keywords: Freedom, Innovation, Capitalism and Humanity

Simulating Bicycle Light Using CSS and Vanilla JS

My bicycle’s rear light inspired me to create a pen. In this pen, I’m exploring the LED/neon light effect that CSS can create using simple animation and box-shadow properties. The most challenging bit is to decide what colour the LED circles should be when it’s off. Or how to decorate the box shadows to delineate… Continue reading Simulating Bicycle Light Using CSS and Vanilla JS

Implementing Caesars Cipher in Javascript using ES6 Syntaxes

What is Caesars Cipher? The particular constraint for this exercise is ROT13 algorithm (rotate by 13 alphabets), and only use upper case letters. Here is my quick implementation: The numbers inside the if statements of the code above are ASCII codes that correspond to the uppercase letters of the alphabets.

How to choose the right level of life insurance cover in Australia?

Are you single? Yes or No Do you have kids under 18 years old? Yes or No – Two questions before you start When we talk about life insurance in Australia. We talk about three different types of coverage: life insurance, income protection and total and permanent disability (TPD) cover. If you already have life… Continue reading How to choose the right level of life insurance cover in Australia?

Micro Coding Exercise Using CSS Grid, Web API and Vanilla Javascript

This afternoon I came up with a useful coding challenge after spending some time reading about Web APIs – make a battery status using CSS grid, Web APIs and vanilla javascript. I created this small pen. The idea is to use a grid with fours rows, each row represents a quarter of battery life. Using… Continue reading Micro Coding Exercise Using CSS Grid, Web API and Vanilla Javascript

Check If a Phrase is Palindromic in Javascript

I completed this exercise from Free Code Camp today. In essence, it’s palindrome checker that will return TRUE if a word or a phrase is a palindrome (minus all numbers and special characters), or FALSE if it’s not a palindrome. I applied all the recent Javascript lessons I have revisited recently to check if a… Continue reading Check If a Phrase is Palindromic in Javascript