May 21, 2025

Chrome Extension: Teduh Unit Counter

I recently built a Chrome extension called Teduh Unit Counter to assist Malaysian property buyers in tracking unit availability on the teduh.kpkt.gov.my platform.



Why build it?

As a developer, I often prefer using vanilla JavaScript for small projects to keep things lightweight and maintainable. This extension was born out of my own experience searching for properties in Malaysia. I wanted a tool that could provide real-time insights into property unit statuses without relying solely on information from property agents.

Purpose?

Teduh Unit Counter enhances your browsing experience on the Teduh platform by:

  • Counting Units: Automatically tallying the total number of units, as well as distinguishing between sold and available units on a project’s page.
  • Tracking History: Saving the links of visited project pages locally, allowing you to revisit them easily.
  • Generating Direct Links: Creating direct URLs to specific projects using their APDL codes.


All data is stored locally in your browser, ensuring privacy and security. However, please note that uninstalling your browser or clearing its data will remove this stored information.

Jan 2, 2025

The Magic Behind GPT: How Does It Work?

Have you ever wondered how ChatGPT, or any large language model (LLM), understands your input and crafts a coherent response? 




From the moment you type your query to the instant you receive a detailed reply, there's a complex journey happening behind the scenes. 

While I’ve included a flowchart link to break down this cycle visually, let’s briefly explore the main steps that drive this incredible technology. 

Understanding the cycle can demystify how these LLM operates and highlight just how powerful they truly are. 

Overview of sequence of LLM

User Input > Tokenization > Context Management > Self-Attention > Contextual Analysis > Token Prediction > Response Generation > Return Output to User

 


LLM workflow overview