Go

Getting AWS Region in Terraform

A quick reference for how to get the AWS region in Terraform. Introduction Getting AWS Region in Terraform How to do it Bonus: Reading the Terraform Source Code Conclusion References Introduction When working with AWS resources in Terrafor…

Getting AWS Account ID in Terraform

This is a brief guide on how to retrieve the current AWS account ID in Terraform. Introduction Getting AWS Account ID in Terraform How to Do It Bonus: Reading the Terraform Source Code Conclusion References Introduction When writing Terraf…

Why I Switched from Godot to Ebitengine

I've been switching from Godot to Ebitengine, so I'll organize my reasons and impressions here. Introduction Why I Switched from Godot to Ebitengine Learning Tools vs. Building from Scratch Better for Leveraging AI Coding Moving Forward in…

Don't Call NewImage Inside Update/Draw | Ebitengine

You should not call NewImage inside Update or Draw. Introduction Don't Call NewImage Frequently The Problem Fix #1: Cache the Images (A Quick Hack) Fix #2: Wait, There's DrawFilledRect Conclusion References Introduction Recently I've been …

The Difference Between FPS and TPS in Ebitengine

This article summarizes the meaning and behavior differences between FPS (Frames Per Second) and TPS (Ticks Per Second) in Ebitengine. Introduction The Differences Between FPS and TPS in Ebitengine Overview Testing TPS 60, Display Refresh …

Understanding Text Drawing Coordinates in Ebitengine

text/v2 uses the text’s upper-left corner as (0, 0), while text/v1 uses the baseline origin on the left. Introduction Relationship Between Ebitengine Text Rendering Position and Specified Coordinates Check the documentation Try it out Conc…

How to Output DEBUG-Level Logs in Terraform

This is a quick note on how to change the log output level in Terraform. Introduction Outputting DEBUG-Level Logs in Terraform Setting Log Levels Separately for Terraform and Providers Appendix: Reading Terraform's Source Code Conclusion R…

Understanding the Functional Options Pattern in Go

Go

A quick overview of the Functional Options Pattern in Go. Introduction Functional Options Pattern in Go Conclusion References Introduction While using a Go-based library, I came across the Functional Options Pattern. Here's a brief note on…

Building a MCP Server in Go

This is a memo on how to implement an MCP server using Golang. Introduction Prerequisite: Is there an official Go MCP SDK? Implementing an MCP Server in Go The Target MCP Server Implementing the MCP server in Go Implementing the Tool Imple…

Ebitengine Tutorial: Boids Flocking in Golang

Learn the basics of the Go-based game engine Ebitengine by implementing a Boids Flocking simulation. Introduction What is Ebitengine? What I built: Boids Flocking Implementing Boids Flocking Minimum setup: Hello, World! Directory structure…