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

Fire Emissions Watch

https://apps.atmosphere.copernicus.eu/fire-emissions-watch/?d1=2026-08-20&d2=2026-08-26&t=2026-08...
1•bookofjoe•50s ago•0 comments

AI Agent Has Root

https://infernalcode.com/posts/your-ai-agent-has-root/
2•lowcache•1m ago•0 comments

ALMA Reveals Long-Lived Hotspots on Betelgeuse's Bubbling Surface

https://www.almaobservatory.org/en/audiences/alma-reveals-long-lived-hotspots-on-betelgeuses-bubb...
1•layer8•1m ago•0 comments

CISA: Most exploited vulnerabilities should have been eradicated decades ago

https://www.theregister.com/security/2026/08/28/cisa-most-exploited-vulnerabilities-should-have-b...
1•Bender•2m ago•0 comments

Bhartrhari's Paradox

https://www.futilitycloset.com/2026/08/18/bhartrharis-paradox/
1•surprisetalk•2m ago•0 comments

Nuisance-call blocker fined £190k for being a nuisance caller

https://www.theregister.com/security/2026/08/27/nuisance-call-blocker-fined-190k-for-being-a-nuis...
1•Bender•3m ago•0 comments

Police investigating possible forgery at AFRINIC election

https://www.theregister.com/networks/2026/08/27/police-investigating-possible-forgery-at-afrinic-...
1•Bender•3m ago•0 comments

Google AI Mode Gains Flight Price Tracking, Points/Mile Rates and Hotel Booking

https://www.seroundtable.com/google-ai-mode-travel-updates-41956.html
1•thm•4m ago•0 comments

Windows Task Manager's Creator Rebuilt it 30 years later

https://www.youtube.com/watch?v=c3EEs-O3bGE
1•lordleft•5m ago•0 comments

HTTPX2 is a featured HTTP client for Python

https://httpx2.pydantic.dev/
1•Bluestein•6m ago•0 comments

Your AI Generated Menu Triggered My Trypophobia

https://shubhamjain.co/2026/08/27/ai-food-photos-trypophobia/
1•shubhamjain•7m ago•0 comments

Bitcoin's First Quantum-Safe Transaction Just Happened

https://bitcoinmagazine.com/news/bitcoin-quantum-resistant-transaction
3•giuliomagnifico•10m ago•0 comments

Advertisers Could Soon Demand 'Verified Clicks'

https://www.amediaoperator.com/news/advertisers-could-soon-demand-verified-clicks/
2•thm•11m ago•0 comments

Show HN: Texttile, a multiplayer blog engine for people who write together

https://www.texttile.blog/
4•klausbreyer•12m ago•0 comments

OpenAI: Migrating to HTTPX2

https://github.com/openai/openai-python/blob/main/httpx2.md
3•tosh•13m ago•1 comments

Show HN: Wolfpack – private browser control for coding-agent terminals

https://get-wolfpack.netlify.app/
1•wolfmaster•15m ago•0 comments

What your calf muscles can reveal about your heart health

https://www.sciencefocus.com/the-human-body/calf-muscles-heart
1•samizdis•15m ago•0 comments

Director of Technology – Sovereign Tech Agency

https://www.sovereign.tech/jobs/director-of-technology
1•robin_reala•21m ago•0 comments

Show HN: Sitemap.site – Free XML sitemap generator, checker, and validator

https://sitemap.site
1•gingermanymph•22m ago•0 comments

Sloc cloc and code (scc) 4.0: finding the files that need the most attention

https://boyter.org/posts/sloc-cloc-code-hotspots-finding-files-that-need-attention/
1•fanf2•22m ago•0 comments

httpx2

https://github.com/pydantic/httpx2
1•tosh•22m ago•0 comments

The AI-Native SDLC Playbook

https://claude.com/blog/the-ai-native-sdlc-playbook
3•7777777phil•34m ago•0 comments

A.I. Brings Big Gains to Hurricane Forecasts, Google Researchers Say

https://www.nytimes.com/2026/08/28/science/ai-hurricane-forecasts-google.html
3•cainxinth•35m ago•0 comments

Last time an agent produced code you had to throw away, what had it got wrong?

2•biemone•36m ago•1 comments

Ask HN: Best open source way to run local open-weight LLMs in 2026?

3•samuell•37m ago•0 comments

Pentagon's blacklisting of Anthropic was unlawful, US judge rules

https://www.reuters.com/legal/government/us-judge-blocks-pentagons-anthropic-blacklisting-2026-08...
4•softwaredoug•39m ago•0 comments

Ghost in the Machine: Physicists Measure 'Glow' from Shut-Down Nuclear Reactors

https://www.sciencealert.com/ghost-in-the-machine-physicists-measure-the-eerie-glow-from-shut-dow...
2•theanonymousone•40m ago•0 comments

Show HN: Pay-to-rank leaderboards for creators and products

https://www.cuntent.lol
2•CodePapi_•42m ago•1 comments

Show HN: HTML5 port of Civilization 2: MGE

https://wan0.net/civ2/
3•wan0net•42m ago•0 comments

Show HN: PitchBin – a vendor database built from the cold emails you get

https://pitchbin.com/
1•itflashcards•49m ago•0 comments