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

Show HN: Beautiful QR Codes

https://scanwayy.com
3•janpmz•1m ago•0 comments

Codex starts encrypting prompts, uses ciphertext for inference instead

https://github.com/openai/codex/issues/28058
2•embedding-shape•1m ago•0 comments

The ChatGPT "Super App" Sort of Super Sucks

https://spyglass.org/chatgpt-gets-to-work/
2•ig0r0•2m ago•1 comments

Show HN: Planetary Facts – food and product impacts against the planet's limits

https://planetaryfacts.com
2•mikethemerry•3m ago•0 comments

DokuWiki Release 2026-07-14 "Mort"

https://www.dokuwiki.org/changes#release_2026-07-14_mort
2•kossmac•3m ago•0 comments

Real AI for video games (Iconic Games)

https://iconicgames.io/blog/pressure-point/
2•giltho•7m ago•0 comments

You Cannot Defend What You Cannot Inspect

https://www.first.org/blog/20260714-FIRSTCON26-CIRCUIT
2•jruohonen•9m ago•0 comments

The Day WhatsApp Goes Dark

https://xn--gckvb8fzb.com/the-day-whatsapp-goes-dark/
2•mindracer•9m ago•0 comments

Anubis – 15MB sidecar security gateway for OT/IIoT

https://sgneep.com/anubis/download.php
2•blackcool•10m ago•0 comments

Most UK media reports on June heatwave failed to mention climate crisis

https://www.theguardian.com/environment/2026/jul/14/most-coverage-june-heatwave-did-not-mention-c...
2•robtherobber•11m ago•0 comments

A Framework for Frontier AI and the Dawning of a New Age

https://demishassabis.substack.com/p/a-framework-for-frontier-ai-and-the-dawning-of-a-new-age
2•nbraga•11m ago•0 comments

Can humans hibernate their way to Mars?

https://www.theguardian.com/science/ng-interactive/2026/jul/14/human-hibernation-space-mars
3•n1b0m•14m ago•0 comments

Show HN: An Agentic Data Platform can generate dashboards, models in minutes

https://datarelax.io/
2•phienhn•14m ago•0 comments

When the facts change, adequacy must be reviewed

https://edri.org/our-work/when-the-facts-change-adequacy-must-be-reviewed/
2•jruohonen•15m ago•0 comments

Show HN: Rejourney – Open-source revenue leak prediction for web and mobile apps

https://github.com/rejourneyco/rejourney
3•mrr7337•16m ago•0 comments

The Future Worth Building Is Human – Thinking Machines Lab

https://thinkingmachines.ai/blog/the-future-worth-building-is-human/
3•bilsbie•17m ago•0 comments

Australia Just Found a Way to Put Solar on Apartments [video]

https://www.youtube.com/watch?v=tnkmcNDYXlo
2•thelastgallon•17m ago•0 comments

Actegories

https://bartoszmilewski.com/2026/06/30/actegories/
3•ibobev•17m ago•0 comments

X just gave us an interface that AI agents can use. I pointed it at my own posts

https://lemire.me/blog/2026/07/11/x-just-gave-us-an-interface-that-ai-agents-can-use-i-pointed-it...
2•ibobev•18m ago•0 comments

Dot product: Component vs. Geometric definition

https://eli.thegreenplace.net/2026/dot-product-component-vs-geometric-definition/
2•ibobev•18m ago•0 comments

Merged at the Speed of AI

https://chaosguru.substack.com/p/merged-at-the-speed-of-ai
2•taubek•19m ago•0 comments

Show HN: BYO AI free notetaking with optional screen reading for OpenClaw/hermes

https://stagewhisper.io/lite
2•piotraleksander•20m ago•1 comments

The US government warns that Russia state hackers are coming after your router

https://arstechnica.com/security/2026/07/the-us-government-warns-that-russia-state-hackers-are-co...
3•joozio•20m ago•0 comments

Show HN: Git Buoy | A living terminal harbor for Git worktrees

https://github.com/markg-05/git-buoy
2•m_george•21m ago•0 comments

Indian activist urged to give up hunger strike over exam leaks

https://www.reuters.com/world/india/indian-activist-urged-give-up-hunger-strike-over-exam-leaks-2...
2•thunderbong•22m ago•0 comments

The great digital fatigue: How digital burnout is changing social media use

https://blog.incogni.com/digital-fatigue-and-burnout/
4•derbOac•24m ago•0 comments

Content Defined Chunking for Go

https://www.plakar.io/posts/2026-06-14/go-cdc-chunkers-v1.1.0-faster-leaner-and-provably-correct/
2•vcoisne•24m ago•0 comments

Patients reportedly beating cancer with just one tablet a day (2022) [video]

https://www.youtube.com/watch?v=sq2dfgg70hs
2•thelastgallon•26m ago•0 comments

The End of Effort: why no one is trying anymore [video]

https://www.youtube.com/watch?v=XZyE1sSNw8E
2•ilreb•27m ago•0 comments

AsyncAPI Supply Chain Compromise via GitHub Actions

https://www.wiz.io/blog/m-red-team-asyncapi-supply-chain-compromise-via-github-actions
3•ramimac•29m ago•0 comments