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

Most people aren't fretting about an AI bubble. What they fear is mass layoffs

https://www.theguardian.com/commentisfree/2025/dec/12/ai-bubble-mass-layoffs-income-inequality
1•randycupertino•3m ago•1 comments

Show HN: Watchalong – live chatrooms for sports, shows, and events

https://watchalong.up.railway.app/
1•eigen-vector•4m ago•0 comments

iRobot Stock Is Surging. Retail Traders Think It's a New Short-Squeeze

https://www.businessinsider.com/irobot-stock-price-short-squeeze-retail-investors-irbt-meme-stock...
1•antimora•6m ago•0 comments

De-anonymization attack on geolocated data (2014)

https://www.sciencedirect.com/science/article/pii/S0022000014000683
3•billybuckwheat•10m ago•0 comments

"Why would anybody start a website?"

https://daverupert.com/2025/09/why-would-anybody-start-a-website/
2•cdrnsf•14m ago•0 comments

I wrote JustHTML using coding agents

https://friendlybit.com/python/writing-justhtml-with-coding-agents/
2•alsetmusic•15m ago•1 comments

SPhotonix – 360TB into 5-inch glass disc with femtosecond laser

https://www.tomshardware.com/pc-components/storage/sphotonix-pushes-5d-glass-storage-toward-data-...
2•peter_d_sherman•15m ago•0 comments

Anesthesia Experiments Are Reviving Quantum Consciousness Theories

https://www.popularmechanics.com/technology/a69632925/quantum-consciousness-anesthesia-experiments/
2•bookofjoe•16m ago•1 comments

How the US freight rail industry got dirtier than coal power plants

https://www.reuters.com/sustainability/climate-energy/how-us-freight-rail-industry-got-dirtier-th...
1•geox•18m ago•0 comments

CapROS: The Capability-Based Reliable Operating System

https://www.capros.org/
2•gjvc•21m ago•0 comments

Layer Normalization as Fast as Possible

https://fleetwood.dev/posts/layernorm-as-fast-as-possible
1•montyanderson•23m ago•0 comments

Robot Vacuum Roomba Maker Files for Bankruptcy After 35 Years

https://news.bloomberglaw.com/bankruptcy-law/robot-vacuum-roomba-maker-files-for-bankruptcy-after...
8•nreece•24m ago•3 comments

Skövde, the tiny town powering up Sweden's video game boom

https://www.theguardian.com/games/2025/dec/12/skovde-sweden-video-games-goat-simulator-valheim-v-...
1•1659447091•25m ago•0 comments

Microsoft Copilot AI Comes to LG TVs, and Can't Be Deleted

https://www.techpowerup.com/344075/microsoft-copilot-ai-comes-to-lg-tvs-and-cant-be-deleted
4•akyuu•25m ago•2 comments

TV in America, Pt. 1 – Foundations

https://drmanhattan16.substack.com/p/the-history-of-tv-in-america-pt-1
1•paulpauper•26m ago•0 comments

Oliver Sacks fabricated key details in his books

https://boingboing.net/2025/12/12/oliver-sacks-fabricated-key-details-in-his-books.html
5•paulpauper•29m ago•1 comments

Frances Elizabeth Allen: The Woman Who Made Code Run Fast – and Was Forgotten

https://voxmeditantis.com/2025/12/13/frances-elizabeth-allen-the-woman-who-made-code-run-fast-and...
3•colinprince•30m ago•2 comments

Being There: On Working in Person

https://medium.com/@maspinwall22/being-there-5c167dd8b163
2•govmaspy•31m ago•1 comments

Ask HN: Best back end to run models on Google TPU?

2•vood•37m ago•0 comments

Grok is spreading misinformation about the Bondi Beach shooting

https://www.theverge.com/news/844443/grok-misinformation-bondi-beach-shooting
5•alsetmusic•38m ago•1 comments

Ravaan.art

https://ravaan.art/?seed=71dafa3svng
2•nateb2022•39m ago•0 comments

Sam Altman's Sprint to Correct OpenAI's Direction and Fend Off Google

https://www.wsj.com/tech/ai/openai-sam-altman-google-code-red-c3a312ad
1•babelfish•39m ago•1 comments

Larry Wall, the Guru of Perl (1999)

https://www.linuxjournal.com/article/3394
2•susam•41m ago•0 comments

If AI replaces workers, should it also pay taxes?

https://english.elpais.com/technology/2025-11-30/if-ai-replaces-workers-should-it-also-pay-taxes....
7•PaulHoule•44m ago•1 comments

UK Treasury drawing up new rules to police cryptocurrency markets

https://www.theguardian.com/technology/2025/dec/15/uk-treasury-drawing-up-new-rules-to-police-cry...
4•chrisjj•45m ago•0 comments

L5: A Processing Library in Lua for Interactive Artwork

https://l5lua.org/
2•azhenley•46m ago•0 comments

A Year of Not Really Blogging

https://duggan.ie/posts/a-year-of-not-really-blogging
2•duggan•47m ago•0 comments

Adding Bits Beats AI Slop

https://gwern.net/blog/2025/good-ai-samples
3•networked•47m ago•0 comments

JSDoc types are not TypeScript types

https://jcbhmr.com/2024/12/24/jsdoc-is-not-ts/
3•jcbhmr•48m ago•0 comments

Whisper-Turbo – Cross-Platform, GPU Accelerated Whisper

https://github.com/FL33TW00D/whisper-turbo
1•montyanderson•48m ago•1 comments