here you goThings I’ve made, read and saved — shared here.

Archive

9,632 entries: 60 from X, 8,926 from Pinboard, saved 1998 to 2026.

Browse by tag, site, author, folder or language

Tags

Sites

Authors

Folders

Languages

Showing 951–1,000 of 9,632

2025

Running Notes on AI Agents

Note: Similar to Running Notes on RAG.

AI Agents will likely shine in areas where there is demand for solutions, but is constrained by demand on talent to do so. Good examples are coding agents, security agents, legal agents etc., In these areas, the demand for solving problems exceeds the talent available.

The playbook for building #ai-agents is to deep on context engineering (bring all the data) required for the vertical or domain, figure out the User Experience that fits into the existing workflows naturally, and connect to relevant data sources and tools.

We are trending to more agents given narrowly scoped, well defined narrow tasks. These will be defined by professionals -- martin_casado.

I think when combined with smol-llms, they can be unobtrusive doing their well defined tasks in the background, without much human intervention. "Manage by exception" or "manage by failure" instead of active human feedback. Human attention in precious, and should be overwhelmed with attention to even more computers. 2025-08-05 10:57

notes

Models as a Service

Models as a Service (MaaS). huggingface is the main player here.

bring together most advanced machine learning models from the AI community, and streamlines the process of leveraging AI models in real-world applications

The above definition is from modelscope, a chinese company.

Discovered this while looking at [dot.ocr](https://github.com/rednote-hilab/dots.ocr)'s `tools/download_model.py`

notes

Running Notes on RAG

RAG is at the heart of many AI deployments going on today, and pershaps my own interest in the topic, and engaging with it, I see many articles, and new items related to it.

These are some of the primary aspects of improving RAG:

  1. Semantic understanding of documents, including applying Visual LLMs to make sense of embedded pictures, diagrams and other non-textual content
  2. Chunking
  3. Embedding
  4. Having a good evaluation ("eval")
  5. Not ignoring search as the first line of attack; I find Joe Bergum a reliable authority in understanding search better. Most recently, he said - Search becomes the infrastructure for agents, agents are the new users.

RAG Companies ^fb946e

If you think of RAG as an Information Architecture problem, then there are ways to improve the value without changing the model:

  1. Audit user queries to look for higher frequency searches that are returning irrelavent results, or zero-result queries, and repeated questions in the face of such results (frustration).
  2. Cluster unmet needs - what is common among failed queries? internal docs, product metadata?
  3. Fix the inventory (of documents indexed)
  4. Tighten the feedback loop by tracking query success/failure, satisfaction, and document retrieval coverage.

The pain of chunking and bad context retrieval can be mitigated by using better search tools which will provide the context needed by the foundation models. RAG isn't dead, just the context that is being provided is hindered by not getting chunking etc right.

To quote Jo Bergum

A significant portion of the rag is dead movement is imho related to the pain of chunking and how bad the vector databases are at managing the overall context of the source document. Splitting data across rows and records and reconciliation at run time never scales, plus you need to manage that state in case the source document changes. -- via

RAG Explorer by Respeak "An interactive journey through the Retrieval Augmented Generation pipeline — explore each component, understand pitfalls, and master implementation.". Has a good step step by explanation of how various phases of a RAG system flow from one to another.

Start thinking LLM as infrastructure. Lean into integrating LLM into scalable system design much like any other important piece. Remember:

RAG is the evolution of search.

Search is the natural abstraction for augmenting AI with moving context -- -- Jo Bergum

90% of RAG deployments are running with chunk and embed using 3.5 with 8K context window

(on why embedding seems to be disfavored these days) ... Part is that many were mislead in the late 2022 days to think that embedding retrieval was the only way to do RAG and that chunk-and-embed is a pain to manage.

Task specific sub agents with their own set of tools and context window is a strong trend

Armand Ruiz on LinkedIn mentioned, IBM Granite; I have to investigate if I can plug this into the RAG pipeline to extract content from tables, charts, and diagrams for structured data analysis.

Elysia: Building an end-to-end agentic RAG app | Weaviate; Note: elysia has a hard dependency on Weaviate cloud. ^7d2c87

what if your AI could dynamically decide not just what to say, but how to show it? What if it could learn from your preferences, intelligently categorize, label, and search through your data, and provide complete transparency into its decision-making process?

Few things that make Elysia interesting

  1. Decision Trees and Decision Agents
  2. Displaying data sources in dynamic formats
  3. an automatic expert on your data -- "an LLM analyzes your collections to examine the data structure, create summaries, generate metadata, and choose display types. This isn't just useful information for users to see - it significantly enhances Elysia's ability to handle complex queries and provide knowledgeable responses"
  4. Feedback system -- "Each user maintains their own set of feedback examples stored in within their Weaviate instance. When you make a query, Elysia first searches for similar past queries you've rated positively using vector similarity matching."
  5. Elysia serves content through Static HTML -- this pleases me.
  6. Multi Model Strategy -- "routes different tasks to appropriate model sizes based on task complexity"
  7. DSPy serves as the LLM interaction layer.

Another Summary of Elysia by X/victorialslocum

--

Building Graph RAG Pipelines with Kuzu, DSPy and marimo - YouTube by Prashanth Rao

--

run-llama/semtools: Semantic search and document parsing tools for the command line

  • parse - Parse documents (PDF, DOCX, etc.) using, by default, the LlamaParse API into markdown format. Parse uses Llamaparse ( Cloud hosted). #todo how to parse using a different model?
  • search - Local semantic keyword search using multilingual embeddings with cosine similarity matching and per-line context matching

notes

Zen To Go

Zen to Go, is one of my all time favorite book of #quotation

It is an eminently #easy-to-pickup book.

notes

Writing well

Writing well comes to down to holding the reader's attention.

  • Make sentences flow from one to another, make sure the reader is never surprised, anticipate objections
  • Edit, and edit again. Remove all fluff. Use short sentences. Read your own writing with a "red pen"
  • Delete anything that makes you pause and go back and look around for clues.
  • Practice #writing. Make your own opportunities to write by putting your name on it... "You can have an unreasonable amount of influence by being the person who writes stuff down".
  • Writing well starts with writing stuff down.

Couple of points from CS Lewis advice on writing, I liked:

  1. Write with the ear, not the eye
  2. Write what interests you
  3. Don't use words (or phrases, or sentences, or paragraphs) you don't understand -- say no to Copy-Pasting.
C S Lewis on writing (1959)
C S Lewis on writing (1959)

notes

Pico della Mirandola

... at the age of 23, he proposed to defend 900 theses on religion, philosophy, natural philosophy, and magic against all comers, for which he wrote the Oration on the Dignity of Man, which has been called the "Manifesto of the Renaissance". -- wikipedia

The author Pico Iyer's middle name (he now uses Pico as his first) is for Pico della Mirandola.

notes

Thriftbooks

2025-08-03: I have purchased many books from Thriftbooks, I always liked that if I my order totalled up to more than $10, they would ship the books for free. I have been buying books from them since 2018 or so. Today I found out that you can download all kinds of data (yours of course) from your account.

notes

Pico Iyer

Pico Iyer an author born in Britain to Indian parents, educated in America (and England), and now living in Japan, married to a Japanese. I am reading The Lady and the Monk, and want to read A Beginner's Guide to Japan, The Art of Stillness, and Video Night in Kathmandu.

Through his biography I discovered Pico della Mirandola, because Pico Iyer is named after him.

notes

png

Some png tools I use

  • pngpaste -- pngpaste > thefile.png -- Paste PNG into files, much like pbpaste does for text.
  • pngquant -- is a command-line utility and a library for lossy compression of PNG images. The conversion reduces file sizes significantly (often as much as 70%) and preserves full alpha transparency. I used to use pngcrush before for the same.

#png #tools #macos #linux

notes

Weights and Biases

wandb.ai "is for experiment tracking and metric visualization". As observed in (Wang et al. 2025)'s github repo (Sapient Intelligence, Singapore).

Important things to note from this:

  • #llmops -- traces, evaluations, playground, agents, guardrails, monitors.
  • #mlops -- experiments, sweeps (optimizing hyperparams), tables (explore and visualize data)
  • platform features -- explore hosted, OSS models, model & data registry, artifacts, reports, SDK, automations. (nb. a lot of this sounds like huggingface).

References

notes

The Rickover Corpus

rickovercorpus.org

Admiral Hyman Rickover, also known as the "Father of the Nuclear Navy", built the first nuclear-powered submarine and civilian nuclear reactor.

As the U.S. returns once more to an era of shipbuilding and building nuclear energy infrastructure, understanding Rickover's management methods is of even greater importance.

This website is a searchable digital archive of Admiral Hyman G. Rickover’s speeches, congressional testimonies, and memos. It includes over 2,500 pages of documents, including over 1,800 pages of never before seen digitized artifacts from the U.S. Naval Academy Archives

Emanote

Emanote by Sridhar Ratnakumar is a haskell program that helps you build websites (blog, wiki, zettelkasten notebooks) using plain text formats like markdown.

Aug 2025

Previously, I had tried to install it locally and also as github action, and found the experience difficult. I had totally ignored the docker related instructions.

This time, I tried the container instructions, adjusting them for my orbstack setup and it worked beautifully.

docker run -it --rm \
  -p 8080:8080 \
  -v ./content:/notebook:z \
  ghcr.io/srid/emanote run -p 8080 -h 0.0.0.0

notes

IUPUI

I got my Masters in Computer Science from Purdue University attending IUPUI from 2008-2016 while I worked at EnthEnergy, and Proofpoint.

These are some of the things I produced while I was there:

Unikernel operating systems as network security appliances: a survey PDF

Unikernel Survey

**Composition in Internet-of-Things using Unikernel ** PDF

Unikernel IOT Composition

Presentation on Unikernels; Dec 11, 2015.

An archive of my home page https://cs.iupui.edu/~pgowda lives on cloudflare at pgowda-iupages.pages.dev; The source files are on GitHub; see also read-eval-print-love.

notes#iupui

Linux

Linux: The Unix Clone by the Git author

I have been a git user since 1997 or so. The first versions of this domain started out as a CD shop shipping Linux and Open Source Software on CDs to buyers in India.


AlmaLinux OS An Open Source, community owned and governed, forever-free enterprise Linux distribution, focused on long-term stability, providing a robust production-grade platform. AlmaLinux OS is 1:1 binary compatible with RHEL® and pre-Stream CentOS.


My View of Linux via github.com/lsc4719 via github.com/lsc4719

notes#linux

R100001/Programming-Massively-Parallel-Processors

github.com

The first section found in Chapters contains source code and information from the book "Programming Massively Parallel Processors" by David B. Kirk and Wen-mei W. Hwu. You can find the book here.

The second section found in Performance-Tests-NvBench contains benchmarks done with the NvBench Project.

github.comPinboardPermalink

#cuda

xlwings Lite documentation

lite.xlwings.org

xlwings Lite brings the VBA experience into the modern age by offering a privacy-first, secure, and developer-friendly way to automate Excel and write custom functions with Python.

It’s an Excel add-in that runs a web assembly instance of python locally on your machine and you can write excel macros and formulas with python instead of VBA. This differs from Microsoft’s Python for Excel in that it is 100% local, Microsoft uses an Azure instance to run the Python code.