I've been prototyping some stuff with Huma, and, while it lets your bring your own router, that doesn't mean that all features of the router are available to you. My problem was that I wanted API routes to be protected by an authentication middleware, but the actual open api and schema URLs to be open.… Continue reading Conditionally Applying Middlware in Go
Category: Uncategorized
Reading a GZipped File from S3 to Memory in NodeJS
Specifically, I had firehose landing some small-ish files in S3 that were gzipped. Each file has a JSON object per row and I need to get the contents of that file into a lambda for processing. SO needed to use the AWS SDK to call S3, gunzip the contents, and then work with them. The… Continue reading Reading a GZipped File from S3 to Memory in NodeJS
What I Learned at AI Conference
This week I attended AI Conference in San Francisco. I don't really do a lot of work with machine learning or generative AI, but the entire software world is shifting in that direction so... gotta keep up. I'm not particularly bullish on generative AI, but I'd say my mindset shifted to one of cautious, skeptical… Continue reading What I Learned at AI Conference
Hosting a Single Page Application in AWS
Last year I started using Single SPA as framework for a microfrontend based single page application. Part of this was figuring out how to even host a single page application in AWS. I wanted to do this without having to run servers and instead rely on AWS services only. This is the solution I arrived… Continue reading Hosting a Single Page Application in AWS
Github API Calls via Github Actions Do Not Trigger Workflows
Github actions provides a token to actions with a set of permissions, however the docs have this little tidbit: When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs. Which makes some sense, you… Continue reading Github API Calls via Github Actions Do Not Trigger Workflows
