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. Unsupervised Machine Learning with JavaScript

    In this article we are taking a look at an unsupervised machine learning and using it we'll cluster our sample dataset.

  2. 'Unexpected Token Export' error

    When trying to utilise the ES2015 export/import statements (aka ES2015 module syntax) in Node.js we are presented with the 'Unexpected Token Export' error. There's a reason why this error appears and in this article we'll investigate why this is happening.

  3. Question mark in Angular expressions

    Angular comes with a safe navigation operator that guards against 'null' and 'undefined' values in property paths.

  4. How do you extract POST data in Node.js?

    Often times when working with Node.js based web applications we are faced with an option to handle data sent from a form. In this article we'll take a look at how to extract POST data in Node.js

  5. File upload with Angular and Restify (Tutorial)

    In this tutorial we'll learn how to upload files from an Angular5 application to a Node.js REST API that runs using Restify. For the file upload functionality we'll use the File Web API, without relying on a third party component.

  6. Natural Language Processing with NoSQL and JavaScript

    In this article we are taking a look at how to apply a branch of Machine Learning - Natural Language Processing - to do sentiment analysis on unstructured text with JavaScript and NoSQL.

  7. Angular - Http vs HttpClient

    A new, more robust HttpClient is available as of Angular 4.3. In this article we are discussing its main changes with code examples.

  8. Securing a REST API

    In this article we are discussing how to secure a REST API using JWT (JSON Web Tokens).

  9. Angular - Promise vs Observable

    An article explaining the differences between Promises and Observables in Angular.

  10. Factory Pattern in TypeScript

    This article discusses how to apply the Factory Pattern in a TypeScript environment