Skip to the content Skip to the Navigation

Red And Green

  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact

AI ML

  1. HOME
  2. AI ML
MCP
January 2, 2026 / Last updated : January 2, 2026 admin AI ML

Building Your First MCP Server in Rust: A Calculator Service

What You’ll Learn By the end of this tutorial, you’ll understand how to build a Model Context Protocol (MCP) server in Rust that exposes tools AI assistants can use. We’ll build a simple calculator service with four operations. Prerequisites What is MCP? The Model Context Protocol (MCP) is a standard that allows AI assistants to […]

WEWAI
December 14, 2025 / Last updated : December 14, 2025 admin AI ML

WEWAI – ‘Works Even Without AI’

Regardless of whether AI is a bubble or not, it might be wise to build systems that are not dependent on AI for them to be able to function. My jobstr.work site is one such concept. Sure AI can query the relays and answer questions about the jobs listed, but equally you can use the […]

jobstr.work
December 11, 2025 / Last updated : December 13, 2025 admin AI ML

AI job search – Disrupting the Recruitment Status Quo: How jobstr.work and LLMs are Building the Future of Decentralised Job Searches

The traditional job search process “sucks” – it is characterised by closed platforms which creates a “recruitment shїtshow”. Don’t just take my words for that, try Indeed or Reed or LinkedIn! Same job listed multiple times… Remote, but different “location” jobstr.work is a real solution, working via a decentralised platform for listing jobs that combines […]

Evaluate - LLM evals framework
November 6, 2025 / Last updated : November 6, 2025 admin AI ML

Evaluate – LLM evals framework

Note, this article is written by me, the human who wrote the code! If you use LLMs you will need to check their output, else hallucinations, wrong answers, and unhappy customers. Note, this code is all open source, aka “Free” I built “evaluate” as the server, which does the calls to the LLMs, and you […]

September 30, 2025 / Last updated : September 30, 2025 admin AI ML

ReLU – Rectified Linear Unit

What is x.max(0.0)? x.max(0.0) returns the maximum value between x and 0.0. It’s Rust’s method for finding the larger of two numbers. ReLU Worked Examples: ReLU (Rectified Linear Unit) formula: ReLU(x) = max(0, x) This means: Here are concrete examples: Visual Example: Why ReLU is Powerful: Comparison with Sigmoid: ReLU is like a one-way gate: […]

What is Candle?
September 28, 2025 / Last updated : September 28, 2025 admin AI ML

What is Candle?

CANDLE Handles all the heavy mathematical lifting – matrix multiplications, softmax, broadcasting, gradients, and hardware acceleration. Think of it like “NumPy” for AI, for Rust! Candle lets you run ML models entirely inside a Rust program, without Python or a separate service like Ollama. The Magic: When you write something like q.matmul(&k.t())?.softmax(D::Minus1)?, CANDLE automatically: So […]

create a Collection, load data into it and run a basic search query.
July 18, 2025 / Last updated : July 18, 2025 admin AI ML

Qdrant & Rust Client

Once you have Docker installed, you can simply run Qdrant with an API key For testing, just make your own value without the API key you chose -> Qdrant Rust Client Create a “collection” and “upsert” some data Do a vector search Filter search Prepare a model to do embeddings with Qdrant (fastembed) *Each model […]

Minimal mcp server using rmcp 0.3
July 16, 2025 / Last updated : September 20, 2025 admin AI ML

Minimalist MCP server using official Rust SDK for MCP (rmcp 0.3)

rmcp was updated July 16 2025 – this article looks as how to use the latest custom procedural macro attributes and build a minimalist example. There are some significant differences to earlier versions and we analyze them here. What you read here is not in the documentation, I have spent a few hours identifying the […]

calcululs
June 28, 2025 / Last updated : July 1, 2025 admin AI ML

Learning with AI (Calculus)

Revisiting A’ Level Maths – Calculus with the help of AI 🔢 What is Calculus? Calculus is the branch of mathematics that studies change. It has two big halves: 1. Differential Calculus 2. Integral Calculus Bonus: They’re Connected! They’re two sides of the same coin — and the Fundamental Theorem of Calculus links them.It basically […]

Make your own Ollama Client
June 24, 2025 / Last updated : June 27, 2025 admin AI ML

Make your own Ollama Client

Rather than use Rig.rs or Ollama-rs let’s consider the bare bones of the frameworks that we take for granted.. We make a POST reqwest to the Ollama API and send a body specifying the model and messages ( role & content ). Next – iterate over the stream and display the chunks until there are […]

Posts pagination

  • Page 1
  • Page 2
  • …
  • Page 4
  • »

Recent Posts

"Mismatched Types" in Rust

“Mismatched Types” in Rust

January 12, 2026

A Didactic dyn Trait Example

January 11, 2026
closures

Returning Closures in Rust: The impl Keyword Explained

January 10, 2026

The Hybrid Trait Pattern in Rust: Fast Internals, Stable Architecture

January 8, 2026
handlers

Handler Pattern in Rust: Closures Inside Process Functions

January 7, 2026
swap logic

Swap Logic: Making One Function Do Many Things in Rust

January 6, 2026
handler

What Is a “Handler” in Rust?

January 4, 2026
type-safe dynamic dispatch

Type-safe dynamic dispatch

January 2, 2026
MCP

Building Your First MCP Server in Rust: A Calculator Service

January 2, 2026
zst

Zero-Sized Types (ZSTs)

December 31, 2025

Category

  • AI ML
  • automation
  • Bitcoin Programming
  • c
  • ebay api
  • email
  • JavaScript
  • LangChain
  • MySQL
  • Pandas
  • postgres
  • Python Code
  • Raspberry Pi
  • requests
  • Rust Programming
  • Scrapy
  • Selenium
  • Smart Contracts
  • Stellar
  • SurrealDB
  • Uncategorized
  • web scraping

Archive

  • January 2026
  • December 2025
  • November 2025
  • September 2025
  • July 2025
  • June 2025
  • May 2025
  • April 2025
  • March 2025
  • February 2025
  • January 2025
  • December 2024
  • November 2024
  • October 2024
  • September 2024
  • August 2024
  • July 2024
  • June 2024
  • May 2024
  • April 2024
  • March 2024
  • February 2024
  • January 2024
  • December 2023
  • November 2023
  • October 2023
  • August 2023
  • July 2023
  • June 2023
  • May 2023
  • April 2023
  • March 2023
  • February 2023
  • January 2023
  • November 2022
  • September 2022
  • November 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • April 2020
  • March 2020

Actix-web AI Ansible API async Automation axum BDK bitcoin Bitcoin Core blockchain Closure closures Design Patterns dictionaries GitHub huggingface iced impl jobstr langchain LLM MCP ModelContextProtocol mutable Networks Podman python Qdrant Rust Programming scrapy Smart Contracts Sphinx Stellar struct SurrealDB unpacking lists Upsert VectorDatabase Vectors WASM webscraping web scraping Word DOCX xpath

  • email
  • github
  • YouTube
This site is hosted with https://webdock.io/en Fast Cloud VPS Hosting Flat fee all-inclusive VPS with a Free Control Panel

Copyright © Red And Green All Rights Reserved.

Powered by WordPress & Lightning Theme by Vektor,Inc. technology.

MENU
  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact
Translate »