Filter
Exclude
Time range
-
Near
i see a lot of hate towards AI. but you should see the regex it made to parse through documents that my colleagues generate. unbelievable.
(?i) changes case sensitivity by modifying the regex itself rather than using a processing option like //i in Perl.
29
Replying to @straceX
That's a non issue, cpp can always just introduce another method that does regex but faster. This is not new to cpp.
32
WordPress Performance w/ @_perfmatters (Script Manager) I use Perfmatters on most sites under my management. It's one of my all-time favorite plugins. When using the Script Manager feature to remove unnecessary assets from loading, "Disable Everywhere" a REGEX exception is a powerful way to go. But... Coming up with the REGEX statement can take time. Enter AI. Here's how it went down. 1. Pointed Cursor at a site and asked it to point out the biggest wins regarding assets that were loading site-wide and didn't need to. 2. Pointed Cursor at the Perfmatters Script Manager/REGEX documentation and told it to provide REGEX statements to fix items from step 1. 3. Cursor came back with both safe and aggressive REGEX statements, with a breakdown of each, as well as "testing checklist" and a detailed explanation of what each asset does, their dependencies, etc. Just as one example, if you run a WooCommerce site, you may not know that there are a significant number of assets that load site-wide that you can disable. I'll probably do a video on this. In the meantime, if you want the best deal on Perfmatters, here ya go! 👇 influencewp.com/iwp/perfmatt…

1
6
337
Replying to @SiroFitsKe
But it should have failed throughout irrespective of where the number came from (phone book or typed). Why do they have a different regex for typed numbers and another for numbers loaded from phone book.
13
Replying to @straceX
Regex is almost always the wrong solution. And if your Regex contains nested parentheses, it's the wrong solution. Learn parser combinator pattern or something.
71
me: waiting for model that do ast-grep or similar instead of model that grep with regex pattern
good stuff from microsoft: 4B model just to explore code bases, cutting token costs by 10-50% (!!!) while the performance of the big model stays the same :)
9
g: „Regex sucht Muster im Text. Яe[⅁]Σx findet Muster iЛ Leser.?!“
2
Replying to @adxtyahq
Usually a hybrid approach works Common regex validation as fallbacks or primary with slm validation
14
Building Docs for the AI Era, Part 1: Self-Healing Docs In this guide, @pwizla shares how Strapi uses AI, GitHub Actions, and progressive cost gating: 🚀 How Strapi built a nightly pipeline that watches every code change and auto-generates doc PRs when needed 💡 Progressive cost gating: regex first, cheap AI for triage, capable model only when justified ✅ 2 months in production — 213 PRs scanned, 22 doc PRs generated 👉 Read more: strapi.link/4eMEzy3
1
189
MIT CSAIL showed that long-context reasoning may be better treated as an inference-time operating-system problem than a bigger-window problem. Instead of forcing the model to remember everything, RLMs let the model inspect external context with code, recursively delegate subproblems, and pull only the relevant working set into active attention. That is both more accurate and more impressive. The paper is real: Recursive Language Models, by Alex L. Zhang, Tim Kraska, and Omar Khattab of MIT CSAIL, was submitted to arXiv on December 31, 2025 and last revised on May 11, 2026. The paper describes RLMs as an inference paradigm that treats long prompts as part of an external environment, letting the model programmatically examine, decompose, and recursively call itself over snippets of the prompt. The biggest fix: stop saying “they solved AI memory” That line is viral, but it is technically weak. RLMs do not solve memory in the persistent, human-like, lifelong-agent sense. They solve a narrower but extremely important problem: how to reason over inputs that are too large or too damaging to stuff into a single model context window. Better phrasing: MIT CSAIL did not solve memory by making the model remember more. They changed the interface. The document stops being “memory” and becomes an external environment the model can inspect. Even better: RLMs turn long context from a passive attention problem into an active navigation problem. That is the thesis. Stronger core version MIT CSAIL may have just reframed the context-window war.For years, AI labs have chased larger context windows: 32K, 200K, 1M, 2M tokens. The assumption was simple: if the model can hold more text, it can reason over more reality.But long context has a hidden failure mode: context rot. As prompts grow, models often become less reliable at using the information already inside them. They may have the tokens, but they do not have stable access to the right facts at the right time.Recursive Language Models attack the problem differently. Instead of pushing an entire document into the model’s context window, they store the input outside the model — for example, as a variable in a Python REPL. The root model receives the question and a way to inspect that external context. It can search, slice, grep, transform, and delegate smaller sections to sub-model calls before synthesizing the answer.The result is not “infinite memory.” It is something more practical: an AI that knows how to look. That version keeps the drama but removes the brittle claims. Most important accuracy corrections 1. The idea did not suddenly appear only on December 31 The arXiv paper was submitted on December 31, 2025, but the authors’ project page says the original RLM idea and experiments were proposed earlier in a 2025 blog post, with the expanded results later in the arXiv preprint. The GitHub README says the same: initial experiments came from a 2025 blogpost, with expanded results in the arXiv preprint. Better line: The full arXiv paper landed on December 31, 2025, after an earlier 2025 research blog post had already sketched the paradigm. 2. “No API costs” is wrong The code is open source, but RLMs still call underlying models. The paper’s evaluations use GPT-5 and Qwen3-Coder as base models, and the GitHub examples show RLMs wrapping standard API-based or local LLMs. So the framework may reduce or redirect token costs, but it does not magically remove model costs. Replace: No API costs. With: The framework is open source, but production use still pays for whatever root and sub-model calls it makes. 3. “Drop it in and your app does not notice” needs caveats The repo does say RLMs can replace a normal llm.completion(prompt, model) call with rlm.completion(prompt, model), but production use is not trivial because the default local REPL uses Python exec on the host process. The README explicitly warns that non-isolated environments can be problematic when prompts or tools interact with malicious users, and lists isolated environments such as Docker, Modal, Prime, Daytona, and E2B. Better line: At the API boundary, RLMs can look like a drop-in replacement. In production, the hard part is sandboxing, logging, latency control, cost caps, and preventing the model from executing unsafe code. 4. “No information loss” is too absolute RLM avoids forced summarization loss because the original input remains externally accessible. But the model can still fail to search the right thing, choose the wrong decomposition, over-delegate, under-delegate, or synthesize incorrectly. The paper’s own limitations section says the optimal implementation remains underexplored, the experiments used synchronous sub-calls and recursion depth one, and current models are inefficient decision-makers over their context. Better line: The source text stays intact. The failure mode shifts from “the model forgot” to “the model searched, decomposed, or synthesized badly.” That is a much more sophisticated insight. The strongest single thesis The context-window war was trying to make models remember more. RLMs ask a better question: what if the model should not remember the library — what if it should know how to use one? That sentence should be the heart of the piece. Better headline options Most viral: MIT Did Not Make AI Remember More. It Taught AI Where to Look. Most technical: Recursive Language Models Turn Long Context Into an External Environment Most founder-facing: The Next AI Memory Layer May Not Be a Bigger Context Window Most contrarian: Bigger Context Windows Were Only Half the Answer Most cinematic: The End of Shoving the Library Into the Brain Most accurate and punchy: RLMs Reframe AI Memory as Navigation, Not Storage Better opening hooks Hook 1 MIT CSAIL did not solve long-context AI by building a bigger window. They opened a door. Hook 2 The breakthrough is almost insulting in its simplicity: stop making the model read the whole archive. Give it tools to search the archive. Hook 3 The last five years of AI memory research asked, “How much text can we fit inside the model?” RLMs ask, “Why is the text inside the model at all?” Hook 4 Human experts do not answer questions by holding an entire library in working memory. They search, inspect, compare, delegate, and synthesize. RLMs bring that pattern to LLM inference. Best rewritten version MIT CSAIL just made the context-window war look less inevitable.The new paper is called Recursive Language Models. The idea is brutally simple: stop forcing a model to hold the whole document in its context window.Store the long input outside the model — for example, as a variable in a Python REPL. Give the model a question, tell it the external context exists, and let it inspect the data programmatically.It can search with regex. Slice sections. Count structure. Grep for clues. Transform the text. Pull in only the pieces it needs. And when a section is too large or too semantically dense, it can call smaller sub-models on those snippets and synthesize their results.That changes the problem from memory to navigation.A normal long-context model tries to answer while drowning in everything. A RLM behaves more like an expert with a library, a terminal, and a team of assistants.The paper reports that RLMs handled inputs up to two orders of magnitude beyond model context windows and outperformed base LLMs and common long-context scaffolds across several long-context tasks, while keeping costs comparable or cheaper in many cases.The important lesson is not “context windows are dead.” Bigger windows still matter. The lesson is sharper:The future of AI memory is not just larger attention. It is active context management. Genius-level positioning upgrade The current draft frames this as a “bigger brain vs smaller brain” story. That is good, but the deeper frame is: RLMs are out-of-core algorithms for language models. The paper itself draws inspiration from out-of-core algorithms: systems with small, fast memory can process much larger datasets by intelligently fetching what they need. That analogy is excellent and should be brought to the surface. Use this: Databases solved this problem decades ago. You do not load the entire warehouse into RAM. You keep the data outside, index it, query it, page in the relevant pieces, and compute over the working set.RLMs apply that same idea to language models. That is the killer technical analogy. The best metaphor Do not say: They gave AI infinite memory. Say: They gave AI a file system. Or: They stopped treating context like RAM and started treating it like disk. Or: They turned the model from a reader into a researcher. Best final metaphor: A long-context model is a person trying to memorize a library. A RLM is a person who knows how to use the library catalogue. Missing concept: “context as environment” This phrase should appear early. It is the actual conceptual breakthrough. The paper’s core move is that the long prompt is not fed directly into the Transformer. It becomes part of the environment, represented as a variable inside a REPL that the model can inspect and manipulate. Add: The key move is ontological: the prompt stops being text inside the model and becomes an object outside the model. That is a deep and memorable line. Missing concept: “attention is expensive; navigation is cheap” This is one of the best hidden ideas. A model attending over millions of tokens is expensive and unreliable. But searching a string with code is cheap, exact, and deterministic. RLMs exploit that asymmetry: Let code do what code is good at: search, filter, count, slice, transform. Let the model do what models are good at: semantic judgment, decomposition, synthesis, ambiguity handling. This should be framed as cognitive specialization. Missing concept: “the model’s context becomes a control plane” In normal prompting, the context is both data and instructions. In RLMs, the root model’s context becomes more like a control plane: Data plane: external prompt / documents / codebase Control plane: root model deciding what to inspect Worker plane: sub-model calls over bounded snippets Execution plane: Python REPL / tools / deterministic code Synthesis plane: final answer That is a powerful systems framing. Suggested line: RLMs separate the control plane from the data plane. The root model does not need to carry the whole archive. It needs to orchestrate access to it. Missing concept: “RAG was retrieval before understanding; RLM is retrieval during reasoning” This is the best RAG comparison. The current draft says RAG is a compromise. True, but make the contrast cleaner: Classic RAG: A retriever chooses chunks before the model fully reasons about the problem. RLM: The model can iteratively decide what to inspect as its understanding evolves. Use this: RAG retrieves before reasoning. RLM retrieves as part of reasoning. That is concise and brilliant. Add nuance: RLM does not make RAG obsolete. It absorbs retrieval into an agentic loop where search, inspection, decomposition, and verification can happen repeatedly. Missing concept: “failure mode migration” This is a key advanced insight. RLMs do not remove failure. They move it. Old failure modes: Context rot Lost-in-the-middle Truncation Bad chunking Lossy summarization Retriever misses Huge token bills New failure modes: Bad search strategy Unsafe code execution Tool abuse Recursive overthinking Latency spikes Cost variance Incorrect decomposition Bad synthesis from good sub-results Sandbox escape risk Prompt injection through external documents Insufficient observability into sub-call trajectories This makes the piece much more credible. Add a “what actually happened in the benchmark” section The paper evaluated RLMs across tasks including CodeQA, BrowseComp-Plus, OOLONG, and OOLONG-Pairs, with input lengths ranging from tens of thousands of tokens to 6M–11M tokens in the BrowseComp-Plus setup. The reported table shows GPT-5 RLM outperforming GPT-5 base calls and other scaffolds on several tasks, including 91.33 on BrowseComp-Plus versus 0.00 for the base model where the base model hit input limits, and 58.00 F1 on OOLONG-Pairs versus 0.04 for base GPT-5. But the draft’s line about “GPT-5 on a benchmark requiring complex code history beyond 75,000 tokens could not solve even 10%” is not safely supported by the table as written. The CodeQA row in the paper reports GPT-5 base at 24.00 with an input-limit marker, not below 10%. The “near-zero” collapse is more accurate for BrowseComp-Plus under input limits and OOLONG-Pairs F1. Better wording: On some of the hardest long-context setups, base frontier models either hit input limits or collapsed to near-zero performance, while RLM versions remained useful. The most dramatic example is OOLONG-Pairs, where GPT-5 base scored near zero while the RLM version reached 58.00 F1. Add the caveat that small contexts may not need RLM The paper explicitly notes that the base LM can outperform RLMs in the small-input regime, suggesting there is a tradeoff point for when to use an RLM rather than a direct model call. This is crucial. Suggested line: RLM is not automatically better for every prompt. For short, simple inputs, the overhead can hurt. The win appears when the task is long, information-dense, or decomposition-heavy. That line makes you sound like you actually understood the work. Add Prime Intellect accurately Prime Intellect really did publish a post calling RLM a major research focus and arguing that teaching models to manage context end-to-end through reinforcement learning could enable long-horizon agents working over weeks or months. They also describe using Python, sub-LLMs, and sandboxed execution to let models manage context without stuffing all data into the main context window. Better line: Prime Intellect called RLM a major research focus and is betting that RL-trained context management is the next step: models that learn when to search, when to delegate, when to compress, when to branch, and when to stop. Add recent follow-on work Since the original paper, follow-on work has already started probing the weak points. One March 2026 reproduction found that depth-1 RLMs can boost accuracy on complex reasoning tasks, but deeper recursion can cause models to “overthink,” degrading performance and inflating execution time and token costs. Another March 2026 paper argued that RLM success depends heavily on how context-interaction programs are selected, and introduced self-reflective program search to improve over RLM under the same time budget. A separate March 2026 λ-RLM paper criticized open-ended REPL control as hard to verify and proposed a typed functional runtime with pre-verified combinators, reporting better reliability and latency than standard RLM in its experiments. This gives you a more mature angle: The first RLM paper opened the door. The next race is not “who has the biggest context window?” It is “who can train the best context manager?” Stronger “why this matters” section The breakthrough matters because it attacks three bottlenecks at once: 1. Context quality The model no longer has to attend over every irrelevant token. 2. Cost shape The system can spend tokens only where useful instead of paying to ingest everything. 3. Agent duration Long-running agents need to manage history, files, logs, search results, tests, and tool traces. Bigger windows delay collapse; active context management may prevent it. The paper shows that RLM costs can be comparable or cheaper in median cases, but also warns that cost and runtime have high variance because different trajectories can take very different numbers of steps. Add a production architecture This is a missing “genius-level” element. Turn RLM into an implementation blueprint: User query ↓ Root model ↓ Context environment - documents - codebase - logs - database rows - embeddings - search indexes - previous run traces ↓ Programmatic tools - regex - AST parser - grep - SQL - BM25 - vector search - diff tools - test runner ↓ Sub-model calls - file analyst - contradiction checker - evidence extractor - code reviewer - legal clause reader - timeline builder ↓ Verifier - citations - tests - consistency checks - source coverage ↓ Final synthesis This turns the concept into a product roadmap. Add a “when to use RLM” matrix Use caseRLM fitWhy10-page document Q&ALowDirect context is simpler500-page legal contractHighNeed targeted search and clause synthesisFull codebase migrationHighNeed navigation, grep, AST, tests, subagentsSimple summarizationMedium-lowSummarization baseline may be enoughMulti-hop research over many docsHighIterative retrieval beats one-shot retrievalExact extractionHighCode search can be deterministicCreative writingLowLong external context may not helpSecurity log analysisHighSearch, filtering, and anomaly isolation matterLong-running coding agentVery highContext history needs externalizationTiny promptLowRLM overhead may hurt Add an “RLM beats RAG when…” section RLM is most useful when: The answer requires several passes over the data. The relevant evidence is not known before reasoning starts. The query changes as the model learns more. Distant sections interact. The document has structure that code can exploit. The task benefits from exact operations: grep, count, parse, diff, sort, filter. The output needs verification. The input is too large or too noisy to fully ingest. RAG may still be better when: The query is simple. The corpus is already indexed well. The answer lives in one or two obvious chunks. Latency must be extremely low. You cannot safely run code. You need deterministic retrieval with strict governance. Add the security section This is a major missing element. RLMs are powerful because the model can write code. That is also the danger. The GitHub README says the default local environment runs through Python exec and should not be used for production settings; it recommends isolated environments for risky cases. Add: The production version of RLM is not “give the model a terminal and pray.” It needs sandboxing, filesystem controls, network controls, execution timeouts, package restrictions, audit logs, output caps, and prompt-injection defenses. Production checklist: Sandbox every REPL. Disable network by default. Mount input data read-only. Set CPU, memory, and wall-clock limits. Limit printed output per tool call. Require allowlisted packages. Log every code cell and sub-call. Hash the external context. Track token and dollar budgets. Run deterministic verifiers where possible. Use separate credentials per run. Prevent sub-calls from receiving secrets. Add prompt-injection scanning for external documents. Add “RLM observability” This could become a killer product feature. Every RLM answer should ship with a trace: What did it search? Which slices did it inspect? Which sub-models did it call? What did each sub-model answer? Which evidence supported the final answer? What code did it execute? What was ignored? How much did each step cost? Where did it change its mind? The GitHub repo already includes optional trajectory metadata, logging, and a visualizer for reconstructing RLM runs. Suggested line: The answer is not the product. The trace is the product. That is especially true for legal, finance, code, medicine, compliance, and research. Add “the next benchmark should not be long context; it should be long work” Most long-context benchmarks test whether a model can answer from a big prompt. But agents need to survive long workflows. Suggested benchmark ideas: 1. Month-long repo benchmark Agent must fix issues across a simulated month of commits, tests, regressions, and changing requirements. 2. Litigation discovery benchmark Millions of tokens of emails, exhibits, contracts, and depositions. Task: build timeline, identify contradictions, cite evidence. 3. Scientific literature synthesis benchmark Thousands of papers with contradictory findings. Task: produce a review with uncertainty and evidence maps. 4. Incident-response benchmark Logs, tickets, code diffs, alerts, and chat transcripts. Task: find root cause and propose remediation. 5. Product-memory benchmark Agent maintains a project over weeks: specs, customer feedback, design docs, bugs, launch changes. 6. Long-output construction benchmark Not just answer a question — produce a correct artifact larger than the base model’s output limit. This connects to the paper’s point that RLMs may scale both effective input and output length by storing and passing intermediate outputs through variables. Better critique of “context window wars are over” Do not say: The context window wars are over. Say: The context-window war just became a two-front war. Because bigger windows still matter. Prime Intellect explicitly argues that efficient attention and context folding are both needed for long-running agents: better attention delays context rot, while context folding lets models actively manage context beyond what attention alone can do. Better ending: The winner will not be the lab with the biggest window. It will be the lab whose models know what to keep, what to fetch, what to delegate, what to verify, and what to forget. Obscure but powerful angle: “RLM is a cognitive prosthesis, not memory” This is philosophically clean. Human intelligence is not just brain capacity. It is notebooks, search, libraries, colleagues, calculators, maps, calendars, and procedures. RLMs push AI in that direction. Use: RLM is not artificial memory. It is artificial scholarship. Or: It does not make the model omniscient. It gives the model research habits. Obscure but powerful angle: “from monolithic inference to recursive inference” The draft should emphasize that this changes the unit of inference. Old unit: One prompt in, one model call out. New unit: One root call orchestrating many bounded calls over external state. That is a major architectural shift. Suggested phrase: The model call becomes a computation graph. Obscure but powerful angle: “anti-forgetting by non-ingestion” Most memory systems try to decide what to keep. RLM’s trick is: do not ingest most of it in the first place. Use: The cleanest way to stop a model from forgetting a fact is to stop asking it to remember the fact until it needs it. That is a banger. Obscure but powerful angle: “working memory vs reference memory” The draft should distinguish: Working memory: what the model actively attends to. Reference memory: what remains externally accessible. Episodic memory: previous tool traces and decisions. Procedural memory: strategies for searching and decomposing. Semantic memory: durable knowledge or indexed documentation. RLM mainly improves the relationship between working memory and reference memory. Suggested line: RLMs do not erase the need for memory systems. They clarify the hierarchy: keep working memory small, reference memory exact, and procedural memory trainable. Add “what models need to learn next” The paper’s future-work section says explicitly training models to be used as RLMs could improve performance because current models are inefficient decision-makers over their context. Training targets: When to search. When to read sequentially. When to call sub-models. When to use code instead of language. When to stop. When to verify. How much context to show a sub-model. How to combine sub-results. How to avoid redundant calls. How to estimate uncertainty. How to manage a budget. How to produce a trace. Best line: The next frontier is not larger context. It is learned context policy. Add “what could kill RLM adoption” This is the missing sober section. RLMs could fail in production if: Latency is too high. Cost variance is hard to cap. Sandboxing is difficult. Tool traces are hard to debug. Models over-search or under-search. Sub-calls create inconsistent answers. Security teams reject arbitrary code generation. Short-context workloads do not justify orchestration overhead. Vendors integrate similar ideas natively and erase the library-level advantage. Benchmarks overstate gains on tasks where regex/search is unusually helpful. That last point matters. If a benchmark rewards string search, RLM will look incredible. The true test is semantically dense, adversarial, cross-document reasoning where the search terms are not obvious.

MIT just made every AI company's billion dollar bet look embarrassing. They solved AI memory. Not by building a bigger brain. By teaching it how to read. The paper dropped on December 31, 2025. Three MIT CSAIL researchers. One idea so obvious it hurts. And a result that makes five years of context window arms racing look like the wrong war entirely. Here is the problem nobody solved. Every AI model on the planet has a hard ceiling. A context window. The maximum amount of text it can hold in working memory at once. Cross that line and something ugly happens — something researchers have a clinical name for. Context rot. The more you pack into an AI's context, the worse it performs on everything already inside it. Facts blur. Information buried in the middle vanishes. The model does not become more capable as you feed it more. It becomes more confused. You give it your entire codebase and it forgets what it read three files ago. You hand it a 500-page legal document and it loses the clause from page 12 by the time it reaches page 400. So the industry built a workaround. RAG. Retrieval Augmented Generation. Chop the document into chunks. Store them in a database. Retrieve the relevant ones when needed. It was always a compromise dressed up as a solution. The retriever guesses which chunks matter before the AI has read anything. If it guesses wrong — and it does, constantly — the AI never sees the information it needed. The act of chunking destroys every relationship between distant paragraphs. The full picture gets shredded into fragments that the AI then tries to reassemble blindfolded. Two bad options. One broken industry. Three MIT researchers and a deadline of December 31st. Here is what they built. Stop putting the document in the AI's memory at all. That is the entire idea. That is the breakthrough. Store the document as a Python variable outside the AI's context window entirely. Tell the AI the variable exists and how big it is. Then get out of the way. When you ask a question, the AI does not try to remember anything. It behaves like a human expert dropped into a library with a computer. It writes code. It searches the document with regular expressions. It slices to the exact section it needs. It scans the structure. It navigates. It finds precisely what is relevant and pulls only that into its active window. Then it does something that makes this recursive. When the AI finds relevant material, it spawns smaller sub-AI instances to read and analyze those sections in parallel. Each one focused. Each one fast. Each one reporting back. The root AI synthesizes everything and produces an answer. No summarization. No deletion. No information loss. No decay. Every byte of the original document remains intact, accessible, and queryable for as long as you need it. Now here are the numbers. Standard frontier models on the hardest long-context reasoning benchmarks: scores near zero. Complete collapse. GPT-5 on a benchmark requiring it to track complex code history beyond 75,000 tokens — could not solve even 10% of problems. RLMs on the same benchmarks: solved them. Dramatically. Double-digit percentage gains over every alternative approach. Successfully handling inputs up to 10 million tokens — 100 times beyond a model's native context window. Cost per query: comparable to or cheaper than standard massive context calls. Read that again. One hundred times the context. Better answers. Same price. The timeline of the arms race makes this sting harder. GPT-3 in 2020: 4,000 tokens. GPT-4: 32,000. Claude 3: 200,000. Gemini: 1 million. Gemini 2: 2 million. Every generation, every company, billions of dollars spent, all betting on the same assumption. More context equals better performance. MIT just proved that assumption was wrong the entire time. Not slightly wrong. Fundamentally wrong. The entire premise of the last five years of context window research — that the solution to AI memory was a bigger window — was the wrong answer to the wrong question. The right question was never how much can you force an AI to hold in its head. It was whether you could teach an AI to know where to look. A human expert handed a 10,000-page archive does not read all 10,000 pages before answering your question. They navigate. They search. They find the relevant section, read it deeply, and synthesize the answer. RLMs are the first AI architecture that works the same way. The code is open source. On GitHub right now. Free. No license fees. No API costs. Drop it in as a replacement for your existing LLM API calls and your application does not even notice the difference — except that it suddenly works on inputs it used to fail on entirely. Prime Intellect — one of the leading AI research labs in the space — has already called RLMs a major research focus and described what comes next: teaching models to manage their own context through reinforcement learning, enabling agents to solve tasks spanning not hours, but weeks and months. The context window wars are over. MIT won them by walking away from the battlefield. Source: Zhang, Kraska, Khattab · MIT CSAIL · arXiv:2512.24601 Paper: arxiv.org/abs/2512.24601 GitHub: github.com/alexzhang13/rlm
2
358
Just nailed a new Python regex practice quiz! Took 15 mins to fix the last tricky pattern, small win that makes coding feel less scary tonight. #LearnToCode #PythonBasics
1
Funny update on this Ended up changing the architecture instead of replacing regex with an SLM. Turns out the parser wasn't the bottleneck but the retrieval quality. After improving retrieval, validating every claim against source text, and moving business logic into deterministic code, the need for fallbacks almost disappeared. Latest benchmark: 50/50 passed, 0 SLM fallbacks, 0 regex fallbacks.
Working on a multi-agent, multi-tool system Right now, the main result comes from an LLM and then goes through a parsing/validation layer (mostly regex rules). the weird part is that the LLM often gets the answer right, but the parser still fails and breaks the flow Haven't tried putting an SLM in the validation/extraction step yet For those who've built similar systems: do you prefer an SLM for structured extraction/validation, or are regex deterministic checks usually enough?
3
30
1,129
Others: * Dusted off good old Regex macOS app, submitted, approved. Review turnaround was quick, but still not too sure about having to go through approvals again #buildinpublic 4/4
18
Bonus Regex Filters: Queries containing years (2024|2025|2026) Queries containing numbers.*\d .* Question-like long tails ^(how|what|why|when|where).{15,} Product model searches (pro|max|ultra|plus|mini|air|gen|generation) Alternative-seeking users (alternative|alternatives|replacement|instead of|competitor)
13
Stop asking AI to classify search intent. Google already told you. GSC query report is full of hidden content ideas, CRO opportunities, comparison pages, FAQs, and buying intent. Use regex filters instead. Learning Intent: People trying to understand something. (how|guide|tutorial|learn|explained|meaning|definition|example|examples|tips|tricks|strategy|strategies|beginner|beginners|course|courses|training|what is|why does|when should|how does) Comparison Intent: Users evaluating options. (vs|versus|compare|comparison|alternative|alternatives|better|best|worst|difference|differences|compare to|competitor|competitors|similar|instead of|replacement) Usually some of the highest-converting informational queries. These deserve dedicated comparison pages. Purchase Intent (buy|purchase|price|pricing|cost|deal|discount|coupon|offer|sale|shop|store|near me|online|order|book|quote|subscription|plans|package) Review & Trust Intent : People looking for reassurance. (review|reviews|rating|ratings|testimonial|testimonials|experience|feedback|pros and cons|worth it|legit|scam|reliable|trustworthy) Brand Queries: Find everyone searching specifically for you. Replace YOURBRAND with your brand name. \b(YOURBRAND|YOUR BRAND NAME)\b Then compare: CTR Position Conversion rate Against non-brand traffic. Most sites discover brand traffic performs completely differently. Local Intent: Often overlooked. \b(near me|closest|nearby|location|locations|city|area|open now|contact|phone number|directions)\b Useful for: Local SEO GBP optimization City pages Question Queries: The easiest content opportunities. ^(who|what|when|where|why|which|can|could|should|would|does|do|is|are)\b Questions often become: Featured snippets People Also Ask results AI Overviews citations Problem / Troubleshooting Queries: Goldmine for support content. (error|issue|issues|problem|problems|fix|fixed|not working|broken|failed|failure|troubleshoot|unable|cannot|can't) These usually convert far better than expected because urgency is high. SaaS / Tool Intent: Particularly useful for software companies. (tool|tools|software|platform|app|application|system|solution|service|services) Long-Tail Opportunities: Queries with 5 words. (\S \s ){4,}\S High Commercial Intent Modifiers: Filter these separately. (best|top|cheap|affordable|premium|enterprise|professional|recommended|popular) AI Search Opportunity Queries: (chatgpt|gpt|gemini|claude|ai tool|ai tools|artificial intelligence|llm) My favorite workflow Export GSC queries Run each regex bucket separately Sort by impressions Sort by clicks Sort by CTR Sort by position 8-20 That's where most easy wins hide.
2
73
Replying to @adxtyahq
Depends on the output, if the output remains similar for every iteration, regex is cool enough..
36
Never heard the old adage - "You have a problem, the answer is 'use a regex'. Now you have two problems." Little Bobby Tables might come as a shock as well then.
I’m getting very close to banning agents from using regular expressions in generated code. About 95% of the time, when I see one appear in a diff, it’s a sign that something has gone terribly wrong.
3