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

ok, sounds like a ā€˜largeā€™ project to me.
Is it more an API (more oriented to developers), more oriented to UI/UX/Frontend? Perhaps both?

Iā€™d go with prologicā€™s advice of measuring and prioritizing. Perhaps you have a budget or at least something like ā€œletā€™s see how far can we reach in 6 monthsā€, and possibly you wonā€™t finish in the time you have (just guessing).

Something that has helped me was defining ā€œWhy do you we want to refactor this project?ā€.
Could it be to make it compile on newer versions, or making it easier to grow and scale, or perhaps they are trying to sell that product to another company. Every reason has a different path, IMO.

ā¤‹ Read More
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
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 » I think it is not easy to implement, you need a database. Timeline is an elegant solution: read and sort.

@andros@twtxt.andros.dev Iā€™m all for elegant solutions. I prefer when the computer helps me to really achieve my goal and solve it completely, not where I still have to manually filter a list by hand. Anyway. :-)

ā¤‹ 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 » Linear feeds are a dark pattern - A proposal for Mastodon https://tilde.town/~dzwdz/blog/feeds.html

I think it is not easy to implement, you need a database. Timeline is an elegant solution: read and sort.

ā¤‹ 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
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.

@mckinley@twtxt.net Yeah, all this JS and HTMX garbage messes up a lot of things which used to work better in the earlier days.

ā¤‹ 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
In-reply-to » (#4fmwoaq) (I keep thinking that going back go Gopher or Gemini might be a good idea at this point. They donā€™t care about that, probably. šŸ«£)

@movq@www.uninformativ.de @prologic@twtxt.net @bmallred@staystrong.run @andros@twtxt.andros.dev Thank you all! I donā€™t have emacs installed, so Iā€™ll try lagrange and see. According to my shell history, I must have played around with amfora ages ago.

ā¤‹ 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

(I keep thinking that going back go Gopher or Gemini might be a good idea at this point. They donā€™t care about that, probably. šŸ«£)

ā¤‹ Read More

@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 » 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

Saw Windows 11 for the first time today and genuinely had to ask if this is really Windows. Looks a lot like KDE.

(At first, I thought the touchpad of that laptop was broken, because a right click on the desktop didnā€™t do anything. But it worked just fine. It just takes ~10 seconds for the popup to show.)

ā¤‹ 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
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 write too much for my client šŸ˜‚

ā¤‹ Read More
In-reply-to » One week of not tinkering with my OS and Iā€™ve already forgot ~80% of it. šŸ™„

@movq@www.uninformativ.de It happens to the best of us :-) On a more serious note: Iā€™m relieved to hear that Iā€™m not the only one who is completely perplexed by his own projects when returning back to them after a short hiatus.

ā¤‹ Read More
In-reply-to » When I woke up today we had already disconnected from the Russian power grid. I checked the uptime of my servers: no reboots, no outages. Not that I was very worried. You can have a nice live view at cross border electricity flow here: https://dashboard.elering.ee/en We'll connect to the rest of continental Europe on Sunday.

@prologic@twtxt.net Ha,ha :-) I do not maintain anything! In the context of that post I was just an ordinary citizen. So the ā€˜weā€™ refers twice to ā€œwe, the citizens of the Baltic Statesā€. (Classical case of social media ā€˜talk at cross purposesā€™. Now I understand, why they do this Introduction-thing over on mastodon ;-)

ā¤‹ Read More

Ajudem aqui esta alma preguiƧosa:

Precisava de medir o pH de umas soluƧƵes (ando a fazer pickles e nĆ£o faƧo questĆ£o de matar a famĆ­lia), que tipo de testes de pH existem para isso? Simples e acessĆ­veis, se houver tal coisa

ā¤‹ Read More

When I woke up today we had already disconnected from the Russian power grid. I checked the uptime of my servers: no reboots, no outages. Not that I was very worried. You can have a nice live view at cross border electricity flow here: https://dashboard.elering.ee/en Weā€™ll connect to the rest of continental Europe on Sunday.

ā¤‹ Read More
In-reply-to » @bender @prologic I can reproduce this locally, too. But it doesn't matter if I follow the feed or not. With JS enabled, hitting "Reply" opens a textarea with @<url>. Submitting this writes @<domain url> instead of @<nick url> in the feed.

hmm interesting work here.. ill give it a look.. @lyse@lyse.isobeef.org do you know if it is even storing the url into the AST object? afair the code to parse tags url should be the same as the mention url.

ā¤‹ Read More
In-reply-to » Sorry it appears I have having difficulty understand how to help you. Please contact Microsoft at aks blah balh balh

@prologic@twtxt.net careful, if you provide too much feedback, your feedback button might also disappear. šŸ«  Also recently celebrated the 1st anniversary of the MS Teams multilingual spellchecker bug, Microsoft actually acknowledged and promised us to fix. And by ā€œbugā€, I mean it being completely broken.

ā¤‹ Read More
In-reply-to » Media

@lyse@lyse.isobeef.org it is the same as my current avatar here, the original pixelart is 51x51 (including the empty lines and columns, to ensure it doesnā€™t get covered, when itā€™s shown through a circular cutout).

For some reason, Jira has two identical avatars for each user, with different resolutions (48x48 and 24x24), depending on where in the app theyā€™re shown. Jira also comes with SVG ones, but custom SVGs cannot be added by users.

This also cannot possibly be to save space for Atlassian, because if you also have an Atlassian account for Confluence, thereā€™s yet another avatar type, thatā€™s 256x256 and can be different than the two identical small Jira ones.

Lastly Jira profile pictures can have transparent background, but the Confluence ones cannot.

ā¤‹ Read More