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

Statement by Federal Reserve Chair Jerome F. Powell [video]

https://www.youtube.com/watch?v=KckGHaBLSn4
1•sprawl_•1m ago•0 comments

Maybe the database got it right

https://fhur.me/posts/2026/maybe-the-database-got-it-right
1•fernandohur•4m ago•0 comments

Jerome Powell Responds

https://www.federalreserve.gov/newsevents/speech/powell20260111a.htm
2•0xedb•4m ago•0 comments

The Living Internet

https://www.livinginternet.com
1•hkhn•6m ago•0 comments

Internet History – One Page Summary

https://www.livinginternet.com/i/ii_summary.htm
1•hkhn•7m ago•0 comments

Additively Manufactured Dragonfly-Inspired Wings for Flapping Vehicles

https://www.mdpi.com/2313-7673/10/12/849
1•PaulHoule•8m ago•0 comments

Profession by Isaac Asimov (1957)

https://web.archive.org/web/20201109034130/https://www.abelard.org/asimov.php
1•AndyKelley•9m ago•0 comments

Defense Secretary tours SpaceX missile startup

https://www.latimes.com/business/story/2026-01-10/secretary-of-defense-pete-hegseth-tours-long-be...
1•spacedoors•10m ago•0 comments

Criminal charges against Fed Chairman for defying POTUS wishes

https://www.nytimes.com/2026/01/11/us/politics/jerome-powell-fed-inquiry-trump.html
5•Spooky23•11m ago•1 comments

The U.S. Government Just Followed Through on Its Ban of DJI Drones

https://www.popularmechanics.com/technology/robots/a69937082/us-bans-new-foreign-made-drones/
3•RyanShook•11m ago•0 comments

Tintcd: Directory-aware terminal theming for PowerShell. CD, but colorful

https://github.com/ymyke/tintcd
1•thunderbong•14m ago•1 comments

The Good Club

https://www.thegoodclub.com
1•sans_souse•15m ago•0 comments

Show HN: 2k or Nothing – A Social Platform Dedicated to Long-Form Content

https://2k-or-nothing.com/feed
1•Lbesecker195•17m ago•0 comments

Jon Skeet Facts

https://meta.stackexchange.com/questions/9134/jon-skeet-facts
1•ravenical•19m ago•1 comments

OAuth 2.1 Dynamic Client Registration for AWS BedrockAgentCore Gateway

https://github.com/orgs/stache-ai/discussions/5
1•Jtpenny•19m ago•0 comments

Serverless RAG and MCP on AWS with S3Vectors and Agentcore

https://github.com/orgs/stache-ai/discussions/4
1•Jtpenny•19m ago•0 comments

Reverse-engineering another Ursa Major classic: the StarGate 323

https://www.temeculadsp.com/journal/understanding-timing-circuits
1•johnwheeler•22m ago•0 comments

Show HN: AeroTag – Tag-based workspace management for AeroSpace (macOS)

https://typester.dev/blog/2026/01/11/tag-based-workspace-management-with-aerospace
1•typester•24m ago•1 comments

Hubble Telescope's Final Countdown: Could It Disappear Sooner Than Expected?

https://dailygalaxy.com/2026/01/hubble-countdown-could-it-disappear-sooner/
2•TMWNN•29m ago•0 comments

Token-Count-Based Batching: Faster, Cheaper Embedding Inference for Queries

https://www.mongodb.com/company/blog/engineering/token-count-based-batching-faster-cheaper-embedd...
1•fzliu•30m ago•0 comments

Tuning Random Generators: Property-Based Testing as Probabilistic Programming [pdf]

https://web.cs.ucla.edu/~todd/research/oopsla25a.pdf
2•todsacerdoti•33m ago•0 comments

Show HN: Built a course on buying small businesses – validating demand

https://smalldealschool.com/
1•boring_million•35m ago•1 comments

A $400k payout is putting prediction markets in the spotlight

https://apnews.com/article/prediction-markets-maduro-trades-1f47e737f915fff00c57f03e7390b41f
4•petethomas•38m ago•0 comments

Matchbox Educable Noughts and Crosses Engine

https://en.wikipedia.org/wiki/Matchbox_Educable_Noughts_and_Crosses_Engine
1•icwtyjj•41m ago•0 comments

Big Tech's Ugly Duckling: Can Snap Finally Execute?

https://ossa-ma.github.io/blog/snapchat?
1•ossa-ma•42m ago•2 comments

Live Captions

https://avc.xyz/live-captions
1•wslh•45m ago•0 comments

You don't need a skill registry (for your CLI tools)

https://solmaz.io/skillflag
2•hosolmaz•51m ago•0 comments

The US Empire is going supernova

https://simplicius76.substack.com/p/the-us-empire-is-going-supernova
1•SanjayMehta•53m ago•0 comments

Ogre 14.5 Released

https://www.ogre3d.org/2026/01/10/ogre-14-5-released
1•klaussilveira•55m ago•0 comments

Show HN: Instagram Saved Collection Downloader

https://chromewebstore.google.com/detail/instagram-saved-collectio/dibmfjgbnhbfhlajpahnbiiabpdabajo
1•qwikhost•59m ago•0 comments