<?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 Musadiq Hussain on Medium]]></title>
        <description><![CDATA[Stories by Musadiq Hussain on Medium]]></description>
        <link>https://medium.com/@musadiq.iba?source=rss-1ec87af1ba31------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Ln7ciGfQJ1pVTHoC9R3tIw.jpeg</url>
            <title>Stories by Musadiq Hussain on Medium</title>
            <link>https://medium.com/@musadiq.iba?source=rss-1ec87af1ba31------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 10:56:34 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@musadiq.iba/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[Auditing DDL Operations in Oracle Database Using Triggers]]></title>
            <link>https://medium.com/@musadiq.iba/auditing-ddl-operations-in-oracle-database-using-triggers-a53ead222174?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/a53ead222174</guid>
            <category><![CDATA[trigger]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[sql]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Thu, 20 Feb 2025 09:17:49 GMT</pubDate>
            <atom:updated>2025-02-20T09:22:58.503Z</atom:updated>
            <content:encoded><![CDATA[<p>In modern database management systems, ensuring that Data Definition Language (DDL) operations are monitored and audited is critical for maintaining the integrity, security, and compliance of the database schema. In this article, we’ll explore how you can audit all DDL operations in an Oracle database schema using a custom table and a trigger. This approach will allow you to track all schema changes, helping you maintain visibility and control over your database schema activities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*7LbIBNLKhevoX4hk.png" /><figcaption>Trigger SQL</figcaption></figure><p><strong>What Are DDL Operations?</strong></p><p>DDL operations in SQL are the commands that define the database schema, including operations like creating, altering, or dropping tables, views, indexes, and other database objects. Common DDL commands include:</p><ul><li>CREATE</li><li>ALTER</li><li>DROP</li><li>RENAME</li></ul><p>These commands affect the structure of the database and typically require elevated privileges. Auditing these changes ensures that any modification is logged for security, accountability, and troubleshooting purposes.</p><h4>Why Auditing DDL Operations is Essential</h4><p>Auditing DDL operations helps database administrators (DBAs) and security teams track who made structural changes to the database schema. This is especially important for compliance with regulatory standards like HIPAA, GDPR, or SOX, which often require tracking and documentation of all database changes.</p><p>Some key benefits include:</p><ul><li><strong>Security</strong>: Prevent unauthorized changes and detect potential vulnerabilities.</li><li><strong>Accountability</strong>: Track who made each change and when.</li><li><strong>Troubleshooting</strong>: Easily identify which DDL operations led to a failure or issue.</li><li><strong>Compliance</strong>: Meet legal and regulatory requirements for auditing and logging database changes.</li></ul><h3>Setting Up Schema Audit in Oracle Database</h3><p>To effectively audit DDL operations in an Oracle database, you need to create a table where all audit information will be stored. We’ll set up a table and a trigger that captures relevant details whenever a DDL operation occurs within a specific schema.</p><h4>Step 1: Creating the Audit Table</h4><p>First, we need a table where we will store the audit logs. The table will capture the following information:</p><ul><li><strong>DDL Date</strong>: The date and time when the DDL operation occurred.</li><li><strong>DDL User</strong>: The Oracle user who executed the DDL command.</li><li><strong>OS User</strong>: The operating system user who performed the operation.</li><li><strong>Object Created</strong>: The type of object (such as table, index, view) that was modified.</li><li><strong>Object Name</strong>: The name of the object that was affected.</li><li><strong>DDL Operation</strong>: The type of DDL operation (CREATE, ALTER, DROP, etc.).</li></ul><p>Here is the SQL script to create the table:</p><pre>CREATE TABLE &quot;SCHEMA_AUDIT_MUS&quot; <br> ( &quot;DDL_DATE&quot; DATE, <br> &quot;DDL_USER&quot; VARCHAR2(15 BYTE), <br> &quot;DDL_OS_USER&quot; VARCHAR2(25 BYTE), <br> &quot;OBJECT_CREATED&quot; VARCHAR2(15 BYTE), <br> &quot;OBJECT_NAME&quot; VARCHAR2(60 BYTE), <br> &quot;DDL_OPERATION&quot; VARCHAR2(25 BYTE)<br> );</pre><p>This table will store all the relevant details each time a DDL operation is executed in the schema.</p><h4>Step 2: Creating the Trigger for DDL Auditing</h4><p>Next, we need to create a trigger that will fire automatically after any DDL operation on the schema. This trigger will insert the DDL details into the SCHEMA_AUDIT_MUS table.</p><p>Here’s the SQL script to create the trigger:</p><pre>CREATE OR REPLACE TRIGGER MUS_AUDIT_TR<br>AFTER DDL ON SCHEMA<br>BEGIN<br> INSERT INTO SCHEMA_AUDIT_MUS VALUES (<br> SYSDATE, <br> SYS_CONTEXT(&#39;USERENV&#39;, &#39;CURRENT_USER&#39;),<br> SYS_CONTEXT(&#39;USERENV&#39;, &#39;OS_USER&#39;),<br> ORA_DICT_OBJ_TYPE,<br> ORA_DICT_OBJ_NAME,<br> ORA_SYSEVENT<br> );<br>END;</pre><p><strong>Explanation of the Trigger:</strong></p><ul><li><strong>AFTER DDL ON SCHEMA</strong>: This specifies that the trigger should fire after any DDL operation occurs in the schema.</li><li><strong>SYSDATE</strong>: Captures the current date and time when the operation occurred.</li><li><strong>SYS_CONTEXT(‘USERENV’, ‘CURRENT_USER’)</strong>: Retrieves the Oracle user performing the operation.</li><li><strong>SYS_CONTEXT(‘USERENV’, ‘OS_USER’)</strong>: Retrieves the operating system user performing the operation.</li><li><strong>ORA_DICT_OBJ_TYPE</strong>: Captures the type of object being affected (e.g., table, view, index).</li><li><strong>ORA_DICT_OBJ_NAME</strong>: Captures the name of the object being affected.</li><li><strong>ORA_SYSEVENT</strong>: Captures the specific DDL operation performed (CREATE, ALTER, DROP).</li></ul><p>Once this trigger is in place, every DDL operation executed within the schema will automatically be logged into the SCHEMA_AUDIT_MUS table.</p><h3>Best Practices for DDL Auditing</h3><ol><li><strong>Monitor and Review Logs Regularly</strong>: Regularly review the audit logs to spot any unexpected or unauthorized DDL activities.</li><li><strong>Restrict Privileges</strong>: Ensure that only authorized users have the privileges to perform DDL operations.</li><li><strong>Use Alerts</strong>: Set up alerts to notify administrators about specific DDL operations (e.g., dropping a table).</li><li><strong>Implement Backup Strategies</strong>: Ensure that audit logs are backed up to prevent data loss.</li><li><strong>Integrate with Other Security Tools</strong>: Integrate DDL auditing with database monitoring and security tools for more advanced insights.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/707/1*hv5UjMo7EmF1vfxOOKstXw.png" /><figcaption>Sample Image from the Database</figcaption></figure><h3>Conclusion</h3><p>Auditing DDL operations is a crucial aspect of maintaining the security, integrity, and compliance of your Oracle database schema. By using the table and trigger setup described in this article, you can track all structural changes made to your schema, ensuring that you have complete visibility into who is changing your database objects and when. This method is not only effective for security and troubleshooting but also helps meet regulatory standards by maintaining detailed audit logs of all schema modifications.</p><p>For Oracle database administrators (DBAs), adopting this auditing approach is essential to mastering SQL security, database monitoring, and schema management. By implementing these best practices, you’ll strengthen your database security and foster a transparent, accountable environment for managing your database infrastructure.</p><p>Best Regards,<br><strong>Musadiq Hussain<br>Senior OFSAAI Consultant</strong></p><p>Follow me on <a href="https://www.linkedin.com/in/musadiqhussain/"><strong>LinkedIn</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a53ead222174" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ratings and Risk Weight Assignment in OFSAAI BASEL-III]]></title>
            <link>https://medium.com/@musadiq.iba/ratings-and-risk-weight-application-in-ofsaai-f5be06cacf9d?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/f5be06cacf9d</guid>
            <category><![CDATA[capital-adequacy]]></category>
            <category><![CDATA[credit-risk]]></category>
            <category><![CDATA[oracle]]></category>
            <category><![CDATA[ofsaa]]></category>
            <category><![CDATA[risk-weighted-asset]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Thu, 30 Jan 2025 07:30:32 GMT</pubDate>
            <atom:updated>2025-01-30T10:33:05.817Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://docs.oracle.com/cd/F39864_01/PDF/8.1.1.0.0/OFS_PFT_UG_811/index.htm#t=3_OFSAAI_Overview.htm"><strong>Oracle Financial Services Analytical Applications (OFSAA)</strong></a> is a comprehensive suite of analytical applications designed to help financial institutions manage risk, performance, compliance, and customer insights. By leveraging industry-leading analytical methods and a shared data model, OFSAA enables integrated risk management and performance measurement, fostering a transparent risk management culture and providing deep customer insights1.</p><p><a href="https://www.bis.org/bcbs/basel3.htm"><strong>Basel III</strong>,</a> on the other hand, is an international regulatory framework developed by the Basel Committee on Banking Supervision in response to the financial crisis of 2007–2009. It aims to strengthen bank regulation, supervision, and risk management by introducing stricter capital requirements, liquidity standards, and leverage ratios2. Basel III ensures that banks maintain sufficient capital reserves to withstand financial shocks and promotes a more resilient banking system.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/690/0*9iC6ItEZoo022xs1.jpg" /><figcaption>Ratings Agencies</figcaption></figure><p>Together, OFSAA and Basel III play crucial roles in enhancing the stability and efficiency of financial institutions. While OFSAA provides the tools and analytics to meet regulatory requirements and improve business performance, Basel III sets the standards and guidelines that banks must adhere to, ensuring a safer and more transparent financial environment.</p><p><strong>Staging tables for the ratings:</strong></p><h4>Staging Tables:</h4><p><strong>Funded Exposures</strong>:</p><ul><li>STG_INVESTMENTS</li><li>STG_LOAN_CONTRACTS</li><li>STG_CARDS</li><li>STG_OD_ACCOUNTS</li></ul><p><strong>Non-Funded Exposures</strong>:</p><ul><li>STG_LC_CONTRACTS</li><li>STG_GUARANTEES</li></ul><h4>Rating Tables:</h4><p><strong>Customer/Party Ratings</strong>:</p><ul><li>STG_PARTY_RATING_DETAILS</li></ul><p><strong>Country Ratings</strong>:</p><ul><li>STG_SOVEREIGN_RATING_DETAILS</li></ul><p><strong>Market and Derivative Contracts</strong>:</p><ul><li>STG_INSTRUMENT_RATING_DETAILS</li></ul><h3>Ratings and Risk Weight Processing in OFSAA</h3><p><strong>Processing Ratings (Capturing Ratings for Exposures</strong></p><ul><li>Ratings are processed into respective tables:</li><li><em>FSI_PARTY_RATING_DETAILS</em> (Party Ratings)</li><li><em>FSI_SOVEREIGN_RATING_DETAILS</em> (Sovereign Ratings)</li><li><em>FSI_ISSUE_RATING_DETAILS</em> (Issuer/Instrument Ratings)</li></ul><p><strong>Risk Weight Mapping (Storing Risk Weights Based on Asset Classes)</strong></p><ul><li>Risk weights, assigned based on Asset Class Codes, are stored in <em>FSI_RW_MAP_MASTER</em>.</li></ul><p><strong>Multiple Ratings Processing (Handling Multiple Ratings for Exposures)</strong></p><ul><li>Exposures, along with ratings and risk weights, are processed into <em>FSI_MULTIPLE_RATING_PROCESSING</em>.</li><li>Ranking of multiple ratings and eligibility flags are updated in this table.</li></ul><p><strong>Updating Exposure Tables (Applying Ratings to Different Exposure Types)</strong></p><ul><li>Ratings from <em>FSI_MULTIPLE_RATING_PROCESSING</em> are applied to:</li><li><em>FSI_CAP_BANKING_EXPOSURES</em></li><li><em>FSI_CAP_INVESTMENT_EXPOSURES</em></li><li><em>FSI_CAP_DERIVATIVES</em></li></ul><p><strong>Risk Weight Assignment (Assigning Risk Weights to Exposures)</strong></p><ul><li>Ratings columns: <em>N_BASEL_PARTY_RATING</em>, <em>N_BASEL_SOVEREIGN_RATING</em>, <em>N_BASEL_RATING</em> (based on Asset Class, i.e. for sovereign the assignment is from the N_BASEL_SOVEREIGN_RATING and for other asset classes the assignment is from N_BASEL_PARTY_RATING).</li><li>Risk weight (<em>N_PRE_MITIGATION_RW_UL</em>) is assigned based on <em>N_BASEL_RATING</em>.</li><li><em>N_RISK_WEIGHT_METHOD</em> is updated as per applied cases.</li></ul><p><strong>Handling Unrated Exposures (Managing Risk Weights for Unrated Entities)</strong></p><ul><li>The system identifies exposures with no ratings and assigns the appropriate risk weight based on the asset class.</li></ul><p>Every regulator and central bank has its own risk-weight assignment criteria for the Capital Adequacy Ratio (CAR) report, tailored to their respective regions. Therefore, slight customization will be required to align with the specific requirements of the central authority.</p><p>Best Regards,<br>Musadiq Hussain<br>Senior OFSAAI Consultant</p><p>Follow me on <a href="https://www.linkedin.com/in/musadiqhussain/">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f5be06cacf9d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Systems Development Life Cycle (SDLC)]]></title>
            <link>https://medium.com/@musadiq.iba/the-systems-development-life-cycle-sdlc-3e60d8f7577e?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/3e60d8f7577e</guid>
            <category><![CDATA[sdlc-methodologies]]></category>
            <category><![CDATA[sdlc-phases]]></category>
            <category><![CDATA[sdlc-process]]></category>
            <category><![CDATA[sdlc]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Wed, 29 Jan 2025 09:15:03 GMT</pubDate>
            <atom:updated>2025-01-29T09:15:03.013Z</atom:updated>
            <content:encoded><![CDATA[<p>The Systems Development Life Cycle (SDLC) is a comprehensive process that guides the creation and management of information systems. It consists of several well-defined steps, each crucial for ensuring the success and efficiency of the system.</p><ol><li><strong>Planning</strong>: This initial stage involves defining the project scope, identifying potential risks, allocating resources, and establishing a schedule. It includes a feasibility assessment to determine if the project is viable and worth pursuing.</li><li><strong>Analysis</strong>: In this phase, the current system, if any, is thoroughly examined to understand what changes or improvements are required. Stakeholders’ requirements are gathered, leading to the creation of a functional specification document that outlines what the system needs to achieve.</li><li><strong>Design</strong>: Based on the gathered requirements, the system’s architecture, data models, interface designs, and processes are developed. This stage is focused on defining how the system will function.</li><li><strong>Implementation (or Coding)</strong>: This is the phase where the actual coding occurs. Developers build the system in small modules based on the design specifications, ensuring each module is tested before integration into the complete system.</li><li><strong>Testing</strong>: After coding, the system undergoes extensive testing to identify and resolve any issues or bugs. Various testing methods, including unit testing, integration testing, system testing, and user acceptance testing, ensure the system meets the required standards and functions correctly.</li><li><strong>Deployment</strong>: Once the system passes all tests, it is deployed to the production environment. This step involves installing the system, configuring necessary settings, and conducting final tests to ensure everything runs smoothly.</li><li><strong>Maintenance</strong>: Post-deployment, the system enters the maintenance phase. This involves regular updates, bug fixes, and enhancements based on user feedback, ensuring the system remains efficient and effective over time.</li></ol><h3>SDLC Summary Table</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/719/1*eRi0BQ8ZdmjaLeO7oBqSBw.png" /></figure><p>The SDLC ensures a systematic approach to developing and managing information systems, making it a cornerstone of successful IT projects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3e60d8f7577e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Convert JSON, SQL Script, XML into .erwin data model file]]></title>
            <link>https://medium.com/@musadiq.iba/convert-json-sql-script-xml-into-erwin-data-model-file-018ff8beb9c5?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/018ff8beb9c5</guid>
            <category><![CDATA[convert]]></category>
            <category><![CDATA[erwin]]></category>
            <category><![CDATA[data-modeling]]></category>
            <category><![CDATA[oracle-db]]></category>
            <category><![CDATA[reverse-engineering]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Thu, 20 Jun 2024 10:25:37 GMT</pubDate>
            <atom:updated>2024-10-29T15:03:05.551Z</atom:updated>
            <content:encoded><![CDATA[<h3>Convert JSON, SQL Script, XML into .erwin data model file</h3><p>Reverse engineering will create an Erwin data model from multiple sources i.e. JSON, Oracle DB, SQL scripts, etc.</p><p>The following steps are for the rev engineering from SQL script to Erwin file.</p><ol><li>Extract the schema script using sysdba credentials. Filter out only the required objects otherwise, it will take time and the Erwin data modeler may crash.</li></ol><p>2. Create a new data model in the Erwin Data Modeler.</p><p>3. In Erwin Data Modeler (DM), click <strong>Actions</strong> &gt; <strong>Reverse Engineer</strong>.<br> The New Model screen appears.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*lQlt0wbVdF6_bzgdck0o1A.png" /></figure><p>4. Click <strong>Logical/Physical</strong> and set <strong>Database</strong> to Oracle DB.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*kjmZsF5ZaRORMBI_mPR2wA.png" /></figure><p>5. Click <strong>Next</strong>.</p><p>The Reverse Engineer Process Wizard appears. Select Script File and enter the path of Schema SQL script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*LvAQKyouWRkVt2uPrtoG8Q.png" /></figure><p>6. Click <strong>Next</strong>.</p><p>The Detailed Options tab appears. Set up appropriate options based on your requirements.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/544/1*i4YUjRATIGBekWHefqMVmA.png" /></figure><p>7. Click <strong>OK</strong>.<br> The reverse engineering process starts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/445/1*HVmb1laaOQaX5TEGST-nwg.png" /></figure><p>8. Once the process is complete, based on your selections, a schema is generated and a model is created.</p><p>For more details, you can check this <a href="https://bookshelf.erwin.com/bookshelf/public_html/12.0/Content/Release%20Notes/Feature%20Tour/Reverse%20Engineering%20Models.html?Highlight=reverse%20engineering%20"><strong>link</strong></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=018ff8beb9c5" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Risk Weights for Loan-to-Value Ratios]]></title>
            <link>https://medium.com/@musadiq.iba/risk-weights-for-loan-to-value-ratios-376d2ec644b6?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/376d2ec644b6</guid>
            <category><![CDATA[banking-technology]]></category>
            <category><![CDATA[finance-and-banking]]></category>
            <category><![CDATA[basel]]></category>
            <category><![CDATA[ltv]]></category>
            <category><![CDATA[technology]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Thu, 23 Nov 2023 10:10:20 GMT</pubDate>
            <atom:updated>2025-01-30T07:34:59.037Z</atom:updated>
            <content:encoded><![CDATA[<p>Loan-to-value (LTV) ratios are instrumental in determining the risk weight allocation for claims secured by residential properties. As outlined by the Central Bank of the UAE, the assignment of risk weights for this portfolio follows a specific sequence to maintain accuracy. The risk weight assignment is contingent upon the product class code, with a consistent 100% risk weight for the 123 product class code. This remains unchanged, except for past due loans, allowing for alterations not influenced by LTV ratios.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/720/0*2l9XDyKxE3qs6-FF" /></figure><p>Dealing with mortgage types of Residential and Investment Mortgages (RIMs), Products, and Deals, an initial 35% risk weight is assigned. However, the flexibility of this risk weight is subject to various tests.</p><p>For the Risk Weight assignment based on the Ratings please visit <a href="https://medium.com/@musadiq.iba/ratings-and-risk-weight-application-in-ofsaai-f5be06cacf9d">Standard ratings and risk weight assignment process in OFSAAI</a></p><ol><li><strong>Product Class Code Assignment:<br>. </strong>A 100% risk weight is assigned for the 000 product class code.<br>. This risk weight is consistent but can be altered for past due loans, independent of LTV ratios.</li><li><strong>Mortgage Type Assignment:<br>. </strong>A standard 35% risk weight is initially assigned for deals/exposures based on mortgage types.<br>. This risk weight is subject to adjustments based on subsequent tests.</li><li><strong>LTV Ratio Assignment:<br>. </strong>Risk weight assignment based on LTV ratios begins with a 75% risk weight applied when the LTV ratio is less than 25% or exceeds 85%.<br>. For LTV ratios between 25% and 85%, a 35% risk weight is applied.</li><li><strong>10M AED Test:</strong><br>. The 10M Test operates at the customer/RIM level.<br>. If exposure amounts exceed 10 million AED, the excess amount above 10M is reassigned a 100% risk weight, while the initial 10M amount retains the 35% risk weight.</li><li><strong>Creation of New Deals/Exposures:<br>. </strong>New deals/exposures under identical details (product, party, RIM, etc.) will be created for the deals mentioned in 10M AED test and these deals will be reported in 100% RW.</li></ol><p>Best Regards,<br>Musadiq Hussain<br>Senior OFSAAI Consultant<br>Follow me on <a href="https://www.linkedin.com/in/musadiqhussain/">LinkedIn</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=376d2ec644b6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Shrink the Tablespace of a Table in an Oracle Database]]></title>
            <link>https://medium.com/@musadiq.iba/how-to-shrink-the-tablespace-of-a-table-in-an-oracle-database-38f10c79b934?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/38f10c79b934</guid>
            <category><![CDATA[database-administration]]></category>
            <category><![CDATA[tablespace]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[storage-solutions]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Tue, 03 Oct 2023 05:39:26 GMT</pubDate>
            <atom:updated>2023-10-03T05:39:26.550Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Introduction</strong></p><p>Managing the storage space in your Oracle Database is a critical task for database administrators. Over time, tables can grow in size due to data insertion, updates, and deletions, leading to wasted storage space and reduced database performance. To address this issue, Oracle provides a feature to shrink the tablespace of a table, which reclaims unused space, making your database more efficient. In this article, we will explore how to shrink the tablespace of a table using various commands in Oracle Database.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/0*P7XPl6ZvDyNiBFaj.jpg" /><figcaption>Databases</figcaption></figure><p><strong>Prerequisites</strong></p><p>Before we dive into the process of shrinking a tablespace, ensure that you have the necessary privileges to perform these operations. You need the ALTER and DROP table privileges on the specific table and the ALTER tablespace privilege. Additionally, the table should not have any active transactions, as shrinking space during active transactions can cause data inconsistencies.</p><p><a href="https://x.com/MusaaDev/status/1708733912632250547?s=20"><strong>Steps to Shrink a Tablespace</strong></a></p><p>In Oracle Database, you can shrink a tablespace using the following commands:</p><p><strong>1: TRUNCATE TABLE:</strong> Before shrinking the tablespace, consider removing unwanted data from the table. The TRUNCATE TABLE command is used to delete all rows from a table, effectively removing data that is no longer needed.</p><blockquote>TRUNCATE TABLE SLC_02102023;</blockquote><p><strong>2: Enable Row Movement:</strong> To make shrinking the tablespace possible, you need to enable row movement for the table. Row movement allows rows to be moved within a table, which is necessary when reclaiming space.</p><blockquote>ALTER TABLE SLC_02102023 ENABLE ROW MOVEMENT;</blockquote><p><strong>3: Shrink Space: </strong>The SHRINK SPACE command is used to reclaim unused space in a table. It can be executed in two ways:</p><p><strong>a. Basic Shrink:</strong></p><blockquote>ALTER TABLE SLC_02102023 SHRINK SPACE;</blockquote><p>This command shrinks the tablespace but may not fully compact it, leaving some free space.</p><p><strong>b. Compact Shrink:</strong></p><blockquote>ALTER TABLE SLC_02102023 SHRINK SPACE COMPACT;</blockquote><p>This command not only shrinks the tablespace but also compacts it, removing all free space.</p><p><strong>c. Shrink Space Cascade:</strong> In cases where the table has dependent objects like indexes, you can use the CASCADE option to shrink the tablespace of dependent objects as well.</p><blockquote>ALTER TABLE SLC_02102023 SHRINK SPACE CASCADE;</blockquote><h3><strong>Conclusion:</strong></h3><p>Efficiently managing tablespace space is crucial for maintaining optimal performance in your Oracle Database. Shrinking the tablespace of a table using the TRUNCATE TABLE and ALTER TABLE commands can help you reclaim wasted space and improve database efficiency. However, exercise caution when performing these operations and ensure that you have the necessary privileges and backups in place to avoid data loss. Regularly monitoring and maintaining your database&#39;s storage space is essential for keeping it running smoothly.</p><p>Join me on other platforms as well:<br>Linkedin: <a href="https://www.linkedin.com/in/musadiqhussain/">https://www.linkedin.com/in/musadiqhussain/</a><br>Twitter: <a href="https://twitter.com/MusaaDev">https://twitter.com/MusaaDev</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=38f10c79b934" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Enhancing Data Analysis and Visualization: Anaconda Distribution Integrates with Excel]]></title>
            <link>https://medium.com/@musadiq.iba/enhancing-data-analysis-and-visualization-anaconda-distribution-integrates-with-excel-a6cc28c5678a?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6cc28c5678a</guid>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[anaconda]]></category>
            <category><![CDATA[excel]]></category>
            <category><![CDATA[python-in-excel]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Wed, 23 Aug 2023 05:25:41 GMT</pubDate>
            <atom:updated>2023-08-23T05:25:41.241Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cMxcKXiDl-lp9Jbj3Lk_PA.png" /></figure><p><strong>Introduction</strong></p><p>In a significant move for data enthusiasts and analysts, Anaconda Inc. has announced the integration of Anaconda Distribution for Python with Microsoft Excel. This collaboration brings together the power of the world’s most popular data application, Excel, and the capabilities of Anaconda, the most trusted Python distribution. By seamlessly combining these two platforms, users gain access to a plethora of possibilities, enabling advanced data analysis, modeling, and visualization directly within the familiar Excel environment.</p><p><strong>The Convergence of Excel and Anaconda</strong></p><p>Excel has long been the go-to tool for managing, analyzing, and presenting data across various industries. Its intuitive interface and versatile functions have made it an essential tool for professionals worldwide. On the other hand, Anaconda Distribution for Python has emerged as the de facto choice for data scientists and researchers, providing a comprehensive collection of libraries and tools for data analysis, machine learning, and scientific computing.</p><p>Now, with the integration of Anaconda Distribution into Excel, users can harness the full potential of both platforms simultaneously. This collaboration brings a new dimension to data analysis, combining Excel’s user-friendly interface with Anaconda’s powerful libraries and tools.</p><p><strong>Leveraging Python Libraries within Excel</strong></p><p>One of the standout features of this integration is the ability to utilize popular Python libraries directly within Excel. With access to over 400 curated packages from Anaconda, users can perform complex data analysis and modeling tasks effortlessly. Whether it’s performing statistical analyses, predictive modeling, or creating interactive visualizations, the Python libraries offer a wide array of possibilities that go beyond the native capabilities of Excel.</p><p><strong>Unprecedented Data Exploration and Manipulation</strong></p><p>The integration empowers users to explore, manipulate, and present data in ways previously unattainable. With the Python libraries at their disposal, analysts can handle large datasets with ease, perform intricate transformations, and uncover insights that might have remained hidden. The combination of Excel’s familiarity and Anaconda’s capabilities eliminates the need to switch between different tools, streamlining the entire data analysis process.</p><p><strong>Enhanced Productivity and Reproducibility</strong></p><p>By integrating Anaconda Distribution into Excel, complex data transformations become more manageable, leading to increased productivity and reduced manual effort. Automation can be achieved through Python scripts, allowing for repetitive tasks to be executed seamlessly. This not only saves time but also minimizes the chances of errors that often accompany manual data manipulation.</p><p>Moreover, the integrated environment contributes to the reproducibility of analyses. With Python scripts and libraries embedded within Excel workbooks, it becomes easier for others to understand and reproduce the analysis. This is a crucial aspect in collaborative environments, ensuring transparency and accuracy throughout the analysis process.</p><p><strong>Conclusion</strong></p><p>The integration of Anaconda Distribution for Python with Microsoft Excel marks a significant stride in the realm of data analysis and visualization. By combining Excel’s accessibility with Anaconda’s comprehensive libraries, users are equipped to tackle complex data challenges, create insightful visualizations, and streamline their workflow. This collaboration between two industry-leading platforms opens new avenues for professionals across diverse domains, fostering innovation and efficiency in data-driven decision-making. As this integration evolves, the landscape of data analysis is bound to transform, empowering users to extract more value from their data than ever before.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6cc28c5678a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Java VM crash after clearing the VM cache and buffer.]]></title>
            <link>https://medium.com/@musadiq.iba/java-vm-crash-after-clearing-the-vm-cache-and-buffer-5acd1f0e2249?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/5acd1f0e2249</guid>
            <category><![CDATA[java8]]></category>
            <category><![CDATA[weblogic]]></category>
            <category><![CDATA[jvm-memory]]></category>
            <category><![CDATA[ofsaa]]></category>
            <category><![CDATA[jvm]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Tue, 15 Aug 2023 12:29:42 GMT</pubDate>
            <atom:updated>2023-08-15T12:29:42.865Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JRb3pcAj20jBhi6W0we_0A.png" /></figure><p>Experiencing a JVM crash during the process of clearing the cache in Oracle Financial Services Analytical Applications (OFSAA) can be caused by various factors, including configuration issues, resource constraints, memory management, or software bugs. Diagnosing and resolving JVM crashes requires a systematic approach. Here are some steps you can consider:</p><ol><li>Check Log Files: Examine the log files generated by OFSAA during the cache clearing process. Look for any error messages, exceptions, or warnings that might provide clues about the cause of the crash.</li><li>Review System Requirements: Ensure that your system meets the recommended hardware and software requirements for running OFSAA. Resource constraints, such as insufficient memory or CPU capacity, can lead to JVM crashes.</li><li>Review JVM Configuration: Check the JVM configuration parameters being used by OFSAA. Make sure that memory settings (such as heap size) are appropriately configured to handle the cache clearing process. If the cache clearing process requires significant memory, increasing the heap size might help.</li><li>Analyze Thread Dumps: If possible, capture thread dumps from the JVM during the crash. Thread dumps can provide insights into which threads were active at the time of the crash and might help identify potential deadlocks or other issues.</li><li>Check for Known Issues: Research whether there are any known issues or bugs related to the version of OFSAA you are using. Check with Oracle support, community forums, or other resources to see if others have encountered similar problems and if there are any recommended solutions or patches.</li><li>Update to Latest Version or Patch: If the crash is caused by a known issue, check if there are any software updates, patches, or fixes available from Oracle that address the problem. Updating to the latest version or applying relevant patches might resolve the issue.</li><li>Isolate the Cache Clearing Process: Try isolating the cache clearing process to a smaller subset of data or a test environment. This can help you determine if the crash is related to the data being processed or if it’s a more general issue.</li><li>Engage Support: If you’re unable to identify and resolve the issue on your own, it’s recommended to engage Oracle support. Provide them with detailed information about the crash, log files, and any diagnostics you’ve collected. They can provide specialized assistance for diagnosing and resolving complex issues.</li></ol><p>Remember that JVM crashes can be caused by a wide range of factors, so it’s important to approach the troubleshooting process systematically and gather as much information as possible.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5acd1f0e2249" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Ethical Issues of Smartphones in HealthCare Systems]]></title>
            <link>https://medium.com/@musadiq.iba/ethical-issues-of-smartphones-in-healthcare-systems-410d7d4713cd?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/410d7d4713cd</guid>
            <category><![CDATA[ethics-in-tech]]></category>
            <category><![CDATA[hospital]]></category>
            <category><![CDATA[ethics]]></category>
            <category><![CDATA[healthcare-technology]]></category>
            <category><![CDATA[smartphones]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Thu, 01 Oct 2020 09:11:49 GMT</pubDate>
            <atom:updated>2020-10-01T09:11:49.799Z</atom:updated>
            <content:encoded><![CDATA[<p>It is true that cellular devices provide efficient ways to health care system to organize professional interactions and communication which provides easy decision-making support and makes specialist consultation efficient. However, there are various security breach risk associated with sharing this sensitive information. It is crucial to ensure the interoperability of electronic health directory throughout the world health care transmission system. The agile and smooth sharing of medical data through the mobile services breaches medical data security. Digital data is effortless to share but many steps are needed to be taken to ensure the data remains encapsulated. With medical security it is also important that ethical integrity should also be attained to keep the dignity and privacy of all the people involved with the data intact. This research paper adheres to a fact that sharing medical data can only be ethically approved for health care systems if data transmitting and sharing guidelines are available for people to mobilize, adapt and sustain for unambiguous health care aspirations and purposes.</p><h3>Smartphones in Healthcare System</h3><p>Smartphones have brought huge impact on our lives. Smartphones are much advanced these days and enhanced the ease of connectivity and store information. Medical Photography has largely flourished during the past two decades. Along with communication, it is helping the organization to manage the corporate activities. In healthcare systems and hospitals doctors use smartphones to share the critical details of the patient with other colleagues. These details consist of medical reports, subscriptions, critical patient photographs etc. Sharing of this information is used to monitor the progression of disease and get the opinion of other colleagues. The photographic details are also helpful for the doctors to preset and understand the nature of disease. [1]</p><p><strong>Nurses:</strong></p><p>In spite of medical and hospital limitations, 67 percent of the hospitals were interviewed in Spyglass Consulting Group that the staff nurses use their personal phones for the exchange of medical and patient-related information.[2] Due to the lack of awareness of the technology, the Staff nurses use the smartphones to store, share the patient details.</p><p><strong>Orthopaedics:</strong></p><p>The representation of medical equipment, surgical techniques and pathological specimens are very important in medical training and exercises. Photographic images help in diagnosing and it plays a pivotal role. The first application of the use of photographic was in Paris 1840. As from the Doctors practices, the use of images is very useful in orthopaedics field, where images of wounds, open fractures, digital radiography, bones dislocation, deformities etc can be easily recorded with instant sharing with colleagues and seniors. But here come the ethical issues of the use of smartphone with the consent of the patient and keeping the confidentiality of the patient and most importantly the privacy of the patient related data.[10]</p><p><strong>Ethical Issues (Problem statement)</strong></p><p>Smartphones play vital role to store and share the photographic details of diseases and patient within the team and colleagues. Photographic details and patient-related information are very sensitive to the security breach. and can be used against the organization and patient. Along with the bright side of the smartphones, there are ethical responsibilities to be followed. These ethical responsibilities can help the organizations and individuals from the damage, breach and infringement of their confidential data. The Issues are not solely related to ethics in smartphones but also to Data security and privacy too.</p><p><strong>PMDC &amp; Govt Law:</strong><br> According to the Pakistan Medical and Dental Council, Ethics should be preserved, and photographs should be taken with the consent of patient. From the Code of Ethics for PMDC, article 19.1 and 19.2 dully state about the consent and Ethics of the photography.</p><p>· Medical and dental students must identify themselves by name and must obtain permission from patients before examining them. It is advisable to limit the number of students examining any one patient.</p><p>· The taking of photographs or videos for instructional purposes also requires permission. As far as possible these photographs and videos should be done in such a manner that a third party cannot identify the patient concerned. If the patient is identifiable, he or she should be informed about the security, storage, and eventual destruction of the record.[2]</p><p><strong>Methodology</strong></p><p>A total of 100 medical doctors and MBBS Students were surveyed for the Problem statement of “Ethical issues of Smartphones in Healthcare System”. They were asked about the sources they use for the patient-related details sharing via smartphones. The questionnaire was handed over to the national and regional doctors and staff nurse. The audience of the survey are not limited to a single specific place but the it was conducted in many cities to gather unbiased data. As doing research on a data of same place, city may lead us to irrelevant results. Because the data is biased. Questions from the questionnaire are given below.</p><p>· Do you agree with the statement: “ Smartphones can be beneficial in Healthcare Facilities?”</p><p>· Techniques you use to share Patient-related information with colleagues?</p><p>· Techniques you use to share Patient-related information with colleagues?</p><p>· To what extent do you agree with the following statement: “ Sending Patient-related information on smartphone is secure and confidential”</p><p>· Sending Patient-related clinical information to colleagues by using the mentioned techniques are:</p><p>· To what extent do you agree with the following statement: “Breach of the patient information is a critical threat”</p><p>· To what extent do you agree with the following statement: “Personal phones should not be used for Medical activities”</p><p>· Along with the Security, Ethics should be sustained in healthcare systems.</p><p>Question: Do you agree with the statement: “ Smartphones can be beneficial in Healthcare Facilities?”</p><p><strong>Results</strong><br> The questionnaire was surveyed from multiple personals of the healthcare systems. There are doctors, staff nurses, MBBS students etc. and they have mentioned what they are using for sharing of Medical Photography, Medical communication and sharing patient related information. And how they’re using. They have also mentioned the issues related to privacy and security of the details. Upon asking about ethics and morals by using such applications in critical systems such as hospital.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/271/1*YDmLL0dQipduB35hASJG7g.png" /><figcaption>Figure[1]: Question: Do you agree with the statement: “ Smartphones can be beneficial in Healthcare Facilities?”</figcaption></figure><p>According the survey result. 88.2% people said that using of smartphones are beneficial in the healthcare systems are shown in<strong> Figure 1</strong>. As Smartphone helps them to access internet, information transmission, team coordination and other tasks.</p><p>Upon asking about the use of medium for the connectivity and sharing of confidential patient-related reports. 82.4% people said they are using social media applications such as WhatsApp, Messenger, WeChat etc. as shown in <strong>Figure 2</strong>. There are some organization, using their own mobile apps to avoid the ethical issues and data breach related issues. 11.8 % people are using their own build-up apps monitored by organization IT department. The remaining percent are using text messages for the sharing the details and most of them are staff nurses as they don’t have more exposure to smartphone usage, and they prefer to use text messages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/381/1*aP2rXp3bN1vrqQXHspTG3w.png" /><figcaption>Figure [2] Question: Techniques you use to share Patient-related information with colleagues?</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/306/1*C4NANpEqmLt-zQaUkaiEug.png" /><figcaption>Figure[3]. Question: To what extent do you agree with the following statement: “ Sending Patient-related information on smartphone is secure and confidential”</figcaption></figure><p>As mentioned in <strong>Figure 3. </strong>41% people are considering that these techniques and media are the securing the data and confidentiality of information. Approximately 30% people consider the use of these apps are insecure techniques and the information aren’t confidential on these applications.</p><p>Most of the doctors consider the fact that sending patient related data or clinical reports over the mentioned techniques are ethically wrong. As according to the PMDC there are some rules of ethics and consent of the patients. 64% people think that sending the secret and sensitive information over smartphone is ethically wrong and it may lead to the breach, attack and tempering of this data. Statistics are shown in <strong>Figure 4</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/311/1*X6dF6kVWLfpyN5Bwn5Lk_Q.png" /><figcaption>Figure[4] Question: Sending Patient-related clinical information to colleagues by using the mentioned techniques are:</figcaption></figure><p><strong>Figure 4 </strong>illustrates that 35.3% people accept the sharing of patient related information while a major percentage of 64.7% people disagree with the idea of sharing patient’s information. There is a huge disagreement towards the sharing of information because such have Institutional Review Board (IRB). Although such boards practice sanction agreements with human rights for research and accept the legitimate security and information sharing progression for a research experiment but in 2004 at the University of Minnesota , Markingson case revealed university’s IRB was not concerned about care of patients in a clinical experimentation for anti-psychotic antidote. The procurement of data was significant than the patients and it set an horrifying example because in fact, one patient who was testing three drugs committed a clinical trial .<a href="https://www.ncbi.nlm.nih.gov/pmc/articles/PMC5001759/#r14-2378482">14</a> McCarthy in the <em>British Medical Journal</em> writes:</p><p><em>“The report found that the reviews of the case by state, federal, and university bodies were often superficial or compromised by conflicts of interest. The university’s institutional review board, for example, did not review medical records, did not review information about Markingson’s suicide, and did not seek information from anyone other than Stephen Olson (the study principal investigator), the report found.</em></p><p><em>The Minnesota Board of Medical Practice review was done by an expert consultant who had been on the university’s institutional review board when it approved the CAFÉ study, had been the chair of the institutional review board committee that had reviewed Markingson’s death, and had received more than $83 000 (£56 000; €76 000) in payments from AstraZeneca in 2006 alone. A Food and Drug Administration review found no evidence of misconduct, the report noted, but that review “never discussed the potential coerciveness of obtaining consent from an individual under a stay of commitment.”</em>[8]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/338/1*2P1CnWblH3jiQ9RiRxsUjA.png" /><figcaption>Figure [5] Question: To what extent do you agree with the following statement: “Breach of the patient information is a critical threat”</figcaption></figure><p><strong>Figure 5 </strong>shows that 47.1% strongly agree that sharing patient information is a threat for patients and only little percentage of the data collected demonstrates disagreement. As mentioned above Markingson case is an extreme example where the research study was not concerned about the proper care of the patient. In this case the research authority and university certainly did not adhere to ethical principles. [6]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/354/1*dUI9Nz1DeU60kKrwKrBP4A.png" /><figcaption>Figure [6] Question: To what extent do you agree with the following statement: “Personal phones should not be used for Medical activities”</figcaption></figure><p>In <strong>Figure 6</strong> 58.8% which holds majority of sample population illustrates that personal phones should not be used for medical activities. Health care workers and foundation risk civil compulsion if patient data stored on mobile devices are not operated securely. For example, in <em>Doe 464533</em> v. <em>N.D</em>., civil susceptibility for privacy breach was detected where intimate photograph was publicly disclosed which was formerly meant for private viewing. In addition to intervention upon hiding, health care workers storing patient data on cellular devices may danger civil compulsion for aperture of self-reliance and privacy.[7]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/328/1*fyeqte0O-EFU3N_J53XGpw.png" /><figcaption>Figure [7] Question: Along with the Security, Ethics should be sustained in healthcare systems.</figcaption></figure><p>In <strong>Figure 7 </strong>81.4% includes the distribution that strongly agree and agree that ethical concern is also important when sharing data in health care systems. The table below illustrates few of these policies. Table contains relevant ethical guidelines for data sharing but exclude individual organization policies.</p><p><strong>Discussion &amp; Recommendation</strong></p><p>As discussed earlier the breach of the secure data of patient leads to suicidal attempts in many cases. It also challenges the integrity of the organization. Along with medical services, the Ethical prospect should be considered as the most important in delivering the services. Smartphone is the easy option to give access to confidential information of the patients. The enterprise system of the organization is hacked due to security flaws. As we have seen the breach the LabCorps, where 7.7 million patient’s data were breached. [9]</p><p>All the doctors, nurses and medical staff want to use reliable source of data sharing tool such as an application build by the organization rather using social media applications. It is requested to all organizations to build a secure and trusted channel or medium to avoid from any ethical issue and breach of the patients’ data. As all the doctors have mentioned that use of social media apps via smartphones are easily open for ethical issues and they recommend organization owned mobile application for the data sharing.[11], [12]</p><p><strong>Conclusion</strong><br> Use of smartphones for the healthcare systems and medical photography is more convenient way. However ethical issues such as patient-related confidential information might be breached via using either the smartphone or the applications for sharing the information. As per the law to minimize the ethical issues, the consent of the patient should be taken and as suggested by most of the doctors, to build up a platform where they can easily share the data with any issue. Many organizations largely focus on setting detailed data sharing policies within the organization but with the advancement in large data set that we use , cellular applications we develop and the insights we receive from judiciously guided data entities there is a need to provide comprehensive ethical code for external sharing of data. All the stakeholders involved with the data just need to be exceptionally informed by health care systems, organizations and research departments.</p><h3>References:</h3><p>[1] (2020). Retrieved 30 May 2020, from <a href="http://www.spyglass-consulting.com/press_releases/SpyglassPR_POC_Comm_Nursing_2014.v1.1.pdf">http://www.spyglass-consulting.com/press_releases/SpyglassPR_POC_Comm_Nursing_2014.v1.1.pdf</a></p><p>[2] (2020). Retrieved 30 May 2020, from <a href="https://www.diva-portal.org/smash/get/diva2:23919/FULLTEXT01.pdf">https://www.diva-portal.org/smash/get/diva2:23919/FULLTEXT01.pdf</a></p><p>[3] (2020). Retrieved 30 May 2020, from <a href="https://www.govinfo.gov/content/pkg/FR-2015-09-08/pdf/2015-21756.pdf">https://www.govinfo.gov/content/pkg/FR-2015-09-08/pdf/2015-21756.pdf</a></p><p>[4] (2020). Retrieved 30 May 2020, from <a href="http://www.ashg.org/pdf/pol-49.pdf">http://www.ashg.org/pdf/pol-49.pdf</a></p><p>[5] NOT-OD-14–124: NIH Genomic Data Sharing Policy. (2020). Retrieved 30 May 2020, from <a href="https://grants.nih.gov/grants/guide/notice-files/NOT-OD-14-124.html">https://grants.nih.gov/grants/guide/notice-files/NOT-OD-14-124.html</a></p><p>[6] (2020). Retrieved 30 May 2020, from <a href="https://www.utsystem.edu/sites/default/files/documents/general-counsel-documents/UT%20System%202017%20Legal%20Conference%20Presentation%20Materials/Session9DeathofDanMarkingsonResearchScandalandCoverUpatUnivofMinn.PDF">https://www.utsystem.edu/sites/default/files/documents/general-counsel-documents/UT%20System%202017%20Legal%20Conference%20Presentation%20Materials/Session9DeathofDanMarkingsonResearchScandalandCoverUpatUnivofMinn.PDF</a></p><p>[7] CanLII Connects. (2020). Retrieved 30 May 2020, from <a href="https://canliiconnects.org/en/summaries/42137">https://canliiconnects.org/en/summaries/42137</a></p><p>[8] McCarthy, Michael. “University of Minnesota Made ‘Serious’ Ethical Errors in Trial of Antipsychotics, Finds Report.” <em>The BMJ</em>, British Medical Journal Publishing Group, 24 Mar. 2015, <a href="http://www.bmj.com/content/350/bmj.h1628.full.">www.bmj.com/content/350/bmj.h1628.full.</a></p><p>[9] Whittaker, Zack. “LabCorp Security Lapse Exposed Thousands of Medical Files.” <em>TechCrunch</em>, TechCrunch, 28 Jan. 2020, techcrunch.com/2020/01/28/labcorp-website-bug-medical-data-exposed/.</p><p>[10] Legal, ethical and practical considerations of smartphone use in orthopaedics | The Bulletin of the Royal College of Surgeons of England. (2020). Retrieved 30 May 2020, from <a href="https://publishing.rcseng.ac.uk/doi/full/10.1308/rcsbull.2016.252">https://publishing.rcseng.ac.uk/doi/full/10.1308/rcsbull.2016.252</a></p><p>[11] Al Balushi, Amal A. “The Ethics and Legality of Using Personal Smartphones to Take Medical Photographs.” <em>Sultan Qaboos University Medical Journal</em>, Sultan Qaboos University Medical Journal, College of Medicine &amp; Health Sciences, May 2019, <a href="http://www.ncbi.nlm.nih.gov/pmc/articles/PMC6736259/">www.ncbi.nlm.nih.gov/pmc/articles/PMC6736259/</a></p><p>[12] Focus on Ethics: Smartphones and Social Media — Ethical Implications for Educators | NAEYC. (2020). Retrieved 30 May 2020, from <a href="https://www.naeyc.org/resources/pubs/yc/mar2015/focus-ethics">https://www.naeyc.org/resources/pubs/yc/mar2015/focus-ethics</a></p><p>[13] (2020). Retrieved 30 May 2020, from <a href="https://files.eric.ed.gov/fulltext/EJ1145168.pdf">https://files.eric.ed.gov/fulltext/EJ1145168.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=410d7d4713cd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Linear Algebra in Computer Vision]]></title>
            <link>https://medium.com/@musadiq.iba/linear-algebra-in-computer-vision-9c5e0be73ae7?source=rss-1ec87af1ba31------2</link>
            <guid isPermaLink="false">https://medium.com/p/9c5e0be73ae7</guid>
            <category><![CDATA[computer-vision]]></category>
            <category><![CDATA[image]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[linear-algebra]]></category>
            <dc:creator><![CDATA[Musadiq Hussain]]></dc:creator>
            <pubDate>Thu, 01 Oct 2020 08:50:06 GMT</pubDate>
            <atom:updated>2020-10-01T08:50:06.965Z</atom:updated>
            <content:encoded><![CDATA[<p>Linear algebra is the powerful tool for machine learning, data science and others linked domains such as Computer Vision, Natural Language Processing. In computer vision, linear algebra has its own implementations of the field such as use of matrices, vectors and tensors and including their operations such as Linear transformation, matrices operations, linear correlation, dependency of variables. PCA is the most important tool used for analyzing of data and reduce the dimensions of the variables and data. PCA is based on the mathematical concepts of linear algebra. The Computation of Eigenvalues and eigenfaces are the core concepts from the Linear algebra. The clearest applications of linear algebra in computer vision are Flip/Flop of images, rotation of images, object detection, facial recognition used for security purposes of organizations, Filters used in cameras or in social media applications such as snapchat, Instagram, Facebook etc. Camera modelling, Computer Gaming, Convolution, Pose Estimation etc.</p><p><em>Keywords</em>: Linear Algebra, Computer Vision, Image Processing, Principal Component Analysis (PCA), Object Detection, Eigenvectors</p><p>Concepts of Linear Algebra and Computer Vision</p><p>In the field of Data Science and Machine Learning, the concepts of Linear algebra glorify the advancement and invention in these field. As it is a foundation of the Machine Learning. In the field of Computer Vision, Linear Algebra contributed a lot for the complex computations in computer vision. The complex matrix multiplication in the methods of computer vision require the complex and big matrices computations/operations. Compression, rotation, flip, flop, convolution, noise removal, object detection, facial recognition etc. are the methods of the computer vision to extract information from the images. Principle Component Analysis (PCA), Matrix operations (Multiplication, Inverse, Addition, dot/Cross Product), Feature Extraction, Dimension Reduction factors, Linear Transformation, Eigenvector and Eigenvalue, Regression analysis, Matrix factorization etc. are the methods of linear algebra to work on the images. Three main concepts of Linear algebra are: <strong>Vectors, Matrices </strong>and<strong> Tensors</strong> and the mentioned operations process on them.</p><h3>Computer Vision and Linear Algebra</h3><p>Computer Vision is the study to extract the knowledge from images. And for the extraction, core concepts of Linear Algebra (LA) are used. We have discussed earlier the concepts of LA are Vectors, Matrices and Tensors.</p><p>· <strong>Vector: </strong>It is a 1D array and usually defined in such a way that it has magnitude and direction.</p><p>· <strong>Matrix: </strong>It is a 2D array of numbers. For example: the pixels representation of image in matrix form. The operations of matrices are Projection, Translation, Rotation, Scaling, Affine Transformation, Similarity (affine transformation subset), Euclidean Transformation. [1]</p><p><strong>Tensor: </strong>It is a generalization of vectors and matrices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/332/1*8IW06pk26kJLnQYyMLe1xg.png" /></figure><h3>Image Processing</h3><p>In the domain of Computer Vision, the computation on images and pixels are the core tasks. The implementations of Flip/Flop, Rotation, convolution, noise reduction, compressing etc. are performed on the computation of pixels values and the representation of the pixels is in the matrices, vectors and tensors form. <strong>Flip/Flop, Rotation: </strong>In the implementation of Flip/Flop operations, the transpose operation of the matrices is suitable. The pixels stored on the cells of the matrix are shifted to other location on another matrix, with same dimensions and column/row size. The pixels representation of the images is given below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/172/1*yvcYiaVcWo8U23yuWch7cw.png" /></figure><p><strong>Social Media Apps Filters</strong>:<strong> (</strong>Snapchat, WhatsApp, Facebook, Instagram, Twitter etc.) the use of filter on images changes the color, contrast, brightness, etc. of the images. The backend functions for this operation is the matric operations. It multiplies/increases the specific pixels values of the images to change the value of current pixel.</p><h3>Principal Component Analysis (PCA)</h3><p>Principal Component Analysis is a technique to reduce the dimension of data or objects. PCA projects the data along the direction of variance to reduce the direction. It is a way to identify patterns in data and presenting the patterns based on differences and similarities. It is a powerful tool to analyze data. As it also helps to reduce the dimensions of data and discard the unnecessary dimensions based on the performance of model and results. If there is a set of images with multiples variables. To keep the better performance of the model with suitable variables or dimensions, PCA helps to discard the images and reduce the dimensions. From the mathematical aspect, PCA is the computation of Eigenvectors. In python the code of the PCA is given below.</p><p>from sklearn.decomposition import PCA</p><p>// say you want to reduce to 2 features</p><p>pca = PCA(n_components = 2)</p><p>// obtain transformed data</p><p>data_transformed = pca.fit_transform(data)</p><p><strong>Geometric Rationale of PCA</strong></p><p>The objects the data are represented of n points in a shape of cloud in a multidimensional space with an axis of each of the variable of the data. Mean of each variable is expressed by the centroid of the points. Average squared deviation of n values around the mean mentioned before is the variance of each variable, as given in figure 1. [2]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/369/1*kQ3QACyJPxGRleEUM-ZuQA.png" /></figure><p>Covariances of the variables define the linearly correlation of the variables. The formula for the covariances is given in figure 2. [2]</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/362/1*sZIX1FEeC-ui7VQlLczc2A.png" /></figure><p><strong>Object Detection and Facial recognition: </strong>The method which project linearly the image space to a low dimensional image feature space is known as Eigenface method. This method also uses PCA for the reduction of dimensions.<strong> </strong>In image processing, the application of object detection and facial recognition, it checks every pixel of one image with the saved pixels on the server of other images. If the pixels match, then access is granted. The pixels comparison of two matrices is the core concept introduced here. [2], [3]</p><p><strong>Conclusion</strong>.</p><p>With advancement of technology, linear algebra is assisting more to computer vision by visualizing the world around us in an efficient way. In this paper, a basic overview of the linear algebra in computer vision is discussed. There are numerous other fields in Computer vision where Linear algebra assists in development such as Geoscience, Virtual Reality, Security, Surveillance, Augmented Reality, Image Processing, Camera Modelling etc. Some of them already discussed in this paper, which is very useful for the students and researchers to explore more about the Linear Algebra.</p><p>References</p><p>[1] Anshul Garg, Kiran Kaundal, “A study of Linear Algebra for Computer Vision (2017)</p><p>[2] Nirvikar, Neeraj Kumar, “An application of Linear Algebra for the optical Image Recognition (2013)</p><p>[3] Slavkovic and Jevtic, “Face Recognition Using Eigenface Approach”, SERBIAN JOURNAL OF ELECTRICAL ENGINEERING, Vol.9, №1, 121–130, February 2012</p><p>[4] Turk, M., and Pentland, A., “Face Recognition using Eigenfaces”, Conference on Computer Vision and Pattern Recognition, Maui, HI , USA, pp. 586–591. 3–6 June 1991</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9c5e0be73ae7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>