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

Open-sourced a dataset of companies and their detected tech stacks (CSV/JSON)

https://github.com/leadita/tech-stack-datasets
1•haynajjar•2m ago•0 comments

Library Catalog (Card Catalog)

https://en.wikipedia.org/wiki/Library_catalog
1•RetroTechie•3m ago•1 comments

Data centers have hiked electricity prices on the public by $23B

https://fortune.com/2026/07/14/data-centers-23-billion-electricity-bills/
1•measurablefunc•3m ago•0 comments

Beyond Nerva Nuclear Propulsion for Humanity's Expanse into the Cosmos

https://beyondnerva.wordpress.com/
1•pinewurst•7m ago•0 comments

Solving 20 Erdős Problems with 20 Codex Accounts Running in Parallel

https://www.starfleetmath.com/
1•colin7snyder•7m ago•0 comments

Vancouver PD website features Quick Escape button that wipes itself from history

https://vpd.ca/
1•LookAtThatBacon•7m ago•1 comments

Why Huge Pages matter for Postgres

https://clickhouse.com/blog/huge-pages-clickhouse-managed-postgres
1•thunderbong•14m ago•0 comments

Show HN: Digital De-Centralized Internship

https://lab.cedarridge.capital/
1•joey9prints•15m ago•0 comments

Amazon rolled back its monetization effort for its Selling Partner APIs

https://www.fivetran.com/blog/no-walled-gardens-amazon-reversed-its-seller-partner-api-fees
1•mogili•17m ago•0 comments

ChatGPT Remote Connection Failure

2•tumidpandora•18m ago•2 comments

Russian Artists Imagined in 1914 What Moscow Would Look Like in 2259

https://www.openculture.com/2026/07/russian-artists-imagined-what-moscow-would-look-like-in-2259....
1•gslin•20m ago•0 comments

IBM stock drops the most since 1987

https://finance.yahoo.com/markets/stocks/article/ibm-stock-closes-down-more-than-25-after-preanno...
2•mathattack•21m ago•1 comments

Free-form thermal cloaks in three dimensions

https://www.nature.com/articles/s41467-026-73167-0
1•T-A•24m ago•0 comments

Silicon Valley has a science fiction problem

https://aeon.co/essays/silicon-valley-has-a-science-fiction-problem
2•ohjeez•24m ago•0 comments

Legal AI, not a coding agent with scaffolding

https://lexifina.com/blog/legal-ai-not-a-coding-agent-with-scaffolding
1•alansaber•31m ago•0 comments

Is ChatGPT Down?

7•behindai•32m ago•4 comments

ChatGPT Is Down

https://chatgpt.com/
12•distrill•35m ago•11 comments

Why organizing knowledge in the age of AI sucks, and how I solve it

https://jordangreen.bearblog.dev/why-organizing-knowledge-in-the-age-of-ai-sucks-and-what-i-built/
2•enteigss•35m ago•1 comments

Show HN: Asciitopia – a library of animated ASCII art patterns

https://github.com/flawnn/asciitopia
1•flawn•37m ago•0 comments

Show HN: Self-hosted Minecraft multi-server panel for vanilla and modpacks

https://github.com/anefzaoui/minecraft-server-manager
1•ahmednefzaoui•38m ago•0 comments

House passes bill to make daylight saving time permanent

https://www.cbsnews.com/news/daylight-saving-time-permanent-house-vote/
1•m348e912•39m ago•4 comments

OpenAI and Anthropic warning about a future they're building at breakneck speed

https://www.businessinsider.com/openai-anthropic-warning-about-future-they-are-building-2026-6
2•falcor84•40m ago•0 comments

We Demand Perfect Machines yet Tolerate Human Carnage

https://www.noemamag.com/why-we-demand-perfect-machines-yet-tolerate-human-carnage/
4•mikelgan•42m ago•1 comments

Maincode launches Matilda, an AI assistant running on Australian infrastructure

https://blog.maincode.com/introducing-matildas-open-beta-australian-ai-built-for-trust/
1•huey77•42m ago•0 comments

A Framework for Frontier AI and the Dawning of a New Age

https://demishassabis.substack.com/p/a-framework-for-frontier-ai-and-the-dawning-of-a-new-age
2•wunderwuzzi23•47m ago•0 comments

Lenovo ThinkStation P3 Ultra SFF Gen 2 Review: Small Chassis, Surprising Power

https://www.storagereview.com/review/lenovo-thinkstation-p3-ultra-sff-gen-2-review-small-chassis-...
1•teleforce•47m ago•0 comments

PixelSat I Software Part 2: Attitude Determination and Control System

https://www.projectpixelorbital.com/software-2/
1•aadishv•50m ago•0 comments

US Congress takes next step to make daylight saving time permanent

https://www.bbc.com/news/articles/cz9l9venjd8o
2•xoxxala•56m ago•1 comments

Lawsuit claims Meta's layoff decisions were made by AI, not humans

https://arstechnica.com/tech-policy/2026/07/lawsuit-claims-metas-layoff-decisions-were-made-by-ai...
6•BeetleB•57m ago•4 comments

NeuralPGN – local-first chess repertoire trainer with FSRS (Tauri)

https://github.com/kfunezc204/neuralpgn
2•kfunezc204•58m ago•0 comments