In-reply-to » Have you ever had to refactor a project that was not documented? Any suggestions?

The project is a POC (Proof of Concept) that went into production and the company has customers who are using it. The developers had been working for several years, without testing, structure, isolation and so on. The company hired me to transform the project into a real product. There are in my hands 422 python files to transform that they beg me a refactore, architecture and testing. Every developer’s bad dream.
My first step is to read and understand the tree because there are apps inside other apps call each other. I am very determined to work on a new repository.

⤋ Read More

@andros@twtxt.andros.dev it seems your GtS has issues:

Warning! It looks like trusted-proxies is not set correctly in this instance’s configuration. This may cause rate-limiting issues and, by extension, federation issues.

If you are the instance admin, you should fix this by adding 10.66.66.1/32 to your trusted-proxies.

⤋ Read More

#Clima: “A UE ateou o fogo e não pode esperar que outros países sejam os bombeiros”

(WWF quer mais da UE)

Excertos:

“As falhas que a UE tem vindo a cometer, alegam os autores do relatório, prejudicam os esforços de descarbonização e, denunciam ainda, incluem “subsídios aos combustíveis fósseis, licenças gratuitas para poluir para a indústria pesada ao abrigo do regime comunitário de comércio de licenças de emissão, a isenção de impostos para a aviação comercial[…]”.”

“O aquecimento a curto prazo (anual) não equivale a uma violação permanente do objectivo do Acordo de Paris de 1,5 graus Celsius, mas esta violação a longo prazo pode ocorrer em breve: segundo o Copérnico [programa europeu de monitorização do clima e atmosfera], se a tendência de aquecimento de 30 anos até Dezembro de 2020 se mantivesse, o aquecimento global atingiria uma média a longo prazo de 1,5 graus Celsius em Janeiro de 2034”, destaca o relatório do WWF. E isso trará consequências dramáticas impossíveis de ignorar.”

“Entretanto, na segunda-feira, terminou o prazo oficial para os países entregarem às Nações Unidas os seus planos de redução de emissões de gases com efeito de estufa até 2035. Cerca de 95% dos países não cumpriram a sua obrigação — entre os quais a União Europeia (Portugal incluído, claro).”

https://www.publico.pt/2025/02/11/azul/noticia/clima-ue-ateou-fogo-nao-esperar-paises-bombeiros-2122155

⤋ Read More
In-reply-to » Have you ever had to refactor a project that was not documented? Any suggestions?

@andros@twtxt.andros.dev I suggest to not touch it and work on a different project instead. :-D

No, in all seriousness, that’s a tough one. Try to figure out the requirements and write tests to cover them. In my experience, if there is no good documention, tests might also be lacking. It goes without saying that you have to understand the code segments first before you can begin to refactor them. Commit even earlier and more often than usual, this will help you bisecting potentially introduced bugs later on. Basically baby steps.

But it also depends on the amount of refactoring required. Maybe just scrap it entirely and start from scratch. This might not be feasible due to e.g. the overall project size, though.

⤋ Read More
In-reply-to » @eapl.me Read flags are so simple, yet powerful in my opinion. I really don't understand why this is not a thing in most twtxt clients. It's completely natural in e-mail programs and feed readers, but it hasn't made the jump over to this domain.

@eapl.me@eapl.me Yeah, you need some kind of storage for that. But chances are that there’s already a cache in place. Ideally, the client remembers etags or last modified timestamps in order to reduce unnecessary network traffic when fetching feeds over HTTP(S).

A newsreader without read flags would be totally useless to me. But I also do not subscribe to fire hose feeds, so maybe that’s a different story with these. I don’t know.

To me, filtering read messages out and only showing new messages is the obvious solution. No need for notifications in my opinion.

There are different approaches with read flags. Personally, I like to explicitly mark messages read or unread. This way, I can think about something and easily come back later to reply. Of course, marking messages read could also happen automatically. All decent mail clients I’ve used in my life offered even more advanced features, like delayed automatic marking.

All I can say is that I’m super happy with that for years. It works absolutely great for me. The only downside is that I see heaps of new, despite years old messages when a bug causes a feed to be incorrectly updated (https://twtxt.net/twt/tnsuifa). ;-)

⤋ Read More
In-reply-to » (#py6tmvq) Definitely something going on with replies. This one was replying to the wrong twt and even when I got clever and pasted the right hash it didn't work.

HTMX is fine! You can add dynamic sections with a simple endpoint. It is better that JavaScript.

⤋ Read More
In-reply-to » @eapl.me Read flags are so simple, yet powerful in my opinion. I really don't understand why this is not a thing in most twtxt clients. It's completely natural in e-mail programs and feed readers, but it hasn't made the jump over to this domain.

that’s a fair point.

Perhaps, since Twitter in 2006 never implemented read flags, every derivative microblogging system never saw that as an expected feature. This is curious because Twitter started with SMS, where on our phones we can mark messages as read or unread.
I think it all comes from the difference between reading an email (directed to you) vs. reading public posts (like a blog or a ‘wall,’ where you don’t mark posts as read). It’s not necessary to mark it as ‘read’, you just jump over it.

Reading microblogging posts in an email program is not common, I think, and I haven’t really used it, so I cannot say how it works, and whether it would be better for me or not.
However, I’ve used Thunderbird as a feed reader, and I understand the advantages when reading blog posts.

About read flags being simple, well… we just had a discussion this morning about how tracking read messages would require a lot of rethinking for clients such as timeline where no state is stored. Even considering some kind of ‘notification of unread messages or mentions’ is not expected for those minimalist client, so it’s an interesting compromise to think about.

⤋ Read More
In-reply-to » Linear feeds are a dark pattern - A proposal for Mastodon https://tilde.town/~dzwdz/blog/feeds.html

@eapl.me@eapl.me Read flags are so simple, yet powerful in my opinion. I really don’t understand why this is not a thing in most twtxt clients. It’s completely natural in e-mail programs and feed readers, but it hasn’t made the jump over to this domain.

⤋ Read More

The God of Ramen (2013)

Un documental delicioso. Grabado durante 13 años, por lo que incluso vemos el cambio de la tecnología de TV.

Agridulce al ver envejecer a alguien, y cerrar ciclos. Al mismo tiempo vemos la cultura tan japonesa de especializarse en una cosa y vivir para trabajar. Es contrastante al comparar contra la cultura de uno, aunque abre mucho los ojos a otras formas de vivir.

https://en.wikipedia.org/wiki/The_God_of_Ramen

⤋ Read More

Definitely something going on with replies. This one was replying to the wrong twt and even when I got clever and pasted the right hash it didn’t work.

⤋ Read More

Quando se fala em música brasileira, há sempre um certo tipo de música que nos vem à cabeça (pelo menos a mim)… E portanto, quando foi anunciado que o tema desta #musiquinta era “música brasileira”, eu decidi… escolher música brasileira de um outro género :-)

Aqui fica o pouquíssimo conhecido projecto Brasileiro “dshock”, com a música “I Want a Pizza Party”:

https://archive.org/details/Dshock-BreathingsWeak/01.Dshock-BreathingsWeak-IWantAPizzaParty.mp3

⤋ Read More
In-reply-to » I have uploaded a new version of #twtxtel 🥳. It's now possible to view profiles, either your own or others. #twtxt #emacs Media @prologic @xuu

@aelaraji@aelaraji.com Sorry I’m late! I still have to work on the mention system, I don’t get some of the messages. I’ll look into your case and get back to you shortly 😄
If it’s a problem that ruins your experience, don’t hesitate to create an issue.

⤋ Read More
In-reply-to » i made a little twtxt feed fixer for when a feed uses other whitespace instead of tabs.

trying to keep it simple but.. perhaps it can be extended to fix timestamp formats like using " " instead of "T"

⤋ Read More

I should really fix my calender rendering. A two day event only pops up in the first day, but not in the second. When extended to three days, it correctly shows up in all three days. Meh.

⤋ Read More
In-reply-to » reviewing logs this morning and found i have been spammed hard by bots not respecting the robots.txt file. only noticed it because the OpenAI bot was hitting me with a lot of nonsensical requests. here is the list from last month:

@bmallred@staystrong.run Surprisingly, my

User-agent: *
Disallow: /

seems to work. Or maybe those bastards change their user agent and claim to be someone nice. In any case, I just added a bunch of

location = /robots.txt {
    add_header Content-Type text/plain;
    return 200 "User-agent: *\nDisallow: /\n";
}

in my nginx config. No need for any bot to visit, crawl and index most of my sites.

⤋ Read More
In-reply-to » reviewing logs this morning and found i have been spammed hard by bots not respecting the robots.txt file. only noticed it because the OpenAI bot was hitting me with a lot of nonsensical requests. here is the list from last month:

Reddit has been complaining about this for years. I am sorry!

⤋ Read More

reviewing logs this morning and found i have been spammed hard by bots not respecting the robots.txt file. only noticed it because the OpenAI bot was hitting me with a lot of nonsensical requests. here is the list from last month:

i have placed some middleware to reject these for now but it is not a full proof solution.

⤋ Read More
In-reply-to » Excellent article where you reflect on why it is important to write in your blog, even knowing that nobody will read it. https://andysblog.uk/why-blog-if-nobody-reads-it/ At least this article does.

@jost@jost.sdfeu.org “right person”, who’s to say? And not “AI” but more-generally search. Otherwise I agree ☝️

⤋ Read More
In-reply-to » I'm realizing that my performance bottleneck is @prologic ! It is actually calculating the hash to make the replicas, and specifically users with very long feeds 😂 . I'm seriously thinking about enabling replies via configuration.

Gotta get faster disks man 🤣

⤋ Read More
In-reply-to » I'm realizing that my performance bottleneck is @prologic ! It is actually calculating the hash to make the replicas, and specifically users with very long feeds 😂 . I'm seriously thinking about enabling replies via configuration.

you rehash the same data too much :P

⤋ Read More
In-reply-to » Saw Windows 11 for the first time today and genuinely had to ask if this is really Windows. Looks a lot like KDE.

~10 seconds means it had to fire up Qwen 2.8b and prompt it what items would reasonably show up in a right click menu for the desktop.

⤋ Read More
In-reply-to » @andros The article is a good reminder of the true blogging mindset. But let's try to think beyond. 2 ideas: (1) writing "forces clarity, structures your thoughts, sharpens your perspective". But it also generates thoughts in the sense of Heinrich von Kleist (1805). (2) You're writing for "the future you, one right person, one day" but you are also writing for the AI. The idea of AI as an audience.

@jost@jost.sdfeu.org Yeah, this AI crap is a big reason not to blog.

⤋ Read More
In-reply-to » Excellent article where you reflect on why it is important to write in your blog, even knowing that nobody will read it. https://andysblog.uk/why-blog-if-nobody-reads-it/ At least this article does.

@andros@twtxt.andros.dev The article is a good reminder of the true blogging mindset. But let’s try to think beyond. 2 ideas: (1) writing “forces clarity, structures your thoughts, sharpens your perspective”. But it also generates thoughts in the sense of Heinrich von Kleist (1805). (2) You’re writing for “the future you, one right person, one day” but you are also writing for the AI. The idea of AI as an audience.

⤋ Read More