Weeknotes 81
15th January, 2023
“Platform douchery”
-
From Kevin Newton:
In Ruby, the expression in the rescue clause that captures a variable can be a method call. That method call doesn’t actually need to exist though, because it automatically has = appended to it.
Cool.
-
If you rebase a lot, like I do, then it worth reminding ourselves that you don’t need to constantly change branch. I am in the habit of changing to
main
, getting all the new changes, then changing back, and finally rebasing.Before (from branch
feature_a
)git stash git checkout main git pull git checkout feature_a git rebase main git stash pop
This isn’t necessary.
After (from branch
feature_a
)git fetch origin main git stash git rebase origin/main git stash pop
You don’t need to change branch to rebase.
-
I was working on direct-to-S3 uploads this week, something I’ve never done before. I didn’t want to touch the production Amazon AWS account whilst doing so because these things often require a lot of tweaking, and then you don’t have the correct permissions…blah.
Instead, I installed MinIO, an S3 API compatible storage server and pointed my app at that. It was up and running in no time using a simple
brew install minio/stable/minio
and comes with an easy-to-use web console. I’m going to keep it in-mind for future testing, perhaps including automated tests that need to hit a real server. -
In yet another of douchery Musk seems to have stopped third party clients working with the platform.
But pulling the plug on these clients and ghosting everyone on communications about it is so absurdly disrespectful. Zero respect for the users for those apps, zero respect for the developers behind them — many of whom had been building on the Twitter platform for 10-15 years
-
But, Tapbots are working on a Mastodon client called Ivory.
-
Kevin Chen wrote a very thorough breakdown of how Rewind works. Apple have done a lot of the heavy lifting with their clever built-in APIs. Interesting how a statically linked
ffmpeg
is included.ffmpeg
is everywhere. The amount of businesses built on Bash scripts callingffmpeg
is far greater than you’d imagine. -
Programming Interviews Turn Normal People into A-Holes
The problem with programming interviews is every asshole programmer thinks they know how to conduct one well with no training or forethought.
-
We were away in Madrid in the later part of the week. In fact, I’m writing this in the airport waiting to fly home.