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

Query with Curl

https://daniel.haxx.se/blog/2026/06/21/query-with-curl/
1•Sami_Lehtinen•32s ago•0 comments

Extracted Value

https://extractedvalue.com/
1•turtleyacht•4m ago•0 comments

Multi Pong – multiplayer pong game

https://multi-pong.projects.lasz.uk/
1•dr_kretyn•5m ago•0 comments

New V4 encryption format that supports hardware-bound encryption using Yubikeys

https://www.vaultsort.com/
2•VaultSort•6m ago•0 comments

Epoll vs. Io_uring in Linux

https://sibexi.co/posts/epoll-vs-io_uring/
3•Sibexico•9m ago•0 comments

The Tiny Sailing Game That Feels Surprisingly Real [video]

https://www.youtube.com/watch?v=30n_fdzgjJA
2•coolwulf•9m ago•0 comments

Russia's Putin is spending $26B to live forever

https://startupfortune.com/russias-putin-is-spending-26-billion-to-live-forever/
1•insanetech•10m ago•0 comments

First Pure-Go Cubrid Driver: Gocubrid

https://hexacluster.ai/blog/announcing-first-pure-go-cubrid-driver-gocubrid
1•avivallssa•13m ago•1 comments

South Korea Could Build Nuclear Submarines, but It Shouldn't

https://warontherocks.com/south-korea-could-build-nuclear-submarines-but-it-shouldnt/
1•bear_with_me•15m ago•0 comments

Show HN: Callimachus – Local search across your AI coding-agent history

https://github.com/BetaBots-LLC/callimachus
2•arishaller•16m ago•2 comments

Not just books: renting a sewing machine from the library can improve democracy

https://www.bbc.com/future/article/20260618-the-weird-and-wonderful-libraries-of-finland
10•sohkamyung•22m ago•0 comments

Jobflo – A local-first job tracker built with SwiftUI

https://lymegrove.com/jobflo/
1•jsrothwell•22m ago•0 comments

Adblock Plus doing just fine after updating to Manifest V3 two years ago

https://blog.adblockplus.org/blog/adblock-plus-doing-just-fine-after-updating-to-manifest-v3-two-...
3•twapi•24m ago•1 comments

Turns Out, There Is a Cabal of Elite Crazies Trying to Control the World

https://www.esquire.com/news-politics/politics/a71619211/peter-thiel-dialog-club-wired-report/
36•throwaway81523•26m ago•6 comments

Show HN: Domvault – self-hostable second brain with consent-based note sharing

https://github.com/dys5315/domvault
3•quietdrift_04•26m ago•0 comments

Why Amazon hates 'human-in-the-loop' AI governance

https://www.theregister.com/security/2026/06/20/why-amazon-hates-human-in-the-loop-ai-governance/...
4•ano-ther•28m ago•0 comments

28% Faster: Blink Prototype That Shows Why Apple iOS Browser Engine Ban Must End

https://open-web-advocacy.org/es/blog/28-percent-faster--the-blink-prototype-that-shows-why-apple...
3•SoKamil•29m ago•1 comments

Lessons from wasps on how societies survive power struggles

https://www.ucl.ac.uk/news/2026/may/comment-lessons-wasps-how-societies-survive-power-struggles
4•hhs•29m ago•0 comments

One Prompt Agentic AI Marketing for Game Developers

https://www.youtube.com/watch?v=B2ASCTomtIA
3•bingewave•30m ago•0 comments

'Buy less' campaigns don't work

https://www.lse.ac.uk/buy-less-campaigns-dont-work
4•hhs•32m ago•0 comments

FunnyBench – Can AI Models Tell Funny Jokes?

https://funnybench.lol
3•Mockapapella•33m ago•1 comments

Stop calling the Super Productionizer a 'baby blender' – Frank Elavsky

https://www.frank.computer/blog/2025/06/baby-blender.html
13•cratermoon•33m ago•2 comments

Researchers used math to crack Wordle

https://www.binghamton.edu/news/story/6327/s-m-a-r-t-these-researchers-used-math-to-crack-wordle
4•hhs•38m ago•1 comments

Show HN: TLA+ Process Studio

https://tlaplus-process-studio.com/?example=meeting-lifecycle
5•uptodatenews•38m ago•0 comments

Pre-2022 Books

https://notes.lorenzogravina.com/musings/pre-2022-books
42•trms•40m ago•19 comments

I can haz smoller NixOS ISOs?

https://natkr.com/2026-06-19-nixos-but-smol/
7•birdculture•44m ago•0 comments

Show HN: Maccha – Cross Agent Brain for Antigravity, Claude Code, OpenCode etc.

https://github.com/KarelTestSpecial/real-agent-setup
4•kareldecherf•45m ago•1 comments

Show HN: Onsight: pay a local to photograph any spot in San Francisco, on demand

https://onsight.photo/san-francisco
6•pro_methe5•45m ago•1 comments

Show HN: Cruit – Get Hired directly from your coding agent

https://cruit.dev
3•nwang783•49m ago•0 comments

Trump DOJ Outlines Dubious Path to Force People into Psychiatric Institutions

https://www.motherjones.com/politics/2026/06/trump-doj-memo-olmstead-psychiatric-disabilities-ins...
7•hn_acker•51m ago•2 comments