<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Anaya Manwa</title>
    <description>The latest articles on DEV Community by Anaya Manwa (@anaya_manwa_cdff7d1921385).</description>
    <link>https://dev.to/anaya_manwa_cdff7d1921385</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3409730%2F9dc6cade-086a-417b-b468-4726f42bb458.png</url>
      <title>DEV Community: Anaya Manwa</title>
      <link>https://dev.to/anaya_manwa_cdff7d1921385</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/anaya_manwa_cdff7d1921385"/>
    <language>en</language>
    <item>
      <title>ANOVA IN A NUTSHELL</title>
      <dc:creator>Anaya Manwa</dc:creator>
      <pubDate>Tue, 21 Oct 2025 06:44:17 +0000</pubDate>
      <link>https://dev.to/anaya_manwa_cdff7d1921385/anova-in-a-nutshell-2ekn</link>
      <guid>https://dev.to/anaya_manwa_cdff7d1921385/anova-in-a-nutshell-2ekn</guid>
      <description>&lt;p&gt;Let’s break down ANOVA—Analysis of Variance—in a more academic, straightforward way.&lt;/p&gt;

&lt;p&gt;Researchers often face the challenge of determining whether observed differences among multiple groups are meaningful or simply due to chance. When there are more than two groups involved, ANOVA is the preferred statistical method. Developed by Ronald A. Fisher, ANOVA tests the hypothesis that the means of several groups are equal. Rather than running separate comparisons for every possible pair of groups (which increases the risk of making errors), ANOVA evaluates all groups simultaneously, offering a more reliable and systematic approach.&lt;/p&gt;

&lt;p&gt;Essentially, ANOVA addresses a key question: Are the differences among these group averages statistically significant, or could they have occurred randomly?&lt;/p&gt;

&lt;p&gt;The method works by analyzing two types of variation in the data:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Between-group variation: This measures how much the means of different groups deviate from the overall mean.&lt;/li&gt;
&lt;li&gt;Within-group variation: This captures how much individual values vary within each group.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If the variation between the groups is significantly greater than the variation within the groups, it suggests that not all group means are the same.&lt;/p&gt;

&lt;p&gt;Once ANOVA is conducted, two important statistical values are produced: the F-value and the p-value.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The F-value represents the ratio of between-group variation to within-group variation. A larger F-value typically signals a higher likelihood that the group means are not all equal.&lt;/li&gt;
&lt;li&gt;The p-value indicates the probability that the observed differences happened by chance. If the p-value is less than 0.05, the result is considered statistically significant, implying that at least one group mean is different. If the p-value is 0.05 or greater, there is no significant difference detected.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;For example, suppose a teacher is evaluating three different teaching methods—A, B, and C. After collecting student test scores and running an ANOVA, she obtains an F-value of 6.45 and a p-value of 0.018. Since the p-value is below 0.05, this suggests there is a significant difference between at least one of the teaching methods. However, ANOVA does not identify which specific method is different; further analysis, such as Tukey’s post-hoc test, would be needed for that.&lt;/p&gt;

&lt;p&gt;There are several types of ANOVA commonly used:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One-Way ANOVA: Compares the means of three or more groups based on one independent variable (for example, different teachers).&lt;/li&gt;
&lt;li&gt;Two-Way ANOVA: Examines how two independent variables affect group means (for example, teaching method and study time).&lt;/li&gt;
&lt;li&gt;Repeated Measures ANOVA: Analyzes the same subjects under different conditions or over time (for example, students’ progress at multiple time points).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;ANOVA is widely used in various fields, including education, medicine, agriculture, business, and psychology. It allows researchers to make informed, data-driven decisions, distinguish real effects from random variation, and understand the factors influencing outcomes.&lt;/p&gt;

&lt;p&gt;In summary, ANOVA is a fundamental tool for comparing means across multiple groups efficiently and accurately. By interpreting the F-value and p-value, researchers can draw reliable conclusions and advance both academic research and practical applications.&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>datascience</category>
      <category>learning</category>
    </item>
    <item>
      <title>Differences between a subquery, a CTE, and a stored procedure.</title>
      <dc:creator>Anaya Manwa</dc:creator>
      <pubDate>Wed, 03 Sep 2025 06:51:45 +0000</pubDate>
      <link>https://dev.to/anaya_manwa_cdff7d1921385/differences-between-a-subquery-a-cte-and-a-stored-procedure-4nh7</link>
      <guid>https://dev.to/anaya_manwa_cdff7d1921385/differences-between-a-subquery-a-cte-and-a-stored-procedure-4nh7</guid>
      <description>&lt;h2&gt;
  
  
  Subquery vs CTE vs Stored Procedure: Technical Breakdown
&lt;/h2&gt;

&lt;p&gt;When you’re dealing with SQL, you’ve got three primary tools for organizing your code: subqueries, CTEs (Common Table Expressions), and stored procedures. Each has a distinct role and technical characteristics you need to know.&lt;/p&gt;




&lt;h3&gt;
  
  
  1. Subquery
&lt;/h3&gt;

&lt;p&gt;A subquery is basically a query embedded inside another SQL statement. You wrap it in parentheses and slot it into &lt;code&gt;SELECT&lt;/code&gt;, &lt;code&gt;FROM&lt;/code&gt;, or &lt;code&gt;WHERE&lt;/code&gt; clauses. It’s mostly used for situations where you need a temporary result—think of it as an inline helper.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical specifics:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scope: Only exists within the main query.&lt;/li&gt;
&lt;li&gt;Types: Correlated (runs per row in the outer query) or uncorrelated (runs independently).&lt;/li&gt;
&lt;li&gt;Use case: Quick, one-off data retrieval—don’t lean on these for heavy lifting, performance can tank if overused.&lt;/li&gt;
&lt;li&gt;Limitation: Not reusable outside the statement.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;customers&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;customer_id&lt;/span&gt;
    &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;orders&lt;/span&gt;
    &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;total_amount&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;
&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Here, the subquery pulls qualifying customer IDs. The main query fetches names based on those IDs.&lt;/p&gt;




&lt;h3&gt;
  
  
  2. Common Table Expression (CTE)
&lt;/h3&gt;

&lt;p&gt;CTEs let you define a named temporary result set using the &lt;code&gt;WITH&lt;/code&gt; clause. This is ideal for breaking up complex queries into logical parts, and it supports recursion—something subqueries just don’t do.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical specifics:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Scope: Only during the execution of the main query.&lt;/li&gt;
&lt;li&gt;Reusability: Can reference the CTE multiple times within the same query.&lt;/li&gt;
&lt;li&gt;Supports: Recursion (for hierarchical/iterative problems).&lt;/li&gt;
&lt;li&gt;Main benefit: Improved readability and maintainability.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;WITH&lt;/span&gt; &lt;span class="n"&gt;customer_totals&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;
    &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;customer_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="k"&gt;SUM&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;total_amount&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="n"&gt;total_spent&lt;/span&gt;
    &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;orders&lt;/span&gt;
    &lt;span class="k"&gt;GROUP&lt;/span&gt; &lt;span class="k"&gt;BY&lt;/span&gt; &lt;span class="n"&gt;customer_id&lt;/span&gt;
&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;customer_id&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;total_spent&lt;/span&gt;
&lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;customer_totals&lt;/span&gt;
&lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;total_spent&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="mi"&gt;1000&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The &lt;code&gt;customer_totals&lt;/code&gt; CTE aggregates spending, which the main query then filters.&lt;/p&gt;




&lt;h3&gt;
  
  
  3. Stored Procedure
&lt;/h3&gt;

&lt;p&gt;Stored procedures are pre-compiled routines stored in the database. They can take parameters, run multiple SQL statements, and handle complex logic like loops and conditionals. These are essential for automation, encapsulation, and reusability.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Technical specifics:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Location: Permanently stored in the database schema.&lt;/li&gt;
&lt;li&gt;Accepts: Input/output parameters.&lt;/li&gt;
&lt;li&gt;Functionality: Can include multiple queries, business logic, and control flow.&lt;/li&gt;
&lt;li&gt;Performance: Precompiled—reduces repeated parsing overhead.&lt;/li&gt;
&lt;li&gt;Use case: Routine batch jobs, automation, and complex operations.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Example (PostgreSQL):&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;OR&lt;/span&gt; &lt;span class="k"&gt;REPLACE&lt;/span&gt; &lt;span class="k"&gt;PROCEDURE&lt;/span&gt; &lt;span class="n"&gt;get_high_value_customers&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;min_amount&lt;/span&gt; &lt;span class="nb"&gt;NUMERIC&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;LANGUAGE&lt;/span&gt; &lt;span class="n"&gt;plpgsql&lt;/span&gt;
&lt;span class="k"&gt;AS&lt;/span&gt; &lt;span class="err"&gt;$$&lt;/span&gt;
&lt;span class="k"&gt;BEGIN&lt;/span&gt;
    &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="n"&gt;name&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;total_amount&lt;/span&gt;
    &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;customers&lt;/span&gt;
    &lt;span class="k"&gt;JOIN&lt;/span&gt; &lt;span class="n"&gt;orders&lt;/span&gt; &lt;span class="k"&gt;ON&lt;/span&gt; &lt;span class="n"&gt;customers&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;orders&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;customer_id&lt;/span&gt;
    &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;total_amount&lt;/span&gt; &lt;span class="o"&gt;&amp;gt;&lt;/span&gt; &lt;span class="n"&gt;min_amount&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;END&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="err"&gt;$$&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You invoke this procedure with parameters—no need to rewrite logic every time.&lt;/p&gt;




&lt;h3&gt;
  
  
  Technical Comparison Table
&lt;/h3&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Aspect&lt;/th&gt;
&lt;th&gt;Subquery&lt;/th&gt;
&lt;th&gt;CTE&lt;/th&gt;
&lt;th&gt;Stored Procedure&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Scope&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Within single query&lt;/td&gt;
&lt;td&gt;Within single query&lt;/td&gt;
&lt;td&gt;Persistently in DB, reusable&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Purpose&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;Inline data retrieval&lt;/td&gt;
&lt;td&gt;Organize/structure complex queries&lt;/td&gt;
&lt;td&gt;Automation, encapsulation&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Reusability&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;None&lt;/td&gt;
&lt;td&gt;Query-level only&lt;/td&gt;
&lt;td&gt;Yes, across sessions&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Handles Recursion&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes (with control flow)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Execution&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;With main query&lt;/td&gt;
&lt;td&gt;With main query&lt;/td&gt;
&lt;td&gt;Explicitly called&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;




&lt;h3&gt;
  
  
  Technical Summary
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Subqueries: Good for quick, inline data pulls—avoid them for large-scale logic or you’ll hit performance issues.&lt;/li&gt;
&lt;li&gt;CTEs: Use them to simplify and modularize complex SQL, especially when recursion or multiple query references are required.&lt;/li&gt;
&lt;li&gt;Stored Procedures: Ideal for encapsulating business logic, automating tasks, and improving performance due to their persistent, precompiled nature.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Pick the right approach based on your scenario—scope, complexity, and the need for reusability are key factors.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>The similarity between a stored procedure in SQL and a python function:</title>
      <dc:creator>Anaya Manwa</dc:creator>
      <pubDate>Mon, 01 Sep 2025 10:12:11 +0000</pubDate>
      <link>https://dev.to/anaya_manwa_cdff7d1921385/the-similarity-between-a-stored-procedure-in-sql-and-a-python-function-2a43</link>
      <guid>https://dev.to/anaya_manwa_cdff7d1921385/the-similarity-between-a-stored-procedure-in-sql-and-a-python-function-2a43</guid>
      <description>&lt;p&gt;Alright, let’s ditch the formal lecture and just talk like humans for a sec.&lt;/p&gt;

&lt;p&gt;So, you know how in Python you write a function to avoid copy-pasting the same code a million times? Like, you want to add two numbers or fetch some orders, you just slap those lines into a function and boom—use it wherever. SQL’s got its own thing for this: stored procedures. Same idea, just lives inside the database. Not quite as glamorous, but hey, it gets the job done.&lt;/p&gt;

&lt;p&gt;Think of them both as those little Tupperware containers for your code. You throw in your ingredients—maybe some loops, a sprinkle of conditionals, maybe an angry error-handler if you’re feeling spicy—and pack it up for later. Need to do that task again? Just call the thing by its name. Easy.&lt;/p&gt;

&lt;p&gt;Let’s get real—nobody wants to rewrite the same logic over and over (unless they hate themselves). So once you define a stored procedure in SQL or a function in Python, you just… reuse it. Pass in some parameters, like which customer’s orders you want, and it spits out the answer. Here, look:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;SQL:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;&lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;PROCEDURE&lt;/span&gt; &lt;span class="n"&gt;GetOrdersByCustomer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;IN&lt;/span&gt; &lt;span class="n"&gt;cust_id&lt;/span&gt; &lt;span class="nb"&gt;INT&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="k"&gt;BEGIN&lt;/span&gt;
    &lt;span class="k"&gt;SELECT&lt;/span&gt; &lt;span class="o"&gt;*&lt;/span&gt; &lt;span class="k"&gt;FROM&lt;/span&gt; &lt;span class="n"&gt;orders&lt;/span&gt; &lt;span class="k"&gt;WHERE&lt;/span&gt; &lt;span class="n"&gt;customer_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;cust_id&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="k"&gt;END&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Python:&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="k"&gt;def&lt;/span&gt; &lt;span class="nf"&gt;get_orders_by_customer&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;cust_id&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="n"&gt;orders&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="n"&gt;o&lt;/span&gt; &lt;span class="k"&gt;for&lt;/span&gt; &lt;span class="n"&gt;o&lt;/span&gt; &lt;span class="ow"&gt;in&lt;/span&gt; &lt;span class="n"&gt;orders_list&lt;/span&gt; &lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;o&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;customer_id&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;==&lt;/span&gt; &lt;span class="n"&gt;cust_id&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="n"&gt;orders&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Same vibe, right? You throw in a customer ID, it fetches their orders. The code doesn’t care if you’re wearing a data analyst hat or a developer hoodie, it just does the thing.&lt;/p&gt;

&lt;p&gt;And yeah, both let you play with control flow—if/else, loops, the whole nine yards. You can get fancy, or just keep it basic. Whatever floats your boat.&lt;/p&gt;

&lt;p&gt;Now, let’s talk performance. Stored procedures run right inside the database, which means less chatter over the network. Python functions? They just save you from writing garbage code and make your scripts less of a dumpster fire. Not rocket science, but it matters.&lt;/p&gt;

&lt;p&gt;Bottom line: both Python functions and SQL stored procedures are just ways to keep your code tidy, reusable, and not a total headache to maintain. The main difference? One’s chilling in your database, the other’s out in the wild with the rest of your program. That’s really it. If you’re not using either, well, enjoy your spaghetti code.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Excel's strengths and weaknesses in predictive analysis and the role in making data-driven business decisions:</title>
      <dc:creator>Anaya Manwa</dc:creator>
      <pubDate>Sun, 10 Aug 2025 16:58:10 +0000</pubDate>
      <link>https://dev.to/anaya_manwa_cdff7d1921385/excels-strengths-and-weaknesses-in-predictive-analysis-and-the-role-0fin-making-data-driven-1630</link>
      <guid>https://dev.to/anaya_manwa_cdff7d1921385/excels-strengths-and-weaknesses-in-predictive-analysis-and-the-role-0fin-making-data-driven-1630</guid>
      <description>&lt;p&gt;Microsoft Excel has been a staple in the world of business analytics for quite some time, providing a user-friendly and adaptable platform for managing and interpreting data. While it may not be a dedicated statistical software, Excel’s powerful features make it an invaluable tool for predictive analysis and data-driven decision-making—particularly for small to medium-sized businesses.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Strengths of Excel in Predictive Analysis&lt;/strong&gt;&lt;br&gt;
One of the standout features of Excel is its &lt;strong&gt;ease of use&lt;/strong&gt;. Most professionals are already comfortable with the interface, which means they can dive right in without a steep learning curve. Its &lt;strong&gt;built-in functions&lt;/strong&gt;—like regression analysis, trend lines, and forecasting tools—enable users to spot patterns and predict future outcomes with ease. Plus, Excel’s &lt;strong&gt;visualization capabilities&lt;/strong&gt; through charts, pivot tables, and conditional formatting make it simple to share predictive insights in a clear and engaging way. The ability to connect with other data sources and automate tasks using macros also boosts its analytical power.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Weaknesses of Excel in Predictive Analysis&lt;/strong&gt;&lt;br&gt;
However, Excel isn’t without its drawbacks. It can struggle with &lt;strong&gt;large datasets&lt;/strong&gt;, leading to slower performance and making it tougher to catch errors. While its statistical features are sufficient for basic forecasting, they &lt;strong&gt;don’t offer the depth&lt;/strong&gt; found in specialized analytics tools like R, Python, or Power BI. Additionally, Excel is susceptible to &lt;strong&gt;human error&lt;/strong&gt; from manual data entry, and it doesn’t natively support advanced machine learning models or automated predictive workflows without considerable customization.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Excel’s Role in Data-Driven Business Decisions&lt;/strong&gt;&lt;br&gt;
In many companies, Excel serves as a &lt;strong&gt;bridge&lt;/strong&gt; between raw data and strategic decision-making. Businesses can leverage it to consolidate datasets, conduct scenario analyses, and create forecasts that inform budgeting, inventory management, and sales strategies. While it may not be the ultimate solution for every analytical need, its versatility and accessibility make it a go-to choice for many organizations.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>INSTALLATION AND SET UP OF POSTGRESQL USING A LINUX SERVER</title>
      <dc:creator>Anaya Manwa</dc:creator>
      <pubDate>Mon, 04 Aug 2025 05:20:38 +0000</pubDate>
      <link>https://dev.to/anaya_manwa_cdff7d1921385/installation-and-set-up-of-postgresql-using-a-linux-server-49f7</link>
      <guid>https://dev.to/anaya_manwa_cdff7d1921385/installation-and-set-up-of-postgresql-using-a-linux-server-49f7</guid>
      <description>

&lt;h3&gt;
  
  
  &lt;strong&gt;How To Get PostgreSQL Running On Your Linux Box (The Not-Boring Way)&lt;/strong&gt;
&lt;/h3&gt;

&lt;p&gt;Alright, so you wanna get PostgreSQL up and humming on your Debian or Ubuntu server? Cool. Let’s cut the fluff and just get this rolling.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Refresh Those Packages&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Pop open your terminal and toss this in:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;apt update
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fenxj7n6k6bgm7ozfout8.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fenxj7n6k6bgm7ozfout8.png" alt=" " width="800" height="282"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Smash That Install&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Next up, jam this in. It’s gonna pull down all the good stuff:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;apt &lt;span class="nb"&gt;install &lt;/span&gt;postgresql postgresql-contrib
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv35qf87lgdiwqt86ri9b.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fv35qf87lgdiwqt86ri9b.png" alt=" " width="800" height="374"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Did It Work? Let’s Check&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Don’t trust the process. Check the process. Type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo &lt;/span&gt;systemctl status postgresql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Become The Database Boss&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;You gotta switch to the ‘postgres’ user to actually do stuff:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   &lt;span class="nb"&gt;sudo&lt;/span&gt; &lt;span class="nt"&gt;-i&lt;/span&gt; &lt;span class="nt"&gt;-u&lt;/span&gt; postgres
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Hop Into The Database Console&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Type:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;   psql
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;ol&gt;
&lt;li&gt;&lt;strong&gt;Make Yourself A Database&lt;/strong&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Chuck this command in:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight sql"&gt;&lt;code&gt;   &lt;span class="k"&gt;CREATE&lt;/span&gt; &lt;span class="k"&gt;DATABASE&lt;/span&gt; &lt;span class="n"&gt;mydb&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And that’s it. PostgreSQL is up. Go wild—spin up users, break stuff (within reason), and build whatever weird project’s been haunting your brain.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
