People who deactivated Facebook for the six weeks before the election reported a 0.060 standard deviation improvement in an index of happiness, depression, and anxiety, relative to controls who deactivated for just the first of those six weeks. People who deactivated Instagram for those six weeks reported a 0.041 standard deviation improvement relative to controls.
I-PASS stands for:
Summary of How I write HTTP services in Go after 13 years:
http.Handler
. configures its own muxer and calls out to routes.go
. includes setting up middleware, CORS, logging.
** Long argument lists - type safety in arguments.flags.NewFlagSet
inside run
. make a replacement os.Getenv
for tests and pass that to run
(or the real thing for main).Valid(ctx context.Context) (problems map[string]string)
http.Handler
and return one.run()
down to calling individual handler functions.
** Testing with the run function
** Waiting for readiness - loop on hitting a /healthz
endpoint until the server has started.Really good writeup of Roc’s decision to rewrite their compiler in Zig (original version written in Rust).