{"title":"Koh Hom \u2014 Engineer's Field Notes","subtitle":"Field notes from Koh Hom (Xu Feng), a frontend engineer: case studies on browser-grade tab systems, web performance, testing, and AI agents that ship.","id":"https:\/\/clean99.github.io\/atom.xml","updated":"2026-11-23T01:30:00.000Z","link":[{"@attributes":{"rel":"self","type":"application\/atom+xml","href":"https:\/\/clean99.github.io\/atom.xml"}},{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/"}}],"author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"rights":"\u00a9 Koh Hom","generator":"Astro","entry":[{"title":"Why I Chose Zustand for Agent-Written Frontend Code","id":"https:\/\/clean99.github.io\/2026\/11\/23\/Why-I-Chose-Zustand-for-Agent-Written-Frontend-Code\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/11\/23\/Why-I-Chose-Zustand-for-Agent-Written-Frontend-Code\/"}},"published":"2026-11-23T01:30:00.000Z","updated":"2026-11-23T01:30:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"My team is moving a large ecommerce web app into another repository, with coding agents writing most of the code. Before we started I compared useEffect chains, Redux Toolkit, MobX, Jotai and Zustand, and picked Zustand.","category":[{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"react","label":"React"}},{"@attributes":{"term":"ai","label":"AI"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}}]},{"title":"Understanding ecommerce growth data from an engineering perspective","id":"https:\/\/clean99.github.io\/2026\/07\/02\/Ecommerce-Growth-Data-Engineering\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/07\/02\/Ecommerce-Growth-Data-Engineering\/"}},"published":"2026-07-02T09:30:00.000Z","updated":"2026-07-02T09:30:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"I recently moved to a new team working on ecommerce growth at TikTok Shop. I had not worked as a growth engineer before, so I used the team's existing projects and GPT to learn the area. The biggest thing I learned is\u2026","category":[{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"data","label":"Data"}},{"@attributes":{"term":"growth","label":"Growth"}}]},{"title":"Designing an Operations Heartbeat System","id":"https:\/\/clean99.github.io\/2026\/06\/19\/Designing-an-Operations-Heartbeat-System\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/06\/19\/Designing-an-Operations-Heartbeat-System\/"}},"published":"2026-06-19T04:00:00.000Z","updated":"2026-06-19T04:00:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"A system design write-up on turning UI activity events into reliable agent state across compute windows, HCM state commits, downstream propagation, multi-region cutover, and service split boundaries.","category":[{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"reliability","label":"Reliability"}},{"@attributes":{"term":"fault-tolerance","label":"Fault Tolerance"}}]},{"title":"JavaScript garbage collection: generations, hosts, and leaks","id":"https:\/\/clean99.github.io\/2026\/06\/08\/JavaScript-Garbage-Collection-Generations-Hosts-Leaks\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/06\/08\/JavaScript-Garbage-Collection-Generations-Hosts-Leaks\/"}},"published":"2026-06-08T07:48:00.000Z","updated":"2026-06-08T07:48:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"While reviewing JavaScript runtime internals, I kept seeing GC reduced to one sentence: when objects are no longer used, the engine frees them.","category":[{"@attributes":{"term":"javascript","label":"JavaScript"}},{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}}]},{"title":"How JavaScript runs: from source code to JIT optimization","id":"https:\/\/clean99.github.io\/2026\/06\/05\/Modern-JavaScript-Is-Not-Just-Interpreted\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/06\/05\/Modern-JavaScript-Is-Not-Just-Interpreted\/"}},"published":"2026-06-05T02:18:06.000Z","updated":"2026-06-05T02:18:06.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"While relearning JavaScript, I got stuck on a basic-sounding question: when we say JavaScript \"runs,\" how much of it has already been compiled?","category":[{"@attributes":{"term":"javascript","label":"JavaScript"}},{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}}]},{"title":"Workspace v2 tab system performance: first load, hot switch, and background pressure","id":"https:\/\/clean99.github.io\/2026\/05\/18\/Workspace-v2-Tab-System-Performance-First-Load-Hot-Switch-Background-Pressure\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/05\/18\/Workspace-v2-Tab-System-Performance-First-Load-Hot-Switch-Background-Pressure\/"}},"published":"2026-05-18T08:31:00.000Z","updated":"2026-05-18T08:31:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"A performance write-up about separating first load, hot tab switch, background pressure, and the gates that kept false wins out.","category":[{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"web-performance","label":"Web Performance"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"react","label":"React"}}]},{"title":"Workspace v2 tab system: browser tabs inside a workspace","id":"https:\/\/clean99.github.io\/2026\/05\/18\/Workspace-v2-Tab-System-Browser-Grade-Tabs\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/05\/18\/Workspace-v2-Tab-System-Browser-Grade-Tabs\/"}},"published":"2026-05-18T08:30:00.000Z","updated":"2026-05-18T08:30:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"How we made workspace tabs keep state, survive refresh, share real URLs, and stop hidden runtimes from leaking side effects.","category":[{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"react","label":"React"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}}]},{"title":"Automated AI performance optimization with a harness and goal-driven loop","id":"https:\/\/clean99.github.io\/2026\/05\/16\/Automated-AI-Performance-Optimization-with-Harness-and-Goal-Driven-Loops\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/05\/16\/Automated-AI-Performance-Optimization-with-Harness-and-Goal-Driven-Loops\/"}},"published":"2026-05-16T04:30:31.000Z","updated":"2026-05-16T04:30:31.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"What changed when I made an AI agent optimize performance against a harness instead of against its own guesses.","category":[{"@attributes":{"term":"ai","label":"AI"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"web-performance","label":"Web Performance"}},{"@attributes":{"term":"frontend","label":"Frontend"}}]},{"title":"Agent Skills: The Functional Blueprint for AI Agents","id":"https:\/\/clean99.github.io\/2026\/03\/23\/Agent-Skills-The-Functional-Blueprint-for-AI-Agents\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/03\/23\/Agent-Skills-The-Functional-Blueprint-for-AI-Agents\/"}},"published":"2026-03-23T08:00:00.000Z","updated":"2026-03-23T08:00:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"A practical model for treating agent skills as reusable functions with clear triggers, inputs, outputs, and composition rules.","category":[{"@attributes":{"term":"ai","label":"AI"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"claude-code","label":"Claude Code"}},{"@attributes":{"term":"agent","label":"Agent"}},{"@attributes":{"term":"skills","label":"Skills"}}]},{"title":"Vibe Coding vs Spec-Driven Coding: The Evolution of AI-Assisted Development","id":"https:\/\/clean99.github.io\/2026\/03\/18\/Vibe-Coding-VS-Spec-Driven-Coding\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/03\/18\/Vibe-Coding-VS-Spec-Driven-Coding\/"}},"published":"2026-03-18T07:00:00.000Z","updated":"2026-03-18T07:00:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"A comparison of vibe coding and spec-driven coding as two different operating modes for AI-assisted software development.","category":[{"@attributes":{"term":"ai","label":"AI"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"claude-code","label":"Claude Code"}},{"@attributes":{"term":"openspec","label":"OpenSpec"}},{"@attributes":{"term":"code-generation","label":"Code Generation"}}]},{"title":"SEO from First Principles \u2014 A Deep Dive through My Blog's Overhaul","id":"https:\/\/clean99.github.io\/2026\/03\/10\/A-Complete-SEO-Overhaul-for-My-Hexo-Blog\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2026\/03\/10\/A-Complete-SEO-Overhaul-for-My-Hexo-Blog\/"}},"published":"2026-03-10T06:00:00.000Z","updated":"2026-03-10T06:00:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"Most SEO guides give you a checklist: add this meta tag, install that plugin, set this config. But checklists don't help you understand why \u2014 and without understanding why, you'll never know what you're missing.","category":[{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"web-performance","label":"Web Performance"}},{"@attributes":{"term":"seo","label":"SEO"}},{"@attributes":{"term":"ai","label":"AI"}}]},{"title":"Building Fault Tolerant React App With Error Boundary(Error Boundary Best Practice)","id":"https:\/\/clean99.github.io\/2024\/05\/06\/Building-Fault-Tolerant-React-App-With-Error-Boundary\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2024\/05\/06\/Building-Fault-Tolerant-React-App-With-Error-Boundary\/"}},"published":"2024-05-06T08:45:11.000Z","updated":"2024-05-06T08:45:11.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"How to use React Error Boundaries as a practical reliability boundary instead of a decorative catch-all.","category":[{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"react","label":"React"}},{"@attributes":{"term":"error-handling","label":"Error Handling"}},{"@attributes":{"term":"error-boundary","label":"Error Boundary"}},{"@attributes":{"term":"fault-tolerance","label":"Fault Tolerance"}},{"@attributes":{"term":"robustness","label":"Robustness"}},{"@attributes":{"term":"reliability","label":"Reliability"}}]},{"title":"React Runtime Performance Optimization","id":"https:\/\/clean99.github.io\/2024\/04\/16\/React-Performance-Optimization\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2024\/04\/16\/React-Performance-Optimization\/"}},"published":"2024-04-16T00:32:53.000Z","updated":"2024-04-16T00:32:53.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"A practical tour of React runtime performance bottlenecks, rendering cost, memoization, and browser-side calculation limits.","category":[{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"react","label":"React"}}]},{"title":"React Server Component Internals(Source Code Review)","id":"https:\/\/clean99.github.io\/2024\/04\/10\/React-Server-Component-Internals\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2024\/04\/10\/React-Server-Component-Internals\/"}},"published":"2024-04-10T10:51:00.000Z","updated":"2024-04-10T10:51:00.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"A source-level walkthrough of React Server Components and the engineering model behind server-driven component rendering.","category":[{"@attributes":{"term":"react","label":"React"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"frontend","label":"Frontend"}}]},{"title":"Learning How React Hooks Work by Building a Naive useState","id":"https:\/\/clean99.github.io\/2024\/04\/10\/Learning-How-React-Hooks-Work-by-Building-a-Naive-useState\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2024\/04\/10\/Learning-How-React-Hooks-Work-by-Building-a-Naive-useState\/"}},"published":"2024-04-10T10:49:41.000Z","updated":"2024-04-10T10:49:41.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"(This is a classic question of Chinese style interview, we call it '\u516b\u80a1\u6587', which basically means that the questions is too classic and everyone can answer it by remembering it)","category":[{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"react","label":"React"}}]},{"title":"How to Design GOOD Test Cases","id":"https:\/\/clean99.github.io\/2024\/04\/10\/How-to-Design-GOOD-Test-Cases\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2024\/04\/10\/How-to-Design-GOOD-Test-Cases\/"}},"published":"2024-04-10T10:47:43.000Z","updated":"2024-04-10T10:47:43.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"A testing note on designing cases around real risk, behavior coverage, and maintainable feedback loops.","category":[{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"testing","label":"Testing"}}]},{"title":"The Software Engineering Concept behind Tailwind CSS(Compared with StyleX)","id":"https:\/\/clean99.github.io\/2024\/04\/10\/The-Software-Engineering-Concept-behind-Tailwind-CSS\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2024\/04\/10\/The-Software-Engineering-Concept-behind-Tailwind-CSS\/"}},"published":"2024-04-10T10:45:47.000Z","updated":"2024-04-10T10:45:47.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"This article will show you how TailwindCSS can really increase our productivity and project maintainability by better organizing our code in certain scenarios.","category":[{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"frontend","label":"Frontend"}}]},{"title":"Web Performance Optimization Strategies and Practices","id":"https:\/\/clean99.github.io\/2024\/04\/10\/Web-Performance-Optimization\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2024\/04\/10\/Web-Performance-Optimization\/"}},"published":"2024-04-10T10:41:30.000Z","updated":"2024-04-10T10:41:30.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"Web performance optimization is crucial and it has a lot of ways to implement, this is a note of how I optimize my company's project, and come up with several generic strategies that can be applied in different\u2026","category":[{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"web-performance","label":"Web Performance"}},{"@attributes":{"term":"frontend","label":"Frontend"}}]},{"title":"Build a Redux from Scratch(Redux Source Code Review)","id":"https:\/\/clean99.github.io\/2023\/11\/28\/build-a-redux-from-scratch\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2023\/11\/28\/build-a-redux-from-scratch\/"}},"published":"2023-11-28T05:03:50.000Z","updated":"2023-11-28T05:03:50.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"A state is nothing more than a getter\/setter.","category":[{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"react","label":"React"}}]},{"title":"Crafting GPT-based Customer Support Chatbot from 0 to 1 \u2014 Algorithm Portion","id":"https:\/\/clean99.github.io\/2023\/06\/10\/Crafting-GPT-based-Customer-Support-Chatbot-Algorithm\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2023\/06\/10\/Crafting-GPT-based-Customer-Support-Chatbot-Algorithm\/"}},"published":"2023-06-10T09:45:29.000Z","updated":"2023-06-10T09:45:29.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"content":"(...args) => {\n\t\tif (!validateArgs(args)) throw new AstroError({\n\t\t\t...InvalidComponentArgs,\n\t\t\tmessage: InvalidComponentArgs.message(name)\n\t\t});\n\t\treturn cb(...args);\n\t}","summary":"This article introduces how to craft a smart GPT-based customer support chatbot that can answer users' questions and interact with them by applying different kinds of techniques from OpenAI.","category":[{"@attributes":{"term":"ai","label":"AI"}},{"@attributes":{"term":"chatgpt","label":"ChatGPT"}}]},{"title":"Applying Automatic Testing in The Development Cycle","id":"https:\/\/clean99.github.io\/2023\/04\/01\/Applying-Automatic-Testing-in-The-Development-Cycle\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2023\/04\/01\/Applying-Automatic-Testing-in-The-Development-Cycle\/"}},"published":"2023-04-01T08:23:04.000Z","updated":"2023-04-01T08:23:04.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"Testing is a critical aspect of any software development process. Ensuring that an application functions as expected and is free of defects is essential for delivering a high-quality product to end-users. In this\u2026","category":[{"@attributes":{"term":"testing","label":"Testing"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}},{"@attributes":{"term":"sdlc","label":"SDLC"}},{"@attributes":{"term":"agile","label":"Agile"}}]},{"title":"Introducing Code Complexity Metric: Cognitive Complexity","id":"https:\/\/clean99.github.io\/2023\/03\/04\/Introducing-Code-Complexity-Metric-Cognitive-Complexity\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2023\/03\/04\/Introducing-Code-Complexity-Metric-Cognitive-Complexity\/"}},"published":"2023-03-04T06:57:22.000Z","updated":"2023-03-04T06:57:22.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"When we say that someone's code quality is bad, in most of the time, what we really mean is that the code is hard to understand. Many developers prefer to start a new project from scratch rather than add features to a\u2026","category":{"@attributes":{"term":"software-engineering","label":"Software Engineering"}}},{"title":"Use Modular Design with ChatGPT to Generate Code","id":"https:\/\/clean99.github.io\/2023\/02\/22\/Use-Modular-Design-with-ChatGPT-to-Generate-Code\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2023\/02\/22\/Use-Modular-Design-with-ChatGPT-to-Generate-Code\/"}},"published":"2023-02-22T06:37:47.000Z","updated":"2023-02-22T06:37:47.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"You can find all the code of this article in this codesandbox.","category":[{"@attributes":{"term":"chatgpt","label":"ChatGPT"}},{"@attributes":{"term":"ai","label":"AI"}},{"@attributes":{"term":"code-generation","label":"Code Generation"}},{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}}]},{"title":"How I Use ChatGPT in My Daily Work&Study?","id":"https:\/\/clean99.github.io\/2023\/02\/22\/How-I-Use-ChatGPT-in-My-Daily-Work-Study\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2023\/02\/22\/How-I-Use-ChatGPT-in-My-Daily-Work-Study\/"}},"published":"2023-02-22T05:47:51.000Z","updated":"2023-02-22T05:47:51.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"ChatGPT has garnered significant attention since its release and has become a popular tool for many professionals. While it's been widely discussed, it's important to explore how ChatGPT can benefit us in our day-to-day\u2026","category":[{"@attributes":{"term":"chatgpt","label":"ChatGPT"}},{"@attributes":{"term":"ai","label":"AI"}},{"@attributes":{"term":"code-generation","label":"Code Generation"}},{"@attributes":{"term":"frontend","label":"Frontend"}},{"@attributes":{"term":"testing","label":"Testing"}},{"@attributes":{"term":"software-engineering","label":"Software Engineering"}}]},{"title":"Does Github Copilot Worth It?","id":"https:\/\/clean99.github.io\/2022\/12\/18\/Does-Github-Copilot-Worth-It\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2022\/12\/18\/Does-Github-Copilot-Worth-It\/"}},"published":"2022-12-18T10:42:26.000Z","updated":"2022-12-18T10:42:26.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"I personally use copilot to speed up my coding for a long time. I've discovered some use cases where git copilot can help me a lot. For me, copilot speeds up my coding progress by at least 30%. So it's definitely a good\u2026","category":[{"@attributes":{"term":"development","label":"Development"}},{"@attributes":{"term":"copilot","label":"Copilot"}},{"@attributes":{"term":"tdd","label":"TDD"}}]},{"title":"How Testing Speeds Up Your Development","id":"https:\/\/clean99.github.io\/2022\/08\/18\/How-Testing-Speeds-Up-Your-Development\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2022\/08\/18\/How-Testing-Speeds-Up-Your-Development\/"}},"published":"2022-08-18T09:19:01.000Z","updated":"2022-08-18T09:19:01.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"As frontend developers, most of us don't like to write testing because \"it will slow down development\". I didn't write tests before and I can feel your pain about writing tests for a \"fast-changing\" frontend project\u2026","category":{"@attributes":{"term":"testing","label":"Testing"}}},{"title":"Some Common Mistakes in React Testing","id":"https:\/\/clean99.github.io\/2022\/07\/24\/Some-Common-Mistakes-in-React-Testing\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2022\/07\/24\/Some-Common-Mistakes-in-React-Testing\/"}},"published":"2022-07-24T09:49:27.000Z","updated":"2022-07-24T09:49:27.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"Most of the frontend developers (at least those who I met) dislike writing tests. I asked them why, and the answer is simple: We don't have time to do that! Well, I would like to tell you that, writing tests in the\u2026","category":{"@attributes":{"term":"testing","label":"Testing"}}},{"title":"Testing Best Practice Tdd","id":"https:\/\/clean99.github.io\/2022\/07\/24\/Testing-Best-Practice-Tdd\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2022\/07\/24\/Testing-Best-Practice-Tdd\/"}},"published":"2022-07-24T09:42:10.000Z","updated":"2022-07-24T09:42:10.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"In general, when modeling phenomena in science and engineering, we begin with simplified, incomplete models. As we examine things in greater detail, these simple models become inadequate and must be replaced by more\u2026","category":[{"@attributes":{"term":"testing","label":"Testing"}},{"@attributes":{"term":"tdd","label":"TDD"}}]},{"title":"SICPJS 2. Building Abstractions with Data","id":"https:\/\/clean99.github.io\/2022\/05\/02\/SICPJS-2-Building-Abstractions-with-Data\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2022\/05\/02\/SICPJS-2-Building-Abstractions-with-Data\/"}},"published":"2022-05-02T03:40:54.000Z","updated":"2022-05-02T03:40:54.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"Compound data: just like compound function, we enhance our expressive power of our language. And elevate the conceptual level at which we can design our programs. Glue data together: compound data glue data together to\u2026","category":{"@attributes":{"term":"sicpjs","label":"SICP JS"}}},{"title":"Build a Toy Browser with NodeJS","id":"https:\/\/clean99.github.io\/2022\/04\/27\/Build-a-Toy-Browser-with-NodeJS\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2022\/04\/27\/Build-a-Toy-Browser-with-NodeJS\/"}},"published":"2022-04-27T12:45:44.000Z","updated":"2022-04-27T12:45:44.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"That's right, I dig another hole to myself. I saw this interesting book called Web Browser Engineering, which teach to build a browser with python. Since I'm learning SICPJS now, and I will build a compiler at the end\u2026","category":{"@attributes":{"term":"browser","label":"Browser"}}},{"title":"SICPJS 1. Building Abstractions with Functions","id":"https:\/\/clean99.github.io\/2022\/04\/25\/SICPJS-1-Building-Abstractions-with-Functions\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2022\/04\/25\/SICPJS-1-Building-Abstractions-with-Functions\/"}},"published":"2022-04-25T02:39:55.000Z","updated":"2022-04-25T02:39:55.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"computational processes(a sorcerer's idea of a spirit): ideas, can't be seen or touch but solve the problem and direct the real world program(a sorcerer's spells)\uff1aprescribe computational processes by programming\u2026","category":{"@attributes":{"term":"sicpjs","label":"SICP JS"}}},{"title":"SICPJS thinking about the book and study plan \/ catalog","id":"https:\/\/clean99.github.io\/2022\/04\/24\/SICPJS-What-I-think-and-what-I-ve-done\/","link":{"@attributes":{"rel":"alternate","type":"text\/html","href":"https:\/\/clean99.github.io\/2022\/04\/24\/SICPJS-What-I-think-and-what-I-ve-done\/"}},"published":"2022-04-24T12:48:38.000Z","updated":"2022-04-24T12:48:38.000Z","author":{"name":"Koh Hom","uri":"https:\/\/github.com\/clean99","email":"xff9924@gmail.com"},"summary":"A learning note on why SICPJS matters and how I approached the book as a long-term abstraction practice.","category":{"@attributes":{"term":"sicpjs","label":"SICP JS"}}}]}