C
guest@6admin.io:~$ ls ~/tags/c
FluoLight: rewriting an inherited Arduino firmware into something defensible
From the 475-line blocking monolith I inherited to 119 lines of protothreading: TimedAction timers, a TCP-fragmentation-proof HTTP parser, compile-time profiles with flash budgets and comments that no longer lie. Episode two of the Fluoboard saga.
Autopsy of an inherited Arduino firmware
A 475-line meeting-room light sketch: hardcoded IPs, 20-second blocking delays, recursive HTTP retries, a local buffer returned by pointer, a reset left to the watchdog. The inherited firmware I started from, dissected with permission, for what it taught me.
Dennis Ritchie has left #world
The tribute to Dennis Ritchie, creator of C and co-developer of Unix, with the C code that says goodbye. And the contrast with the media coverage of the previous week.
Raw Sockets: forging and sniffing packets in C
The sockets memo, continued: AF_PACKET, SOCK_RAW, the iphdr and tcphdr structs, manual checksums, promiscuous-mode sniffing and SYN packet forging. What tcpdump and Nemesis do, written by hand, as root, with ethics and humor.
Sockets: speaking TCP in C, no framework, no magic
An era memo in C: socket(), bind(), listen(), accept(), connect(), the sockaddr_in structs, byte order and a fork() per connection. How to write a TCP server and client in sixty lines, on a Debian Etch, with only the man pages for friends.
Linux: introduction to LKMs
Loadable Kernel Modules, how the Linux kernel loads code at runtime and what it means for security.