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

Fable 5 update: Still willing to cybercrime

https://alec.is/posts/fable-5-update-still-willing-to-cybercrime/
2•arm32•4m ago•0 comments

Why Meta's Move to the Cloud Is a Big Deal–and Bad News for CoreWeave and Nebius

https://www.barrons.com/articles/meta-stock-ai-cloud-coreweave-nebius-1e35955b
1•CharlesW•5m ago•0 comments

AI and Operators

https://vektorgeist.com/market
1•Floukie•5m ago•0 comments

Show HN: A local AI-powered Bloomberg terminal for German meme stocks

https://github.com/bsommerfeld/wsbg-terminal
1•bsommerfeld•5m ago•0 comments

Snakes in the Ball Pit (2000)

https://www.snopes.com/fact-check/culprit-in-the-ball-pit/
1•pipeline_peak•6m ago•0 comments

Artificial Adventures

https://www.scattered-thoughts.net/writing/artificial-adventures/
1•jamii•6m ago•0 comments

ShareChat, India's Meta Rival, Plans $400M IPO Next Year

https://www.bloomberg.com/news/articles/2026-07-02/sharechat-india-s-meta-rival-plans-400-million...
2•petethomas•12m ago•1 comments

Show HN: Open-source Deterministic Guardrails Against AI Duplicated Code

https://github.com/Rafaelpta/dupehound
1•rafaepta•17m ago•0 comments

Man uses a Game Boy to photograph Jupiter

https://www.popsci.com/science/game-boy-camera-jupiter/
2•MattSayar•17m ago•0 comments

The Threat of Residential Proxies

https://www.feistyduck.com/newsletter/issue_138_the_threat_of_residential_proxies
1•birdculture•17m ago•0 comments

Steam Machine in the hands of a console sicko

https://ravi64.com/steam-machine-console-sicko/
3•merlioncity•17m ago•1 comments

The AI industrial revolution: why US faces a historic tech reckoning from China

https://www.scmp.com/tech/article/3358925/great-ai-reckoning-how-china-flipping-script-us-new-ind...
1•outrunner•19m ago•0 comments

Kling AI nears US$3B round at US$18B valuation: sources

https://www.scmp.com/tech/big-tech/article/3359059/chinas-kling-ai-nears-us3-billion-round-us18-b...
3•merlioncity•20m ago•0 comments

LibreCAD in the Browser

https://magik.net/librecad/
2•devttyeu•20m ago•0 comments

Palantir CEO Alex Karp says 'something has gone wrong' with how AI is sold

https://www.youtube.com/watch?v=0A3sGymV6kY
3•king_zee•20m ago•2 comments

T-Mobile moving tens of thousands of virtual machines off VMware amid lawsuit

https://arstechnica.com/information-technology/2026/07/t-mobile-moving-tens-of-thousands-of-virtu...
5•naturalmovement•25m ago•0 comments

Building an Open-Source Robot Vacuum – Meet Oomwoo

https://makerspet.com/blog/building-an-open-source-robot-vacuum-meet-oomwoo/
6•devicelimit•32m ago•0 comments

Centrosome Cycle

https://en.wikipedia.org/wiki/Centrosome_cycle
1•rolph•35m ago•0 comments

Eddrit – A lightweight alternative front end for Reddit

https://github.com/corenting/eddrit
1•peterus•38m ago•1 comments

Billions of doses later: Global review confirms mRNA vaccines safe and effective

https://news.ubc.ca/2026/06/mrna-vaccines-are-safe-effective-and-full-of-promise/
44•coloneltcb•40m ago•17 comments

I have a theory about AI fake news site The Editorial

https://werd.io/i-have-a-theory-about-ai-fake-news-site-the-editorial/
1•benwerd•46m ago•0 comments

Australia sues Amazon for making allegedly unfair contracts with subscribers

https://www.bbc.com/news/articles/c20yz9rzwy0o
1•firecall•47m ago•0 comments

AOL and Eventbrite owner Bending Spoons soars 40% on Nasdaq debut

https://www.ft.com/content/aebe2dbb-6d8b-4b3d-82c8-e64aebd4ef70
1•petethomas•51m ago•0 comments

Claude Fable 5 was banned for 18 days – what happened

https://freemalta.com/hub/library/claude-fable-5-was-banned-for-18-days-heres-what-actually-happe...
3•ilhaniremyuce•57m ago•1 comments

Useful Outsourcing is Hard (2024)

https://gwern.net/blog/2024/outsourcing
2•dvrp•1h ago•0 comments

Show HN: Agent Sessions – A model agnostic Claude managed agents alternative

https://www.agentsessions.dev/
2•iacguy•1h ago•1 comments

AMilliSol

http://www.pumpfun.com
1•AMILLI_AI_CORP•1h ago•0 comments

Nearest Pint, Pub Density Map

https://knowwhereconsulting.co.uk/blog/nearest-pint-pub-density-map/
1•ohjeez•1h ago•0 comments

Partial Evaluation

https://en.wikipedia.org/wiki/Partial_evaluation
1•tristenharr•1h ago•0 comments

Loops in Hatetris

https://qntm.org/loops
1•pavel_lishin•1h ago•0 comments