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

Charging a Phone with a Hamster [video]

https://www.youtube.com/watch?v=rKXwT878a04
1•zdw•55s ago•0 comments

I stopped OneDrive from taking over my files with these settings

https://www.xda-developers.com/stop-onedrive-taking-over-files-settings/
1•rolph•1m ago•0 comments

Core vs. Non-Core Work in the Age of AI

https://twitter.com/pchopra28/status/2052084655810084909
1•probe•1m ago•0 comments

We measured how much time our team wasted on flaky tests. The numbers were ugly

https://retestees.app/
1•alan_ghl•1m ago•0 comments

Open-source repos burdened by trillion downloads, used as CDNs, plan on charging

https://www.theregister.com/software/2026/02/28/open-source-package-repositories-face-sustainabil...
2•alok-g•2m ago•0 comments

RevaDEX – a decentralized exchange for posting individual trades (revadex.io)

https://revadex.com/fr/
1•zhiwenh•3m ago•0 comments

How is NSA breaking so much crypto? (2015)

https://blog.citp.princeton.edu/2015/10/14/how-is-nsa-breaking-so-much-crypto/
1•downbad_•3m ago•1 comments

Babies Are Bleeding to Death as Parents Reject a Vitamin Shot Given at Birth

https://www.propublica.org/article/more-parents-decline-vitamin-k-shot-newborns
1•brendoelfrendo•4m ago•0 comments

Hackers steal students' data during breach at education tech giant Instructure

https://techcrunch.com/2026/05/05/hackers-steal-students-data-during-breach-at-education-tech-gia...
1•DropDead•5m ago•0 comments

Mexico City is sinking so rapidly it's visible from space

https://www.cnn.com/2026/05/05/climate/mexico-city-sinking-nasa-aquifer-water
2•NewCzech•5m ago•0 comments

'Every Baby Has a Story to Tell. An Introduction to Baby Therapy Work' [video]

https://www.youtube.com/watch?v=3b71SALfiUU
1•rendx•6m ago•0 comments

God's Number is 20 (2010)

https://cube20.org/
1•downbad_•6m ago•1 comments

Google Cloud fraud defense, the next evolution of reCAPTCHA

https://cloud.google.com/blog/products/identity-security/introducing-google-cloud-fraud-defense-t...
2•unforgivenpasta•6m ago•0 comments

Ireland should 'examine seriously' nuclear power option, says Taoiseach

https://www.irishtimes.com/politics/2026/05/04/ireland-should-examine-seriously-nuclear-power-opt...
1•mpweiher•7m ago•0 comments

Introducing @supabase/server

https://supabase.com/blog/introducing-supabase-server
1•suusqhbss7•7m ago•0 comments

Tell HN: No More Instant Reputation for Apps Distributed Outside Microsoft Store

https://learn.microsoft.com/en-us/windows/apps/package-and-deploy/code-signing-options
1•solarist•7m ago•1 comments

Cursor's agent crashed out and wrote 3,400 lines trying to stop generating

https://github.com/Kevin-Liu-01/Cursor-Crashout
2•kl01•8m ago•0 comments

Interesting Vogons Threads

https://www.vogonswiki.com/index.php/Interesting_Vogons_Threads
1•cybersoyuz•9m ago•0 comments

Joint efforts unlocked over $100M stuck on Aave

https://blog.1inch.com/how-to-save-100-mln/
1•wslh•9m ago•0 comments

Microsoft's response to plain text passwords in Edge – it is an expected feature

https://www.zdnet.com/article/microsoft-edge-passwords-ram-plaintext/
3•alok-g•9m ago•0 comments

Turning Humans into Your APIs

https://www.extractlayer.com
2•Qing123•9m ago•0 comments

2027 Infiniti QX65 First Drive Review: Showing Up Isn't Enough

https://www.thedrive.com/car-reviews/2027-infiniti-qx65-first-drive-review
1•PaulHoule•11m ago•0 comments

Claude's Memory of Me

https://exploration.work/claudes-memory-of-me/
1•speckx•11m ago•0 comments

Mealy Machines, Moore Machines, and Why Event Sourcing Works

https://kevinwebber.ca/blog/mealy-machines-and-event-sourcing/
1•kw3b•12m ago•0 comments

UIGen: How to create a landing page declaratively for runtime rendering

https://uigen-docs.vercel.app/blog/auto-generate-landing-pages-from-openapi
1•ombedzi•13m ago•0 comments

Robot Teleoperation via WebRTC: Analyzing Latency

https://transitiverobotics.com/blog/webrtc-latency-breakdown/
2•chfritz•13m ago•0 comments

I'm writing a history of Visual Basic, Chapter 1 is up

https://evilgeniuslabs.ca/blog/visual-basic-history-chapter-1-launch
1•speckx•13m ago•0 comments

Alaska megatsunami was second largest ever recorded

https://www.bbc.com/news/articles/c1m253033m4o
1•cromulent•14m ago•0 comments

Software as the Product of Obsession Times Voice

https://daringfireball.net/2026/05/software_as_the_product_of_obsession_times_voice
1•Brajeshwar•15m ago•0 comments

The self-driving codebase: Building Horizon at WorkOS

https://workos.com/blog/project-horizon
1•i0exception•15m ago•0 comments