frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Show HN: Jsonnet implementation in Jsonnet

https://github.com/Duologic/jsonnet-in-jsonnet
1•Duologic•1y 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

Companies Are Making Claude, Codex Talk Like Cavemen to Stop AIs Soaring Costs

https://www.404media.co/companies-are-making-claude-and-codex-talk-like-cavemen-to-stop-ais-soari...
1•beardyw•1m ago•0 comments

The AI Model Accessibility Checker

https://aimac.ai/
1•MavisBacon•2m ago•0 comments

Memray: a Memory Profiler for Python

https://github.com/bloomberg/memray
1•tosh•2m ago•0 comments

Show HN: Second opinion – A skill to query different models

https://github.com/kmcheung12/second-opinion
3•a_c•3m ago•0 comments

You're Weirder Than You Think

https://www.atvbt.com/youre-weirder-than-you-think/
1•momentmaker•4m ago•0 comments

Cursor now has a mobile app for guiding your coding agent on the go

https://techcrunch.com/2026/06/29/cursor-now-has-a-mobile-app-for-guiding-your-coding-agent-on-th...
3•sambcui•5m ago•0 comments

It's like a web view, but native

https://probablymarcus.com/blocks/2026/05/10/like-a-web-view-but-native.html
2•amatheus•6m ago•0 comments

Words Are a Byproduct of Consciousness. For LLMs, It's Backwards

https://ranpara.net/posts/words-are-a-byproduct-of-consciousness/
4•DevarshRanpara•6m ago•3 comments

SpaceX IPO Left Mirae with No Shares on Misunderstanding

https://www.bloomberg.com/news/articles/2026-06-30/spacex-ipo-left-korea-broker-with-no-shares-on...
2•cwwc•6m ago•0 comments

Have You Restarted Your Computer This Week?

https://taonaw.com/2026/06/27/have-you-restarted-your-computer.html
4•surprisetalk•8m ago•0 comments

U.S. declaration to exit USMCA to start a decade-long countdown for the pact

https://uk.finance.yahoo.com/news/u-declaration-exit-usmca-start-100703179.html
4•iamspoilt•9m ago•0 comments

Looking Ahead to Postgres 19

https://www.snowflake.com/en/blog/engineering/postgresql-19-features-beta/
3•thinkingemote•9m ago•0 comments

Chinese tycoon Guo Wengui sentenced to 30 years in US prison for fraud

https://www.theguardian.com/world/2026/jun/30/guo-wengui-chinese-tycoon-sentenced-us-prison-fraud
3•atombender•9m ago•0 comments

Show HN: Gödelify – Encode any file or text as a prime number

https://godelify.animeshchouhan.com
2•animeshchouhan•9m ago•0 comments

When Amiga computers ruled the Techno and Hardcore dancefloors around Europe

https://old.reddit.com/r/amiga/comments/1ujlaso/16_bit_were_enough_when_commodore_amiga_computers/
3•doener•10m ago•0 comments

Filter Hugging Face Models Page by Hardware

https://huggingface.co/changelog/filter-models-by-hardware
3•theanonymousone•10m ago•0 comments

Show HN: ServerKit – A mobile UI for server management

https://play.google.com/store/apps/details?id=com.iishanto.servermanager&hl=en_US
3•iishanto•11m ago•0 comments

Stop asking writers about "AI"

https://benjaminhollon.com/musings/stop-asking-writers-about-ai/
4•platzhirsch•11m ago•0 comments

Earnings Forecasts Are on Steroids

https://www.wsj.com/finance/stocks/earnings-forecasts-are-on-steroids-c6c2e4e0
3•mooreds•12m ago•1 comments

The reason for migration in early human: malaria

https://peterfrankopan.substack.com/p/the-reason-for-migration-in-early
3•mooreds•12m ago•0 comments

Native American Tribes Secured Their Rights to Colorado River Water

https://www.propublica.org/article/colorado-river-basin-water-arizona-native-tribes
4•mooreds•12m ago•1 comments

Show HN: Kinetk – Watch agent build a launch and growth plan for your product

https://growth-demo.kinetk.ai
3•thinkmariale•13m ago•0 comments

EdgeSync-LLM – KV cache fragment engine for on-device LLM inference (Go/Android)

https://github.com/bossandboss/EdgeSync-LLM
2•bossandboss•13m ago•0 comments

China Prepares Its First Asteroid Landing on Earth's Quasi-Moon

https://gizmodo.com/china-prepares-its-first-asteroid-landing-on-earths-quasi-moon-2000779044
2•jamdesk•15m ago•0 comments

The Web Is Being Made Accessible for AI, Not People

https://www.techpolicy.press/the-web-is-being-made-accessible-for-ai-not-people/
3•cdrnsf•15m ago•0 comments

Show HN: C++, Java and C# Light-Weight-Logger

https://github.com/PenguineDavid/light-weight-logger
2•PenguineDavid•15m ago•0 comments

Benchmarking Hardwood 1.0 on a Threadripper 9980X

https://jack-vanlightly.com/blog/2026/6/30/benchmarking-hardwood-10-on-a-threadripper-9980x
2•rmoff•16m ago•0 comments

Microconference for Software Engineers in Healthcare

https://www.outofpocket.health/ship-it
2•imtavi•16m ago•1 comments

Ireland is big tech's lapdog – and that compromises its EU presidency

https://www.theguardian.com/commentisfree/2026/jun/30/ireland-big-tech-lapdog-eu-presidency-digit...
2•theanonymousone•16m ago•0 comments

Temporal Shrinking

https://alperenkeles.com/posts/temporal-shrinking/
2•Aydarbek•19m ago•0 comments