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.
Anyone can push updates to the doge.gov website
Article URL: https://www.404media.co/anyone-can-push-updates-to-the-doge-gov-website-2/
Comments URL: https://news.ycombinator.com/item?id=43045835
Points: 503
# Comments: 348 ⌘ Read more
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
[47°09′38″S, 126°43′57″W] Dosimeter still failing
[47°09′19″S, 126°43′14″W] Dosimeter overflow
@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.
#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
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.
Privacy Pass Authentication for Kagi Search
Article URL: https://blog.kagi.com/kagi-privacy-pass
Comments URL: https://news.ycombinator.com/item?id=43040521
Points: 501
# Comments: 184 ⌘ Read more
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/
[47°09′48″S, 126°43′28″W] Dosimeter malfunction
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/
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.
@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. :-)
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
[47°09′42″S, 126°43′51″W] 4319 days without news from Herve
@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.
elpher is the best! I love it
<eapl> Hi everyone!
Resigning as Asahi Linux project lead
Article URL: https://marcan.st/2025/02/resigning-as-asahi-linux-project-lead/
Comments URL: https://news.ycombinator.com/item?id=43036904
Points: 519
# Comments: 303 ⌘ Read more
@movq@www.uninformativ.de I believe that’s the same client I’ve used in the past too. Works nicely on macOS 👌👌
[47°09′12″S, 126°43′06″W] Raw reading: 0x67ADDEC1, offset +/-3
Unplug it and plug it back in again.
What can we do? It’s a browser… DILDO..
It’s a good day for me to get my hands on a legacy project.
@xuu@txt.sour.is 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! 🙌
[47°09′15″S, 126°43′05″W] Re-taking samples
@xuu@txt.sour.is Err I think that’s the problem somehow hmmm 🧐
trying to keep it simple but.. perhaps it can be extended to fix timestamp formats like using " "
instead of "T"
[47°09′57″S, 126°43′54″W] –no signal–
i made a little twtxt feed fixer for when a feed uses other whitespace instead of tabs.
@lyse@lyse.isobeef.org Where? 🧐
It was within you all along.
@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
Dildo lol :)
WTF, EU? You do know that when Trump says “jump” the right answer isn’t “how high”, right?
[47°09′12″S, 126°43′56″W] Storm recedes – back to normal work
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.
@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. :-(
[47°09′05″S, 126°43′19″W] Wind speed: N/A – Cannot comunicate
Totally agree @jost@jost.sdfeu.org @prologic@twtxt.net
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!
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 @xuu@txt.sour.isrobots.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 Similar story here 😱
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:
- (810) bingbot
- (641) Googlebot
- (624) http://www.google.com/bot.html
- (545) DotBot
- (290) GPTBot
- (106) SemrushBot
- (84) AhrefsBot
- (62) MJ12bot
- (60) BLEXBot
- (55) wpbot
- (37) Amazonbot
- (28) YandexBot
- (22) ClaudeBot
- (19) AwarioBot
- (14) https://domainsbot.com/pandalytics
- (9) https://serpstatbot.com
- (6) t3versionsBot
- (6) archive.org_bot
- (6) Applebot
- (5) http://search.msn.com/msnbot.htm
- (4) http://www.googlebot.com/bot.html
- (4) Googlebot-Mobile
- (4) DuckDuckGo-Favicons-Bot
- (3) https://turnitin.com/robot/crawlerinfo.html
- (3) YandexNews
- (3) ImagesiftBot
- (2) Qwantify-prod
- (1) http://www.google.com/adsbot.html
- (1) http://gais.cs.ccu.edu.tw/robot.php
- (1) YaK
- (1) WBSearchBot
- (1) DataForSeoBot
i have placed some middleware to reject these for now but it is not a full proof solution.
@jost@jost.sdfeu.org “right person”, who’s to say? And not “AI” but more-generally search. Otherwise I agree ☝️
[47°09′32″S, 126°43′46″W] Wind speed: 59kph
Did you want to mine Chia? Or Twtxt Coin? 😂
[47°09′34″S, 126°43′26″W] Wind speed: 67kph
[47°09′31″S, 126°43′14″W] Weather forecast alert – storm from NW
The year I didn’t survive
Article URL: https://bessstillman.substack.com/p/the-year-i-didnt-survive
Comments URL: https://news.ycombinator.com/item?id=43020983
Points: 504
# Comments: 125 ⌘ Read more
Stock up on gummies and lock yourself in. We’re surfing the web with Dillo.
🤣🤣🤣
Gotta get faster disks man 🤣
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.
[47°09′19″S, 126°43′16″W] Transfer aborted
FediDEM ⌘ https://notiz.blog/b/Dav
[47°09′28″S, 126°43′25″W] Non-significative results – sampling finished
I Tasted Honda’s Spicy Rodent-Repelling Tape – And I will do it again
Article URL: https://haterade.substack.com/p/i-tasted-hondas-spicy-rodent-repelling
Comments URL: https://news.ycombinator.com/item?id=43013615
Points: 523
# Comments: 182 ⌘ Read more
@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.
[47°09′48″S, 126°43′21″W] Analyzing samples
Gopher in Ineternet Explorer 3 works better than in this Dillo LoL
[47°09′06″S, 126°43′22″W] Taking samples
Sending this from a 25mhz Macintosh IIci running lynx on netbsd
[47°09′19″S, 126°43′48″W] Transfer 25% complete…
E tu, já tens planos para 6ª à noite?
#ilovefs