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

TurboScribe AI: Free video to text and audio to text converter

https://www.turboscribeai.org/
1•wsm123456•3m ago•0 comments

China startup demoes prototype EUV light source, still years away from viability

https://www.tomshardware.com/tech-industry/semiconductors/china-startup-demoes-prototype-euv-ligh...
1•rguiscard•4m ago•0 comments

PwnEscape: Guest-to-Host KVM Escape (CVE-2026-99999)

https://pwn.ai/blog/pwnescape
1•taubek•5m ago•0 comments

I made an OS kernel in Rust that runs in the browser and on an actual computer

https://github.com/avycado13/webos
1•avycado13•13m ago•0 comments

LLMs are inside fabs, so why aren't they solving core problems?

https://www.waferpilot.xyz/resources/fab-llm-yield-reliability/
2•mangohaha•16m ago•0 comments

Telegram Web A: Telegram's Zero-Dependency Official Web Client

https://github.com/Ajaxy/telegram-tt
1•theanonymousone•27m ago•0 comments

Show HN: Pbschema-lens – static doc generator for protobuf

https://github.com/ymmt2005/pbschema-lens
1•ymmt2005•29m ago•0 comments

The game industry is broken – can we fix it?

https://knowledge.edge-online.com/p/the-game-industry-is-broken-can-we-fix-it-tim-sweeney-edge-crash
6•mellosouls•31m ago•0 comments

World's Timekeepers Vote to Eliminate the Leap Second

https://www.smithsonianmag.com/smart-news/its-official-timekeepers-have-gotten-rid-of-the-leap-se...
1•signa11•31m ago•0 comments

Fast approximation algorithms for knapsack problems (1977)

https://ieeexplore.ieee.org/document/4567944
1•vismit2000•44m ago•0 comments

Dot factory – a spec to describe complex (agentic) workflows

https://redbeardlab.github.io/dotFactory/
1•siscia•47m ago•0 comments

Matthew Prince on why Cloudflare offers a free version and always will

https://webmasters.stackexchange.com/questions/88659/how-can-cloudflare-offer-a-free-cdn-with-unl...
14•thatslast•49m ago•6 comments

Mobile Application GPU Optimization Guide

https://arm-software.github.io/magog/
1•matt_d•50m ago•0 comments

Rahn Curve

https://en.wikipedia.org/wiki/Rahn_curve
1•baxtr•51m ago•0 comments

Does moving a GPU server's request loop into the kernel save CPU?

https://eunomia.dev/blog/2026/10/17/bpf-gpu-server/
1•thatslast•52m ago•0 comments

Wing Commander 3 is getting a remaster

https://www.pcgamer.com/games/sim/it-looks-like-wing-commander-3-is-getting-a-remaster-after-ea-p...
3•jbm•54m ago•0 comments

AI Slop? Nay, AI Gourmet

https://octomon.dev/blog/ai-slop-and-ai-gourmet/
1•securitypedant•58m ago•0 comments

A Mole Infiltrated the Highest Ranks of American Militias

https://www.propublica.org/article/ap3-oath-keepers-militia-mole
36•georgecmu•59m ago•4 comments

Du said Chrome was using 67 GB on my Mac. APFS said 2

https://dev.to/md_ayanbag_03a42545b17ac/du-said-chrome-was-using-67-gb-on-my-mac-apfs-said-2-here...
2•mdayan896•1h ago•1 comments

NextMove Berkeley

https://www.eventbrite.com/e/2003559456268/preview/?aff=oddtdtcreator
1•sianazari•1h ago•1 comments

Notes on the Complex Roots of Unity

https://eli.thegreenplace.net/2026/notes-on-the-complex-roots-of-unity/
2•sks_15•1h ago•0 comments

Refurb weekend II: Alpha Micro Eagle 300 and friends

http://oldvcr.blogspot.com/2026/10/refurb-weekend-ii-alpha-micro-eagle-300.html
1•classichasclass•1h ago•0 comments

Buildings set ablaze as police clash with protesters across France

https://www.theguardian.com/world/2026/oct/17/protests-france-high-prices-social-security-gilets-...
3•akbarnama•1h ago•0 comments

Standout film art, selected since 2011

https://www.reelizer.com/
1•vinhnx•1h ago•0 comments

Threads and Bluesky have quarantined some of the worst people on the Internet

https://twitter.com/nikitabier/status/2111281464742662307
3•sippingabonedry•1h ago•1 comments

You and the Atom Bomb – George Orwell (1945)

https://www.orwellfoundation.com/the-orwell-foundation/orwell/essays-and-other-works/you-and-the-...
3•sram1337•1h ago•1 comments

Ghidra + CBMC = Assembly Model Checker

https://www.philipzucker.com/asmc_cpp/
2•matt_d•1h ago•0 comments

Show HN: Sphinx – a hook that quizzes you on your AI's code before shipping

https://sphinx-six-theta.vercel.app/
41•critiquebrowser•1h ago•11 comments

Association between handgrip strength and incident depression

https://www.sciencedirect.com/science/article/pii/S0022395626000968
9•geox•1h ago•2 comments

Life Ratings of Young Adults Down 20 Points Since 2010

https://news.gallup.com/poll/715010/life-ratings-young-adults-down-points-2010.aspx
2•bushwart•1h ago•0 comments