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

Choice of over 600 LLMs across 9 providers

https://medium.com/@vektormemory/vektor-v1-9-5-is-live-your-choice-of-over-600-llms-across-9-prov...
1•vektormemory•4m ago•0 comments

Helium balloon lifts up to two tons of building material over Tibet's mountains

https://uk.news.yahoo.com/giant-helium-balloon-lifts-two-120039133.html
2•ksec•6m ago•0 comments

Show HN: Castrag – transcribe and semantically search a large podcast archive

https://github.com/snowmac/castrag
1•snow_mac•12m ago•0 comments

Show HN: Napkin – a scratchpad that holds texts and images for copy

https://github.com/sudomonas/napkin
2•ppnpm•14m ago•0 comments

Feynman-"what differs physics from mathematics" [video]

https://www.youtube.com/watch?v=B-eh2SD54fM
1•thelastgallon•20m ago•0 comments

What's Up with Liliputing?

https://liliputing.com/whats-up-with-liliputing-fall-2026-edition/
1•pmontra•20m ago•0 comments

America is in the wrong AI race with China

https://restofworld.org/2026/america-china-ai-race-trust/
4•billybuckwheat•21m ago•0 comments

-Delete-

https://www.thedailybeast.com/trump-humiliated-as-un-speech-bombs-with-bored-audience/
2•ksec•34m ago•3 comments

Big Banks Say They're Uneasy About People Shopping via AI Agents

https://gizmodo.com/big-banks-say-theyre-uneasy-about-people-shopping-via-ai-agents-2000815443
3•thm•35m ago•1 comments

LGBT tolerance slumps in the Netherlands as debate turns vicious

https://www.dutchnews.nl/2026/09/lgbt-tolerance-slumps-in-the-netherlands-as-debate-turns-vicious/
3•latexr•42m ago•0 comments

Show HN: Kern.md – Single-session long-running agent

https://github.com/oguzbilgic/kern-ai/blob/master/templates/KERN.md
1•obilgic•45m ago•0 comments

Anthropic classifiers prohibit kernel development

https://twitter.com/TheAhmadOsman/status/2102535871727857915/photo/1
5•nullbio•46m ago•1 comments

United Nations: AI Agents, Misalignment and the Risk of Losing Human Control [pdf]

https://www.un.org/independent-international-scientific-panel-ai/sites/default/files/2026-09/Them...
1•nsagent•47m ago•0 comments

Grammarly will send unhinged messages to all your users if you try to cancel

https://www.reddit.com/r/sysadmin/comments/1wjdpgx/psa_grammarly_will_send_unhinged_messages_to_all/
8•ksec•47m ago•1 comments

Acer CEO says memory makers are hyping 2030 shortage fears to protect margins

https://www.tomshardware.com/pc-components/dram/acer-ceo-says-memory-makers-are-hyping-2030-short...
4•alok-g•48m ago•1 comments

North Texas engineer built a map for cheap local restaurants [video]

https://www.youtube.com/watch?v=K6qhp0SsEcM
2•phodo•49m ago•1 comments

Data-Only Attacks Are Easier Than You Think

https://www.usenix.org/publications/loginonline/data-only-attacks-are-easier-you-think
7•segfaultbuserr•59m ago•1 comments

A Machine Beat Me at Chess. I'm Still Rooting for AI

https://www.thenextmove.org/p/a-machine-beat-me-at-chess-im-still
1•akbarnama•1h ago•0 comments

Loment: A self-hosted systems language with multi-syntax front ends

https://github.com/FujoJTOP/loment
1•FujoLoment•1h ago•1 comments

Porting Bhyve to Rust

https://github.com/TritonDataCenter/rshyve
2•nwilkens•1h ago•1 comments

Snorkel AI triples valuation to $3.5B as demand for AI training data booms

https://techcrunch.com/2026/09/22/snorkel-ai-triples-valuation-to-3-5b-as-demand-for-ai-training-...
2•nlpnerd•1h ago•2 comments

Anatomy of a (Postgres) Search Engine

https://planetscale.com/blog/anatomy-of-a-postgres-search-engine
3•ksec•1h ago•0 comments

Specs cut defects in AI-generated code from 148 to 23 across five models

https://arxiv.org/abs/2609.23270
1•sandeepdhuri•1h ago•0 comments

President Lula Dataset

https://huggingface.co/datasets/geoffchan/lula-footage/viewer/default/train
1•rodrigueslotu•1h ago•0 comments

RGPU – Use a remote Nvidia GPU from PyTorch on a machine that has none

https://rgpu.dev
1•boxstream•1h ago•0 comments

Americans Are About to Lose Access to Prescriptions from Canada

https://www.wsj.com/health/healthcare/us-customs-prescription-drugs-canada-71978a47
6•baran•1h ago•0 comments

Critical Period in Brain Development

https://www.simplypsychology.org/critical-period.html
5•kamaraju•1h ago•0 comments

HarmBlock+ Safest Smartphone: Please Rotate Responsibly

https://paul.reviews/harmblock-worlds-safest-smartphone-please-rotate-responsibly/
1•pseudohadamard•1h ago•0 comments

Sadness and Suicidal Behavior Among Teenagers Is Declining, CDC Finds

https://www.nytimes.com/2026/09/21/science/teen-sadness-depression.html
2•lxm•1h ago•0 comments

Agent-browser equivalent for desktop and mobile apps

https://agent-device.dev
1•novoreorx•1h ago•0 comments