frontpage.
newsnewestaskshowjobs

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

Show HN: Mcpsnoop – Wireshark for MCP (transparent proxy and live TUI)

https://github.com/kerlenton/mcpsnoop
1•kerlenton•25s ago•0 comments

Show HN: Hamzaish, agent OS and co-builder for non-techies

https://github.com/hamza-ali-shahjahan/hamzaish
1•hamza_ali_shah•48s ago•0 comments

Tesla stock sinks 7% despite strong deliveries report, worst day in nearly 1y

https://www.cnbc.com/2026/07/02/tesla-tsla-q2-2026-vehicle-delivery-production.html
2•1vuio0pswjnm7•2m ago•0 comments

Dropping in on Gottfried Leibniz (2013)

https://writings.stephenwolfram.com/2013/05/dropping-in-on-gottfried-leibniz/
1•aragonite•2m ago•0 comments

Contextual Information Retrieval

https://luccogzest.substack.com/p/contextual-information-retrieval
1•LucCogZest•3m ago•0 comments

China boosts prestigious grants for young scientists, will it ease competition?

https://www.nature.com/articles/d41586-026-01989-5
1•Bender•4m ago•0 comments

This is nuts upon nuts. When's the crash?

https://www.ft.com/content/8e9337f8-9191-48e9-9289-a8defda89431
1•petethomas•4m ago•0 comments

A chatbot told us SpaceX never went public, 20 days after their IPO

https://www.quoin.ai/
1•quoinai•4m ago•0 comments

Loom doubles prices, offers no export functionality

https://support.atlassian.com/loom/docs/loom-customer-integration-with-atlassian-pricing-billing-...
1•rwc•6m ago•1 comments

Real-Time Phone Call Transcription Pipeline with Telnyx and OpenAI Whisper

https://old.reddit.com/r/Telnyx/comments/1umbick/how_to_build_a_realtime_phone_call_transcription/
1•harpreetseehra•8m ago•0 comments

Russian fuel crisis prompts rush for Chinese electric cars

https://www.reuters.com/business/energy/russian-fuel-crisis-prompts-rush-electric-cars-2026-07-02/
2•JumpCrisscross•8m ago•0 comments

Show HN: Quicktok, an exact BPE tokenizer 7x faster than tiktoken

https://github.com/dmatth1/quicktok
1•dmatth1•10m ago•1 comments

Beyond Hacker Mindset

https://povofview.substack.com/p/beyond-hacker-mindset
1•hyperultra•10m ago•0 comments

Show HN: Origin Myth Map-creation myths of civilizations on a world map

https://originmap.sunnyguha.com/
1•sol0invictus•12m ago•0 comments

Interesting use AI use cases using computer vision

https://www.okanode.com/industry/technology-software-ai-use-cases?tags=43
1•brudevel•14m ago•0 comments

The wine made by British monks that's making bank

https://thehustle.co/originals/the-wine-made-by-british-monks-thats-making-bank
1•paulpauper•14m ago•0 comments

The $10k MacBook Pro Is Here

https://www.theatlantic.com/technology/2026/07/apple-prices-macbook-memory-shortage/687781/
1•paulpauper•15m ago•0 comments

All Men Are Created Equal, but What Does Equal Mean?

https://www.theatlantic.com/ideas/2026/07/history-word-equal-rights-declaration/687777/
1•paulpauper•15m ago•0 comments

LogX: A simple professional one file logger for every major language

https://github.com/ka1rav6/logx
2•ka1rav6•16m ago•0 comments

Johnson Thermoelectric Energy Converter

https://en.wikipedia.org/wiki/Johnson_thermoelectric_energy_converter
1•msk-lywenn•16m ago•0 comments

Audifort Review 2026 – Tinnitus Claims, Ingredients, and Complaints

https://gamma.app/embed/Audifort-Review-2026-Tinnitus-Claims-Ingredients-and-Complaints-u979dujch...
1•prepostseo•16m ago•0 comments

What Happened in Fuel Markets When Trump Lifted the Century-Old Jones Act

https://www.wsj.com/business/logistics/what-happened-in-fuel-markets-when-trump-lifted-the-centur...
1•JumpCrisscross•18m ago•1 comments

Soft Send

https://chromewebstore.google.com/detail/soft-send/mfimcohlkjphlnhokmpfdnlbfmingllf
2•taubek•19m ago•0 comments

Show HN: Plasma Wiki – a CLI for maintaining agent-edited Markdown wikis

https://github.com/plasma-ai/wiki
5•ndiao•19m ago•1 comments

Getting Rid of Scrolling

1•matteosaporiti•21m ago•0 comments

The Polycentric Production of Global Public Goods [pdf]

https://isonomiaquarterly.com/wp-content/uploads/2025/11/goodman-pfwo.pdf
1•brandonlc•21m ago•0 comments

BCG immunotherapy reprograms CNS immunity and alters Alzheimer's biomarkers

https://www.nature.com/articles/s43856-026-01691-7
1•bookofjoe•23m ago•0 comments

Rust Coreutils cp Ended Up Breaking Ubuntu Image Builds with Incompatibility

https://www.phoronix.com/news/Rust-Coreutils-cp-Ubuntu-Images
9•Bender•23m ago•0 comments

Google loses fight against record €4.1B EU antitrust fine

https://www.reuters.com/world/eu-top-court-dismisses-google-fight-against-record-41-billion-eu-an...
1•1vuio0pswjnm7•24m ago•0 comments

The Information Theory Behind Why AI Writing Sucks

https://www.pangram.com/blog/joe-stech-information-theory-why-ai-writing-sucks
2•malshe•24m ago•0 comments