frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

LLMShare: Attackers are turning AI chatbot pages into malware delivery platforms

https://pushsecurity.com/blog/llmshare-malvertising-campaign
1•croes•12m ago•0 comments

CQL: Categorical Databases

https://categoricaldata.net/
1•noworriesnate•15m ago•0 comments

Edgar Morin Has Died

https://www.france24.com/en/france/20260530-french-intellectual-and-inventor-of-cinema-verite-edg...
3•jmague•20m ago•0 comments

Automated scientific paper/book generation

https://rxiv-maker.henriqueslab.org/
3•ankitg12•21m ago•0 comments

What Ozempic and other GLP-1 weight loss drugs do to the body

https://www.washingtonpost.com/health/2026/03/27/glp1-ozempic-benefits/
5•bookofjoe•22m ago•2 comments

Data center of 2.6M square feet blocked by Millville ban

https://www.courierpostonline.com/story/news/politics/2026/05/20/millville-new-jersey-data-center...
2•1vuio0pswjnm7•23m ago•1 comments

Truncated Code Begone

https://github.com/ue-patcher/ultimate_elastic_patcher/releases
2•aihatterer•24m ago•2 comments

The U.S. Has Seized $1B of Iran's Crypto: Treasury

https://bitcoinmagazine.com/news/u-s-treasury-the-united-states-iran
7•giuliomagnifico•25m ago•2 comments

Show HN: Helios – what plug-in solar could generate for any address in Britain

https://helios.southlondonscientific.com/
3•ruaraidh•25m ago•0 comments

The deadly Ebola outbreak is proving difficult to control

https://www.technologyreview.com/2026/05/29/1138093/the-deadly-ebola-outbreak-is-proving-difficul...
3•joozio•27m ago•0 comments

Prosecutors issue Google insider trading charges

https://fortune.com/2026/05/29/prosecutors-issue-google-insider-trading-charges-employee-polymarket/
2•1vuio0pswjnm7•28m ago•0 comments

SwiftLaTeX, a Wysiwyg Browser-Based LaTeX Editor

https://github.com/SwiftLaTeX/SwiftLaTeX
2•theanonymousone•29m ago•0 comments

List of MkDocs Projects and Plugins

https://github.com/mkdocs/catalog
2•ankitg12•31m ago•0 comments

AI Billionaires Brace for Pitchforks

https://www.axios.com/2026/05/29/ai-billionaires-tech-taxes-wealth
6•1vuio0pswjnm7•32m ago•0 comments

Finding a needle in a 4 GB haystack: from 0.75 GB/s to 49 GB/s in Go

https://segflow.github.io/post/fast-file-search-go/
3•marksomnian•37m ago•1 comments

My IP Address – MyIPNow

https://apps.apple.com/us/app/myipnow-ip-network-tools/id6763992136
2•myipnow•38m ago•0 comments

Openrsync: An implementation of rsync, by the OpenBSD team

https://github.com/kristapsdz/openrsync
2•sph•42m ago•0 comments

The Paint.net Domain Has Been Secured

https://blog.getpaint.net/2026/05/29/the-paint-net-domain-has-been-secured/
2•tamnd•42m ago•0 comments

Best Simple System for Now

https://www.youtube.com/watch?v=oaHshjX50VY
2•RebootStr•45m ago•0 comments

Millions of Bees Have Thrived Under a New York Cemetery for More Than a Century

https://www.wired.com/story/millions-of-bees-have-thrived-under-a-new-york-cemetery-for-more-than...
2•beardyw•45m ago•0 comments

GPO Style Manual [pdf]

https://www.govinfo.gov/content/pkg/GPO-STYLEMANUAL-2016/pdf/GPO-STYLEMANUAL-2016.pdf
2•ankitg12•47m ago•0 comments

The fastest and easiest way to use Stremio

https://duck-tools.pages.dev/quackstart/
2•Cider9986•49m ago•0 comments

Show HN: DocOCR – Convert document images to Markdown locally on macOS

https://github.com/riddleling/docOCR
3•riddleling•53m ago•0 comments

Congress moves to integrate US and Israeli militaries

https://responsiblestatecraft.org/israel-us-military/
3•endorphine•58m ago•1 comments

Return on Intelligence, Part 1: Echoes

https://rebecca-powell.com/posts/return-on-intelligence-01-echoes/
1•bovermyer•59m ago•0 comments

Museum of Algorithms: A Digital Exhibition of Interactive Algorithm Art

https://www.museumofalgorithms.org
2•birdculture•1h ago•0 comments

Leo's first encyclical attacks technological messianism

https://www.economist.com/europe/2026/05/28/leos-first-encyclical-attacks-technological-messianism
2•1vuio0pswjnm7•1h ago•0 comments

Why the failure of Blue Origin's New Glenn rocket is so catastrophic

https://arstechnica.com/space/2026/05/heres-why-the-failure-of-blue-origins-new-glenn-rocket-is-s...
2•rbanffy•1h ago•1 comments

Misguided JavaScript API: Origin Private File System

https://lapcatsoftware.com/articles/2026/5/5.html
2•latexr•1h ago•0 comments

Blue Origin rocket explodes ahead of launch, in major setback for space company

https://www.washingtonpost.com/technology/2026/05/29/blue-origin-rocket-explodes-ahead-satellite-...
2•1vuio0pswjnm7•1h ago•0 comments