/explore

Click through on any links that interest you or select the planets on the right to continue exploring the Outer Web.
You are here

danielms.site
| | whatibroke.com

Hey everyone, I'm currently setting up a mysql database on DigitalOcean and hit the following error when connecting: failed to connect to the database: default addr for "DATABASE_CONN_STR" network unknown Luckily this turned out to be a pretty easy fix. In the mysql driver repo you can see that the only scenario where this error...
3.1 parsecs

Travel
| |
| | golangbot.com

Learn how to connect to MySQL and create a database using the database/sql package. This tutorial also deals with DB connection pooling in Go.
2.6 parsecs

Travel
| |
| | hjr265.me

After building Printd, Toph's print daemon, it became necessary to ensure that contest organizers were using the latest version of the software. Since Printd is open-source we host both the code and the release artifacts on GitHub. The following function uses the Go client library for GitHub to check the latest release and compare the tag with the current version. 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 package main import ( "context" "log" "time" "github.
2.8 parsecs

Travel
| |
| | github.com

Re-implementation of the Living Worlds color cycle effect, in Rust - aquova/colorcycle
7.3 parsecs

Travel
|