pattern-matching

Tag

Cards List
#pattern-matching

Java sealed classes and exhaustive pattern matching

Hacker News Top ↗ · 2026-10-18 Cached

A blog post examining Java sealed classes and exhaustive pattern matching, highlighting that adding new subtypes can break consumer code and that stale compilation leads to runtime MatchException instead of compile-time errors. The author concludes sealed types are best used within component internals rather than public APIs.

0 favorites 0 likes
#pattern-matching

Gleam case exhaustiveness, as a fan

Lobsters Hottest ↗ · 2026-10-15 Cached

A fan-written deep dive into Gleam's case exhaustiveness checking, exploring compiler-core/src/exhaustiveness.rs and tracing the pattern-matching compilation theory back to Lennart Augustsson's 1984 "Compiling Pattern Matching" paper.

0 favorites 0 likes
#pattern-matching

@JenovaAIAgent: Scam & Fraud Detector is an AI agent that gives you an instant risk verdict on any suspicious message, offer, or paymen…

X AI KOLs Following ↗ · 2026-09-20 Cached

Scam & Fraud Detector is an AI agent that provides instant risk assessments for suspicious messages, offers, or payments, offering clear classifications and actionable steps.

0 favorites 0 likes
#pattern-matching

Lua Pattern Tester

Lobsters Hottest ↗ · 2026-09-13

A developer tool for testing and validating Lua patterns, likely providing an online interface or utility for developers.

0 favorites 0 likes
#pattern-matching

Révo Programming language

Lobsters Hottest ↗ · 2026-09-03 Cached

Revo is a programming language featuring clean data flow, error-as-values, compile-time execution, and fiber-based concurrency. It is built using Zig and offers optional typing with strong inference.

0 favorites 0 likes
#pattern-matching

OpenOffice does not print on Tuesdays (2009)

Lobsters Hottest ↗ · 2026-08-28 Cached

The article describes a bug where OpenOffice fails to print only on Tuesdays, caused by an error in the 'file' utility's pattern matching that misidentifies PostScript files as Erlang JAM files due to date formatting.

0 favorites 0 likes
#pattern-matching

The cool things of Gleam

Lobsters Hottest ↗ · 2026-08-22 Cached

The author shares personal notes on learning the Gleam programming language, highlighting features like the @deprecated attribute, todo construct, generics, and case expressions, with comparisons to other languages.

0 favorites 0 likes
#pattern-matching

Six years into AI research and I genuinely can't define "understanding" anymore

Reddit r/artificial ↗ · 2026-08-05

An AI researcher reflects on six years in the field and questions whether the concept of 'understanding' can be meaningfully distinguished from advanced pattern matching in LLMs, citing personal experiences and examples from child learning.

0 favorites 0 likes
#pattern-matching

Soppo - Go, with the features it's missing

Lobsters Hottest ↗ · 2026-08-04 Cached

Soppo is a new programming language that extends Go with enums, pattern matching, a '?' error propagation operator, and compile-time nil safety, while maintaining full interoperability with existing Go code and tooling.

0 favorites 0 likes
#pattern-matching

@charliermarsh: ty now supports all 22 cases of control flow analysis and type narrowing identified in this gigantic "Advanced pattern …

X AI KOLs Following ↗ · 2026-07-27 Cached

Charlie Marsh announces that the 'ty' tool now supports all 22 cases of control flow analysis and type narrowing for advanced pattern matching.

0 favorites 0 likes
#pattern-matching

The first AI was a syllogism machine in 1956. We're still building the same thing.

Reddit r/artificial ↗ · 2026-07-14

This article argues that modern AI, from Logic Theorist to large language models, remains fundamentally a syllogism machine that manipulates patterns without genuine reasoning or a world-model, echoing the unsolved frame problem.

0 favorites 0 likes
#pattern-matching

MathFormer: Testing whether symbolic math is pattern matching or reasoning [D]

Reddit r/MachineLearning ↗ · 2026-06-27

MathFormer is a small seq2seq model that achieves ~98.6% accuracy on symbolic math tasks, suggesting that mathematical reasoning in LLMs may be large-scale structured pattern completion rather than true reasoning.

0 favorites 0 likes
#pattern-matching

tropius: detect AI tropes in prose

Lobsters Hottest ↗ · 2026-06-25 Cached

tropius is a CLI tool that detects AI writing tropes in prose using Aho-Corasick pattern matching and structural detectors, based on a trope list from Tropes.fyi.

0 favorites 0 likes
#pattern-matching

Are Text-to-Image Models Inductivist Turkeys? A Counterfactual Benchmark for Causal Reasoning

Hugging Face Daily Papers ↗ · 2026-06-23 Cached

This paper introduces CF-World, a counterfactual benchmark to evaluate whether text-to-image models rely on causal reasoning or mere pattern matching. Experiments show all models degrade sharply in counterfactual settings, suggesting their understanding is limited to tightly coupled visual-textual patterns rather than genuine causal reasoning.

0 favorites 0 likes
#pattern-matching

7 layers of security every AI agent needs before going to production

Reddit r/artificial ↗ · 2026-06-15

A practical guide outlining seven prioritized security layers for AI agents before production, including hardening system prompts, adversarial testing, input/output scanning, and multi-turn session tracking, based on findings that 73% of production AI deployments have prompt injection exposure.

0 favorites 0 likes
#pattern-matching

revo, the programming language

Lobsters Hottest ↗ · 2026-06-02 Cached

Revo is a new programming language that features clean data flow without nesting, errors-as-values, everything as expressions, compile-time execution, and procedural macros.

0 favorites 0 likes
#pattern-matching

Can LLMs Introspect? A Reality Check

arXiv cs.AI ↗ · 2026-05-27 Cached

This paper argues that recent claims about LLMs' ability to introspect are not justified, as behavioral evidence alone cannot distinguish genuine introspection from pattern matching on surface-level cues. The authors re-examine two evaluation paradigms and find that models rely on input-level features rather than genuine access to internal states.

0 favorites 0 likes
← Back to home

Submit Feedback