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•9mo 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: Docmd – A minimalist, zero-config docs generator with 0ms latency

https://github.com/docmd-io/docmd
1•enigmazi•20s ago•0 comments

Simple Screw Counter

https://mitxela.com/projects/screwcounter
1•jk_tech•1m ago•0 comments

Boscah – a subscription box curated by your TikTok algorithm

https://boscah.com/
1•TealMyEal•1m ago•0 comments

Empirically Testing the Softwar Thesis: Bitcoin as Power Projection

https://doi.org/10.36227/techrxiv.177223033.39479389/v1
1•mauoak•2m ago•1 comments

Every Hardware Deserves a Coder: Devstral Small 2 24B and Qwen3 Coder 30B

https://byteshape.com/blogs/Devstral-Small-2-24B-Instruct-2512/
1•dajonker•5m ago•0 comments

Show HN: ClawNet – Agent-first communication infrastructure (email, DMs, feed)

https://clwnt.com
1•ethanbeard•6m ago•0 comments

The Hardest Working Office Design in America Encrypts Your Data–With Lava Lamps

https://www.fastcompany.com/90137157/the-hardest-working-office-design-in-america-encrypts-your-d...
1•codesuki•7m ago•0 comments

After Alignment

https://utopai.substack.com/p/after-alignment
1•cyberneticc•8m ago•2 comments

Wezzly Companion – AI desktop assistant that sees your screen in real time

https://github.com/idobaibai-wezzly/wezzly-companion-public
2•idobaiba•9m ago•1 comments

Anthropic's Claude rises to No. 2 in the App Store following Pentagon dispute

https://techcrunch.com/2026/02/28/anthropics-claude-rises-to-no-2-in-the-app-store-following-pent...
7•Philpax•9m ago•1 comments

English translation of a recent German patent application [pdf]

https://github.com/Berlin-West/Topology/blob/main/Topology%20(EN).pdf
1•RHEFOR•11m ago•0 comments

AI Hurtles Ahead

https://www.oaktreecapital.com/insights/memo/ai-hurtles-ahead
1•kristianp•12m ago•0 comments

The 19th century silent film that first captured a robot attack

https://www.npr.org/2026/02/28/nx-s1-5730373/georges-melies-robot-film-1897-library-of-congress-g...
1•andsoitis•13m ago•0 comments

Show HN: Constrained Chess, Play Stockfish with custom natural-language rules

https://constrainedchess.vercel.app/
1•vigrant•15m ago•1 comments

Iran reels as more than 80 children reportedly killed in school bombing

https://www.theguardian.com/world/2026/feb/28/children-dead-as-missile-hits-elementary-school-in-...
7•n1b0m•15m ago•0 comments

Frontier AI Models Exhibit Sophisticated Reasoning in Simulated Nuclear Crises

https://arxiv.org/abs/2602.14740
1•iamskeole•16m ago•0 comments

Iran's supreme leader reportedly killed in air strikes

https://www.abc.net.au/news/2026-03-01/iran-missiles-shake-gulf-states-after-us-israel-strike-teh...
1•hulahoof•16m ago•0 comments

Suspected Insiders predict US attack on Polymarket

https://twitter.com/peterjliu/status/2027871116774281489
2•somerandomness•19m ago•0 comments

I (mostly AI) made a Supabase pentesting tool

https://github.com/BobTheShoplifter/supabase-pwn
1•BobTShoplifter•19m ago•0 comments

Show HN: Free, open-source native macOS client for di.fm

https://github.com/drmikexo2/DIBar-macOS
2•thucydides•21m ago•0 comments

Phoropter

https://github.com/lightward/phoropter
2•isaacbowen•21m ago•0 comments

Electric semi trucks can save fleets nearly $160,000 per truck

https://electrek.co/2026/02/28/real-world-test-electric-semi-trucks-can-save-fleets-nearly-160000...
2•breve•21m ago•0 comments

Minimal now supports 22 hardened container images

https://github.com/rtvkiz/minimal/blob/main/README.md
1•theoo21•23m ago•0 comments

The Windows 95 User Interface: A Case Study in Usability Engineering

https://dl.acm.org/doi/fullHtml/10.1145/238386.238611
2•ksec•23m ago•0 comments

The Great Transition

https://danielmiessler.com/blog/the-great-transition
1•jgrodziski•23m ago•0 comments

Iran's Ayatollah Ali Khamenei is killed in Israeli strike, ending 36-year rule

https://www.npr.org/2026/02/28/1123499337/iran-israel-ayatollah-ali-khamenei-killed
92•andsoitis•26m ago•44 comments

The Bitter Lesson is coming for AI products, not just AI research

https://wonderwhy-er.medium.com/niche-focus-saved-saas-startups-im-betting-my-ai-startup-on-the-o...
2•wonderwhyer•31m ago•1 comments

Building a Minimal Transformer for 10-digit Addition

https://alexlitzenberger.com/blog/post.html?post=/building_a_minimal_transformer_for_10_digit_add...
9•kelseyfrog•32m ago•0 comments

Ask HN: Builder.ai ($1B Microsoft-backed AI company) who's lookin at the assets?

2•gamelock•32m ago•0 comments

Runaway

https://domofutu.substack.com/p/runaway
4•wjb3•36m ago•0 comments