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

What to Know: Working in China [video]

https://www.youtube.com/watch?v=bz7KuzEPqcs
1•simonpure•44s ago•0 comments

JP Morgan map shows crude oil ticking time bomb hits oil supply in April

https://www.msn.com/en-us/money/markets/this-map-shows-a-crude-ticking-time-bomb-that-hits-much-o...
1•ck2•3m ago•1 comments

CVE-2026-33691: OWASP CRS whitespace padding bypass vulnerability

1•relunsec•3m ago•0 comments

Show HN: /slot-machine development (CC vs. Codex; CE vs. superpowers)

https://github.com/pejmanjohn/slot-machine
1•pejmanjohn•4m ago•0 comments

Pretext: browser independent text layouting engine for the web

https://twitter.com/i/status/2037713766205608234
1•lewisjoe•5m ago•0 comments

Anthropic Donations: Guesses and Uncertainties

https://www.lesswrong.com/posts/NAwqT8wDkLRovcbZ9/anthropic-donations-guesses-and-uncertainties
1•joozio•7m ago•0 comments

Show HN: Create setups, deploy and share them

2•victorzidaroiu•9m ago•0 comments

Folie à Machine: LLMs and Epistemic Capture

https://www.lesswrong.com/posts/2hyGiAnLKEFv3jBHt/folie-a-machine-llms-and-epistemic-capture
1•joozio•9m ago•0 comments

Every Country in Our Supply Chain Has Declared an Emergency

https://energyandresilience.substack.com/p/every-country-in-our-supply-chain
2•measurablefunc•10m ago•0 comments

Pretext

https://chenglou.me/pretext/
2•sysbot•10m ago•0 comments

Quantum frontiers may be closer than they appear

https://blog.google/innovation-and-ai/technology/safety-security/cryptography-migration-timeline/
2•OJFord•12m ago•0 comments

Show HN: Danobang! – Multiplayer CJK (Chinese, Japanese, Korean) Word Game

https://danobang.com
2•maenbalja•12m ago•1 comments

LeaseWitness – Free lease agreement generator (15 types, no sign-up)

1•alexchemours•14m ago•0 comments

Show HN: Baton – A daemon that sends Claude to fix your GitHub issues

https://github.com/mraza007/baton
2•mr_o47•15m ago•0 comments

Eye drops made from pig semen deliver cancer treatment to mice

https://www.nature.com/articles/d41586-026-00982-2
1•gnabgib•17m ago•1 comments

Voice-to-task-agent|Voice commands to operational tasks, in real-time

https://github.com/manishrawal95/voice-to-task-agent
1•manishrawal95•19m ago•0 comments

Three LLM Agents for My Knowledge Garden

https://www.joshbeckman.org/blog/practicing/three-agents-for-a-knowledge-garden
1•bckmn•20m ago•0 comments

SpringHabt

https://apps.apple.com/us/app/springhabt/id6761129733
1•jmfp•20m ago•1 comments

Mirage Reasoning: The Illusion of Visual Understanding

https://arxiv.org/abs/2603.21687
2•MrBuddyCasino•20m ago•1 comments

Found app to run crowd simulation

https://github.com/sayantan94/CrowdSimulator
1•Morningstar317•21m ago•0 comments

"What made Bell Labs so successful?"

https://tech.slashdot.org/story/26/03/29/0249241/what-made-bell-labs-so-successful
2•MilnerRoute•22m ago•0 comments

Iran Is Drafting Law to Introduce Tolls for Hormuz Transit

https://www.supplychainbrain.com/articles/43739-iran-is-drafting-law-to-introduce-tolls-for-hormu...
3•geox•23m ago•0 comments

Trail cursor (smear effect) is coming to Rio terminal

https://twitter.com/raphamorims/status/2038258512782934170
1•darkberry•30m ago•0 comments

A lot of what we called talent was just scarce execution

https://mayankagarwal.com/ai,%20llm,%20future%20of%20work/2026/03/29/a-lot-of-what-we-called-tale...
3•whoelse123•32m ago•0 comments

Researchers uncover 2k-year-old bullet inscribed with ominous message

https://www.gbnews.com/science/archaeology-breakthrough-researchers-uncover-2000-year-old-bullet-...
2•bookofjoe•34m ago•0 comments

Repose: Break reminder for macOS that pauses during meetings

https://github.com/fikrikarim/repose
2•karimf•36m ago•0 comments

Gcannon – C io_uring TCP/HTTP/1.1 load generator for Linux

https://github.com/MDA2AV/gcannon
2•MDA2AV•38m ago•0 comments

CoopVPN: Built by the Developers Behind RiseupVPN

https://coopvpn.net/
4•eustoria•39m ago•0 comments

What is the 'boy kibble' trend? And is it healthy? A nutrition expert explains

https://www.rnz.co.nz/life/food/what-is-the-boy-kibble-trend-and-is-it-healthy-a-nutrition-expert...
3•colinprince•40m ago•0 comments

Ix – We kept rebuilding context every session so we mapped the system instead

https://github.com/ix-infrastructure/Ix
4•IxInfra•41m ago•1 comments