Microsoft's ONNX Runtime has disappeared from GitHub
Microsoft's ONNX Runtime GitHub repository currently returns a 404, leaving its code and project page unavailable. GitHub provides no explanation for the outage or removal. (github.com)
Zean is an open-source toolkit that lets developers write supported functions in Zig, translate them into executable Lean models, and prove specified properties of those functions. Its proposed workflow keeps early design and iteration in Zig, then adds formal contracts once a component is stable. In the copy-loop example, the caller must provide initialized source data and writable destination space of sufficient size; disjoint ranges are also required for the source-preservation guarantee. Lean proofs establish that execution avoids invalid accesses and uninitialized reads, copies the source into the destination on success, and preserves the source and memory outside the destination. Allocation exhaustion is allowed, while termination requires a separate proof. The guarantees apply to all inputs meeting the stated assumptions, rather than only to tested examples.
Zean captures supported functions from Zig’s analyzed intermediate representation, AIR, and translates them into Lean definitions. Developers write specifications, loop invariants, and remaining mathematical arguments; the verification library generates obligations involving memory access, initialization, permissions, arithmetic, control flow, and calls. Unsupported operations are rejected, and unresolved obligations remain visible. After code changes, developers regenerate the model and replay proofs, so a boundary error such as changing a loop condition from “less than” to “less than or equal” can invalidate the original contract. The initial release supports a restricted set of AIR operations and includes examples such as buffer updates, copy loops, helper calls, and a specialized standard-library replacement function. Proofs cover the translated model, not the final binary or the entire compiler pipeline, which remain trust boundaries.
Summary generated by AI from the linked article. hn.today is not affiliated with Hacker News or Y Combinator.
Microsoft's ONNX Runtime GitHub repository currently returns a 404, leaving its code and project page unavailable. GitHub provides no explanation for the outage or removal. (github.com)
Python’s `isinstance` can support duck typing by checking for expected behavior, not just exact classes. Abstract base classes such as `Iterable` recognize objects that provide the relevant methods. (pythonmorsels.com)
Computer Graphics from Scratch teaches graphics programming through two parts: ray tracing and rasterization. It covers lighting, shadows, reflections, triangles, projection, clipping, shading, textures, and the linear algebra behind them. (gabrielgambetta.com)
jQuery 4.1.0 adds a responseURL field to jqXHR for AJAX requests. The release notes identify this as an enhancement to AJAX handling. (github.com)
Farcall is a Rust emulator for the IBM PC’s 8088 processor that boots DOS and runs classic programs such as Zork and NetHack. Users can SSH into the emulator to try it, which its creator built as a hands-on project to learn how vintage computers work. (dialup.net)
Solid 2.0 is now stable, five years after version 1.0, with a smaller API and diagnostics designed for AI agents. Its reactive graph now handles asynchronous computations, while built-in server functions support RPC calls and persistent Server-Sent Events connections. (solidjs.com)
Today's best Hacker News stories, summarized and screenshotted, one email a day.