This is my quick-and-dirty logging configuration that works for both scripts and containerized applications. from logging import StreamHandler, getLogger from os import getenv stderr_handler = StreamHandler() log = getLogger(__name__) log.setLevel(getenv('LOG_LEVEL', 'INFO')) log.addHandler(stderr_handler) This…
Quick and Dirty Python Logging Configuration
Running EJBCA on EKS
Bitnami provides a nice Helm chart for EJBCA, a FOSS public key infrastructure certificate authority application with a REST API. However, the Service and Ingress setup doesn't work very well if you're deploying to Amazon EKS. Our EKS clusters use…
Grogue: A Roguelike Tutorial in Go (Part 4)
Happy New Year and welcome back to part 4 of my Rougelike tutorial in Go! (EDIT: It's been 2024 for a while now, as I've been busy and wasn't able to get this published when I initially intended.) We now…
Grogue: A Roguelike Tutorial in Go (Part 3)
In Part 1, we created the dungeon as a large, empty room with walls around the edge. In this part, we'll modify our dungeon generation code to start by filling the entire map with walls and then carving out rooms…
Grogue: A Roguelike Tutorial in Go (Part 2)
In the second part of the Golang roguelike tutorial, we add entities and map generation.
Grogue: A Roguelike Tutorial in Go (Part 1)
Welcome to part one of this series which will help you create your a roguelike game written in Go! This is based largely on the Roguebasin libtcod tutorial, which has proven very helpful in getting fledgling roguelike-devs off the ground.…
Learning Go
At work, we recently forked a project which includes a code written in Go and I needed to fix a bug in that code. I don't know Go, but my colleagues were able to help me out and I was…
Deploy Python Lambdas with Terraform
Deploying lambdas to AWS has always been painful when those Lambdas need more than just boto3 and when sticking to Infrastructure-as-Code. You can bring in the Serverless Framework, but it is complicated to bring into your CICD pipelines and has…