R1D10 Oops, Something Went Wrong.
I’m going to get back to React Native eventually, but tonight I spent some time working on a new Flask app that I started last week. I worked on trying to fix a few bugs with the Auth0 flow but spent most of my night digging through the logs and staring at this image.

Login works like a charm. Logging out is a whole other story.
One interesting thing about this auth flow is that it enabled you to use wraps and make a decorator. This is a powerful functional programming concept in python that makes life a whole lot easier.
def requires_auth(f):
@wraps(f)
def decorated(*args, **kwargs):
if 'JWT_PAYLOAD' not in session:
return redirect('/login')
return f(*args, **kwargs)
return decorated
This concept is a “Higher Order Function” or a function that returns another function. If you are a JS developer you do this all day long. In this specific context this allows you to use the @requires_auth decorator on routes to ensure that a user is logged in before serving that route.
In other news, I also spent some time today learning more about actually using Redis. I think I’ve installed it and monitored it half a dozen times but I have never had the chance to actually do anything useful with it.
A great resource that I found was this article on how to go from zero to Redis master in 30 minutes. I also purchased Medis which is a beautiful MacOS GUI for Redis that is available in the app store for $5.
Thank you for reading! Share your thoughts with me on bluesky, mastodon, or via email.
Check out some more stuff to read down below.
Most popular posts this month
Recent Favorite Blog Posts
This is a collection of the last 8 posts that I bookmarked.
- Deeper dive: Were Touch Bar’s problems software rather than hardware? from Unsung
- Joining Cursor from Fatih Arslan
- Pluralistic: Digital sewer socialism (08 Aug 2026) from Pluralistic: Daily links from Cory Doctorow
- Pluralistic: Enshittification and Reverse Centaurs go global (29 Jul 2026) from Pluralistic: Daily links from Cory Doctorow
- AI Mania Is Eviscerating Global Decision-Making from Ludicity
- The default person from https://popagandhi.com/
- No-One Escapes the Permanent Underclass from Fernando Borretti
- Is it ethical to use AI? from charity.wtf
Articles from blogs I follow around the net
OpenAI agents attacked RubyGems back in May
OpenAI agents carried out an undisclosed attack on RubyGems is a new bombshell report from Spencer Kitts, Thomas Larsen, and Sydney Von Arx - three of the four authors of the report on the agent attack on disused wikis (previously) last week. This time the...
via Simon Willison's Weblog: Entries September 12, 2026Summers end, painting, and books
I think we’re far enough into September that I won’t jinx myself by saying: summer here wasn’t bad. From what I hear, there’s other parts of Japan and Europe had a rough time this year. But my area was for some reason not too bad. It wasn’t without some mi...
via Longest Voyage September 12, 2026How I manage my agents
There are probably hundreds of posts like this. But I wanted to share my workflow about how I create and manage a fleet of agents. I've had huge success with it over the past few months.I rely on some sort of index, where I save every single
via Fatih Arslan September 11, 2026Generated by openring