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

The Deer Island Marvel: Wastewater treatment and engineering excellence

https://whattotelltherobot.com/p/the-deer-island-marvel
1•stefie10•33s ago•1 comments

Why Operational Metrics and Agent Analytics Driving Successful MCP Servers

https://glama.ai/blog/2025-12-06-the-operational-metrics-and-agent-analytics-driving-successful-m...
1•OmShree0709•3m ago•1 comments

Dex rethinks form factor for kids' tech device [video]

https://www.youtube.com/watch?v=Nz5O7PvyHcM
2•taro666•5m ago•0 comments

Cellular layers in the brain's memory center

https://keck.usc.edu/news/usc-study-reveals-hidden-cellular-layers-in-the-brains-memory-center/
2•gmays•6m ago•0 comments

Show HN: Multimodal Benchmarks

https://github.com/mixpeek/multimodal-benchmarks
2•Beefin•6m ago•0 comments

2025 Aggvent Calendar – Geometry Puzzles

https://andymath.com/2025aggventcalendar/
2•incognito124•6m ago•0 comments

PocketMage Is an E Ink PDA for the Modern Era

https://www.hackster.io/news/pocketmage-is-an-e-ink-pda-for-the-modern-era-3dac295619c0
2•todsacerdoti•10m ago•0 comments

Show HN: I built an open-source AI tool to analyze CSV locally in the browser

https://maxgfr.github.io/csv-ai-analyzer/
2•maxgfr•13m ago•0 comments

Hybrid ML and LLM Framework for Identifying Engaging, Breaking Content on Reddit

https://old.reddit.com/r/RedditEng/comments/1p6gwub/breaking_through_the_noise_a_hybrid_ml_and_llm/
1•nowflux•13m ago•0 comments

CATL Expects Oceanic Electric Ships in 3 Years

https://cleantechnica.com/2025/12/05/catl-expects-oceanic-electric-ships-in-3-years/
1•thelastgallon•14m ago•0 comments

Seven Architectural Decision Making Fallacies (and Ways Around Them)

https://ozimmer.ch/practices/2025/09/01/ADMFallacies.html
1•azhenley•17m ago•0 comments

The Case That A.I. Is Thinking

https://www.newyorker.com/newsletter/the-daily/is-ai-amazing-or-are-we-simple
1•jsomers•19m ago•1 comments

Printer tracking dots visible after holographic foiling of transparency print

https://xcancel.com/garnetstar28/status/1997048456532332931
1•Lammy•20m ago•0 comments

'It's like the lottery': AI boom has created parking chaos in SF neighborhood

https://www.sfchronicle.com/sf/article/mission-car-parking-san-francisco-21221645.php
1•mikhael•22m ago•0 comments

Use Python for Scripting

https://hypirion.com/musings/use-python-for-scripting
1•todsacerdoti•22m ago•0 comments

Titans and MIRAS: Helping AI have long-term memory

https://research.google/blog/titans-miras-helping-ai-have-long-term-memory/
2•bilsbie•25m ago•0 comments

Ask HN: Do you believe Netflix will be a good steward of Warner Bros?

1•dannyphantom•25m ago•2 comments

The general who refused to crush Tiananmen's protesters

https://www.economist.com/china/2025/12/04/the-general-who-refused-to-crush-tiananmens-protesters
10•marojejian•27m ago•2 comments

The Broken Job Search: Why Applying to Big Tech Is a Trap

https://webdev-sb.blogspot.com/2025/11/the-broken-job-search-why-applying-to.html
2•typesafeJ•35m ago•0 comments

Camera traps snap 3X more images of endangered Sumatran tigers than before

https://www.frontiersin.org/news/2025/12/04/camera-traps-endangered-sumatran-tiger
1•gmays•37m ago•0 comments

A Template-Driven Approach to Resource Management for AI Compute

https://www.ori.co/blog/a-template-driven-approach-to-ai-resource-management
1•edogrider•42m ago•0 comments

Rnj-1: Building Instruments of Intelligence

https://www.essential.ai/research/rnj-1
1•neversettles•46m ago•0 comments

Risks to British Business

https://www.riskstobritishbusiness.today
1•seangrvs•48m ago•0 comments

The Hays Code

https://allthetropes.org/wiki/Hays_Code
1•Ariarule•52m ago•0 comments

Agents need good developer experience too

https://modal.com/blog/agents-devex
1•birdculture•52m ago•0 comments

One Last Trip: Traveling with my brother's remains (2022)

https://www.thecut.com/2022/03/traveling-brothers-remains.html
1•NaOH•52m ago•0 comments

Notes on Distributed Systems for Young Bloods (2013)

https://www.somethingsimilar.com/2013/01/14/notes-on-distributed-systems-for-young-bloods/
2•ishandotpage•53m ago•1 comments

Ferrari's Formula 1 Handovers: Handovers from Surgery to Intensive Care 2008;pdf

https://gwern.net/doc/technology/2008-sower.pdf
2•bookofjoe•53m ago•0 comments

The Influence of Self

https://dubroy.com/blog/self/
1•gjvc•53m ago•0 comments

Show HN: LLMs Play Mafia

https://www.twitch.tv/turing_games
1•ycyvonne•53m ago•0 comments