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

Gemini's personalized AI image generation is now free for US users

https://techcrunch.com/2026/06/29/geminis-personalized-ai-image-generation-is-now-free-for-u-s-us...
1•haritha1313•53s ago•0 comments

Show HN: OpenSfM v1.0

https://github.com/OpenSfM/OpenSfM
1•AlgerianSam•3m ago•0 comments

Show HN: An Institutional Terminal for Retail Investors

https://marketterminal.com/chart
1•adamfontan•4m ago•0 comments

Ask HN: What's SOTA for AI Voice Narration

1•JimsonYang•6m ago•0 comments

Open-source AI agent workflow for auditing Solidity smart contracts

https://github.com/chain-shield/ai-agent-audit
1•chainshieldai•7m ago•0 comments

PlayStation Is Deleting 551 Movies from Customers' Accounts

https://www.gadgetreview.com/playstation-is-deleting-551-movies-from-customers-accounts
1•haritha-j•7m ago•1 comments

Zeus – a local AI agent orchestrator with web and phone UI (open source)

https://github.com/shreyasks094/Zeus
1•blackhawk094•8m ago•0 comments

What counts as cooking? In defense of the store-bought sauce

https://iza.ac/posts/2026/06/what-counts-as-cooking/
1•infinitewalk•10m ago•0 comments

Pure Terminal Text Editor

https://github.com/roblillack/pure
1•skogstokig•10m ago•0 comments

We Caught a North Korean Operative in a Hiring Pipeline

https://www.alex.com/blog/hiring-pipeline-fraud-detection
1•jenthoven•11m ago•0 comments

Rampart: 14.7MB model for privacy by redacting personal information

https://ndstudio.gov/posts/say-hello-to-rampart
2•cahaya•13m ago•1 comments

What Breaks a Cell's Ribs Can Make It Stronger

https://www.quantamagazine.org/what-breaks-a-cells-ribs-can-make-it-stronger-20260629/
1•jnord•13m ago•0 comments

South Korea to spend $1T on more memory chip production and humanoid robots

https://arstechnica.com/ai/2026/06/south-korea-to-spend-1t-on-more-memory-chip-production-and-hum...
3•jnord•15m ago•0 comments

Utility boss warns US faces blackouts due to power supply shortfall

https://www.ft.com/content/14d2e591-7cd5-4456-904f-1b7fdc5cbc1a
2•petethomas•15m ago•0 comments

Show HN: Fault-tolerant 4-neighbor hardware mesh with auto-rerouting

https://github.com/PJHkorea/consciousness-auto-rotation-artificial-neural-bypass/blob/main/fluxme...
1•PJHkorea•17m ago•0 comments

Uncapping the U.S. House is achievable and impactful

https://cmarmitage.substack.com/p/a-wildly-undervalued-tool-for-restoring
1•JumpCrisscross•18m ago•0 comments

Scientists find molecular-level evidence for two structures in liquid water

https://phys.org/news/2026-06-scientists-molecular-evidence-liquid.html
2•wglb•18m ago•1 comments

One Man's Delusion Is Another Man's Dream

http://guerrillademocracy.blogspot.com/2026/06/one-mans-delusion-is-another-mans-dream.html
1•GDNews503AD•20m ago•1 comments

The Artificial Neuron on a Silicon Chip

https://spectrum.ieee.org/artificial-neurons-on-silicon-chips
2•jnord•21m ago•0 comments

Ask HN: Best PR Review Experience?

1•prats226•21m ago•0 comments

GLM5.2 vs. Opus 4.8

https://www.youtube.com/watch?v=M4YEk4qVNOE
1•pvergadia•21m ago•1 comments

The composable AI thesis

https://openenvelope.org/writing/composable-ai-thesis/
1•ashconway•24m ago•0 comments

Mathematical finance, formally verified in Lean 4

https://github.com/raphaelrrcoelho/formal-mathfin
1•raphaelrrcoelho•26m ago•0 comments

There's a Reason Women Aren't Swooning over AI Like Men Are

https://thenoosphere.substack.com/p/theres-a-reason-women-arent-swooning
2•Anon84•26m ago•1 comments

US offers $10M for info on group behind Signal and WhatsApp hacking

https://arstechnica.com/information-technology/2026/06/us-offers-10-million-for-info-on-group-beh...
3•Gaishan•27m ago•0 comments

Please pause the data center buildout

3•DaveZale•27m ago•4 comments

Eevdf Scheduler in the Linux Kernel

https://docs.kernel.org/scheduler/sched-eevdf.html
1•gurjeet•27m ago•0 comments

Codex: Introducing a familiar rich-text editing experience

https://twitter.com/khudonogov/status/2071715076814561759/video/1
1•hellodarknessmy•28m ago•0 comments

Predict churn before customers leave

https://github.com/team-telnyx/telnyx-code-examples/tree/main/ai-customer-churn-predictor-python
1•sona-coffee11•29m ago•0 comments

A bounty to forge a synthetic identity past our hardware-bound auth

https://gate.kenshikilabs.com/challenge
2•shfishburn•31m ago•0 comments