Author thumbnail

Jacob Sorber

Programming Videos

43,940 views
203 items
Last updated on Mar 12, 2024
public playlist
Tips for Student Programmers (#1)
8:35
Copying Memory in C (memcpy, memset)
8:28
Problems with pointer arithmetic (C)
7:46
Better Portability with Standard Integers
1:13
Understanding and Using Function Pointers in C
4:08
Learn GDB in 60 seconds
1:32
How to examine memory in GDB
1:47
Automate repetitive debugging tasks using scripts in gdb
2:07
Allocating memory with malloc, calloc, realloc, and free
2:55
Experiment with your code, people!
2:49
Finding memory errors with Valgrind
2:58
Learn make in 60 seconds.
2:08
More make: automatic variables for smaller and easier to maintain makefiles
2:46
Produce better code faster through testing.
4:50
Find bugs faster using assertions.
5:23
Smelly code and Magic Numbers
4:28
Code Smells: Duplicate Code (DRY)
2:51
Smelly code and bad names
5:50
What languages should you learn?
13:34
Code Smell #4: Comments
4:10
Smelly code and long functions
2:57
How to write C functions with variable argument lists.
4:12
Tame binary headaches with a Hex Editor
4:16
Keeping strcpy and memcpy straight when copying memory.
2:46
HalloWorld (Happy Halloween 2017)
3:51
How to track down a seg fault in C
4:28
A common pitfall when using sizeof() with pointers in C.
2:55
Making Peace with Double Pointers
4:32
Understanding the Extern Keyword in C
3:17
The Static Keyword in C
4:55
Creating new processes with fork()!
6:21
Understanding Zombie Processes!
3:46
More C string parsing with strtok_r, strsep (and strdup)
4:15
They're Just Bits! Types and Structuring Memory in C.
3:10
Compiling C programs with Multiple Files
6:09
Spying on Running Programs (strace, ltrace, system calls vs function calls)
4:21
How processes get more memory. (mmap, brk)
6:50
Sending and Handling Signals in C (kill, signal, sigaction)
5:52
Reading and Writing Files in C, two ways (fopen vs. open)
7:07
How to get a file's size in C? (stat, fstat, fileno)
3:10
Simpler Paths in C with realpath()!
2:29
How to Map Files into Memory in C (mmap, memory mapped file io)
4:47
How to Time Your Code (time, clock, times, clock_gettime)
6:11
Should you ever use a goto?
3:20
Struct packing: No, you're not going crazy.
2:46
Simple Shared Memory in C (mmap)
2:17
Handling Errors in C/Unix (perror, strerror, errno)
6:36
Program your own web server in C. (sockets)
12:10
Socket servers can get client addresses. (accept, inet_ntop)
2:37
How to create and join threads in C (pthreads).
6:00
How to pass arguments to and get results from threads. (pthread_create, pthread_join)
4:13
Debugging with Multiple Threads (gdb, pthreads)
5:30
A Tour of C's Many Operators
5:27
Dealing with Endianness Issues in your Programs
6:14
What if my open file gets deleted?
5:07
How to write your own code libraries in C.
9:57
What are Environment Variables, and how do I use them? (get,set)
4:49
How to Load Libraries at Runtime
5:05
Checking your Return Values
3:15
Header Issues: Guards, Name Mangling, and extern "C"
8:32
Reviewing your Code: Refactoring
16:21
Debugging with Core Dumps
9:16
Can I Debug Release Code?
7:23
Debugging with Macros (-g3,-ggdb)
3:15
Strings in C
8:50
Reversing Strings (in C) and Divergent Thinking
13:15
Getting Command-Line Arguments in C
4:02
Strings can get you hacked! (buffer overflows, strcpy, and gets)
9:04
Understanding and implementing a Linked List in C and Java
18:15
We moved to Africa! (and some thoughts about learning to program in C)
19:59
How arguments are passed to functions in C (and most other languages).
3:49
Doubly Linked List (in C)
6:07
How to write a multithreaded server in C (threads, sockets)
14:30
Multithreaded Server Part 2: Thread Pools
8:27
How to write a multithreaded webserver using condition variables (Part 3)
7:31
How to use the volatile keyword in C?
6:48
Code Review #2: Generalizing and D.R.Y.ing things up.
13:16
How to Blink an LED in C (avr, msp430)
16:36
Is the modulus operator (%) useful?
5:25
Understanding and implementing a Hash Table (in C)
24:54
How to Blink LEDs with Timers and Interrupts in C (MSP430, Arduino)
14:32
How one thread listens to many sockets with select in C.
12:01
Bit Fields in C. What are they, and how do I use them?
13:26
What are Bit Masks, and how do I use them? (examples in C)
3:04
How to write your own COVID-19 simulator (C++).
25:47
How to measure memory usage inside my program? (getrusage)
13:08
Should you avoid linked lists? (linked list vs arrays)
17:04
How to wire-up and program a button. (digital inputs, microcontrollers)
7:53
Why do programmers use hexadecimal numbers?
8:41
How to profile your own function calls in C? (instrument your code!)
11:21
How to Implement a Stack in C (+ encapsulation)
15:38
How to Implement a Queue in C
7:53
How to Set up Shared Memory in Your Linux and MacOS Programs. (shmget, shmat, shmdt, shmctl, ftok)
12:49
Why that "Perfect" Makefile Doesn't Work.
7:14
Using the Smallest C Program to Better Understand Your System (with pmap, vmmap, and strace).
5:28
The Inline Keyword in C.
16:18
What is a semaphore? How do they work? (Example in C)
13:27
ASCII Art, Curses, and my New 25K Play Button
9:47
How to Automatically Remove Dead Code?
9:18
How to use an ADC (embedded example in C)
14:56