<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Raisalon</title>
    <link>https://raisalon.com/</link>
    <description>Technical writing, projects, research, and free tools on artificial intelligence, machine learning, and software engineering.</description>
    <language>en</language>
    <lastBuildDate>Thu, 26 Nov 2026 00:00:00 GMT</lastBuildDate>
    <atom:link href="https://raisalon.com/rss.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How to reduce AdSense layout shift on an Astro blog</title>
      <link>https://raisalon.com/blog/astro-adsense-layout-shift/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/astro-adsense-layout-shift/</guid>
      <description>Measure ad-related layout shift in Astro, reserve space before an in-article slot loads, and distinguish a mobile lab result from real visitor data.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>Pagefind vs. JSON search for an Astro blog</title>
      <link>https://raisalon.com/blog/astro-pagefind-json-search/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/astro-pagefind-json-search/</guid>
      <description>Compare Pagefind and a JSON search index on 100 and 1,000 test pages. See first-query bytes, timings, and how to measure the trade-off on your Astro site.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>Average precision vs. PR AUC: why the numbers differ</title>
      <link>https://raisalon.com/blog/average-precision-pr-auc/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/average-precision-pr-auc/</guid>
      <description>Compute average precision and trapezoidal PR AUC from four scored examples. See exactly which segment of the precision–recall curve changes the reported area.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Machine Learning</category>
    </item>
    <item>
      <title>Cosine similarity vs. dot product for embedding search</title>
      <link>https://raisalon.com/blog/embeddings-cosine-dot-product/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/embeddings-cosine-dot-product/</guid>
      <description>Rank three vectors by cosine similarity and dot product, then normalize them. Learn why a longer embedding can win and how to check a search index migration.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Artificial Intelligence</category>
    </item>
    <item>
      <title>Fix “Unexpected token &lt;” when fetch expects JSON</title>
      <link>https://raisalon.com/blog/fetch-unexpected-token-json/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/fetch-unexpected-token-json/</guid>
      <description>Trace a fetch JSON parse error to an HTML response. Use status, redirect history and content type to distinguish a login page, a missing route and a fallback.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>Why a classifier can have 99% accuracy and zero recall</title>
      <link>https://raisalon.com/blog/high-accuracy-zero-recall/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/high-accuracy-zero-recall/</guid>
      <description>Reproduce 99% accuracy and zero positive-class recall in scikit-learn. Read the confusion matrix and see the cost of changing the decision threshold.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Machine Learning</category>
    </item>
    <item>
      <title>Encode Unicode text as Base64 in JavaScript without btoa errors</title>
      <link>https://raisalon.com/blog/javascript-base64-unicode-text/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/javascript-base64-unicode-text/</guid>
      <description>Fix btoa InvalidCharacterError for Unicode text, see why café can silently encode to the wrong bytes, and round-trip UTF-8 with TextEncoder and TextDecoder.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>Why your JavaScript Unix timestamp shows a date in 1970</title>
      <link>https://raisalon.com/blog/javascript-unix-timestamp-1970/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/javascript-unix-timestamp-1970/</guid>
      <description>Decode the same Unix timestamp as seconds and milliseconds, verify the UTC result, and handle zero, negative values and numeric strings in JavaScript.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>How much do 1,000 LLM chat requests cost?</title>
      <link>https://raisalon.com/blog/llm-chat-request-cost/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/llm-chat-request-cost/</guid>
      <description>Estimate the API cost of 1,000 chat requests from input and output tokens. Work through short chats, repeated history and retries using dated model prices.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Artificial Intelligence</category>
    </item>
    <item>
      <title>Macro, weighted and micro F1 from one confusion matrix</title>
      <link>https://raisalon.com/blog/macro-weighted-micro-f1/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/macro-weighted-micro-f1/</guid>
      <description>Calculate macro, weighted and micro F1 on the same 100 tickets. See how a model can score 0.90 on micro F1 while missing an entire support queue.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Machine Learning</category>
    </item>
    <item>
      <title>Why a pandas merge adds rows and how to find the duplicate keys</title>
      <link>https://raisalon.com/blog/pandas-merge-extra-rows/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/pandas-merge-extra-rows/</guid>
      <description>Trace extra rows after a pandas merge to the keys that produced them. Predict the join size, validate a many-to-one lookup, and audit unmatched orders.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Machine Learning</category>
    </item>
    <item>
      <title>Python JSONDecodeError: fix “Extra data” in JSON Lines files</title>
      <link>https://raisalon.com/blog/python-json-extra-data/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/python-json-extra-data/</guid>
      <description>Diagnose Python’s Extra data error by inspecting the second value. Read JSON Lines one record at a time and report the exact line when a record is malformed.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>Python zoneinfo and fold: distinguish two identical local times</title>
      <link>https://raisalon.com/blog/python-zoneinfo-ambiguous-time/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/python-zoneinfo-ambiguous-time/</guid>
      <description>Resolve a repeated local hour with Python zoneinfo. Compare fold values, recover both UTC instants, and detect ambiguous or nonexistent wall-clock inputs.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>Test whether repeating PDF table headers improves RAG retrieval</title>
      <link>https://raisalon.com/blog/rag-pdf-table-headers/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/rag-pdf-table-headers/</guid>
      <description>Run a four-question retrieval test on extracted PDF table rows. Compare row-only chunks with repeated headers and separate retrieval errors from answer errors.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Artificial Intelligence</category>
    </item>
    <item>
      <title>Recall@k vs. MRR: evaluate RAG retrieval with three queries</title>
      <link>https://raisalon.com/blog/rag-recall-mrr-retrieval/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/rag-recall-mrr-retrieval/</guid>
      <description>Score the same ranked documents with Recall@3, hit rate and MRR@3. See which metric detects missing evidence and which detects a useful result arriving late.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Artificial Intelligence</category>
    </item>
    <item>
      <title>Fix React date hydration mismatches across time zones</title>
      <link>https://raisalon.com/blog/react-hydration-date-timezone/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/react-hydration-date-timezone/</guid>
      <description>Reproduce a React hydration mismatch with UTC and Kathmandu dates, render a stable first timestamp, and test local formatting at a midnight boundary.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>How to split a dataset by customer ID in scikit-learn</title>
      <link>https://raisalon.com/blog/split-dataset-customer-id/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/split-dataset-customer-id/</guid>
      <description>Use GroupShuffleSplit to keep each customer in one partition. Check for overlapping IDs and see how a row split can inflate an evaluation score.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Machine Learning</category>
    </item>
    <item>
      <title>SQL LEFT JOIN counts: return zero for missing matches</title>
      <link>https://raisalon.com/blog/sql-left-join-zero-count/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/sql-left-join-zero-count/</guid>
      <description>Keep customers with no matching orders in a SQL report. See how COUNT(*), COUNT(order_id), and a status filter change the result of a LEFT JOIN.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>SQLite ORDER BY and “USE TEMP B-TREE” explained</title>
      <link>https://raisalon.com/blog/sqlite-order-by-index/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/sqlite-order-by-index/</guid>
      <description>Read a SQLite query plan, match a composite index to a filtered sort, and return the newest five records without building a temporary sorting tree.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Software Engineering</category>
    </item>
    <item>
      <title>Test LLM prompt regressions in GitHub Actions</title>
      <link>https://raisalon.com/blog/test-prompts-github-actions/</link>
      <guid isPermaLink="true">https://raisalon.com/blog/test-prompts-github-actions/</guid>
      <description>Build a small support-ticket test set, catch a valid JSON response with the wrong label, and run the same prompt evaluation locally and in GitHub Actions.</description>
      <pubDate>Thu, 26 Nov 2026 00:00:00 GMT</pubDate>
      <dc:creator>Salon Rai</dc:creator>
      <category>Artificial Intelligence</category>
    </item>
  </channel>
</rss>
