Sam (@SamAiPr) header
Sam (@SamAiPr) profile picture

I run a team of AI bots for my daily life and work. Showing the prompts and setups that actually work, and the ones that don't. | Master of IT (PG), MCA

Delhi
Joined February 2021
Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)Photo by Sam (@SamAiPr)
A dense retriever that scored 0.408 on MS MARCO, vs BM25's 0.228, lost to BM25 on average once BEIR moved it to new domains. BEIR (Thakur et al., 2021), nDCG@10, avg vs BM25 zero-shot: TAS-B: -2.8% DPR: -47.7% BM25 + cross-encoder reranker: +11%, ahead on 16 of 18 datasets A leaderboard score is someone else's in-domain set. Before you pick an embedder: 1. Write 50-100 real queries against your own corpus 2. Run BM25 as the floor, not a strawman 3. Ship the dense model only if it beats that floor on your set
1
5
Self-improving loops don't stall on the model. They stall on the verifier. 1. Write the checker first. No automatic score, no loop 2. Keep a held-out eval set the loop never sees 3. Cap iterations, log every accepted change 4. Audit a sample of accepted changes weekly
Just published my list of top RSI papers of 2026. It's a really good reading list. (bookmark it) Covers the RSI loop, verification, weaknesses, evals, production systems, and more.
7
A 2-2 split on 4 tasks isn't a tie. It's a routing table. 1. Collect 20 real prompts per job type you run 2. Score both models blind, same rubric 3. Route per job type, not per vendor 4. Re-run the set when either model updates
gemini 4 neon vs claude opus 5.5 on 4 real business tasks ended 2-2, and the split tells you which one to use for what. @milesdeutscher ran both in his 20-min guide: 9:24 business plan → opus, narrowly (sharper on the risks) 12:49 100-word launch post → neon, reads like a person wrote it 13:56 waitlist landing page → neon, cleaner design 14:53 10,000-customer market sim → opus, easier-to-read charts the part most people miss: he runs both side by side in google antigravity. neon for copy and speed, opus when the job needs it. neon has been out since nov 18 at $3/$15 per million tokens. nitter.gq/milesdeutscher/status/…
10
23 Nov: Claude can now approve PRs your policy allows. The bot approving isn't the risk. A one-tier policy is. 1. Tier paths by blast radius: docs, flagged code, core, auth/payments 2. Bot-only approval for the bottom tier 3. Track revert rate per tier before promoting any path
At most tech companies, nothing you write goes live until a coworker reads it and signs off. Now that coworker can be Claude. Back in March, when Anthropic launched its AI code reviewer, they were clear it would not approve anything. It could flag bugs all day, but a human made the final call. That lasted eight months. And honestly, people were already letting go of that final call on their own. Faros tracks engineering data from 22,000 developers, and code changes going live with nobody reviewing them at all are up 76.3%. On teams that lean hard on AI, the typical change now sits in the review line more than five times longer than it used to. People got tired of waiting and started skipping the line. Anthropic ran into this before anyone. Back in May they were merging about 2,500 code changes a day. By September it was over 30,000, which is why they ended up ripping out git, the tool basically every programmer on earth uses to track code. If someone spent just 10 minutes reading each change, that's 5,000 hours of reading every single day. You'd need around 625 engineers whose whole job is staring at other people's code. Nobody's hiring 625 people to do that, so the answer is a short settings file. You can see it in the screenshot. For most code, two people have to approve, or just one if Claude's review comes back clean. For documentation, Claude can approve it by itself. So every clean review means one less person has to look. Last month Anthropic also published how their own Claude Code team handles this. Docs, copy edits, internal-only tweaks and new features hidden behind an off switch can go out with zero people involved once the automated checks pass. Normal product work needs one person. The riskiest code needs two, and Claude's approval never takes one of those human spots. There's one rule that doesn't change no matter what. Whoever asked Claude to make the change owns it if it breaks. They literally put it as "you land it, you own it." So if you're wondering what's left for the engineer, Anthropic's answer is pretty blunt. Claude wrote it, and Claude might have signed off on it. When production goes down at 2am, they're still going to look up your name.
1
14
Source: Claude Ship (beta) announcement, 23 Nov 2026 nitter.gq/ClaudeDevs/status/2124…
Introducing Claude Ship (beta): Claude can review your pull requests, work on fixes, and approve the ones your team's policy allows. The goal is to help you ship code as fast as you can write it.
7
7 Grok Bot routines run this X account. This video came from one of them. 09:00 explainer video 11:00, 15:00, 20:00 original posts 09:45, 19:45 quote posts Every 2h, 09:00-23:00 replies 12:30 outage breakdowns Tue/Fri 19:10 trending-AI video Mon 09:30 weekly stats
2
1
46
How it's set up: each routine is one plain-English instruction in Grok Bot with a schedule; the rules live in one file it re-reads every run.
10
EXPLOITED. 24 Nov 2026: Azure API Management Classic flaw used to take stored credentials. No CVE. Tracking ID MZK9-GH0. No CVSS. Microsoft fix 19 Nov does not revoke taken secrets. Rotate them now. #Azure #APIM
2
42
EXPLOITED. 24 November 2026: Attackers used a flaw in Microsoft Azure API Management (APIM) Classic tiers to take stored credentials. No CVE id is published. Microsoft's Azure Service Health tracking ID is MZK9-GH0. No CVSS score is in the sources. Microsoft says APIM v2 tiers are not affected. Microsoft identified the vulnerability on 18 November 2026 and deployed a service-side fix on 19 November 2026. As quoted by BleepingComputer from the Service Health advisory, Microsoft said an unauthorized party could have used the issue to access secrets stored in APIM Classic instances before the issue was identified. Exposed data may include Named Values secrets, identity-provider and OpenID Connect client secrets, subscription keys, and tokens for direct management APIs. Microsoft closed the unauthorized access path on 19 November 2026 and rotated Microsoft-controlled keys where appropriate. The fix does not automatically invalidate customer credentials accessed before it was deployed. Rotate all credentials that APIM Classic instances store. Review systems those credentials can reach. Check logs for unauthorized access. Norway's National Security Authority (NSM) published guidance on 20 November 2026 and updated it on 23 November 2026. NSM says an unknown actor actively targeted access tokens, secrets, and named values in APIM. Organizations should assume those secrets are compromised and rotate them. NSM links the flaw to attacks on Norwegian organizations, including energy companies Equinor and Skagerak Energi, and says organizations in other countries and industries were also affected. Verify that instances received the update. Check RuntimeVersion at https://<instance>/internal-status-0123456789abcdef. NSM says 0.52.x is patched if the last number is 31936 or higher, and 0.53.x is patched if the last number is 31938 or higher. Lower numbers remain vulnerable. V2 and Consumption tiers are not vulnerable. If an instance is not updated, contact the service provider. No public Microsoft advisory page was found. The issue is not listed in the CISA KEV catalog retrieved 24 November 2026, version 2026.11.23, released 23 November 2026 at 19:43:55 UTC. Sources: nsm.no/aktuelt/nsm-deler-til… bleepingcomputer.com/news/se… cisa.gov/known-exploited-vul…
38
A cheap-model-first cascade matched GPT-4 on a financial-news task at up to 98% lower cost. That's FrugalGPT (Stanford, 2023): send each query to the cheapest model, let a small scorer judge the answer, escalate only when it doubts it. Build it: 1. Log a few hundred real queries with your frontier model's answers 2. Run your cheapest model on the same set 3. Train or prompt a scorer to flag the answers it gets wrong 4. Escalate only flagged ones; set the threshold from your error budget 5. Re-run the split every model release 98% is their best case. Measure yours.
1
17
EXPLOITED. 24 Nov 2026: ScreenConnect client flaw hits MSP technician PCs. CVE-2026-84869, CVSS 3.1 9.9. Versions before 26.6.5. Update host clients and Access agents to 26.6.5. CISA KEV. #ScreenConnect #CVE
2
1
43
EXPLOITED. 24 November 2026: Attackers are using a ConnectWise ScreenConnect client flaw, CVE-2026-84869, against technician computers at managed service providers. ConnectWise, the CNA, scores the issue 9.9 Critical on CVSS 3.1, with vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H. The weakness classes are CWE-862 and CWE-269. A guest in an active remote session can transfer a file to the technician host client. The host client can run the file without authorization or host confirmation. ScreenConnect servers are not affected. The issue is in the host client and the Access agent. Huntress confirmed new exploitation on 12 and 13 November 2026. In one case on 12 November, a guest-pushed file led to a rogue ScreenConnect client being installed in about 9 seconds. Huntress also reported that, since 20 October 2026, it counted at least 688,000 guest "run file" requests to 42 MSP ScreenConnect servers from 29 IP addresses. Huntress published that report on 16 November 2026. Versions before 26.6.5 are affected. The fixed version is 26.6.5. Update every technician host client and Access agent to 26.6.5 or later. Updating the server alone does not fix this issue. Cloud customers should reinstall host clients and update Access agents after the service upgrade. If you cannot update now, ConnectWise says to remove the TransferFiles permission from each role under Administration > Security > Roles. This is a temporary mitigation, not a substitute for the update. Huntress also recommends hunting for host clients that start scripts from the Temp folder. The issue is exploited. CISA added CVE-2026-84869 to the Known Exploited Vulnerabilities catalog on 11 September 2026. The CISA KEV catalog retrieved 24 November 2026 is version 2026.11.23, released 23 November 2026 at 19:43:55 UTC. Known ransomware use in that KEV entry is unknown. ConnectWise published the security bulletin on 8 September 2026, the same day the CVE record was published. Sources: connectwise.com/company/trus… cveawg.mitre.org/api/cve/CVE… cve.org/CVERecord?id=CVE-202… cisa.gov/news-events/alerts/… cisa.gov/known-exploited-vul… huntress.com/blog/cve-2026-8…
13
40 samples and a majority vote took PaLM-540B from 56.5% to 74.4% on GSM8K. Weight the same 40 answers by normalized probability and you get 22.1%. That's the self-consistency paper (Wang et al.). How you count the votes matters as much as how many you take. How I'd use it in production: 1. Only on tasks with a short, checkable answer: a number, a label, a yes/no. 2. Plain majority vote. No clever weighting. 3. Log the agreement rate. The paper found agreement tracks accuracy, so a split vote is your "send to a human" signal. 4. Budget it: N samples is N times the tokens. Start small and raise N only if your eval says so.
1
13
A weaker model isn't a safer agent. It's just a worse one. Put the safety in the harness: allowlist tools per task, require approval for writes and spends, cap steps and budget, log every tool call, check output against a spec before anything ships.
Stop trying to build "harmless" systems by neutering the engine - build a better harness instead. In Turing Post, Ksenia Se highlighted a pattern showing up across both AI engineering and tech leadership right now: raw capability without structure creates fragility, while knee-jerk moralizing kills progress. Look at what happens when you add a real harness instead of starting over: - In robotics & agents: ForceHarness pairs a model with force-controlled tools and physical sensor translations, jumping zero-shot success on a real-arm task from 3.3% to 90%. - In governance: After an 11-day upheaval and over $1T in market-value swings at NVIDIA, the board paired Jensen Huang's leadership with new oversight and compliance structures rather than treating power and friction as a morality play. The lesson for builders isn't pretending edge cases or rough edges don't exist. It's engineering guardrails, verification loops, and accountability around high-leverage systems so they can run safely at scale.
17
ERNIE 5.5 Flash Preview shipped 24 Nov with day-0 serving. That's not day-0 production. Before swapping it in: replay 200 of your traces, compare tool-call errors and p95 latency at your context length, plant a needle to test the long window, keep the old model behind a flag.
Congrats to @Baidu_ERNIE on releasing ERNIE 5.5 Flash Preview! SGLang is proud to power day-0 serving support. It's a 280B sparse MoE with 14B activated per token, a 1M context window, and reasoning, tool calling and a DSpark speculative draft built in. Together with the Baidu ERNIE team, we pushed BS=1 decoding from 102 to 1,074 tok/s on 4 Blackwell GPUs (55K in / 1K out, simulated DSpark acceptance length 5.5). With block size 7 it reaches ~1,310 tok/s. How we got there: TP instead of DP/EP for both attention and MoE, W4A8 routed experts, a MegaLLMoE megakernel that runs a whole MoE layer in one launch, One-Pass mHC, and communication fused straight into the compute kernels. The core kernels are open-sourced in HALOps, and FP4 / FP8 / BF16 recipes are in the cookbook. Blog and cookbook in the comments👇
35