frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•1y 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

Stop Pathologizing Ordinary Life

https://www.nytimes.com/2026/07/26/opinion/mental-health-exercise-charity.html
1•gmays•1m ago•0 comments

2026 Defcon Password Cracking Contest

https://contest-2026.korelogic.com/
1•seethishat•1m ago•0 comments

Show HN: A Back End You Can Call Directly from React – No API Required

https://linkedrecords.com/getting-started/
1•WolfOliver•3m ago•0 comments

The Theater of Sport: Bill Buford Revisits Among the Thugs

https://www.theparisreview.org/blog/2026/07/29/the-theater-of-sport-bill-buford-revisits-among-th...
1•Thevet•3m ago•0 comments

OpenAI's rogue agent compromised a customer at a second tech firm

https://www.cnbc.com/2026/07/29/openais-rogue-agent-compromised-a-customer-at-a-second-tech-firm....
1•johnbarron•3m ago•0 comments

Bye Bye, Em Dash

https://tadaima.bearblog.dev/bye-bye-em-dash/
1•theorchid•3m ago•0 comments

Show HN: ActionRail, verify agent actions using live system of records

https://github.com/ToolJet/ActionRail/
1•oss-dev•4m ago•0 comments

John Titor

https://en.wikipedia.org/wiki/John_Titor
1•gregsadetsky•5m ago•0 comments

A Buzz on Your Phone

https://engineering.block.xyz/blog/a-buzz-on-your-phone
1•robmaceachern•6m ago•0 comments

Long(er)-Form Mathematics – LFM Textbooks

https://longformmath.com/
2•duck•7m ago•0 comments

The Largest Open World MMO Made with AI to Date

https://www.glitch.fun/games/42de534c-600f-4228-af9e-b69faef94cce/play
2•bingewave•8m ago•0 comments

EPA Has Put a Value on Human Life: Zero Dollars

https://www.nytimes.com/2026/01/21/climate/epa-human-life-value.html
2•zekrioca•8m ago•1 comments

What happens if you eat too many gummy vitamins?

https://www.popsci.com/science/can-you-overdose-gummy-vitamins/
3•gmays•11m ago•1 comments

ProsFiles – local-first media utilities with URL ingest (OSINT smoke test)

https://www.prosfiles.com/
2•experimenteur•12m ago•0 comments

NanoClaw and Echo patch vulnerabilities in agent's runtime, browser, and libs

https://nanoclaw.dev/blog/nanoclaw-echo-hardened-agent-runtime/
2•four_fifths•13m ago•0 comments

Keyboardion

https://ianthehenry.com/posts/keyboardion/
2•bobbiechen•14m ago•0 comments

JLC PCB SMD Assembly Component Catalogue

https://yaqwsx.github.io/jlcparts/
2•gregsadetsky•16m ago•0 comments

Lorenz and Little: How Much Does Your Tail Cost?

https://brooker.co.za/blog/2026/07/29/lorenz-and-little.html
2•mfiguiere•16m ago•0 comments

Verifiable Bookmarklets

https://robertovg.com/blog/verifiable-bookmarklets/
2•speckx•17m ago•0 comments

Addiction to Ideas: How to Break the Cycle (2017)

https://colleenrobb.com/2017/03/18/addiction-to-ideas-how-to-break-the-cycle/
2•chistev•17m ago•0 comments

How much can you delegate to agents?

https://newsletter.posthog.com/p/agent-autonomy
3•duck•17m ago•0 comments

After 30 days, what I got wrong about Educative vs. AlgoMonster

https://leetcopilot.dev/blog/educative-vs-algomonster-2026
2•alexwang24•18m ago•0 comments

Ask HN: Are you ready for non crashing valuations for AI?

3•kingleopold•18m ago•0 comments

FCC ban humanoid robots from China

https://www.theguardian.com/us-news/2026/jul/28/fcc-ban-humanoid-robots-china
3•oco101•20m ago•1 comments

I cloned Apples passdesigner as a webapp

https://passdesigner.app/
2•bahrtw•23m ago•1 comments

Epoch.ai: Parallelization constraints could delay a technological singularity

https://twitter.com/epochairesearch/status/2082534303955890505
2•dataking•25m ago•0 comments

Claude Opus 5 cheated when tasked with running a vending machine

https://techcrunch.com/2026/07/29/claude-opus-5-became-downright-ruthless-when-tasked-with-runnin...
5•mikelgan•27m ago•2 comments

Lightweight, zero-dependency prompt that prevents AI agents from losing context

https://gist.github.com/sourdecor/78b2ff9016f3f597934150a3501427ff
2•sourdecor•27m ago•0 comments

Commodification of Intelligence: Good, Bad, and Ugly Circular AI Deals

https://www.emergingtrajectories.com/lh/commodification-and-circularity/
7•cl42•27m ago•7 comments

When Reading Roman History

https://rozumem.xyz/posts/18
2•rozumem•28m ago•0 comments