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

TorchNeuron: Native PyTorch Back End for AWS Trainium

https://pytorch.org/blog/introducing-torchneuron-native-pytorch-backend-for-aws-trainium/
1•gmays•47s ago•0 comments

Ask HN: Financial Audit of DuckDuckGo?

2•giantg2•1m ago•0 comments

A new Speculative decoding drafter for vLLM and SGLang called EAGLE-4

https://github.com/eagle-hq/EAGLE-4
1•sgiannopoulos•2m ago•0 comments

Republican lawmaker vows "consequences" for Musk over Ukraine's Starlink access

https://www.cnn.com/2026/10/20/politics/video/elon-musk-ukraine-brian-fitzpatrick-donald-trump-ka...
1•MilnerRoute•2m ago•0 comments

Highlighting Code: Pierre Computer Company

https://pierre.computer/writing/on-highlighting-code
1•bpierre•3m ago•0 comments

Railway down for 8 hours – PHP?

https://status.railway.com/historical
1•mikhael28•4m ago•1 comments

Php2shell-Checker

https://github.com/openai/php2shell-checker
1•matthieu_bl•4m ago•1 comments

I made the fastest EC2 price comparator

https://ec2-prices.designobo.com/
1•crowdyriver•5m ago•2 comments

California woman becomes first to swim 900-mile California coast

https://www.nbcsandiego.com/news/local/california-woman-becomes-first-person-swim-the-entire-900-...
1•stmw•7m ago•0 comments

Racism and Redlining Are Fueling a Flock Camera Backlash

https://theappeal.org/in-virginia-racism-and-redlining-are-fueling-a-flock-camera-backlash/
3•paimapi•7m ago•0 comments

Govt sites in EU and elsewhere go dark as software flaw sparks security scramble

https://www.cnbc.com/2026/10/21/government-websites-go-dark-as-software-flaw-sparks-security-scra...
1•shinryudbz•7m ago•0 comments

Jax4j: NumPy-style tensors and automatic differentiation for Java

https://nablatensor.com/blog/numpy-for-java-jax4j
3•petrpravda•10m ago•1 comments

Cops left the force. They kept tracking people with a powerful camera network

https://www.washingtonpost.com/technology/2026/10/21/their-police-jobs-ended-they-kept-using-floc...
2•wondersky•10m ago•0 comments

Online Privacy for Parents and Youth

https://ssd.eff.org/module/online-privacy-for-parents-and-youth
2•hn_acker•12m ago•0 comments

Europe's financial regulators query Google over cloud outage that hit banks

https://www.reuters.com/business/finance/europes-financial-regulators-query-google-over-cloud-out...
2•giuliomagnifico•12m ago•0 comments

Show HN: IDE for a general-purpose visual programming language "Pipe"

https://www.pipelang.com/
2•toplinesoftsys•13m ago•0 comments

Physicist Christopher Stubbs Joins Anthropic's Long-Term Benefit Trust

https://www.anthropic.com/news/christopher-stubbs-joins-long-term-benefit-trust
2•surprisetalk•14m ago•0 comments

Expert Warned 'Always Verify' AI, Then Didn't Verify His AI-Made Charts

https://www.techdirt.com/2026/10/21/expert-for-news-orgs-suing-openai-warned-always-verify-ai-the...
2•hn_acker•15m ago•1 comments

US envoy Witkoff to Putin: 'You are a humanitarian ... I salute that'

https://www.politico.eu/article/us-special-envoy-witkoff-to-putin-you-are-a-humanitarian-i-salute...
6•vrganj•15m ago•0 comments

Nvidia GPUs sit idle in Meta's Prometheus

https://www.theregister.com/systems/2026/10/20/tens-of-thousands-of-nvidia-gpus-sit-idle-in-metas...
7•rbanffy•15m ago•0 comments

Recover lost text by coredumping Firefox

https://j3s.sh/thought/recover-lost-text-by-coredumping-firefox.html
2•birdculture•18m ago•0 comments

Why Weak Americans Run Towards Fascism

https://lucasbean.substack.com/p/why-weak-americans-run-towards-fascism
5•penguin_booze•19m ago•0 comments

Patching PHP 7.4 for php2shell in a container

https://joshbowen.net/posts/patching-php-74-for-php2shell/
3•sillyapple•20m ago•1 comments

Proton says lawful-access bill makes expansion into Canada 'impossible'

https://www.theglobeandmail.com/politics/article-proton-says-lawful-access-bill-makes-expansion-i...
2•laurex•24m ago•1 comments

Rust off Rails: The opinionated web stack for the AI era

https://rustoffrails.org/
10•mike1o1•25m ago•1 comments

Mine Rogue. Vibe-coded balatro-inspired minesweeper roguelike game

https://minerogue.francanobr.com/
3•aeonfr•27m ago•1 comments

Show HN: Open-source site base plans from any US address

https://basesheet.site/
2•hthillman•28m ago•0 comments

Recursive Introduces Flint Model

https://recursive.com/updates/introducing-recursive-flint
3•guybedo•28m ago•0 comments

Show HN: A job search that only shows entry-level roles

https://entryleveljobs.co
2•entryleveljobsc•29m ago•0 comments

Quantum error correction goes well beyond breakeven

https://arstechnica.com/science/2026/10/quantum-error-correction-goes-well-beyond-breakeven/
2•rbanffy•29m ago•0 comments