frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Tiny and CSP-safe expression language for JavaScript

https://github.com/robinvdvleuten/xprsn
2•robinvdvleuten•1h ago
For a feature on project I was working on, I needed a simple way to have some business logic like "expressions" evaluated at runtime. I only found a handfull packages either very old (e.g. expr-eval) or very Math oriented (e.g. Mathjs).

I wanted a way to have a very simple core "compile then evaluate" package that I could easily extend with custom functions needed for the project (so in theory I could support a full Math suite).

The result is this tiny `xprsn` package, and is somewhere around 1.2kb gzipped, extracted from the closed-source project. See https://github.com/robinvdvleuten/xprsn.

Not gonna lie here, as it is mostly Fable5 effort (you probably will notice by the terse, not very human-readable precedence climbing parser. But the point was to get a tiny working package, not some heavy brain exercise of myself :)

Despite some anti AI-slop people on HN, I wanted to share it here as I still think it would be useful to others.

LM-as-a-Verifier: A General-Purpose Verification Framework

https://arxiv.org/abs/2607.05391
1•tie-in•43s ago•0 comments

Show HN: Justif – Knuth-Plass justification and microtypography for the web

https://justif.lyall.co/
1•lyall•1m ago•0 comments

Best Image Models to Train Loras On

https://mesmer.tools/blog/best-base-model-for-lora-training-2026
1•mesmertech•1m ago•1 comments

Art Doesn't Scale

https://matduggan.com/art-doesnt-scale/
1•Tyr42•2m ago•0 comments

What a ChatGPT citation is worth, and which answer engine a small site can win

https://okaneland.com/study/what-a-chatgpt-citation-is-worth/
1•ermantrout•4m ago•0 comments

Show HN: I built a feature flag service that's just a static JSON on a CDN

https://switchbox.dev
2•IP14•5m ago•0 comments

VulnHunter: Capital One's agentic AI code security tool

https://www.capitalone.com/tech/open-source/announcing-vulnhunter/
2•medina•6m ago•1 comments

Alzheimer's trial results lend momentum to strategies targeting tau

https://www.science.org/content/article/alzheimer-s-trial-results-lend-momentum-strategies-target...
1•lonelyasacloud•6m ago•1 comments

The API Report Card: 1,323 Platforms Graded

https://supergood.ai/api-report-card
1•rafaelc•6m ago•0 comments

Show HN: Qelvora, a local Mac writing tool I built by directing Codex

https://qelvora.app/
1•CDieumegard•8m ago•0 comments

If a model can vanish overnight, you never owned it. You were renting it

https://www.vladsnewsletter.com/p/open-source
1•Belkins•11m ago•0 comments

Ask HN: Is the ngrok AI gateway for real?

1•tybnty•11m ago•0 comments

Something weird is happening with airline pricing

https://milesforadventures.bearblog.dev/something-weird-is-happening-with-airline-pricing/
1•freediver•16m ago•0 comments

SpacetimeDB: A Short Technical Review

https://strn.cat/posts/spacetime/
1•courtcircuits•17m ago•0 comments

Measuring Milk Globule Sizes

https://chillphysicsenjoyer.substack.com/p/measuring-milk-globule-sizes
1•surprisetalk•17m ago•0 comments

Show HN: Swacn – Pause CLI tutorial and jump into a live VM. Need early testers

https://swacn.com
1•joshikarthikey•19m ago•0 comments

Project CETI – Listen to the sound, language, song of whales

https://listen.projectceti.org/#player-section
1•felipevb•19m ago•0 comments

The AI may have a spot in it's Jacobian representing YOU

https://author2vec.com/jlens
1•tristenharr•19m ago•0 comments

Cobble_stone (The Texture of Your Childhood)

https://github.com/Render96/Render96Wiki/wiki/cobble_stone-%28The-Texture-of-Your-Childhood%29
1•pjerem•20m ago•0 comments

Show HN: The AWS CDK, in Ruby (generated from jsii)

https://rubygems.omarqureshi.net/docs
1•omarqureshi•21m ago•0 comments

Guide to help people Transplant to the Bay from the Midwest

https://transplantfrommissouri.com/
1•tristenharr•22m ago•0 comments

Ask HN: Are you teaching your kids to program?

1•abstractbill•25m ago•1 comments

Trump Media to sell high-speed access to president's social media posts

https://www.ft.com/content/32db576f-4f53-47d2-b00c-2ad4e906952c
4•sega_sai•28m ago•0 comments

Xkcd 3109 – Dehumidifier

https://xkcd.com/3109/
3•basilikum•29m ago•0 comments

Body Bags Found Outside OpenAI HQ as Execs Increasingly Fear for Their Lives

https://gizmodo.com/body-bags-found-outside-openai-hq-as-execs-increasingly-fear-for-their-lives-...
2•bookofjoe•32m ago•0 comments

AI in scientific publishing: Slower, worse, and more expensive

https://www.science.org/doi/10.1126/science.aek5570
1•anujbans•32m ago•0 comments

I got tired of writing decisions on paper or notepad

https://dcyde.app/
1•morigar•33m ago•0 comments

Browser automation CLI built for AI agents

https://github.com/browser-act/skills
1•aanthonymax•34m ago•0 comments

AI isn't destroying entry-level jobs

https://www.ft.com/content/6cb9570b-dccd-46f5-b42a-4d0b7b5de35a
1•merksittich•36m ago•0 comments

Show HN: A hook that stops Claude Code from re-trying fixes that failed

https://github.com/anlor1002-alt/regressionledger
2•anlor1002-alt•38m ago•0 comments