Til
TIL: Ballcock valves
I need to repair one of my toilets. It makes this weird noise after every flush. After a quick Google search, today I learned that the most likely culprit is a faulty ballcock valve.
Ballcock. 😅
I am still giggling. I'm a child.
It doesn't help that the toilet is a Mansfield.
TIL that some people use content warning (CW) on Mastodon when sharing pictures where the subject makes eye contact with the camera. You know, like selfies. As it turns out, eye contact can trigger neurodiverse people. I had no idea.
TIL that, when upgrading Mastodon, when this command for asset compilation fails:
RAILS_ENV=production bundle exec rails assets:precompile
If you run it again and it says everything’s OK, it’s a lie.
You need to delete the failed compiled assets, and start fresh. In order to do that, use the command:
RAILS_ENV=production bundle exec rails assets:clobber
And then you can try again the precompile action.
Apparently, this action uses a lot of RAM. If it keeps failing, you may want to consider stopping some processes (including Mastodon) and trying again.
This solved some issues I encountered when upgrading my instance on Digital Ocean from 3.1.3 to 3.5.3.