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

Not hiring junior engineers won't solve the problem you think you have

https://franciscotrindade.me/blog/the-kids-are-alright/
1•gpi•1m ago•0 comments

Building an Advanced Agentic Harness

https://data4sci.com/blog/building-an-advanced-agentic-harness
1•Anon84•2m ago•0 comments

3D CSS Super Mario

https://codepen.io/editor/alowpoly/pen/019fae67-50d9-74ce-8025-4b9dd5a7c484
1•rofko•3m ago•0 comments

BioOrbit – The Fermentation Moment for Space Manufacturing of Drugs

https://beyondhorizonforesight.substack.com/p/beyond-horizon-analysis-bioorbit
1•beyondhorizonfs•5m ago•0 comments

Iteration vs. Evolution: How Humanity Figured Out the World

https://gingerjuice.club/article/iteration-vs-evolution-how-humanity-figured-out-a-world-it-was-n...
1•streetai•5m ago•0 comments

Show HN: I built one of the most advanced web-based drum/beat sequencers

https://maximecb.github.io/groovie/#a_96_bar_berlin_techno_arrangement/FdAnck8QxEjUoejHv1EvwfEK6C...
1•maxime_cb•6m ago•0 comments

Unofficial Cosmos.so MCP

https://github.com/mrmos/cosmos-mcp
1•maxxxi•7m ago•1 comments

How chip-fuelled wealth is reshaping South Korea

https://www.economist.com/asia/2026/08/04/how-chip-fuelled-wealth-is-reshaping-south-korea
1•andsoitis•7m ago•0 comments

Empower the people not the AI – self containing OS

1•OnemanBSD•7m ago•0 comments

Miss America Protest

https://en.wikipedia.org/wiki/Miss_America_protest
2•Bluestein•8m ago•0 comments

Safety testers find more examples of OpenAI, Anthropic models hacking

https://www.axios.com/2026/08/04/anthropic-openai-uk-ai-security-institute
1•basisword•8m ago•1 comments

Password Managers: How to Minimize Secret Exposure

https://stackandink.com/blog/beyond-password-managers-minimize-secret-exposure/
1•Igor_Wiwi•8m ago•0 comments

Millikan, Einstein, and the Birth of Relativity (4 letters)

https://www.aps.org/archives/publications/apsnews/200403/letters.cfm
1•teleforce•9m ago•0 comments

A Sick People

https://householderkarl.com/a-sick-people/
2•speckx•9m ago•0 comments

The Pulse: Bending Spoons' Acquisition Strategy

https://blog.pragmaticengineer.com/the-pulse-bending-spoons-acquisition-strategy/
1•robin_reala•10m ago•0 comments

ADSL's Copper Miracle [video]

https://www.youtube.com/watch?v=phoeSk-qY8s
2•askl•11m ago•0 comments

Show HN: Buy My Agent MCP Server – Search AI Agents from Any MCP Client

https://www.buy-my-agent.com/connect
1•buymyagent•12m ago•0 comments

Pyshackle: A hard pre-execution gate for AI agent tool calls (open source)

https://pypi.org/project/pyshackle/
1•SHACKLE-PRO-•13m ago•0 comments

The Live Shopping App Where Some People Bid Until They're Broke

https://www.wsj.com/business/retail/whatnot-live-shopping-app-48b67987
1•thm•14m ago•0 comments

Show HN: RequestGuard – Protect AI from following your links

https://go.requestguard.com/
1•mariusbolik•14m ago•0 comments

Survey: AI Impact on Security

https://ivelum.com/blog/ai-security-survey-2026/
1•stebunovd•14m ago•0 comments

The Architecture of Israel's Genocide in Gaza

https://foreignpolicy.com/2026/08/04/gaza-palestinian-genocide-israel-book/
26•rzk•15m ago•2 comments

I built a jellyfish laboratory in my backyard [video]

https://www.youtube.com/watch?v=MILwxfQBm6Q
1•surprisetalk•16m ago•0 comments

DeepSeek's Liang Wenfeng: Full Remarks from an Investor Meeting

https://thechatr.ai/blog/deepseek-liang-wenfeng-investor-meeting
1•smukherjee19•16m ago•0 comments

Prompt Engineering for Network Engineers

https://routerjockey.com/prompt-engineering-for-network-engineers/
1•speckx•16m ago•0 comments

OpenAI fires back at Apple, publishing private emails to counter claims

https://fortune.com/2026/08/04/openai-fires-back-at-apple-publishing-private-emails-to-counter-tr...
2•tcp_handshaker•18m ago•0 comments

Flint 4 (GL-BE14000) Tri-Band Wi-Fi 7 Home Router: Available for Pre-Order

https://www.gl-inet.com/en-gb/products/gl-be14000
1•bana-io•19m ago•0 comments

Hacker News Link Generator

https://hnlink.alexewerlof.com/
1•biglanky•22m ago•0 comments

Painting with Gaussians

https://yogthos.net/posts/2026-08-03-splat-painter.html
2•yogthos•22m ago•0 comments

I ran retention tests on myself to find out how Claude should talk to me

https://d13z.dev/blog/11-make-claude-speak-to-you/
2•d13z•22m ago•0 comments