Hi! Welcome to this tiny corner of the Internets where I squirrel away bits of shareable longer-form content that I’ve created.
If you’re curious, you can read a bit about me.
Otherwise, on to the posts!
Hi! Welcome to this tiny corner of the Internets where I squirrel away bits of shareable longer-form content that I’ve created.
If you’re curious, you can read a bit about me.
Otherwise, on to the posts!
AssumeRole
problem today when I was working with the AWS SDK; digging
in it turned out the problem was that AssumeRole
was not actually being invoked. Poking
around I was unsurprised to find that @ben11kehoe
had already clearly stated the problem and GitHub user petitout had example Go code
with the right way to do it (link).
Recently someone asked me why I prefer using Go to build services instead of Python.
It struck me as an odd question, mostly because the way it was phrased and how I skimmed it made me think they were asking why I recommended using Python to build services, which is something I have never done. Once we got past my misunderstanding and I had apologized for not reading carefully, I took a few minutes to think about it.
I was curious what would happen with a time.Ticker
running in an AWS Lambda function.
It was pretty obvious that the ticker wouldn’t tick while the container was hibernating, but what about when it woke up? Would a bunch of ticks happen if the container had been hibernating for a long time? Would you get a tick at all?