๐Ÿ˜† Oh, the sheer audacity of trying to prettify 25 million lines of spaghetti code overnight! ๐ŸŽ‰ Congratulations to the brave souls who assumed this Herculean task could be as painless as a bedtime story. ๐Ÿ˜‚ Spoiler alert: It wasn't.
https://stripe.dev/blog/formatting-an-entire-25-million-line-codebase-overnight-the-rubyfmt-story #spaghetticode #codecleanup #codingchallenges #developerhumor #overnighttask #HerculeanEffort #HackerNews #ngated
Formatting an entire 25 million line codebase overnight: the rubyfmt story

This is the story of how our Developer Productivity team extended and rolled out rubyfmt, our Rust-based zero-config, ultra-fast autoformatter across the world's largest Ruby codebase.

๐Ÿ”’๐Ÿšซ Ah, the classic GitHub melodrama: someone unknowingly plays gatekeeper to a project they didn't create. Meanwhile, GitHub wants you to believe AI will clean your code like a Roomba on a pizza night. ๐Ÿ•๐Ÿค–
https://github.com/chardet/chardet/issues/327 #GitHubDrama #AIinCoding #OpenSourceGatekeeping #CodeCleanup #HackerNews #ngated
No right to relicense this project ยท Issue #327 ยท chardet/chardet

Hi, I'm Mark Pilgrim. You may remember me from such classics as "Dive Into Python" and "Universal Character Encoding Detector." I am the original author of chardet. First off, I would like to thank...

GitHub

Xlibre is a fork of the Xorg Xserver with lots of code cleanups

https://x11libre.net/

#HackerNews #Xlibre #Xorg #Xserver #CodeCleanup #OpenSource #Linux

Xlibre

cleaning house in nx monorepo, how i removed 120 unused deps safely

Real cleanup in a big Nx monorepo. I used Knip to flag unused deps, verified removals, handled false positives, and shaved about a minute off yarn install with lower CVE risk.

๐Ÿš€๐ŸŒŒ Ah, yes, another riveting blog post where someone bravely abandons their code babies for the vast unknownโ€”Racket exit strategy: dump everything and run! ๐Ÿคก Who knew that letting go of inactive codebases could be such a groundbreaking revelation? Bravo for this cosmic wisdom! ๐Ÿ™„๐Ÿ’ผ
https://blog.winny.tech/posts/update-on-my-racket-exit/ #codeabandonment #cosmicwisdom #Racketblog #humor #techrevelation #codecleanup #HackerNews #ngated
Update on my Racket exit

Figure 1: Blasting off from planet Racket to other planets. Thanks ChatGPT. Itโ€™s been almost two years since I took a public step away from the Racket diaspora. Iโ€™m writing this post to air out how my Racket projects have gone since then. I believe, as of now, I have zero Racket codebases to maintain โ€” hooray! I want to show how to handle old codebases. Letโ€™s reaffirm the importance of handing off inactive projects instead of holding on to them.

Winny's Blog

๐Ÿ” Using GitHub Copilot for code cleanup assistance!

Asked Copilot to detect and remove unused imports, functions, and types across my codebase. It analyzed files, suggested changes, and cleaned everything up in seconds.

AI-powered refactoring FTW! ๐Ÿš€ #GitHubCopilot #CodeCleanup

sometimes all you can do is to revert a few commits when the original maintainer of the feature disappeared or lost interest:
https://github.com/tukaani-project/xz/commit/e93e13c8b3bec925c56e0c0b675d8000a0f7f754 #codecleanup
Remove the backdoor found in 5.6.0 and 5.6.1 (CVE-2024-3094). ยท tukaani-project/xz@e93e13c

While the backdoor was inactive (and thus harmless) without inserting a small trigger code into the build system when the source package was created, it's good to remove this anyway: - The e...

GitHub