Troubleshooting GCP's CloudSQL Proxy in GAE

Google App Engine (GAE) Flex isn’t the trendiest method for running cloud compute, but it still has its use cases. Along with it, GCP’s CloudSQL is a simple-to-use managed DB solution. But getting these technologies to play nicely together can be a challenge, especially if they’re in separate projects1. No CloudSQL Proxy container GAE Flex runs workloads on modified GCE VMs. Connecting to an instance drops you into a shell2 where you can run all sorts of programs, including docker commands. [Read More]

Catalina, Nix, and build failures

Nix is a powerful tool to manage packages and create reproducable builds. It also expects /nix on the filesystem to be writable, but starting with macOS Catalina that is no longer the case. But there’s a workaround Create an APFS volume and mount as /nix. Unfortunately, you might still run into this error: building '/nix/store/5lrbhhcipg6jjj6rn1kkvn2614jmf5fg-source.drv'... trying https://github.com/darlinghq/darling/archive/d2cc5fa748003aaa70ad4180fff0a9a85dc65e9b.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 159 100 159 0 0 159 0 0:00:01 --:--:-- 0:00:01 368 100 12. [Read More]