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•9mo 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

Constant Sexual Aggression Drives Female Tortoises to Walk Off Cliffs

https://www.nytimes.com/2026/02/14/science/tortoises-island-sex-cliff.html
1•mistersquid•1m ago•0 comments

I dont know any better > An account of AI dependency in realtime

http://www.henryhale.dev/blog/i-dont-know-any-better/
1•henryhale•2m ago•0 comments

The Comprehensive List of X Window Managers for Unix

https://www.gilesorr.com/wm/xwmtable.html
2•signa11•3m ago•0 comments

Open Claw is meant to be self hosted. Stop sharing your private credentials

1•pushkar_aditya•3m ago•0 comments

Blinkenlights

https://justine.lol/blinkenlights/
1•tosh•4m ago•0 comments

The Chinese periodic table goes hard [video]

https://www.youtube.com/watch?v=8ol7DsPnHcE
1•surprisetalk•5m ago•0 comments

Psychological differences within China explained by rice vs. wheat agriculture

https://pubmed.ncbi.nlm.nih.gov/24812395/
1•surprisetalk•5m ago•0 comments

How to Download YouTube Shorts?

https://whoerip.com/blog/how-to-download-youtube-shorts-a-complete-guide/
1•LinLinLin12•5m ago•0 comments

What if everything was "Async", but nothing needed "Await"? [video]

https://www.youtube.com/watch?v=tpICs7uG3n8
1•surprisetalk•6m ago•0 comments

Cyber Resilience Act

https://digital-strategy.ec.europa.eu/en/policies/cyber-resilience-act
2•doetoe•8m ago•0 comments

Is Dark Energy Evolving?

https://www.universetoday.com/articles/is-dark-energy-actually-evolving
1•Betelbuddy•8m ago•0 comments

Any2K: Read your articles, newsletters and RSS feeds on Kindle and iOS/Android

https://any2k.com
1•emiraydin•9m ago•1 comments

Writing a native VLC plugin in C#

https://mfkl.github.io/2026/02/11/vlc-plugin-csharp.html
1•pjmlp•11m ago•0 comments

Show HN: Klovr – Convert any webpage to Markdown (Cloudflare covers only 5%)

https://www.klovr.ai/
1•vaibhavlodha98•12m ago•0 comments

The Knights of Malta (2024)

https://www.economist.com/europe/2024/02/01/meet-the-knights-of-malta
1•andsoitis•13m ago•0 comments

Show HN: ChromaPrint – Small rust lib for styled terminal printing

https://github.com/brysonbw/chroma-print
1•Brysonbw•14m ago•0 comments

I tried running Linux on an Apple Silicon Mac and regretted it

https://www.msn.com/en-us/technology/software/i-tried-running-linux-on-an-apple-silicon-mac-and-r...
1•smurda•17m ago•0 comments

Show HN: InitRunner – YAML to AI Agent with RAG, Memory, and an API

https://github.com/vladkesler/initrunner
1•Asciilotle•17m ago•0 comments

Show HN: Switch Codex accounts without leaving the terminal

https://github.com/oli799/codex-router
1•oli799•20m ago•0 comments

Goldman Traders Launch AI-Proof Software Basket Amid Sector Rout

https://www.bloomberg.com/news/articles/2026-02-13/goldman-traders-launch-ai-proof-software-baske...
1•jbredeche•20m ago•1 comments

Show HN: Create new calendar systems to fix uneven months

https://calendar-architect.pages.dev/
1•szemy2•21m ago•0 comments

Is this the most eye-popping restaurant?

https://www.theguardian.com/artanddesign/2026/feb/16/eye-popping-restaurant-oscar-niemeyer-sphere...
1•n1b0m•22m ago•0 comments

Weather: When to Cross the Great Australian Bight

https://blog.arribasail.com/2025/07/weather-when-to-cross-great-australian-bight.html
1•speckx•22m ago•0 comments

Alibaba Unveils Major AI Model Upgrade Ahead of DeepSeek Release

https://www.bloomberg.com/news/articles/2026-02-16/alibaba-unveils-major-ai-model-upgrade-ahead-o...
2•jbredeche•22m ago•0 comments

Ask HN: Why do we need things like 8sleep? Is sleeping with blankets unnatural?

1•denismenace•25m ago•1 comments

False Assurance in Formally Verified Cryptographic Libraries

https://eprint.iacr.org/2026/192
1•st_goliath•25m ago•0 comments

Context Engineering for Beginners: A Developer's Guide

https://memgraph.com/blog/context-engineering-for-beginners
1•taubek•25m ago•0 comments

Why Are Transit Buses So Expensive?

https://ti.org/antiplanner/?p=23595
1•xnx•26m ago•0 comments

Amazon's Andy Jassy bets on $200B AI spending drive to revive AWS

https://www.ft.com/content/905df663-8c47-4e88-b6ff-24dd4bd46290
1•1vuio0pswjnm7•26m ago•0 comments

China's tech shock threatens the U.S. AI monopoly

https://www.cnbc.com/2026/02/16/chinas-tech-shock-ai-monopoly-us.html
2•geox•31m ago•1 comments