<?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[Tech Start - Medium]]></title>
        <description><![CDATA[This Publication will help you with content to start in any technology you aspire for. We hope to curate the most beginner friendly tech notes in all of Medium. - Medium]]></description>
        <link>https://medium.com/tech-start?source=rss----427c4cd7bdd---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Tech Start - Medium</title>
            <link>https://medium.com/tech-start?source=rss----427c4cd7bdd---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 07:17:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/tech-start" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Data Security in Fabric Datawarehouse]]></title>
            <link>https://medium.com/tech-start/data-security-in-fabric-datawarehouse-c9552705944f?source=rss----427c4cd7bdd---4</link>
            <guid isPermaLink="false">https://medium.com/p/c9552705944f</guid>
            <category><![CDATA[row-level-security]]></category>
            <category><![CDATA[microsoft-fabric]]></category>
            <category><![CDATA[data-lakehouse]]></category>
            <category><![CDATA[data-warehouse]]></category>
            <category><![CDATA[data-security]]></category>
            <dc:creator><![CDATA[Samarendra Panda]]></dc:creator>
            <pubDate>Thu, 21 Mar 2024 15:58:07 GMT</pubDate>
            <atom:updated>2024-03-22T03:52:52.959Z</atom:updated>
            <content:encoded><![CDATA[<h3>Data Security in Microsoft Fabric Datawarehouse &amp; Lakehouse (SQL Endpoint)</h3><p>This blog post will delve into the diverse security features of the Microsoft Fabric Data Warehouse and Lakehouse SQL Endpoint. First, let’s examine the various methods to implement data security in Fabric Data Warehouse, and SQL endpoint in Lakehouse:</p><p>- Implementing standard access control at the object level with GRANT and DENY statements.<br>- Enforcing Row-Level Security to ensure users only see the data they are permitted to access.<br>- Instituting column-level security to safeguard sensitive information from unauthorized access.<br>- Utilizing Data Masking to obscure the data for additional protection.</p><h3>Row Level Security (RLS) in Microsoft Fabric Datawarehouse from the mapping table.</h3><h4>Overview</h4><p>Row-level security (RLS) in Fabric Warehouse and SQL analytics endpoint (in Lakehouse) allows you to control access to rows in a database table based on user roles and predicates. For example, you can ensure that users can only access the rows in a table that are assigned to their sales region. RLS is a great way to implement security in your datawarehouse. In this document, we will explain how to implement RLS in your datawarehouse using the mapping table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/855/0*iObCf4aeIuK5dEvl.png" /></figure><h4>How the Row Level Security works?</h4><p>Here is the <a href="https://learn.microsoft.com/en-us/fabric/data-warehouse/row-level-security">document </a>that describes Row Level Security in Data Warehouses and SQL Endpoints. Row-level security in Fabric Synapse Data Warehouse &amp; SQL Endpoint supports predicate-based security. Filter predicates silently filter the rows available to read operations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/857/1*lc3ynLlVfT2ajPfUgShWOQ.png" /></figure><h4>Setup</h4><p>Step by Step guide on how to setup RLS in your datawarehouse. [<a href="https://learn.microsoft.com/en-us/fabric/data-warehouse/tutorial-row-level-security">link</a>]</p><p>Here are the main steps to setup RLS in your datawarehouse for this example:</p><ol><li>Create a mapping table</li></ol><pre>CREATE TABLE sales.SalesRepCountryMapping (<br>    SalesRep VARCHAR(100),<br>    SalesEmailId VARCHAR(100),<br>    CountryCode CHAR(2)<br>);<br>-- Insert sample data<br>INSERT INTO sales.SalesRepCountryMapping (SalesRep, SalesEmailId, CountryCode)<br>VALUES<br>    (&#39;LeeG&#39;, &#39;LeeG@CONTOSO.OnMicrosoft.com&#39;, &#39;US&#39;),<br>    (&#39;AlexW&#39;, &#39;AlexW@CONTOSO.OnMicrosoft.com&#39;, &#39;CA&#39;)<br><br>-- provide access to the Admin<br>INSERT INTO sales.SalesRepCountryMapping (SalesRep, SalesEmailId, CountryCode)<br>VALUES<br>    (&#39;ADMIN&#39;, &#39;admin@CONTOSO.onmicrosoft.com&#39;, &#39;UK&#39;),<br>    (&#39;ADMIN&#39;, &#39;admin@CONTOSO.onmicrosoft.com&#39;, &#39;US&#39;),<br>    (&#39;ADMIN&#39;, &#39;admin@CONTOSO.onmicrosoft.com&#39;, &#39;CA&#39;),<br>    (&#39;ADMIN&#39;, &#39;admin@CONTOSO.onmicrosoft.com&#39;, &#39;IN&#39;)</pre><p>2. create 2 transactional table where we would like to implement RLS.</p><ul><li><strong>Creating the SalesByCountry</strong></li></ul><pre>CREATE TABLE sales.SalesByCountry (<br>    CountryCode CHAR(2),<br>    SalesDate DATE,<br>    ProductID INT,<br>    QuantitySold INT,<br>    Revenue DECIMAL(10, 2)<br>);<br>INSERT INTO sales.SalesByCountry (CountryCode, SalesDate, ProductID, QuantitySold, Revenue)<br>VALUES<br>    (&#39;US&#39;, &#39;2024-02-27&#39;, 101, 50, 2500.00),<br>    (&#39;US&#39;, &#39;2024-02-27&#39;, 102, 30, 1800.00),<br>    (&#39;CA&#39;, &#39;2024-02-27&#39;, 101, 20, 1000.00),<br>    (&#39;CA&#39;, &#39;2024-02-27&#39;, 103, 15, 750.00),<br>    (&#39;UK&#39;, &#39;2024-02-27&#39;, 102, 25, 1500.00),<br>    (&#39;UK&#39;, &#39;2024-02-27&#39;, 104, 10, 500.00),<br>    (&#39;DE&#39;, &#39;2024-02-27&#39;, 101, 40, 2000.00),<br>    (&#39;DE&#39;, &#39;2024-02-27&#39;, 103, 18, 900.00),<br>    (&#39;FR&#39;, &#39;2024-02-27&#39;, 102, 22, 1320.00),<br>    (&#39;FR&#39;, &#39;2024-02-27&#39;, 105, 12, 720.00);</pre><ul><li><strong>Creating the salesTargetData</strong></li></ul><pre>CREATE TABLE sales.salesTargetData (<br>    CountryCode NVARCHAR(2), -- e.g., &#39;US&#39;, &#39;CA&#39;, &#39;UK&#39;<br>    SalesDate DATE,<br>    ProductID INT,<br>    QuantitySold INT,<br>    Revenue DECIMAL(18, 2),<br>    Target DECIMAL(18, 2),<br>    Achievement DECIMAL(18, 2)<br>);<br>INSERT INTO sales.salesTargetData (CountryCode, SalesDate, ProductID, QuantitySold, Revenue, Target, Achievement)<br>VALUES<br>    (&#39;US&#39;, &#39;2024-02-27&#39;, 101, 50, 2500.00, 3000.00, 0.83),<br>    (&#39;US&#39;, &#39;2024-02-27&#39;, 102, 30, 1800.00, 2000.00, 0.90),<br>    (&#39;CA&#39;, &#39;2024-02-27&#39;, 101, 20, 1000.00, 1200.00, 0.83),<br>    (&#39;CA&#39;, &#39;2024-02-27&#39;, 103, 15, 750.00, 900.00, 0.83),<br>    (&#39;UK&#39;, &#39;2024-02-27&#39;, 102, 25, 1500.00, 1800.00, 0.83),<br>    (&#39;UK&#39;, &#39;2024-02-27&#39;, 104, 10, 500.00, 600.00, 0.83),<br>    (&#39;DE&#39;, &#39;2024-02-27&#39;, 101, 40, 2000.00, 2400.00, 0.83),<br>    (&#39;DE&#39;, &#39;2024-02-27&#39;, 103, 18, 900.00, 1080.00, 0.83),<br>    (&#39;FR&#39;, &#39;2024-02-27&#39;, 102, 22, 1320.00, 1600.00, 0.83),<br>    (&#39;FR&#39;, &#39;2024-02-27&#39;, 105, 12, 720.00, 900.00, 0.80);</pre><p>3. Creating a function for the <strong>SalesByCountry </strong>&amp; <strong>salesTargetData </strong>evaluation</p><p>Here we are mapping the SalesEmailId with the CountryCode and then using the mapping table to evaluate the SalesByCountry and salesTargetData table.</p><pre>-- Creating a function for the SalesByCountry evaluation<br>CREATE FUNCTION Security.fn_security_predicateSales_by_country_code(@country_code AS varchar(50))<br>    RETURNS TABLE<br>WITH SCHEMABINDING<br>AS<br>    RETURN SELECT 1 AS fn_security_predicateSales_by_country_code_result<br>    FROM<br>        sales.SalesRepCountryMapping as mapping<br>        inner join sales.SalesByCountry as sales on mapping.CountryCode = sales.CountryCode<br>        WHERE mapping.SalesEmailId = USER_NAME()<br>        AND sales.CountryCode = @country_code<br><br></pre><pre>-- Creating a function for the SalesTargetData  evaluation<br>CREATE FUNCTION Security.fn_security_predicate_SalesTargetData_by_country(@country_code AS varchar(50))<br>    RETURNS TABLE<br>WITH SCHEMABINDING<br>AS<br>    RETURN SELECT 1 AS fn_security_predicate_SalesTargetData_by_country_result<br>    FROM<br>        sales.SalesRepCountryMapping as mapping<br>        inner join sales.SalesTargetData as sales on mapping.CountryCode = sales.CountryCode<br>        WHERE mapping.SalesEmailId = USER_NAME()<br>        AND sales.CountryCode = @country_code</pre><p>4. Creating a <strong>security policy</strong> for the SalesByCountry &amp; salesTargetData table</p><p>Row-level security in Fabric Synapse Data Warehouse supports predicate-based security. Filter predicates silently filter the rows available to read operations.</p><p>More information on how to create a security policy can be found <a href="https://learn.microsoft.com/en-us/fabric/data-warehouse/row-level-security#predicate-based-row-level-security15">here</a></p><pre>-- Creating a security policy for the SalesByCountry table<br>CREATE SECURITY POLICY sales.SalesByCountryFilter<br>ADD FILTER PREDICATE Security.fn_security_predicateSales_by_country_code(CountryCode)<br>ON sales.SalesByCountry<br>WITH (STATE = ON);<br>GO</pre><pre>-- Creating a security policy for the SalesTargetDataFilter table<br>CREATE SECURITY POLICY sales.SalesTargetDataFilter<br>ADD FILTER PREDICATE Security.fn_security_predicate_SalesTargetData_by_country(CountryCode)<br>ON sales.salesTargetData<br>WITH (STATE = ON);<br>GO</pre><h3>Output</h3><p>After setting up the RLS in your datawarehouse, you can now test the RLS by running the following query:</p><p><strong>Testing Row-Level Security (RLS) involves executing queries as both an admin and a normal user to ensure proper access control to rows in a database table.</strong></p><p>Here is the mapping table:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*st-vGpws-amxPc-p.png" /></figure><pre>-- Please note that the Admin/ Normal user can only see the countries which are specified in the mapping table<br>select USER_NAME(), * from sales.SalesByCountry</pre><p><strong>when user: admin is exceuting the query</strong>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1006/0*vf3nemutg_Lw444N.png" /></figure><p><strong>when Alex is executing the query:</strong></p><p>Before executing the query, ensure that Alex has been granted access to the data warehouse and the specific table. We have already provided Alex with access at the workspace level, it means he is going to have access to all the Datawarehouse tables.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/364/1*_VtstjxTCyENnG4kBYZPYg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IxgvZZKa9dyUACRS.png" /></figure><h3>Implement Object-Level Security in conjunction with Column-Level Security.</h3><p>In the scenario described, Alex was able to access the table without explicit permissions because he was granted “Reader” access at the workspace level, which allowed all data warehouses within the Fabric workspace to inherit this access.</p><p>To test object-level security and column-level security, we will revoke the user’s workspace access and grant them access to a specific table in the Data Warehouse ([sales].[SalesByCountry]). The admin will use the GRANT statement, specifying the columns the user needs access to, in order to restrict access to sensitive columns.</p><pre>GRANT SELECT ON sales.SalesByCountry (CountryCode, SalesDate, ProductID, QuantitySold)TO [AlexW@CONTOSO.OnMicrosoft.com];</pre><p>As Alex does not have workspace-level access, he must connect to the data warehouse using a client tool like SQL Server Management Studio (SSMS). We encounter an error when Alex attempts to access the Revenue column. Additionally, it is observed in the screenshot that Alex can only view the sales.SalesByCountry table, to which we have granted access.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/912/1*Uzd6FH5hxUb-ZOtuhPZkyQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/603/1*QgDA4kX6aJ7NGhGfdF7NCw.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MV8b3XP-cMxA-zHdoaoEtg.png" /></figure><p>Here is the source <a href="https://github.com/Sam-Panda/FABRICation/tree/main/datawarehouse"><strong>code</strong></a><strong> </strong>for this blog.</p><h3>Data Security in SQL Endpoint in Lakehouse</h3><p>As described above for the Datawarehouse, for the SQL Endpoint as well the same code and concept applies. For example, we provide Alex access to SQL Endpoint (Lakehouse) without providing any explicit access (options are unchecked).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*oIfu1G4fPOMvJiRjysf7vg.png" /></figure><p>Then ADMIN executes the following query create the RLS on the table. The table that we are referring is a shortcut table from a different Datawarehouse (DW1), so we can have the RLS and CLS on the shortcut table as well, along with the internal table.</p><p><em>Please note that for the shortcut table, we need to apply the RLS on the SQL Endpoint itself regardless of if the base table already got a RLS applied.</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/428/1*GJOvVwluuH-c9xpK1AibIg.png" /></figure><pre>-- RLS<br><br>CREATE FUNCTION fn_security_predicateSales_by_country_code1(@country_code AS varchar(50))<br>    RETURNS TABLE<br>WITH SCHEMABINDING<br>AS<br>    RETURN SELECT 1 AS fn_security_predicateSales_by_country_code_result<br>    FROM<br>        dbo.salesrepcountrymapping as mapping<br>        inner join dbo.salesTargetDataDW1 as sales on mapping.CountryCode = sales.CountryCode<br>        WHERE mapping.SalesEmailId = USER_NAME()<br>        AND sales.CountryCode = @country_code<br><br>GO<br>CREATE SECURITY POLICY salesTargetDataDW1Filter1<br>ADD FILTER PREDICATE dbo.fn_security_predicateSales_by_country_code1(CountryCode)<br>ON dbo.salesTargetDataDW1<br>WITH (STATE = ON);<br>GO<br><br>-- CLS<br>GRANT SELECT ON  [LH1].[dbo].[salesTargetDataDW1] (CountryCode, SalesDate, ProductID, QuantitySold) <br>TO [AlexW@CONSTOSO.OnMicrosoft.com]</pre><p><strong>Result</strong>:</p><p>We get error from the SQL Endpoint when we try to query all the columns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q-kjuiG9_j52dfhUkj1MEg.png" /></figure><p>We are getting the row filtered as per the mapping table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/852/1*3la7EO8bOnvV9hnIcixKbw.png" /></figure><p>Hope this helps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9552705944f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-start/data-security-in-fabric-datawarehouse-c9552705944f">Data Security in Fabric Datawarehouse</a> was originally published in <a href="https://medium.com/tech-start">Tech Start</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[101 with Azure Machine Learning Service (AMLS)]]></title>
            <link>https://medium.com/tech-start/101-with-azure-machine-learning-service-amls-9499d9b5b813?source=rss----427c4cd7bdd---4</link>
            <guid isPermaLink="false">https://medium.com/p/9499d9b5b813</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[azure-devops]]></category>
            <category><![CDATA[azure-machine-learning]]></category>
            <dc:creator><![CDATA[Samarendra Panda]]></dc:creator>
            <pubDate>Sat, 04 Jul 2020 07:52:14 GMT</pubDate>
            <atom:updated>2020-07-04T07:59:54.393Z</atom:updated>
            <content:encoded><![CDATA[<h4>Azure Machine Learning</h4><h4>This is a beginner hands on practice on Azure Machine Lerning and its usage.</h4><p>In this post, I am going to talk about my experience with the Azure Machine Learning service (AMLS), and operationalize the model using the Azure DevOps ( MLOps). There are plenty of useful resources available in the official Microsoft documentation, and they are really helpful to get me started with the AMLS. I am going to share my experience and the resources I followed to get started.</p><h3>Why Azure Machine Learning Service?</h3><p>I had this question when I first looked into the Azure Machine Learning service, and I was trying to find an answer how is it different than the other services ? We can still perform a ML training operation using the Azure Devops and the other compute resources like Azure Databricks, I found some great features in the Azure Machine Learning Services while working, which makes this service unique for the Machine Learning use cases. There are many feature we have in AMLS which can be discussed, however I am listing down few here which I found it very useful.</p><ul><li>Simplify building model, and compare the performance parameter of different ML algorithm using the automated AMLS experiments. <a href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-configure-auto-train">Details on Automated machine Learning</a>. This feature basically can tell us which algorithm is best for the input dataset, post that we can expand the model as per our requirement using the detected algorithm.</li><li><a href="https://docs.microsoft.com/en-us/azure/machine-learning/concept-ml-pipelines">Azure Machine Learning Pipelines</a> makes the end to end machine learning process easy, and creates a flow of different tasks which normally starts with the data preparation and ends in deploying a model for the scoring. So, if the data changes, or if we need to re-train a model using different hyperparameters, one “submit” click on the AMLS workspace enough to perform the whole flow.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*oIIhhrRDs36msX_rTTo_7Q.png" /></figure><ul><li><a href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-set-up-training-targets">Azure Machine Learning compute</a> — I personally found this feature is helpful while working on some resource intensive experiment which normally a local computer takes longer to run. Lets take an example — you are trying to debug and train a Deep learning model, and it demands a GPU based compute, if you are trying to do it in your cpu based local computer- it takes longer to execute. Instead of that, we can submit an experiment to a gpu based cluster in AMLS which is faster and managed. Also, all the azureml modules are pre-installed in the gpu or cpu based cluster in the AMLS, that reduces the overhead of package management to some extend, we still need to install python and conda distribution which are not related to azureml sdk. According to the different use cases, we can select different compute option. For an example, I use the attached VM compute while running a small experiment. In the attach VM, I need to install the python packages only once, I don’t need to install it during the second run which saves a lot of time . Also, lets say something is failing during the build process or I would like to understand how the AMLS had built the docker image during the time of the experiment run — I can still ssh into the VM and find out the docker image to understand and troubleshoot.</li><li><a href="https://docs.microsoft.com/en-us/azure/machine-learning/concept-environments">Azure Machine Learning Environments</a> helps to manage the different version of the python environments what we need for an experiment to run. Lets take a scenario, we are using list of public packages in our python script. The moment we would like to submit the experiment in a Azure compute, we want those packages to be available (pip installed) before we run the script. There are 2 ways we can do this, <em>(1)</em> Delegate the Environment building task to the Azure ML service- in this case Azure ML service automatically creates an environment by submitting a training run. “When you submit a training run, the building of the new environment can take several minutes. The build duration depends on the size of the required dependencies” [<a href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-environments#create-environments-automatically">ref</a>]. <em>(2)</em> Or, we can build the environment by our own specifying the packages what we need, and attach the same environment while submitting the experiment. What is the benefit in option (2) ? “The environments are cached by the service. So as long as the environment definition remains unchanged, you incur the full setup time only once.” [<a href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-environments#use-environments-for-training">ref</a>]. Also, building environment gives us the facility to include local python wheel packages [<a href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-use-environments#private-wheel-files">ref</a>] which is very useful when you are trying to package some of the helper class in your local development repository. More about python packaging <a href="https://packaging.python.org/tutorials/packaging-projects/">here</a>.</li><li><a href="https://docs.microsoft.com/en-us/azure/machine-learning/how-to-manage-workspace">Azure Machine Learning Workspace</a> : The Azure ML workspace is the one stop location where you can manage all the Azure ML artifacts like DataStore, DataSets, Models, Pipelines, Endpoints. The best part is that all the operation what can be done from the UI, can be done from the <a href="https://docs.microsoft.com/en-us/python/api/overview/azure/ml/?view=azure-ml-py">python sdk</a> , and from the <a href="https://docs.microsoft.com/en-us/azure/machine-learning/reference-azure-machine-learning-cli">Azure CLI ml extension</a>. Now, this helped me to create the end to end workflow from the developer machine till registering the model from Azure Devops and creating the endpoint.</li></ul><h3>Azure DevOps integration with Azure ML</h3><p>A Data Scientist (DS) should not be worried about creating the Azure environment, or deploying the code from the dev to prod, or integration testing of the code or the several deployment task what we generally follow in the software lifecycle. Data scientist should be interested on getting a better performance parameter out of a ML model . DS would be interested to move to the code to the production once model gives the better performance result. Azure devops pipeline ( CI/CD ) makes this whole workflow easier to deploy and maintain from the dev environment till the production environment.</p><p>We have some good documentation around some sample architecture what I leveraged in my work. The below architecture talks about the process in different environment. More about this diagram can be found <a href="https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/ai/mlops-python">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*XKY3JVYind3yobJGSRlCzA.png" /></figure><p>In summary, we do the training in a dev environment using the Azure ML compute. Once we are good with the performance parameter, we register the model. Once the model is registered we release the model in QA environment where we use the Azure container Instance as the compute. If the Integration test and the web service work fine, we move to the production with an Azure Kubernetes cluster as a compute option. [<a href="https://docs.microsoft.com/en-us/azure/architecture/reference-architectures/ai/mlops-python#architecture">detail</a>]</p><p>I followed this git <a href="https://github.com/microsoft/MLOpsPython">repo</a> for my reference to build my own pipeline. I found this very useful for the reference to create the Azure Devops yml based pipeline.</p><p>You can go through below script — it will basically explains the above architecture end to end using the yml.</p><p><a href="https://github.com/microsoft/MLOpsPython/blob/master/.pipelines/diabetes_regression-ci.yml">https://github.com/microsoft/MLOpsPython/blob/master/.pipelines/diabetes_regression-ci.yml</a></p><p>Learn about Azure Machine Leaning objects and Service creation here : <a href="https://github.com/MicrosoftLearning/DP100">https://github.com/MicrosoftLearning/DP100</a></p><p>Hope this helps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9499d9b5b813" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-start/101-with-azure-machine-learning-service-amls-9499d9b5b813">101 with Azure Machine Learning Service (AMLS)</a> was originally published in <a href="https://medium.com/tech-start">Tech Start</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Looping a task in Azure Devops]]></title>
            <link>https://medium.com/tech-start/looping-a-task-in-azure-devops-ac07a68a5556?source=rss----427c4cd7bdd---4</link>
            <guid isPermaLink="false">https://medium.com/p/ac07a68a5556</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[yaml]]></category>
            <category><![CDATA[azure-sql-database]]></category>
            <category><![CDATA[azure-devops]]></category>
            <dc:creator><![CDATA[Samarendra Panda]]></dc:creator>
            <pubDate>Sat, 04 Jul 2020 07:51:11 GMT</pubDate>
            <atom:updated>2020-07-04T08:04:53.225Z</atom:updated>
            <content:encoded><![CDATA[<h4>Advanced Azure Devops</h4><h4>A quick tutorial to loop through a task in Azure Devops.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*BizLcNsc7TznjyEvc1A2CQ.png" /><figcaption>Azure DevOps pipelines ( credit: Microsoft )</figcaption></figure><p>I came across with a requirement where I had to create around 100 SQL databases through the DevOps pipeline in one release. In this kind of solution, the native support of the Powershell in Azure DevOps always helped! And I have a good faith on Powershell as it helped me to implement any complex logic :) However, I wanted to check how this problem can be solved in Azure DevOps natively? How can I loop a task in Azure Devops? AI found a solution going through the Azure Devops documentation, and I am going to post my learning here.</p><p><em>P.S I found some problem related to the variable as it only accepts string, however little tweak in implementation logic, can help us to loop through a task.</em></p><p><strong>Problem Statement :</strong></p><p>We already have SQL Server Elastic pool, and a SQL Server created using the release pipeline . We should now have a step which can create multiple databases in different firms , and can attach to the same SQL server elastic pool.</p><p><strong>Assumption :</strong></p><p>1. We already have a SQL Server and Elastic pool present inside a Resource group. you can use <a href="https://docs.microsoft.com/bs-cyrl-ba/azure/azure-sql/database/scripts/scale-pool-cli">Azure CLI</a> to create this.</p><p>2. Azure Devops service connection has the contributor access to the Resource group.</p><p><strong>Implementation :</strong></p><p>I have used the Azure yaml pipeline. More about the Azure yaml pipeline can be found <a href="https://docs.microsoft.com/en-us/azure/devops/pipelines/yaml-schema?view=azure-devops&amp;tabs=schema%2Cparameter-schema">here</a>.</p><p>In order to do this, we need two yml files. One yml file will do the actual operation of creating the sql database, its kind of a template (createSQLDB-template.yml). All the parameter of this file will be supplied from a release pipeline (callerPipeline.yml) , and template file will loop through the given list. Lets look at the file once..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/341/1*cJKdr6WXrRzDFvajxKlETg.png" /></figure><pre># File Name : createSQLDB-template.yml<br><br><br>parameters:<br>  sqlservername: &#39;&#39;<br>  sqlelasticpoolname: &#39;&#39;<br>  firms : [] #defining array here to expect multiple values. <br>  resourcegroupname: &#39;&#39;<br><br><br>steps:<br>- ${{ each firm in parameters.firms }}:<br>  - task: AzureCLI@2<br>    displayName: &#39;Azure CLI to create the SQL Server database inside an elastic pool&#39;<br>    inputs:<br>      azureSubscription: &#39;azure-service-connection&#39;<br>      scriptType: bash<br>      scriptLocation: inlineScript<br>      inlineScript: |<br>        dbprefix=&quot;db-&quot;<br>        firmname=${{ firm }} <br>        sqldbName=$dbprefix$firmname<br>        echo $sqldbName<br>        az sql db create --resource-group ${{ parameters.resourcegroupname }} --server ${{ parameters.sqlservername }} --name $sqldbName --elastic-pool ${{ parameters.sqlelasticpoolname }}</pre><p>The above script (createSQLDB-template.yml) creates the sql server database. It expects some parameters from the caller function, and creates the sql database in a specific resource group attaching to a SQL Server Elastic pool.</p><p>The below script is being used to setup the Azure Devops pipeline. This script calls the template file passing few parameters, which then creates separate databases.</p><pre># The use of this pipeline to create the sql databases for the multiple firms in an existing SQL Server  and SQL Server Elastic pool. <br><br><br>name: $(Date:yyyyMMdd)$(Rev:.r)pool:<br>  vmImage: &#39;ubuntu-latest&#39;<br><br><br>variables:<br><br><br>- name: sqlservername # name of the parameter; required<br>  value: damosqlserver # provide the name of the sqlserver<br><br><br>- name: sqlelasticpoolname # name of the parameter; required<br>  value: demosqlserverepool # provide the name of the sql server database pool<br><br><br>- name: resourcegroupname # name of the parameter; required<br>  value: &quot;RGSam&quot;<br><br><br>steps:<br>- template : createSQLDB-template.yml<br>  parameters:<br>    sqlservername: ${{ variables.sqlservername }}<br>    sqlelasticpoolname: ${{ variables.sqlelasticpoolname }}<br>    firms: [&quot;firm200&quot;,&quot;firm201&quot;,&quot;firm202&quot;,&quot;firm203&quot;,&quot;firm204&quot;]<br>    resourcegroupname: ${{ variables.resourcegroupname }}</pre><p>Lets now look at the DevOps piepeline which is created using the above script.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CWdRbmCNVQMc3Eom1RhP-Q.png" /></figure><p>If we now trigger the pipeline, we can see that template yml pipeline is now being called 5 times as we have provided list of 5 values in the parameter section <strong>( firms: [“firm200”,”firm201&quot;,”firm202&quot;,”firm203&quot;,”firm204&quot;] ).</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YEPNG1rysYhq8lG7wZcp0g.png" /></figure><p>If we look at the Azure portal, we can see the databases are created..</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/756/1*dO0_cpd41KW8x_m7m0NPzg.png" /></figure><p>We can use the template as a task group ( combination of multiple tasks) and perform a loop combining multiple tasks.</p><p>Hope this helps!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ac07a68a5556" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-start/looping-a-task-in-azure-devops-ac07a68a5556">Looping a task in Azure Devops</a> was originally published in <a href="https://medium.com/tech-start">Tech Start</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Hour Of Python : Day 2]]></title>
            <link>https://medium.com/tech-start/an-hour-of-python-day-2-eb2f6d9b53c5?source=rss----427c4cd7bdd---4</link>
            <guid isPermaLink="false">https://medium.com/p/eb2f6d9b53c5</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[daily-blog]]></category>
            <category><![CDATA[habit-building]]></category>
            <category><![CDATA[python-programming]]></category>
            <dc:creator><![CDATA[Saikat Dutta]]></dc:creator>
            <pubDate>Fri, 03 Jul 2020 18:12:11 GMT</pubDate>
            <atom:updated>2020-06-04T10:22:50.413Z</atom:updated>
            <content:encoded><![CDATA[<h3>An Hour Of Python : Day 2</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AnCp83wDphLaqiIY6KhiJQ.jpeg" /><figcaption>Lists are confusing? Or is it?</figcaption></figure><p>Coding everyday is not taxing, but planning and managing the time can sometimes be challenging. Even though I tried to set a schedule of 11:00 to 12:00 everyday, on the second day itself I missed the slot. Once my day to day task started, it became even more challenging to find time. However, I made time in the afternoon. Though I worked with a python challenge on Hackerrank and completed it, I missed on the target of writing about it.</p><p><a href="https://www.hackerrank.com/challenges/python-lists/problem">Here</a> is the challenge I attempted. This was a relatively easier one, but really helped me to gather quite a few concepts and to practice writing a lot of list built in functions.</p><p><strong>The Challenge:</strong></p><p>Consider a list (list = []). You can perform the following commands:</p><ol><li>insert i e: Insert integer at position .</li><li>print: Print the list.</li><li>remove e: Delete the first occurrence of integer .</li><li>append e: Insert integer at the end of the list.</li><li>sort: Sort the list.</li><li>pop: Pop the last element from the list.</li><li>reverse: Reverse the list.</li></ol><p>Initialize your list and read in the value of followed by lines of commands where each command will be of the types listed above. Iterate through each command in order and perform the corresponding operation on your list.</p><p><strong>Approach:</strong></p><p>The challenge was extremely simple, to create a list of options that the user can input and after reading the inputs, we will have to call the corresponding function on the list.</p><p>This can be achieved either by loading all the inputs into a list or dictionary and then calling separate methods which will call the list method or we can simple have nested if-elif-else blocks to check the input and then call the corresponding list method.</p><p><strong>Solution:</strong></p><p>I took the simplest approach of having multiple if-elif-else blocks and check the input corresponding to the list functions. The inputs were read into a Dictionary which will also have the corresponding input values in it. Ex:</p><p>{0: [‘print’], 1: [‘insert’, ‘0’, ‘1’], 2: [‘insert’, ‘1’, ‘5’], 3: [‘insert’, ‘1’, ‘7’], 4: [‘remove’, ‘5’], 5: [‘apend’, ‘9’], 6: [‘print’]}</p><p>The above dictionary has 3 parts. 1. The label ( 0,1,2…6) 2. The list which has 2 parts the method name and the parameters needed. ( insert as method name and ‘0’ and ‘1’ as parameter.</p><p>Now we can use the built in list functions to perform the operations mentioned in the dictionary above. Ex: list.insert(0,1) , list.remove(5), list.apend(9) etc. Please see the code below on how I checkled the values and called the corresponding list builtin method:</p><p>method_dict = {} #blank dictionary initialised</p><p>if __name__ == ‘__main__’:</p><p>N = int(input())</p><p>#print(N)</p><p>x=0</p><p>for _ in range(N):</p><p>*line, = input().split() #stared assignment to assign multiple inputs in a list</p><p>params = list(line)</p><p>method_dict[x] = params</p><p>x+=1</p><p>#print(‘element’,x)</p><p>#print(method_dict)</p><p>l=[]</p><p>print(method_dict)</p><p>for x in method_dict:</p><p>if method_dict[x][0] == ‘print’:</p><p>print(l)</p><p>elif method_dict[x][0] == ‘insert’:</p><p>l.insert(int(method_dict[x][1]),int(method_dict[x][2]))</p><p># print(‘inserted:’,method_dict[x][2])</p><p>elif method_dict[x][0] == ‘remove’:</p><p>l.remove(int(method_dict[x][1]))</p><p>#print(‘removed:’,method_dict[x][1])</p><p>elif method_dict[x][0] == ‘append’:</p><p>l.append(int(method_dict[x][1]))</p><p>#print(‘append:’,method_dict[x][1])</p><p>elif method_dict[x][0] == ‘sort’:</p><p>l.sort()</p><p>#print(‘sorted:’)</p><p>elif method_dict[x][0] == ‘pop’:</p><p>l.pop()</p><p># print(‘poped:’)</p><p>elif method_dict[x][0] == ‘reverse’:</p><p>l.reverse()</p><p># print(‘reversed:’)</p><p>else:</p><p>print(‘invalid command’)</p><p>So far so good, two days, two sessions of code and also two blogs on medium. I hope to keep the streak going and hopefully improve both on coding and writing skills.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb2f6d9b53c5" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-start/an-hour-of-python-day-2-eb2f6d9b53c5">An Hour Of Python : Day 2</a> was originally published in <a href="https://medium.com/tech-start">Tech Start</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Hour Of Python : Day 1]]></title>
            <link>https://medium.com/tech-start/an-hour-of-python-day-1-15234eedc5b8?source=rss----427c4cd7bdd---4</link>
            <guid isPermaLink="false">https://medium.com/p/15234eedc5b8</guid>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[daily-blog]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[habit-building]]></category>
            <dc:creator><![CDATA[Saikat Dutta]]></dc:creator>
            <pubDate>Fri, 03 Jul 2020 18:11:52 GMT</pubDate>
            <atom:updated>2020-06-04T09:33:52.999Z</atom:updated>
            <content:encoded><![CDATA[<h3>An Hour Of Python : Day 1</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Flw_ZrBnpc4ErB3D01Cl7w.jpeg" /><figcaption>Code Every Day</figcaption></figure><p>Since the start of the Lockdown on 22nd March, here in India, I have been thinking of building two habits. One was to code every day and the other was to write every day. However as luck would have it, I failed with both. I did code a little here and there, but it was never consistent. And in the department of writing I did even more miserably. Hence I planned to combine both and will now start to code at least an hour everyday, starting today. I will also write about the same code session everyday here in Medium.</p><p><strong>Rules:</strong></p><ol><li>the schedule or the period need not necessarily be an hour, it can be more or less. But it has to be effective and hence at least 30 min or more.</li><li>I do not hold myself to a specific schedule, but the plan is to complete the time, in one session or multiple sessions. However due to personal preference I will try to stick to 11:00–12:00 hours everyday.</li></ol><p><strong>Goals:</strong></p><ol><li>I have not set out a specific goal at the start, the main aim is to try and be as consistent as possible with at least an hour everyday.</li><li>The overall Goal is to be able to write Python code and solve simple challenges on Hackerrank or similar platforms.</li><li>A long term goal is to divulge more into Data Science using Python as a primary building point.</li></ol><p><strong>What I Learned Today:</strong></p><p>My focus today was primarily around the Nested lists challenge here on <a href="https://www.hackerrank.com/challenges/nested-list/problem">HackerRank</a> . However along with solving the problem I was picking up multiple basic python concepts and syntax. Here’s a basic list of items I covered today:</p><ol><li>Nested Lists and List Functions in Python. Sorting a list, accessing list elements.</li><li>Dictionary in Python, creating a dictionary and accessing its elements.</li><li>Taking inputs at run time, reading inputs and reading multiple lines of inputs.</li><li>Rounding and Formatting Outputs in Python</li></ol><p>I will further details a very basic understanding of the items above. This is not meant to be a tutorial, but more for my own understanding. This can also serve as a quick cheat sheet for several basic python tasks:</p><ol><li><strong>Creating a blank list in Python: </strong>A blank list in python can be initialized in couple of ways:</li></ol><p>a. Using blank list inside square brackets : a <strong>=</strong> []</p><p>b. Using list() constructor : a <strong>=</strong> list()</p><p><strong>2. User input can be read using input() function. </strong>Multiple inputs can also be read into using loops. The method prompts the user at run time to input the data.</p><p>for _ in range(int(input())):</p><p>name = input()</p><p>score = float(input())</p><p><strong>3. Adding elements to a list: </strong>A new element can be appended to a list using Apend() method after creating a blank list or by using the += operator. Both work in the same manner as in adding an element to the end of the list.</p><p><em>list = [‘larry’, ‘curly’, ‘moe’]</em></p><p><em>list.append(‘shemp’) ## append elem at end</em></p><p><em>list.insert(0, ‘xxx’) ## insert elem at index 0</em></p><p><em>list.extend([‘yyy’, ‘zzz’]) ## add list of elems at end</em></p><p><em>list+=[‘Zoe’]</em></p><p><em>print(list) ## [‘xxx’, ‘larry’, ‘curly’, ‘moe’, ‘shemp’, ‘yyy’, ‘zzz’,’Zoe’]</em></p><p><strong>4. Rounding in python:</strong> can be achieved using the round() function. Exmple below:</p><p>b <strong>=</strong> 1<strong>/</strong>3</p><p>print(b)</p><p>print(round(b, 2))</p><p>Output:</p><pre>0.3333333333333333<br>0.33</pre><p><strong>5. Format in Print: </strong>The same result as above can also be obtained using formatting in Print function. However this is only for printing and not to assign to a variable:</p><p>y=1</p><p>z=3</p><p>print(y/z)</p><p>print(“{:.2f}”.format(y/z))</p><p>Output:</p><p>0.3333333333333333<br>0.33</p><p>I will delve into dictionaries later, after I have had some more practice.</p><p>In the end, I ended up investing quite a few hours, rather than just an hour as previously planned. I guess this was due to the enthusiasm of starting something new and to have been completed it successfully. I hope I will continue this with the same zeal for at least some time and will keep posting about it every day. Till then wish me good luck.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=15234eedc5b8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-start/an-hour-of-python-day-1-15234eedc5b8">An Hour Of Python : Day 1</a> was originally published in <a href="https://medium.com/tech-start">Tech Start</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Feeling Left Out : here’s How to Stay Relevant in IT sector]]></title>
            <link>https://medium.com/tech-start/feeling-left-out-heres-how-to-stay-relevant-in-it-sector-dbccc51889b4?source=rss----427c4cd7bdd---4</link>
            <guid isPermaLink="false">https://medium.com/p/dbccc51889b4</guid>
            <category><![CDATA[technology-trends]]></category>
            <category><![CDATA[motivation]]></category>
            <category><![CDATA[career-growth]]></category>
            <category><![CDATA[staying-relevant]]></category>
            <category><![CDATA[information-technology]]></category>
            <dc:creator><![CDATA[Saikat Dutta]]></dc:creator>
            <pubDate>Fri, 03 Jul 2020 18:11:27 GMT</pubDate>
            <atom:updated>2022-04-06T11:31:32.314Z</atom:updated>
            <content:encoded><![CDATA[<h4>THE COMPREHENSIVE GUIDE</h4><h3>Feeling Left Out? 7 Steps to Stay Relevant in IT</h3><h4>Tips to stay relevant with changing technology landscape</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tF3wX4z63cW5BMM0P-LKWw.jpeg" /><figcaption>Cliche But Extremely Relevant</figcaption></figure><p>The world is fast changing. The technology is changing even faster. In the last 10 years we have seen a boom in technology like never before.</p><p>From bulky wired phones to hand held smart devices, from the idiot box to the OTT platforms, from having limited options to being told what to buy.</p><p>Thanks to recommendation engines and social media advertising, technology has impacted our day to day lives as we knew probably even 10 years back.</p><p>To enable this constant changing lifestyle, technology has had to evolve a great deal in the last few years.</p><p>From the basic computer infrastructure, moving through the stating web pages in early days of WWW boom to the final stages of dynamic technology a lot of innovations have been done.</p><p>Amid this sea of changes were you able to keep pace with the constant changing technology demands in your workplace?</p><p>As a software engineer or developer , were you able to keep pace with the demand for constant learning? Well I could not.</p><p><strong>Let me tell you my story..</strong></p><p>I was doing quite well in my initial years in my company. I had passed out of the initial training course among the top 10 and had been assigned on a Data migration project.</p><p>Though the data migration project ended too soon and I had to move to a dreaded production support role(something no one wants to be a part of ).</p><p>But I was still not discouraged, I would experiment with the new learned knowledge of BI tools, come up with new ideas to improve processes and contribute in whatever enhancements and development work I could get my hands on.</p><p>The management soon took notice of my urge and I would soon become their go to person for anything that needed some research or special attention.</p><p>This ensured early promotions, early considerations for a team lead role and eventually the most sought after of Onsite deputation in UK.</p><p>But soon after coming back from UK, I hit a rough patch.</p><p>Unfortunately the projects in pipeline got hit due to disinvestment from the client business, a lot of upcoming projects were cancelled, many pipelines dried up and I too was content with whatever little role as a team lead or delivery manager I got.</p><p>I went away from the latest technology and started working on a legacy platform that no one else uses outside some banks in UK.</p><p>There was a gap of around 4 years that I stopped working on relevant technologies, while the whole sector was going through an unprecedented change, even bigger than the dot com bubble or may be the Y2K bug. The whole world in IT was moving at a faster than ever before pace.</p><p>Be it BI, be it application development or project management every field was completely changed in these 4 years time. Java and .Net based web apps and desktop software made way for Dynamic website, Android and IOS applications, scripting languages etc.</p><p>The simple BI through Datawarehouse saw a sea of change in BIG Data Management, Data Analysis and Data Science becoming main stream. The classical project management and SDLC life cycles made way for much leaner Agile methodology and Devops style or working with code and delivery.</p><p><strong>I felt out of place and I had stopped practicing new technologies, even </strong>though I kept reading or learning new things, I never attempted for hands on learning, I also did not get hands on experience on job due to my role.</p><blockquote>This created a sense of being left out, I started to feel I have fallen behind from the competition. This lack of confidence impacted my career growth too, as I did not like what I was doing back then.</blockquote><p>But I was able to turn the tide by some self realization and a planned approach to learning. Here are a few tips that I used and I think might be relevant for others too. These steps will be extremely crucial to bounce back in career and continue to stay relevant in this fast changing time.</p><p><strong>How to stay relevant :</strong></p><ol><li><strong>Decide a path of growth </strong>both for your career and personal development: This is extremely important as this will drive all the other steps. You need to sit back and analyze which path you want to take in your career.</li><li><strong>It can be a career path within your organisation or outside.</strong> But you need to be truthful to yourself and the skills you already have. This can be to become an app developer, a full stack developer, a Big data developer or to be a Data Scientist, just try to align the goals to your existing skills and to organizational requirement.</li><li><strong>Learn hands On: </strong>This is key to be able to use your leanings in your workplace. With advancement of technology practicing your skills on any programming language, tool or platform is extremely easy.</li><li><strong>Attend hackathons online / offline</strong>, attend hacks on Hackerrank, Kaggle, freecodecamp etc and various other websites. Do your own mini projects from scratch and build them as production ready projects.</li><li><strong>Cloud is inevitable: </strong>Whatever career track you choose, be rest assured the development environment along with data has either moved to cloud already or is in pipeline. It is imperative, hence, to ensure you have hands on knowledge on how to use the relevant technical tools or environment in the cloud.</li><li><strong>Data is the new Oil : </strong>After Cloud the single largest trend in technology right now is how Data can transform a business. Hence this is not an overstatement when someone says, “Data is the New Oil”. <br>Adopt to Big data, try to learn various Big Data related technologies, work on cloud based ETL/ELT platforms and in the end try to analyze and see pattern in Data.</li><li><strong>Stay motivated: </strong>In the end, I must break it to you, it is not easy to play catch up with those junior developers eager to learn or with those who have already had years of experience on the same technologies. But rather than being demotivated, learn from them, stay motivated is the key. This can be a long and tiring process, but if you keep at it regularly, this is achievable.</li></ol><p>If I could do it, I am sure any one can do it too. I have just tried to give a few pointers on my personal experiences. Hope this helps someone else to be motivated and to start hustling back to the top of their career.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbccc51889b4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-start/feeling-left-out-heres-how-to-stay-relevant-in-it-sector-dbccc51889b4">Feeling Left Out : here’s How to Stay Relevant in IT sector</a> was originally published in <a href="https://medium.com/tech-start">Tech Start</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How a hackathon can help you learn]]></title>
            <link>https://medium.com/tech-start/how-a-hackathon-helped-me-scrape-the-sea-of-knowledge-out-there-ec3ce153215?source=rss----427c4cd7bdd---4</link>
            <guid isPermaLink="false">https://medium.com/p/ec3ce153215</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[codingbootcamp]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[hackathons]]></category>
            <dc:creator><![CDATA[Saikat Dutta]]></dc:creator>
            <pubDate>Fri, 03 Jul 2020 18:10:28 GMT</pubDate>
            <atom:updated>2020-07-03T18:23:37.245Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Hackathon Series</h4><h4>Learn to code via the different hackathons and competitive coding.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XeTIb0-mdTivJKRuEnZ8Og.jpeg" /><figcaption>Image by <a href="https://pixabay.com/users/StockSnap-894430/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2557468">StockSnap</a> from <a href="https://pixabay.com/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=2557468">Pixabay</a></figcaption></figure><p>Let’s face it these day’s being a Data Scientist is considered to be even more sexier than being a Hunk or a Blonde. Since when HBR declared Data Scientist: The Sexiest Job of the 21st Century we all have at some point in time thought of cracking the world of Jargon and being the sexy bloke who munches numbers for break fast and creates Graphs and Plots for fun.</p><p>I was no different, after all who doesn’t look for an opportunity to grow the most in the smallest amount of time. However with the large amount of resources at hand I only got more lost the more I tried to find the cheat code to learn Data Science in 10 days/1 month/3 months etc in the Youtube videos. <br>​<br>I knew ​Python was no longer just a snake and Pandas were not animals only any longer. But I was still lost in the worlds of EDA, Convolutions, Regressions, Decision Trees and Biases. The problem was I was not applying the knowledge practically, and even though I could gather the theories or the math I was still not writing codes or building models or training them. <br>​<br>​My official email came to the rescue again, I registered for the an<strong> </strong>Hackathon the company was arranging<strong>. </strong>I hadn’t completed any other Hacks before this, hence I was a little nervous to say the list. But the team promised it will be fun. On the day of the hack, I missed to login at the stipulated start time and was delayed by 3 Hrs due to other priority work. However when I started I was surprised to see the Avengers and Marvel Stars ready to entertain us. I was only aware of merely 15–20 Marvel characters but they gave us a website which had hundreds of Marvel Stars from their comics universe. I was intrigued and thought they were right.<br>​<br>Without further ado I cracked on and started to code at the dead of the night. I have never ever before scrapped any websites and had no idea how its done. I had read about how google uses Bots and Crawlers to scroll through millions of web pages and ranks them, but to me they were kind of real bots going around and reading every word out of the pages, it was so alien in technology. Hence once again google came to the rescue. As you might have guessed Python again has a lot of libraries up to the task and all I had to do is apparently import them, use them, build the correct logic and I am good to go.<br>​<br><strong>​The Challenge:</strong><br><strong>​</strong><br><strong>​Scrape data from a custom made website which had the data of all the Marvel superheroes listed in order along with their characteristics as Eye color, First Appearance, year of appearance etc. We then had to cleanse the data and perform some exploratory data analysis on them. </strong><br><strong>​</strong><br><strong>​The Tech:</strong><br><strong>​<br>​Web Scrapping:</strong><br>Python has built-in libraries like Requests, Beautiful Soup, Selenium to do exactly what we needed. Selenium enables Chrome or other browsers to be controlled by automated code, Requests allows web page or its source code in HTML be downloaded, Beautiful Soup allows parsing the HTML tags etc to get the correct data we are interested in. It was easy till this point, Google was there to help. But soon the ideas and blogs ran out and I had to do self digging to get the right functions, call the correct method and find the right approach to reach the child tags that had the relevant data.<br>​<br>​Finally after about 4Hrs of coding and searching on google and exploring concepts and reading the documentation for Beautiful Soup I was able to execute my program to scrape the knowledge of all Marvels and save it as a CSV file on my desktop. I did not know the boundary of joy at the dead of the night. However it still had some issues, the tricks of having different components and tags to display the data on the site got me. I resumed the next afternoon and by the time only 2 hrs were left, I was finally able to run all test cases successfully for the scraped data. It was time to move on to the next task <strong>to try and clean the data.</strong></p><p><strong>​Data Cleansing:​<br>​</strong><br>​At this point I was too exhausted looking for new python commands etc. hence I just used Excel to clean the data. Yes you heard it right even Excel can be used to prepare data set for your AI models and you don’t always have to learn fancy coding to get the right data set for your models. Data cleansing was relatively easy as all it needed was to replace the null values with Not Applicable and merging two columns to get the first appearance data and delete redundant column. All these are pretty standard in excel however you can even use Python to do the same easily.</p><p>If you are using Python the Pandas library gives you a host of options to clean the data. Below are just a few examples to help slicing data, converting to int, concatenating and converting to date where needed.</p><p>df1 = df.apply(lambda x: x.str.slice(0,3) if x.name == ‘first appearance’ else x)<br>df1.year = pd.to_numeric(df1.year,downcast=’integer’,errors=’coerce’)<br> df1[‘year’] = df1[‘year’].fillna(-1)<br> df1.year = df1.year.astype(int)<br> df1.year = df1.year.astype(str)<br> df1.year = df1.year.replace(‘-1’,np.nan)<br> df1[‘timeline’] = pd.to_datetime(df1.year +’-’+ df1[‘first appearance’] +’-’+ ‘01’,format=’%Y-%b-%d’)</p><p><strong>​Exploratory Data Analysis:</strong><br><strong>​</strong><br>​By this time I had almost exhausted all the time and I did not receive the invites for the third challenge either. But that did not stop me, the moderators were kind enough to keep the problem statement in the instructions location. I used my spare time to complete the tasks provided. The questions asked were not only fun as in we learned about concepts of exploring pattern in data but also we explored the world of fascinating marvel comics and Pop culture around it. The team really created a great set of questions to explore in this segment.</p><p>Ex:</p><ol><li>How many comic characters in your dataset made their first appearance during the Golden Age of Comic Books?</li><li>Silver Age of Comic books saw advancements in artistic ability. The Silver Age characters were Flawed and Self Doubting. How many public identity characters made their first appearance during this age?</li><li>From the data , are more men clandestine than women in this dataset ?</li></ol><p>I used Python libraries Numpy and Pandas to do the exploration and to answer the questions asked. A good opportunity to delve deep both in the exciting worlds of Python and Marvel.</p><p><strong>The Challenges:</strong></p><p>It was not easy to make the time for the challenge over a Friday night and the next Saturday morning, however it was totally worth it to stay up the night coding, after a lot many days.</p><p>The concepts were not extremely difficult yet needed us to think out side the box and learn and implement from the web. The problem was not something you can directly follow from online resources or even copy from them.</p><p>As I was not able to make the cut in time, it would have probably been better that I had planned to start only when I could work on the problem with constant attention, rather than starting stopping and resuming later.</p><p><strong>Conclusion:</strong></p><p>It was not the challenge of the Hack but the idea of exploring something new, to be able to implement the theories and ideas to practice and code and to be able to explore the vast knowledge base to answer an actual world challenge was the crux of the hack. This hack helped me to put the thinking cap on and made me code after quite some time. You can explore more such challenges on any of the free code platforms like <a href="https://www.hackerrank.com/">https://www.hackerrank.com/</a> or <a href="https://www.freecodecamp.org/">https://www.freecodecamp.org/</a> to explore the xciting world of Hacks and challenges.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec3ce153215" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tech-start/how-a-hackathon-helped-me-scrape-the-sea-of-knowledge-out-there-ec3ce153215">How a hackathon can help you learn</a> was originally published in <a href="https://medium.com/tech-start">Tech Start</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>