I just woke up and couldn't for the life of me think what day it is. It took me a minute of hard thinking to come to the conclusion that today is Tuesday.

Next thought: this not leaving the house thing is really affecting me.

Now I seat down on my computer and see that today is Saturday :blobmindblown:

I’m pretty sure I never had my hands so clean in my life

Hugo Gameiro partilhado

Where can I find you on Pixelfed?

Send me your links so I can follow you.

Mine is pixelfed.social/hugo

"Losing fans is the collateral damage that comes from engaging in music from an artistic perspective, rather than a commercial one. Making music specifically to please fans can be patronising and exploitative. Challenging music, by its very nature, alienates some fans whilst inspiring others, but without that dissonance, there is no conversation, there is no risk, there are no tears and there are no smiles, and nobody is moved and nobody is affected!" - theredhandfiles.com/fear-losin

I rarely wake up during the night but last night I did and had a couple of emails about a couple of Mastodon instances having trouble federating.

This was at 5am and after 14 hours (it's now 7pm) I found a solution to the problem, just removing 2 's' from the Mastodon code: github.com/tootsuite/mastodon/ :blobmindblown:

Today the weather in Portugal is stormy.
In Portuguese, we have an expression that I would translate as "The devil is on the loose", I think we are not the only country as Bjork's song "It's Oh So Quiet" also mentions "devil is cut loose", probably the same just a different translation.

All this to say that today feels like this song: youtube.com/watch?v=YSaNXpD49Q
🎶"the wind is blowing like it's the end of the world" 🎶

Hugo Gameiro partilhado

Okay! mastodon.social is updated with a fix for YouTube embeds devised by me and @hugo, as well as better dropdown options on toots: They will now properly show "unmute" when you have someone already muted, as well as offering the "hide everything from x" option. No need to open a profile for that anymore!

Mostrar conversa

I have coded a patch for Mastodon that should be double checked before I can put it in production on my end.

If someone is into Mastodon development and can have a look, it would be of great help: github.com/tootsuite/mastodon/

Do break it apart and let me know what I am doing wrong :)

Need help with a noob Rails question 

I have a variable that I want to check if it is not nil and that the length is equal to 11.

Currently I have this:

if video_id
if video_id.length == 11
//actions
end
end

How can I make both verifications on a single if?

Sorry, for the noob question.

If you are running OpenStack Swift Object Storage with Mastodon, to use authentication v3 you need to *not* set SWIFT_TENANT in .env.production or fog-openstack will automatically fallback to v2 if tenant is detected.

With auth v3 running you will avoid having to issue a new token for each request. Besides being best practice and probably faster (haven't tested), you will avoid token limits that OVH or others implement. Eg: I was getting 429 errors on OVH because they only allow 60/minute/user.

Hugo Gameiro partilhado
Mostrar mais
Mastodon (PT)

Mastodon é uma rede social baseada em protocolos abertos da web e software livre e gratuito. É descentralizado como e-mail.