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

TV Time is on its last legs. It's founder is building its replacement

https://www.neowin.net/news/tv-time-is-on-its-last-legs-its-founder-is-already-building-its-repla...
1•bundie•1m ago•0 comments

IronCurtain – A secure* runtime for autonomous AI agents

https://github.com/provos/ironcurtain
1•n0on3•4m ago•0 comments

Show HN: Codex Pet Web – put any Codex pet on any website

https://pets.caro.sh
1•kobi_kadosh•6m ago•0 comments

Hands-On with iOS and iPadOS 27, macOS 27 Golden Gate, and Siri AI

https://eshumarneedi.com/2026/07/13/handson-with-ios-and-ipados.html
1•mindracer•8m ago•0 comments

GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning

https://arxiv.org/abs/2507.19457
3•handfuloflight•13m ago•0 comments

Egypt and Turkey deny LGBTQ+ cruise access to port over immorality

https://www.jpost.com/international/article-902192
1•andsoitis•13m ago•0 comments

Locked Away

https://www.newyorker.com/magazine/2026/07/20/locked-away
3•petethomas•13m ago•0 comments

Built a Chrome extension to organize GitHub stars

https://chromewebstore.google.com/detail/stardeck/cegfcmcniionnghnglfehbdmelffbnan
1•nandanadileep29•16m ago•0 comments

Lawsuit: Man used Grok to make 7K sex images of stepdaughter, then shot himself

https://arstechnica.com/tech-policy/2026/07/lawsuit-grok-user-made-7k-child-sex-images-xai-only-r...
1•philips•19m ago•0 comments

Detection of a four-carbon sugar in interstellar space

https://www.nature.com/articles/s41550-026-02905-7
2•anyonecancode•20m ago•0 comments

US "Normalizing Unmanned Aircraft Systems Bvlos Operations" Rule Moves Closer

https://www.unmannedairspace.info/latest-news-and-information/us-normalizing-unmanned-aircraft-sy...
1•bryanrasmussen•25m ago•1 comments

Why is LinkedIn enumerating my browser extensions?

https://insertchaos.bearblog.dev/the-strange-case-of-an-attack-on-my-browser/
1•snorbleck•28m ago•0 comments

Ongoing changes to Android security patches due to AI vulnerability discovery

https://discuss.grapheneos.org/d/40286-ongoing-changes-to-android-security-patches-due-to-ai-vuln...
1•Cider9986•32m ago•0 comments

Therapists see more young patients with gambling problems. They blame Kalshi

https://laist.com/news/health/la-therapists-are-seeing-more-young-patients-with-gambling-problems...
1•geox•34m ago•0 comments

Android Developer Verifier

https://old.reddit.com/r/degoogle/comments/1uvd1of/everyone_listen/
2•cma•36m ago•0 comments

Every project should have an invariants.md

https://twitter.com/PiccoGabriele/status/2076876444760957440
2•piccogabriele•36m ago•3 comments

Is that bot a Pomeranian or a wolf – and who to sue when it 'bites'?

https://news.harvard.edu/gazette/story/2026/07/is-that-bot-a-pomeranian-or-a-wolf-and-who-to-sue-...
3•rathodravish•37m ago•0 comments

One Contract, Every Model: An Operating Standard for AI Coding Agents

https://manazir.dev/blog/operating-standard-harness
2•mnzralee•38m ago•0 comments

Show HN: Self-hosting unpruned GLM-5.2 on a 4-node DGX Spark cluster

https://github.com/XanuNetworks/GLM-5.2-QuantTrio-DCP-4x-DGX-Spark
2•deepseaOne•39m ago•0 comments

Turbopuffer vs. Manticore Search on a couple of cheap VPS

https://medium.com/@s_nikolaev/turbopuffer-vs-manticore-search-on-a-couple-of-cheap-vps-171c35fe25d9
2•snikolaev•40m ago•0 comments

Show HN: Open-source background location tracking SDK for Android and iOS

https://www.traccar.org/blog/traccar-client-sdk/
2•tananaev•41m ago•0 comments

West Memphis Three

https://en.wikipedia.org/wiki/West_Memphis_Three
2•js2•43m ago•0 comments

YouTrackDB is a general-use object-oriented graph database

https://github.com/JetBrains/youtrackdb
3•gjvc•46m ago•0 comments

Show HN:PandaClip a local mcp tool for an agents working state

https://github.com/xfloukiex-lab/pandaclip
3•VektorGeist•51m ago•0 comments

I made a neural network that I can train using my fingers

https://medium.com/@ceo_44783/i-built-a-neural-network-i-could-train-with-my-fingers-e1dd37627bf7
2•tylersuard•53m ago•1 comments

Come Friendly SBOMs

https://freebsdfoundation.org/our-work/journal/browser-based-edition/improving-software-quality/c...
2•Tomte•54m ago•0 comments

Show HN: An autonomous SOC built to refuse causation it can't prove

https://www.domesoc.com/
2•MohammadKhubaib•57m ago•0 comments

Jamkernelp2p: A sovereign P2P microkernel for ultimate lightness and control

https://github.com/jamkernel/jamkernelp2p
2•jamkernelp2p•59m ago•0 comments

Claude Science, an AI workbench for scientists

https://www.anthropic.com/news/claude-science-ai-workbench
2•mgh2•59m ago•0 comments

CTA-Pipelining: A Latency-Oriented Spatial Scaling Method for Multi-GPU Systems

https://arxiv.org/abs/2607.07862
2•matt_d•59m ago•0 comments