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

Create human-quality content at scale that avoids AI content penalties

https://humantext.pro
1•felayplay•1m ago•1 comments

US Government launches 'Tech Force' to hire AI talent

https://www.cnn.com/2025/12/15/tech/government-tech-force-ai
1•mgh2•3m ago•0 comments

High-Speed Traders Are Feuding over a Way to Save 3.2Bths of a Second

https://www.wsj.com/finance/high-speed-traders-are-feuding-over-a-way-to-save-3-2-billionths-of-a...
1•KnuthIsGod•5m ago•0 comments

Show HN: brig – a devcontainer CLI in Go

https://github.com/nlsantos/brig
1•nsantos•6m ago•0 comments

Geometric-Constraint-Solver: A Simple Geometric Constraint Solver

https://github.com/kasznar/geometric-constraint-solver
1•thunderbong•10m ago•0 comments

Show HN: Seedance 1.5 Pro – Native Audio-Visual AI Video Generation

https://www.jxp.com/seedance/seedance-1-5
1•lu794377•11m ago•0 comments

Training Day Press Conference, 2001 Tiff [video]

https://www.youtube.com/watch?v=O3cBHIi7i_Q
1•handfuloflight•13m ago•0 comments

Learn Pinyin with Games

https://www.june.kim/pinyin-chart/games/pinyin-command/
1•kimjune01•15m ago•1 comments

Trump weighs order to loosen federal marijuana restrictions

https://www.reuters.com/business/healthcare-pharmaceuticals/trump-says-he-is-considering-executiv...
1•XzetaU8•15m ago•0 comments

The Annoying Usefulness of Emacs [video]

https://www.youtube.com/watch?v=DMbrNhx2zWQ
1•chamoda•16m ago•0 comments

From Python3.8 to Python3.10: Our Journey Through a Memory Leak

https://eng.lyft.com/from-python3-8-to-python3-10-our-journey-through-a-memory-leak-1fd9b43cc01e
1•lolong20•16m ago•0 comments

Show HN: 0tH – Mach-O binary analysis tool for macOS (Rust)

https://zero-the-hero.run
1•3gnever•18m ago•0 comments

GitHub Self Hosted Action Costs Now

https://old.reddit.com/r/selfhosted/comments/1po9dft/github_self_hosted_action_costs_now/
1•LaSombra•18m ago•0 comments

Amazon in talks to invest in OpenAI, source says

https://www.reuters.com/business/retail-consumer/openai-talks-raise-least-10-billion-amazon-use-i...
1•voxadam•20m ago•0 comments

What's New in Ruby 4.0

https://nithinbekal.com/posts/ruby-4-0/
1•nithinbekal•21m ago•0 comments

Show HN: Post2X – create, score, and schedule X/LinkedIn posts in one workflow

https://post2x.com
1•moimaere•23m ago•0 comments

Making Government Cool Again

https://www.opm.gov/news/secrets-of-opm/making-government-cool-again/
1•sebazzz•25m ago•0 comments

Are There Fourth Amendment Rights in Google Search Terms?

https://reason.com/volokh/2025/12/16/are-there-fourth-amendment-rights-in-google-search-terms/
1•g-b-r•26m ago•0 comments

ML API Styles

https://github.com/apple/axlearn/blob/main/docs/ml_api_style.md
1•bobrenjc93•27m ago•0 comments

Thinking Outside The Box [dusted off draft from 2017]

https://projectzero.google/2025/12/thinking-outside-the-box.html
1•mfrw•30m ago•0 comments

Oracle's Rent Is Too Darn High

https://www.bloomberg.com/opinion/newsletters/2025-12-16/oracle-s-248-billion-rent-is-too-darn-high
1•petethomas•30m ago•0 comments

Mozilla's New CEO: It's Time to Evolve Firefox into an AI Browser

https://www.pcmag.com/news/mozillas-new-ceo-its-time-to-evolve-firefox-into-an-ai-browser
2•Buildstarted•31m ago•2 comments

Show HN: Seedance 1.5 Pro–Native Audio-Video Generation with Film-Grade Quality

https://www.seedance15.net/?i=d1d5k
1•lu794377•38m ago•0 comments

FBI investigates founder accused of using VC money to pay for house and wedding

https://www.businessinsider.com/founder-accused-using-vc-money-to-pay-for-her-house-2025-12
3•ryan_j_naughton•38m ago•0 comments

Show HN: I taught Claude Code to draw diagrams – the XML pitfalls were brutal

https://github.com/ekusiadadus/draw-mcp
1•ekusiadadus•44m ago•2 comments

Trump moves to dismantle major US climate research center (NCAR) in Colorado

https://www.usatoday.com/story/news/politics/2025/12/16/trump-dismantle-national-center-atmospher...
3•garrettdreyfus•46m ago•0 comments

Ask HN: Would you use self-hosted payments to avoid payout holds?

1•alexmccain6•46m ago•2 comments

Evaluating AI's ability to perform scientific research tasks

https://openai.com/index/frontierscience/
1•EvgeniyZh•50m ago•0 comments

We validate idea and making $1000 MRR in 4 month

https://www.indiehackers.com/post/how-we-validate-idea-and-making-1000-mrr-in-4-month-6330abd1e9
1•manobb•52m ago•0 comments

Nex-AGI DeepSeek-v3.1-Nex-N1

https://huggingface.co/nex-agi/DeepSeek-V3.1-Nex-N1
1•kristianp•53m ago•0 comments