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

Show HN: NiceShot AI – The analytics layer competitive games forgot to add

https://github.com/karimm-ai/NiceShot_AI
1•niceshot-ai•3m ago•0 comments

Tlbic Supplement v11.0: Added Question for Readers in Other Languages

https://drive.google.com/file/d/1svnkbPHkdK2Oyp2T2kAhhQna1ANtH7bO/view?usp=drive_link
1•michikawa59•4m ago•1 comments

Checkly: Metabase Security Incident

https://www.checklyhq.com/blog/metabase-security-incident/
1•sangeeth96•5m ago•0 comments

LLVM: Estimating Branch Probabilities

https://maskray.me/blog/2026-08-09-estimating-branch-probabilities
1•signa11•5m ago•0 comments

Show HN: Mychart-CLI, a local-first exporter for records you can view

https://github.com/lifan-builds/mychart-cli
1•lifan-builds•7m ago•0 comments

Never Bet Against Elon

https://blog.oxplot.com/never-bet-against-elon/
1•oxplot•8m ago•0 comments

Clanker Constitution

https://github.com/kenn-io/constitution
2•tosh•11m ago•0 comments

Claude skill automating edits to songs

https://github.com/ZiadAbdelkarim/beat-synced-edit
2•iwasastreamer•14m ago•0 comments

Yet Another Speed Dial

https://yetanotherspeeddial.com
2•modzu•14m ago•0 comments

Free real-estate calculators: cash flow, BRRRR, DSCR, cap rate – no signup

https://smeltworks.com/rentaldealcalc/
2•rentcalcpro•14m ago•0 comments

Anthropic pledges to embed watermarks to help discern AI slop in sop to EU

https://www.theregister.com/ai-and-ml/2026/08/11/anthropic-pledges-to-embed-watermarks-to-help-di...
2•thm•14m ago•0 comments

Bringing BPF to Binfmt_misc

https://lwn.net/SubscriberLink/1086947/d67ebdaa0865be49/
2•signa11•16m ago•0 comments

Study: AI is better at reading than listening

https://viterbischool.usc.edu/news/2026/08/can-ai-read-the-room-usc-study-finds-ai-is-better-at-r...
2•giuliomagnifico•16m ago•0 comments

Solving Advent of Code on FPGAs with Haskell RetroClash

https://midirus.com/blog/advent-of-fpga
2•signa11•17m ago•0 comments

Modern Strike Juego de Pistola

2•yarianaguileraa•20m ago•0 comments

Why night owls are more intelligent

https://twitter.com/thesupermanmx/status/2086731438129627403
2•MrBuddyCasino•23m ago•0 comments

Remember plug.dj, turntable.fm, etc.? Here's a new one, this one has a bar

https://mazurka.cafe/
2•Ambroza•30m ago•1 comments

MATLAB programming language sinking in popularity

https://www.infoworld.com/article/4207496/matlab-programming-language-sinking-in-popularity.html
3•theanonymousone•39m ago•1 comments

Sharding a routing table for lock-free reads in Go

https://vincent.bernat.ch/en/blog/2026-akvorado-rib-sharding
2•vbernat•39m ago•0 comments

Manufacturing Consensus: Propaganda in the Era of Automation and Anonymity(2023)

https://ijoc.org/index.php/ijoc/article/download/26942/5263/107089
2•Jimmc414•41m ago•0 comments

OpenAI reportedly completed a $7B employee tender offer

https://techcrunch.com/2026/08/10/openai-reportedly-completed-a-7-billion-employee-tender-offer/
4•ashurandi•42m ago•0 comments

Operation Earnest Voice (Centcom)

https://en.wikipedia.org/wiki/Operation_Earnest_Voice
3•Jimmc414•42m ago•0 comments

Analytic Treatment of Tipping Points for Social Consensus in Large Networks-2013

https://arxiv.org/abs/1304.7401
3•Jimmc414•45m ago•1 comments

Meta wiped key scam evidence in Andrew Forrest suit, US judge rules

https://www.afr.com/technology/meta-wiped-key-scam-evidence-in-andrew-forrest-suit-us-judge-rules...
4•asdefghyk•51m ago•1 comments

Pakistan requires fingerprint scan transfer to govt. db for SIM card activation

https://www.pta.gov.pk/category/biometric-verification-771039280-2023-05-30
3•walrus01•52m ago•0 comments

Show HN: I vibecoded a heavy lift drone

https://lukeiseman.substack.com/p/i-vibecoded-a-drone
5•liseman•54m ago•0 comments

GPT 5.6 Cyber

https://openai.com/index/expanding-daybreak-as-the-cyber-defense-window-narrows/#websocket-authen...
3•smusamashah•57m ago•0 comments

Folding Prion Protein with AI

https://blog.georeactor.com/prionbio-1
2•mapmeld•59m ago•0 comments

Microsoft Responds to Outcry After Quiet Enterprise Install of Beta 'Photos' App

https://www.neowin.net/news/windows-11-admins-unhappy-as-microsoft-found-installing-unexpected-ne...
15•m463•1h ago•3 comments

Egg: Fast and Extensible Equality Saturation

https://cacm.acm.org/research-highlights/egg-fast-and-extensible-equality-saturation/
2•t-3•1h ago•0 comments