
Implement a DNS Query Client Over UDP
Write a DNS client in C that builds an A query by hand, sends it over UDP, and decodes the reply including name compression, following RFC 1035.
Everything you need to level up your coding skills.

Write a DNS client in C that builds an A query by hand, sends it over UDP, and decodes the reply including name compression, following RFC 1035.

Decide which OpenMP variables are shared, private, firstprivate or lastprivate, and use default(none) so the compiler forces you to state every choice.

Run individual LLVM passes such as mem2reg and instcombine on IR with opt, build a pipeline, list the passes and print what each pass changed.

Read variables in LLDB with frame variable, which reads memory, and expression, which compiles and runs code. Learn which to use, plus formats and structs.

Create a new z/OS dataset in JCL with UNIT, SPACE, DCB and DSORG: primary and secondary space, RECFM and LRECL, and BLKSIZE=0 for the system block size.

Build a small, correct C benchmark harness with clock_gettime(CLOCK_MONOTONIC), a compiler barrier, warm-up, many repetitions and a median in eighty lines.

Turn a Yocto 5.0 image into a flashable SD card image with a boot and a root partition by setting WKS_FILE and IMAGE_FSTYPES for the wic tool.

Choose between legacy BIOS and UEFI for a hobby OS by comparing the CPU mode at entry, boot media, memory map, graphics and tooling, with a decision table.

Detect a lost heartbeat in FreeRTOS by resetting a one-shot software timer on every message, with the timeout callback, ISR resets and per-link supervision.

Build a Windows named pipe server and client in C with CreateNamedPipeW, ConnectNamedPipe and message mode, handle a busy pipe and secure access to it.

Make an RP2040 appear as a USB keyboard with TinyUSB: the HID report descriptor, the 8-byte report, keycodes, press and release, and the LED output report.

Load i2c-dev, scan a bus with i2cdetect, read and write registers with i2cget and i2cset, and do the same in C through /dev/i2c-N and ioctl on Linux.
We send one email when a new post is published. No spam.