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

OpenAI Onboards Department of War

https://twitter.com/i/status/2027578652477821175
1•dinosor•3m ago•0 comments

The use of hydroxyapatite toothpaste to prevent dental caries

https://pmc.ncbi.nlm.nih.gov/articles/PMC8930857/
2•gurjeet•5m ago•0 comments

Show HN: TattooForge – AI Tattoo Design Generator

https://tattooforge.art
1•crawde•6m ago•0 comments

Agreement with the Department of War

https://twitter.com/sama/status/2027578580159631610
2•madars•7m ago•0 comments

OpenAI Entered into an agreement with the DoD last January

https://defensescoop.com/2025/01/16/openais-gpt-4o-gets-green-light-for-top-secret-use-in-microso...
1•dakolli•8m ago•1 comments

Please, please, please stop using passkeys for encrypting user data

https://blog.timcappalli.me/p/passkeys-prf-warning/
1•zdw•9m ago•0 comments

Book Review: 'A World Appears,' by Michael Pollan

https://www.nytimes.com/2026/02/27/books/review/a-world-appears-michael-pollan.html
1•lxm•10m ago•0 comments

Jemini Deep Research

https://twitter.com/jmailarchive/status/2027516806806835548
2•jbegley•12m ago•1 comments

Ancient Killer Is Rapidly Gaining Resistance to Antibiotics, Scientists Warn

https://www.sciencealert.com/ancient-killer-is-rapidly-gaining-resistance-to-antibiotics-scientis...
1•thelastgallon•13m ago•0 comments

Burger King is testing AI headsets that will know if employees say 'welcome'

https://abc7.com/post/burger-king-is-testing-ai-headsets-will-know-employees-say-welcome-thank/18...
1•lxm•13m ago•0 comments

Elementary OS 8.1.1 Available Now

https://blog.elementary.io/os-8-1-1-available-now/
1•todsacerdoti•15m ago•0 comments

The Rise and Fall of a 3-D Printing Empire

https://www.nytimes.com/2026/02/27/business/3d-printing-industry.html
1•thelastgallon•18m ago•0 comments

Easel: What's New? (Feb 2026)

https://easel.games/blog/2026-feb-update
1•BSTRhino•20m ago•1 comments

OpenAI Executes Agreement with Dept of War for Classified Environment Deployment

https://twitter.com/sama/status/2027578652477821175
14•eoskx•21m ago•1 comments

I Trained My Own AI It Beat ChatGPT [video]

https://www.youtube.com/watch?v=aV4j5pXLP-I
1•yomismoaqui•22m ago•0 comments

"Tonight, we reached an agreement with the Dept. of War to deploy our models"

https://twitter.com/sama/status/2027578508042723599
8•davidbarker•22m ago•0 comments

Liberland

https://en.wikipedia.org/wiki/Liberland
1•pinkmuffinere•24m ago•0 comments

Bootc and OSTree: Modernizing Linux System Deployment

https://a-cup-of.coffee/blog/ostree-bootc/
2•mrtedbear•25m ago•0 comments

Kola Superdeep Borehole

https://www.davidsmythe.org/kola/kola.htm
1•DriftRegion•26m ago•0 comments

Rtk – reduce Claude Code token usage

https://github.com/rtk-ai/rtk
1•RyanShook•27m ago•0 comments

A "Rose" Made of Galaxies Highlights Hubble's 21st Anniversary

https://science.nasa.gov/asset/hubble/a-rose-made-of-galaxies-highlights-hubbles-21st-anniversary/
1•tzury•28m ago•0 comments

Show HN: Local memory for AI assistants – zero-cost Telegram history search

https://github.com/tituss-bit/openclaw-local-memory
1•tituss-bit•28m ago•0 comments

Deep Learning: Our Year 1990-1991

https://people.idsia.ch/~juergen/blog.html
1•vinhnx•29m ago•0 comments

Deep Learning: Our Year 1990-1991

https://arxiv.org/abs/2005.05744
1•vinhnx•29m ago•0 comments

WhatsApp Encryption, a Lawsuit, and a Lot of Noise

https://blog.cryptographyengineering.com/2026/02/02/whatsapp-encryption-a-lawsuit-and-a-lot-of-no...
1•Betelbuddy•30m ago•0 comments

Croatia declared free of landmines after 31 years

https://glashrvatske.hrt.hr/en/domestic/croatia-declared-free-of-landmines-after-31-years-12593533
3•toomuchtodo•32m ago•1 comments

I built the first multiplayer prompt-hacking game: Agent Has A Secret

https://agenthasasecret.com/
1•arm32•33m ago•1 comments

Coding Agents Wrote a Chess Engine in Pure TeX

https://blog.mathieuacher.com/TeXCCChessEngine/
1•azhenley•34m ago•0 comments

Building a Minimal Transformer for 10-digit Addition

https://alexlitzenberger.com/blog/post.html?post=/building_a_minimal_transformer_for_10_digit_add...
2•alexlitz•35m ago•0 comments

How Codex Is Built

https://newsletter.pragmaticengineer.com/p/how-codex-is-built
2•vinhnx•38m ago•0 comments