@rochacbruno@social.rochacbruno.com
@rochacbruno@social.rochacbruno.com avatar

rochacbruno

@rochacbruno@social.rochacbruno.com

Principal Engineer at :redhat: working on :ansible: Platform | 🇧🇷 From Brazil, living in 🇵🇹 Portugal | 🚲 & 🥃 | :vegan: Plant-based | 🎸 Prog Metal | ✍️ Educator | 📚 Author | Fellow of :python: Software Foundation | Creator of Dynaconf | :rust: videos at /CodeShowBR channel | 💬 talks about #Python #FreeSoftware #Linux #KDE #Fediverse #Rust #RustLang #WebDev #Ansible #SelfHosting

Follow my blog :rochacbruno_rat: on https://blog.rochacbruno.com/author/bruno_rocha/

BTW :archlinux:

This profile is from a federated server and may be incomplete. Browse more on the original instance.

rochacbruno, to random Portuguese
@rochacbruno@social.rochacbruno.com avatar

Ingresso mais caro para o show do Dream Theater

Brasil R$2000
Portugal €80

A cotação do Euro deles é 25 para 1?

rochacbruno, to random
@rochacbruno@social.rochacbruno.com avatar

A Mastodon compatible fediverse instance server written in C that is really lightweight, no database, no javascript!

https://codeberg.org/grunfink/snac2 made by @grunfink and it looks so good! https://comam.es/snac/grunfink

We need a :yunohost: package for it!

edcrypt, to random Portuguese
@edcrypt@mastodon.coffee avatar

Com que idade que vocês se tocaram que a gente só tem uma palavra pra Corvo e Corvo, digo, Raven e Crow?

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@edcrypt

Crow = Corvo
Raven = Gralha

Não é?

cadusilva, to random Portuguese
@cadusilva@bolha.one avatar

Pra vocês terem uma ideia, é possível subir uma instância do Akkoma com um servidor barato com 1 ou 2 GB de memória, ou mesmo um Raspberry Pi.

Já o Mastodon precisa de pelo menos 4 GB, sendo que 8 GB é o ideal para algo mais confortável no início das atividades.

E você precisa de muito espaço em disco ou um serviço externo para as mídias pois o Mastodon faz cache de tudo aquilo que encosta nele.

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@santiago @cadusilva

To rodando minha instância mastodon single user em uma máquina 1vcore 2GB ram 18GB SSD.

Faço a limpeza diária de media e Mastodon tá usando 3GB de disco, vai chegando no fim do dia em 6GB mas ai passa o script de limpeza e volta pros 3GB de novo.

rochacbruno, to random
@rochacbruno@social.rochacbruno.com avatar

We don't need translated bridges, if the other networks don't want to officially talk to the Fediverse they are not part of it and there is no need to force it.

One more domain to block https://mostr.pub/

Notice that they don't count T and B as part of the Fediverse, they enforce the idea that Fediverse is mastodon only.

The worst part is that they deliberately list fediverse accounts without permission while others are opt-in.

treyhunner, to python
@treyhunner@mastodon.social avatar

What are your favorite one liners?

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@treyhunner

import("ipdb").set_trace()

jwildeboer, (edited ) to random
@jwildeboer@social.wildeboer.net avatar

TIL: with git redate -c <# OF COMMITS> you can change the commit date/time and messages of commits in your repo. However: make sure you do NOT include the very first commit or the command will fail. So if you have N commits in your repo, make sure that -c is always at least one lower than N.

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@jwildeboer Phanpy handles it perfectly! code syntax, lists, all common mark.

manualdousuario, to random
@manualdousuario@mastodon.social avatar

The only sane way to access LinkedIn 😌

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@manualdousuario How did you do that? is that an option or extension?

dansup, to fediverse
@dansup@mastodon.social avatar

Anyone building a federated Stack Overflow?

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@dansup isn't that Lemmy?

I would like to have a federated LinkedIn with job board that federates the job listings.

rochacbruno, to mastodon
@rochacbruno@social.rochacbruno.com avatar

2 weeks ago I had no idea how to host a
Today I have 14 services running on my own domain, with admin panel, backups, monitoring, email, SSO (so good to have the same user across all the services!)

I still need to do some tweaks to the services, but for a single user all running well.

As I am using 2 VPS the total cost is € 9,50/month + a donation of 5€ to :yunohost: project.

I could run everything on my own home, maybe I will do that in the future.

jwildeboer, (edited ) to random
@jwildeboer@social.wildeboer.net avatar

Every time a truly open protocol emerges, the vultures that shout "monetisation" will show up and demand that artificial scarcity must be created or else they will not come. But adding artificial scarcity to an open system makes it non-open. 1/7

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@jwildeboer
I think there is room for monetization on fediverse, a small trading community, where one individual can sell things to another, small scale and p2p, no intermediary centralizing it, and the protocol has nothing to do with it.

rochacbruno, to random Portuguese
@rochacbruno@social.rochacbruno.com avatar
juuh42dias, to random
@juuh42dias@mastodon.social avatar

É, estou órfã de distro Linux :'(

R.I.P Ubuntu
juro que tentei estar contigo mais uma vez, maaas...

É isso gente, depois de tantos anos (desde o 12.04 oficialmente) usando Ubuntu como distro principal, procuro por uma distro nova pra ser a minha main distro

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@juuh42dias

Eu já tentei de tudo, mas @EndeavourOS com plasma 6 tem sido uma experiência excelente.

Também tenho outro laptop rodando fedora 40 com KDE Plasma e é ótimo

rochacbruno, to random
@rochacbruno@social.rochacbruno.com avatar

I almost ordered more SSD or Object Storage for my poor mastodon VPS.

But then I learned about 2 commands:

tootctl media remove --days=1  
tootctl media remove --days=0 --prune-profiles  

It saved me 8GB of storage.

The commands will remove all media attachments older than 1 day that federated with my instance.

The second will remove headers and avatars for all non-followed accounts.

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

It would be nice if mastodon had performance presets as config.

INSTANCE_SIZE=micro|small|medium|large

And then with a micro preset it would:

set SINGLE_USER_MODE, Content retention to minimum possible, decrease worker number.

rochacbruno, to random
@rochacbruno@social.rochacbruno.com avatar

I can't stop thinking about the huge amount of HTTP requests that mastodon performs just to federate this post.

On the project I work we are always trying to limit the amount of requests from UI to backend even when gRPC is the bus.

Take an account with 100k followers, federating with multiple instances, a simple shitpost would require thousands of HTTP posts.

Is the Fediverse consuming too much energy and resources?

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@manualdousuario Interesting that the post mentions GotoSocial as the promising problem solver, I have high hopes it will become a good replacement.

It is not very lightweight, I made some comparisons and it still uses high CPU and RAM relatively to what it does.

The Wordpress plugin can also handle ActivityPub requests and I don't understand yet how it does without losing messages, but it is very lightweight.

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@manualdousuario And it is just amazing that we are discussing this based on real data.

We can only imagine how much resources the private platforms uses.

rochacbruno,
@rochacbruno@social.rochacbruno.com avatar

@manualdousuario It is possible to do everything, I am running a WP on @rochacbruno and there I have AP, Friends, MastoApps, Webfinger plugins and it works im a very similar way, there is a timeline in the admin, you can search and follow profiles, interact etc.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • kavyap
  • DreamBathrooms
  • osvaldo12
  • magazineikmin
  • khanakhh
  • tacticalgear
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • ethstaker
  • Durango
  • normalnudes
  • provamag3
  • ngwrru68w68
  • InstantRegret
  • cubers
  • modclub
  • everett
  • thenastyranch
  • cisconetworking
  • Leos
  • GTA5RPClips
  • tester
  • vwfavf
  • anitta
  • JUstTest
  • All magazines