Crypto

Ushering in the future. Web 3.0 is now.
8 Jun 2022

Blockchain Basics

I explain what hashing, blocks and blockchains are in this article, with simple JavaScript simulations. Meant to be a quick 101 to understand some of the key concepts in blockchain technology.

ReactJS

I'm learning React. Come join me in my journey! I write down everything I've learnt, so you don't have to search too much about what you need to know.
12 Jul 2022

Event Handler Functions

So far, all we've really done is to code a static webpage in React, which isn't much of an app. We are now in a good position to look at how to insert "handler functions" - these are functions that respond to certain events occuring in the browser.

11 Jul 2022

Your Second React Component

What happened to composability? What happened to writing webpages and apps in convenient code components? Why is everything just App.js? Hold your horses boy. We're creating your second component today.

10 Jul 2022

Object ID Control: UUID

Worried about how to track your object IDs? Don't worry, in the world of coding, there's a library for everything. Today, we look at how to use the UUID package for effective object ID control in React.

9 Jul 2022

Iteration in JSX

In the previous post, we spoke about map, filter and reduce functions. So today we're going to be using these functions to iterate the construction of html elements in JSX, within the App.js component.

8 Jul 2022

map, filter & reduce Functions in React

Let's talk declarative vs imperative coding today. It's something that I've been trying to change about myself when coding in React, because I've found it to be highly efficient, and it'd be great to talk you guys through it. What better way to explain this than through the map, filter & reduce functions in JS?

7 Jul 2022

Using JS Objects in React Components

You've likely come across the term "state" when reading up on React. While it's too early to go into what state management is, it suffices for now to know that each React app has a JS object with various items within it, that define the current state of the React app. And that's why today, we'll be focussing on the use of JS objects within React components.

6 Jul 2022

Your First React Component: App.js

React components are simply snippets of JS code, but with some portion written in the unique React syntax we know as JSX. Let's begin understanding what React components are by looking at the simplest one we've seen thus far in our app directory: the app.js file.

5 Jul 2022

Understanding the Index Files

Remember my post about how modern JS essentially has you just downloading a bare bones html file and a JS script that renders your app in your browser? Today we're going to see how it works by tearing apart these two index files.

4 Jul 2022

Your Very First React App!

Today, we're going to be creating our very first React app. And boy, is it going to be a lame app. What did you expect, we're beginners, right? Zero to hero, here we go!

3 Jul 2022

NPM - Because It Comes With NodeJS

NodeJS actually comes packaged with a library manager called NPM, which stands for Node Package Manager. NPM is used to install external node libraries via the commandline or terminal - if your app uses these libraries, these libraries are the so-called "dependencies" of your app.

2 Jul 2022

NodeJS - A Can of Worms

I've found NodeJS to be very useful - in fact, it seems to be the industry standard when it comes to library management, server management and app deployment. It's something that I found out about only after learning React for a while, so I think it's worth writing a post on.

1 Jul 2022

An Introduction to React

A starter article to begin my journey in React. The what, why and hows of React, at high-level.

Healthcare

Healthcare fascinates me, and occupies my thoughts from time to time.
7 Jun 2022

How a Pandemic Works - And What Stops It?

We explore how to simulate the transmission mechanics of a pandemic on a grid. Written in JavaScript.

Data Viz

I document useful tools and visualisations here. Things I think might be useful for work.
28 Jun 2022

Reproducing Infographics from The Straits Times

A short post to document what I learnt about reproducing infographics produced by The Straits Times, a Singapore mainstream media reporting body.

Finalytics

Financial Analytics. Enough said.
5 Feb 2022

To Catch a Falling Knife

Today we look at how this phrase it to be understood in trading as a trade made during a retracement, and what a retracement is.

29 Jan 2022

Lighting Candles

I explain how to draw candlestick charts using Plotly. Unlike previous posts, the rangeslider for the x-axis is replaced by a far more useful volume chart feature, which allows you to gauge the strength of the trading candlesticks.

22 Jan 2022

Know Thy Candlesticks!

We explore the concept of a candlestick to display multiple data points of a trading asset. All diagrams drawn in HTML & CSS.

15 Jan 2022

Chart Dropdowns

In this post, we're going to work off our previous post on basic line charts, and explore a nifty way to toggle the price trends of several stocks through a simple dropdown menu. This will prove very useful when presenting a set of charts for different stocks.

8 Jan 2022

Designing a Basic Visual Plot

If you want to understand the market, chances are you'll need a customised visualisation with some tools. We explore that today.

1 Jan 2022

Setting Up Your Technical Analysis Toolbox

Before you run off on your horses to learn about technical analysis, you need access to data. Real market data. I talk basic API calls in this post.

Apps

Currently learning ReactJS, so this is a personal space to tinker with apps in my free time.
1 Jul 2022

To Do List

My first attempt at creating a useful application in React. A simple to-do list that's a spin-off of Todoist.

24 Jun 2022

Personal Workspace

A relaxing workspace to key in your "to-do"s, listen to music and watch time float by. Dynamic background and greeting changes according to the time of day.

Notice a broken link? Something can be improved?

I welcome feedback. It's how I learn.