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

Study: emotional support from social media found to reduce anxiety

https://news.uark.edu/articles/80669/emotional-support-from-social-media-found-to-reduce-anxiety
1•giuliomagnifico•1m ago•0 comments

Build the Whole Product

https://twitter.com/gokulr/status/2006824211025952783
1•tosh•2m ago•0 comments

One-third of dementia cases are linked to non brain-related diseases

https://medicalxpress.com/news/2026-02-dementia-cases-linked-brain-diseases.html
2•bikenaga•2m ago•0 comments

Show HN: We told OpenClaw to rm -rf and it failed successfully

https://securetrajectories.substack.com/p/openclaw-rm-rf-policy-as-code
1•joshdevon•3m ago•1 comments

Client-Side Encrypted Posts in Jekyll

https://www.joshbeckman.org/blog/encrypted-post
1•bckmn•3m ago•0 comments

In Tehran

https://www.lrb.co.uk/blog/2026/january/in-tehran
1•mitchbob•3m ago•0 comments

Ask HN: Stablecoin Infrastructure Provider Recommendations

1•toomuchtodo•5m ago•0 comments

Republicans haul Netflix before Congress for being ‚woke'

https://www.theverge.com/policy/873533/netflix-warner-bros-discovery-senate-antitrust-hearing
1•ch_sm•6m ago•0 comments

Epstein Broke the Internet

https://www.garbageday.email/p/here-s-how-epstein-broke-the-internet
1•speckx•7m ago•0 comments

A Man Warning the West: Trump Is Changing the World Behind the Scenes [video]

https://www.youtube.com/watch?v=nJeU72Rgjh4
1•Bender•7m ago•1 comments

Fastmail Donates USD 10k to the Perl and Raku Foundation

https://www.perl.com/article/fastmail-donates-usd-10-000-to-the-perl-and-raku-foundation/
2•oalders•7m ago•1 comments

AI Is Killing B2B SaaS

https://nmn.gl/blog/ai-killing-b2b-saas
3•namanyayg•8m ago•0 comments

French streamer unbanked by Qonto after criticizing Palantir and Peter Thiel

https://twitter.com/Ced_haurus/status/2018716889191498172
1•hocuspocus•9m ago•0 comments

Finding a Cross-Tenant Vulnerability in GCP's Apigee

https://omeramiad.com/posts/gatewaytoheaven-gcp-cross-tenant-vulnerability/
1•bearsyankees•9m ago•0 comments

Tech billionaires fuel Trump's record $429M haul ahead of midterm elections

https://www.ft.com/content/5038f2b1-6334-4d28-85e6-312d06796ca7
2•robtherobber•10m ago•0 comments

Let AI agents read your accounts, but approve writes first

https://monteslu.com/blog/ai-running-your-life
1•monteslu•10m ago•1 comments

Amazon plans to use AI to speed up TV and film production

https://www.reuters.com/business/media-telecom/amazon-plans-use-ai-speed-up-tv-film-production-20...
1•agiacalone•12m ago•0 comments

Terahertz microscope reveals the motion of superconducting electrons

https://news.mit.edu/2026/terahertz-microscope-reveals-motion-superconducting-electrons-0204
1•chmaynard•14m ago•0 comments

Launching the Rural Guaranteed Minimum Income Initiative

https://blog.codinghorror.com/launching-the-rural-guaranteed-minimum-income-initiative/
5•d4ft•16m ago•1 comments

Package Management at FOSDEM 2026

https://nesbitt.io/2026/02/04/package-management-at-fosdem-2026.html
1•chmaynard•16m ago•0 comments

Majority of Trump voters back solar power, poll finds

https://www.axios.com/2026/02/04/trump-maga-poll-solar-energy
5•ironyman•16m ago•2 comments

Workflow Automation: Letting AI Write Workflow Code

https://blog.codesolvent.com/2025/12/workflow-automation-letting-ai-write.html
1•Edmond•17m ago•0 comments

AI Agents as Autonomous Founders

5•marikio•17m ago•3 comments

Show HN: Gulp, our take at incident response

https://github.com/mentat-is/gulp
1•valerino•17m ago•0 comments

Agent Platforms

https://github.com/profullstack/ugig.net/blob/master/awesome-agent-platforms.md
2•cranberryturkey•18m ago•0 comments

Why This Computer Scientist Says All Cryptocurrency Should "Die in a Fire"

https://www.currentaffairs.org/news/2022/05/why-this-computer-scientist-says-all-cryptocurrency-s...
2•bediger4000•18m ago•0 comments

Show HN: Small "AI slop" classifier running in a browser extension

https://github.com/distil-labs/distil-ai-slop-detector
1•maciejgryka•20m ago•0 comments

Show HN: Chatsight – Bulk delete ChatGPT chats, add table of contents and more

https://chromewebstore.google.com/detail/chatsight-chatgpt-prompt/aamihahiiogceidpbnfgehacgiecephe
1•AbjMV•21m ago•0 comments

It took 4 years to sell my startup. I wrote a book about it

https://derekyan.com/ma-book/
1•zhyan7109•21m ago•0 comments

Claude Code is down again

https://status.claude.com/incidents/pvbysfjjrf8m
2•guluarte•22m ago•1 comments