Posts

2022 WOAP Burgers

Here are my 2022 Visa Wellington On a Plate burger reviews - you can find last year's ones here .   Issues with the embed? Open it directly here .

2021 WOAP Burgers

Now that it's that time of the year again I figured I'd post my 2021 Visa Wellington On a Plate burger reviews here, and I'll be posting my 2022 reviews soon.   Issues with the embed? Open it directly here .

How to Upload a File or Image Using the Notion API

Image
Want to add your own file or image to a database or page in Notion using their API? Unfortunately this is not (officially) supported yet: "For files and URLs hosted outside of Notion, we support retrieving the link as well as updating it to a different link. We don't currently support uploading files to Notion through the API , however, for files already uploaded to Notion, we support retrieving the file URL." - https://developers.notion.com/reference/file-object#externally-hosted-files-vs-files-hosted-by-notion However, there is a workaround we could use - base64 data URIs . If those work for page icons, then there's no reason why they can't work for file uploads right? Unfortunately this is not the case. When I tried using a base64 data URI directly in their API this is what I got back: { "object" : "error" , "status" : 400 , "code" : "validation_error" , "message" : "Content creation Failed.

Software as a 4D Construct

Image
Last week, before a regular one-to-one meeting with the head of product and technology at my company, I came to a realisation - what if software is a 4D construct? Generally when you think of a project, you tend to think of something that progresses in only one direction, for example, designing and building a house. While I am not an architect nor a builder, I imagine the process goes something like this: Surveyors go to the site and assess and provide specifications and details about the land. An architect gathers inspiration for what the house should look like from the customer, generates some ideas and iterates on them until both they and (more so) the customer are happy and in agreement. A structural engineer checks over the designs and schematics provided by the architect to ensure that the structure is safe and free of critical defects. The tradesmen come on site and build said house using the provided designs. Once the house is built, you would argue that it's comple

Locking It Down? Easy Tools to Help You Develop Secure Software

Image
If you're like me, sometimes when you're working on bringing a great idea to life security can be a bit of an afterthought. You have already thought about the big stuff like TLS and implementing the right authentication and authorisation system, but there can still be blind spots - for example, how your application is handling user data flow, or how it's exposing that data to the rest of your application's code. Luckily there are tools that can help you with secure development, and I'll show you some of the big ones out there. 1. SonarQube SonarQube is a hosted automatic static analysis tool that detects bugs, vulnerabilities and code smells in your code. It works great with your existing workflow - for example, when you make a pull request, it can automatically check for code smells in your work and produces a quality report which can appear in the conversation over on GitHub (or whichever version control system you use). You're probably thinking "Wha

We Need To Talk About Technical Debt

Image
And why product owners should also be developer advocates Although I have had a short career in tech so far, the list of technical debt that Ive come across is not. Even though Ive only had a few odd solo jobs and internships before my current role, which is my first permanent one, theres been plenty of technical debt along the way. Generally software businesses follow fairly standard Agile practices - in my current role, we have a mixture of Scrum and Kanban teams - and each of these teams have the usual rituals like standup, planning, refinement and retro. In Agile, product owners are seen as the interface between executives/project sponsors, and the developers. They communicate to the developers the business requirements of a product theyre building to make sure its made as the customer needs, and then the developers can communicate progress and technicalities that might come up along the way, and then they can communicate this to the project sponsors. When developers mention tec

Video Tutorial: Deploy a non-web Python application to Fly.io

Image
In my first video I will show you how to deploy a non-web Python application to a platform-as-a-service called Fly.io - enjoy! Sign up to Fly.io and install flyctl here !