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•10mo 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

Benchmarked 37 LLMs on MacBook Air M5 32GB

https://old.reddit.com/r/LocalLLaMA/comments/1se81a5/i_benchmarked_37_llms_on_macbook_air_m5_32gb...
1•rguiscard•1m ago•0 comments

Exploration vs. exploitation in web agents: learning once, exploiting forever

https://browser-use.com/posts/web-agents-that-actually-learn
1•gregpr07•1m ago•0 comments

Interpreting Polygenic Prediction of Cognitive Ability

https://icajournal.scholasticahq.com/article/158459-interpreting-polygenic-prediction-of-cognitiv...
1•Anon84•2m ago•0 comments

Claude Agent SDK vs. Messages API for a Production AI Assistant?

1•makeavish•6m ago•0 comments

What "elastic compute" means in 2026

https://opencomputer.dev/blog/what-elastic-compute-means
1•iacguy•10m ago•0 comments

Show HN: Real time purchasing power of $1 USD since 2000

https://onedollar.today/
2•traviswingo•11m ago•0 comments

Radial Priority Indexing: A Self-Correcting Vector Memory for NPCs

https://www.heydaytime.net/blog/rpi-semantic-cache-for-npc-memory
1•mihirbelose•11m ago•0 comments

Clojure on Fennel Part One: Persistent Data Structures

https://andreyor.st/posts/2026-04-07-clojure-on-fennel-part-one-persistent-data-structures/
1•roxolotl•11m ago•0 comments

Show HN: MCP plugin that lets Claude autonomously pay for APIs via Lightning

https://github.com/jeffskafi/OpenBolt
1•jaafarskafi•12m ago•0 comments

Playwright vs. Chrome DevTools MCP: Driving vs. Debugging

https://stevekinney.com/writing/driving-vs-debugging-the-browser
1•stevekinney•17m ago•0 comments

Turnpike – typed cost attribution for LLM calls

https://github.com/lucianareynaud/turnpike
1•lucianareynaud•24m ago•0 comments

Quantum computing could fix AI's sustainability problem

https://www.japantimes.co.jp/commentary/2026/04/06/world/quantum-computing-ais-sustainability-pro...
3•billybuckwheat•28m ago•0 comments

Ryan Sarver on X: "How I built a chief of staff on OpenClaw"

https://twitter.com/rsarver/status/2041148425366843500
1•Anon84•28m ago•0 comments

Delve Scandal Just Keeps Getting Worse

https://captaincompliance.com/news/the-delve-scandal-fake-soc-2-audits-open-source-code-theft-and...
9•richartruddie•31m ago•0 comments

Show HN: Manceps – Ruby Client for the Model Context Protocol (MCP)

https://github.com/zarpay/manceps
1•obiefernandez•32m ago•0 comments

Dear Heroku: Uhh What's Going On?

https://judoscale.com/blog/heroku-whats-going-on
3•crcastle•38m ago•0 comments

Stop using AI wrappers and just use Claude

https://brickstack.substack.com/p/i-tried-every-gamma-alternative-just
2•brickstack•39m ago•1 comments

Vision Language Models (2025)

https://huggingface.co/blog/vlms-2025
1•walterbell•50m ago•0 comments

The highest-scoring AI memory system ever benchmarked

https://github.com/milla-jovovich/mempalace
3•latchkey•51m ago•0 comments

Kafka-ML: Connecting the data stream with ML/AI frameworks

https://github.com/ertis-research/kafka-ml
1•teleforce•54m ago•0 comments

Global Fuel Shortage Pushes Governments Toward Demand Controls

https://oilprice.com/Energy/Crude-Oil/Global-Fuel-Shortage-Pushes-Governments-Toward-Demand-Contr...
8•toomuchtodo•54m ago•1 comments

Bezier drawing tool w infinite zoom

https://fatih-erikli-potato.github.io/path-draw/
2•fatih-erikli-cg•56m ago•0 comments

OpenClaw Plugin for Claude Code CLI – Persistent Worker Pool with Smart OAuth

https://github.com/AlexChen31337/openclaw-plugin-claude-code
1•alexchen_dev•58m ago•0 comments

Astronauts Dedicate Moon Crater to Carroll Wiseman, Wife of NASA Commander

https://www.nytimes.com/2026/04/06/science/moon-crater-carroll-reid-wiseman.html
1•shpat•59m ago•0 comments

Training mRNA Language Models Across 25 Species for $165

https://huggingface.co/blog/OpenMed/training-mrna-models-25-species
3•gmays•1h ago•0 comments

It's Time to Take Down Your Smart Cameras [video]

https://www.youtube.com/watch?v=UMIwNiwQewQ
1•locusm•1h ago•0 comments

New Jersey cannot regulate Kalshi's prediction market, US appeals court rules

https://finance.yahoo.com/markets/options/articles/jersey-cannot-regulate-kalshis-prediction-1331...
2•pseudolus•1h ago•0 comments

ATS Resume Builder – Build an ATS friendly resume and get more interviews

https://ats-resume.com
2•chTijani•1h ago•0 comments

Physical Engineering AI – tools for mech engineers

https://github.com/010zx00x1/Awesome-Physical-Engineering-AI
2•010zx00x1•1h ago•0 comments

I set up a static blog that can be updated just by email

https://knxnts.xyz/blog-4.6.26.html
1•knxnts•1h ago•1 comments