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•8mo 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

Are there laws of history? (2020)

https://aeon.co/essays/if-history-was-more-like-science-would-it-predict-the-future
1•Ariarule•1m ago•0 comments

Anthropic's original take home assignment open sourced

https://github.com/anthropics/original_performance_takehome
2•myahio•6m ago•1 comments

Mike Rowe 464: Palmer Luckey–The Department of War Has a Mullet

https://music.youtube.com/podcast/csmQqaSHJrw
2•nradov•20m ago•0 comments

Vitruvius Basilica found after 500 years

https://www.thearchaeologist.org/blog/italy-uncovers-basilica-designed-by-vitruvius-the-father-of...
1•adeltoso•21m ago•0 comments

RSS.Social – the latest and best from small sites across the web

https://rss.social/
2•Curiositry•24m ago•0 comments

Building a JavaScript runtime in one month

https://themackabu.dev/blog/js-in-one-month
2•alexinavar•24m ago•1 comments

Carney says old world order 'is not coming back'

https://www.bbc.com/news/articles/cly3d28p4p8o
7•kwar13•26m ago•2 comments

Blade Runner Costume Design (2020)

https://costumedesignarchive.blogspot.com/2020/12/blade-runner-1982.html
1•exvi•26m ago•0 comments

Yes, I Love Ops: Because We Do Not Fear Production

https://mollysheets.com/2023/04/15/yes-i-love-ops/
1•mooreds•28m ago•0 comments

Chinese EVs Blow Past Tesla and Tariffs En Route to Global Reign

https://www.wsj.com/business/autos/china-cars-tariffs-byd-tesla-fa18066f
3•JumpCrisscross•29m ago•0 comments

Wasabi Raises $70M in New Equity

https://wasabi.com/company/newsroom/press-releases/wasabi-raises-70m-in-new-equity-to-power-the-n...
1•marc__1•29m ago•0 comments

Macaronis and the New Romantics: Making my 18th Century 'Macaroni' wig (2015)

https://revolutionarycostumes.blogspot.com/2015/03/making-18th-century-macaroni-wig.html
1•exvi•31m ago•0 comments

SubtleCrypto: GenerateKey() Method

https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/generateKey
4•mooreds•32m ago•1 comments

Humans in the Loop

https://robbyonrails.com/articles/2026/01/20/humans-in-the-loop/
1•mooreds•33m ago•0 comments

Show HN: Wearable data and meal pics → a real coach adjusts plan every week

https://helloformafit.com/
1•nemath•35m ago•0 comments

How long do you think? I give it 3 years

2•hmokiguess•35m ago•2 comments

Humans&

https://humansand.ai/
2•flinner•36m ago•0 comments

AI startup Humans& raises $480M at $4.5B valuation in seed round

https://www.reuters.com/business/ai-startup-humans-raises-480-million-45-billion-valuation-seed-r...
2•flinner•37m ago•0 comments

"AI has taught us that people are excited to replace human beings"

https://www.theguardian.com/technology/2026/jan/19/ed-zitron-on-big-tech-backlash-boom-and-bust-a...
2•Brajeshwar•37m ago•0 comments

Outliner

https://outliner.com/
1•handfuloflight•38m ago•0 comments

Australia criminalises hurting feelings [video]

https://www.youtube.com/watch?v=VskqOgr1OtU
1•hekkle•40m ago•0 comments

High-bandwidth flash progress and future

https://blocksandfiles.com/2026/01/19/a-window-into-hbf-progress/
1•tanelpoder•43m ago•0 comments

Rust's Standard Library on the GPU

https://www.vectorware.com/blog/rust-std-on-gpu/
4•nnethercote•45m ago•0 comments

Your Brain Might Not Be Full of Microplastics After All

https://www.insidehook.com/wellness/microplastics-studies
6•RickJWagner•46m ago•0 comments

Ask HN: Do you protect your client-side JavaScript? Why or why not?

1•nikitaeverywher•46m ago•0 comments

A 1970s Babysitting Co-Op as a Metaphor for Crypto's Future

https://www.realclearmarkets.com/articles/2026/01/20/a_1970s_babysitting_co-op_as_a_metaphor_for_...
1•RickJWagner•46m ago•0 comments

Show HN: CoCursor – Team collaboration tools for Cursor IDE

https://github.com/toheart/cocursor
1•toheart•48m ago•0 comments

25% of new cars sold globally in 2025 were EVs – here's who bought them

https://electrek.co/2025/12/17/25-percent-of-new-cars-sold-globally-are-evs-heres-who-is-buying-t...
3•toomuchtodo•56m ago•1 comments

Show HN: HiveSpace – GitLab Runner Health Dashboard

https://www.hivespace.io/
1•steffs•57m ago•0 comments

I made this to save my bookmarks to review later in an inbox-like view

https://cachetag.com
2•samweb3•1h ago•1 comments