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

The single router in southern Arkansas that ground air travel to a halt

https://www.msn.com/en-us/news/other/the-single-router-in-southern-arkansas-that-ground-air-trave...
1•jordanpg•1m ago•0 comments

All AI-generated code should be Open Source

https://jakub.jankiewicz.org/blog/ai-code-open-source/
1•jcubic•1m ago•0 comments

Show HN: Live simulation of every tram/train in Melbourne

https://melbourneinmotion.vercel.app/
1•LucidMach•1m ago•1 comments

Show HN: Althar – an open-source IDE where agents review each other's work

https://github.com/AltharIDE/althar
1•itsbalazs•3m ago•0 comments

Found 380 eMudhra-Linked Root Certificates on My Laptop

https://www.rixdata.net/blog-emudhra-roots.html
1•c-riq•5m ago•0 comments

Crate: Run Linux VMs on iPhone and iPad

https://github.com/oneamendez/crate-ios
1•nnx•8m ago•0 comments

Prompt Injection Attacks in Large Language Model Systems

http://DOI:10.5281/ZENODO.21357273
1•iqra_c•9m ago•0 comments

Skydio Built a Lopsided Drone

https://spectrum.ieee.org/skydio-f10-lightrunner-asymmetrical-drone
1•sohkamyung•9m ago•0 comments

Show HN: ASO Studio Connect – Track App Review and Your ASO Keywords on iPhone

https://asostudio.app/connect
1•JRizzo_1•9m ago•0 comments

GPU says 35% busy. Busy doing what?

https://tensward.com/blog/gpu-busy-doing-what
2•tensward•12m ago•0 comments

"Don't argue with me. $100k is fair, and you know it." (2010)

https://folklore.org/StoryView.py?characters=Steve%2BJobs&detail=medium&project=Macintosh&sortOrd...
1•zenincognito•12m ago•0 comments

Asgard archaea: have we found our microbial ancestors?

https://pmc.ncbi.nlm.nih.gov/articles/PMC12993045/
1•georgecmu•12m ago•0 comments

No Pain (no) Mind: my first year of Zen

https://objectiveobservations.substack.com/p/no-pain-no-mind
1•tskj•14m ago•0 comments

The Hypertext Transfer Protocol Status Code 483 (I'm Not a Freezer)

https://datatracker.ietf.org/doc/draft-banffy-httpbis-not-a-freezer/
4•rbanffy•16m ago•3 comments

Show HN: SecureVibe – Find and trace vulnerabilities before shipping

https://securevibe-dev.vercel.app/
1•Abdo2026•16m ago•0 comments

Amazon Threat Intelligence observes threat actor campaigns with ARTEX AI agents

https://aws.amazon.com/blogs/security/amazon-threat-intelligence-observes-threat-actors-running-c...
1•882542F3884314B•17m ago•0 comments

Anatomy of a trojan: backdooring an LLM by editing few dormant neurons

https://int8.io/implanting-ai-with-lazarus/
1•int8blog•17m ago•0 comments

Show HN: A custom language that compiles and runs compute kernels on AMD GPUs

https://github.com/drakestapleton/omega-mv
1•drakestapleton•24m ago•0 comments

Redpanda archived its GitHub repo

https://www.redpanda.com/blog/r2-the-engine-of-engines
2•cnkk•25m ago•0 comments

OpsJarvis: A self-hosted AI ops desk where humans approve every write

https://caelaralabs.com
2•opsjarvisai•26m ago•0 comments

Early Beowulf Cluster

https://www.computerhistory.org/revolution/supercomputers/10/71/909
2•Tomte•30m ago•1 comments

The Left's War on Gig

https://www.city-journal.org/article/gig-workers-labor-mandates
2•ibn_khaldun•32m ago•1 comments

WTF Happened to Epic Games? [video]

https://www.youtube.com/watch?v=jHT4iHJxzOI
1•soraminazuki•33m ago•0 comments

LeCun: If you're interested in human-level AI, don't work on LLMs

https://www.reddit.com/r/TheMachineLearning/comments/1xwp0kp/dont_work_on_llms_ylecun_at_corl/
5•theanonymousone•34m ago•2 comments

Proportional Personal Digital Security

https://philippdubach.com/posts/proportional-personal-security/
1•7777777phil•34m ago•0 comments

My Quest to Find the Crispest Apple in America

https://www.wsj.com/arts-culture/food-cooking/crisp-apple-varieties-test-c12940ba
2•bookofjoe•34m ago•1 comments

A Stroke Instead of a Picture

https://medium.com/@smoking2man/a-stroke-instead-of-a-picture-the-evolution-of-recognition-paradi...
2•Aldus551•37m ago•0 comments

Wow

https://twitter.com/GrindingPoet/status/2121314087728718309
1•kome•37m ago•0 comments

PhiTeX: Fast Live Incremental TeX Engine

https://github.com/accl-kaust/PhiTeX
2•qifzer•39m ago•0 comments

Show HN: Rust Commander (RC)

https://github.com/hbbio/rc
1•hbbio•40m ago•0 comments