<?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 Mugabira Anthony on Medium]]></title>
        <description><![CDATA[Stories by Mugabira Anthony on Medium]]></description>
        <link>https://medium.com/@mullegow?source=rss-53fb6534f309------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*BUtLst8nPXf9iUur</url>
            <title>Stories by Mugabira Anthony on Medium</title>
            <link>https://medium.com/@mullegow?source=rss-53fb6534f309------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 21:39:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@mullegow/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 & Incident Resolution in Industrial Analytics Platforms]]></title>
            <link>https://medium.com/@mullegow/troubleshooting-incident-resolution-in-industrial-analytics-platforms-9453371ee11c?source=rss-53fb6534f309------2</link>
            <guid isPermaLink="false">https://medium.com/p/9453371ee11c</guid>
            <dc:creator><![CDATA[Mugabira Anthony]]></dc:creator>
            <pubDate>Mon, 02 Feb 2026 12:53:20 GMT</pubDate>
            <atom:updated>2026-02-02T12:53:20.945Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/997/1*RWWymYrzYc53ufmIoWncqg.gif" /></figure><h3>A Support Engineer’s Perspective</h3><p>Supporting an industrial analytics platform requires a disciplined, systems-first troubleshooting approach. Failures rarely occur in isolation; they emerge from the interaction between operating systems, network controls, application services, and customer-specific configurations. This section outlines a <strong>structured, repeatable troubleshooting methodology</strong> based on real-world support scenarios in hybrid Windows–Linux environments.</p><h3>1. Symptom Validation &amp; Scope Definition</h3><p>The first step is confirming <strong>what is failing and what is not</strong>.</p><p>For example, a common issue encountered in production environments is a <strong>web interface timing out</strong> while the underlying host remains reachable.</p><p>Key validation checks:</p><ul><li>ICMP connectivity (ping) succeeds</li><li>TCP port connection attempts hang or time out</li><li>Issue is consistent across multiple clients</li></ul><p>This immediately indicates that the problem is <strong>not basic network reachability</strong>, but likely:</p><ul><li>Firewall rules</li><li>Service availability</li><li>Application-layer configuration</li></ul><p>At this stage, avoid assumptions. The goal is to <strong>reduce the problem space</strong>, using the elimination method in problem analysis not jump to conclusions.</p><h3>2. Network &amp; Firewall Verification</h3><p>Once host reachability is confirmed, the next layer is <strong>traffic allowance</strong>.</p><p>Actions:</p><ul><li>Inspect inbound firewall rules on the server</li><li>Verify that the expected service port (e.g., 80/443) is explicitly allowed</li><li>Check rule precedence and disabled rules</li><li>Confirm whether a recent security or monitoring alert triggered a rule change</li></ul><p>In real-world environments, automated security tooling or manual changes can silently disable critical inbound rules. Re-enabling the correct rule often resolves the timeout immediately — but resolution should never stop here.</p><h3>3. Service State &amp; Dependency Checks</h3><p>Even with correct firewall rules, application services may not be running.</p><p>Checks include:</p><ul><li>Verifying service status (systemd on Linux, Services MMC on Windows)</li><li>Restarting stopped or hung services</li><li>Confirming dependent services (e.g., database, message broker)</li></ul><p>In one troubleshooting scenario, the web service was found to be <strong>stopped</strong>, indicating that the firewall issue was only one layer of a deeper failure chain.</p><h3>4. Log-Centered Root Cause Analysis</h3><p>Logs are the primary source of truth in support engineering.</p><p>Key log sources:</p><ul><li>Application logs (web server, analytics engine)</li><li>System logs (journalctl, Event Viewer)</li><li>Security and audit logs</li></ul><p>In this case, reviewing system and application logs revealed repeated <strong>permission-related failures</strong> during service startup.</p><p>Rather than treating the service restart as a fix, logs made it clear that:</p><ul><li>The application was failing deterministically</li><li>The issue would recur without corrective action</li></ul><h3>5. Configuration &amp; Permissions Validation</h3><p>The root cause was traced to incorrect filesystem permissions on a critical configuration directory used by the web server (e.g., nginx).</p><p>Resolution steps:</p><ul><li>Verify ownership and permissions of configuration and runtime directories</li><li>Align permissions with the service account used by the application</li><li>Apply least-privilege principles while ensuring operational access</li><li>Restart services and validate startup logs</li></ul><p>Once permissions were corrected, the service started cleanly and HTTP requests completed successfully.</p><h3>6. Post-Fix Verification &amp; Customer Confirmation</h3><p>A fix is not complete until it is validated.</p><p>Post-resolution checks:</p><ul><li>Confirm HTTP(S) responses from multiple clients</li><li>Monitor logs for residual errors</li><li>Validate that dependent analytics or background jobs are running</li><li>Communicate resolution clearly to stakeholders</li></ul><p>This step ensures confidence and prevents regressions.</p><h3>7. Lessons Learned (Support Engineering Value)</h3><p>This scenario highlights several principles critical to effective software support:</p><ul><li><strong>Layered thinking beats guesswork</strong> Network → Service → Logs → Configuration</li><li><strong>Symptoms can mask root causes</strong> The firewall issue was real — but not the final answer</li><li><strong>Logs are non-negotiable</strong> Every serious support investigation must end in logs</li><li><strong>Permanent fixes matter more than fast fixes</strong> Correcting permissions prevents future outages</li></ul><h3>Why This Matters for Industrial AI Platforms</h3><p>Industrial analytics systems operate in <strong>complex, customer-controlled environments</strong>. Support engineers must diagnose issues quickly, explain root causes clearly, and implement durable fixes often while customers are waiting on critical operational decisions.</p><p>Strong support engineering is not just about restoring service. It is about <strong>building trust through competence, clarity, and rigor</strong>.</p><p>#SoftwareSupport #SupportEngineering #IncidentManagement #RootCauseAnalysis #Linux #Networking#IndustrialAI #DecisionIntelligence #Windows</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9453371ee11c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Designing and Troubleshooting a Hybrid Industrial Analytics Architecture: A Reference Guide]]></title>
            <link>https://medium.com/@mullegow/designing-and-troubleshooting-a-hybrid-industrial-analytics-architecture-a-reference-guide-bb1f2988c64f?source=rss-53fb6534f309------2</link>
            <guid isPermaLink="false">https://medium.com/p/bb1f2988c64f</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[cortex]]></category>
            <category><![CDATA[seeq]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Mugabira Anthony]]></dc:creator>
            <pubDate>Tue, 27 Jan 2026 13:08:36 GMT</pubDate>
            <atom:updated>2026-01-27T13:08:36.618Z</atom:updated>
            <content:encoded><![CDATA[<h3>Abstract</h3><p>Industrial analytics platforms are increasingly deployed in hybrid environments that span on-premise industrial networks and cloud-hosted analytics services. This article presents a reference architecture inspired by common industry patterns, highlighting core components, security zones, common failure modes, and a structured troubleshooting approach for distributed analytics systems.</p><blockquote><strong><em>Disclaimer:</em></strong><em> This article presents a generic reference architecture and does not represent any vendor’s proprietary system. All scenarios are based on publicly available patterns and personal lab simulations.</em></blockquote><h3>1. Introduction</h3><p>Modern industrial organizations rely on advanced analytics platforms to transform process data into actionable insights. These platforms typically ingest data from historians, PLCs, and enterprise databases and provide centralized analytics, visualization, and collaboration tools.</p><p>Due to security, latency, and regulatory requirements, deployments are often <strong>hybrid</strong>, combining on-premise data collection with cloud-based analytics platforms.</p><h3>2. Reference Architecture Overview</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*_KLdyJRdmQdm6fJJKz99nw.png" /></figure><p>A typical hybrid industrial analytics deployment consists of five core components:</p><h3>2.1 Analytics Core Server</h3><p>The central platform responsible for:</p><ul><li>Data analytics and computation</li><li>User interfaces and APIs</li><li>Metadata storage and signal processing</li></ul><p>This component is commonly deployed on Linux virtual machines in a cloud or on-premise environment.</p><h3>2.2 Reverse Proxy / Web Gateway</h3><p>A reverse proxy (e.g., Nginx or Apache) is often placed in front of the analytics core to:</p><ul><li>Terminate TLS</li><li>Enforce authentication and routing</li><li>Provide a security boundary</li></ul><h3>2.3 Remote Data Agent</h3><p>Remote agents run inside industrial networks and act as secure bridges between internal data sources and the analytics platform.<br> Key characteristics include:</p><ul><li>Outbound-only HTTPS connections</li><li>No inbound firewall exposure</li><li>Data buffering and retry logic</li></ul><h3>2.4 Industrial Data Sources</h3><p>Common data sources include:</p><ul><li>Process historians (e.g., PI System)</li><li>SQL databases</li><li>OPC UA servers</li><li>IoT gateways and PLC networks</li></ul><h3>2.5 End Users</h3><p>Users access the platform via web browsers, often through corporate identity providers using SAML or OAuth.</p><h3>3. Security and Network Zones</h3><p>Hybrid deployments typically separate environments into:</p><h3>3.1 Factory Network (On-Premise)</h3><ul><li>Strict firewalls</li><li>No inbound internet exposure</li><li>Hosts historians and control systems</li><li>Remote agents reside here</li></ul><h3>3.2 Cloud or Enterprise Data Center</h3><ul><li>Hosts analytics core</li><li>Public or private access via HTTPS</li><li>Integrated with identity providers</li></ul><h3>3.3 DMZ / Reverse Proxy Layer</h3><ul><li>Enforces TLS and routing</li><li>Prevents direct access to core services</li></ul><h3>4. Common Failure Modes</h3><p>Distributed analytics platforms are susceptible to several operational issues:</p><h3>4.1 Remote Agent Connectivity Failures</h3><ul><li>Firewall blocks outbound HTTPS</li><li>Proxy misconfiguration</li><li>Certificate validation errors</li></ul><h3>4.2 Web Server Timeouts</h3><ul><li>Reverse proxy routing issues</li><li>Service crashes</li><li>Resource exhaustion (CPU, memory, disk)</li></ul><h3>4.3 Authentication and Authorization Issues</h3><ul><li>SSO misconfiguration</li><li>Expired certificates</li><li>Role or permission mismatches</li></ul><h3>4.4 Data Source Integration Failures</h3><ul><li>Network segmentation</li><li>Credential issues</li><li>Protocol mismatches</li></ul><h3>4.5 Configuration and Permission Errors</h3><ul><li>Incorrect filesystem permissions</li><li>Misconfigured service accounts</li><li>Corrupted configuration files</li></ul><h3>5. Structured Troubleshooting Playbook</h3><p>A systematic troubleshooting approach reduces mean time to resolution:</p><h3>Step 1: Network Reachability</h3><ul><li>ICMP ping to confirm network connectivity</li><li>TCP port checks for HTTPS and service ports</li></ul><h3>Step 2: Application Layer Validation</h3><ul><li>HTTP/HTTPS requests to verify web server response</li><li>Reverse proxy routing validation</li></ul><h3>Step 3: Service Health</h3><ul><li>Verify analytics core and agent services are running</li><li>Restart and inspect service logs</li></ul><h3>Step 4: Logs and Event Analysis</h3><ul><li>Application logs</li><li>System logs</li><li>Security logs and audit trails</li></ul><h3>Step 5: Permissions and Configuration</h3><ul><li>Validate configuration directory permissions</li><li>Check service account privileges</li><li>Confirm file integrity</li></ul><h3>Step 6: Security and Certificates</h3><ul><li>TLS certificate validity</li><li>Trust chain verification</li><li>Identity provider configuration</li></ul><h3>6. Observability and Reliability Considerations</h3><p>To maintain production reliability:</p><ul><li>Centralized logging (ELK, CloudWatch, Splunk)</li><li>Metrics and alerts (Prometheus, Grafana)</li><li>Health checks and synthetic monitoring</li><li>Automated backup and disaster recovery</li></ul><h3>7. Lessons Learned</h3><p>Hybrid analytics architectures require:</p><ul><li>Clear separation of security zones</li><li>Outbound-only data ingestion patterns</li><li>Strong observability practices</li><li>Root cause analysis discipline</li><li>Detailed documentation and runbooks</li></ul><p>A support engineer must combine networking, systems administration, security, and application-level troubleshooting skills to maintain reliability in these environments.</p><h3>8. Conclusion</h3><p>Hybrid industrial analytics platforms represent complex distributed systems that bridge operational technology and IT environments. Understanding their architecture, security boundaries, and failure modes is critical for reliable deployment and support.</p><p>This reference architecture and troubleshooting framework can serve as a foundation for engineers building or supporting modern industrial analytics platforms.</p><h3>About the Author</h3><blockquote><em>Anthony Mugabira is a software engineer with experience in distributed systems, cloud deployments, and production troubleshooting. He is currently building lab environments to simulate industrial analytics deployments and improve operational reliability practices.</em></blockquote><p>Modern industrial organizations rely on advanced analytics platforms to transform process data into actionable insights. These platforms typically ingest data from historians, PLCs, and enterprise databases and provide centralized analytics, visualization, and collaboration tools.</p><p>Due to security, latency, and regulatory requirements, deployments are often <strong>hybrid</strong>, combining on-premise data collection with cloud-based analytics platforms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bb1f2988c64f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Software Engineer: How to stay relevant in the Age of AI]]></title>
            <link>https://medium.com/@mullegow/software-engineer-how-to-stay-relevant-in-the-age-of-ai-404a96de3284?source=rss-53fb6534f309------2</link>
            <guid isPermaLink="false">https://medium.com/p/404a96de3284</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-engineering]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Mugabira Anthony]]></dc:creator>
            <pubDate>Wed, 02 Jul 2025 20:13:24 GMT</pubDate>
            <atom:updated>2025-07-03T05:21:42.434Z</atom:updated>
            <content:encoded><![CDATA[<p>AI-powered coding assistants like GitHub Copilot, ChatGPT, and Claude are transforming software development. They can generate boilerplate code, debug errors, and even suggest architectural patterns — raising a critical question:</p><p><strong>How do software engineers stay valuable when AI can write code?</strong></p><p>The answer isn’t to compete with AI but to <strong>evolve beyond it</strong>. The engineers who thrive in this new era won’t just write code, they’ll <strong>orchestrate AI, solve high-impact problems, and design systems that machines can’t</strong>.</p><p>Here’s how to position yourself for the future.</p><h3>1. Master AI as a Co-Pilot, Not a Replacement</h3><p>AI is a powerful assistant, but it lacks judgment, context, and creativity. Your role now includes:</p><ul><li><strong>Prompt Engineering: </strong>Learn how to guide AI to produce better outputs (e.g., “Generate a Python microservice with FastAPI, SQLAlchemy, and JWT auth”).</li><li><strong>Augmentation Over Automation</strong> : Use AI for repetitive tasks (unit tests, documentation, CRUD code) so you can focus on high-value work.</li><li><strong>Validation &amp; Refinement:</strong> AI-generated code often contains subtle bugs, security flaws, or inefficiencies. Your expertise ensures correctness.</li></ul><p><strong>Example</strong>: Instead of manually writing a REST API, generate a draft with AI, then refine it for performance, security, and scalability.</p><h3>2. Double Down on “Un-AI-able” Skills</h3><p>AI struggles with ambiguity, strategy, and human-centric thinking. Differentiate yourself by excelling in:</p><ul><li><strong>Systems Thinking: </strong>Designing distributed architectures, optimizing bottlenecks, and making high-level trade-offs.</li><li><strong>Problem Discovery: </strong>AI can solve well-defined problems, but it can’t <em>identify</em> them. Work closely with stakeholders to uncover real needs.</li><li><strong>Ethics &amp; Governance:</strong> Ensuring AI-generated code is secure, compliant, and unbiased.</li><li><strong>Soft Skills</strong> :Leadership, mentoring, and cross-functional collaboration remain irreplaceable.</li></ul><h3>3. Specialize in High-Context Domains</h3><p>AI excels at generic code but falters in niche areas requiring deep expertise. Consider specializing in:</p><ul><li><strong>Legacy Systems:</strong> COBOL, mainframes, and outdated tech stacks still power critical infrastructure.</li><li><strong>Embedded &amp; Low-Level Programming: </strong>Firmware, IoT, and kernel development demand precision where AI struggles.</li><li><strong>Domain-Specific Logic:</strong> Finance, healthcare, and aerospace have complex regulations and business rules.</li><li><strong>AI/ML Engineering</strong> : If you can’t beat AI, <em>build</em> it. Learn MLOps, model tuning, and data pipelines.</li></ul><h3>4. Focus on Quality &amp; Craftsmanship</h3><p>AI can produce code, but <strong>great software requires judgment</strong>. Stand out by:</p><ul><li><strong>Rigorous Code Review:</strong> AI-generated code often lacks elegance or maintainability. Enforce best practices.</li><li><strong>Testing &amp; Reliability</strong> : Implement advanced testing strategies (chaos engineering, property-based testing).</li><li><strong>User-Centric Design:</strong> AI can’t empathize with users. Advocate for clean UX and intuitive interfaces.</li></ul><h3>5. Become a Hybrid Engineer</h3><p>The future belongs to <strong>T-shaped engineers:</strong> deep in one area but versatile across disciplines.</p><ul><li><strong>Learn Adjacent Skills</strong> : DevOps, cloud architecture, data engineering, or product management.</li><li><strong>Own End-to-End Solutions</strong> : Use AI to bridge gaps (e.g., generate frontend code from Figma) while focusing on system-wide impact.</li></ul><h3>6. Future-Proof Your Learning</h3><ul><li><strong>Stay Ahead of AI Trends</strong> : Follow AI advancements (LangChain, AutoML) and experiment with new tools.</li><li><strong>Build in Public:</strong> Share AI-augmented projects on GitHub. Showcase how you <em>strategically</em> integrate AI.</li><li><strong>Ethical Foresight: </strong>Advocate for responsible AI use in software development.</li></ul><h3>The Bottom Line: AI Automates Tasks, Not Judgment</h3><p>The most successful engineers won’t just write code , they’ll:</p><p>✅ <strong>Ask better questions</strong> than AI can answer.<br>✅ <strong>Design smarter systems</strong> that AI can’t envision.<br>✅ <strong>Amplify their impact</strong> by leveraging AI ethically.</p><p><strong>Your value isn’t in typing code — it’s in thinking beyond it.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=404a96de3284" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why PostgreSQL is the Ultimate Database Choice Over MySQL and MSSQL]]></title>
            <link>https://medium.com/@mullegow/why-postgresql-is-the-ultimate-database-choice-over-mysql-and-mssql-75ac78c8618a?source=rss-53fb6534f309------2</link>
            <guid isPermaLink="false">https://medium.com/p/75ac78c8618a</guid>
            <category><![CDATA[database-management]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[postgresql]]></category>
            <category><![CDATA[mysql]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Mugabira Anthony]]></dc:creator>
            <pubDate>Tue, 06 May 2025 16:13:27 GMT</pubDate>
            <atom:updated>2025-05-06T16:13:27.252Z</atom:updated>
            <content:encoded><![CDATA[<h3>1. Advanced JSON/JSONB Support</h3><p>PostgreSQL has superior JSON handling compared to MySQL and MSSQL, with functions and operators for deep JSON manipulation:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*FVQ6NS3tU7YlZDRW_3reTw.png" /><figcaption>2. Full-Text Search with Advanced Features</figcaption></figure><h3>2. Full-Text Search with Advanced Features</h3><p>PostgreSQL’s full-text search is more powerful than MySQL’s and MSSQL’s:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/941/1*IXQJEFqmcH0IHw2VSYoTuQ.png" /><figcaption>3. DISTINCT ON (Unique Rows per Group)</figcaption></figure><h3>3. DISTINCT ON (Unique Rows per Group)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/973/1*OOwQl3lKGP36aBmbRu7QOg.png" /></figure><p>PostgreSQL allows selecting distinct rows based on a subset of columns while returning other columns:</p><h3>4. Range Types and Operators</h3><p>PostgreSQL supports range types (int4range, tsrange, etc.) with specialized operators:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/998/1*WJsgFlk3tXjM1Kp6ojYkAQ.png" /></figure><h3>5. Window Functions with Frame Exclusion</h3><p>PostgreSQL supports advanced window function options like EXCLUDE:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/978/1*OPVTMxMCLbFTDh0ExzAcWg.png" /></figure><h3>6. LATERAL JOINs</h3><p>PostgreSQL allows LATERAL joins for row-wise subqueries:</p><p>sql</p><pre>-- Get top 3 products for each category<br>SELECT c.name, p.product_name, p.price<br>FROM categories c<br>LEFT JOIN LATERAL (<br>    SELECT product_name, price<br>    FROM products<br>    WHERE category_id = c.id<br>    ORDER BY price DESC<br>    LIMIT 3<br>) p ON true;</pre><p>*MySQL 8.0+ and MSSQL support LATERAL (via CROSS/OUTER APPLY), but PostgreSQL&#39;s implementation is more flexible.*</p><h3>7. WITH RECURSIVE (Advanced CTEs)</h3><p>PostgreSQL’s recursive CTEs are more flexible than MySQL’s and MSSQL’s:</p><p>sql</p><pre>-- Hierarchical query (e.g., organizational chart)<br>WITH RECURSIVE org_tree AS (<br>    SELECT id, name, manager_id FROM employees WHERE id = 1<br>    UNION ALL<br>    SELECT e.id, e.name, e.manager_id<br>    FROM employees e<br>    JOIN org_tree ot ON e.manager_id = ot.id<br>)<br>SELECT * FROM org_tree;</pre><p><em>MySQL and MSSQL support recursive CTEs, but PostgreSQL allows more complex operations inside them.</em></p><h3>8. Table Functions (Returning Tables from Functions)</h3><p>PostgreSQL allows functions to return tables dynamically:</p><p>sql</p><pre>-- Generate a series and join with another table<br>SELECT * FROM generate_series(1, 10) AS nums(n)<br>JOIN products ON nums.n = products.category_id;</pre><p><em>MySQL and MSSQL lack this flexibility in table functions.</em></p><h3>9. Advanced Pattern Matching (SIMILAR TO, ~)</h3><p>PostgreSQL supports regex and SIMILAR TO:</p><p>sql</p><pre>-- Regex matching<br>SELECT * FROM logs WHERE message ~ &#39;error|failure&#39;;</pre><pre>-- SIMILAR TO (SQL-standard pattern matching)<br>SELECT * FROM users WHERE name SIMILAR TO &#39;(A|B)%son&#39;;</pre><p><em>MySQL has </em><em>REGEXP, and MSSQL has </em><em>LIKE with limited regex support, but PostgreSQL&#39;s implementation is more powerful.</em></p><h3>10. Custom Aggregates and Window Functions</h3><p>PostgreSQL allows defining custom aggregates and window functions:</p><p>sql</p><pre>-- Create a custom aggregate<br>CREATE AGGREGATE median(numeric) (<br>    SFUNC = array_append,<br>    STYPE = numeric[],<br>    FINALFUNC = compute_median<br>);</pre><p><em>MySQL and MSSQL do not support custom aggregates as flexibly.</em></p><h3>11. GIS Queries with PostGIS</h3><p>PostgreSQL with PostGIS offers superior geospatial queries:</p><p>sql</p><pre>-- Find points within 10 km of a location<br>SELECT name FROM places <br>WHERE ST_DWithin(<br>    location,<br>    ST_MakePoint(-73.935242, 40.730610)::geography,<br>    10000<br>);</pre><p><em>MySQL and MSSQL have GIS features but are less comprehensive than PostGIS.</em></p><h3>12. Hstore (Key-Value Store in a Column)</h3><p>PostgreSQL supports hstore for key-value pairs:</p><p>sql</p><pre>-- Query hstore data<br>SELECT profile-&gt;&#39;twitter&#39; FROM users WHERE profile ? &#39;github&#39;;</pre><p><em>MySQL and MSSQL lack a native key-value column type.</em></p><h3>13. Time Travel Queries (WITH OIDS, but deprecated)</h3><p>PostgreSQL once supported time travel (now mostly via extensions like temporal_tables).</p><h3>14. Materialized View Auto-Refresh</h3><p>PostgreSQL allows incremental refreshes of materialized views:</p><p>sql</p><pre>REFRESH MATERIALIZED VIEW CONCURRENTLY sales_summary;</pre><p><em>MySQL lacks materialized views, and MSSQL requires manual handling.</em></p><h3>15. Advanced Indexing Options</h3><p>PostgreSQL supports indexes not found in MySQL/MSSQL:</p><p>sql</p><pre>-- Partial indexes<br>CREATE INDEX active_users ON users(email) WHERE is_active;</pre><pre>-- Expression indexes<br>CREATE INDEX lower_name_idx ON users(LOWER(name));</pre><p><em>MySQL and MSSQL have limited support for these.</em></p><h3>Conclusion</h3><p>PostgreSQL’s extensibility, standards compliance, and advanced SQL features make it uniquely powerful for complex queries. While MySQL and MSSQL have some overlapping functionality, PostgreSQL stands out in areas like JSON, full-text search, ranges, and custom aggregates.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75ac78c8618a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Get industrial training before moving into self employment or freelance software development]]></title>
            <link>https://medium.com/@mullegow/get-industrial-training-before-moving-into-self-employment-or-freelance-software-development-e3a95d012dad?source=rss-53fb6534f309------2</link>
            <guid isPermaLink="false">https://medium.com/p/e3a95d012dad</guid>
            <category><![CDATA[freelancing]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Mugabira Anthony]]></dc:creator>
            <pubDate>Sun, 20 Oct 2019 19:30:38 GMT</pubDate>
            <atom:updated>2019-10-20T19:30:38.936Z</atom:updated>
            <content:encoded><![CDATA[<p>Having spend most of my after school time in self employment, freelancing and short term periodic software/ mobile development contracts, I have observed a pattern that is worthy sharing among software developers who never have industrial experience but move into self employment or freelance software development.</p><p>We live in an era where software development has been declassified, it does not require someone with a high IQ to build software but rather someone with the ability of break down the software into smaller components and then search the solutions online.</p><p>Many developers who after school move into self employment or freelance development are able to deliver the customer needs but many times miss some very key aspects of software development. Some of these are: Ability to collaborate in teams, writing standard and reusable code and this may even go as far as lack the problem solving skills.</p><p>Good programmers should always be mindful of their coding style, and develop a style that communicates the important aspects of a program’s design for both humans and computers. However, having not had a chance to work in teams, many freelance developers lack the industry acceptable styles of coding. Here is some coding styles that are standard in java.</p><p>Use meaningful names for identifiers. Programmers should always choose names that can be read aloud and reflect the action, responsibility, or data each identifier is naming. The tradition in most Java circles is to capitalise the first letter of each word in an identifier, except for the first word in an identifier for a variable or method. For example, “Phone,” “Building” would identify classes, and ‘isEmpty(),” “insertRecord(),” “phoneNumber,” and “buildingHeight” would respectively identify methods and variables.</p><p>Further, many times school to freelance developers, because of the ability to easily find solutions on stackoverflow and other sources online, the ability to analyse and find solutions to problems through analytical thinking and problem solving is eroded.</p><p>Without facing challenging that they can solve by themselves, due to the availability of easy solutions online, the IQ is reduced and ability to think out of the box is compromised.</p><p>My advise is that if there is an opportunity, software developers who need to grow in the discipline need to have to work under mentorship or industries before they can start taking on freelance or lone warriors.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e3a95d012dad" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>