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.

Search results for tag #refactoring

#refactoring boosted

[?]David Foster » 🌐
@davidfstr@mastodon.world

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: dafoster.net/projects/revise-s

    #refactoring boosted

    [?]Gareth Lloyd (He/him) » 🌐
    @glloyd@fosstodon.org

    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.

    ignition.github.io/posts/refac

    Does this have an established name?

      #refactoring boosted

      [?]Jens » 🌐
      @schegge42@nrw.social

      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

      schegge.de/2026/04/enum-hashes/

        #refactoring boosted

        [?]N-gated Hacker News » 🤖 🌐
        @ngate@mastodon.social

        🤦‍♂️ 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 spaghetti, it suddenly becomes gourmet 🤔👌. Who knew held the key to nightmares? 🍝🔍
        philodev.one/posts/2026-04-cod

          #refactoring boosted

          [?]Daniel Šnor » 🌐
          @danielsnor@mastodon.social

          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…

            #refactoring boosted

            [?]Daniel Šnor » 🌐
            @danielsnor@mastodon.social

            🧪 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. 😄

              #refactoring boosted

              [?]Daniel Šnor » 🌐
              @danielsnor@mastodon.social

              ⚡ 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

                #refactoring boosted

                [?]Daniel Šnor » 🌐
                @danielsnor@mastodon.social

                🔒 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. 🛡️

                  #refactoring boosted

                  [?]Daniel Šnor » 🌐
                  @danielsnor@mastodon.social

                  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

                    #refactoring boosted

                    [?]Volker Stolz » 🌐
                    @fm_volker@mastodon.social

                    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 boosted

                      [?]arcofai » 🌐
                      @arcofai@mastodon.social

                      Refactoring Java just got smarter 🤖

                      At , Venkat Subramaniam shows how to use AI and data-driven techniques to modernize code—measuring quality before and after for real impact.

                      arcofai.com/speaker/7e0794827e

                      🎟️ Get tickets: arcofai.com

                        #refactoring boosted

                        [?]Leanpub » 🌐
                        @leanpub@mastodon.social

                        A Short Guide to Naming by Tim Ottinger is free with a Leanpub Reader membership! Or you can buy it for $5.00! leanpub.com/naming_shortguide

                          #refactoring boosted

                          [?]Calling all papers » 🌐
                          @cfp@social.callingallpapers.com

                          #refactoring boosted

                          [?]Frontend Dogma » 🤖 🌐
                          @frontenddogma@mas.to

                          CSS Refactoring With an AI Safety Net, by (not on Mastodon or Bluesky):

                          danielabaron.me/blog/css-refac

                            #refactoring boosted

                            [?]Clare Sudbery » 🌐
                            @claresudbery@mastodon.social

                            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 slack channel (slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.





                              #refactoring boosted

                              [?]SoCraTes UK » 🌐
                              @SoCraTes_UK@discuss.systems

                              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 slack channel (slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.





                                #refactoring boosted

                                [?]Ted M. Young » 🌐
                                @jitterted@sfba.social

                                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.

                                meetup.com/seattle-software-cr

                                  #refactoring boosted

                                  [?]Clare Sudbery » 🌐
                                  @claresudbery@mastodon.social

                                  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 slack channel (slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.





                                    #refactoring boosted

                                    [?]InfoQ » 🌐
                                    @infoq@techhub.social

                                    How do you manage large-scale code migrations across a massive codebase?

                                    At , the answer is Honk - an internal AI-powered coding agent - currently merging 1,000 pull requests every 10 days!

                                    Read more on bit.ly/4rZExaF

                                      #refactoring boosted

                                      [?]Leanpub » 🌐
                                      @leanpub@mastodon.social

                                      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:

                                      leanpub.com/blog/leanpub-book-

                                        #refactoring boosted

                                        [?]Leanpub » 🌐
                                        @leanpub@mastodon.social

                                        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:

                                        youtu.be/WjWRbaaXtF0

                                          #refactoring boosted

                                          [?]sroccaserra » 🌐
                                          @sroccaserra@pouet.chapril.org

                                          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 boosted

                                            [?]sroccaserra » 🌐
                                            @sroccaserra@pouet.chapril.org

                                            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

                                              #refactoring boosted

                                              [?]sroccaserra » 🌐
                                              @sroccaserra@pouet.chapril.org

                                              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

                                                #refactoring boosted

                                                [?]Kevlin Henney » 🌐
                                                @kevlin@mastodon.social

                                                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 boosted

                                                  [?]Clare Sudbery » 🌐
                                                  @claresudbery@mastodon.social

                                                  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 slack channel (slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.





                                                    #refactoring boosted

                                                    [?]SoCraTes UK » 🌐
                                                    @SoCraTes_UK@discuss.systems

                                                    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 slack channel (slack.softwarecrafters.org/), or on mastodon, LinkedIn, BlueSky, or by emailing organisers at socratesuk dot org.





                                                      Back to top - More...