Blog

Get new articles directly in your inbox.

Using session cookies directly in playwright

After 37signals posted how they sped up their test suite considerably by using cookies directly instead of signing a user in for every test, I wanted to do the same. Why spend more time than necessary on testing, am I right?

Unfortunately, 

Mikael Henriksson

6 min read

Client side rate limiter

Sometimes you have to get ahead of things. Rate limits suck but are there for a reason, waiting until the API you are calling raises a rate limit error is bad, really bad. This is how you get ahead and prevent the external API from raising rate limit errors.

Mikael Henriksson

6 min read

High performant ruby installations

Ruby is more than a little memory hungry. This is a known fact, what isn't known by most of my clients is how to reduce memory consumption considerably. This is how you do it.

Mikael Henriksson

6 min read

Using systemd to monitor Puma

Puma doesn't support daemonization anymore so the proper way to run puma is to use systemd.

Mikael Henriksson

6 min read

Global rails partials

Most people do it wrong, this is how to do it right!

Mikael Henriksson

6 min read

Serving custom fonts with cssbundling-rails

I wanted a custom font to use for my website. While loading fonts using google fonts is possible, I want to reduce the number of external dependencies as much as possible and this is how I did it.

Mikael Henriksson

6 min read