fosstodon.org is one of the many independent Mastodon servers you can use to participate in the fediverse.
Fosstodon is an invite only Mastodon instance that is open to those who are interested in technology; particularly free & open source software. If you wish to join, contact us for an invite.

Administered by:

Server stats:

8.6K
active users

#antipattern

0 posts0 participants0 posts today
Tushar Chauhan<p>Ugh. Reporting another anti-pattern from apple. Here is a screenshot.</p><p>Clicked on an epub file, and macos automatically opened this software. Cannot close it. Obviously you can kill it with some sort of a system monitor, but not through the software's normal UI. </p><p>Then I looked at the settings. This software sends all your data to apple engineers so they can know you better. What a disgrace. </p><p><a href="https://mastodon.mit.edu/tags/macos" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>macos</span></a> <a href="https://mastodon.mit.edu/tags/apple" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>apple</span></a> <a href="https://mastodon.mit.edu/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a> <a href="https://mastodon.mit.edu/tags/UsersAreFodder" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UsersAreFodder</span></a> <a href="https://mastodon.mit.edu/tags/BadUIX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BadUIX</span></a> <a href="https://mastodon.mit.edu/tags/BadDesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>BadDesign</span></a></p>
Pierre Huyghebaert<p>On the article referenced in <a href="https://mastodon.design/@julieblanc/114898215638090915" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">mastodon.design/@julieblanc/11</span><span class="invisible">4898215638090915</span></a>, <span class="h-card" translate="no"><a href="https://mastodon.design/@julieblanc" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>julieblanc</span></a></span> quoted a <a href="https://post.lurk.org/tags/TAG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>TAG</span></a> commentary <br>"Overall, we think <a href="https://post.lurk.org/tags/Masonry" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Masonry</span></a>, <a href="https://post.lurk.org/tags/Grid" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Grid</span></a>, and wrapping <a href="https://post.lurk.org/tags/Flexbox" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Flexbox</span></a> should be incorporated into a unified set of properties. <a href="https://post.lurk.org/tags/Chrome" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Chrome</span></a>’s [New Masonry Layout] proposal splits apart property sets too eagerly, but even the <a href="https://post.lurk.org/tags/WebKit" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WebKit</span></a> [using CSS Grid] proposal seems to miss a chance to develop more-general properties. (…) <a href="https://post.lurk.org/tags/CSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CSS</span></a> currently has 3 layout modes (…): Grid, Multicol, and wrapping Flexbox. This is already causing a lot of author confusion, and Masonry attempts to add a 4th mode. As a general principle, having vastly different ways to accomplish slightly different things is a usability <a href="https://post.lurk.org/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a>. We urge the [CSS] W[orking] G[group] to explore ways to unify these so that authors can port more knowledge from one to the other (even if they are implemented as separate code paths internally). (Issue #1003 on w3ctag/design-reviews, comment on Nov 20, 2024, by <a href="https://post.lurk.org/tags/JeffreyYasskin" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>JeffreyYasskin</span></a> /@jyasskin)</p>
p4bl0p3rn0t<p>Un vrai roman photo cette masterclass. Bientôt nous ouvrons aux premier/e/s invité/e/s. On n'en est qu'au premier tiers voir la moitié du montage (31 vidéos 236mn... long comme la séquence d'ouverture d'India Song de Marguerite Duras). Avec <span class="h-card" translate="no"><a href="https://mamot.fr/@claudeaubry" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>claudeaubry</span></a></span> <a href="https://toot.portes-imaginaire.org/tags/scrum" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>scrum</span></a> <a href="https://toot.portes-imaginaire.org/tags/agilit%C3%A9" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>agilité</span></a> <a href="https://toot.portes-imaginaire.org/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a></p>
sumanthvepa<p>This is a common <a href="https://mastodon.social/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a> that I see with <a href="https://mastodon.social/tags/microservices" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microservices</span></a> architecture. If you find yourself needing to implement a distributed two-phase commit over a multiple micro services, then you have most likely made the architecture too fine grained. </p><p><a href="https://stackoverflow.com/questions/55249656/why-is-2-phase-commit-not-suitable-for-a-microservices-architecture" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">stackoverflow.com/questions/55</span><span class="invisible">249656/why-is-2-phase-commit-not-suitable-for-a-microservices-architecture</span></a> </p><p><a href="https://mastodon.social/tags/distributedcomputing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>distributedcomputing</span></a> <a href="https://mastodon.social/tags/microservices" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microservices</span></a> <a href="https://mastodon.social/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a></p>
Indigo 🏳️‍⚧️:flag_nonbinary:<p>Real nice NYTimes</p><p>Not only did I not sign up for their newsletter (I did the free 3-day library thing) but they commented out their unsubscribe button in their email. LMFAO!</p><p><a href="https://anarres.family/tags/NYTimes" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NYTimes</span></a> <a href="https://anarres.family/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a> <a href="https://anarres.family/tags/designfail" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>designfail</span></a> <a href="https://anarres.family/tags/hostilearchitecture" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>hostilearchitecture</span></a> <a href="https://anarres.family/tags/helpImTrappedInAHashtagMakingFactory" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>helpImTrappedInAHashtagMakingFactory</span></a></p>
Andy Engin Utkan<p><strong>Can You Loop Inside a Loop?</strong></p><p class="">A <span class="">loop</span> in programming is a control structure that repeatedly executes a block of code or low code as long as a specified condition is met. It enables programmers to automate repetitive tasks, iterate over data structures (like collections, arrays, or lists), and efficiently handle scenarios where the same operation needs to be performed multiple times. Using loops, developers can build cleaner, more concise code and reduce redundancy.</p><p class="">The <span class="">simplest and most common way of looping</span> in coding is through the use of a <span class="">for loop</span>. A <span class="">for loop</span> allows you to execute a block of code a specific number of times by defining an <span class="">initialization</span>, a <span class="">condition</span>, and an <span class="">increment/decrement operation</span> in a single, compact structure. It is widely used in many programming languages due to its clarity and versatility, especially when the <span class="">number of iterations</span> is known in advance.</p>Image source: <a href="https://admin.salesforce.com/blog/2022/automate-this-how-to-use-loops-in-flow" rel="nofollow noopener" target="_blank">https://admin.salesforce.com/blog/2022/automate-this-how-to-use-loops-in-flow</a><p><strong>Loops within Loops (Nested Loops)</strong></p><p class="">Loops within loops, often referred to as <span class="">nested loops</span>, are not inherently antipatterns, but they can become problematic depending on the context and scale of the data being processed. Nested loops are perfectly valid when dealing with scenarios that naturally require a hierarchy of iterations. However, they can lead to <span class="">performance issues</span>, especially when both loops iterate over large collections, resulting in increased complexity. This can significantly slow down the execution of code or low code.</p><p><strong>Are Nested Loops an Antipattern?</strong></p><p class="">When there are <span class="">more efficient and optimized alternatives available, then</span> nested loops become an <a href="https://youtu.be/7IthA4zNqBQ?si=4yaH3pYgoDBTr76G" rel="nofollow noopener" target="_blank">antipattern</a>. Additionally, deeply nested loops can reduce <span class="">code readability</span> and <span class="">maintainability</span>, making it harder for other developers (or even your future self) to understand and modify the code.</p><p class="">The key is to assess whether the nested loop is the simplest and most efficient approach for the given problem. If not, it’s worth exploring alternative strategies to improve performance and code quality.</p><p><strong>Loops in Flow</strong></p><p>Loop have limited functionality in flows: You have to loop over a collection, and you can only determine whether you want to loop first to last or the other way around. Salesforce flow lacks all the other sophisticated ways you can loop in code.</p><p>For loop can be achieved in Salesforce flow by leveraging the assignment and decision elements. A loop element cannot be used to create a for loop. To loop 5 times in Salesforce flow you do the following:</p><ol><li>Create a counter variable CounterVar.</li><li>Increment the counter variable value by one using an assignment element functionality. Configure the assignment element to show <em>CounterVar Add 1</em>.</li><li>Add a decision element to check whether the <em>CounterVar equals 5</em>. If not send to flow back to step 2.</li></ol><p><strong>Collections</strong></p><p class="">In <span class="">Salesforce Flow</span>, <a href="https://unofficialsf.com/list-actions-for-flow/" rel="nofollow noopener" target="_blank"><span class="">collections</span></a> are a type of variable that can store multiple values of the same data type, allowing you to manage and process lists or groups of records efficiently within a flow. Collections are particularly useful when you need to handle bulk data operations, such as <span class="">looping through records</span>, <span class="">performing actions on multiple items</span>, or <span class="">passing data between flow elements, flows and code</span>.</p><p>Salesforce flow also lacks the capability of building and processing complex collections compared to the the functionality in code.</p><p><strong>When are Nested Loops Necessary?</strong></p><p>When you are processing related records, nested loops may be necessary. Before you take that route, please consider more efficient alternatives by evaluation the following factors:</p><ul><li>When modifying multiple records with the same field values, you don’t need to loop and build a collection to be used outside your loop. One single update element with criteria can do this for you. Example: Close all cases matching a specific criteria (e.g. under Account Acme).</li><li>When checking whether a specific junction object record exits before creating a new one, consider leveraging the collection filter element. This setup seemingly results in a nested loop because the collection filter outputs a collection. However, internal loop iterates at most a single time, and therefore does not present a performance concern.</li><li>When checking whether a record exists before creating it, consider leveraging the check matching record functionality in the create element. This functionality currently does not work for junction object records, and the matching record criteria builder is limited. Read&nbsp;<a href="https://salesforcebreak.com/2024/08/21/create-matching-record-flow/" rel="nofollow noopener" target="_blank">Create by Checking a Matching Record in Flow</a> to learn more about this functionality.</li><li>Check whether you can leverage the transform element to save one of the loops in your nested loop setup. Read&nbsp;<a href="https://salesforcebreak.com/2024/10/28/6-things-transform-element/" rel="nofollow noopener" target="_blank">6 Things You Can Do With The Transform Element</a> to learn more about this topic.</li><li>When comparing two collections and finding common and uncommon members, consider invocable Apex actions on UnofficialSF. These actions leverage the enhanced collection functionality in code to bring efficiency to your flow.</li></ul><p><strong><strong>Optimize Collections and Avoid Nested Loop Pitfalls</strong></strong></p><p>In addition, consider using the assignment element for getting count of members in the collection, and the transform element for getting sum of number field values in a collection. While these are not tips related directly to nested loops, they may save you one loop within your nested loop configuration.</p><p></p><p>Finally, remember that the get element now supports a maximum number of records to get. This number can be set to any number between 1 and 2,000. Also note that the collection sort will take the same parameter while sorting the records, allowing the collection to be trimmed to a smaller member count.</p><p>If you considered all the alternatives, you can still use nested loops. Avoiding DMLs and SOQLs (Gets) inside your loops, you could avoid most of the governor execution limits. Your biggest risk is going to be hitting the dreaded Apex CPU limit error.</p><p><strong>Conclusion</strong></p><p class="">When designing <span class="">Salesforce Flows</span>, it is important to avoid <span class="">nested loops</span> whenever possible to maintain efficiency and prevent performance issues, especially when dealing with large datasets. Nested loops can significantly increase the number of iterations, leading to potential <span class="">governor limit exceptions</span> and <span class="">reduced performance</span> in the Salesforce environment. Instead, consider using <span class="">collection processing techniques</span>, such as <span class="">using formulas</span>, <span class="">assignment elements</span>, or <span class="">collection filters. Additionally,</span>&nbsp;leverage <span class="">Apex Actions</span> for complex logic. There are scenarios where nested loops are absolutely necessary, such as when processing <span class="">multi-level data structures</span> or implementing <span class="">hierarchical logic</span>. In such cases, it is crucial to minimize the loop size by applying <span class="">filters</span> beforehand and optimizing the logic within the loop. This ensures the flow remains <span class="">scalable</span> and <span class="">maintainable</span>. Ultimately, the key is to strike a balance between avoiding unnecessary complexity and using nested loops judiciously when the business logic demands it.</p><p>Explore related content:</p><p><a href="https://salesforcebreak.com/2024/12/02/salesforce-flow-best-practices/" rel="nofollow noopener" target="_blank">Salesforce Flow Best Practices</a></p><p><a href="https://salesforcebreak.com/2024/12/17/can-you-use-dml-soql-inside-loop/" rel="nofollow noopener" target="_blank">Can You Use DML or SOQL Inside the Loop?</a></p><p><a href="https://salesforcebreak.com/2024/08/14/how-the-transform-element-saves-y" rel="nofollow noopener" target="_blank">How The Transform Element Saves You Loops</a></p><p><a href="https://salesforcebreak.com/2022/10/09/start-element-formulas-newsletter/" rel="nofollow noopener" target="_blank">Start Element Formulas</a></p><p><a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://salesforcebreak.com/tag/antipattern/" target="_blank">#Antipattern</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://salesforcebreak.com/tag/for-loop/" target="_blank">#ForLoop</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://salesforcebreak.com/tag/loops/" target="_blank">#Loops</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://salesforcebreak.com/tag/nested-loops/" target="_blank">#NestedLoops</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://salesforcebreak.com/tag/saleforce-admins/" target="_blank">#SaleforceAdmins</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://salesforcebreak.com/tag/salesforce/" target="_blank">#Salesforce</a> <a rel="nofollow noopener" class="hashtag u-tag u-category" href="https://salesforcebreak.com/tag/salesforce-developers/" target="_blank">#SalesforceDevelopers</a></p>
Rey :ghosthug:<p>(and yes, I'm pretty sure I've filed a radar about it) <a href="https://notacult.social/tags/UX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UX</span></a> <a href="https://notacult.social/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a></p>
Rey :ghosthug:<p>I just need to whine a bit about a UX thing that ALWAYS gets me... please behold: the most unexpected clickable region! If you tap in this seemingly empty background area, it takes you to the “More Apple News Top Stories" page. <a href="https://notacult.social/tags/UX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UX</span></a> <a href="https://notacult.social/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a></p>
Nathan<p>Just a friendly reminder that infinite scroll is an anti-pattern, and that building ethical social media is about more than ownership, algorithms, and licensing: Respecting users' time and not replicating patterns deliberately designed to create addiction is equally important. <a href="https://indieweb.org/infinite_scroll" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">indieweb.org/infinite_scroll</span><span class="invisible"></span></a></p><p><a href="https://lounge.town/tags/mastodon" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>mastodon</span></a> <a href="https://lounge.town/tags/pixelfed" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>pixelfed</span></a> <a href="https://lounge.town/tags/loops" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>loops</span></a> <a href="https://lounge.town/tags/fediverse" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>fediverse</span></a> <a href="https://lounge.town/tags/UX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UX</span></a> <a href="https://lounge.town/tags/UI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UI</span></a> <a href="https://lounge.town/tags/FOSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FOSS</span></a> <a href="https://lounge.town/tags/FLOSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FLOSS</span></a> <a href="https://lounge.town/tags/AntiPattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AntiPattern</span></a> <a href="https://lounge.town/tags/AntiPatterns" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AntiPatterns</span></a></p>
Justin D Kruger (he/him)<p>Yeah, <a href="https://me.dm/tags/PGE" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PGE</span></a>, I use more energy than the average person because I actually charge my <a href="https://me.dm/tags/PHEV" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PHEV</span></a>. (unlike the average owner ).</p><p>You shouldn't shame people for reducing their carbon footprint.</p><p>Ditch the <a href="https://me.dm/tags/AntiPattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AntiPattern</span></a> and support people <a href="https://me.dm/tags/DeCarbonizing" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DeCarbonizing</span></a> </p><p><a href="https://me.dm/tags/UtilityReform" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UtilityReform</span></a> <a href="https://me.dm/tags/PublicPowerSF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>PublicPowerSF</span></a> <a href="https://me.dm/tags/ScottWiener" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>ScottWiener</span></a> <a href="https://me.dm/tags/GavinNewsom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>GavinNewsom</span></a> <a href="https://me.dm/tags/DanielLurie" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DanielLurie</span></a> <br><a href="https://me.dm/tags/EnergyPolicy" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EnergyPolicy</span></a> <a href="https://me.dm/tags/EnergyCosts" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EnergyCosts</span></a> <a href="https://me.dm/tags/Electricity" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Electricity</span></a> <a href="https://me.dm/tags/SolarPunk" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SolarPunk</span></a> <a href="https://me.dm/tags/SolarPower" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SolarPower</span></a> <a href="https://me.dm/tags/CarbonFootprint" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CarbonFootprint</span></a> <a href="https://me.dm/tags/UX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>UX</span></a> <a href="https://me.dm/tags/AntiPatterns" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AntiPatterns</span></a> <br><a href="https://me.dm/tags/CA" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CA</span></a> <a href="https://me.dm/tags/SF" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SF</span></a> <a href="https://me.dm/tags/SanFrancisco" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SanFrancisco</span></a> <a href="https://me.dm/tags/SFBay" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SFBay</span></a> <a href="https://me.dm/tags/NorCal" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>NorCal</span></a></p>
George Girton<p>Notice the user interface anti- pattern. The navigation for the Amazon app is directly below the button "don't my membership "very easy to make a mistake, and contravene your months- long intent to pause <br><a href="https://mastodon.social/tags/AmaxonPrime" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AmaxonPrime</span></a> <a href="https://mastodon.social/tags/uidesign" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>uidesign</span></a> <a href="https://mastodon.social/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a></p>
just small circles 🕊<p><a href="https://social.coop/tags/Doomscrolling" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Doomscrolling</span></a> is a <a href="https://social.coop/tags/SX" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SX</span></a> <a href="https://social.coop/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a>.</p>
Coach Pāṇini ®<p><span class="h-card" translate="no"><a href="https://hci.social/@jbigham" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jbigham</span></a></span> </p><p>I hope one of the <a href="https://mastodon.world/tags/LessonsLearned" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>LessonsLearned</span></a> is to implement a “maker-checker” protocol.</p><p>For many hierachical, command-and-control, authority-conscious organizations, this can be a common <a href="https://mastodon.world/tags/AntiPattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>AntiPattern</span></a>: the head/executive/leader goes offline to create “content”, and nobody reviews it for <a href="https://mastodon.world/tags/sensemaking" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>sensemaking</span></a>, <a href="https://mastodon.world/tags/blindspots" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>blindspots</span></a>, or unintended <a href="https://mastodon.world/tags/messaging" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>messaging</span></a>.</p>
Alexander Dunkel<p>Do you know those websites that ask you for your username first and then you have to click a button to see the password field?</p><p>I finally found the solution for using KeePass AutoType here: Go to the AutoType tab and add an ENTER and a DELAY (in milliseconds).</p><p>```<br>{USERNAME}{ENTER}{DELAY 1000}{PASSWORD}{ENTER}<br>```</p><p>Works like a charm. <a href="https://himself.alexanderdunkel.com/tags/Telekom" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Telekom</span></a> I am looking at you.</p><p><a href="https://himself.alexanderdunkel.com/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a></p>
Stephan H. Wissel<p>Who needs switch statements when you can nest tertiary expression 🤣:</p><p>return condition1<br> ? result1<br> : condition2<br> ? result2<br> : condition3<br> ? result3<br> …..<br> : condition999<br> ? result999<br> : defaultResult;</p><p> Just don’t tell. sonarlint <a href="https://chaos.social/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a> <a href="https://chaos.social/tags/java" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>java</span></a> <a href="https://chaos.social/tags/nodejs" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>nodejs</span></a></p>
Mark Gardner<p><span class="h-card" translate="no"><a href="https://mastodon.cloud/@jasongorman" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>jasongorman</span></a></span> The Ravioli Code <a href="https://social.sdf.org/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a>? <a href="https://wiki.c2.com/?RavioliCode" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">wiki.c2.com/?RavioliCode</span><span class="invisible"></span></a></p><p>Note that link is on <a href="https://social.sdf.org/tags/WikiWikiWeb" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>WikiWikiWeb</span></a> which has (IMHO) a confusing single-page application user interface. (Sorry <span class="h-card" translate="no"><a href="https://mastodon.radio/@k9ox" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>k9ox</span></a></span>)</p>
we compiled different<p>owie zowie.</p><p>according to <a href="https://users.rust-lang.org/t/mutably-borrowed-here-in-the-previous-iteration-of-the-loop/107088/2" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">users.rust-lang.org/t/mutably-</span><span class="invisible">borrowed-here-in-the-previous-iteration-of-the-loop/107088/2</span></a>, this is an <a href="https://mastodon.social/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a>: `&amp;'a mut Foo&lt;'a&gt;`.</p><p>figures. 🙁</p>
Matthew Slowe<p>As a "normal" user, when navigating to outlook.office.com, what I wanted was a view of my mailbox and calendar.</p><p>What I got wasn't quite right. Instead, I had a message saying "You've signed out of your account" and recommending I close all browser windows.</p><p>The implication of this wording is that <em>I</em> did this. I did not. This is yet another <a href="https://infosec.exchange/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a> where systems/services gaslight users into thinking they did something wrong.</p><p><a href="https://infosec.exchange/tags/grr" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>grr</span></a> <a href="https://infosec.exchange/tags/microsoft" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>microsoft</span></a> <a href="https://infosec.exchange/tags/azure" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>azure</span></a> <a href="https://infosec.exchange/tags/EntraID" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>EntraID</span></a></p>
pablolarah<p>🟧 The Shadow DOM is an antipattern<br>by Chris Ferdinandi @ChrisFerdinandi <span class="h-card" translate="no"><a href="https://mastodon.social/@cferdinandi" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>cferdinandi</span></a></span> <br><a href="https://mastodon.social/tags/shadowDOM" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>shadowDOM</span></a> <a href="https://mastodon.social/tags/webcomponents" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webcomponents</span></a> <a href="https://mastodon.social/tags/antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>antipattern</span></a> <a href="https://mastodon.social/tags/webdev" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>webdev</span></a> </p><p><a href="https://gomakethings.com/the-shadow-dom-is-an-antipattern/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">gomakethings.com/the-shadow-do</span><span class="invisible">m-is-an-antipattern/</span></a></p>
María Arias de Reyna<p><a href="https://floss.social/tags/Antipattern" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Antipattern</span></a> for <a href="https://floss.social/tags/tests" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>tests</span></a>: what is this supposed to do?</p><p>If you compare booleans and the name does not explain what it checks, troubleshooting becomes tedious.</p><p><span class="h-card" translate="no"><a href="https://jvm.social/@trisha_gee" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>trisha_gee</span></a></span> <a href="https://floss.social/tags/DevBCN" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>DevBCN</span></a></p>