frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

An alternative to regular expressions / regex

https://github.com/scripal-git/scripal
4•janaKal12•4h ago

Comments

janaKal12•4h ago
If you don't like them: a complete alternative to regular expressions would be Scripal. It's fast and has a very intuitive syntax with short keywords. Scripal can interpret numbers directly, uses templates, look for files, knows comments, compare phrases for similarity and much more.
Someone•2h ago
“a very intuitive syntax”

I disagree. Even the simple examples already have baffling aspects to me.

> match number ranges: match [1,200]

OK.

> match find (int[380,1400])

Hm. I guess the first one also matches floats? If so, does it match “Inf” and “NaN”? If not, what’s the difference with match[380,400]?

> match IPv4

> match ( pure[0,255] '.' pure[0,255] '.' pure[0,255] '.' pure[0,255] )

What’s the intuitive meaning of pure here? And what’s the difference between int[0,255] and pure[0,255]?

From the examples (https://github.com/scripal-git/scripal/blob/main/docs/Exampl...):

  match ( '678' )
  ifMatch { match ( isNumber[900,999]( digit digit digit ) '-' digit );}
So, what’s the intuitive difference between int[900,999] and isNumber[900,999]?

UK's NCA disputes claim it's nearly three times less efficient than the FBI

https://www.theregister.com/2025/07/14/nca_fbi_claims/
1•rntn•39s ago•0 comments

Vat and Corporate Tax Consultants Can Streamline Your Business in the UAE

https://www.ifcgroup.co/
1•ifc_dubai•4m ago•1 comments

Robot performs first realistic surgery without human help

https://hub.jhu.edu/2025/07/09/robot-performs-first-realistic-surgery-without-human-help/
1•bookofjoe•8m ago•0 comments

Maximizing Leverage in Software Systems

https://bencornia.com/blog/maximizing-leverage-in-software-systems
1•bencornia•9m ago•0 comments

We Warned About the First China Shock. The Next One Will Be Worse

https://www.nytimes.com/2025/07/14/opinion/china-shock-economy-manufacturing.html
1•magpi3•10m ago•1 comments

GPS on the fritz? Britain and France plot a backup plan

https://www.theregister.com/2025/07/14/britain_france_navigation_alternatives/
2•beardyw•11m ago•0 comments

Why Elixir Is the Best Runtime for Building Agentic Workflows

https://www.freshcodeit.com/blog/why-elixir-is-the-best-runtime-for-building-agentic-workflows
1•ViktoriiaYarosh•11m ago•0 comments

Scientists Unlock Secrets of Matter Under Extreme Conditions – Universe Today

https://www.universetoday.com/articles/scientists-unlock-secrets-of-matter-under-extreme-conditions
1•rbanffy•12m ago•0 comments

Re-implementing the Nix protocol in Rust

https://www.tweag.io/blog/2024-04-25-nix-protocol-in-rust/
1•fanf2•14m ago•0 comments

Fast memory vulnerabilities, written in 100% safe Rust

https://github.com/Speykious/cve-rs
1•rc00•14m ago•0 comments

Show HN: Explaining Model Context Protocol (MCP) and AI Agents

https://www.youtube.com/watch?v=E2DEHOEbzks
2•abhisharma2001•14m ago•0 comments

Do system prompts ruin OpenAI finetunes or is it just me?

1•rakan1•18m ago•0 comments

China enters race for LEO broadband dominance

https://spacenews.com/china-enters-race-for-leo-broadband-dominance/
2•defrost•18m ago•0 comments

AWS Free Tier now limits billing by default

https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/free-tier.html
1•ke4qqq•22m ago•0 comments

Designing for Artificial Empathy

https://dinoki.ai/blog/designing-for-artificial-empathy
1•tpae•23m ago•0 comments

The second wave of spaced repetition apps

https://hiandrewquinn.github.io/til-site/posts/the-second-wave-of-spaced-repetition-apps/
1•hiAndrewQuinn•23m ago•0 comments

If MCP is the USB-C of AI agents, A2A is their Ethernet

https://www.theregister.com/2025/07/12/ai_agent_protocols_mcp_a2a/
2•Brajeshwar•23m ago•0 comments

An AI-generated band got 1M plays on Spotify

https://www.theguardian.com/technology/2025/jul/14/an-ai-generated-band-got-1m-plays-on-spotify-now-music-insiders-say-listeners-should-be-warned
1•Brajeshwar•25m ago•1 comments

Hiding AI text prompts in academic papers to receive positive peer reviews

https://www.theguardian.com/technology/2025/jul/14/scientists-reportedly-hiding-ai-text-prompts-in-academic-papers-to-receive-positive-peer-reviews
3•belter•25m ago•0 comments

Things Not to Learn as an AI Engineer – By Paul Iusztin

https://decodingml.substack.com/p/3-things-not-to-learn-as-an-ai-engineer
1•rbanffy•26m ago•0 comments

Meta investors vs. Zuckerberg: $8B trial over alleged privacy violations

https://www.reuters.com/sustainability/boards-policy-regulation/meta-investors-zuckerberg-square-off-8-billion-trial-over-alleged-privacy-2025-07-14/
1•Brajeshwar•28m ago•0 comments

WatchWitch: Interoperability, Privacy, and Autonomy for the Apple Watch

https://arxiv.org/abs/2507.07210
1•nabla9•31m ago•1 comments

Background Remover AI: Revolutionizing Image Editing with AI

https://getaicraft.com
1•SaaSified•33m ago•1 comments

The Broadband Story Abundance Liberals Like Ezra Klein Got Wrong

https://washingtonmonthly.com/2025/07/09/the-broadband-story-abundance-liberals-like-ezra-klein-got-wrong/
1•foolswisdom•33m ago•0 comments

Elon, Three Questions [video]

https://www.youtube.com/watch?v=-5pNrt-_0bQ
2•graycat•34m ago•1 comments

Sandboxes for AI Code Execution

https://github.com/restyler/awesome-sandbox
2•jetter•34m ago•0 comments

HoloMem's drop-in holographic tape drive for LTO tape libraries

https://blocksandfiles.com/2025/07/12/holomems-drop-in-holographic-tape-cartridge-for-lto-tape-libraries/
2•rbanffy•43m ago•0 comments

Wordle-GRPO – A $100 Agent

https://github.com/RLDiary/Wordle-GRPO
1•vigneshBramesh•46m ago•0 comments

It's so on. Trump declares war on podcast bros over Epstein

https://www.damianreilly.co.uk/p/trump-declares-war-on-the-podcast
10•myrtlehinch•47m ago•3 comments

Show HN: Top Free AI Tools for Video Editing and Content Creation in 2025

https://cognitiaai.blogspot.com/2025/07/free-ai-tools-video-editing-content-creation.html
1•Cognitia_AI•48m ago•0 comments