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

Same Streets, Different Empires: The Hidden Narrative of Map Copyright

https://blogs.loc.gov/maps/2026/11/same-streets-different-empires/
1•st_goliath•40s ago•0 comments

Show HN: Read-only scanner for exposed Supabase RLS tables and bundle keys

https://breachsweep.com/supabase-rls-scanner
1•breachsweep•2m ago•0 comments

The "Security Tax": Reclaiming 30% Performance in WSL 2

https://tonym.us/wsl2-security-tax-reclaiming-performance
2•speckx•3m ago•0 comments

Show HN: GrowPython, an AI agent that runs outreach up to the booked call

https://growpython.com/
1•sag03halder•3m ago•0 comments

From knowledge graph to topological data analysis

https://nph.onlinelibrary.wiley.com/doi/10.1111/nph.71382
1•bryanrasmussen•3m ago•1 comments

Show HN: MetaClean – Zero-retention in-memory metadata and PII scrubber

https://metaclean.sivepro.com
1•sergiolopezloya•3m ago•0 comments

"I am the cardholder": What AI shopping agents declare in the customer's name

https://zenodo.org/records/24393764
1•lucasmucek•3m ago•0 comments

San Serriffe

https://en.wikipedia.org/wiki/San_Serriffe
1•ColinWright•3m ago•0 comments

Feeding Students' Taste for Native Foods, Culture

https://www.the74million.org/article/hopi-corn-chokecherry-gravy-feeding-students-taste-for-nativ...
1•ohjeez•3m ago•0 comments

Ask HN: Am I the only one whose AI hype is cooling down a lot?

3•redleathercouch•4m ago•0 comments

AI Firms Seek Government-Sanctioned Spying on Dissenters

https://prospect.org/2026/11/20/ai-seeks-government-sanctioned-spying-on-dissenters/
2•paimapi•5m ago•0 comments

A Year of OpenClaw

https://openclaw.ai/blog/a-year-of-the-claw
1•jacobtomlinson•5m ago•0 comments

SWE-2.1

https://cognition.com/blog/swe-2-1
1•handfuloflight•5m ago•0 comments

CIA Hacked

https://www.nytimes.com/2026/11/24/us/politics/spy-agencies-computer-network-breaches.html
1•nthypes•5m ago•1 comments

How to Distill a Training Dataset

https://kbwal.github.io/writing/training-data/
1•kbwal7•6m ago•0 comments

Show HN: Analysis of Hacker News predictions since 2008

https://hnpredictions.com/
1•mv4•8m ago•1 comments

The Surveillance State Now Has a Bank, and It Is Handling Venezuela's Oil Money

https://theleahfiles.substack.com/p/the-surveillance-state-now-has-a
1•CharlesW•10m ago•0 comments

Skala by Bjango

https://bjango.com/mac/skala/
1•qzervaas•10m ago•0 comments

The Elegant DNA Repair System Makes Gene Editing Work

https://www.quantamagazine.org/the-incredible-elegant-dna-repair-system-makes-gene-editing-work-2...
2•KasianFranks•11m ago•0 comments

What Does It Mean to Write 'Like a Human'?

https://www.nytimes.com/2026/11/22/opinion/ai-writing-technology-human-colonialism.html
1•xbryanx•11m ago•0 comments

Army says detonation of lead explosives in Iowa will proceed on Wednesday

https://www.reuters.com/world/us/trump-orders-us-army-pause-lead-azide-detonation-iowa-2026-11-23/
3•speckx•12m ago•0 comments

Cognition Introduces SWE 2.1

https://twitter.com/cognition/status/2125305349414523061
1•iamronaldo•13m ago•1 comments

Wearable cryptographic watermark to stop deepfakes

https://iamnotfake.com/
1•morder•13m ago•0 comments

Show HN: Decoding 63 years of Canadian Prime Ministers' secret telegrams

https://undeciphered.ca/
1•prabal97•13m ago•0 comments

Wash the Mud of a Pig

https://keifurukawafunnych.com/games/mud-pig-wash/
2•luispa•14m ago•0 comments

Natural LANGUAGE: a programmer, a mantis god, and one question [video]

https://www.youtube.com/shorts/yKlFRiydKFI
1•prokidocki•14m ago•1 comments

From CUDA and Jax to TorchTPU: Lessons from a Cayley Graph Solver

https://andlukyane.com/blog/cayley-graphs-and-torchtpu
2•Artgor•15m ago•0 comments

Microsoft declares 'Code Red' after historic outage, internal memos show

https://www.ctvnews.ca/sci-tech/article/microsoft-declares-code-red-after-historic-outage-interna...
2•leonardinius•15m ago•0 comments

Goodbye, World: The End of Programmers

https://www.wired.com/story/goodbye-world-the-end-of-programmers/
1•cdrnsf•16m ago•0 comments

If coding is solved, why doesn't Claude Code have a GitLab integration?

1•lantry•18m ago•0 comments