frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

Winning on Jeopardy

https://www.theatlantic.com/magazine/2026/06/how-to-win-jeopardy/686933/
1•Tomte•58s ago•0 comments

E-Hiking Is Here. You Can Tell by My 1k-Watt Hips

https://www.wsj.com/tech/personal-tech/robot-legs-hypershell-x-ultra-tested-e8a254e2
1•Cider9986•1m ago•0 comments

Show HN: AI Audiobook Narrator

https://warblize.com/
1•onhacker•2m ago•0 comments

Israel's High-Tech Campaign to Kill or Capture Every Oct. 7 Attacker

https://www.wsj.com/world/middle-east/israel-gaza-ceasefire-attacks-55c889b7
1•Cider9986•3m ago•0 comments

Multi-Stream LLMs: new paper on parallelizing/separating prompts, thinking, I/O

https://arxiv.org/abs/2605.12460
2•atomicthumbs•5m ago•1 comments

A MTL shall not be required of an individual, business for these activities

https://www.scstatehouse.gov/sess126_2025-2026/bills/163.htm
1•Cider9986•5m ago•1 comments

Blink – AI Assistant. A Knowledge Destination

https://blink-oi.vercel.app
1•Pascal1997•6m ago•0 comments

Open source platform for automating sandboxed coding agents

https://github.com/mistlehq/mistle
1•mickuehl•9m ago•0 comments

Schlitz Is Gone, but First It's Getting One Last Hurrah

https://www.milwaukeemag.com/schlitz-is-gone/
1•NaOH•10m ago•0 comments

Using Kagi Search with Low Vision

https://veroniiiica.com/using-kagi-search-with-low-vision/
2•speckx•10m ago•0 comments

Mozilla and Adafruit Bring Web Serial Workflows to Firefox

https://blog.mozilla.org/en/firefox/firefox-web-serial-adafruit/
2•pentagrama•12m ago•0 comments

SpaceX's IPO Bagship carries full payload of Elon's mistakes

https://jamesthomason.com/spacex-ipo-bagship-carries-full-payload-of-elons-mistakes/
3•dollar•12m ago•0 comments

Model Half-Life

https://aifoc.us/model-half-life/
1•gmays•15m ago•0 comments

Show HN: Dhrive – Prompt to a native iOS app, built locally with your own AI CLI

https://www.dhrive.app/
1•hsnrique•15m ago•0 comments

AOC displays drinking water contaminated by data center

https://bsky.app/profile/did:plc:iu4j537hox5huj4bwnwgub4z/post/3mmeysgcjbs2j
2•cdrnsf•16m ago•0 comments

Meta to lay off 350 staff from its Irish offices – The Irish Times

https://www.irishtimes.com/business/2026/05/20/metas-irish-workers-await-news-of-job-cuts/
1•rbanffy•18m ago•0 comments

Don't call yourself a Software Engineer, and other Career Advice

https://idiallo.com/blog/you-are-an-ai-enabled-engineer-now
2•firefoxd•18m ago•0 comments

Wallace Shawn Isn't Ready to Die

https://www.interviewmagazine.com/film/wallace-shawn-metrograph-retrospective-movies
1•speckx•22m ago•0 comments

The "Megalodon" Campaign: 5718 malicious commits to 5561 GitHub repos

https://xcancel.com/safedepio/status/2057501564609421557
2•theanonymousone•23m ago•0 comments

What will better AI mean?

https://geohot.github.io//blog/jekyll/update/2026/05/20/what-will-better-mean.html
2•andy99•23m ago•0 comments

Show HN: I made a premium booking platform in 2 months vibe coding

https://kalerum.com/en
1•mailforge•24m ago•0 comments

Show HN: Headroom – Loudness normalizer and Key+BPM playlist sorter for DJs

https://headroom.ravers.workers.dev/
1•jphfa•25m ago•0 comments

Coding agents run on terminal memories. Bottle yours

https://visr.dev/changelog/bottle-terminal-memories
1•sourishkrout•27m ago•0 comments

US decennial labor flows and economic opportunity, 1910–2040

https://www.pnas.org/doi/10.1073/pnas.2601716123
1•paulpauper•27m ago•0 comments

HG Wells Interviews Stalin (1934)

https://www.newstatesman.com/long-reads/1934/10/h-g-wells-it-seems-me-i-am-more-left-you-mr-stalin
1•yubblegum•27m ago•0 comments

The AIs Are "One of Us"

https://marginalrevolution.com/marginalrevolution/2026/05/the-ais-are-one-of-us-now.html
1•paulpauper•28m ago•0 comments

Minnesota Becomes First State to Ban Prediction Markets

https://www.nytimes.com/2026/05/19/us/minnesota-prediction-market-ban.html
1•paulpauper•29m ago•0 comments

Show HN: Coherence – drift detector for AI-driven repos

https://github.com/fireharp/coherence
1•fireharp•29m ago•1 comments

Show HN: Online Jigsaw Puzzle: drag&drop an image or use a provided sample

https://abionic.itch.io/jigsaw-puzzler
1•abionic•30m ago•1 comments

Bitcoin Value Overflow Incident (CVE-2010-5139)

https://www.learnbitcoin.com/rabbit-hole/inflation-bug-postmortem
3•granya•32m ago•0 comments