Hacker News with Generative AI: Tutorials

Learn Yjs Interactively (learn.yjs.dev)
Welcome to Learn Yjs — an interactive tutorial series on building realtime collaborative applications using the Yjs CRDT library.
I built the C4 from Counter-Strike 2 [video] (youtube.com)
I created an open-source Hardware Hacking Wiki – with tutorials for beginners (hardbreak.wiki)
The goal of HardBreak (https://www.hardbreak.wiki/) is to collect knowledge about Hardware Hacking / IoT hacking in one place.
Show HN: Tinyhnsw – The Littlest Vector Database (github.com/jbarrow)
TinyHNSW is a tiny, simple vector database. It weighs in at a measly few hundred lines of code. It's built on a straightforward (but not fast) implementation of HNSW in Python with minimal dependencies. It has an associated set of tutorials that build up to understanding how HNSW works, and how you can build your own TinyHNSW.
There are different sorts of WireGuard setups with different difficulties (utoronto.ca)
I've now set up WireGuard in a number of different ways, some of which were easy and some of which weren't. So here are my current views on WireGuard setups, starting with the easiest and going to the most challenging.
Rules for writing software tutorials (refactoringenglish.com)
Most software tutorials are tragically flawed.
Ray Tracing in One Weekend (raytracing.github.io)
I’ve taught many graphics classes over the years. Often I do them in ray tracing, because you are forced to write all the code, but you can still get cool images with no API. I decided to adapt my course notes into a how-to, to get you to a cool program as quickly as possible. It will not be a full-featured ray tracer, but it does have the indirect lighting which has made ray tracing a staple in movies.
A short primer on the SSH protocol (github.com/ringtailsoftware)
Write a Shell in C (2015) (brennan.io)
It’s easy to view yourself as “not a real programmer.” There are programs out there that everyone uses, and it’s easy to put their developers on a pedestal. Although developing large software projects isn’t easy, many times the basic idea of that software is quite simple. Implementing it yourself is a fun way to show that you have what it takes to be a real programmer.
Write Your Own Virtual Machine (2022) (jmeiners.com)
In this tutorial, I will teach you how to write your own virtual machine (VM) that can run assembly language programs, such as my friend’s 2048 or my Roguelike.
Zero to Prod in C – Creating Server and Hosting (brightprogrammer.in)
I recently started looking into self-hosting, and after spending two almost sleepless nights, I finally have a solution to self host any service and link it to an endpoint with your domain name.
12 Days of OpenAI: Day 11 – A new way to work with ChatGPT [video] (youtube.com)
Self-Hosting a VPN with Tailscale on a Raspberry Pi (github.com/johnnyfivepi)
Inspired by my admiration for Tailscale and their innovative, open-source approach to networking, I decided to challenge myself by setting up a VPN on my Raspberry Pi. Along the way, I also wanted to create a walkthrough that anyone could follow, whether they're just starting out or have more experience. The result? A detailed guide to configuring Tailscale on a Raspberry Pi, from flashing the microSD card to setting up an exit node.
12 Days of OpenAI: Day 5 [video] (youtube.com)
12 Days of OpenAI: Day 3 [video] (youtube.com)
W3Schools Tryit Editor (w3schools.com)
This is a Heading
Baby’s Second Garbage Collector (jennyjams.net)
This blog post is meant to an iteration on the tutorial and introduction to garbage collection implementation presented in this classic blog post. We are still working with simple garbage collectors, but this time another one with a bit more complexity.
Pipe Viewer – A Unix Utility You Should Know About (catonmat.net)
Hi all! I'm starting a new article series here. This one is going to be about Unix utilities that you should know about. The articles will discuss one Unix program at a time. I'll try to write a good introduction to the tool and give as many examples as I can think of.
Creating Your Own Programming Language – Laurence Tratt [video] (youtube.com)
Software-defined (Internet) radio with Liquidsoap (2023) (yossarian.net)
This is going to be another short “how-to” blog post on music management, this time on declarative Internet radio streaming with Liquidsoap. I couldn’t find a ton of great examples of Liquidsoap online while defining my own radio stream (besides the project’s own excellent docs), so I figured I’d write one.
Creating a QR Code step by step (nayuki.io)
Packages, Not Programs (bitfieldconsulting.com)
This is the first of a two-part tutorial on designing Go packages, guided by tests:
Matrix Client Tutorial (gitlab.io)
Welcome to the Matrix. Matrix is an open protocol for decentralised communication. Matrix allows users on different servers to communicate with each other, similar to how people on different email servers can email each other.
Build Your Own Database from Scratch in Go (build-your-own.org)
Understand databases from the bottom up by building your own, in small steps, and with simple Golang code.
Show HN: I made a tutorial of how to use free edge TTS API with deno.js [video] (youtube.com)
Implementing a Tiny CPU Rasterizer (lisyarus.github.io)
This is a tutorial series on implementing a basic CPU rasterization engine in C++ from scratch.
NotebookLlama: An open source version of NotebookLM (github.com/meta-llama)
This is a guided series of tutorials/notebooks that can be taken as a reference or course to build a PDF to Podcast workflow.
Light and Shadow (catlikecoding.com)
This is the fourth tutorial in a series that covers the creation of a simple true top-down 2D game with pixel graphics, using the Godot Engine, version 4. It follows Movable Objects and adds 2D lighting to it.
Making Of: Line Drawing Tutorial (2017) (redblobgames.com)
People ask me how I write my interactive tutorials. I can point at the HTML+CSS+JS but that doesn’t show the process. On this page I’ll recreate the first half of my line drawing tutorial[1], showing the an implementation using D3.js v4[2]. The implementation style will be similar if you use jQuery. I also have another page showing an implementation using the Vue/React/Svelte declarative style[3].
Draw a Crocodile Without a Tail (twitter.com)