Tag

#go

Cloud

Cloud

Go Context Cancellation: Stop Work the Moment the Client Hangs Up

Go context cancellation from zero: build a 50-line server that stops a slow job when the client hangs up or a deadline passes, read the reason with context.Cause, and pass ctx down to your database and outbound calls.

Ada Brackett5 min read
Cloud

Cloud

Go Context Cancellation From Zero: Stop Work When the Client Hangs Up

Go context cancellation from zero: build a 50-line server that stops a slow job when the client hangs up or a deadline passes, read the reason with context.Cause, and pass ctx down to your database and outbound calls.

Ada Brackett4 min read
Cloud

Cloud

Go 1.27 Generic Methods: Give Your Types Their Own Map in Ten Minutes

Go 1.27 lets a method declare its own type parameters, so Map can live on your type instead of floating in the package. A 40-line lab, how inference works, and the interface rule that still holds.

Ada Brackett4 min read
Security

Security

Fragnesia Linux Kernel Flaw Is Now Exploited: Patch, Then Actually Reboot

CISA added the Fragnesia Linux kernel flaw (CVE-2026-46300) to its exploited list on 28 October; it is being chained with PHP2Shell for root. Distros fixed it in May. Plus Go 1.27.3 and 1.26.10, and what to do today.

Silas Voss4 min read
Cloud

Cloud

Go 1.26: Build a Tiny JSON Service With the New new(expr)

Go 1.26 lets new() take a value, so optional JSON fields stop needing helper variables. Build a 35-line HTTP service in ten minutes and see the feature work, with every step explained from zero.

Ada Brackett5 min read