Hacker News with Generative AI: Programming

AWS S3 SDK breaks its compatible services (xuanwo.io)
The Apache Iceberg community has raised a PR S3: Disable strong integrity checksums to disable the newly introduced integrity checksums in AWS S3 SDKs.
Spice86 – A PC emulator for real mode reverse engineering (github.com/OpenRakis)
Spice86 is a tool to execute, reverse engineer and rewrite real mode DOS programs for which source code is not available.
The Anatomy of a Durable Execution Stack from First Principles (restate.dev)
We dive into the architecture details of Restate, a Durable Execution engine we built from the ground up. Restate requires no database/log or other system, but implements a full stack that competes with the best logs in terms of durability and operations.
RT64: N64 graphics renderer in emulators and native ports (github.com/rt64)
RT64 is an N64 graphics renderer for playing games with enhancements in emulators and native ports.
A password generator inspired by the Xkcd password spec (github.com/beala)
This python script implements the xkcd password spec.
Turns out the AI CUDA Engineer achieved 100x speedup by hacking the eval script (twitter.com)
Demystifying monads in Rust through property-based testing (sunshowers.io)
In programming pedagogy, monads have a place as a mystical object from the functional programming world that’s hard to understand and even harder to explain.
Build your own SQLite in Rust, Part 5: Evaluating queries (sylver.dev)
In the previous posts, we've explored the SQLite file format and built a simple SQL parser. It's time to put these pieces together and implement a query evaluator!
I built a large language model "from scratch" (brettgfitzgerald.com)
I’m a machine learning / A.I. hobbyist. The technologies fascinate me, and I can’t seem to learn enough about them. Sebastian Raschka’s book, Build a Large Language Model (From Scratch) caught my eye. I don’t recall how I stumbled on it, but I found it when it was still in early access from Manning Publications. I purchased it, and started working through it as the final chapters were being written and released.
AI Models Like GPT-4o Change Without Warning. Here's What You Can Do About It (libretto.ai)
As we move into a world where more and more of our software depends on large language models like GPT and Claude, we are increasingly hearing about the problem of “model drift”. Companies like OpenAI, Google, and Anthropic are constantly updating their deployed models in a ton of different ways. Most of the time, these updates don’t make much of a difference, but once in a while, they can absolutely torpedo one of your prompts.
Cargo Cult Programming (wikipedia.org)
Cargo cult programming is a style of computer programming characterized by the ritual inclusion of code or program structures that serve no real purpose.
Show HN: The One File I Created for Every Programming Language (10+ Years) (referencecollection.com)
Offering practical and optimal guidance through evolving community-driven references to simplify your learning journey.
Augment.vim: AI Chat and completion in Vim and Neovim (github.com/augmentcode)
Augment's Vim/Neovim plugin provides inline code completions and multi-turn chat conversations specially tailored to your codebase.
Linus Torvalds: Mauro, Shut the Fuck Up (2012) (lkml.org)
Mauro, SHUT THE FUCK UP! It's a bug alright - in the kernel. How long have you been a maintainer? And you *still* haven't learnt the first rule of kernel maintenance?
Parsing JSON in 500 lines of Rust (krish.gg)
Last semester at university, I took a course called "Syntax-Based Tools and Compilers". It focused on building a scanner, parser, compiler, and so on for a language called PL0. We used Python in the course, but I was really interested in learning Rust at the time.
RPython Compilation Quick Reference (tilde.town)
Well first things first, this is way more ram hungry than you'd expect, and you're restricted to python 2. BUT, you do end up with nice fast binaries at the end. So let's proceed!
eserde – a serde that just doesn't stop (github.com/mainmatter)
Don't stop at the first deserialization error.
Show HN: Scripton – Python IDE with built-in realtime visualizations (scripton.dev)
Show HN: EVMole for Analysing EVM Bytecode (evmole.xyz)
These years in Common Lisp: 2023-2024 in review (gitlab.io)
This is a personal pick of the most interesting projects, tools, libraries and articles that popped-up in Common Lisp land in the last two years.
XOR (greenend.org.uk)
Recently I was called on to explain the ‘XOR’ operator to somebody who vaguely knew of its existence, but didn’t have a good intuition for what it was useful for and how it behaved.
Programming with chronic pain (thomasvogelaar.me)
If you know me personally you’ll know that I’ve dealt with chronic pain for years. Mainly, I’ve had issues with my shoulders, arms and wrists/hands. Despite a myriad of medical appointments, physios, scans, etc. it persists.
What's in a ring buffer? And using them in Rust (ntietz.com)
Working on my cursed MIDI project, I needed a way to store the most recent messages without risking an unbounded amount of memory usage.
F8 – an 8 bit architecture designed for C and memory efficiency [video] (fosdem.org)
Even in modern devices, 8-bit processors are found, but the architectures used are often not well-suited to programming in high-level languages, such as C. E.g. MCS-51 (8051, 8052) based microcontrollers in the Realtek WiFi chipsets. The f8 is an architecture based on the experience and lessons learned from maintaining Small Device C Compiler (SDCC) and the many 8-bit architectures it supports.
NES86 – IBM PC Emulator for the NES (github.com/decrazyo)
NES86 is an IBM PC emulator for the NES.
Show HN: MOS6502 in pure Lua running in WebAssembly (carimbo.run)
MOS6502 in pure Lua.
Books by Niklaus Wirth (hansotten.com)
Niklaus Wirth is a gifted writer. His easy to read style and the simplicity that must have taken so much effort to achieve makes his books jewels in the often so obscure computer science world.
Watch R1 "think" with animated chains of thought (github.com/dhealy05)
A reverse engineering of Linear's sync engine (github.com/wzhudev)
A reverse engineering of Linear's sync engine.
Show HN: Switch2Cursor – Smoothly Switch Between JetBrains IDEs and Cursor (github.com/qczone)
A JetBrains IDE plugin that enables smooth switching between JetBrains IDE and Cursor, with automatic cursor position sync. Features keyboard shortcuts, context menu integration, and tools menu access. Supports all JetBrains IDEs.