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

The Ardent Titan, part 1

https://blogs.mathworks.com/cleve/2013/11/25/the-ardent-titan-part-1/
2•rbanffy•58s ago•0 comments

Scientists Found the Last of Us Fungus and It Is Everywhere [video]

https://www.youtube.com/watch?v=pnTf2uwQYzE
2•Bender•2m ago•0 comments

The Cyber Conflict We See and the One We Miss

https://warontherocks.com/the-cyber-conflict-we-see-and-the-one-we-miss/
2•crescit_eundo•3m ago•0 comments

FyshOS

https://fyshos.com/
2•saikatsg•3m ago•0 comments

How to Phase Out Chinese Information Tech Infrastructure Without Stalling US AI

https://warontherocks.com/cogs-of-war/how-to-phase-out-chinese-information-technology-infrastruct...
1•crescit_eundo•4m ago•1 comments

Show HN: OpenPeaks – hourly snow conditions for BC and Rockies ski hills

https://openpeaks.ca
1•romaniaa•4m ago•0 comments

My Databricks Job Now Investigates Its Own Failures and Emails Me the Fix

https://medium.com/the-pipeline-ai-ml-and-cloud/my-databricks-job-now-investigates-its-own-failur...
1•mtshomsky•7m ago•0 comments

El Niño Is Weakening a Key Natural Defense Against Warming

https://www.nytimes.com/2026/12/06/climate/el-nino-drought-fires.html
1•saikatsg•7m ago•0 comments

Evaluating LLMs in a Live CRM

https://hubspot.engineering/blog/evaluating-llms-in-a-live-crm/
1•gradient-decent•7m ago•0 comments

Am I Worried About Bitcoin's Future?

https://blog.nummyx.com/articles/am-i-worried-about-bitcoins-future/
1•nkaretnikov•8m ago•1 comments

Yushō Disease

https://en.wikipedia.org/wiki/Yush%C5%8D_disease
1•jacquesm•9m ago•0 comments

What do quantum cryptography, DNA and your deepest darkest secret all share?

https://alex.cola.vin/blog/indelible/
1•acolavin•11m ago•1 comments

VPMU: Spike 2, Chicago Gaming's machines and FunHouse 2.0 in Visual Pinball X

https://github.com/VPMUnleashed/vpmu
1•jvince41•11m ago•0 comments

Nvidia's Brutal Week Shows Challenge of Containing Huang Crisis

https://www.bloomberg.com/news/articles/2026-12-05/nvidia-s-brutal-week-shows-challenge-of-contai...
3•gwu78•14m ago•0 comments

HoldFast – Memory-Safe Verifiable Systems Language with Dependent & Graded Types

https://symbiogenesis.github.io/HoldFast/
2•nwah1•16m ago•0 comments

termscp – Terminal File Transfer

https://termscp.rs/
1•smartmic•17m ago•0 comments

Best Reddit MCP Servers: RedCopilot and 7 Others Compared

https://certifiedkarma.com/blog/best-reddit-mcp-servers
1•alexck•20m ago•0 comments

Performance Excuses Debunked

https://www.computerenhance.com/p/performance-excuses-debunked
1•tosh•21m ago•1 comments

Hiroshima scientists crack the code for 3D printing tungsten carbide

https://www.techspot.com/news/111247-hiroshima-scientists-crack-code-3d-printing-tungsten-carbide...
2•thunderbong•22m ago•0 comments

US employers unexpectedly shed 6,000 jobs last month as hiring slowed

https://www.cfodive.com/news/us-employers-unexpectedly-shed-6000-jobs-last-month-hiring-slowed/87...
3•frank_clover•23m ago•0 comments

Nvidia delays 10-Q, admits management failings as scrutiny over Huang mounts

https://www.reuters.com/world/china/nvidia-likely-delay-its-quarterly-financial-report-semafor-re...
2•nephihaha•24m ago•1 comments

The Unlikely Answer to Russia's Jet-Powered Drones

https://www.theatlantic.com/international/2026/12/russia-ukraine-nato-jet-powered-drones/689682/
3•Tomte•26m ago•0 comments

Show HN: Revere – early warnings from silent security fixes in NPM packages

https://revereintel.com/
1•Dominic_P•26m ago•0 comments

More Than 4,200 People's Data in Fugaku Supercomputer May Have Leaked

https://japannews.yomiuri.co.jp/science-nature/technology/20261116-359266/
1•mushstory•26m ago•0 comments

4.5M-Parameter English TTS Model Hits #1 on Hugging Face

https://huggingface.co/spaces/hf-audio/open_tts_leaderboard
3•tensormorph•27m ago•0 comments

Add a stylish and info-dense status line to Claude Code

https://www.visualmode.dev/add-stylish-and-info-dense-status-line-to-claude-code
3•jbranchaud•30m ago•0 comments

Robotic Dog Designed to Scare Off Bears, Research Team in Akita, Japan

https://japannews.yomiuri.co.jp/science-nature/technology/20261018-354306/
4•mushstory•31m ago•3 comments

Find out where each core physically sits on an Intel Xeon Sapphire Rapids die

https://github.com/naveline67/xeon-meshmap
1•Avlin67•33m ago•0 comments

GenoPix – Evolving Meaning from 1-Bit Noise

https://genopix.dmotz.net/
2•memalign•34m ago•0 comments

ResumeMetric – Zero-login, browser-based ATS resume scanner

https://resumemetric.com/
1•SarangaT•35m ago•0 comments