frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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

U.S. Midterms Have a Cyber Problem, but It's Not at the Ballot Box

https://blog.checkpoint.com/exposure-management/the-2026-u-s-midterms-have-a-cyber-problem-but-it...
2•gnabgib•7m ago•0 comments

Show HN: LeetCode EasyRepeat – Anki for LeetCode

https://github.com/yc1838/LeetCode-EasyRepeat
1•yc1838•7m ago•0 comments

I Got $4.84 from a Class Action and They Didn't Want Me to Have It

https://labnotes.org/i-got-4-84-from-a-class-action-settlement-and-they-really-really-didnt-want-...
1•speckx•8m ago•0 comments

Election interlopers register 5K+ domains, hope to catch some voting phish

https://www.theregister.com/security/2026/06/01/5k-election-domains-registered-ahead-of-us-midter...
2•Bender•12m ago•1 comments

X.org Server Starts June Nine New Security Vulnerabilities Discovered via AI

https://www.phoronix.com/news/X.Org-9-Vulnerabilities-AI
1•Bender•13m ago•0 comments

Texas adds another solar farm as ERCOT grid demand soars

https://electrek.co/2026/06/01/texas-adds-another-huge-solar-farm-ercot-grid-demand-soars/
2•Bender•16m ago•0 comments

TLDR – Summarize paragraphs in real-time through Firefox

https://github.com/chudweiser/TLDR
1•chudweiser•18m ago•0 comments

Why Study CS? Thoughts on LLM-assisted software engineering

https://kmicinski.com/claude-code-and-why-study-cs
3•jruohonen•25m ago•0 comments

Anthropic and the caravel problem

https://radval.me/articles/anthropic-and-the-caravel-problem
1•rad_val•28m ago•1 comments

Why are audio front ends still optimized for CPUs? (MelT)

https://arxiv.org/abs/2606.01009
1•augustocamargo•30m ago•0 comments

Experts sound alarm over Elon Musk's 'coup' that's 'about to rob your 401k'

https://www.rawstory.com/elon-musk-2676979515/
9•xbmcuser•33m ago•0 comments

Shfl

https://shuffle.com?r=OWbDsJFjR1
1•conheohaiyen•34m ago•1 comments

Show HN: Transposify–change Spotify song key from your menubar for singing

https://github.com/evanhu1/transposify
2•evanhu_•40m ago•0 comments

Angry devs vow to flee GitHub Copilot as metered billing takes hold

https://www.theregister.com/ai-and-ml/2026/06/02/github-copilot-users-threaten-exit-as-metered-bi...
3•jay_kyburz•40m ago•0 comments

Neuropixels Opto: combining high-resolution electrophysiology and optogenetics

https://www.nature.com/articles/s41592-026-03076-z
2•bookofjoe•44m ago•0 comments

How to Optimize a CUDA Matmul Kernel for cuBLAS-Like Performance: A Worklog

https://siboehm.com/articles/22/CUDA-MMM
1•Areibman•47m ago•0 comments

Starbucks retired its AI agent just months after deployment

https://finance.yahoo.com/sectors/technology/articles/starbucks-quietly-retired-ai-agent-19225909...
1•cdrnsf•51m ago•2 comments

Show HN: Playing with genomics foundation models | Tutorial/Explainer article

https://dillondesilva.substack.com/p/playing-with-genomics-foundation
1•dillondesilva•53m ago•0 comments

More Time to Think

https://ma.ttias.be/more-time-to-think/
1•nreece•1h ago•0 comments

macOS needs its grid back

https://blog.hopefullyuseful.com/blog/macos-needs-its-grid-back/
37•ranebo•1h ago•19 comments

Interop 2026: Continuing to improve the web for developers

https://web.dev/blog/interop-2026
2•Topfi•1h ago•0 comments

Miasma supply chain attack: malicious code found in RedHat-cloud-services NPM

https://snyk.io/blog/miasma-supply-chain-attack-malicious-code-redhat-cloud-services-npm-packages/
1•jruohonen•1h ago•0 comments

Crystal Nights (2008)

https://www.gregegan.net/MISC/CRYSTAL/Crystal.html
8•rorylawless•1h ago•0 comments

Let the agents democratize open source

https://world.hey.com/dhh/let-the-agents-democratize-open-source-9fd630a9
2•doppp•1h ago•2 comments

DeepMind CEO says those cutting jobs because of AI 'lack imagination'

https://www.inc.com/jessica-stillman/nobel-prize-winner-demis-hassabis-says-ai-job-cuts-are-dumb-...
5•cpeterso•1h ago•0 comments

AI costs how much? GitHub Copilot users react to new usage-based pricing system

https://arstechnica.com/ai/2026/06/ai-costs-how-much-github-copilot-users-react-to-new-usage-base...
4•spenvo•1h ago•0 comments

Show HN: NUA an agent that tests for product correctness

https://trynua.dev/
7•Paster335•1h ago•2 comments

Building an Open-Source Verilog Simulator with AI: 580K Lines in 43 Days

https://normalcomputing.com/blog/building-an-open-source-verilog-simulator-with-ai-580k-lines-in-...
2•hasheddan•1h ago•0 comments

US Online Banking Security Fail

https://adir1.com/2026/online-banking-security-fail
1•adir1•1h ago•2 comments

BorrowSanitizer: Find Rust aliasing violations even with FFI

https://github.com/borrowSanitizer/bsan
1•afdbcreid•1h ago•0 comments