Unwanted statefulness causing mayhem in a Rails application
How the Use Case pattern in combination with memoization and a single missing `new` statement caused a severe bug in our platform.
I have never maintained a blog before, but someone recently wrote on Mastodon that, if you solve a problem or have an insight, write it up! No matter how basic or advanced it seems to you, it might just be exactly what someone is searching for and save their day. So that's what I will be trying to do here. Value not guaranteed, and it might not all be about building software.
How the Use Case pattern in combination with memoization and a single missing `new` statement caused a severe bug in our platform.
Here is a quick experiment I made for a paper art/cut-out look which enables extreme zooming of very low resolution input textures.
For a pet project, I wanted to get an “artistic” look as a real-time post-processing effect, something that looks like water color or a pencil sketch.