Tags: javascript*

0 bookmark(s) - Sort by: Date ↓ / Title /

  1. The article explains React as a reimagining of HTML for modern web development. It highlights the traditional separation between declarative HTML and powerful, yet complex, JavaScript. React bridges this gap by combining the declarative nature of HTML with the architectural capabilities of JavaScript through the use of components. These components are essentially JavaScript functions that return UI descriptions, enabling code reuse and simplifying maintenance. The article emphasizes the importance of organization (using files strategically) and purity in React components for predictable and debuggable applications.
  2. This article explores replacing JavaScript functionality with native HTML and CSS for improved performance and reduced resource usage, focusing on accordions, autofilter inputs, modals, and offscreen navigation.
  3. A Kindle emulator/interface built with JavaScript, offering login/registration, app browsing, and settings.
    2025-12-18 Tags: , , , , , , by klotz
  4. An aircraft monitor based on Charlie Gerard's JavaScript Aircraft Radar System. It requires an RTL-SDR USB dongle and a WebUSB capable browser.
    2025-08-03 Tags: , , , , , by klotz
  5. This article discusses using HTML data-* attributes as an alternative to closures in React for performance and readability, especially when dealing with lists and memoization.
  6. 2025-07-07 Tags: , , , by klotz
  7. This article details replacing HTMX with HMPL in a web project, highlighting HMPL's increased customization options and modern fetch implementation compared to HTMX's minimalistic approach. It provides code examples for simple and complex scenarios, a size comparison, and concludes that HMPL is a viable alternative for projects prioritizing functionality over minimal size.
    2025-06-07 Tags: , , , by klotz
  8. This article details the creation of a simple, 50-line agent using Model Context Protocol (MCP) and Hugging Face's tools, demonstrating how easily agents can be built with modern LLMs that support function/tool calling.

    1. **MCP Overview**: MCP is a standard API for exposing tools that can be integrated with Large Language Models (LLMs).
    2. **Implementation**: The author explains how to implement a MCP client using TypeScript and the Hugging Face Inference Client. This client connects to MCP servers, retrieves tools, and integrates them into LLM inference.
    3. **Tools**: Tools are defined with a name, description, and parameters, and are passed to the LLM for function calling.
    4. **Agent Design**: An agent is essentially a while loop that alternates between tool calling and feeding tool results back into the LLM until a specific condition is met, such as two consecutive non-tool messages.
    5. **Code Example**: The article provides a concise 50-line TypeScript implementation of an agent, demonstrating the simplicity and power of MCP.
    6. **Future Directions**: The author suggests experimenting with different models and inference providers, as well as integrating local LLMs using frameworks like llama.cpp or LM Studio.
  9. An in-depth look at JavaScript fundamentals including hoisting, temporal dead zone, function declarations vs expressions, shallow vs deep copy, Object.assign, slice vs splice, forEach vs map, global execution context, polyfilling, map deep dive, and type coercion.
  10. The author argues that constantly chasing the latest JavaScript frameworks can be unproductive and distracting from actual development. They suggest focusing on core programming skills and widely adopted frameworks.
    2025-03-16 Tags: , , by klotz

Top of the page

First / Previous / Next / Last / Page 2 of 0 SemanticScuttle - klotz.me: tagged with "javascript"

About - Propulsed by SemanticScuttle