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

Brazil's high-tech voting system is losing voters' trust

https://www.economist.com/the-americas/2026/05/31/brazils-high-tech-voting-system-is-losing-voter...
1•edward•37s ago•0 comments

Let us filter AI slop, you cowards

https://www.theverge.com/ai-artificial-intelligence/942909/let-us-filter-ai-slop-google-youtube-m...
1•stalfosknight•48s ago•0 comments

EU should expand to 40 states – including Canada

https://www.cnbc.com/2026/06/04/finland-stubb-eu-canada-turkey-norway.html
1•leopoldj•55s ago•0 comments

Creating SQL queries with decision trees

https://inversql.rentruewang.com
1•renchuw•2m ago•1 comments

Rewiring software delivery for the agentic era

https://www.mckinsey.com/capabilities/technology/our-insights/rewiring-software-delivery-for-the-...
1•taubek•3m ago•0 comments

EU Parliament switches to Qwant search engine from Google in sovereignty push

https://www.reuters.com/business/eu-parliament-switch-french-search-engine-google-tech-sovereignt...
1•rvnx•5m ago•1 comments

microui+fenster=small gui (2024)

https://bernsteinbear.com/blog/fenster-microui/
1•tosh•8m ago•0 comments

Yarle – The ultimate converter of Evernote notes to Markdown

https://github.com/akosbalasko/yarle
1•amai•8m ago•0 comments

NimbusDB – Native macOS DB Manager for CloudKit, Supabase, Firebase and Appwrite

https://apps.apple.com/us/app/nimbusdb/id6769177806?mt=12
1•anton__dev•9m ago•0 comments

Sherpa missing for a week on Mount Everest is rescued

https://www.nbcnews.com/world/asia/sherpa-missing-week-mount-everest-no-food-oxygen-rescued-crawl...
2•gscott•11m ago•0 comments

Show HN: Will It Fit? – Opinionated Normal People Llama.cpp VRAM Estimator

https://hypfer.github.io/will-it-fit-llama-cpp/
1•hypfer•12m ago•1 comments

Oregon gets its first California condor visit in 122 years

https://www.opb.org/article/2026/06/02/oregon-first-california-condor-visit-122-years/
1•speckx•12m ago•0 comments

Teradata CEO to staff: You're not getting a raise. We're spending on AI instead

https://www.businessinsider.com/teradata-pauses-raises-employee-compensation-ai-budget-2026-6
2•healsdata•12m ago•0 comments

The Secret Life of Circuits with lcamtuf / Michał Zalewski (Audio Interview)

https://theamphour.com/725-the-secret-life-of-circuits-with-lcamtuf-michal-zalewski/
2•ChrisGammell•13m ago•1 comments

Faiss: Billion-Scale Similarity Search

https://fremaconsulting.ch/blog/faiss
1•tohms•15m ago•1 comments

US Marine Corps retires the first fighter jet that didn't need a runway

https://www.cnn.com/2026/06/04/us/us-marine-corps-harrier-jump-jet-retirement-intl-hnk-ml
2•everybodyknows•16m ago•3 comments

Get Started with Meko: Agent Memory with Built-In Discernment

https://www.yugabyte.com/blog/meko-agent-memory-with-built-in-discernment/
1•3littlefish•17m ago•0 comments

Breaking Changes in APIs: How to Detect and Prevent Them

https://apiguard.co/blog/openapi-breaking-changes
1•mkhorasani•18m ago•0 comments

An Engineer Says He's Found a Way to Overcome Earth's Gravity

https://www.popularmechanics.com/space/rockets/a71443027/engineer-says-he-can-overcome-earths-gra...
1•wasting_time•19m ago•0 comments

Open-source security is not a solo activity

https://lwn.net/SubscriberLink/1075741/50c391e7354f1d91/
1•chmaynard•19m ago•0 comments

The simplest proof LLMs are not conscious [video]

https://www.youtube.com/shorts/sPaKDMqfAG8
1•abtinf•20m ago•1 comments

Design and engineering solve different problems; AI is forgetting that

https://www.jeana.dev/thoughts/2026/04/ai-for-designers/
2•speckx•24m ago•0 comments

Commutator Intuition

https://pgadey.ca/notes/commutator-intuition/
2•surprisetalk•24m ago•0 comments

PSF Strategic Plan 2026 Draft: Open for Community Feedback

https://pyfound.blogspot.com/2026/06/psf-strategic-plan-2026-draft-open-for.html
1•lumpa•24m ago•0 comments

127.0.0.1 in eight headers: what attackers hide in X-Forwarded-For

https://honeylabs.net/blog/what-attackers-hide-in-forwarding-headers
1•Robbedoes•25m ago•0 comments

I just hacked fractionalized NFTs and onchain bonds

https://page.twentythreeinreverse.com/
1•bryonyoni•26m ago•0 comments

Bloom – Beautifull Disk Space Cleaner (Free for Limited Time)

https://apps.apple.com/us/app/bloom-disk-space-cleaner/id6775048425?mt=12
1•KafKev•26m ago•0 comments

Bread made from yeast of Ötzi the Iceman's yeast, a 5,300 year old mummy

https://www.livescience.com/archaeology/it-was-very-very-good-otzi-the-icemans-body-is-covered-in...
2•gmays•28m ago•0 comments

Less than 4% Australians trust AI companies

https://www.abc.net.au/news/2026-06-04/artificial-intelligence-australians-trust-survey-pope-leo-...
2•soundworlds•29m ago•0 comments

The Return of Soft Skills in the Age of GenAI and Agentic Software Development

https://cacm.acm.org/blogcacm/the-return-of-soft-skills-in-the-age-of-genai-and-agentic-software-...
1•tchalla•29m ago•0 comments