<?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 Mogaka Polycarp on Medium]]></title>
        <description><![CDATA[Stories by Mogaka Polycarp on Medium]]></description>
        <link>https://medium.com/@mogakapolycarp?source=rss-75e413aaa551------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*RBoqaAFO9sIU3iTJjbGpSA.jpeg</url>
            <title>Stories by Mogaka Polycarp on Medium</title>
            <link>https://medium.com/@mogakapolycarp?source=rss-75e413aaa551------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 22 Nov 2026 11:31:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mogakapolycarp/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[Troubleshooting slow queries]]></title>
            <link>https://mogakapolycarp.medium.com/troubleshooting-slow-queries-057bfaac3035?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/057bfaac3035</guid>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Wed, 22 Jan 2025 20:27:10 GMT</pubDate>
            <atom:updated>2025-01-22T20:27:10.274Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Herein Lies My Strategy to Handle Queries of Sluggish Nature</strong></p><p>In the pursuit of optimizing database performance, one must first turn to the venerable tools of <strong>EXPLAIN</strong> and <strong>EXPLAIN ANALYZE</strong> to scrutinize the execution plan of queries. These instruments are pivotal in analyzing the efficiency of query execution:</p><ul><li><strong>EXPLAIN</strong>: This command provides an abstracted view of the query execution plan without actually executing the query. It elucidates the sequence of steps the database intends to take:</li><li>Here, one sees the theoretical path the query would follow, including node types, costs, and row estimates.</li></ul><pre>EXPLAIN SELECT * FROM table_name WHERE column_name = &#39;parameter&#39;;<br></pre><pre>EXPLAIN ANALYZE SELECT * FROM table_name WHERE column_name = &#39;parameter&#39;;</pre><ul><li><strong>EXPLAIN ANALYZE</strong>: Unlike its counterpart, this command not only outlines the plan but also runs the query to provide actual runtime statistics:</li><li>It offers insights into the true performance, including actual time taken, rows processed, and any loops that might occur, thus proving invaluable for diagnosing performance issues post-optimization.</li></ul><p>Using <strong>EXPLAIN ANALYZE</strong> allows for a more precise verification of the optimizations applied to a query, offering a real-world benchmark of your adjustments.</p><p>The subsequent step involves a meticulous examination of indexes. Indexes are akin to the indices of a vast library; they must be both present and well-maintained:</p><ul><li><strong>Index Review</strong>: Ensure indexes are effectively utilized by the query. If not, consider adding or adjusting indexes to better align with the query’s needs.</li><li><strong>Query Rewriting</strong>: Often, the structure of a query can be altered to leverage indexes more effectively. After restructuring, employ <strong>EXPLAIN ANALYZE</strong> to verify the efficacy of these changes through improved statistics.</li></ul><p>Further, one must not overlook the health of the server itself:</p><ul><li><strong>Server Logs</strong>: Scrutiny of server logs, particularly those marked as fatal or error, provides clues to system behavior. Regular review can prevent minor issues from escalating.</li><li><strong>System Metrics</strong>: Monitor the CPU, RAM, and storage utilization:</li></ul><p>For disk space, use df -h to see human-readable summaries.</p><p>For detailed usage by files or directories, du -h provides the necessary insights.</p><p>Upon review, one might consider:</p><ul><li><strong>Vertical Scaling</strong>: Enhancing the power of the existing hardware.</li><li><strong>Horizontal Scaling</strong>: Distributing the load across multiple servers.</li><li><strong>Autovacuum</strong>: In PostgreSQL, this process automatically reclaims storage occupied by updated or deleted rows, crucial for maintaining performance over time.</li><li><strong>Log Management</strong>: Deleting or archiving old logs can free up significant space, though this must be done judiciously to preserve necessary historical data.</li></ul><p>By adhering to this methodical approach, one can transform the handling of slow queries into an art form, ensuring both the longevity and efficiency of database operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*gAf0ellIpzGv3GjQ" /><figcaption>Slow Queries</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=057bfaac3035" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Database Performance Tuning]]></title>
            <link>https://mogakapolycarp.medium.com/database-performance-tuning-c3afa8477e18?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/c3afa8477e18</guid>
            <category><![CDATA[sql]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[dbms-and-rdbms]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Wed, 22 Jan 2025 08:59:57 GMT</pubDate>
            <atom:updated>2025-01-22T08:59:57.247Z</atom:updated>
            <content:encoded><![CDATA[<p>Database performance tuning is often a cliché among developers, especially in startups where there might be a tendency to misuse database resources. However, for corporations focused on managing operational costs, this is far from trivial. Here’s a guide to addressing some common issues:</p><p><strong>Query Optimization</strong></p><p>Much has been written about query optimization, and one of the simplest yet effective methods is the use of indexes. What are indexes? They are data structures that utilize pointers to specific data rows within a binary search tree, which organizes data for efficient search operations.</p><p><strong>Common Indexes:</strong></p><ul><li><strong>B-tree Index:</strong> Ideal for equality and range queries.</li><li><strong>Hash Index:</strong> Best suited for equality comparisons.</li><li><strong>Bitmap Index:</strong> Commonly used in Oracle.</li><li><strong>Inverted Index:</strong> Used in MySQL for full-text searches.</li></ul><p>Indexes should not be overused as they can negatively impact write operations. They should be applied judiciously to database tables. The ANSI standard for creating an index is:</p><pre>CREATE INDEX index_name ON table_name(column_name1, column_name2);</pre><p>This technique significantly reduces search times in database queries.</p><p><strong>Database Design</strong></p><ul><li><strong>Normalization:</strong> This process involves structuring database tables to enhance data consistency, reduce redundancy, and prevent data anomalies by breaking data down into smaller, related tables with defined relationships.</li><li><strong>Partitioning:</strong> Large tables can be divided into smaller, independently managed tables to improve performance, scalability, and manageability.</li></ul><p><strong>Server Configurations</strong></p><ul><li><strong>Caching:</strong> Results from read-heavy workloads can be cached in materialized views or external systems like Redis or Elastic Cache, enhancing performance and data availability.</li></ul><p><strong>Concurrency and Locking Mechanisms</strong></p><ul><li><strong>Read Replicas:</strong> Utilizing read replicas on slave nodes can handle read-heavy workloads effectively.</li><li><strong>MVCC (Multi-Version Concurrency Control):</strong> This mechanism helps manage concurrency, improving transaction reads, which in turn boosts availability, performance, fault tolerance, and scalability.</li></ul><p><strong>Maintenance</strong></p><ul><li><strong>Patching:</strong> Database systems should be regularly updated to patch software, fix bugs, and address performance issues, thereby optimizing query performance.</li></ul><p>By following these practices, organizations can achieve faster response times, better throughput, and more efficient use of system resources, ultimately reducing costs and improving operational efficiency.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*54e5OLpvBh0eXJxd" /><figcaption>Indexing</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c3afa8477e18" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why PostgreSQL]]></title>
            <link>https://mogakapolycarp.medium.com/why-postgresql-85da9fe6717d?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/85da9fe6717d</guid>
            <category><![CDATA[dbms]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[postgresql]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Mon, 20 Jan 2025 16:33:57 GMT</pubDate>
            <atom:updated>2025-01-20T16:33:57.741Z</atom:updated>
            <content:encoded><![CDATA[<p>Transitioning from the corporate sector presents a significant challenge in convincing professionals, often amid mid-career transitions, of the benefits of open-source solutions. The future of Relational Database Management Systems (RDBMS) is increasingly dominated by open-source platforms, offering a spectrum of diverse functionalities.</p><p>PostgreSQL, in particular, emerges as an object-oriented database that parallels many of Oracle’s product offerings, with the notable exceptions being speed and certain enterprise-grade features. Here are the substantial advantages of adopting PostgreSQL:</p><ol><li><strong>Rich Feature Support:</strong></li></ol><ul><li><strong>Complex Queries and Full-Text Search:</strong> PostgreSQL excels in handling complex queries, supported by GIN (Generalized Inverted Index) which efficiently organizes database keys and eliminates whitespace from complex data structures like JSONB.</li><li><strong>Concurrency Management:</strong> With Multi-Version Concurrency Control (MVCC), PostgreSQL ensures that multiple transactions can operate simultaneously without locks, significantly reducing the occurrence of phantom reads, dirty reads, and non-repeatable reads, which is crucial for maintaining data integrity in applications like financial transactions.</li></ul><p><strong>Advanced-Data Type Support:</strong></p><ul><li>PostgreSQL supports an array of complex data types, including Arrays, UUIDs, JSON/JSONB, and geospatial data via extensions like PostGIS. It also manages bitmaps, sets, and tuple identifiers (ctids) which can serve as primary keys.</li></ul><p><strong>Indexing Capabilities:</strong></p><ul><li>The database offers various indexing methods:</li><li><strong>B-tree</strong> for equality and range queries.</li><li><strong>Hash</strong> for equality checks.</li><li><strong>BRIN</strong> for large datasets where values are naturally ordered.</li><li><strong>GIN</strong> for full-text search and other complex data types.</li></ul><p><strong>Replication and High Availability:</strong></p><ul><li>PostgreSQL supports multiple replication strategies, with physical replication leveraging Write-Ahead Logging (WAL) to provide resilience and versatility akin to Oracle’s Data Guard.</li></ul><p><strong>SQL Compliance and Extensibility:</strong></p><ul><li>It adheres closely to SQL standards, which facilitates easier data migration and replication to other database systems. Additionally, PostgreSQL is highly extensible, accommodating NoSQL datasets through extensions like TimescaleDB, FerretDB, and Neon.</li></ul><p><strong>Performance with Large Datasets:</strong></p><ul><li>Optimized for handling and querying large volumes of data, PostgreSQL supports advanced SQL features such as window functions, recursive queries, and complex joins.</li></ul><p><strong>User Interface and Administration:</strong></p><ul><li>The integration of pgAdmin provides an intuitive graphical user interface that simplifies database administration tasks.</li></ul><p>In summary, PostgreSQL not only offers a robust set of features that cater to modern data management needs but also stands as a testament to the evolving landscape where open-source solutions are becoming increasingly pivotal in enterprise environments. However, potential adopters should consider the trade-offs regarding speed and some enterprise-specific features when transitioning from proprietary systems like Oracle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MRE8gVRmrV16wzIR" /><figcaption>PSQL</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85da9fe6717d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[8 Habits of Successful Java Developers]]></title>
            <link>https://mogakapolycarp.medium.com/8-habits-of-successful-java-developers-0e1fe340a813?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e1fe340a813</guid>
            <category><![CDATA[java8]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Mon, 06 Jan 2025 21:01:36 GMT</pubDate>
            <atom:updated>2025-01-06T21:01:36.771Z</atom:updated>
            <content:encoded><![CDATA[<p>Java developers, whether beginners or seasoned professionals, can greatly improve their craft by adopting key habits aligned with best practices. These eight essential habits are illustrated with code snippets that demonstrate SOLID principles and Java&#39;s core features:</p><h3>1. Write Clean, Readable Code</h3><p><strong>Habit</strong>: Prioritize code readability using meaningful variable names, clear method signatures, and consistent formatting.</p><p><strong>SOLID Principle</strong>: Single Responsibility Principle (SRP)</p><pre>public class Invoice {<br>    private List&lt;LineItem&gt; items;</pre><pre>    public double calculateTotal() {<br>        return items.stream()<br>                    .mapToDouble(LineItem::getAmount)<br>                    .sum();<br>    }<br>}</pre><p><em>Why?</em><br> The Invoice The class focuses solely on calculating the total and adhering to SRP.</p><h3>2. Follow SOLID Principles</h3><p><strong>Habit</strong>: Design systems that are easy to maintain and extend by following SOLID principles.</p><p><strong>Example</strong>: Open/Closed Principle (OCP)</p><pre>public interface DiscountStrategy {<br>    double applyDiscount(double price);<br>}</pre><pre>public class PercentageDiscount implements DiscountStrategy {<br>    private final double percentage;</pre><pre>    public PercentageDiscount(double percentage) {<br>        this.percentage = percentage;<br>    }</pre><pre>    @Override<br>    public double applyDiscount(double price) {<br>        return price - (price * percentage / 100);<br>    }<br>}</pre><p><em>Why?</em><br> You can introduce new discount strategies without modifying existing code, enhancing flexibility.</p><h3>3. Use Robust Exception Handling</h3><p><strong>Habit</strong>: Manage errors gracefully by leveraging Java’s exception-handling framework.</p><p><strong>Java Core Feature</strong>: Exception Hierarchy</p><pre>public void processData() throws IOException {<br>    try (BufferedReader br = new BufferedReader(new FileReader(&quot;data.txt&quot;))) {<br>        String line;<br>        while ((line = br.readLine()) != null) {<br>            // Process each line<br>        }<br>    } catch (IOException e) {<br>        throw new IOException(&quot;Failed to read file: &quot; + e.getMessage(), e);<br>    }<br>}</pre><p><em>Why?</em><br> The try-with-resources statement ensures efficient resource management and cleaner error handling.</p><h3>4. Leverage Java 8+ Functional Features</h3><p><strong>Habit</strong>: Use lambda expressions and streams for concise, functional code.</p><p><strong>Java Core Feature</strong>: Lambda Expressions and Streams</p><pre>List&lt;String&gt; words = Arrays.asList(&quot;hello&quot;, &quot;world&quot;, &quot;java&quot;, &quot;stream&quot;);<br>List&lt;String&gt; filteredWords = words.stream()<br>                                  .filter(word -&gt; word.length() &gt; 4)<br>                                  .collect(Collectors.toList());</pre><p><em>Why?</em><br> Streams simplify operations like filtering, transforming, and collecting data.</p><h3>5. Practice Test-Driven Development (TDD)</h3><p><strong>Habit</strong>: Write tests before or alongside your code to ensure functionality and catch bugs early.</p><p><strong>SOLID Principle</strong>: Interface Segregation Principle (ISP)</p><pre>public interface Shape {<br>    double area();<br>}</pre><pre>public class Circle implements Shape {<br>    private final double radius;</pre><pre>    public Circle(double radius) {<br>        this.radius = radius;<br>    }</pre><pre>    @Override<br>    public double area() {<br>        return Math.PI * radius * radius;<br>    }<br>}</pre><pre>// Tests can validate the `area` method.</pre><p><em>Why?</em><br> Smaller, specific interfaces make it easier to write precise and modular tests.</p><h3>6. Optimize for Performance</h3><p><strong>Habit</strong>: Understand Java’s memory management and optimize where necessary.</p><p><strong>Java Core Feature</strong>: Garbage Collection</p><pre>List&lt;String&gt; results = new ArrayList&lt;&gt;(expectedSize);<br>for (int i = 0; i &lt; expectedSize; i++) {<br>    results.add(someMethod());<br>}</pre><p><em>Why?</em><br> Pre-allocating the list size reduces resizing operations and minimizes memory overhead.</p><h3>7. Master Java’s Concurrency Utilities</h3><p><strong>Habit</strong>: Design thread-safe applications using Java’s concurrency features.</p><p><strong>Java Core Feature</strong>: Concurrent Collections</p><pre>ConcurrentHashMap&lt;String, Integer&gt; map = new ConcurrentHashMap&lt;&gt;();<br>map.putIfAbsent(&quot;key&quot;, 1); // Thread-safe operation</pre><p><em>Why?</em><br> Using thread-safe collections like ConcurrentHashMap ensures safe access in multi-threaded environments.</p><h3>8. Keep Learning and Updating</h3><p><strong>Habit</strong>: Stay up-to-date with the latest features in Java.</p><p><strong>Java Core Feature</strong>: Modules (Java 9+)</p><pre>module com.example.myapp {<br>    requires java.sql;<br>    exports com.example.myapp;<br>}</pre><p><em>Why?</em><br> Modules improve modularity, allowing better dependency management and encapsulation.</p><h3>Final Thoughts</h3><p>These habits will lead to more maintainable, robust, and efficient software development. The key is not just knowing these principles but integrating them into daily coding practices. With continuous learning and practice, developers can elevate their Java expertise and deliver higher-quality solutions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*rubrzydmfDcxuXfD9h46DQ.jpeg" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e1fe340a813" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machiavelli and Nietzsche on embracing agility]]></title>
            <link>https://mogakapolycarp.medium.com/machiavelli-and-nietzsche-on-embracing-agility-9f9600dffca2?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/9f9600dffca2</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[agile-coaching]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Wed, 03 Apr 2024 11:41:04 GMT</pubDate>
            <atom:updated>2024-04-03T11:41:04.462Z</atom:updated>
            <content:encoded><![CDATA[<p>Machiavelli and Nietzsche on embracing agility</p><p>Introduction</p><p>In the pursuit of efficiency and productivity, individuals and organizations often seek guidance from various philosophical perspectives. The Agile philosophy, originating from software development but now applied across industries, emphasizes adaptability, collaboration, and iterative progress. However, to truly grasp the essence of getting things done, we can draw inspiration not only from modern methodologies but also from timeless wisdom offered by thinkers like Niccolò Machiavelli and Friedrich Nietzsche. This three-page draft aims to explore how the principles of agility intersect with Machiavelli’s pragmatism and Nietzsche’s existential insights to enhance our approach to accomplishing tasks and achieving goals.</p><p>Agility: A Framework for Effective Action</p><p>Agility, as a methodology, advocates flexibility and responsiveness to change. It emphasizes the importance of continuous improvement through iterative cycles of planning, execution, and reflection. At its core, Agile encourages individuals and teams to adapt swiftly to evolving circumstances, prioritize collaboration, and deliver value incrementally.</p><p>The Agile Manifesto, with its principles of customer collaboration, embracing change, and delivering working solutions, aligns with Machiavelli’s pragmatic approach to governance. Machiavelli’s renowned work, “The Prince,” emphasizes the importance of adaptability and decisiveness in navigating the complexities of politics and leadership. His assertion that “the ends justify the means” resonates with Agile’s focus on delivering tangible results while remaining open to adjusting strategies as needed.</p><p>Furthermore, Nietzsche’s concept of “becoming who you are” underscores the significance of personal growth and self-realization in the pursuit of goals. In an Agile context, this translates into fostering a culture of continuous learning and empowerment within teams. Nietzsche’s emphasis on embracing challenges as opportunities for growth echoes Agile’s encouragement of embracing change and uncertainty as catalysts for innovation.</p><p>Machiavellian tactics in Agile execution</p><p>Machiavelli’s pragmatic principles offer valuable insights for Agile practitioners seeking to navigate the complexities of project execution. His emphasis on seizing opportunities and adapting strategies to suit the circumstances aligns with Agile’s iterative approach to problem-solving. Machiavelli’s notion of virtù, or the ability to shape one’s destiny through skilful action, resonates with Agile’s focus on empowering teams to take ownership of their work and make decisions autonomously.</p><p>Moreover, Machiavelli’s emphasis on the importance of leadership and influence underscores the role of Agile leaders in fostering a culture of collaboration and accountability. Just as Machiavelli advises rulers to maintain both love and fear among their subjects, Agile leaders must balance empathy with assertiveness to inspire commitment and drive results.</p><p>Nietzschean Perspectives on Personal Mastery and Purpose</p><p>Nietzsche’s existential philosophy offers profound insights into the nature of human motivation and achievement. His concept of the “will to power” emphasizes the inherent drive within individuals to assert their agency and shape their destiny. In an Agile context, this translates to empowering team members to take ownership of their work and pursue excellence in their endeavours.</p><p>Furthermore, Nietzsche’s critique of traditional morality and values encourages individuals to question conventional wisdom and forge their own paths. In the Agile world, this calls for challenging orthodox methodologies and embracing experimentation and innovation. Nietzsche’s emphasis on embracing adversity as a means of self-transformation resonates with Agile’s encouragement of embracing failure as a learning opportunity.</p><p>Conclusion</p><p>In conclusion, by integrating insights from Machiavelli’s pragmatism and Nietzsche’s existential philosophy into Agile practices, individuals and organizations can enhance their ability to get things done effectively. The pragmatic approach of Machiavelli complements Agile’s emphasis on adaptability and responsiveness, while Nietzsche’s existential insights inspire personal growth and innovation within teams. By embracing these diverse perspectives, Agile practitioners can navigate the complexities of modern work environments with confidence and purpose.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9f9600dffca2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My tech journey]]></title>
            <link>https://mogakapolycarp.medium.com/my-tech-journey-ba41f7bfc6b1?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba41f7bfc6b1</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Mon, 11 Mar 2024 05:28:20 GMT</pubDate>
            <atom:updated>2024-03-11T05:28:20.086Z</atom:updated>
            <content:encoded><![CDATA[<p>My journey into the world of programming hasn’t been a smooth ride, nor has it been a mere stroll in the park. It began somewhat unconventionally, spurred by a desire to find purpose and forge a livelihood for myself.</p><p>Luckily, I found myself selected for a graduate trainee program at a small fintech company — an opportunity I’m immensely grateful for. From the outset, my aspiration has been to excel and maintain mastery over every facet of my life.</p><p>My education in programming commenced with PHP and Android, eventually leading me to delve into the intricacies of Java. Each step forward brought a wealth of knowledge and skill, laying a solid foundation for what was to come.</p><p>However, it was a particular assignment that acted as the springboard for my tech journey — a pivotal moment that propelled me forward.</p><p>Yet, despite my growing expertise, challenges persist. Competitive programming, a lingering ambition for the past three years, looms large. The specter of imposter syndrome often rears its head as I embark on new roles or projects. Nevertheless, I persist, finding a way to overcome and deliver results.</p><p>This journey, which began five years ago, shows no signs of slowing down. The impact I’ve made in the tech sphere thus far serves as a testament to my accomplishments. With each stride forward, I inch closer to realizing my ultimate aspirations within the corporate realm. Continuous growth is not just a goal but a promise — one that I intend to fulfill.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xzme8c4Vum5QQDdX" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba41f7bfc6b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Getting things done]]></title>
            <link>https://mogakapolycarp.medium.com/getting-things-done-41b20e86b03b?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/41b20e86b03b</guid>
            <category><![CDATA[developer]]></category>
            <category><![CDATA[developer-productivity]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Thu, 11 Jan 2024 06:59:53 GMT</pubDate>
            <atom:updated>2024-01-11T06:59:53.240Z</atom:updated>
            <content:encoded><![CDATA[<h3>An inspirational message for senior software engineers</h3><p>Inspiration for Senior Software Engineers</p><p>Embracing the Power of Change:</p><p>It is essential to believe in a brighter future and dare to hope. This sentiment resonates with senior engineers seeking to make a positive impact through their innovative solutions or by driving positive change within their teams and organizations.</p><p>Prioritizing Action and Progress:</p><p>“Don’t wait for the perfect moment. Take the moment and make it perfect.” This advice aligns seamlessly with the proactive mindset of engineers — encouraging them to break down significant goals into manageable steps, emphasizing incremental progress.</p><p>Resilience in the Face of Challenges:</p><p>Engineers can learn from other successful developers’ journeys in overcoming obstacles, setbacks, and moments of self-doubt. Whenever engineers encounter technical challenges or roadblocks, resilience and persistence serve as reminders to stay focused and motivated.</p><p>Teamwork and Collaborative Leadership:</p><p>Encouraging a collaborative environment within the team fosters better solutions and a more positive work experience.</p><p>Initiative and ownership:</p><p>Taking responsibility and not waiting for others to solve problems aligns with the senior engineer’s role. Empowering engineers to take initiative and lead within the team contributes to effective decision-making and project advancement.</p><p>Applying these principles to Daily Work:</p><ol><li>Start small and iterate: Break down large projects into achievable tasks, celebrating incremental progress.</li><li>Embrace challenges as opportunities to learn and grow: View technical difficulties as chances to develop new skills and find innovative solutions.</li><li>Create a collaborative team that is strong and supportive.</li><li>Be a leader and mentor: Take initiative, make decisions, and guide junior engineers, embodying the responsibility.</li><li>Never lose sight of the bigger picture: Remember that technical work contributes to a larger purpose, so focus on making a positive impact.</li></ol><p>Senior software engineers can achieve greater success and satisfaction in their careers by embracing resilience.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-IvnVgTaUAoCCLzI" /><figcaption>Get things done</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=41b20e86b03b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Gen Z Software Developers]]></title>
            <link>https://mogakapolycarp.medium.com/gen-z-software-developers-3cb3ed9c9c91?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/3cb3ed9c9c91</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[self-improvement]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Tue, 27 Dec 2022 12:45:08 GMT</pubDate>
            <atom:updated>2022-12-27T12:45:08.939Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/720/1*CmHQzGasdhsBD5N3xt_DkQ.jpeg" /><figcaption>Debugging code</figcaption></figure><p>Often called “digital natives,” they have grown up surrounded by technology and have had access to a wide range of resources and tools that their counterparts may not have had. This has given them a unique set of skills and knowledge that make them well-equipped to succeed in the rapidly-evolving field of software development.</p><p>Although I don’t belong to this group, I’m always intrigued by their energy, approach to problem solving, and passion for the latest technology trends. This is what needs to be leveraged.</p><p>One reason why the new generation of developers may be better equipped is that they have had access to a wide range of programming languages and frameworks from a young age. With the proliferation of online resources such as online coding tutorials and open-source projects, it has become easier for young developers to learn and experiment with new technologies. This means that they can adapt to new technologies and programming languages more quickly than older developers who may have learned only a few languages during their careers.</p><p>Another reason why the new generation of developers may be better equipped is that they have grown up with social media and other online platforms, giving them a strong understanding of how to effectively communicate and collaborate with others online. This is an increasingly important skill in the world of software development, where teams are often distributed and remote collaboration is the norm.</p><p>In addition, the new generation of developers has also had access to a wide range of tools and resources that have made it easier to develop software. This includes integrated development environments (IDEs) that provide a range of features such as code completion, debugging, and version control, as well as cloud-based platforms that allow developers to deploy and host their applications with ease.</p><p>Overall, the new generation of developers is well-equipped to succeed in the field of software development due to their access to a wide range of programming languages and frameworks, strong communication and collaboration skills, and a range of tools and resources that make it easier to develop software.</p><p><em>I am a seasoned developer more passionate about using technology to improve quality of life.Kindly follow me on </em><a href="https://mogakapolycarp.medium.com/"><em>medium</em></a><em> and </em><a href="http://www.linkedin.com/in/%20%20polycarp-okeyo"><em>linkedIn</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3cb3ed9c9c91" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Senior Developer Chronicles]]></title>
            <link>https://mogakapolycarp.medium.com/senior-developer-chronicles-9deb99d5d599?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/9deb99d5d599</guid>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Wed, 14 Dec 2022 08:11:06 GMT</pubDate>
            <atom:updated>2022-12-14T08:11:06.258Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Being an effective programmer is about more than just knowing how to code. It’s also about being able to solve problems, think logically, and communicate effectively. Here are a few tips to help you become a better programmer:</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bDAJAWq2mBKTsUdOp-hXoQ.jpeg" /><figcaption>Master your craft</figcaption></figure><ol><li>Get a good understanding of the syntax and structure of the programming language you’re using, as well as the tools and libraries available to you. Take the time to learn the fundamentals, and you’ll be able to build a strong foundation for your future work.</li><li>Practice, practice, practice. The best way to improve your programming skills is to write code as often as you can. This will help you get a feel for the language, and you’ll be able to see how your code works in a variety of situations. It’s also a good idea to work on a variety of different projects, as this will help you develop a more well-rounded skill set.</li><li>Collaborate with others. No programmer is an island, and it’s important to be able to work well with others. This means being able to communicate effectively, sharing your code, and asking for help when you need it. Collaborating with others will also help you learn from their experiences and gain new perspectives on how to approach problems.</li><li>Stay organized. Writing code can be messy, and it’s easy to lose track of what you’re doing if you don’t stay organized. Use comments, indentation, and other tools to keep your code readable and easy to understand. This will make it easier to collaborate with others and to revisit your code later on.</li><li>Keep learning. The world of programming is always changing, and it’s important to stay up to date with the latest developments. This means reading blogs, attending conferences, and taking online courses to learn new languages, frameworks, and best practices. By constantly learning, you’ll be able to stay at the forefront of your field.</li></ol><p>In conclusion, being an effective programmer requires more than just knowing how to code. It’s also about being able to solve problems, think logically, and communicate effectively. By following the tips above, you can develop the skills you need to be a successful programmer.</p><p><a href="https://www.linkedin.com/in/polycarp-okeyo/"><em>If you need help on how to get started with programming and software engineering.Am ready to chip in and be useful.</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9deb99d5d599" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Developer Chronicles]]></title>
            <link>https://mogakapolycarp.medium.com/developer-chronicles-6d4b6e780c60?source=rss-75e413aaa551------2</link>
            <guid isPermaLink="false">https://medium.com/p/6d4b6e780c60</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[developer]]></category>
            <dc:creator><![CDATA[Mogaka Polycarp]]></dc:creator>
            <pubDate>Wed, 09 Nov 2022 11:18:38 GMT</pubDate>
            <atom:updated>2022-11-09T11:18:38.538Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xoGe5KU4pT3xHdEfR4kVkQ.jpeg" /></figure><p>Developers desire continuous improvement, but are not willing to put in the effort to achieve it.</p><p>The following principles will create a simple guide to achieve the same effortlessly.</p><p>Use the DRY principle in your daily activities. Don’t try to be smart coz you’re bringing more bugs into the application. Duplicate code makes it long ,boring and unmaintainable.</p><p>Always divide your code into simple 8-line functions which should be narrowly aligned to one responsibility.</p><p>Keep code simple and stupid for another software enginer to understand. This will remove the need for boring comments as they are a sign of immaturity in programming. Technically avoid abstractions.</p><p>Flaunting to impress should be left to junior developers who want to impress their thinking.</p><p>Software should be open for extension but closed for modification.</p><p>Remove any unused code from a repository(You aren’t gonna need it). Don’t be more ambitious than the business. You can maintain those fancy methods in your private repo and use them when necessary.</p><p>Businesses value simplicity over feature-richness.</p><p>Developers don’t serve principles. Principles serve developers</p><p><a href="https://www.linkedin.com/in/polycarp-okeyo/"><em>Polycarp Okeyo</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6d4b6e780c60" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>