Starting to dig into Go 2's generics, here's a comparison of a tweaked merge function from 2014 by @Sajma that works with interface{} vs T any:
2014: https://t.co/a3pp6dopla
2021: https://t.co/5TJ6EEU2MW
Seems straightforward, what have I overlooked?!
#go#gogenerics#go2
It’s hard to imagine a more shameful indictment of our sewage crisis than what I witnessed on the River Avon this afternoon.
A flock of swans & ducks feeding & cavorting in a plume of raw sewage, just a few hundred metres from the centre of the genteel City of Bath.
This huge sewage spill entered the river after a short 10 minute rainstorm of average intensity. It is highly unlikely that the circumstances were exceptional and thus this discharge is likely to be a criminal offence.
I (somewhat ironically) spotted this spill on my way to speak to local river activists on the Avon. I’ve encouraged them all to demand that both the @EnvAgency & the local authority @bathnes hold @wessexwater to account for their disgusting & disgraceful actions.
AFRICAN GAZE was an exhibition showcasing the weird and wonderful art form that is the Ghanaian movie poster. These are some of the best...
A THREAD
1/20 - Mrs Doubtfire
@maascamp With libraries like @opencensusio /@opentelemetry and @JaegerTracing’s all in one container, it’s relatively pain free to get tracing baked in early on, and as it’s all local using Jaeger to debug vs printf or similar can be effective.
Some of you asked to get a PDF version of my Twitter threads. Here is the first part and it contains all payment-related topics. This document is a work-in-progress. Subscribe to receive updates or new parts here: https://t.co/urop0Y1Rpz
Go 1.19 will have a faster race detector 🎉
Unlimited number of goroutines! No more 🤞:
$ go test -race
race: limit on 8128 simultaneously alive goroutines is exceeded, dying
#golang
I'm often asked how I approach, learn, and ultimately contribute to existing complex software projects. This applies to open source as well as non-OSS work. I decided to write and share my process for learning and contributing to complex projects: https://t.co/pkeqRWziFp