schmonz.com is a Fediverse instance that uses the ActivityPub protocol. In other words, users at this host can communicate with people that use software like Mastodon, Pleroma, Friendica, etc. all around the world.
This server runs the snac software and there is no automatic sign-up process.
I created a Revise Skill (for Claude Code, Codex, VS Code, etc) that helps AI coding agents write code the way I want, optimized for readability & maintainability: https://dafoster.net/projects/revise-skill/ #aicoding #refactoring
I finally wrote up something I've presented at meetups for a while.
When you refactor, you're doing similar transformations compilers do: propagation, sinking, inlining, fusion. But the refactoring literature has gaps, some useful moves don't have names. In this post I called one "Distribute for Fusion", deliberately duplicating code into branches so you can fuse and simplify.
https://ignition.github.io/posts/refactoring-as-algebra/
Does this have an established name?
Enum Hashes
FreshMarker is based on the concepts of another template engine. This is evident from its directives, interpolations, and, of course, its name. Another detail also betrays its origins. The types in the FreshMarker Template Language for collections are sequences and hashes. Hashes represent mappings from strings to values. We now want to rel
https://schegge.de/2026/04/enum-hashes/
#Bibliotheken #FreshMarker #Java #Refactoring #Enum #FreshMarker #Template #TemplateEngine
🤦♂️ Oh, joy! Another thrilling 12-minute treatise on code complexity that rivals a calculus textbook in zest. Apparently, if you throw enough fancy terms like Cyclomatic and Halstead at your #JavaScript spaghetti, it suddenly becomes gourmet 🤔👌. Who knew #psycholinguistics held the key to #refactoring nightmares? 🍝🔍
https://philodev.one/posts/2026-04-code-complexity/ #codecomplexity #softwaredevelopment #programminghumor #HackerNews #ngated
A navíc se podařilo opravit i další dva bugy:
⏺ Bug: safe_load_source loguje WARN předčasně
⏺ Bug: t.co expansion selhává na URL s přilepeným emoji
Tak zase o něco míň chyb…
🧪 Testy + bonus bug
94 nových unit testů, vše PASS:
• ImageCacheManager (23)
• MastodonProfileUpdater (20)
• 4 profile syncery v jednom souboru (51)
🐛 Bonus: regex v Instagram syncer měl `\b` mezi `"` a mezerou — word boundary mezi dvěma non-word znaky nikdy nematchne. Strategy 2 fallback byl tiše mrtvý kód.
📊 Otevřené dluhy: 0. Vyřešených: 86. 😄
⚡ Výkon + robustnost
• Connection pooling — DB ping 1×/5min, HTTP per-host cache s 30s TTL
• Non-blocking rate limit — Mastodon 429 už neblokuje celý pipeline, místo sleep per-account skip. Při 3500+ postech/den na 470 účtech největší zdroj zdržení
• Double Nitter fetch eliminován
• Atomické zápisy stavu (tmp+fsync+rename) — pád uprostřed už nerozbije JSON
🔒 Bezpečnost — 4 díry zalepeny:
• Webhook odmítá payloady >1 MB (HTTP 413)
• OGP fetcher má SSRF blocklist privátních IP (i na redirect)
• Webhook payload parser validuje délky polí (bot_id, username, text)
• Queue filename sanitizace — cizí vstup už do filesystému neproteče
Dřív šlo server položit jedním velkým requestem. Teď ne. 🛡️
V posledních dnech jsem projel Zprávobota od shora dolů — bezpečnostní audit, výkonový audit, robustnost, testy…
Zprávobot teď šlape rychleji, bezpečněji a stojí mě míň nervů. A co je hlavní — když něco selže, víme to předem z testů, ne z produkce…d8-D
Given todays stupid IDEs, if you refactor something, which possibly may also include refactoring a signature by adding an argument, the whole editor starts glowing red, and there’s no way you can find a place where to start without breaking anything. (There might actually be, but I don’t want to go there via a new unused method).
Is there a way (again, in VSCode) to say: “don’t bother with syntax-highlighting”, followed by “now I’m finished, please tell me what I missed”?
Refactoring Java just got smarter 🤖
At #ArcOfAI, Venkat Subramaniam shows how to use AI and data-driven techniques to modernize code—measuring quality before and after for real impact.
https://www.arcofai.com/speaker/7e0794827e8242ef8464e383e1209fad
🎟️ Get tickets: https://arcofai.com
#Java #AI #DevTools #Refactoring #AIEngineering #GenAI #Austin #AustinTech
A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $5.00! https://leanpub.com/naming_shortguide #ComputerProgramming #Python #Javascript #Java #WebDevelopment #Refactoring
24 hours until the CfP for "Prairie Dev Con 2026" closes: https://sessionize.com/prairiedevcon2026
#cfp #conference #Ai #Data #Architecture #Dei #Dev leadership #Devops #Cloudops #Methodologies #Languages #Cloud #Web #Azure #Aws #Gcp #Frameworks #Career development #Team organization #Refactoring #Code quality #Testing #Containerization
CSS Refactoring With an AI Safety Net, by (not on Mastodon or Bluesky):
https://danielabaron.me/blog/css-refactoring-with-an-ai-safety-net/
We organise in the open, and you're very welcome to chat with the organisers to help, ask questions, give feedback, or simply to watch. You can reach us on the #ev_socratesuk slack channel (https://slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.
We organise in the open, and you're very welcome to chat with the organisers to help, ask questions, give feedback, or simply to watch. You can reach us on the #ev_socratesuk slack channel (https://slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.
Join me and the Seattle Software Crafters group for my talk on "Refactoring Tests"!
The talk starts at 10am PDT (5pm UTC), but you can join 30 minutes earlier to chat.
https://www.meetup.com/seattle-software-craftsmanship/events/310497363/
We organise in the open, and you're very welcome to chat with the organisers to help, ask questions, give feedback, or simply to watch. You can reach us on the #ev_socratesuk slack channel (https://slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.
How do you manage large-scale code migrations across a massive codebase?
At #Spotify, the answer is Honk - an internal AI-powered coding agent - currently merging 1,000 pull requests every 10 days!
Read more on #InfoQ ⇨ https://bit.ly/4rZExaF
Welcome to the Leanpub Launch video for Craft Your Code: Mastering the Foundations of Code Quality in the Era of AI Assistants, Second Edition by Srihari Sridharan!
Watch & read on the Leanpub blog here:
#books #leanpublishing #selfpublishing #booklaunch #coding #programming #softwareengineering #career #refactoring #nodejs
Leanpub Book LAUNCH 🚀 Craft Your Code: Mastering the Foundations of Code Quality in the Era of AI Assistants, Second Edition by Srihari Sridharan
Watch here:
#books #leanpublishing #selfpublishing #booklaunch #coding #programming #softwareengineering #career #refactoring #nodejs
I've been training many teams around coding, design, and refactoring this past year, and here are three things I repeat often:
Fix the small things, particularly during training. Learning to be super fast at fixing the small things prepare you for when the big things will come. In that, when big things arrive, the small things will never be an issue, you can deal with them on autopilot and save your energy for the big things.
1/3
Refactoring : If you run the tests often: everytime it breaks, it has to be what you just did. Diagnostic is super easy. If you run the tests at the end only: if it’s broken, you have no idea why and you have to look everywhere. Check early, check often.
2/3
My preference: start slow, finish fast with confidence. Rather than start fast, finish slow with a lot of things to fix.
Bonus:
Refactoring is also knowing when to stop.
3/3
You know you're old when... someone cites a concept and both cites and shows the book that is influential in this space... this is good... but the book they show is the second edition, when your point of reference for the same concept is the same book... but the first edition... that is (personally) not so good 🙄
#Refactoring
We organise in the open, and you're very welcome to chat with the organisers to help, ask questions, give feedback, or simply to watch. You can reach us on the #ev_socratesuk slack channel (https://slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.
We organise in the open, and you're very welcome to chat with the organisers to help, ask questions, give feedback, or simply to watch. You can reach us on the #ev_socratesuk slack channel (https://slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.