Ralf Schmitz Bongiolo

July 29, 2021

How to opt-out of Google's FLoC aberration on Rails

TLDR: # add to the end of your config/application.rb config.action_dispatch.default_headers = config.action_dispatch.default_headers.merge( "Permissions-Policy" => "interest-cohort=()" ) Plausible has a really good article on what is FLoC and why you might want to opt-out on your site and as a user, you can read it here. But basically,...
Read more
April 16, 2021

How to change sound output on Linux using commands

I'm not sure if this is the best or really correct way of doing this, but it does work (at least on my setup). Usually, I have my shelf speakers on when I'm working or doing anything on my computer. From time to time I might have to join an online meeting and there I want to use my headset + webcam, the problem is that usually the webc...
Read more
March 13, 2021

Not every code you write needs to go into production

PT-BR A few days ago I was trying to solve something in our codebase and I wasn't exactly sure how to do it, a had a few ideas, but I didn't know if they would really work or not. So, for one of the proposals I wrote a minimal working solution, it was quite a good amount of code, when it was working I even refactored it a little bit im...
Read more