#development
Using OpenAI's o1 models for code reviews (and my custom rake task)
December 18, 2024With a simple rake task, you can generate a prompt to have o1 provide a comprehensive review of your code.
Trying out the paid Bug Finder in Cursor
December 12, 2024Cursor has an experimental Bug Finder that's quite expensive and is paid for at every run. I was curious to try it out and share in case anyone's curious.
Potato Analytics: Minimalistic, privacy-conscious tracking for your website
November 08, 2024Potato Analytics is a minimalist, self-hosted solution for tracking unique pageviews with minimal maintenance and zero data collection—all thanks to the efficiency of the HyperLogLog algorithm
First rule of server security: Zero access
November 05, 2024Most horror stories I read about unauthorized server access could have been prevented if the server had been locked down. Here's how to do it in a few minutes.
PSA: Don't use Cloudflare Fonts in production
November 03, 2024Seeing features in the Cloudflare dashboard used to be great. You pressed a button, and your website was now slightly better. Sadly, this isn't the case with Cloudflare Fonts, and I would recommend staying away for now.
Using embeddings to display related articles with Supabase in Ruby on Rails
October 31, 2024A short tutorial on how to use Supabase to store embeddings on blog posts to display related articles.
Building Integral Review v2... and a blogging platform
October 20, 2024I wanted a more custom blog reminiscent of the older web, full of intimate personal websites, so I rebuilt my blog with a custom blogging platform.
A minimalist free commenting system built with Cloudflare Workers
April 22, 2021It is still possible to build interactive features on the web without overengineering them. At least, that’s what I wanted to prove to myself when adding a commenting system to this blog.
Tools distract us from building
May 22, 2017When building a SAAS, every week comes with opportunities to use news tools. Maybe we need to add a new database or to track a new project. Those are almost never first-times. You most likely already have a database currently online.
HTTPS is hurting users far away from your servers, and what to do about it
March 10, 2017Lately, we’ve been told HTTPS is finally faster than HTTP. Mostly because of HTTP/2’s multiplexing. In this post, I want to highlight an issue we rarely think about with HTTPS: the slowdown it implies for users far away from your servers. Since we’re usually on the same continent as our servers, we never get to think about this.
Super simple worker pools in Go using channels
February 28, 2017I’m sure you’ve had to write some code where you have a few hundred thousand items and need to do some work on them. Performing the jobs serially would be too long. And launching everything at once with goroutines isn’t possible because of some other limitation. You need a worker pool.
How to disable some of your website’s endpoints in seconds
January 06, 2017They are cases when you need to disable some endpoints of a website as fast as possible. For example, in the case were an issue on an endpoint is causing all of your website to go down. Or because you need to limit the traffic load quickly by sacrificing parts of the API, instead of losing everything.
Lessons learned from our Security Bounty Program
December 09, 2016A few weeks ago we launched our security bounty program. This was a great decision and we should have done it earlier. Over the last few weeks, we learned some key lessons.