Hacker News with Generative AI: Tutorials

Getting started with bare-metal assembly (johv.dk)
Seeing a program you wrote running directly on the bare metal is deeply satisfying to anyone who enjoys writing software. And it turns out that creating such a program from scratch is easier than it sounds. The hardest part is figuring out where to start. In this tutorial, I'll show you how to write, build and run the classic "Hello, World!" in pure assembly.
Make Your Own Website: A beginner's guide (pixelshannon.com)
A beginner's guide to making a hand-crafted personal or hobby website.
Git Koans (2013) (stevelosh.com)
A Python programmer handed her ~/.gitconfig to Master Git. Among the many lines were the following:
Ask HN: Easiest way to create simple illustrations? (ycombinator.com)
Id like to for example generate simple line drawn images of feet/rollerblading in various angles with arrows.<p>Or if I was making a tutorial on archery, generate various frames of a person holding a bow at different draw lengths, etc.<p>Now obviously theres a ton of ways to do this, what I am wondering if what's the laziest way I can do them?
People Don't Read Instructions (softuts.com)
I always feel trapped when one of those product tours starts. They show me buttons and features before I even have any idea what the product is about. I personally prefer exploring freely. It's the same in computer games. This kind of "Press A to jump, go here, take out your sword" tutorials, where you are forced to take a specific action, don't do a good job of teaching the user how the interface works.
How to Set Up DeepSeek with Ollama and Docker (Step-by-Step Guide) (infinitecircuits.dev)
With the increasing demand for efficient and powerful AI models, DeepSeek has gained popularity for its advanced language processing capabilities. Ollama provides an easy way to run and manage AI models locally, making it an excellent choice for deploying DeepSeek on your machine.
Build your own SQLite, Part 4: reading tables metadata (sylver.dev)
As we saw in the opening post, SQLite stores metadata about tables in a special "schema table" starting on page 1. We've been reading records from this table to list the tables in the current database, but before we can start evaluating SQL queries against user-defined tables, we need to extract more information from the schema table.
PE basics: A windows executable walkthrough – File formats hexplorations 16 [video] (youtube.com)
Running DeepSeek R1 on Your Own (cheap) Hardware – The fast and easy way (linux-howto.org)
Running DeepSeek R1 on Your Own Hardware – The fast and easy way
Psychedelic Graphics 0: Introduction (benpence.com)
Video Timelapses with FFmpeg (hannahilea.com)
An artist friend took videos of her art creation process and asked for assistance converting them into per-artwork timelapse recordings. Let’s document the steps for my future self!
About A comprehensive guide for Linux Network (Socket) programming (github.com/nguyenchiemminhvu)
In my opinion, Linux network programming, especially socket programming, isn’t that difficult. However, learning this topic on your own can be challenging because many online resources are unclear, and sample codes often only cover the basics. You might find yourself unsure of what to do next. That's why I created this tutorial. It aims to give you clear guidelines and plenty of examples to help you understand better.
An illustrated guide to Amazon VPCs (ducktyped.org)
Many moons (and suns) ago, some AWS engineers were sitting in a room. They had a serious issue.
A ray caster tutorial in ASCII art (github.com/shikaan)
A ray caster in Typescript and HTML Canvas with annotated explanations in ASCII art.
Kalman Filter Tutorial (kalmanfilter.net)
"If you can't explain it simply, you don't understand it well enough."
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)