Skip to the content Skip to the Navigation

Red And Green

  • Python Code
  • Rust Programming
  • Bitcoin Programming
  • Contact

June 2025

  1. HOME
  2. June 2025
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 […]

June 23, 2025 / Last updated : June 23, 2025 admin AI ML

Why MCP uses JSON RPC

MCP is completely agnostic to HTTP (and its versions). MCP doesn’t require HTTP at all. ✅ MCP Is Transport-Agnostic MCP is fundamentally about structured message passing, not the transport. It can work over: 🧠 Why MCP Skips HTTP HTTP comes with baggage MCP doesn’t need, like: HTTP Concern Needed in MCP? Why Not? Verb (GET/POST/PUT/…) […]

MCP Servers Auth0
June 17, 2025 / Last updated : June 17, 2025 admin Uncategorized

MCP Auth

Using https://github.com/mcp-auth MCP Servers + Auth0 Next:create the custom access token verifier that will fetch the user identity information from the authorization server (Auth0) using the access token provided by the MCP inspector. whoami.py example So far we just checked we can do auth, now let’s use with a toy MCP in Python add the […]

Recent Posts

The singleton pattern gives you the benefits of global access while maintaining control over how that global state is created, accessed, and modified. It's essentially "global variables done right" for cases where you genuinely need global state.

Design Patterns in Rust – Singleton Pattern

July 3, 2025
calcululs

Learning with AI (Calculus)

June 28, 2025
Make your own Ollama Client

Make your own Ollama Client

June 24, 2025

Why MCP uses JSON RPC

June 23, 2025
MCP Servers Auth0

MCP Auth

June 17, 2025
workspaces in rust

Rust Workspaces

May 19, 2025
This Actix-Web Rust server handles messages and tracks server status. It shares state using `Mutex`-protected `HashMap` and `String`. Clients can `GET` or `POST` a message and `GET` a list of servers. State is initialized in `main` and injected into request handlers for simple thread-safe access.

App state in Actix-web

May 17, 2025
Multiple LLM Backends

Protected: Chain Multiple LLM backends in Rust

May 12, 2025

Understanding Encrypted Counters in Rust with RocksDB

May 11, 2025

Protected: Build your first MCP server in Rust and test it with an LLM

May 6, 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

  • 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 API async Automation axum BDK bitcoin Bitcoin Core blockchain class Closure closures Design Patterns dictionaries GitHub huggingface iced impl langchain LLM MCP ModelContextProtocol mutable Networks Podman python Qdrant raspberry pi Rust Programming scrapy Smart Contracts Sphinx Stellar struct SurrealDB Upsert VectorDatabase Vectors WASM webscraping web scraping Word DOCX xpath Yaml

  • 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 »