It took me a while to figure out all the various steps (plus a couple of key tricks!) for creating a Mac OS .app bundle to make a distributable executable. I wanted to create a distributable executable for the kube-switchboard project so it is easier to use, but I didn’t want to rely on xcode …
While working on my latest project in Rust with Diesel I ran into an issue when sharing a Postgres instance between two applications. The second application (in my case, Ory Kratos) was unable to establish connections to the database, telling me that there were no available connections. At first I thought maybe my Postgres database …
Sometimes I just need to get a single value out of the database, or in this case I wanted to include connectivity to the database in my liveness probe. Since I don’t need to load anything and just want to make sure the database is accessible I want to run a very simple query. Diesel …