From Vertex AI SDK to Google Gen AI SDK: Service Account Authentication for Python and Go
Guide to migrating service account authentication from Vertex AI SDK to Google Gen AI SDK for Python and Go applications.
Guide to migrating service account authentication from Vertex AI SDK to Google Gen AI SDK for Python and Go applications.
Analyzes a subtle data race bug in a Go web server middleware, explaining the cause and fix for a concurrency issue without typical synchronization constructs.
Explores naming conventions for mutexes in Go codebases and introduces structural search tools like ast-grep to analyze patterns.
A debugging technique using differential code coverage to isolate code unique to a failing test, demonstrated with a Go example.
The author stops developing JourneyInbox as a SaaS product due to low market adoption and pivots it for personal use.
A technical guide on enabling Position Independent Executable (PIE) builds in Go for security hardening, covering the process and troubleshooting dynamic linking issues.
Microsoft is developing a new TypeScript compiler in Go, promising 10x speed improvements over the current TypeScript-based compiler.
A technical guide on using Bpftrace to profile a Go service's in-memory cache and estimate memory usage by analyzing entry sizes at runtime.
Analysis of Microsoft's Go port of the TypeScript compiler, discussing the timeline, benefits, and technical details of the native implementation.
A developer shares talks on building safe AI agents for high-stakes industries using Go and durable execution, and announces an upcoming meetup.
A developer shares a solution for installing Go tools with a specific version to resolve a staticcheck version mismatch error.
A developer shares solutions to common pain points and limitations encountered when using CGO, Go's FFI mechanism, to interface with C and Rust libraries.
Argues that minimal standard libraries in languages like Rust and JavaScript lead to an explosion of transitive dependencies, harming maintainability.
Explores using Go 1.23's new iterators and coroutines to optimize in-process gRPC communication for efficiency and transparency.
Learn a simple Go testing pattern using 'if got, want :=' for cleaner, more readable tests and table-driven test examples.
A guide to building multi-architecture Docker images using Chainguard Images, covering QEMU emulation, cross-compilation, and native runners.
A guide to deploying and managing simple Go web services on NixOS, highlighting benefits over Ansible and Docker for personal projects.
A guide to using the Porcupine library to check for linearizability in distributed systems like registers and key-value stores, implemented in Go.
The author details their journey to reduce memory usage in their 'Mess With DNS' service by optimizing how IP address lookup data is stored.
A practical guide to structuring Go projects, advocating for simplicity over rigid conventions and explaining when to use or avoid common directory patterns.