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

Sally Mann Says 'Film Is So Expensive' and Has Started Shooting Digital

https://petapixel.com/2026/01/20/sally-mann-says-film-is-so-expensive-and-has-started-shooting-di...
1•PaulHoule•54s ago•0 comments

Homebrew is great on Linux (2023)

https://www.ypsidanger.com/homebrew-is-great-on-linux/
1•shaicoleman•1m ago•0 comments

Chinese scientists shrink semiconductor chip into fibre as thin as human hair

https://www.scmp.com/news/china/science/article/3341025/chinese-scientists-shrink-semiconductor-c...
1•based2•2m ago•0 comments

Msty – privacy-first AI studio

https://msty.ai/
1•tillulen•3m ago•0 comments

Female dogs evaluate levels of competence in humans

https://www.sciencedirect.com/science/article/abs/pii/S037663572200170X
1•binning•4m ago•0 comments

Adrian Kosmaczewski – Being a Developer After 40 [video]

https://www.youtube.com/watch?v=GQx_beRMHVg
1•summarity•5m ago•0 comments

Headless browser automation CLI for AI agents. (Rust)

https://agent-browser.dev/
1•franze•6m ago•0 comments

Java – Integrity by Design Through Ensuring Illegal States Are Unrepresentable

https://javajanitorjim.substack.com/p/java-janitor-jim-integrity-by-design
1•jimofl•8m ago•1 comments

How to Speak Davosian – For Beginners

https://www.swissinfo.ch/eng/foreign-affairs/how-to-speak-davosian-for-beginners/90798049
3•cainxinth•10m ago•1 comments

Clawdbot Bought Me a Car

https://aaronstuyvenberg.com/posts/clawd-bought-a-car
1•sathyabhat•11m ago•0 comments

Show HN: MonoSuite – Minimal productivity tools I built for my ADHD brain

https://monosuite.app/
2•georgedelair•11m ago•0 comments

Jürgen Habermas Social theorist – critical theory and pragmatism

https://en.wikipedia.org/wiki/J%C3%BCrgen_Habermas
1•based2•11m ago•0 comments

Vertical Aerospace wants to 'democratize' urban air travel with Valo air taxi

https://finance.yahoo.com/news/vertical-aerospace-wants-to-democratize-urban-air-travel-with-its-...
1•erickhill•12m ago•0 comments

How to audit medical bills against CPT codes and the No Surprises Act

https://suretyinsights.com/blog/eob-vs-bill-how-to-spot-medical-billing-errors
3•insuranceguru•13m ago•0 comments

How ad business broke tech

https://zenprivacy.net/blog/how-ad-business-broke-tech/
1•anfragment•14m ago•0 comments

ChatGPT's Favicon Is Missing from Google Search

https://growtika.com/blog/chatgpt-favicon-missing
1•Growtika•14m ago•0 comments

Apple turning to Intel for future iPhone chips, analyst reaffirms

https://9to5mac.com/2026/01/23/apple-turning-to-intel-for-future-iphone-chips-analyst-reaffirms/
6•jerhewet•15m ago•1 comments

Robotic Heart Surgery in Practice [video]

https://www.youtube.com/watch?v=g4Qypk2F0p8
3•Lwrless•16m ago•0 comments

Show HN: I built a no-sign up extension to help tab hoarders(Vanilla JavaScript)

https://chromewebstore.google.com/detail/adhd-tabs/dljaecjofhiejdipdfciddalgfnhnadi
1•sanjayreddy571•17m ago•0 comments

I added a Bluesky comment section to my blog

https://micahcantor.com/blog/bluesky-comment-section.html
7•hydroxideOH-•19m ago•0 comments

Show HN: JSciPy – SciPy-inspired signal processing library for Java and Android

https://github.com/hissain/jscipy
3•hissain•21m ago•0 comments

Ask HN: Would you trust an AI coworker with shell access to your infrastructure?

1•doctornemesis•26m ago•1 comments

What Will People Think?

https://domofutu.substack.com/p/what-will-people-think
1•wjb3•27m ago•0 comments

Show HN: Kanata-switcher – per-application hotkeys for all Linux DEs

https://github.com/7mind/kanata-switcher
2•neko-kai•27m ago•0 comments

Ask HN: Why does the number of datasets on data.gov vary so much?

3•akudha•28m ago•2 comments

Rethinking Helix

https://asta.boserup.eu/forest/rethinking-helix/
1•birdculture•32m ago•0 comments

An unlike source of crypto innovation: Afghanistan

https://www.nytimes.com/2026/01/24/world/asia/crypto-innovation-afghanistan.html
1•japaget•33m ago•0 comments

Grokking

https://en.wikipedia.org/wiki/Grokking_(machine_learning)
2•tarbyqualia•34m ago•0 comments

Show HN: Witral: Self-hosted framework to ingest WhatsApp into Markdown/Obsidian

https://github.com/kirlts/witral
1•kirlts•37m ago•1 comments

Ask HN: Have we confused Efficiency with "100% Utilization"?

2•nickevante•37m ago•1 comments