frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•11mo ago
I've written a Jsonnet interpreter in Jsonnet.

A few years ago I wrote a code generator for Jsonnet (crdsonnet [1]) and found templating insufficient. This lead me to create a JSON Schema for the language along with a library[2] that can manifest the expressions reliably. I was unaware that this was an intermediate representation (in the world of interpreters). Fun fact: while cdrsonnet uses astsonnet to generate code, astsonnet is partially generated by crdsonnet.

Last year I got curious and wrote a parser, first without a lexer (I didn't knew I needed it) and later with a lexer (Oh, did my code got way more manageable). The code gets parsed into this intermediate representation, with other words using JSON Schema as a type system for Jsonnet.

This year I got curious again and tried to execute the code from within Jsonnet as well, past weekend I finally reached a point where I could reliably execute most of the test cases from the go-jsonnet repository.

It was an interesting learning experience and it gave me a much deeper understanding of how programming languages work in general.

[1] https://github.com/crdsonnet/crdsonnet

[2] https://github.com/crdsonnet/astsonnet

Shared Agent Harness

https://github.com/goncalossilva/.agents
1•ankitg12•4m ago•0 comments

Rspack 2.0

https://rspack.rs/blog/announcing-2-0
2•0x1997•9m ago•0 comments

The Free Universal Construction Kit

https://fffff.at/free-universal-construction-kit/
1•robinhouston•9m ago•0 comments

Force all app traffic into the tunnel in the iOS app

https://mullvad.net/en/blog/force-all-app-traffic-into-the-tunnel
1•eptcyka•10m ago•0 comments

Run Commands on File Event

https://evilcookie.de/on-run-commands-on-file-event.html
1•Tch1b0•11m ago•0 comments

Viewing One's Live Self Interrupts Mindless Short-Form Video Scrolling

https://arxiv.org/abs/2604.19424
2•50kIters•12m ago•0 comments

When the pronoun "they" breaks your RAG pipeline

https://old.reddit.com/r/Rag/comments/1spro5f/when_the_pronoun_they_breaks_your_rag_fixing/
1•HarinezumIgel•15m ago•0 comments

What Makes Docs Beautiful?

https://passo.uno/what-makes-docs-beautiful/
1•eigenBasis•15m ago•0 comments

CrabTrap

https://github.com/brexhq/CrabTrap/
1•handfuloflight•19m ago•0 comments

Pixi: One Package Manager for Python and C/C++ Libraries

https://codecut.ai/uv-pixi-comparison/
1•lululpac•19m ago•0 comments

What's new in JavaScript (and what's coming next)

https://neciudan.dev/whats-new-in-javascript
1•theanonymousone•21m ago•0 comments

Emergency Prices: How Private Equity Captured the Ambulance Market

https://www.thebignewsletter.com/p/code-red-why-your-city-cant-affordor
1•xbmcuser•25m ago•1 comments

Gist.Science – Popular Science for All ArXiv/BioRxiv/MedRxiv Papers

https://gist.science/
1•gistscience•25m ago•0 comments

Roundtables: Unveiling the Things That Matter in AI

https://www.technologyreview.com/2026/04/21/1135486/roundtables-unveiling-the-10-things-that-matt...
1•joozio•26m ago•0 comments

Aspirin can reduce the risk of cancer – and we're starting to understand why

https://www.bbc.com/future/article/20260420-cancer-how-aspirin-may-be-a-powerful-new-weapon-again...
1•ranit•31m ago•0 comments

Show HN: A P2P Network Where Agents Collaborate on Code Optimization

https://community.computer/
2•lftherios•33m ago•0 comments

High Performance Git

https://gitperf.com/
1•handfuloflight•34m ago•0 comments

Geo Content Writer: a backlog-first system for AI visibility content

https://github.com/dageno-agents/geo-content-writer
3•timdageno•36m ago•0 comments

Show HN: Data-driven GEO and marketing agent platform

https://dageno.ai
5•timdageno•46m ago•0 comments

SpaceX is working with Cursor and has an option to buy the startup for $60B

https://techcrunch.com/2026/04/21/spacex-is-working-with-cursor-and-has-an-option-to-buy-the-star...
1•thiele•47m ago•0 comments

Reflecting on 50 years of environmental innovation

https://blogs.sas.com/content/sascom/2026/04/22/reflecting-on-50-years-of-environmental-innovation/
1•salkahfi•48m ago•0 comments

DuckDB Kernel – analytical execution runtime for Jupyter

https://github.com/hugr-lab/duckdb-kernel
1•articsputnik•51m ago•0 comments

XOR'ing a register with itself is the idiom for zeroing it out. Why not sub?

https://devblogs.microsoft.com/oldnewthing/20260421-00/?p=112247
10•ingve•51m ago•1 comments

Ask HN: Is USA at war with the rest of the world now?

2•roschdal•52m ago•4 comments

Creem Magazine is back in print and online after 33 years (2022)

https://sandboxworld.com/creem-magazine-is-back-in-print-and-online-after-33-years/
1•bjhess•57m ago•0 comments

Claude Cowork against your own cloud inference provider

https://claude.com/docs/cowork/3p/overview
2•nrsapt•57m ago•2 comments

Show HN: GPT-Image-2 Prompts

https://github.com/magiccreator-ai/awesome-gpt-image-2-prompts
1•kevinhacker•1h ago•0 comments

We found most apps send PII to LLMs and built a 2 line fix

https://getredacta.com/
2•SandiaDevGroup•1h ago•1 comments

Mistral Vibe

https://mistral.ai/products/vibe
2•hecanjog•1h ago•0 comments

Zappa: An AI powered mitmproxy

https://geohot.github.io//blog/jekyll/update/2026/04/15/zappa-mitmproxy.html
1•WithinReason•1h ago•0 comments