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

Grand Theft Auto 6: A Landmark Achievement That Redefines a Console Generation

https://www.digitalfoundry.net/reviews/grand-theft-auto-6-a-landmark-achievement-that-redefines-a...
1•linzhangrun•1m ago•0 comments

PayByPhone is stealing $50M/year from their users

https://www.youtube.com/watch?v=i8mrwS5QZQE
1•carabiner•4m ago•0 comments

Steve Wozniak on Writing Apple Integer Basic

https://woz.org/
1•Skyfall106•4m ago•0 comments

Possibly leaked NSA Cyberattack tool behind attacks (2017)

https://mobile.nytimes.com/2017/05/12/world/europe/uk-national-health-service-cyberattack.html
1•TZubiri•10m ago•0 comments

Show HN: Zpup – Zdog style 3D scenes in JSON, SVG from any angle

https://github.com/rxolve/zpup
2•select1dev•14m ago•0 comments

15M web servers on one VM – smoltcp, DPDK, AF_XDP

https://kapteko.com/15-million-webservers/
2•fessguid•14m ago•0 comments

Data Contracts

https://martinfowler.com/articles/data-contracts.html
2•aiobe•22m ago•0 comments

ORA: Open Robot-Use Agents

https://fastrua.ai/blog/2026-11-code-mode/
1•matt_d•23m ago•0 comments

Fewer slides, more dragons

https://www.breakingchange.blog/p/fewer-slides-more-dragons
1•firloop•24m ago•0 comments

An LLM workflow that reproduces, improves, extends published economics research

https://www.nber.org/papers/w35782
1•latentframe•24m ago•0 comments

Keith Snook – The Valve Audio (& Hi-Fi) Interest Pages Since 1993

https://keith-snook.info/
1•gregsadetsky•26m ago•0 comments

Recursive Sparse Attention: Million-Token Extrapolation at Logarithmic Cost

https://haoailab.com/blogs/recsa/
1•matt_d•29m ago•0 comments

$Ant

https://thelightcone.substack.com/p/ant
1•bci12333•34m ago•0 comments

Show HN: A small coding tool for kids

https://dinoscript.org/
1•fclaude•36m ago•0 comments

South Korea tries to out exam cheats with Extreme Emergency smartphone alert

https://www.theregister.com/personal-tech/2026/11/19/south-korea-tries-to-out-exam-cheats-with-ex...
3•sohkamyung•39m ago•1 comments

Vals AI – Compare AI models across real-world benchmarks

https://www.vals.ai/comparison
1•cobychapple•42m ago•0 comments

What should my dog eat?

https://fluffmobile.com/what-should-my-dog-eat/
1•titusblair•43m ago•0 comments

Why do big dogs die young?

https://fluffmobile.com/research/why-big-dogs-die-young/
1•titusblair•43m ago•0 comments

How Carrel took shape: from a bookmark pile to trackers

https://usecarrel.app/blog/how-carrel-took-shape
1•neilguuu•44m ago•0 comments

Wait for pull request events with GitHub CLI

https://github.blog/changelog/2026-11-18-wait-for-pull-request-events-with-github-cli/
2•axis_official•52m ago•0 comments

Show HN: Git Hook for Model Identifation

https://github.com/orsenthil/git-hook-model-identification
1•orsenthil•52m ago•0 comments

Will Wright's next simulation will use AI to mine content from your memories

https://arstechnica.com/gaming/2026/11/will-wrights-next-simulation-will-use-ai-to-mine-content-f...
7•vok•53m ago•1 comments

Project Gryffindor: Meta's plan to get more school kids using Instagram

https://www.npr.org/2026/11/18/nx-s1-6037808/meta-instagram-schools-teens-safety
4•gfaddy•54m ago•0 comments

Scaling Durable Execution Workflows with CitusDB and NATS

https://www.bytefish.de/blog/sqlflow_distributed.html
1•bytefish•55m ago•1 comments

Ukraine blew up Putin's bridge using relay drones to bypass Starlink limits

https://arstechnica.com/gadgets/2026/11/ukraine-blew-up-putins-bridge-using-relay-drones-to-bypas...
4•hackthemack•59m ago•0 comments

Show HN: Snowchive – Snowden archive of all published documents

https://snowchive.org
4•libroot•59m ago•0 comments

Readycode.ai – Multi AI Platform

https://readycode.ai/
1•readycodeai•1h ago•0 comments

Another critical PHP flaw to be revealed tomorrow

https://www.aikido.dev/blog/php-security-release-19-november-2026-cve-2026-115560
3•EGreg•1h ago•1 comments

Ruby2ßhell: Pre-authentication RCE on stock Rails

https://verialabs.com/ruby2shell/
5•jdns•1h ago•0 comments

45-Year-Old Commodore Program Recovered from a Paper Printout

https://handheldhideout.neocities.org/articles/a-45-year-old-commodore-program-recovered-from-pap...
1•hackthemack•1h ago•0 comments