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

Show HN: ReferralLoop – Waitlist platform with viral referral mechanics

https://referralloop.dev
1•soyzamudio•15s ago•1 comments

Show HN: Garmin Watch Face

https://github.com/Lallassu/garminwatchface
1•nergal•4m ago•0 comments

Show HN: PayPerBill, pay per invoice sent without monthly subscriptions

https://payperbillapp.com/
1•blampack•5m ago•0 comments

A big list of things I disable in WordPress

https://shkspr.mobi/blog/2025/11/a-big-list-of-things-i-disable-in-wordpress/
1•speckx•6m ago•0 comments

NFS Server on the Android Smartphone: Termux, proot-distro, Alpine Linux, unfs3

https://gist.github.com/NoteAfterNote/e1719f4029b91918d996216939d5bff2
1•sipofwater•6m ago•0 comments

IDF tightens cellphone regulations, bars Android phones

https://www.israelnationalnews.com/news/418418
1•walterbell•7m ago•0 comments

Map of the developing brain provides insight into origin of mental disorders

https://english.elpais.com/science-tech/2025-11-07/first-map-of-the-developing-brain-provides-ins...
1•PaulHoule•11m ago•0 comments

Coders Love This AI Startup (Cursor). Can It Last?

https://www.wsj.com/tech/ai/millions-of-coders-love-this-ai-startup-can-it-last-45b72441
1•toephu2•12m ago•0 comments

3 Years Since ChatGPT Launch

https://twitter.com/sama/status/1598038815599661056
1•reconnecting•12m ago•0 comments

Ian Sharp of IP Sharp Associates Interview (1984)

https://ipsharp.org/videos/ideasinterviews/iansharp
1•tosh•15m ago•0 comments

Cara Hunter on the deepfake video that nearly ended her political career

https://www.theguardian.com/society/ng-interactive/2025/dec/01/it-was-extremely-pornographic-cara...
5•frereubu•16m ago•0 comments

Free-for-dev – A curated list of SaaS, PaaS and IaaS that have free tiers

https://github.com/ripienaar/free-for-dev
1•peter_d_sherman•16m ago•0 comments

Abusing DNS TXT Records as a Planet‑Scale Key‑Value Store for Fun (and Geese)

https://www.graemefawcett.ca/blog/the-goose-manuva/
1•graemefawcett•17m ago•0 comments

Spring Boot Built-In API Versioning – Piotr's TechBlog

https://piotrminkowski.com/2025/12/01/spring-boot-built-in-api-versioning/
1•birdculture•17m ago•0 comments

I'm Building an Algorithm That Doesn't Rot Your Brain

https://www.nytimes.com/video/opinion/100000010499778/im-building-an-algorithm-that-doesnt-rot-yo...
1•jbegley•17m ago•0 comments

Starbucks to pay NYC workers $35M after alleged labour law violations

https://www.bbc.com/news/articles/clyx1ge9gg5o
2•onemoresoop•18m ago•0 comments

Chrome Bumpers: We ban cell phones in schools, but maybe they're not the problem

https://thinkhuman.com/chrome-bumpers/
1•jamesgill•18m ago•0 comments

The Anatomy of a One-Shot Prompt

https://rashidazarang.com/c/the-anatomy-of-a-one-shot-prompt
1•rashidae•18m ago•1 comments

Is <style> in <body> a good idea?

https://olliewilliams.xyz/blog/style-in-body/
2•ulrischa•19m ago•0 comments

The Anatomy of a One-Shot Prompt

https://app.super.so/site/3dc5abac-890a-40e1-85d9-df5a3602b720?path=c%2Fthe-anatomy-of-a-one-shot...
1•rashidae•19m ago•1 comments

Faking Dot Density on a Map

https://ethanseal.com/articles/faking-dot-density
3•ethanseal•24m ago•0 comments

Advent of Design: Advent Calendar of UI/UX Challenges

https://adventof.design/
2•dasdachs•25m ago•1 comments

Passwords Aren't Going Anywhere

https://ciamweekly.substack.com/p/passwords-arent-going-anywhere
2•gpi•26m ago•0 comments

Open-Source Golang SDK for Agentic Workflows

https://github.com/Ingenimax/agent-sdk-go
1•meidad_glory•26m ago•0 comments

Should anti-bullying approaches encourage kids to be 'upstanders'?

https://theconversation.com/should-anti-bullying-approaches-encourage-kids-to-be-upstanders-the-e...
3•bikenaga•28m ago•0 comments

Ask HN: Whats something you wish you knew when you started managing people

2•AnEro•28m ago•0 comments

Tesla sets Norway's all time annual car sales record for any carmaker

https://www.reuters.com/business/autos-transportation/tesla-sets-norways-annual-car-sales-record-...
1•ivewonyoung•28m ago•3 comments

POTUS says he'll release MRI results but doesn't know what part was scanned

https://apnews.com/article/donald-trump-mri-physical-white-house-0c66f2f9fca865d842ee94329a210a42
4•consumer451•29m ago•2 comments

Stopping evil and open source: my thoughts

https://blog.liw.fi/posts/2025/stop-evil/
2•naves•30m ago•0 comments

OpenAI Will Own Some Users

https://www.bloomberg.com/opinion/newsletters/2025-12-01/openai-will-own-some-users
2•feross•32m ago•0 comments