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

Employers, please use postmarked letters for job applications

https://soapstone.mradford.com/employers-use-letters-for-job-applications/
1•MattyRad•49s ago•0 comments

How does an Apple Silicon Mac tell the time?

https://eclecticlight.co/2026/01/29/how-does-an-apple-silicon-mac-tell-the-time/
1•geerlingguy•1m ago•0 comments

MongoDB to PostgreSQL Migration: 3 Months, 2 Mental Breakdowns, 1 Lesson

https://medium.com/lets-code-future/mongodb-to-postgresql-migration-3-months-2-mental-breakdowns-...
1•tolien•1m ago•0 comments

Ask HN: What would make a social network for builders worth using?

1•Braden-dev•4m ago•0 comments

The City Where Traffic Fatalities Vanished

https://reasonstobecheerful.world/the-city-where-traffic-fatalities-vanished/
1•herbertl•6m ago•0 comments

Open Gaming Collective (OGC) formed to push Linux gaming even further

https://www.gamingonlinux.com/2026/01/open-gaming-collective-ogc-formed-to-push-linux-gaming-even...
1•freedomben•9m ago•0 comments

Scammy Response from Gemini

1•bblackwood•11m ago•2 comments

Grid: Forever free, local-first, browser-based 3D printing/CNC/laser slicer

https://grid.space/stem/
2•cyrusradfar•11m ago•1 comments

Show HN: AsyncFast – a typed, message-driven framework inspired by FastAPI

https://asyncfast.readthedocs.io/en/latest/
1•jackwburridge•12m ago•0 comments

Information Addiction as the Root of Bad Habits

https://nik.art/information-addiction-as-the-root-of-bad-habits/
1•herbertl•12m ago•0 comments

Show HN: Tracking AGI as a collapse in marginal cost, not a 'magic' moment

https://moai.studio/agi.html
1•ionwake•13m ago•0 comments

Mitosis: Write Components Once, Run in React, Vue, Qwik, Solid, Angular, Svelte

https://github.com/BuilderIO/mitosis
2•sea-gold•14m ago•1 comments

EV-1 for Lease (1996)

https://www.loe.org/shows/shows.html?programID=96-P13-00047#feature4
1•1970-01-01•14m ago•0 comments

Free AI Flowcharts in Excalidraw https://aiflowcharts.vercel.app/

https://github.com/RyanRana/excalidrawai
1•ryanrana•14m ago•0 comments

Cutting Up Curved Things (With Math)

https://campedersen.com/tessellation
2•ecto•15m ago•0 comments

I'm not asking an LLM

https://lr0.org/blog/p/gpt/
1•lr0•16m ago•0 comments

Masked Depth Modeling for Spatial Perception

https://arxiv.org/abs/2601.17895
1•mountainview•17m ago•0 comments

Migrating critical systems to Safe Rust with reliable agents

https://asari.ai/blog/migrating-c-to-rust
1•0xsn3k•19m ago•0 comments

AI "swarms" could distort democracy

https://www.mpg.de/26044163/ai-swarms-could-distort-democracy
1•wjSgoWPm5bWAhXB•20m ago•0 comments

SpaceX Said to Consider Merger with Tesla or XAI

https://www.bloomberg.com/news/articles/2026-01-29/elon-musk-s-spacex-is-said-to-consider-merger-...
2•flippyhead•20m ago•1 comments

The Cults of TDD and GenAI

https://drewdevault.com/2026/01/29/2026-01-29-Cult-of-TDD-and-LLMs.html
1•facundo_olano•21m ago•0 comments

List of predictions for autonomous Tesla vehicles by Elon Musk

https://en.wikipedia.org/wiki/List_of_predictions_for_autonomous_Tesla_vehicles_by_Elon_Musk
2•pinkmuffinere•23m ago•0 comments

Microsoft lost $357B in market cap as stock plunged most since 2020

https://www.cnbc.com/2026/01/29/microsoft-market-cap-earnings.html
3•thewebguyd•25m ago•1 comments

Show HN: StrikeRadar – USA Strike on Iran Monitor

https://usstrikeradar.com/
3•ftonobo•28m ago•3 comments

'I wouldn't dare take these': how China supplies untested peptides to the West

https://www.ft.com/content/b15407bd-7b86-45c3-9780-0c92117ccbfb
3•johntfella•28m ago•0 comments

Generating Sounds with AI

https://www.userinterface.wiki/generating-sounds-with-ai
1•SouravInsights•28m ago•0 comments

Ralph Wiggum OODA Loop

https://github.com/jomadu/ralph-wiggum-ooda
2•jomadu•30m ago•2 comments

From the CEO: What's coming to YouTube in 2026

https://blog.youtube/inside-youtube/the-future-of-youtube-2026/
1•ChrisArchitect•32m ago•0 comments

Why France just dumped Teams and Zoom for homegrown videoconferencing

https://www.zdnet.com/article/france-dumps-teams-zoom-homegrown-videoconferencing-eu-digital-sove...
2•CrankyBear•36m ago•1 comments

We Have 'AI' at Home

https://raskie.com/post/we-have-ai-at-home
1•dynamite-ready•36m ago•0 comments