<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"><channel><title>Zain Haroon — Writing</title><description>Zain Haroon — full-stack engineer in Lahore, Pakistan. Building production web platforms with Next.js, NestJS, React and Node.</description><link>https://zainharoon.com</link><language>en-us</language><item><title>How to use a vector database</title><link>https://zainharoon.com/blog/how-to-use-a-vector-database</link><guid isPermaLink="true">https://zainharoon.com/blog/how-to-use-a-vector-database</guid><description>Embeddings, similarity search and RAG — how retrieval actually works, why chunking and hybrid search decide your quality, and when a vector database is the wrong tool entirely.</description><pubDate>Sat, 11 Jul 2026 00:00:00 GMT</pubDate><category>LLMs</category><category>RAG</category><category>AI</category><author>zainharoon890@gmail.com (Zain Haroon)</author></item><item><title>How to retain context</title><link>https://zainharoon.com/blog/how-to-retain-context</link><guid isPermaLink="true">https://zainharoon.com/blog/how-to-retain-context</guid><description>Context windows are the working memory of an LLM application, and they fill up faster than anyone expects. What actually consumes them, why long conversations degrade, and the techniques that work.</description><pubDate>Tue, 07 Jul 2026 00:00:00 GMT</pubDate><category>LLMs</category><category>AI</category><category>Context</category><author>zainharoon890@gmail.com (Zain Haroon)</author></item><item><title>How LLMs actually work</title><link>https://zainharoon.com/blog/how-llms-actually-work</link><guid isPermaLink="true">https://zainharoon.com/blog/how-llms-actually-work</guid><description>Tokens, embeddings, attention and next-token prediction — what the machine is really doing, why it hallucinates, and what &apos;reasoning&apos; is and isn&apos;t.</description><pubDate>Fri, 03 Jul 2026 00:00:00 GMT</pubDate><category>LLMs</category><category>AI</category><author>zainharoon890@gmail.com (Zain Haroon)</author></item></channel></rss>