@movq@www.uninformativ.de I can relate to that. :-/
How itās going? This is how itās going: https://movq.de/v/b744b63cc1/oh-fuck-sleep.mp4
I just did and things are working wonderfully well now and Iām in love with how profile views
are layed out! š Thank you!
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.
Thanks @prologic@twtxt.net @eapl_en@eapl.me @lyse@lyse.isobeef.org ! I take note
@aelaraji@aelaraji.com You can update the package š
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.
Thanks you very much! I have fixed it. š
Learn SQL by solving crimes. I want to highlight it as a teacher and a developer, itās extremely well done.
https://www.sqlnoir.com/
#sql
@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.
@twtxt.andros.dev@twtxt.andros.dev it might be fine, but not here. It just causes more issues than fixes.
@lyse@lyse.isobeef.org not quite. Yes, the feeds on Yarn have episodic messes. But look at mine, and compare it to McKinleyās. It is night and day.
1st thoughtā¦ Run!
Well, Iāve heard you have plenty of experience with Unit Testing and TDD. Perhaps designing a few tests before refactoring?
Iāve heard of Snapshot testing, but have never tried it: https://github.com/spatie/phpunit-snapshot-assertions
Also, what kind of refactor are you trying to do?
@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.
@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. :-)
@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). ;-)
Have you ever had to refactor a project that was not documented? Any suggestions?
HTMX is fine! You can add dynamic sections with a simple endpoint. It is better that JavaScript.
I think it is not easy to implement, you need a database. Timeline is an elegant solution: read and sort.
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.
Hahahaha, this is brilliant! :ā-D https://denmarkification.com/
Exactly, @bender@twtxt.net, just like yours and prologicās, too. :-( Subsequent Brackets Considered Harmfulā¢.
Testing the limits of our new 5G internet connection at home with pushing 1.5GB docker images into the cloud a bunch of times dayā¦
@lyse@lyse.isobeef.org that feed looks all messed up, in a big glob.
@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.
@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.
Linear feeds are a dark pattern - A proposal for Mastodon
https://tilde.town/~dzwdz/blog/feeds.html
Iāve polished the CSS style a bit, you can try it here: https://eapl.me/treed/
@prologic@twtxt.net @xuu There:
Just search for ][
in https://twtxt.net/user/mckinley/twtxt.txt and youāll see.
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.
(#4tn7x4q) @lyse@lyse.isobeef.org I accidentally hit āpostā on a twt I was drafting from days ago and it wouldnāt let me delete it so I replaced it with āaā and I hoped nobody would notice. I guess that backfired.
@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.
@xuu People should just fix their feeds. :-)
@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.
Hi BBS!
elpher is the best! I love it
@lyse@lyse.isobeef.org lagrange for Gemini and lynx for Gopher (but lagrange also supports Gopher). I never ran a Gemini server myself. š¤
Itās a good day for me to get my hands on a legacy project.
@xuu Thank you! A common mistake is to see Emacs as a text editor but itās a Lisp interpreter with a text editor (among other software), so the limit is your imagination š. Iām glad you like it! š
trying to keep it simple but.. perhaps it can be extended to fix timestamp formats like using " "
instead of "T"
i made a little twtxt feed fixer for when a feed uses other whitespace instead of tabs.
@prologic@twtxt.net the code block is the cause of https://txt.sour.is/twt/zn2kg7q
and the second? i get POST errors when i try to submit the webform.
@andros@twtxt.andros.dev lol nice! emacs is wild. text and graphics all inline.
@andros@twtxt.andros.dev Broke on me for having alt-urls I think š„²
twtxt---profile-layout: Wrong type argument: char-or-string-p, ("https://aelaraji.com/twtxt.txt" "gemini://box.aelaraji.com/twtxt.txt" "gopher://box.aelaraji.com/0/twtxt.txt")
@movq@www.uninformativ.de Yeah, maybe. What browsers are you using again for these two?
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.
@mckinley@twtxt.net And there is the bracketed text duplication bug againā¦ Actually with lots of twts. Did you edit a twt? Do you remember? /cc @prologic@twtxt.net
a
(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. š«£)
@lyse@lyse.isobeef.org Not that extreme but something along these lines, yeah. š„“
@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.
@movq@www.uninformativ.de Photographic memory, eh?
@movq@www.uninformativ.de I also thought that I have a new Linux friend the other day. But it was just a fake KDE look from Redmond. :-(
Totally agree @jost@jost.sdfeu.org @prologic@twtxt.net
Reddit has been complaining about this for years. I am sorry!
I have uploaded a new version of #twtxtel š„³. Itās now possible to view profiles, either your own or others. #twtxt #emacs
@prologic@twtxt.net @xuuDid you want to mine Chia? Or Twtxt Coin? š
@xuu šš
you rehash the same data too much :P
~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.
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.)
@jost@jost.sdfeu.org Happens to everybody. š Well, except for a few people. I have this colleague at work who remembers everything. Itās scary. š
@jost@jost.sdfeu.org Yeah, this AI crap is a big reason not to blog.
@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.
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.
You write too much for my client š
@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.
One week of not tinkering with my OS and Iāve already forgot ~80% of it. š
@movq@www.uninformativ.de So they say. :-D
@lyse@lyse.isobeef.org So itās an improvement, eh? š
@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 ;-)
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
Iām not a huge fan of docker. Sorry for the poor screen grab quality, but this is the funniest analogy for āno dockerā vs ādockerā Iāve come across: https://lyse.isobeef.org/tmp/no-docker-vs-docker-analogy.png :-D
@prologic@twtxt.net we need to remove: https://git.mills.io/yarnsocial/go-lextwt/src/branch/main/ast.go#L776-L784
apparently i canāt make the edit via gitea.. i am guessing its hitting one of your firewall rules.
Thank you! š Iām trying to do it with care, calm and good handwriting, with the little time I have and the limits of Emacs. I really appreciate your words!
@andros@twtxt.andros.dev Awesome! Iāve seen the demo earlier on mastodon, things are getting better and better with each update š Good luck!
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.
Iām realizing that my performance bottleneck is @prologic@twtxt.net ! 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.
@prologic@twtxt.net I hope thatās enough to get you through ā¦ the next 5 minutes. š¤£
Iāve seen people refer to themselves as āQuakersā and I thought, āyeah, I liked those games, too!ā But apparently, they mean something else. š¬ https://en.wikipedia.org/wiki/Quakers
Well, thatās another bug: The search https://twtxt.net/search?q=%22LOOOOL%2C+great+programming+tutorial+music%22 yields the wrong hash. It should have been poyndha instead.
@xuu That impersonation bug is dang cool! :-)
alert the twt police!!
hmm this isnt right..
@thecanine@twtxt.net Lolā¦ I just donāt change my default profile pictures. (Well, only when my teammates ask me to.)
@doesnm@doesnm.p.psf.lt Haha, thatās great! :-D
@doesnmppsflt@doesnm.p.psf.lt Ha! Iām gonna save that one. š
@prologic@twtxt.net For long have you been trying to contact MS now? What was this about again? š
They fixed it. :-D https://www.youtube.com/watch?v=A8b7HFUXPqk
@<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.
@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.
@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.
yes š . He wanted to talk about the recomendation portions.
@thecanine@twtxt.net All I can think of when I hear āJiraā is this: https://movq.de/v/d2854fc472/hiccupfx/ š¤Ŗš