Skip to main content

Writing

Notes on AI, agents, web technologies, and building with LLMs

Technical articles on AI integration, agents, agent harnesses, MCP, web technologies, and emerging tools. Working notes from a Google Developer Expert with 25+ years of building and teaching.

  1. Resolving Error: Uncaught (in promise): EmptyError: no elements in sequence

    In this article we'll see how to fix the `Error: Uncaught (in promise): EmptyError: no elements in sequence` error caused by the Angular router.

  2. Singleton Pattern in TypeScript

    Design patterns help us to design better software and write better code. Learn how to use the Singleton patternwith TypeScript in this article.

  3. Resolving 'Can't bind to 'ngFor' since it isn't a known property of 'element'' error in Angular

    Read how you can potentially fix the 'can't bind to ngFor since it's not a known property of 'element' error.

  4. Resolving 'import is blacklisted' tslint error for RxJS and Angular

    Read how to fix the 'This import is blacklisted, import a submodule instead' tslint error for RxJS and Angular.

  5. Using Jasmine with JavaScript

    Testing is an important aspect of development and in this article we'll take a look at how to add Jasmine unit tests to a JavaScript (ES6 / ES2015) code.

  6. What is CORS?

    Cross-Origin Resources Sharing (CORS) is a security protocol implemented by browsers. See how to avoid running into CORS errors via this article.

  7. Debugging TypeScript in the browser

    Using source maps it's possible to debug TypeScript code directly in the browser even after transpilation.

  8. Introduction to RxJS and Observables

    What is RxJS and what are observables? A gentle introduction to these terms and the technology that drives them.

  9. Promises in JavaScript

    Promises in JavaScript are a powerful concept that allow us to write asynchronous code in a synchronous fashion with better error handling than callbacks.

  10. Arrays and Objects in ES2015

    A range of new capabilities have been added to JavaScript with ES2015 that helps us work with arrays and objects.