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

Efficiently Cooling Satellite Components in Space

https://www.fraunhofer.de/en/press/research-news/2026/june-2026/efficiently-cooling-satellite-com...
2•giuliomagnifico•5m ago•0 comments

Nvidia CEO Jensen Huang speaks at Computex 2026 (2:06:24 Video)

https://www.youtube.com/watch?v=9CJ_MZOOj_E
2•Nevaeh•6m ago•0 comments

A JavaScript PoC FROST side channel a browser tab that senses your SSD activity

https://github.com/brammittendorff/opfs-ssd-timing
1•botw44•7m ago•0 comments

The Spam Economy Comes to Work

https://fffej.substack.com/p/the-spam-economy-comes-to-work
1•PretzelFisch•8m ago•0 comments

The Axis That Made the Chips

https://hoeijmakers.net/the-axis-that-made-the-chips/
1•janvdberg•8m ago•0 comments

Termux: X11 is a fledged X server built with Android NDK

https://github.com/termux/termux-x11
1•ivo8n52•8m ago•0 comments

Undigested fructose linked to anxiety and brain inflammation

https://www.psypost.org/undigested-fructose-linked-to-anxiety-and-brain-inflammation/
2•amichail•9m ago•0 comments

When Background AI Agents Become a Security Boundary Problem

https://www.originhq.com/research/background-c2-agent
1•lucasluitjes•10m ago•0 comments

Nvidia announces new AI chip for personal computers

https://www.bbc.com/news/articles/crmp9mppvzro
1•rishikeshs•12m ago•0 comments

Google's top result is 16yo when searching for "Ubuntu 24.04 install fonts"

https://www.google.com/search?q=ubuntu24.04installfonts
1•felooboolooomba•15m ago•1 comments

Thermal conductivity modulation as a mechanism of thermotolerance in tardigrades

https://royalsocietypublishing.org/rsif/article/23/238/20251033/481636/Thermal-conductivity-modul...
1•bookofjoe•18m ago•0 comments

Why Melanoma Spreads More in Middle Age

https://brieflycurious.com/why-melanoma-spreads-more-in-middle-age-a-mouse-study-points-to-the-im...
1•matkoone•18m ago•0 comments

Sixteen Kids and a Hit Man (2024)

https://nymag.com/intelligencer/article/christopher-pence-corderos-fbi-dark-web-hit-man.html
2•Michelangelo11•21m ago•1 comments

Lynching Postcard

https://en.wikipedia.org/wiki/Lynching_postcard
2•doener•26m ago•0 comments

Show HN: Postbase – 100% open source Alternative to Firebase and Supabase [video]

https://www.youtube.com/watch?v=St_kJZXZ_nE
4•harshalone•28m ago•1 comments

Rebuilding the Access Edge: Why We Replaced PPPoE with a Custom DHCP Server

https://medium.com/@mustafa.n.gaid/rebuilding-the-access-edge-why-we-replaced-pppoe-with-a-custom...
1•musnas•29m ago•0 comments

Show HN: Curtab – Each command in its own interactive terminal tab

https://github.com/rashidmya/curtab
1•rashidmya•32m ago•0 comments

China Aims A.I. At Predicting Who Could Pose a Political Risk

https://www.nytimes.com/2026/06/01/us/politics/china-ai-predicting-dissent.html
6•uxhacker•36m ago•0 comments

Show HN: Open-source sync-engine for managing websites at scale

https://github.com/gospecter/specter
1•aabergkvist•37m ago•0 comments

We entered Fixathon as hackers. We left as winners

https://layerx.xyz/blog/fixathon-win
1•supermalvo•41m ago•0 comments

Am I too pessimistic about Python's future?

2•noon-raccoon•44m ago•2 comments

Code Review Assumes an Author

https://blog.raed.dev/posts/ai-code-review/
1•Raed667•44m ago•0 comments

Show HN: Mochi – a performance-first SveltKit alternative

https://mochi.fast/
1•khromov•46m ago•0 comments

The making of iconic Clint Eastwood posters

https://twitter.com/i/status/2061246916378185742
1•Michelangelo11•46m ago•0 comments

The Rsync thing was inevitable and it's happening everywhere

https://robertjwebb.substack.com/p/the-rsync-thing-was-inevitable-and
2•haburka•47m ago•0 comments

Netflix Wiz creates app to slash AI bills, then open sources it

https://www.theregister.com/ai-ml/2026/05/31/netflix-wiz-creates-app-to-slash-ai-bills-then-open-...
2•pseudolus•54m ago•0 comments

What building payment products taught me about scalable financial infrastructure

https://www.solvimon.com/blog/five-lessons-on-building-scalable-financial-infrastructure
1•arnon•54m ago•0 comments

Australia's far-right party leads in national poll for first time

https://www.reuters.com/world/asia-pacific/australias-far-right-party-leads-national-poll-first-t...
2•KnuthIsGod•54m ago•2 comments

Are API keys too much friction for AI tools in teams?

https://intrascope.app/
1•Intrascopeapp•55m ago•0 comments

Fine-tuning an LLM to write docs like it's 1995

https://passo.uno/fine-tuning-docs-llm/
1•theletterf•57m ago•0 comments