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

Show HN: DNSMint – Give a sandbox its own domain and HTTPS cert in one API call

https://dnsmint.com/
1•kxbnb•1m ago•0 comments

The Great Unwind: When Frameworks Stop Making Sense

https://revyl.com/blog/the-great-unwind/
1•based0x10•1m ago•0 comments

Black Holes or Black Hole Stars?

https://www.quantamagazine.org/black-holes-or-black-hole-stars-astronomers-spar-over-webb-telesco...
1•ibobev•2m ago•0 comments

When does generative AI qualify for fair use?

https://suchir.net/fair_use.html
1•lioeters•2m ago•0 comments

I stress-tested Meta Muse until its agent control plane started timing out

https://blog.cygankiewicz.com/en/meta-muse-black-box-testing/
1•mpkc•3m ago•0 comments

Hacking AI customer service agents

https://www.intigriti.com/researchers/blog/hacking-tools/hacking-ai-customer-service-agents
2•snikolaev•3m ago•0 comments

Costco Is Rationing Oil and Doubling Its Price as Supply Dwindles

https://www.jalopnik.com/2256151/costco-rationing-oil-doubling-price-as-supply-dwindles/
2•kevmo•3m ago•1 comments

Stalling Installing

https://adactio.com/journal/22757
1•speckx•3m ago•0 comments

Can China's chip ambitions reshape the global tech landscape?

https://www.channelnewsasia.com/interactive/china-chip-ambitions-semiconductor-duv-euv/
1•gmays•4m ago•0 comments

Cops Search Flock Cameras for Reasons of 'LMAO,' 'IDK,' and 'Asdfg'

https://www.404media.co/cops-search-thousands-of-flock-cameras-for-reasons-of-lmao-idk-hehe-and-a...
2•cdrnsf•6m ago•0 comments

How my e-reader lost its stripes

https://www.serpentine.com/posts/2026/x3-stripes/
1•simonmic•6m ago•0 comments

Show HN: AttaLambda: a language where types and data are made of untyped lambdas

https://attalambda.com
1•kserrec•8m ago•0 comments

Running a small LLM in reMarkable 2

https://github.com/ykumards/unremarkable
3•kittykatbeans•9m ago•0 comments

MIT creates method to force AI to comply with safety rules

https://theframenews.org/en/hardflow-safety-critical-ai/
6•Sarvaturi•11m ago•3 comments

Introduction to AI Engineering

https://heymeraki.substack.com/p/aie_10-introduction-to-ai-engineering
4•heyylolu•12m ago•0 comments

The Medieval Origin of the PhD Dissertation

https://brianschrader.com/archive/the-medieval-origin-of-the-phd-dissertation/
3•sonicrocketman•12m ago•0 comments

C++26: Module Improvements

https://www.sandordargo.com/blog/2026/09/09/cpp26-modules
2•snikolaev•13m ago•0 comments

Saudi Arabia Faces 'Worst-Case Scenario' After Being Rebuffed by Trump

https://www.nytimes.com/2026/09/14/world/middleeast/saudi-iran-trump-yemen-houthis.html
3•prmph•13m ago•1 comments

Diabetic Peripheral Neuropathy Mechanism Explorer

https://bricee98.github.io/dpn-mechanism-explorer/
2•bricee98•13m ago•0 comments

For AI leaders Doom is a form of hype

https://erkansaka.net/2026/09/10/ai-doom-rhetoric-safety-hype/
21•luk4•14m ago•4 comments

My Blog Fails Accessibility Tests and That's Okay

https://taonaw.com/2026/09/13/my-blog-fails-accessibility-tests.html
4•speckx•14m ago•0 comments

Why Buying Weapons Is So Dangerous: A Saudi Case Study

https://phillipspobrien.substack.com/p/why-buying-weapons-is-so-dangerous
2•JumpCrisscross•15m ago•0 comments

Claude Is a Contrarian

https://medium.com/@rdsubhas/claude-is-a-contrarian-dbce4de5cada
11•rdsubhas•15m ago•3 comments

Esoteric HTML - ismap vs CSS

https://shkspr.mobi/blog/2026/09/esoteric-html-ismap-vs-css/
3•Brajeshwar•16m ago•0 comments

On-Demand Compute: Instant compute for your most intensive workloads

https://clickhouse.com/blog/on-demand-compute
2•samaysharma•16m ago•0 comments

Walshadow – Replicate PostgreSQL Rows into ClickHouse from Physical WAL

https://github.com/ClickHouse/walshadow
2•samaysharma•18m ago•0 comments

Tales of Varden – New RPG Browser Game

https://www.talesofvarden.com/
2•kubinii•18m ago•0 comments

The High Crime of "LMAO": How Cops Are Treating Mass Surveillance as a Joke

https://www.eff.org/deeplinks/2026/09/high-crime-lmao-how-cops-are-treating-mass-surveillance-joke
3•hn_acker•18m ago•0 comments

LiteLLM sends AI requests. Conduct decides which ones shouldn't be sent

https://pypi.org/project/conduct-litellm-guard/
2•sudhendra1•19m ago•0 comments

Microsoft patches Windows and Excel – breaks audio, remote access, and paste

https://www.theregister.com/os-platforms/2026/09/14/microsoft-patches-windows-and-excel-breaks-au...
6•Alephinitesimal•19m ago•0 comments