<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Ayman Hamdan on Medium]]></title>
        <description><![CDATA[Stories by Ayman Hamdan on Medium]]></description>
        <link>https://medium.com/@hamdan.ayman.it?source=rss-37c03b74454d------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XowrViEtr3bhxs4m9cNS-Q.jpeg</url>
            <title>Stories by Ayman Hamdan on Medium</title>
            <link>https://medium.com/@hamdan.ayman.it?source=rss-37c03b74454d------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 03 Dec 2026 22:37:08 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@hamdan.ayman.it/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Every Day Is a Sprint. Is Your Spec Ready?]]></title>
            <link>https://blog.stackademic.com/every-day-is-a-sprint-is-your-spec-ready-7b04ea47dd81?source=rss-37c03b74454d------2</link>
            <guid isPermaLink="false">https://medium.com/p/7b04ea47dd81</guid>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[tech-leadership]]></category>
            <category><![CDATA[developer-productivity]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-strategy]]></category>
            <dc:creator><![CDATA[Ayman Hamdan]]></dc:creator>
            <pubDate>Wed, 11 Mar 2026 16:41:15 GMT</pubDate>
            <atom:updated>2026-03-11T16:41:15.511Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kvIWfUE6g-YJOwQQUEFk4A.png" /></figure><p><em>Vibe coding got us excited. Spec-Driven Development will keep us employed.</em></p><p>I’ve watched engineers spend three hours prompting an AI to build a login endpoint — tweaking, regenerating, arguing with the output — when a 20-minute spec would have solved it in one shot.</p><p>That’s not an AI problem. That’s a discipline problem.</p><p>And it’s the most expensive mistake teams are making right now.</p><h3>Vibes Ship Features. Specs Ship Systems.</h3><p><strong>Vibe coding</strong> is exactly what it sounds like. You describe a high-level idea, the AI generates code, you edit the prompt, and it regenerates. Fast. Fun. It&#39;s an excellent tool for prototyping.</p><p>The problem? It skips every hard-won principle the industry spent 50 years building into the SDLC. No requirements. No constraints. No defined behavior. Just vibes—until the system hits production and the vibes stop working.</p><p><strong>Spec-Driven Development</strong> takes a different position. Before the AI writes a single line, you define <em>what</em> the system must do, not <em>how</em> to do it. The spec becomes a contract. The AI executes against it.</p><p>The difference isn’t philosophical. Take that login endpoint.</p><p>Vibe coding gives the AI: <em>“Build me a login feature.”</em> What comes back depends entirely on what the model guesses you meant.</p><p>Spec-Driven Development defines it first: username minimum length, password rules, rate-limiting behavior, and exact HTTP failure codes for each error state. Now the AI has a contract to fulfill—not a mood to interpret.</p><p>Clear specifications reduce model hallucinations and produce more robust code. Machine-readable specs remain essential in the LLM era. <em>(ThoughtWorks, 2025)</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WGv1KmBLiqpIfm40NHfAfg.png" /></figure><h3>The SDLC Never Died. We Just Stopped Reading It.</h3><p>Waterfall gave us documentation culture—requirements signed off before implementation began. Rigid, yes. But honest.</p><p>Agile fixed the rigidity and, unintentionally, dismantled the discipline. The Manifesto said <em>working software over comprehensive documentation.</em> Teams heard <em>skip the spec.</em></p><p>I’ve seen teams lose weeks not because the code was wrong, but because nobody wrote down what “right” was supposed to look like.</p><p>For human-paced development, we absorbed that cost. Engineers filled the gaps with tribal knowledge and back-and-forth in standups.</p><p>AI has no tribal knowledge. It executes what you give it. And it executes fast—which means <strong>ambiguity doesn’t slow down anymore. It scales.</strong></p><h3>Stop Describing. Start Defining.</h3><p>The workflow is straightforward—and it maps directly onto what good engineering teams were already supposed to be doing:</p><p><strong>1. Requirement Specification</strong>—Define <em>what</em> the system must do. Behaviors, constraints, edge cases. Not implementation details.</p><p><strong>2. Design and Approval</strong>—The AI generates a design document from the spec. You review it. You edit it. Nothing moves to code until this is signed off.</p><p><strong>3. Implementation</strong>—The model generates code strictly against the approved design. The spec is the contract. Deviation is a bug, not a judgment call.</p><p>Traditional development codes first, documents later. Test-Driven Development (TDD) writes tests first, then code. Spec-Driven Development goes one step further—define<strong> the behavior before the test, before the code, and before the AI touches anything.</strong></p><blockquote><strong><em>The quality of a system is now less a function of how quickly code is written and more a function of how clearly the intent behind that code is articulated.</em></strong></blockquote><p>That’s the shift. And most teams haven’t felt it yet.</p><h3>The Takeaway</h3><blockquote>A Message to Junior Developers and Fresh Graduates :Use AI to go deeper. Not to go around.</blockquote><p>Vibe coding is a prototyping technique masquerading as a methodology. Best-of-N without a spec is noise at scale. Failing fast without structure is just failing.</p><p>But beyond the patterns and the frameworks, there’s a more important point.</p><p>There is a version of this AI moment that is genuinely dangerous: <strong>using AI as a shortcut past the fundamentals you haven’t built yet.</strong></p><p>Vibe coding your way through assignments. Generating solutions you can’t explain. Shipping code you didn’t read. That path feels fast right now—and it will cost you later. In a system design interview. In a production incident. In the moment, your team needs someone who actually understands what the system is doing.</p><p>Gartner projects 80% of the engineering workforce will need to upskill through 2027. The primary skill? <strong>Steering AI agents toward the right context and constraints.</strong> <em>(Gartner, 2024)</em></p><p>Steering requires judgment. Judgment requires fundamentals. You can’t evaluate three AI-generated implementations if you’ve never written one yourself. You can’t catch a hallucination if you don’t know what correct looks like.</p><p>Your competitive advantage is not that you can use AI tools. Everyone can use AI tools. <strong>Your advantage is knowing what the AI is doing, why it chose that approach, and when to override it.</strong></p><p>That judgment is not downloadable.</p><blockquote>The AI doesn’t guess. It executes a contract. The quality of that contract is entirely on you.</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7b04ea47dd81" width="1" height="1" alt=""><hr><p><a href="https://blog.stackademic.com/every-day-is-a-sprint-is-your-spec-ready-7b04ea47dd81">Every Day Is a Sprint. Is Your Spec Ready?</a> was originally published in <a href="https://blog.stackademic.com/">Stackademic</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Bureaucracy and Its Effect on Agile Methodologies]]></title>
            <link>https://medium.com/@hamdan.ayman.it/bureaucracy-and-its-effect-on-agile-methodologies-ef056cb31ac5?source=rss-37c03b74454d------2</link>
            <guid isPermaLink="false">https://medium.com/p/ef056cb31ac5</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[agile-methodology]]></category>
            <category><![CDATA[agile-coaching]]></category>
            <category><![CDATA[management]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Ayman Hamdan]]></dc:creator>
            <pubDate>Tue, 16 Jul 2024 06:09:17 GMT</pubDate>
            <atom:updated>2024-07-16T06:09:17.311Z</atom:updated>
            <content:encoded><![CDATA[<p>Agile methodologies have transformed software development by promoting flexibility, collaboration, and customer focus. However, in large organizations, adopting Agile often faces a major obstacle: bureaucracy.</p><p>Bureaucracy, with its rigid procedures, hierarchies, and formal processes, can hinder the agility of development teams. This article examines how bureaucracy affects Agile methodologies and suggests ways to overcome these challenges.</p><h3>What is Bureaucracy?</h3><p>Bureaucracy refers to a system of administration characterized by hierarchical structures, formal rules, and procedures. While bureaucracy can facilitate organization and efficiency in large entities, it often comes with drawbacks, including:</p><ul><li><strong>Slow Decision-Making</strong>: Layers of approval can delay critical decisions.</li><li><strong>Rigid Processes</strong>: Fixed procedures may hinder responsiveness to change.</li><li><strong>Limited Innovation</strong>: A focus on adherence to rules can stifle creativity.</li></ul><h3>The Agile-Bureaucracy Clash</h3><p>Agile methodologies focus on principles that are very different from those of bureaucracy. Agile emphasizes:</p><ul><li><strong>Decentralized Decision-Making</strong>: Empowering teams to make decisions quickly based on immediate needs.</li><li><strong>Collaboration Over Hierarchy</strong>: Cross-functional teams working together without rigid role boundaries.</li><li><strong>Flexibility Over Formality</strong>: Adaptive planning and iterative progress, allowing for rapid changes in direction.</li><li><strong>Customer-Centric Development</strong>: Frequent feedback loops with stakeholders and customers to ensure the product meets their needs</li></ul><p>The clash between Agile and bureaucracy manifests in several ways:</p><ol><li><strong>Slowed Decision-Making</strong>: Bureaucratic organizations need many approvals for minor changes, which slows down decision-making. This delay conflicts with Agile’s need for quick adjustments based on feedback.</li><li><strong>Reduced Team Autonomy</strong>: Agile teams are self-organizing and make decisions independently. Bureaucracy’s centralized control undermines this autonomy, causing demotivation and stifling innovation.</li><li><strong>Excessive Documentation</strong>: Agile promotes minimal documentation to stay efficient. In contrast, bureaucracy demands extensive paperwork, which wastes time and resources and slows down development work.</li><li><strong>Inefficient Communication</strong>: Agile relies on open and direct communication within teams and with stakeholders. Bureaucratic structures, with their hierarchical channels, create information bottlenecks and miscommunications, reducing Agile’s effectiveness.</li><li><strong>Resistance to Change</strong>: Agile promotes constant improvement and flexibility. Bureaucratic organizations resist change, preferring established procedures. This resistance can slow down Agile adoption and the organization’s ability to respond quickly.</li></ol><h4>Mitigating Bureaucratic Impacts</h4><p>Despite the challenges, organizations can align bureaucratic structures with Agile by:</p><ol><li><strong>Leadership Commitment</strong>: Senior leaders need to support Agile principles and reduce bureaucratic obstacles. They should empower teams, let them make decisions, and build a culture of trust and teamwork.</li><li><strong>Streamlined Processes</strong>: Find and remove unnecessary processes that don’t help Agile teams. Simplify approval steps and cut down on too much paperwork to make work faster and more responsive.</li><li><strong>Training and Education</strong>: Provide training for both management and teams on Agile principles and practices. Educating all levels of the organization on the benefits of Agile can help in gaining buy-in and reduce resistance to change.</li><li><strong>Incremental Changes</strong>: Train both managers and teams on Agile principles. Teaching everyone about Agile’s benefits can get more support and lessen resistance to change.</li><li><strong>Cross-Functional Teams</strong>: Encourage teams that can work together on different tasks and make decisions without waiting for permission. This way of working matches Agile’s focus on teamwork and flexibility.</li><li><strong>Continuous Improvement</strong>: Set up ways to get regular feedback and make things better in the organization. Regular meetings to look back and talk about what’s happening can help find problems with bureaucracy and fix them quickly.</li></ol><h4>Conclusion</h4><p>Bureaucracy makes it hard to use Agile well. But with strong leaders, simpler ways of doing things, and always getting better, organizations can handle these challenges. They can create a faster, more flexible, and customer-focused workplace that boosts innovation and success.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ef056cb31ac5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[.NET 8.0 Upgrade Obstacles: Development Environment Solutions]]></title>
            <link>https://medium.com/@hamdan.ayman.it/net-core-8-upgrade-obstacles-development-environment-solutions-a9b3276ee012?source=rss-37c03b74454d------2</link>
            <guid isPermaLink="false">https://medium.com/p/a9b3276ee012</guid>
            <category><![CDATA[migration]]></category>
            <category><![CDATA[solutions]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[net8]]></category>
            <category><![CDATA[obstacles]]></category>
            <dc:creator><![CDATA[Ayman Hamdan]]></dc:creator>
            <pubDate>Tue, 02 Apr 2024 05:36:55 GMT</pubDate>
            <atom:updated>2024-04-02T05:38:54.935Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ll go over some of the obstacles I ran into when migrating to<strong><em> .NET 8.0</em></strong> in this post, along with my solutions. Instead of going over the migration procedure in detail, I’ll concentrate on the problems and challenges encountered once the update is finished.</p><blockquote>N.B.: I used the <a href="https://devblogs.microsoft.com/dotnet/upgrade-assistant-now-in-visual-studio/">Visual Studio upgrade assistant </a>to help with the upgrade process.</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*z2AhVTYkSSkQJ2lg30GGcA.png" /></figure><p>Before discussing the issues, let me introduce the project and packages. We use <strong>Entity Framework SQL Server and the</strong> <strong>IdentityServer4 JWTBearer token</strong> for identity. We use <strong>Autofac </strong>for dependency injection, <strong>Serilog </strong>for logging, and <em>others</em>. We will cover the updates for these packages in another article.</p><blockquote>These solutions are for the Development Environment. The Non-Development Environment may need modifications.</blockquote><p>Now, let’s address the obstacles:</p><p><strong><em>Obstacle </em></strong>1:</p><pre>The remote certificate was rejected by the provided RemoteCertificateValidationCallback.<br><br>Microsoft.Data.SqlClient.SqlException: <br>&#39;A connection was successfully established with the server, <br>but then an error occurred during the pre-login handshake. <br>(provider: TCP Provider, error: 35 - An internal exception was caught)&#39;</pre><p><strong><em>Solution 1:</em></strong></p><p>To resolve this issue, I added <strong><em>“Encrypt=false;”</em></strong> to the connection string. This adjustment is specific to the D<strong><em>evelopment Environment</em></strong>.</p><pre>string connectionString = &quot;Server=myServerAddress;Database=myDataBase;User Id=myUsername;Password=myPassword;Encrypt=false;&quot;;</pre><p><strong><em>Obstacle 2</em></strong>:</p><pre>&#39;IIdentityServerBuilder&#39; does not contain a definition for <br>&#39;AddConfigurationStore&#39; and no accessible extension method <br>&#39;AddConfigurationStore&#39; accepting a first argument of type <br>&#39;IIdentityServerBuilder&#39; could be found <br>(are you missing a using directive or an assembly reference?)</pre><p><strong>Solution 2:</strong></p><p>Add IdentityServer4 packages</p><pre> &lt;PackageReference Include=&quot;IdentityServer4.AspNetIdentity&quot; Version=&quot;4.1.2&quot; /&gt;<br> &lt;PackageReference Include=&quot;IdentityServer4.EntityFramework&quot; Version=&quot;4.1.2&quot; /&gt;<br> &lt;PackageReference Include=&quot;IdentityServer4.EntityFramework.Storage&quot; Version=&quot;4.1.2&quot; /&gt;</pre><p><strong><em>Obstacle 3</em></strong>:</p><pre>System.ArgumentException: IDX12723: Unable to decode the payload <br>&#39;[PII of type &#39;System.String&#39; is hidden. For more details, <br>see https://aka.ms/IdentityModel/PII.]&#39; as Base64Url encoded string.<br> <br>---&gt; System.Text.Json.JsonException: IDX11020: The JSON value of type: <br>&#39;String&#39;, could not be converted to &#39;JsonTokenType.Number&#39;. Reading: <br>&#39;System.IdentityModel.Tokens.Jwt.JwtPayload.iat&#39;, Position: <br>&#39;303&#39;, CurrentDepth: &#39;1&#39;, BytesConsumed: &#39;330&#39;.<br>   at Microsoft.IdentityModel.Tokens.Json.JsonSerializerPrimitives.ReadLong(Utf8JsonReader&amp; reader, String propertyName, String className, Boolean read)<br>   at System.IdentityModel.Tokens.Jwt.JwtPayload.CreatePayload(Byte[] bytes, Int32 length)<br>   at Microsoft.IdentityModel.Tokens.Base64UrlEncoding.Decode[T](String input, Int32 offset, Int32 length, Func`3 action) ------</pre><pre>Exception: IDX12741: JWT must have three segments (JWS) <br>or five segments (JWE).  <br> at System.IdentityModel.Tokens.Jwt.JwtSecurityToken..ctor(String jwtEncodedString)</pre><p><strong>Solution 3:</strong></p><p>To address this issue, the following steps were taken:</p><ol><li>Add Microsoft.IdentityModel.JsonWebTokens</li><li>Replace instances of JwtSecurityToken with Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor.</li><li>Replace the code block responsible for generating JWT tokens. Specifically, replace JwtSecurityTokenHandler().WriteToken(jwt) with JwtSecurityTokenHandler().CreateEncodedJwt(descriptor).</li></ol><pre>&lt;PackageReference Include=&quot;Microsoft.IdentityModel.JsonWebTokens&quot; Version=&quot;7.5.0&quot; /&gt;</pre><ul><li><strong>Code Example:</strong></li></ul><p>Before:</p><pre>var jwt = new JwtSecurityToken(<br>     signingCredentials: signingCredentials,<br>     claims: claims,<br>     notBefore: utcNow,<br>     expires: utcNow.AddMinutes(ExpiresInMinutes),<br>     audience: audience,<br>     issuer: issuer<br>     );<br>return new JwtSecurityTokenHandler().WriteToken(jwt);</pre><p>After :</p><pre>var descriptor = new Microsoft.IdentityModel.Tokens.SecurityTokenDescriptor<br> {<br>     Issuer = issuer,<br>     Audience = audience,<br>     Subject = new ClaimsIdentity(claims),<br>     Claims = claims,<br>     IssuedAt = null,<br>     NotBefore = utcNow,<br>     Expires = utcNow.AddMinutes(ExpiresInMinutes),<br>     SigningCredentials = signingCredentials<br> };<br><br>return new JwtSecurityTokenHandler().CreateEncodedJwt(descriptor);</pre><p>These improvements allow the application to decode JWT tokens and run properly in <strong><em>.NET 8.0</em></strong>.</p><p><strong><em>Obstacle 4</em></strong>:</p><pre>IDX10204: Unable to validate issuer. validationParameters.<br>ValidIssuer is null or whitespace AND validationParameters.<br>ValidIssuers is null or empty.</pre><p><strong>Solution 4:</strong></p><p>Add <strong>TokenValidationParameters </strong>to Startup</p><ul><li><strong>Code Example:</strong></li></ul><pre>.AddJwtBearer(options =&gt;<br>{<br>    var signingCert = Infrastructure.Certificate.Certificate.Get();<br>    X509SecurityKey privateKey = new X509SecurityKey(signingCert);<br>    var signingCredentials = new SigningCredentials(privateKey, SecurityAlgorithms.RsaSha256);<br><br>    options.TokenValidationParameters = new TokenValidationParameters<br>    {<br>        ValidateIssuer = true,<br>        ValidateAudience = true,<br>        ValidateIssuerSigningKey = false,<br>        ValidIssuer = configuration[&quot;JWT:ValidIssuer&quot;],<br>        ValidAudience = configuration[&quot;JWT:ValidAudience&quot;],<br>        IssuerSigningKey = signingCredentials.Key,<br>    };<br>});</pre><p><strong>Obstacle 5:</strong></p><p>The decoded claims from JWT token payloads do not match the original claims.</p><p><strong>Solution 5:</strong></p><p>To address this issue, the following steps were taken:</p><ol><li>Add Microsoft.IdentityModel.JsonWebTokens</li><li>Replace the code block responsible for reading JWT tokens. Specifically, replace JsonWebTokenHandler(token) with Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler().ReadJsonWebToken(token) .</li></ol><pre>&lt;PackageReference Include=&quot;Microsoft.IdentityModel.JsonWebTokens&quot; Version=&quot;7.5.0&quot; /&gt; </pre><ul><li><strong>Code Example:</strong></li></ul><p>Before:</p><pre> var claims = new JwtSecurityToken(jwtEncodedString: token).Claims; </pre><p>After:</p><pre>var claims = new Microsoft.IdentityModel.JsonWebTokens.JsonWebTokenHandler().ReadJsonWebToken(token).Claims</pre><blockquote>I hope that the tips in this article assist you as you migrate to <strong><em>.NET 8.0.</em></strong></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a9b3276ee012" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>