tag:blogger.com,1999:blog-67051145615917328972024-03-12T19:49:02.038-04:00Software Solutions and RnDUsing Open Source Software and SolutionsEnrique Escohttp://www.blogger.com/profile/05637323782893135895noreply@blogger.comBlogger106125tag:blogger.com,1999:blog-6705114561591732897.post-69030183331770157312016-10-18T10:21:00.001-04:002016-10-18T10:21:51.817-04:00About_RpackagesForDataScienceSpecial thanks to <a href="https://www.analyticsvidhya.com/" target="_blank">Analytics Vidhya</a><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTjARMSZYr1iIrkyqDHrCE8BPVDbfIwX3B5jMFItKc3OccgnE_FDYLgZ5a9cbgw4oTG8QVgi6VfcjD6SxJjfv2HiLIGYPJPywcqHLUuxtp-JaUMQrcaqdr5pVrklxF5Xo6TIoYfOZLGuPg/s1600/MS-R_DataScienceLibs.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="424" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTjARMSZYr1iIrkyqDHrCE8BPVDbfIwX3B5jMFItKc3OccgnE_FDYLgZ5a9cbgw4oTG8QVgi6VfcjD6SxJjfv2HiLIGYPJPywcqHLUuxtp-JaUMQrcaqdr5pVrklxF5Xo6TIoYfOZLGuPg/s640/MS-R_DataScienceLibs.jpg" width="640" /></a></div>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-57085601372659503442016-08-23T11:07:00.000-04:002016-08-23T11:07:12.962-04:00About_WindowsAndDotNET-Versions<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyuIn1rY_vnz8zEECxmetsAWMbvUq6wTSsw-tGMZwka0LcTbpKvVWjBSA9R4QSwuy-OT3ushr5AwPAHWqSBfdl-G0QH_xBtwGwXKWLhHEC6gZ6pZfPPqCdR-TVub75_u0DtUtaxl3T95bn/s1600/WindowsAndDotNETVersions.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgyuIn1rY_vnz8zEECxmetsAWMbvUq6wTSsw-tGMZwka0LcTbpKvVWjBSA9R4QSwuy-OT3ushr5AwPAHWqSBfdl-G0QH_xBtwGwXKWLhHEC6gZ6pZfPPqCdR-TVub75_u0DtUtaxl3T95bn/s1600/WindowsAndDotNETVersions.png" /></a></div>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-11108096783144731312016-08-09T13:37:00.004-04:002016-08-09T13:37:29.335-04:00About-Stats_HypthesisTesting<h3 style="clear: both; text-align: center;">
Stats_HypthesisTesting</h3>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4cF5ZlNtG1pY-2HOBQrVSIE1mGGqwDy2EuaMhGfXIb2zyHe8Qzouh4gCJ6LFdicUI_pZp5SqIiEDtQklQhusc7ikqJLcyKVdSRN2FvXIhpV6ZUmLY12xfLDf9oHLqKrwFwbPjLSu1_gxM/s1600/Stats-Test_mean.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="349" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4cF5ZlNtG1pY-2HOBQrVSIE1mGGqwDy2EuaMhGfXIb2zyHe8Qzouh4gCJ6LFdicUI_pZp5SqIiEDtQklQhusc7ikqJLcyKVdSRN2FvXIhpV6ZUmLY12xfLDf9oHLqKrwFwbPjLSu1_gxM/s640/Stats-Test_mean.png" width="640" /></a></div>
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-86172214626821146402016-08-09T12:33:00.000-04:002016-08-09T13:21:58.560-04:00About-R_SqlServerAnalysis<h1>
SQL-Rstats<o:p></o:p></h1>
<h2>
ODBC Configuration<o:p></o:p></h2>
Create a System ODBC<o:p></o:p><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0hwLLmO09FKZ9CYakCd16-gLQQEsM9V1wVUm2uMLqTVSij2Xc3S-7iPs3OkzZSRMN7F445OBnNMmYbCahWikkaxHinkLw51xs01X77c2S7LeAjmqRcPNRvUvjKmDT8o9gAxlU8RvmPXwP/s1600/image001.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="330" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg0hwLLmO09FKZ9CYakCd16-gLQQEsM9V1wVUm2uMLqTVSij2Xc3S-7iPs3OkzZSRMN7F445OBnNMmYbCahWikkaxHinkLw51xs01X77c2S7LeAjmqRcPNRvUvjKmDT8o9gAxlU8RvmPXwP/s400/image001.png" width="400" /></a></div>
to be used locally<o:p></o:p><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimUMezZAD49E5pPDmOUro1huFuRilq-zJQBGABnEmVIQxTvVFMMBHQI6eqmNv5OQooUdan23u-3ZJW1PiY0pMsy4IFuvzYX6HQBJBC0MTitaUksLLKraoxUcIOJy-IXB1lk-0YjbolHvbw/s1600/image004.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="311" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimUMezZAD49E5pPDmOUro1huFuRilq-zJQBGABnEmVIQxTvVFMMBHQI6eqmNv5OQooUdan23u-3ZJW1PiY0pMsy4IFuvzYX6HQBJBC0MTitaUksLLKraoxUcIOJy-IXB1lk-0YjbolHvbw/s400/image004.png" width="400" /></a></div>
in your system<o:p></o:p><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi26ss7sk1-0TUvbY8BxFQfmyGnecwbDdju89A5C6os5LAdW9EPdWhJ6Wpfw1orzSS44QeW9tEjAitOlnYae7I56YhbyuKSlvlJqfz7JLu0eC0UHfl8Af-YeiJU2sYcBA04Xsdvxr1JARuo/s1600/image003.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="315" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi26ss7sk1-0TUvbY8BxFQfmyGnecwbDdju89A5C6os5LAdW9EPdWhJ6Wpfw1orzSS44QeW9tEjAitOlnYae7I56YhbyuKSlvlJqfz7JLu0eC0UHfl8Af-YeiJU2sYcBA04Xsdvxr1JARuo/s400/image003.png" width="400" /></a></div>
with the correct user and password.<o:p></o:p><br />
Turn it ANSI compliant<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-DUPTeRZuh5nN8-t3kuG8o3ZZjMRGoa8PgQtT0B6gn75Wp6xPDXptrH3I7GBp_Xa5qYcbQJ0mlZNZw9JUthLUp-l-v8elBcRK7L3AKv9arI7p33Aqc2WSOJuyXIc8ndJGpjxsgWvwZrxk/s1600/image005.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-DUPTeRZuh5nN8-t3kuG8o3ZZjMRGoa8PgQtT0B6gn75Wp6xPDXptrH3I7GBp_Xa5qYcbQJ0mlZNZw9JUthLUp-l-v8elBcRK7L3AKv9arI7p33Aqc2WSOJuyXIc8ndJGpjxsgWvwZrxk/s400/image005.png" width="400" /></a></div>
<br />
Set log paths<o:p></o:p><br />
<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ37wzFiclIaPRnf65EmugBW6BWJOphCPNfEKzCJag1ChqqX6ZadcnQKhSvm-WbnhHZl0iZd6hCcsHWFrNMEhLkIi17kAToy5i5MDooM0GbiiG8z7lbd_2gdnQBQccyXuyJPitvCTSydWi/s1600/image006.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJ37wzFiclIaPRnf65EmugBW6BWJOphCPNfEKzCJag1ChqqX6ZadcnQKhSvm-WbnhHZl0iZd6hCcsHWFrNMEhLkIi17kAToy5i5MDooM0GbiiG8z7lbd_2gdnQBQccyXuyJPitvCTSydWi/s400/image006.png" width="400" /></a></div>
Get summary<br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOCLeqiFlbjm2b5SVFn5tQX2gJeZSNI2LOXXFhpwWjudDU0iYNVv87wXZRvfjxtDOvlvFg0_msgHFOFti81BgxfLDrhtcVee_96AFA1de9uR8gY2Sm5jM_k4JzGkrY9TetvTK-whR6iYrM/s1600/image007.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="248" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjOCLeqiFlbjm2b5SVFn5tQX2gJeZSNI2LOXXFhpwWjudDU0iYNVv87wXZRvfjxtDOvlvFg0_msgHFOFti81BgxfLDrhtcVee_96AFA1de9uR8gY2Sm5jM_k4JzGkrY9TetvTK-whR6iYrM/s320/image007.png" width="320" /></a></div>
Test ODBC<o:p></o:p><br />
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCMAvqADetpCsAxXbEbl31AWcl9CYXND5Rteo8ccn498S9mifCD5Z8NaQNgB7FZ3hq4Cr3bThMDC2kc9H0hnHlwHXCLWuASlktGNHTAmQmOdwSYQI4gPB_EczDg8-zmb9tYfBVu2-I82_o/s1600/image008.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="310" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCMAvqADetpCsAxXbEbl31AWcl9CYXND5Rteo8ccn498S9mifCD5Z8NaQNgB7FZ3hq4Cr3bThMDC2kc9H0hnHlwHXCLWuASlktGNHTAmQmOdwSYQI4gPB_EczDg8-zmb9tYfBVu2-I82_o/s400/image008.png" width="400" /></a></div>
<br />
<h2 id="SQL-Rstats-RConfiguration">
R
Configuration<o:p></o:p></h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBG4f4wCPJ6uye7eIbx6w5ojSvo5JkcQsgPOZWdqZvH6OP0cRUvfSBrQzQJQaSLcJCcL_Bpfv7IHBAt1wblovuWy5q17GITnwUmk1Nq61I8sO2kSIRbJ1px88rHHUy-JjeDwgjLLNApN8E/s1600/image009.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiBG4f4wCPJ6uye7eIbx6w5ojSvo5JkcQsgPOZWdqZvH6OP0cRUvfSBrQzQJQaSLcJCcL_Bpfv7IHBAt1wblovuWy5q17GITnwUmk1Nq61I8sO2kSIRbJ1px88rHHUy-JjeDwgjLLNApN8E/s1600/image009.jpg" /></a></div>
<div>
<br /></div>
<h3 id="SQL-Rstats-MicrosoftRServer">
<span lang="FR">Microsoft R Server<o:p></o:p></span></h3>
<span lang="FR">Platforms<o:p></o:p></span><br />
<a href="https://msdn.microsoft.com/en-us/microsoft-r/rserver-install-supported-platforms"><span lang="FR">https://msdn.microsoft.com/en-us/microsoft-r/rserver-install-supported-platforms</span></a><span lang="FR"><o:p></o:p></span><br />
<span lang="FR">Download<o:p></o:p></span><br />
<a href="https://msdn.microsoft.com/en-us/microsoft-r/rserver-install-windows"><span lang="FR">https://msdn.microsoft.com/en-us/microsoft-r/rserver-install-windows</span></a><span lang="FR"><o:p></o:p></span><br />
<span lang="FR">Install<o:p></o:p></span><br />
<a href="https://myprodscussu1.app.vssubscriptions.visualstudio.com/Downloads?PId=1962"><span lang="FR">https://myprodscussu1.app.vssubscriptions.visualstudio.com/Downloads?PId=1962</span></a><span lang="FR"><o:p></o:p></span><br />
<a href="http://marlonribunal.com/how-to-install-microsoft-r-server-for-windows/"><span lang="FR">http://marlonribunal.com/how-to-install-microsoft-r-server-for-windows/</span></a><span lang="FR"><o:p></o:p></span><br />
<h4 id="SQL-Rstats-MicrosoftREngine-Server">
Microsoft R Engine-Server<o:p></o:p></h4>
Microsoft Open for Revolution R Enterprise a.k.a. RRE : MRO-3.2.2-for-RRE-8.0.0-Windows<o:p></o:p><br />
<h4 id="SQL-Rstats-RIDE">
<span lang="FR">R IDE<o:p></o:p></span></h4>
<h5 id="SQL-Rstats-IDERevolutionREnterprisea.k.a.RRE">
<span lang="FR">IDE
Revolution R Enterprise a.k.a. RRE<o:p></o:p></span></h5>
Revolution-R-Enterprise-8.0.0-Windows<o:p></o:p><br />
<h3 id="SQL-Rstats-MicrosoftROpen">
Microsoft
R Open<o:p></o:p></h3>
<h4 id="SQL-Rstats-MicrosoftREngine-Open">
Microsoft R Engine-Open<o:p></o:p></h4>
MRO downloads at <a href="https://mran.revolutionanalytics.com/download/">https://mran.revolutionanalytics.com/download/</a><o:p></o:p><br />
MRO-3.2.5-win or later <a href="https://mran.revolutionanalytics.com/install/mro/3.3.0/MRO-3.3.0-win.exe">https://mran.revolutionanalytics.com/install/mro/3.3.0/MRO-3.3.0-win.exe</a><o:p></o:p><br />
RevoMath-3.2.5 or later <a href="https://mran.revolutionanalytics.com/install/mro/3.3.0/RevoMath-3.3.0.exe">https://mran.revolutionanalytics.com/install/mro/3.3.0/RevoMath-3.3.0.exe</a><o:p></o:p><br />
<h4 id="SQL-Rstats-RIDE.1">
R
IDE<o:p></o:p></h4>
<h5 id="SQL-Rstats-RStudioforMROorMRS">
RStudio
for MRO or MRS<o:p></o:p></h5>
RStudio-0.99.491 or more recent at <a href="https://www.rstudio.com/products/rstudio/download2/">https://www.rstudio.com/products/rstudio/download2/</a><o:p></o:p><br />
<h5 id="SQL-Rstats-VS2015forMROorMRS">
VS2015 for
MRO or MRS<o:p></o:p></h5>
Visual Studio 2015 <a href="https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx">https://www.visualstudio.com/en-us/downloads/download-visual-studio-vs.aspx</a><o:p></o:p><br />
Cumminty <a href="https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx">https://www.visualstudio.com/en-us/products/visual-studio-community-vs.aspx</a><o:p></o:p><br />
<h3 id="SQL-Rstats-MicrosoftRStartGuide">
Microsoft R Start Guide<o:p></o:p></h3>
<a href="https://msdn.microsoft.com/microsoft-r/microsoft-r-getting-started">https://msdn.microsoft.com/microsoft-r/microsoft-r-getting-started</a><o:p></o:p><br />
<h3 id="SQL-Rstats-MicrosoftRClient">
Microsoft
R Client<o:p></o:p></h3>
It is an universal client<o:p></o:p><br />
<a href="https://msdn.microsoft.com/microsoft-r/install-r-client-windows">https://msdn.microsoft.com/microsoft-r/install-r-client-windows</a><o:p></o:p><br />
<h2 id="SQL-Rstats-PowerBI">
Power
BI<o:p></o:p></h2>
Installation at <a href="http://marlonribunal.com/getting-started-with-power-bi-desktop-installation/">http://marlonribunal.com/getting-started-with-power-bi-desktop-installation/</a><o:p></o:p><br />
Cloud at <a href="https://powerbi.microsoft.com/">https://powerbi.microsoft.com/</a><o:p></o:p><br />
<span lang="FR">Mobile at </span><span lang="FR"><a href="https://powerbi.microsoft.com/mobile">https://powerbi.microsoft.com/mobile</a></span><br />
Desktop at <a href="https://powerbi.microsoft.com/desktop">https://powerbi.microsoft.com/desktop</a><o:p></o:p><br />
<h2 id="SQL-Rstats-ProjectArchitecture">
Project Architecture<o:p></o:p></h2>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsDo61LhDB8Sjd5sE1NCn-D3cX46aSvcTLNzoy7SvYeK_8KxaYVq_OJsdaOd_y3oBcGR8-4uCa9Vnlh-85aB9fzNODZKJZIZxvg-nsEBqrFml_yR_z6dkBMIHvD8IovZ0hS3YmbY-P74CZ/s1600/image010.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjsDo61LhDB8Sjd5sE1NCn-D3cX46aSvcTLNzoy7SvYeK_8KxaYVq_OJsdaOd_y3oBcGR8-4uCa9Vnlh-85aB9fzNODZKJZIZxvg-nsEBqrFml_yR_z6dkBMIHvD8IovZ0hS3YmbY-P74CZ/s1600/image010.png" /></a></div>
<div>
<br /></div>
<br />
<h1>
SQL-Scripts<o:p></o:p></h1>
<h2>
Server Info List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerInfoListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- SQL Server Instance<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">Select @@SERVERNAME AS SQLServerInstance;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">-- SQL Server Version<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">Select @@VERSION AS SQLServerVersion;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">-- SQL Server Service<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">Select @@ServiceName AS ServiceInstance;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerInfoListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># Server info<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">serverInstance <- sqlQuery(simmqODBC, "Select @@SERVERNAME AS SQLServerInstance;");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">serverVersion <- sqlQuery(simmqODBC, "Select @@VERSION AS SQLServerVersion;");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">serverService <- sqlQuery(simmqODBC, "Select @@ServiceName AS ServiceInstance;");<o:p></o:p></span></pre>
<h3 id="SQL-Server-Output">
Output<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerInfoListOUT</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">> serverInstance <- sqlQuery(simmqODBC, "Select @@SERVERNAME AS SQLServerInstance;");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">W2K8MMQSQL01<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">> serverVersion <- sqlQuery(simmqODBC, "Select @@VERSION AS SQLServerVersion;");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">Microsoft SQL Server 2008 R2 (RTM) - 10.50.1600.1 (X64) <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Apr 2 2010 15:48:46 <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Copyright (c) Microsoft Corporation<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Standard Edition (64-bit) on Windows NT 6.1 <X64> (Build 7601: Service Pack 1) (Hypervisor)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">> serverService <- sqlQuery(simmqODBC, "Select @@ServiceName AS ServiceInstance;");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">MSSQLSERVER<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerResourcesList">
Server
Resources List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.1">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerResourcesListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_sys_info<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.1">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerResourcesListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_sys_info;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerMemoryCacheCounterList">
Server Memory Cache Counter List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.2">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryCacheCounterListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_memory_cache_counters<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> single_pages_kb DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , multi_pages_kb DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> </span><span lang="FR" style="font-size: 9.0pt; mso-ansi-language: FR;">, entries_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.2">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryCacheCounterListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_memory_cache_counters ORDER BY single_pages_kb DESC, multi_pages_kb DESC, entries_count DESC;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerMemoryCacheEntryList">
Server Memory Cache Entry List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.3">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryCacheEntryListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_memory_cache_entries<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> disk_ios_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , original_cost DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , current_cost DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , in_use_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , context_switches_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , pages_allocated_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.3">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryCacheEntryListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_memory_cache_entries ORDER BY disk_ios_count DESC, original_cost DESC, current_cost DESC, in_use_count DESC, context_switches_count DESC, pages_allocated_count DESC;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerMemoryCacheHashTableList">
Server Memory Cache Hash Table List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.4">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryCacheHashTableListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_memory_cache_hash_tables<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> buckets_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , buckets_in_use_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , hits_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , misses_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.4">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryCacheHashTableListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_memory_cache_hash_tables ORDER BY buckets_count DESC, buckets_in_use_count DESC, hits_count DESC, misses_count DESC;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerMemoryCacheClockHandList">
Server Memory Cache Clock Hand List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.5">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryCacheClockHandListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_memory_cache_clock_hands<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> [type] DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , rounds_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , removed_all_rounds_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , clock_hand DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.5">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryCacheClockHandListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_memory_cache_clock_hands ORDER BY [type] DESC, rounds_count DESC, removed_all_rounds_count DESC, clock_hand DESC;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerMemoryNodeList">
Server
Memory Node List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.6">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryNodeListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_memory_nodes<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.6">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryNodeListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_memory_nodes;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerMemoryClerkList">
Server
Memory Clerk List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.7">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryClerkListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_memory_clerks<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> memory_node_id ASC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , single_pages_kb DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , multi_pages_kb DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , virtual_memory_committed_kb DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , virtual_memory_reserved_kb DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.7">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryClerkListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_memory_clerks ORDER BY memory_node_id ASC, single_pages_kb DESC, multi_pages_kb DESC, virtual_memory_committed_kb DESC, virtual_memory_reserved_kb DESC;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerMemoryObjectList">
Server Memory
Object List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.8">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryObjectListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_memory_objects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> pages_allocated_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , memory_node_id DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , max_pages_allocated_count DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.8">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerMemoryObjectListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_memory_objects ORDER BY pages_allocated_count DESC, memory_node_id DESC, max_pages_allocated_count DESC;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerPerformanceCounterList">
Server Performance Counter List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.9">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerPerformanceCounterListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_performance_counters<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> instance_name ASC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , cntr_value DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , cntr_type DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.9">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerPerformanceCounterListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_performance_counters ORDER BY instance_name ASC, cntr_value DESC, cntr_type DESC;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerRingBufferList">
Server
Ring Buffer List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.10">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerRingBufferListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_ring_buffers<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> timestamp DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , ring_buffer_type ASC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.10">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerRingBufferListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "SELECT * FROM sys.dm_os_ring_buffers ORDER BY timestamp DESC, ring_buffer_type ASC;");<o:p></o:p></span></pre>
<h2 id="SQL-Server-ServerRunningList">
Server
Running List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.11">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerRunningListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT @@SERVERNAME AS ServerName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , @@SERVICENAME AS ServiceName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , create_date AS ServerStarted<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , name AS DBName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , DATEDIFF(s, create_date, GETDATE()) / 86400.0 AS DaysRunning<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.databases<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.11">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerRunningListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># Server Running<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-ServerRunning_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, serverInstance));<o:p></o:p></span></pre>
<h3 id="SQL-Server-Output.1">
Output<o:p></o:p></h3>
<a data-linked-resource-container-id="35886720" data-linked-resource-container-version="52" data-linked-resource-content-type="text/csv" data-linked-resource-default-alias="W2K8MMQSQL01-PROD-DB-ServerRunning_list-2016-07-19_10h38.csv" data-linked-resource-id="35886950" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35886720/W2K8MMQSQL01-PROD-DB-ServerRunning_list-2016-07-19_10h38.csv?version=1&modificationDate=1468940153673&api=v2">W2K8MMQSQL01-PROD-DB-ServerRunning_list-2016-07-19_10h38.csv</a><o:p></o:p><br />
<h2 id="SQL-Server-ServerLinkedList">
Server
Linked List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.12">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerLinkedListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- servers linked<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT @@SERVERNAME AS ServerName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Server_Id AS LinkedServerID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , name AS LinkedServer<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Product<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Provider<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Data_Source AS DataSource<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Modify_Date AS ModificationDate<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , is_linked AS IsLinked<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.servers<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> LinkedServer<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.12">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerLinkedListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># Server Linked<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-ServerLinked_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, serverInstance));<o:p></o:p></span></pre>
<h3 id="SQL-Server-Output.2">
Output<o:p></o:p></h3>
<a data-linked-resource-container-id="35886720" data-linked-resource-container-version="52" data-linked-resource-content-type="text/csv" data-linked-resource-default-alias="W2K8MMQSQL01-PROD-DB-ServerLinked_list-2016-07-19_10h38.csv" data-linked-resource-id="35886952" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35886720/W2K8MMQSQL01-PROD-DB-ServerLinked_list-2016-07-19_10h38.csv?version=1&modificationDate=1468940198406&api=v2">W2K8MMQSQL01-PROD-DB-ServerLinked_list-2016-07-19_10h38.csv</a><o:p></o:p><br />
<h2 id="SQL-Server-ServerDBSpecList">
Server
DB Spec List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.13">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerDBSpecListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT @@SERVERNAME AS ServerName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , @@SERVICENAME AS ServiceName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , d.database_id AS DBIdentifier<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , d.name AS DBName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , m.name AS OriginalDBName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , recovery_model_Desc AS RecoveryModel<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Compatibility_level AS CompatiblityLevel<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , m.size AS DBSize<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , m.growth AS DBGrowth<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , m.is_percent_growth AS IsPercentGrowth<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , create_date AS CreatedDate<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , d.state_desc AS CurrentState<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , is_auto_shrink_on AS AutoShrink<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , snapshot_isolation_state_desc AS SnapshotState<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , is_auto_update_stats_on AS IsAutoUpdate<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , is_arithabort_on AS IsArithAbort<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , page_verify_option_desc AS PageVerifyOption<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , collation_name AS Collation<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , m.physical_name AS FilePath<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , source_database_id AS IdSourceDB<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.databases AS d<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.master_files AS m<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON d.database_id = m.database_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE m.[type] = 0 -- data files only<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> DBName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.13">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerDBSpecListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># Server DB spec<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-ServerDBSpec_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, serverInstance));<o:p></o:p></span></pre>
<h3 id="SQL-Server-Output.3">
Output<o:p></o:p></h3>
<a data-linked-resource-container-id="35886720" data-linked-resource-container-version="52" data-linked-resource-content-type="text/csv" data-linked-resource-default-alias="W2K8MMQSQL01-PROD-DB-ServerDBSpec_list-2016-07-19_10h38.csv" data-linked-resource-id="35886953" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35886720/W2K8MMQSQL01-PROD-DB-ServerDBSpec_list-2016-07-19_10h38.csv?version=1&modificationDate=1468940220962&api=v2">W2K8MMQSQL01-PROD-DB-ServerDBSpec_list-2016-07-19_10h38.csv</a><o:p></o:p><br />
<h2 id="SQL-Server-ServerDBBackupList">
Server
DB Backup List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.14">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerBackupListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- server DBs backup<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT @@SERVERNAME AS ServerName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , @@SERVICENAME AS ServiceName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , d.Name AS DBName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , b.Backup_finish_date<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , bmf.Physical_Device_name<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.databases AS d<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> msdb..backupset AS b<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> b.database_name = d.name<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> b.[type] = 'D'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> msdb.dbo.backupmediafamily AS bmf<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> b.media_set_id = bmf.media_set_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> d.Name<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.14">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ServerBackupListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># Server DB Backup<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-ServerDBBackup_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, serverInstance));<o:p></o:p></span></pre>
<h3 id="SQL-Server-Output.4">
Output<o:p></o:p></h3>
<a data-linked-resource-container-id="35886720" data-linked-resource-container-version="52" data-linked-resource-content-type="text/csv" data-linked-resource-default-alias="W2K8MMQSQL01-PROD-DB-ServerDBBackup_list-2016-07-19_10h38.csv" data-linked-resource-id="35886954" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35886720/W2K8MMQSQL01-PROD-DB-ServerDBBackup_list-2016-07-19_10h38.csv?version=1&modificationDate=1468940246235&api=v2">W2K8MMQSQL01-PROD-DB-ServerDBBackup_list-2016-07-19_10h38.csv</a><o:p></o:p><br />
<h2 id="SQL-Server-ServerDBUsageList">
Server
DB Usage List<o:p></o:p></h2>
<h3 id="SQL-Server-SQL.15">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ListCounterValues</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT --@total_buffer = cntr_value<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> cntr_value AS CounterValue<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_performance_counters AS CNTRS<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE RTRIM([object_name])<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> LIKE '%Buffer Manager'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND counter_name = 'Total Pages'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<div class="MsoNormal">
<b>DatabasesUsages</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT database_id AS DBIdentifier<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , CASE [database_id]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 32767<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'Resource DB'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ELSE DB_NAME([database_id])<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> END AS DBName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COUNT_BIG(*) AS DBBufferPages<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COUNT_BIG(*) / 128 AS DBBufferMB<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.dm_os_buffer_descriptors --WHERE database_id BETWEEN 5 AND 32766<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">GROUP BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> database_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="SQL-Server-R.15">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>DatabasesUsagesR</b> <o:p></o:p></div>
<pre><span lang="FR" style="font-size: 9.0pt; mso-ansi-language: FR;">## DB Usage<o:p></o:p></span></pre>
<pre><span lang="FR" style="font-size: 9.0pt; mso-ansi-language: FR;"># DB usage list<o:p></o:p></span></pre>
<pre><span lang="FR" style="font-size: 9.0pt; mso-ansi-language: FR;">sqlFile <- "SQL/DB-Usage_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlDataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(sqlDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB usage barplot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBUsageDataFrameToBarplot(sqlDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Barplot"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBUsageDataFrameToPiechart(sqlDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Piechart"));<o:p></o:p></span></pre>
<h3 id="SQL-Server-Output.5">
Output<o:p></o:p></h3>
<a data-linked-resource-container-id="35886720" data-linked-resource-container-version="52" data-linked-resource-content-type="text/csv" data-linked-resource-default-alias="W2K8MMQSQL01-PROD-DB-Usage_list-2016-07-19_11h16.csv" data-linked-resource-id="35886960" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35886720/W2K8MMQSQL01-PROD-DB-Usage_list-2016-07-19_11h16.csv?version=1&modificationDate=1468941445413&api=v2">W2K8MMQSQL01-PROD-DB-Usage_list-2016-07-19_11h16.csv</a><o:p></o:p><br />
<div class="MsoNormal">
<b>DatabasesUsagesOUT</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">> dbUsageDataFrame<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> DBIdentifier DBName DBBufferPages DBBufferMB<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">1 1 master 128 1<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">2 3 model 50 0<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">3 14 TEMPDocumentDatabase 52 0<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">4 5 ReportServer 135 1<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">5 6 ReportServerTempDB 65 0<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">6 7 mmq 713303 5572<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">7 8 Claims_MMQ 240078 1875<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">8 22 mmqtrace 60 0<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">9 2 tempdb 10506 82<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">10 4 msdb 3087 24<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">11 18 GAA_RiskLocation 53 0<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">12 32767 Resource DB 2800 21<o:p></o:p></span></pre>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLhVe5ijMTl-g2D_CEyOTmwil4t_UcYD5YChYF6YOKzqtUg-85FB9XX87dg0_haA64oLQd57e7Vmo7wZTALsO6AAi3D1xj3CrkfwfoJu1-C7i2xq4i0RSe4K60T1HqsotOMzmruEvmbnKB/s1600/image012.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="277" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgLhVe5ijMTl-g2D_CEyOTmwil4t_UcYD5YChYF6YOKzqtUg-85FB9XX87dg0_haA64oLQd57e7Vmo7wZTALsO6AAi3D1xj3CrkfwfoJu1-C7i2xq4i0RSe4K60T1HqsotOMzmruEvmbnKB/s400/image012.png" width="400" /></a><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ3sKmjqjdWCxgahu_hxC1fjRO37K6cJIi787jww-2bbj0QIroyvskLftk8WAOF3X9Soa7yXNgMvI3k3a3cYzYPfM0cpWitj-BySJwSEC9u3Rn50vXudTNNYIX5kpoTLO3-sg8CV7g1EvQ/s1600/image014.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhQ3sKmjqjdWCxgahu_hxC1fjRO37K6cJIi787jww-2bbj0QIroyvskLftk8WAOF3X9Soa7yXNgMvI3k3a3cYzYPfM0cpWitj-BySJwSEC9u3Rn50vXudTNNYIX5kpoTLO3-sg8CV7g1EvQ/s320/image014.png" width="320" /></a></div>
<pre><span style="font-size: 9.0pt;">
</span></pre>
<br />
<br />
<br />
<h1>
SQL-Model<o:p></o:p></h1>
<h1>
DB static data<o:p></o:p></h1>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHvEgATZ4tH-wKR9azi8c_-alohrsQvUaUzlQqBnFbdEijltRAFqgqRiW4SDe99e0cj4iqN_cLj8j7d7OdFYqtWT6XKm5dF8DUVdjwUFGV5-iqHy1MxyiohhwNBMH3lagc8mry4sRPwnef/s1600/image016.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="275" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHvEgATZ4tH-wKR9azi8c_-alohrsQvUaUzlQqBnFbdEijltRAFqgqRiW4SDe99e0cj4iqN_cLj8j7d7OdFYqtWT6XKm5dF8DUVdjwUFGV5-iqHy1MxyiohhwNBMH3lagc8mry4sRPwnef/s640/image016.png" width="640" /></a></div>
<!--[if gte vml 1]><v:shape id="Image_x0020_13"
o:spid="_x0000_i1025" type="#_x0000_t75" alt="91a2cc16411f8ab84174b1f9628f82fa"
style='width:468pt;height:201pt;visibility:visible;mso-wrap-style:square'>
<v:imagedata src="file:///C:\Users\ENRIQU~1.ESC\AppData\Local\Temp\msohtmlclip1\01\clip_image016.png"
o:title="91a2cc16411f8ab84174b1f9628f82fa"/>
</v:shape><![endif]--><!--[if !vml]--><br />
<o:p></o:p>
<h2 id="SQL-Model-PerformanceAnalysiswithActivityMonitor">
Performance Analysis with Activity Monitor<o:p></o:p></h2>
<a href="https://www.mssqltips.com/sqlservertip/1917/performance-analysis-using-sql-server-2008-activity-monitor-tool/">https://www.mssqltips.com/sqlservertip/1917/performance-analysis-using-sql-server-2008-activity-monitor-tool/</a><o:p></o:p><br />
<h2 id="SQL-Model-ParameterListforProceduresandFunctions">
Parameter List for Procedures and Functions<o:p></o:p></h2>
<h3 id="SQL-Model-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885209" data-linked-resource-container-version="19" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-ParametersInFuncsAndProcs.sql" data-linked-resource-id="35885326" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885209/DB-ParametersInFuncsAndProcs.sql?version=1&modificationDate=1467227216931&api=v2">DB-ParametersInFuncsAndProcs.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListAllParametersFromProceduresAndFunctions</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSO.[name] AS ObjectName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SCHEMA_NAME(SCHEMA_ID) AS SchemaName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSO.type_desc AS ObjectTypeDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.parameter_id AS ParameterID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.[name] AS ParameterName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,TYPE_NAME(SYSP.user_type_id) AS ParameterType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.max_length AS ParameterMaxLength<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.[precision] AS ParameterPrecision<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.max_length AS ParamMaxBytes<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.scale AS ParameterScale<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.is_output AS IsParameterOutput<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.objects AS SYSO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.parameters<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AS SYSP<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSO.object_id = SYSP.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ObjectName, ObjectTypeDesc, ParameterID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">
</span></pre>
<pre><span style="font-size: 9.0pt;"> </span></pre>
<h3 id="SQL-Model-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ListAllParametersFromPRoceduresAndFunctionsR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## DB All parameter<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB All parameter list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-ParametersInFuncsAndProcs.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">allParametersDataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(allParametersDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2>
Object List<o:p></o:p></h2>
<h3 id="Object-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885209" data-linked-resource-container-version="19" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Object_list.sql" data-linked-resource-id="35885325" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885209/DB-Object_list.sql?version=1&modificationDate=1467227183304&api=v2">DB-Object_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListObjects</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> CASE TYPE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'U' <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'User Defined Tables' <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'S'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'System Tables'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'IT'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'Internal Tables'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'P'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'Stored Procedures'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'PC'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'CLR Stored Procedures'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'X'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'Extended Stored Procedures'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'FN'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'Function-Scalar'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'TF'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'Function-TabValued'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'IF'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'Function-InlineTabValued'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN 'V'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN 'Views'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> END AS ObjectName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COUNT(*) AS ObjectCount<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM SYS.OBJECTS<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE TYPE IN ('U', 'P', 'PC', 'S', 'IT', 'X', 'FN', 'TF', 'IF', 'V')<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">GROUP BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> [type]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Object-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ObjectListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## DB Object<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB object list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Object_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ObjectListDataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(ObjectListDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB object list sum fonctions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ObjectSumDataFrame <- SummarizeDBFunctionDataFrame(ObjectListDataFrame, "Function");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBObjectDataFrameToBarplot(ObjectSumDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Sum_Barplot"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB object list all fonctions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">objectAllDataFrame <- SummarizeAllDBFunctionDataFrame(ObjectListDataFrame, "Function");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBFunctionDataFrameToBarplot(objectAllDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-All_Barplot"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBFunctionDataFrameToPiechart(objectAllDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-All_Piechart"));<o:p></o:p></span></pre>
<br />
<h2>
Procedure List<o:p></o:p></h2>
<h3 id="Procedure-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885633" data-linked-resource-container-version="11" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Procedure_count.sql" data-linked-resource-id="35885627" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885633/DB-Procedure_count.sql?version=1&modificationDate=1467727072354&api=v2">DB-Procedure_count.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountProcedures</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*) <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM information_schema.routines <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE routine_type = 'PROCEDURE'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35885633" data-linked-resource-container-version="11" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Procedure_list.sql" data-linked-resource-id="35885630" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885633/DB-Procedure_list.sql?version=1&modificationDate=1467727072340&api=v2">DB-Procedure_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListProcedures</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> name AS ProcedureName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , object_id AS ProcedureID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> --, SCHEMA_NAME(schema_id) AS SchemaName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type AS ProcedureType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type_desc AS ProcedureDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , create_date AS ProcedureCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , modify_date AS ProcedureModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , is_ms_shipped AS IsProcedureMSShipped<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.procedures<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ProcedureName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Procedure-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ProcedureListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## DB StoredProc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Procedure_count.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countStoreProc <- SqlCountResultToInteger(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Procedure_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Procedure-Analysis-ProcedureListwithparameters">
Procedure List with parameters<o:p></o:p></h2>
<h3 id="Procedure-Analysis-SQL.1">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885633" data-linked-resource-container-version="11" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Procedure_listParams.sql" data-linked-resource-id="35885632" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885633/DB-Procedure_listParams.sql?version=1&modificationDate=1467727072318&api=v2">DB-Procedure_listParams.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListProceduresAndParameters</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSO.[name] AS ProcedureName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SCHEMA_NAME(SCHEMA_ID) AS SchemaName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSO.type AS ProcedureType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSO.type_desc AS ProcedureDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSP.parameter_id AS ParameterID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSP.[name] AS ParameterName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , TYPE_NAME(SYSP.user_type_id) AS ParameterType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSP.max_length AS ParamMaxLength<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSP.[precision] AS ParameterPrecision<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSP.scale AS ParameterScale<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSP.is_output AS IsParamOutput<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.objects AS SYSO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.parameters AS SYSP<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSO.object_id = SYSP.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE SYSO.type_desc LIKE '%PROCEDURE%'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ProcedureName, ParameterID, SchemaName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Procedure-Analysis-R.1">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ProcedureParamListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB StoreProc param list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Procedure_listParams.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">storedProcParamDataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(storedProcParamDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">storedProcParamDataFrameSlim <- DataFrameFromColumns(storedProcParamDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "ProcedureName",<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "ProcedureType",<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "ProcedureDesc");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc repeat count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">storedProcParamDataFrameFat <- aggregate(list(NbParameters = rep(1, nrow(storedProcParamDataFrameSlim))),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> storedProcParamDataFrameSlim,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> length);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">write(summary(rev(storedProcParamDataFrameFat)[1]), stdout());<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc with params<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countStoreProcWith <- nrow(storedProcParamDataFrameFat);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc without params<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countStoreProcWithout <- countStoreProc - countStoreProcWith;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc data frame params<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">storeProcParamsDF <- DataFrameWithoutWithTotal(countStoreProcWithout,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> countStoreProcWith,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> countStoreProc,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "StoreProc");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc param list export<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(storeProcParamsDF,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance, "-Procs_Specs"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc barplot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">StoredProcWithoutWithTotalDFToBarplot(storeProcParamsDF,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Procs_Barplot"),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "StoredProc");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc boxplot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBStoreProcDataFrameToBoxplot(storedProcParamDataFrameFat,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Procs_Boxplot"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB StoreProc density plot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBStoreProcDataFrameToDensityplot(storedProcParamDataFrameFat,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Procs_Densityplot"));<o:p></o:p></span></pre>
<div class="MsoNormal">
<br /></div>
<h2>
DB List<o:p></o:p></h2>
<h3 id="DB-Analysis-SQL">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>DBRowCountSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">CREATE TABLE #rowcount<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ( TableName VARCHAR(128) ,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Rowcnt INT )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">EXEC sp_MSforeachtable 'insert into #rowcount select ''?'', count(*) from ?'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Rowcnt<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM #rowcount<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY Tablename ,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Rowcnt DESC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DROP TABLE #rowcount<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="DB-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>DBRowCountR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## DB Table Count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB Table Count DROP<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "IF OBJECT_ID(N'#counts', N'U') IS NOT NULL DROP TABLE #counts;")<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB TABLE Count CREATE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "CREATE TABLE #counts (TableName VARCHAR(255), TableRows INT);");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB Table Count EXEC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "EXEC sp_MSForEachTable @command1='INSERT #counts (TableName, TableRows) SELECT ''?'', COUNT(*) FROM ?';");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB Table Count CSV<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-RowCount_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">tableRowCountDataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(tableRowCountDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB Table Count repeats<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">tableRowCountDataFrame <- aggregate(list(RowRepeats = rep(1, nrow(tableRowCountDataFrame[-1]))),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> tableRowCountDataFrame[-1],<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> length);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB Table Count half > mean repeats<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">aMean <- mean(tableRowCountDataFrame$RowRepeats);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">tableRowCountDataFrame <- subset(tableRowCountDataFrame, RowRepeats > aMean);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBRowCountFrameToBarplot(tableRowCountDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "_Barplot"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB Table Count DROP<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlQuery(simmqODBC, "DROP TABLE #counts;");<o:p></o:p></span></pre>
<div class="MsoNormal">
<br /></div>
<h2>
Table List<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Table_count.sql" data-linked-resource-id="35885650" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-Table_count.sql?version=1&modificationDate=1467729370686&api=v2">DB-Table_count.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountTables</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.tables<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Table_list.sql" data-linked-resource-id="35885651" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-Table_list.sql?version=1&modificationDate=1467729370672&api=v2">DB-Table_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListTables</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> [name] AS TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,object_id AS TableID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,[type] AS TableType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,type_desc AS TableDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,create_date AS TableCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,modify_date AS TableModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,max_column_id_used AS MaxColumnIDUsed<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,uses_ansi_nulls AS IsUsingANSINulls<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,lob_data_space_id AS LOBDataSpaceID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.tables<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## DB Table Analysis<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Table_count.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countTable <- SqlCountResultToInteger(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Table_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Table-Analysis-TableIndependentList-WithoutParent&WithoutDependents">
Table Independent
List-Without Parent & Without Dependents<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL.1">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-TableIndependant_list.sql" data-linked-resource-id="35886649" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-TableIndependant_list.sql?version=1&modificationDate=1468590617868&api=v2">DB-TableIndependant_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>TableIndependentListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">--Independent tables<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT Name AS TableIndependent<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , object_id AS TableID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , [type] AS TableType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type_desc AS TableDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , create_date AS TableCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , modify_date AS TableModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , max_column_id_used AS MaxColumnIDUsed<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , uses_ansi_nulls AS IsUsingANSINulls<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , lob_data_space_id AS LOBDataSpaceID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.tables<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE object_id NOT IN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT referenced_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ) -- Check for parents<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> object_id NOT IN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT parent_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ) -- Check for Dependents<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableIndependent<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R.1">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableIndependentListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis Independent<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-TableIndependent_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Table-Analysis-TableTrunkList-WithoutParent">
Table Trunk List-Without Parent<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL.2">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-TableWithoutParent_list.sql" data-linked-resource-id="35886672" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-TableWithoutParent_list.sql?version=1&modificationDate=1468594641767&api=v2">DB-TableWithoutParent_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>TableWithoutParentListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- Top level of the pyramid tables. Tables with no parents. Trunk<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT DISTINCT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(referenced_object_id) AS TableTrunkName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE referenced_object_id NOT IN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT parent_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableTrunkName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R.2">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableTrunkListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis Trunk<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-TableTrunk_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Table-Analysis-TableBranchList-WithParent&WithDependent">
Table Branch List-With Parent
& With Dependent<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL.3">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-TableParentDependent_list.sql" data-linked-resource-id="35886688" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-TableParentDependent_list.sql?version=1&modificationDate=1468595795955&api=v2">DB-TableParentDependent_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>TableParentDependentListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- Tables with both parents and dependents.<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">-- Tables in the middle of the hierarchy. Branches<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT DISTINCT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(referenced_object_id) AS TableBranchName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE referenced_object_id IN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT parent_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> parent_object_id NOT IN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT referenced_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableBranchName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R.3">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableBranchListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis Branch<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-TableBranch_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Table-Analysis-TableLeafList-WithoutDependent">
Table Leaf List-Without Dependent<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL.4">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-TableWithoutDependent_list.sql" data-linked-resource-id="35886680" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-TableWithoutDependent_list.sql?version=1&modificationDate=1468595028801&api=v2">DB-TableWithoutDependent_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>TableWithoutDependantListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- Bottom level of the pyramid tables.<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">-- Tables with no dependents. (These are the leaves on a tree.) Leafs<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT DISTINCT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(parent_object_id) AS TableLeafName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE parent_object_id NOT IN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT referenced_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableLeafName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R.4">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableLeafListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis Leaf<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-TableLeaf_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Table-Analysis-TableParentList-WithDependent">
Table Parent List-With Dependent<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL.5">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-TableDependant_list.sql" data-linked-resource-id="35886652" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-TableDependant_list.sql?version=1&modificationDate=1468591244910&api=v2">DB-TableDependant_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>TableDependentListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- Tables with dependencies. Parent<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT DISTINCT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(referenced_object_id) AS TableParent<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_NAME(parent_object_id) AS TableChild<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_NAME(constraint_object_id) AS ForeignKeyName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableParent, TableChild<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R.5">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableParentListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis Parent<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-TableParent_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Table-Analysis-TableChildList">
Table
Child List<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL.6">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableParentListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- Tables with parents. Child<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT DISTINCT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(referenced_object_id) AS TableChild<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE parent_object_id NOT IN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT referenced_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ) -- Check for parents<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableChild<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R.6">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableChildListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis Child<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-TableChild_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Table-Analysis-TableSelfRefList-Recursive">
Table Self Ref List-Recursive<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL.7">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-TableRecursive_list.sql" data-linked-resource-id="35886713" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-TableRecursive_list.sql?version=1&modificationDate=1468597049996&api=v2">DB-TableRecursive_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>TableRecirsiveListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">-- in rare cases, you might find a self-referencing dependent table.<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">-- Recursive (self) referencing table dependencies.<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT DISTINCT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(referenced_object_id) AS ParentTableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COL_NAME(referenced_object_id, referenced_column_id) AS ParentColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_NAME(parent_object_id) AS ChildTableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COL_NAME(parent_object_id, parent_column_id) AS ChildColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_NAME(constraint_object_id) AS ForeignKeyName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.foreign_key_columns<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE referenced_object_id = parent_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ParentTableName, ChildTableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R.7">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableRecursiveListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis SelfRef<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-TableSelfRef_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Table-Analysis-TableKeyList">
Table
Key List<o:p></o:p></h2>
<h3 id="Table-Analysis-SQL.8">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885656" data-linked-resource-container-version="59" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Table_listKeys.sql" data-linked-resource-id="35885654" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885656/DB-Table_listKeys.sql?version=1&modificationDate=1467729370649&api=v2">DB-Table_listKeys.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListTablesAndColumns</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT PKeyTab.TableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKeyTab.PKName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FKeyTab.FKName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKeyTab.ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT TableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(parent_object_id) AS PKTableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(OBJECT_ID) AS PKName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.objects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHERE type_desc IN ('PRIMARY_KEY_CONSTRAINT')<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AS PKTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT Table_Name AS TableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Constraint_Name AS ConstraintName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Column_Name AS ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> INFORMATION_SCHEMA.KEY_COLUMN_USAGE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AS AllTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ON (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKTab.PKTableName = AllTab.TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKTab.PKName = AllTab.ConstraintName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AS PKeyTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT TableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FKName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT OBJECT_NAME(parent_object_id) AS FKTableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(OBJECT_ID) AS FKName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.objects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHERE type_desc IN ('FOREIGN_KEY_CONSTRAINT')<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AS FKTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT Table_Name AS TableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Constraint_Name AS ConstraintName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Column_Name AS ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> INFORMATION_SCHEMA.KEY_COLUMN_USAGE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AS AllTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ON (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FKTab.FKTableName = AllTab.TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FKTab.FKName = AllTab.ConstraintName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AS FKeyTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ON (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKeyTab.TableName = FKeyTab.TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKeyTab.ColumnName = PKeyTab.ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKeyTab.TableName, PkeyTab.PKName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Table-Analysis-R.8">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableKeyListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># DB Table Analysis keys list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Table_listKeys.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<br />
<h2>
View List<o:p></o:p></h2>
<h3 id="View-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885209" data-linked-resource-container-version="19" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-View_count.sql" data-linked-resource-id="35885351" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885209/DB-View_count.sql?version=1&modificationDate=1467228646432&api=v2">DB-View_count.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountViews</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.views<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35885209" data-linked-resource-container-version="19" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-View_list.sql" data-linked-resource-id="35885353" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885209/DB-View_list.sql?version=1&modificationDate=1467228660367&api=v2">DB-View_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListViews</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> name AS ViewName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_ID AS ViewID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type AS ViewType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type_desc AS ViewDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , create_date AS ViewCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , modify_date AS ViewModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECTPROPERTYEX(object_id,'IsIndexed') AS IsIndexed<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECTPROPERTYEX(object_id,'IsIndexable') AS IsIndexable<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.views AS SYSV<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ViewName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="View-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ViewListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## View Analysis<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># View Analysis count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-View_count.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countView <- SqlCountResultToInteger(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># View Analysis list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-View_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<div class="MsoNormal">
<br /></div>
<h2>
Function List<o:p></o:p></h2>
<h3 id="Function-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885637" data-linked-resource-container-version="12" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Function_count.sql" data-linked-resource-id="35885638" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885637/DB-Function_count.sql?version=1&modificationDate=1467727941942&api=v2">DB-Function_count.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountFunctions</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM dbo.sysobjects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE [type] IN (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'FN', -- scalar functions <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'IF', -- inline table-valued functions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'TF' -- table-valued functions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35885637" data-linked-resource-container-version="12" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Function_count-Scalar.sql" data-linked-resource-id="35885640" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885637/DB-Function_count-Scalar.sql?version=1&modificationDate=1467727949383&api=v2">DB-Function_count-Scalar.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountScalarFunctions</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM dbo.sysobjects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE [type] IN (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'FN' -- scalar functions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35885637" data-linked-resource-container-version="12" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Function_count-Inline.sql" data-linked-resource-id="35885639" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885637/DB-Function_count-Inline.sql?version=1&modificationDate=1467727945620&api=v2">DB-Function_count-Inline.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountInlineTableValuedFunctions</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM dbo.sysobjects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE [type] IN (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'IF' -- inline table-valued functions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35885637" data-linked-resource-container-version="12" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Function_count-Valued.sql" data-linked-resource-id="35885641" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885637/DB-Function_count-Valued.sql?version=1&modificationDate=1467727952932&api=v2">DB-Function_count-Valued.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountTableValuedFunctions</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM dbo.sysobjects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE [type] IN (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'TF' -- table-valued functions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35885637" data-linked-resource-container-version="12" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Function_list.sql" data-linked-resource-id="35885642" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885637/DB-Function_list.sql?version=1&modificationDate=1467727959554&api=v2">DB-Function_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListFunctions</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT FUNCMO.FunctionName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , FUNCSO.ObjectID AS FunctionID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , FUNCMO.FunctionType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , FUNCMO.FunctionDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , FUNCMO.FunctionCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , FUNCMO.FunctionModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">(<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT [name] AS FunctionName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> --[definition],<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,[type] AS FunctionType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,type_desc AS FunctionDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,create_date AS FunctionCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,modify_date AS FunctionModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.sql_modules AS SYSM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.objects AS SYSO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ON SYSM.object_id=SYSO.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHERE type_desc LIKE '%function%'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">) AS FUNCMO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">(<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT [name] AS ObjectName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,[id] AS ObjectID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,[type] AS ObjectType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,[crdate] AS ObjectCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM dbo.sysobjects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHERE [type] IN (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'FN', -- scalar functions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'IF', -- inline table-valued functions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> 'TF' -- table-valued functions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">) AS FUNCSO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON FUNCMO.FunctionName = FUNCSO.ObjectName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FUNCMO.FunctionName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Function-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>FunctionListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## Function Analysis<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Function_count.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countFunc <- SqlCountResultToInteger(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Function_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Function-Analysis-FunctionListwithparameters">
Function List with parameters<o:p></o:p></h2>
<h3 id="Function-Analysis-SQL.1">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885637" data-linked-resource-container-version="12" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Function_listParams.sql" data-linked-resource-id="35885643" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885637/DB-Function_listParams.sql?version=1&modificationDate=1467727964721&api=v2">DB-Function_listParams.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListFunctionsAndParameters</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSO.[name] AS FunctionName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SCHEMA_NAME(SCHEMA_ID) AS SchemaName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSO.type AS FunctionType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSO.type_desc AS FunctionDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.parameter_id AS ParameterID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.[name] AS ParameterName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,TYPE_NAME(SYSP.user_type_id) AS ParameterType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.max_length AS ParamMaxLength<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.[precision] AS ParameterPrecision<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.scale AS ParameterScale<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,SYSP.is_output AS IsParamOutput<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.objects AS SYSO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.parameters AS SYSP<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSO.object_id = SYSP.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE SYSO.type_desc NOT LIKE '%PROCEDURE%'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FunctionName, FunctionDesc, ParameterID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Function-Analysis-R.1">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>FunctionParameterListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># Function Analysis param list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Function_listParams.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">functionParamsDataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(functionParamsDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">fnParamsDataFrameSlim <- DataFrameFromColumns(functionParamsDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "FunctionName",<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "FunctionType",<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "FunctionDesc");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis repeat count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">fnParamsDataFrameFat <- aggregate(list(NbParameters = rep(1, nrow(fnParamsDataFrameSlim))),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> fnParamsDataFrameSlim,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> length);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">write(summary(rev(fnParamsDataFrameFat)[1]), stdout());<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis without params<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countFuncWith <- nrow(fnParamsDataFrameFat);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis without params<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countFuncWithout <- countFunc - countFuncWith;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis data frame params<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">fnParamsDF <- DataFrameWithoutWithTotal(countFuncWithout,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> countFuncWith,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> countFunc,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "Fn");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis param list export<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(fnParamsDF,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance, "-Funcs_Specs"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis barplot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FunctionWithoutWithTotalDFToBarplot(fnParamsDF,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Funcs_Barplot"),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> "Fn");<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis boxplot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBFunctionDataFrameToBoxplot(fnParamsDataFrameFat,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Funcs_Boxplot"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Function Analysis density plot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBFunctionDataFrameToDensityplot(fnParamsDataFrameFat,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-Funcs_Densityplot"));<o:p></o:p></span></pre>
<div class="MsoNormal">
<br /></div>
<h2>
Principal Key List<o:p></o:p></h2>
<h3 id="PrincipalKey-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35886215" data-linked-resource-container-version="12" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-PKeys_count.sql" data-linked-resource-id="35886237" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35886215/DB-PKeys_count.sql?version=1&modificationDate=1468001251872&api=v2">DB-PKeys_count.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountPrincipalKeyListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(parent_object_id) AS PKTableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(OBJECT_ID) AS PKName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.objects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHERE type_desc IN ('PRIMARY_KEY_CONSTRAINT')<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">AS PKTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT Table_Name AS TableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Constraint_Name AS ConstraintName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Column_Name AS ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> INFORMATION_SCHEMA.KEY_COLUMN_USAGE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">AS AllTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKTab.PKTableName = AllTab.TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKTab.PKName = AllTab.ConstraintName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35886215" data-linked-resource-container-version="12" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-PKeys_list.sql" data-linked-resource-id="35886238" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35886215/DB-PKeys_list.sql?version=1&modificationDate=1468001263699&api=v2">DB-PKeys_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>PrincipalKeyListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKTab.TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PrincipalKey<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PrincipalKeyID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PKCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PKModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PKOrdinal<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">(<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(parent_object_id) AS TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_NAME(OBJECT_ID) AS PrincipalKey<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_ID AS PrincipalKeyID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , create_date AS PKCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , modify_date AS PKModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM sys.objects<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHERE type_desc IN ('PRIMARY_KEY_CONSTRAINT')<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">) AS PKTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">(<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Table_Name AS TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Constraint_Name AS ConstraintName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Column_Name AS ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , ORDINAL_POSITION AS PKOrdinal<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> FROM INFORMATION_SCHEMA.KEY_COLUMN_USAGE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">) AS AllTab<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">(<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKTab.TableName = AllTab.TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKTab.PrincipalKey = AllTab.ConstraintName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> PKTab.TableName, ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="PrincipalKey-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>PrincipalKeyListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## PKey Analysis<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># PKey Analysis count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-PKeys_count.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countPKeys <- SqlCountResultToInteger(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># PKey Analysis list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-PKeys_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<div class="MsoNormal">
<br /></div>
<h2>
Foreign Key List<o:p></o:p></h2>
<h3 id="ForeignKey-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885209" data-linked-resource-container-version="19" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-FKeys_count.sql" data-linked-resource-id="35885359" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885209/DB-FKeys_count.sql?version=1&modificationDate=1467229020293&api=v2">DB-FKeys_count.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>CountForeignKeys</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT COUNT(*)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.foreign_key_columns AS fk<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">JOIN sys.tables AS t<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON fk.parent_object_id = t.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">JOIN sys.columns AS c<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON fk.parent_object_id = c.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> fk.parent_column_id = c.column_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<a data-linked-resource-container-id="35885209" data-linked-resource-container-version="19" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-FKeys_list.sql" data-linked-resource-id="35885360" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885209/DB-FKeys_list.sql?version=1&modificationDate=1467229032425&api=v2">DB-FKeys_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListForeignKeys</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> OBJECT_NAME(SYSFK.parent_object_id) AS TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COL_NAME(FC.parent_object_id, FC.parent_column_id) AS ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSFK.name AS ForeignKey<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSFK.object_id AS ForeignKeyID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_NAME(SYSFK.referenced_object_id) AS ReferenceTableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COL_NAME(FC.referenced_object_id, FC.referenced_column_id) AS ReferenceColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSFK.create_date AS FKCreated<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSFK.modify_date AS FKModified<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSFK.is_not_trusted AS FKnotTrusted<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSFK.delete_referential_action_desc AS OnDelete<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSFK.update_referential_action_desc AS OnUpdate<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.foreign_keys AS SYSFK<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.foreign_key_columns AS FC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSFK.OBJECT_ID = FC.constraint_object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableName, ColumnName, ForeignKey<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="ForeignKey-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ForeignKeyListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## FKey Analysis<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># FKey Analysis count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-FKeys_count.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countFKeys <- SqlCountResultToInteger(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># FKey Analysis list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-FKeys_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<div class="MsoNormal">
<br /></div>
<h2>
Index List<o:p></o:p></h2>
<h3 id="Index-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885609" data-linked-resource-container-version="8" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Index_count.sql" data-linked-resource-id="35885610" data-linked-resource-type="attachment" data-linked-resource-version="2" href="file:///C:/confluence/download/attachments/35885609/DB-Index_count.sql?version=2&modificationDate=1467725982521&api=v2">DB-Index_count.sql</a><o:p></o:p><br />
<a data-linked-resource-container-id="35885609" data-linked-resource-container-version="8" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Index_list.sql" data-linked-resource-id="35885613" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885609/DB-Index_list.sql?version=1&modificationDate=1467726005951&api=v2">DB-Index_list.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListIndex</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT ISNULL(name,'NA') AS IndexName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , object_id AS IndexID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type AS IndexType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type_desc AS IndexDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , is_unique AS IsUnique<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , is_primary_key AS IsPrimary<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , is_unique_constraint AS IsConstraint<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COALESCE(TC.CONSTRAINT_TYPE, 'NA') AS ConstraintType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , data_space_id AS DataSpaceID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , fill_factor AS FillFctr<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , allow_page_locks AS CanPageLock<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.indexes AS SYSI<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> INFORMATION_SCHEMA.TABLE_CONSTRAINTS AS TC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON TC.CONSTRAINT_NAME=SYSI.name<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> IndexType, IndexName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Index-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>IndexListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## Index Analysis<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Index Analysis count<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Index_count.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countIndex <- SqlCountResultToInteger(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Index Analysis list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Index_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<h2 id="Index-Analysis-IndexListandTypes">
Index List and Types<o:p></o:p></h2>
<h3 id="Index-Analysis-SQL.1">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885609" data-linked-resource-container-version="8" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Index_listTypes.sql" data-linked-resource-id="35885615" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885609/DB-Index_listTypes.sql?version=1&modificationDate=1467726073106&api=v2">DB-Index_listTypes.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListIndexAndType</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSO.name AS TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSO.type AS TableType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSO.type_desc AS TableDesc<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COL_NAME(INDC.object_id, INDC.column_id) AS ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSP.index_id AS TableIndexID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COALESCE(SYSI.name, 'NA') AS IndexName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSI.object_id AS IndexID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSI.type_desc AS IndexType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COALESCE(TC.CONSTRAINT_TYPE, 'NA') AS ConstraintType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SYSA.allocation_unit_id AS AllocUnitID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , INDC.is_included_column AS IsIncludedColumn<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.partitions AS SYSP<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.allocation_units AS SYSA<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSP.hobt_id = SYSA.container_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.objects AS SYSO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSP.[object_id] = SYSO.[object_id]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.indexes AS SYSI<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSO.[object_id] = SYSI.[object_id]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSP.index_id = SYSI.index_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.index_columns AS INDC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSI.object_id = INDC.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSI.index_id = INDC.index_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">LEFT OUTER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> INFORMATION_SCHEMA.TABLE_CONSTRAINTS AS TC<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON TC.CONSTRAINT_NAME=SYSI.name<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableType, TableName, ColumnName, TableIndexID, IndexName, IndexType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Index-Analysis-R.1">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>IndexTypeListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;"># Index Analysis type list<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Index_listTypes.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<div class="MsoNormal">
<br /></div>
<h2>
Constraint List<o:p></o:p></h2>
<h3 id="Constraint-Analysis-SQL">
SQL<o:p></o:p></h3>
<div class="MsoNormal">
<b>ConstraintListSQL</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">--CHECK constriant definitions<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> DB_NAME() AS DBName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_NAME(parent_object_id) AS TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , parent_column_id AS ColumnNumber<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , COL_NAME(parent_object_id, parent_column_id) AS ColumnName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , Name AS ConstraintName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type AS ConstraintType<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , type_desc AS ConstraintDescription<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , create_date AS CreatedDate<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , OBJECT_DEFINITION(object_id) AS ConstraintDefinition<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , *<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.Check_constraints<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableName, ColumnNumber<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Constraint-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ConstraintListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## Constraint Analysis<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># Constraint Analysis List<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Constraint_list.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile)),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance));<o:p></o:p></span></pre>
<br />
<div class="MsoNormal">
*************<o:p></o:p></div>
<h1>
SQL-IO<o:p></o:p></h1>
<h2>
Footprint List<o:p></o:p></h2>
<h3 id="Footprint-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885688" data-linked-resource-container-version="4" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Table_listFootprint.sql" data-linked-resource-id="35885684" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885688/DB-Table_listFootprint.sql?version=1&modificationDate=1467731359914&api=v2">DB-Table_listFootprint.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListTablesFootprint</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYST.name AS TableName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSI.name AS IndexName,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSP.[Rows] AS RecordCount,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sum(SYSA.total_pages) AS TotalPages,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sum(SYSA.used_pages) AS UsedPages,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sum(SYSA.data_pages) AS DataPages,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (sum(SYSA.total_pages) * 8) / 1024 AS TotalSpaceMB,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (sum(SYSA.used_pages) * 8) / 1024 AS UsedSpaceMB,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> (sum(SYSA.data_pages) * 8) / 1024 AS DataSpaceMB<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.tables AS SYST<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.indexes AS SYSI<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYST.object_id = SYSI.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.partitions AS SYSP<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSI.object_id = SYSP.OBJECT_ID<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND SYSI.index_id = SYSP.index_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.allocation_units AS SYSA<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSP.partition_id = SYSA.container_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYST.name NOT LIKE 'dt%'<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND SYSI.OBJECT_ID > 255<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND SYSI.index_id <= 1<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">GROUP BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYST.name, SYSI.object_id, SYSI.index_id, SYSI.name, SYSP.[Rows]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> TableName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="Footprint-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>FootprintListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## DB table footprint<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Table_listFootprint.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">tableFootprintDataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(tableFootprintDataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance, "-TableFootprint"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB table footprint rm IndexName<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">colnames(tableFootprintDataFrame);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">tableFootprintDataFrame$IndexName <- NULL;<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">colnames(tableFootprintDataFrame);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB table footprint total<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">countTables <- nrow(tableFootprintDataFrame);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB table footprint means<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">tableWords <- TableFootprintAboveMeans(tableFootprintDataFrame);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB table footprint wordcloud<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">corpusWords <- Corpus(VectorSource(tableWords));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">inspect(corpusWords);<o:p></o:p></span></pre>
<pre><span lang="FR" style="font-size: 9.0pt; mso-ansi-language: FR;">termDocMatrixSortDesc <- sort(rowSums(as.matrix(TermDocumentMatrix(corpusWords))),<o:p></o:p></span></pre>
<pre><span lang="FR" style="font-size: 9.0pt; mso-ansi-language: FR;"> </span><span style="font-size: 9.0pt;">decreasing=TRUE);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">termDocDataFrameSortDesc <- data.frame(word = names(termDocMatrixSortDesc),<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> freq = termDocMatrixSortDesc);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(termDocDataFrameSortDesc,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance, "-TableFootprintSortDesc"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WordcloudToPng(termDocDataFrameSortDesc,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-TableFootprintSortDesc"));<o:p></o:p></span></pre>
<div class="MsoNormal">
<br /></div>
<h2>
TableIO List<o:p></o:p></h2>
<h3 id="TableIO-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885697" data-linked-resource-container-version="4" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Table_listIO.sql" data-linked-resource-id="35885695" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885697/DB-Table_listIO.sql?version=1&modificationDate=1467731485126&api=v2">DB-Table_listIO.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListTablesIO</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> object_schema_name(USTAT.object_id) AS ObjectSchema<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , object_name(USTAT.object_id) AS [ObjectName] <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ,CASE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN SUM(User_Updates + User_Seeks + User_Scans + User_Lookups) = 0<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN NULL<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ELSE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> CAST(SUM(User_Seeks + User_Scans + User_Lookups) AS DECIMAL)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> / CAST(SUM(User_Updates <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> + User_Seeks <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> + User_Scans<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> + User_Lookups) AS DECIMAL(19,2))<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> END AS [ReadRatio]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , CASE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> WHEN SUM(User_Updates + User_Seeks + User_Scans + User_Lookups) = 0<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> THEN NULL<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ELSE<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> CAST(SUM(User_Updates) AS DECIMAL)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> / CAST(SUM(User_Updates <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> + User_Seeks <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> + User_Scans<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> + User_Lookups) AS DECIMAL(19,2))<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> END AS [WriteRatio]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SUM(User_Seeks + User_Scans + User_Lookups) AS [TotalReads] <o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , SUM(User_Updates) AS [TotalWrites]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.dm_db_Index_Usage_Stats AS USTAT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> Sys.Indexes AS SYSI<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON USTAT.object_id = SYSI.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> AND USTAT.index_Id = SYSI.index_Id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">JOIN sys.tables AS SYST<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYST.object_id = USTAT.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE SYSI.Type_Desc IN ( 'Clustered', 'Heap' )<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">GROUP BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> USTAT.object_id<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> object_schema_name(USTAT.object_id) + '.' + object_name(USTAT.object_id)<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="TableIO-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>TableIOListR</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## DB table IO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Table_listIO.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">tableIODataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(tableIODataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance, "-TableIO"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB table IO ratio stacked histogram<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ioRatioTableDF <- MinimizeTableIO(tableIODataFrame);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(ioRatioTableDF,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance, "-TableIORatios"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB table IO stacked plot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBTableRatioToStackeplot(ioRatioTableDF,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-TableIORatios"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"># DB table IO Q plot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DBTableRatioToQplot(tableIODataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-TableIORatiosQplot"));<o:p></o:p></span></pre>
<br />
<h2>
Procedure IO List<o:p></o:p></h2>
<h3 id="ProcedureIO-Analysis-SQL">
SQL<o:p></o:p></h3>
<a data-linked-resource-container-id="35885701" data-linked-resource-container-version="4" data-linked-resource-content-type="application/octet-stream" data-linked-resource-default-alias="DB-Procedure_listIO.sql" data-linked-resource-id="35885700" data-linked-resource-type="attachment" data-linked-resource-version="1" href="file:///C:/confluence/download/attachments/35885701/DB-Procedure_listIO.sql?version=1&modificationDate=1467731826192&api=v2">DB-Procedure_listIO.sql</a><o:p></o:p><br />
<div class="MsoNormal">
<b>ListProceduresIO</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">SELECT<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SYSP.name AS [StoreProcName]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PSTA.total_physical_reads AS [TotalPhysicalReads]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PSTA.total_logical_reads AS [TotalLogicalReads]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PSTA.total_elapsed_time AS [TotalElapsedTime]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PSTA.execution_count AS [ExecutionCount]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PSTA.cached_time AS [CachedTime]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PSTA.total_physical_reads/PSTA.execution_count AS [AvgPhysicalReads]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PSTA.total_logical_reads/PSTA.execution_count AS [AvgLogicalReads]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> , PSTA.total_elapsed_time/PSTA.execution_count AS [AvgElapsedTime]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">FROM sys.procedures AS SYSP<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">INNER JOIN<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> sys.dm_exec_procedure_stats AS PSTA<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ON SYSP.[object_id] = PSTA.[object_id]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">WHERE PSTA.database_id = DB_ID()<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">ORDER BY<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> [StoreProcName], [TotalPhysicalReads], [TotalLogicalReads]<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">;<o:p></o:p></span></pre>
<h3 id="ProcedureIO-Analysis-R">
R<o:p></o:p></h3>
<div class="MsoNormal">
<b>ProcedureIOList</b> <o:p></o:p></div>
<pre><span style="font-size: 9.0pt;">## DB StoredProc IO<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">sqlFile <- "SQL/DB-Procedure_listIO.sql";<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">storedProcIODataFrame <- SqlResultToDataFrame(simmqODBC, GetSqlFromFile(sqlFile));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">DataFrameToCsv(storedProcIODataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance, "-StoredProcIO"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> </span></pre>
<pre><span style="font-size: 9.0pt;">if(nrow(storedProcIODataFrame)>1){<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> # DB StoredProc IO ratio stacked histogram<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> ioRatioTableDF <- MinimizeStoredProcIO(storedProcIODataFrame);<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> DataFrameToCsv(ioRatioTableDF,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToCsv(sqlFile, dbInstance, "-StoredProcIORatios"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> # DB StoredProc IO stacked plot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> DBStoredProcRatioToStackeplot(ioRatioTableDF,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-StoredProcIORatios"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> # DB StoredProc IO Q plot<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> DBStoredProcRatioToQplot(storedProcIODataFrame,<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;"> SqlFileToPng(sqlFile, dbInstance, "-StoredProcIORatiosQplot"));<o:p></o:p></span></pre>
<pre><span style="font-size: 9.0pt;">}<o:p></o:p></span></pre>
<br />Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6705114561591732897.post-81673601354911741522016-06-10T13:09:00.002-04:002016-08-09T13:23:19.764-04:00About-R_ConnectToSqlServer<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
This post will demonstrate how to connect <a href="http://www.r-project.org/" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;" target="_blank" title="R">R</a> to Microsoft SQL Server, so that data can be extracted directly from a database by using SQL-statements. The approach described in this post is supported by both SQL Server 2012 and the upcoming SQL Server “14”. You can connect to SQL Server using different techniques – one of them is by using ODBC. This post will use ODBC.</div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
The first time you need to connect to a database, you need to perform some one-time tasks, which are:</div>
<ul style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; list-style: square; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Create a ODBC DSN data source</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Install necessary R-packages from CRAN</li>
</ul>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
The screenshot below shows a table containing the well-known data set ‘weather.nomnial’. The table is part of a database named ‘MiningDataSets’. The goal of this tutorial is to load all this data into R.</div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/11/sqlr00.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="SQLR00" class="alignnone size-full wp-image-126" height="427" src="https://andersspur.files.wordpress.com/2013/11/sqlr00.png?w=640&h=427" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" width="640" /></a><br />
<strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Create DSN</strong><br />
First we need to setup a user DSN data source pointing at our SQL Server using ODBC. The data source will be called from R using the package “RODBC”</div>
<ol style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Open “Administrative Tools” and “ODBC Data Sources (32 bit)”</li>
</ol>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/10/wekasql02.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="WEKASQL02" class="alignnone size-full wp-image-103" src="https://andersspur.files.wordpress.com/2013/10/wekasql02.png?w=640" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></a></div>
<ol style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">On the tab “User DSN” press “Add”</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Select “SQL Server” in the provider list</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Now give the data source a name and a description. Remember this name – you will need it later on in the process. Last provide the name of the server where the SQL Server is installed. Press “Next”.</li>
</ol>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/10/wekasql03.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="WEKASQL03" class="alignnone size-full wp-image-104" src="https://andersspur.files.wordpress.com/2013/10/wekasql03.png?w=640" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></a></div>
<ol style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Select the way in which you will authenticate against the SQL Server. In this case we use Integrated Security. Press “Next”.</li>
</ol>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/10/wekasql04.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="WEKASQL04" class="alignnone size-full wp-image-105" src="https://andersspur.files.wordpress.com/2013/10/wekasql04.png?w=640" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></a></div>
<ol style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">You now have the possibility to select the default database for the data source. Here we choose to point at the ‘MiningDataSets’. Press “Next” and the “Finish”.</li>
</ol>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/10/wekasql05.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="WEKASQL05" class="alignnone size-full wp-image-106" src="https://andersspur.files.wordpress.com/2013/10/wekasql05.png?w=640" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></a></div>
<ol style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">On the last page remember to press the “Test Connection” button and ensure that the connection could be established.</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">The User DSN is now created and active.</li>
</ol>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/10/wekasql06.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="WEKASQL06" class="alignnone size-full wp-image-107" src="https://andersspur.files.wordpress.com/2013/10/wekasql06.png?w=640" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></a></div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"><br />Install and load RODBC</strong><br />
Support for SQL Server is not possible using native R – therefore we have to install the RODBC package from CRAN.</div>
<ol style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Open up R and in the console window type: <strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">install.packages(“RODBC”)</strong><div style="background: transparent; border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"></strong><a href="https://andersspur.files.wordpress.com/2013/11/sqlr01.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="SQLR01" class="alignnone size-full wp-image-128" height="398" src="https://andersspur.files.wordpress.com/2013/11/sqlr01.png?w=640&h=398" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" width="640" /></a></div>
</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">The RODBC packages is now downloaded and installed on your system. Next step is to load the package into R so the functions of the package can be used. In the console window type:<strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"> library(“RODBC”)</strong><div style="background: transparent; border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;"></strong><a href="https://andersspur.files.wordpress.com/2013/11/sqlr02.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="SQLR02" class="alignnone size-full wp-image-129" height="130" src="https://andersspur.files.wordpress.com/2013/11/sqlr02.png?w=640&h=130" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" width="640" /></a></div>
</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">The RODBC package is now loaded and ready</li>
</ol>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">Connect with R</strong><br />
Now it is time to connect to the SQL Server database from R and retrieve the nominal weather dataset.</div>
<ol style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin: 0px 0px 24px 1.5em; padding: 0px; vertical-align: baseline;">
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">When calling the database you first have to open a connection to the database. And after you have performed you operations, you have to close the connection again. This is done by using the commands <strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">odbcConnect()</strong> and <strong style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">odbcClose()</strong>. The name specified as the parameter is the name of the ODBC user data source.<div style="background: transparent; border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/11/sqlr03.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="SQLR03" class="alignnone size-full wp-image-130" src="https://andersspur.files.wordpress.com/2013/11/sqlr03.png?w=640" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></a></div>
</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">First we want to read an entire table into R – this can be done by using the sqlFetch command.<div style="background: transparent; border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/11/sqlr04.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="SQLR04" class="alignnone size-full wp-image-131" src="https://andersspur.files.wordpress.com/2013/11/sqlr04.png?w=640" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></a></div>
</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">If you want to load the data into a <span class="skimlinks-unlinked" style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">data.frame</span>, this can easily be done<div style="background: transparent; border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/11/sqlr05.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="SQLR05" class="alignnone size-full wp-image-132" src="https://andersspur.files.wordpress.com/2013/11/sqlr05.png?w=640" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></a></div>
</li>
<li style="background: transparent; border: 0px; margin: 0px; padding: 0px; vertical-align: baseline;">If you want to execute a specific SQL-query, this can be done using the sqlQuery-command.<div style="background: transparent; border: 0px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/11/sqlr06.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="SQLR06" class="alignnone size-full wp-image-133" height="320" src="https://andersspur.files.wordpress.com/2013/11/sqlr06.png?w=640&h=320" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" width="640" /></a></div>
</li>
</ol>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
You can use many more SQL-statements against the database by using different RODBC-functions. You can get more help about the RODBC-package by typing RShowDoc(“RODBC”, package=”RODBC”)</div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<a href="https://andersspur.files.wordpress.com/2013/11/sqlr07.png" style="background: transparent; border: 0px; color: #743399; margin: 0px; padding: 0px; vertical-align: baseline;"><img alt="SQLR07" class="alignnone size-full wp-image-127" height="486" src="https://andersspur.files.wordpress.com/2013/11/sqlr07.png?w=640&h=486" style="background: transparent; border: none; height: auto; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" width="640" /></a></div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
I hope this little tutorial helped you in connecting R to SQL Server</div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
SOURCE https://andersspur.wordpress.com/2013/11/26/connect-r-to-sql-server-2012-and-14/</div>
<div style="background: rgb(255, 255, 255); border: 0px; color: #333333; font-family: Georgia, "Bitstream Charter", serif; font-size: 16px; line-height: 24px; margin-bottom: 24px; padding: 0px; vertical-align: baseline;">
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-924888890182726922016-06-09T10:55:00.000-04:002016-08-09T13:25:06.178-04:00About-R_DataTypeConversionToSqlServer<div style="background-color: white; font-family: "Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 17.55px;">
<h2 class="LW_CollapsibleArea_TitleDiv" style="font-family: "Segoe UI Semibold", "Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; font-size: 13px; font-weight: normal; line-height: 1.3em; margin: 0px; padding-bottom: 5px; padding-top: 20px;">
<a class="LW_CollapsibleArea_TitleAhref" href="https://www.blogger.com/null" role="button" style="cursor: text; outline: none;" title=""><span class="LW_CollapsibleArea_Title" style="display: inline-block; font-size: 1.769em; line-height: 1.3em;">Data Type Conversion between R and SQL Server</span></a><div class="LW_CollapsibleArea_Anchor_Div active" id="Anchor_0" style="float: right; height: 20px; padding-top: 7px; visibility: visible; width: 20px;">
<a class="LW_CollapsibleArea_Anchor_Img" href="https://msdn.microsoft.com/en-us/library/mt590948.aspx#Anchor_0" style="background: url("/Areas/Epx/Content/Images/ImageSprite.png?v=636004275936786732") -502px -3px no-repeat scroll; color: black; display: inline-block; height: 20px; overflow: hidden; text-decoration: none; width: 20px;" title="Right-click to copy and share the link for this section"></a></div>
<div class="LW_CollapsibleArea_HrDiv" style="padding-top: 0px;">
</div>
</h2>
<div class="sectionblock" style="padding-bottom: 20px; padding-left: 15px;">
<a href="https://www.blogger.com/null" id="Data-Type-Conversion-between-R-and-SQL-Server" style="color: #0072c6;"></a></div>
</div>
<div style="background-color: white; color: #2a2a2a; font-family: "Segoe UI", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; font-size: 13px; line-height: 18px; padding-bottom: 15px;">
The following table shows the changes in data types and values when data from SQL Server is used in an R script and then returned to SQL Server.</div>
<div class="contentTableWrapper" style="background-color: white; overflow-x: auto;">
<table responsive="true" style="border-collapse: collapse; border: 1px solid rgb(187, 187, 187); margin-bottom: 20px; margin-top: 20px; word-break: break-word;"><thead>
<tr responsive="true"><th style="background-color: #ededed; border: 1px solid rgb(187, 187, 187); color: #636363; padding: 10px 8px;"></th><th style="background-color: #ededed; border: 1px solid rgb(187, 187, 187); color: #636363; padding: 10px 8px;"></th><th style="background-color: #ededed; border: 1px solid rgb(187, 187, 187); color: #636363; padding: 10px 8px;"></th><th style="background-color: #ededed; border: 1px solid rgb(187, 187, 187); color: #636363; padding: 10px 8px;"></th></tr>
</thead><tbody>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">SQL Server type</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">R class</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">Type in RESULT SET</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">Comments</span></span></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">smalldatetime</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">POSIXct</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">datetime</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">Represented as GMT</span></span></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">smallmoney</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">numeric</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">float</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">datetime</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">POSIXct</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">datetime</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">Represented as GMT</span></span></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">money</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">numeric</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">float</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">uniqueidentifier</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">character</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varchar(max)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">numeric(p,s)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">numeric</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">float</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">decimal(p,s)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">numeric</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">float</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">date</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">POSIXct</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">datetime</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">Represented as GMT</span></span></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">tinyint</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">integer</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">int</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">bit</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">logical</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">bit</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">smallint</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">integer</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">int</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">int</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">integer</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">int</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">float</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">numeric</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">float</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">real</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">numeric</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">float</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">bigint</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">numeric</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">float</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">binary(n)</span></span><br />
<span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;"><br /></span></span>
<span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">n <= 8000</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">raw</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varbinary(max)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">Only allowed as input parameter and output</span></span></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">char(n)</span></span><br />
<span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;"><br /></span></span>
<span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">n <= 8000</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">character</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varchar(max)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varbinary(n)</span></span><br />
<span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;"><br /></span></span>
<span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">n <= 8000</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">raw</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varbinary(max)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">Only allowed as input parameter and output</span></span></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varchar(n)</span></span><br />
<span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;"><br /></span></span>
<span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">n <= 8000</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">character</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varchar(max)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"></td></tr>
<tr><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varbinary(max)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><code style="line-height: 17.55px;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;">raw</span></code></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">varbinary(max)</span></span></td><td data-th="" style="border: 1px solid rgb(187, 187, 187); color: #2a2a2a; min-width: 80px; padding: 10px 8px; vertical-align: top;"><span style="color: black; font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">Only allowed as input parameter and output</span></span></td></tr>
</tbody></table>
<span style="font-family: "segoe ui" , "lucida grande" , "verdana" , "arial" , "helvetica" , sans-serif;"><span style="font-size: 13px; line-height: 17.55px;">https://msdn.microsoft.com/en-us/library/mt590948.aspx</span></span></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-52100384502945519422016-06-07T09:06:00.000-04:002016-06-07T09:06:20.165-04:00About-R_DataScienceR<h1>
R Data Science Tutorials</h1>
<br />
<ul>
<li>This repo contains a curated list of R tutorials and packages for
Data Science, NLP and Machine Learning. This also serves as a reference
guide for several common data analysis tasks.</li>
<li><a href="https://github.com/ujjwalkarn/DataSciencePython">Curated list of Python tutorials for Data Science, NLP and Machine Learning</a>.</li>
<li><a href="https://github.com/ujjwalkarn/Machine-Learning-Tutorials/blob/master/README.md">Comprehensive topic-wise list of Machine Learning and Deep Learning tutorials, codes, articles and other resources</a>.</li>
</ul>
<div>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#the-r-language" id="user-content-the-r-language"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>The R Language</h2>
<ul>
<li><a href="https://github.com/qinwf/awesome-R">Awesome-R Repository on GitHub</a></li>
<li><a href="https://cran.r-project.org/doc/contrib/Short-refcard.pdf">R Reference Card: Cheatsheet</a></li>
<li><a href="http://www.r-bloggers.com/">R bloggers: blog aggregator</a></li>
<li><a href="https://github.com/binga/DataScienceArsenal/blob/master/r-resources.md">R Resources on GitHub</a></li>
<li><a href="https://github.com/ujjwalkarn/awesome-R">Awesome R resources</a></li>
<li><a href="https://github.com/ujjwalkarn/Data-Mining-With-R">Data Mining with R</a></li>
<li><a href="http://robjhyndman.com/hyndsight/r/">Rob J Hyndman's R Blog</a></li>
<li><a href="http://robjhyndman.com/hyndsight/simpler/">Simple R Tricks and Tools</a> <a href="https://www.youtube.com/watch?v=Toc__W7L2Qo">(Video)</a></li>
<li><a href="https://github.com/rstudio/">RStudio GitHub Repo</a></li>
<li><a href="http://www.dataschool.io/tidying-messy-data-in-r/">Tidying Messy Data in R</a> <a href="https://vimeo.com/33727555">Video</a></li>
<li><a href="http://www.hardballtimes.com/a-short-ish-introduction-to-using-r-for-baseball-research">Baseball Research with R</a></li>
<li><a href="http://www.datasciencecentral.com/profiles/blogs/600-websites-about-r">600 websites about R</a></li>
<li><a href="http://www.datasciencecentral.com/profiles/blogs/implemetation-of-17-classification-algorithms-in-r">Implementation of 17 classification algorithms in R</a></li>
<li><a href="http://analyzecore.com/2015/04/01/cohort-analysis-and-lifecycle-grids-mixed-segmentation-with-r/">Cohort Analysis and LifeCycle Grids mixed segmentation with R</a></li>
<li><a href="http://www.tableau.com/learn/whitepapers/using-r-and-tableau">Using R and Tableau</a></li>
<li><a href="http://www.docfoc.com/cran-pdf">COMPREHENSIVE VIEW ON CRAN PACKAGES</a></li>
<li><a href="http://math.arizona.edu/~jwatkins/R-01.pdf">Using R for Statistical Tables and Plotting Distributions</a></li>
<li><a href="https://cran.r-project.org/web/packages/Formula/vignettes/Formula.pdf">Extended Model Formulas in R: Multiple Parts and Multiple Responses</a></li>
<li><a href="https://www.dataquest.io/blog/python-vs-r/?utm_content=buffer55639&utm_medium=social&utm_source=linkedin.com&utm_campaign=buffer">R vs Python: head to head data analysis</a></li>
<li><a href="http://r4ds.had.co.nz/"><strong>R for Data Science: Hadley Wickham's Book</strong></a></li>
<li><a href="https://www.ling.upenn.edu/~joseff/rstudy/index.html"><strong>R Study Group at UPenn</strong></a></li>
<li><a href="http://dni-institute.in/blogs/extracting-data-from-facebook-using-r/">Program-Defined Functions in R</a></li>
</ul>
<div>
<br /></div>
</div>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#important-questions" id="user-content-important-questions"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Important Questions</h2>
<br />
<ul>
<li><a href="http://stackoverflow.com/questions/9860090/in-r-why-is-better-than-subset"><strong>In R, why is bracket better than <code>subset</code>?</strong></a></li>
<li><a href="http://www.statmethods.net/management/subset.html"><strong>Subsetting Data in R</strong></a></li>
<li><a href="http://stackoverflow.com/questions/1727772/quickly-reading-very-large-tables-as-dataframes-in-r"><strong>Quickly reading very large tables as dataframes in R</strong></a></li>
<li><a href="http://www.sr.bham.ac.uk/~ajrs/R/r-show_data.html"><strong>Using R to show data</strong></a></li>
<li><a href="http://stackoverflow.com/questions/19226816/how-can-i-view-the-source-code-for-a-function?lq=1">How can I view the source code for a function?</a></li>
<li><a href="https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example">How to make a great R reproducible example?</a></li>
<li><a href="https://stackoverflow.com/questions/3505701/r-grouping-functions-sapply-vs-lapply-vs-apply-vs-tapply-vs-by-vs-aggrega"><strong>R Grouping functions: sapply vs. lapply vs. apply. vs. tapply vs. by vs. aggregate</strong></a></li>
<li><a href="https://stackoverflow.com/questions/1358003/tricks-to-manage-the-available-memory-in-an-r-session"><strong>Tricks to manage the available memory in an R session</strong></a></li>
<li><a href="https://stackoverflow.com/questions/1741820/assignment-operators-in-r-and">Difference between Assignment operators '=' and '<-' in R</a></li>
<li><a href="https://stackoverflow.com/questions/5595512/what-is-the-difference-between-require-and-library">What is the difference between require() and library()?</a></li>
<li><a href="https://stackoverflow.com/questions/19226816/how-can-i-view-the-source-code-for-a-function">How can I view the source code for a function?</a></li>
<li><a href="https://stackoverflow.com/questions/27689222/changing-fonts-for-graphs-in-r/">How can I change fonts for graphs in R?</a></li>
</ul>
<div>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#common-dataframe-operations" id="user-content-common-dataframe-operations"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Common DataFrame Operations</h2>
<ul>
<li><a href="https://stackoverflow.com/questions/10689055/create-an-empty-data-frame">Create an empty data.frame</a></li>
<li><a href="https://stackoverflow.com/questions/1296646/how-to-sort-a-dataframe-by-columns">Sort a dataframe by column(s)</a></li>
<li><a href="https://stackoverflow.com/questions/1299871/how-to-join-merge-data-frames-inner-outer-left-right">Merge/Join data frames (inner, outer, left, right)</a></li>
<li><a href="https://stackoverflow.com/questions/4605206/drop-data-frame-columns-by-name">Drop data frame columns by name</a></li>
<li><a href="https://stackoverflow.com/questions/4862178/remove-rows-with-nas-in-data-frame">Remove rows with NAs in data.frame</a></li>
<li><a href="https://stackoverflow.com/questions/1727772/quickly-reading-very-large-tables-as-dataframes-in-r">Quickly reading very large tables as dataframes in R</a></li>
<li><a href="https://stackoverflow.com/questions/1195826/drop-factor-levels-in-a-subsetted-data-frame">Drop factor levels in a subsetted data frame</a></li>
<li><a href="https://stackoverflow.com/questions/4227223/r-list-to-data-frame">Convert R list to data frame</a></li>
<li><a href="https://stackoverflow.com/questions/2851015/convert-data-frame-columns-from-factors-to-characters">Convert data.frame columns from factors to characters</a></li>
<li><a href="https://stackoverflow.com/questions/10085806/extracting-specific-columns-from-a-data-frame">Extracting specific columns from a data frame</a></li>
</ul>
<div>
<h2>
Learning R</h2>
<ul>
<li><a href="http://stats.stackexchange.com/questions/138/free-resources-for-learning-r"><strong>Free resources for learning R</strong></a></li>
<li>Online Courses
<ul>
<li><a href="https://www.edx.org/course/introduction-r-data-science-microsoft-dat204x?gclid=CLiyoPb448wCFRJxvAod-RoLsA">Introduction to R for Data Science - Microsoft | edX</a></li>
<li><a href="https://www.datacamp.com/courses/free-introduction-to-r">Introduction to R on DataCamp</a></li>
<li><a href="http://tryr.codeschool.com/">tryR on Codeschool</a></li>
</ul>
</li>
<li><a href="http://swirlstats.com/">swirl: Learn R, in R</a></li>
<li><a href="http://varianceexplained.org/RData/">Data Analysis and Visualization Using R</a></li>
<li><a href="http://www.listendata.com/p/r-programming-tutorials.html"><strong>MANY R PROGRAMMING TUTORIALS</strong></a></li>
<li><a href="https://cran.r-project.org/web/packages/HSAUR/vignettes/Ch_introduction_to_R.pdf"><strong>A Handbook of Statistical Analyses Using R</strong></a>, Find Other Chapters</li>
<li><a href="http://www.cookbook-r.com/">*<em>Cookbook for R *</em></a></li>
<li><a href="http://www.datasciencecentral.com/profiles/blogs/learning-r-in-seven-simple-steps">Learning R in 7 simple steps</a></li>
</ul>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#caret-package-in-r" id="user-content-caret-package-in-r"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Caret Package in R</h2>
<ul>
<li><a href="http://stats.stackexchange.com/questions/27361/stacking-ensembling-models-with-caret">Ensembling Models with caret</a></li>
<li><a href="http://topepo.github.io/caret/training.html">Model Training and Tuning</a></li>
<li><a href="http://topepo.github.io/caret/modelList.html">Caret Model List</a></li>
<li><a href="http://stackoverflow.com/questions/14968874/caret-relationship-between-data-splitting-and-traincontrol">relationship-between-data-splitting-and-traincontrol</a></li>
<li><a href="http://stackoverflow.com/questions/10498477/carettrain-specify-model-generation-parameters?lq=1">Specify model generation parameters</a></li>
<li><a href="https://www.r-project.org/nosvn/conferences/useR-2013/Tutorials/kuhn/user_caret_2up.pdf">Tutorial</a>, <a href="https://github.com/ujjwalkarn/DataScienceR/blob/master/www.jstatsoft.org/article/view/v028i05/v28i05.pdf">Paper</a></li>
<li><a href="http://amunategui.github.io/blending-models/">Ensembling models with R</a>, <a href="http://stats.stackexchange.com/questions/26790/ensembling-regression-models">Ensembling Regression Models in R</a></li>
</ul>
<div>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#r-cheatsheets" id="user-content-r-cheatsheets"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>R Cheatsheets</h2>
<ul>
<li><a href="https://www.rstudio.com/wp-content/uploads/2015/02/data-wrangling-cheatsheet.pdf">Data Wrangling in R</a></li>
<li><a href="https://www.rstudio.com/wp-content/uploads/2015/08/ggplot2-cheatsheet.pdf">ggplot2 Cheatsheet</a></li>
<li><a href="http://shiny.rstudio.com/images/shiny-cheatsheet.pdf">Shiny Cheatsheet</a></li>
<li><a href="https://www.rstudio.com/wp-content/uploads/2015/06/devtools-cheatsheet.pdf">devtools Cheatsheet</a></li>
<li><a href="https://www.rstudio.com/wp-content/uploads/2015/02/rmarkdown-cheatsheet.pdf">markdown Cheatsheet</a>, <a href="https://www.rstudio.com/wp-content/uploads/2015/03/rmarkdown-reference.pdf">reference</a></li>
<li><a href="http://www.analyticsvidhya.com/blog/2015/10/cheatsheet-11-steps-data-exploration-with-codes/">Data Exploration Cheatsheet</a></li>
</ul>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#reference-slides" id="user-content-reference-slides"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Reference Slides</h2>
<ul>
<li><a href="https://cran.r-project.org/doc/contrib/Baggott-refcard-v2.pdf">Awesome R Reference Card</a></li>
<li><a href="https://78462f86-a-e2d7344e-s-sites.googlegroups.com/a/rdatamining.com/www/docs/RDataMining-slides-association-rules.pdf?attachauth=ANoY7crD9hRI7333KWhK0TVPsS1VfgWoW4BuIsmL8B0NANfntEOq6QbcwJk-aCRUy2N6CmUeJsyrlOOd5bo1CqRUYXkEbSl1JbTniVbb-GSR3cyTt9Qq6xB3ZasMEdACaS9j1fZDiLVn_zLFbrF--aJM7gAu54JwRBhvKuQPOPyeMTosWcTmmrJdRNWH4ZqD5kYEJlmHDcXB8Bp-DWbUxZG2T8sAGbcHGUqkPTTJ_u03wvKyw5MGMrGU7q4xIyyUmBas_PqEDi6q&attredirects=0">Association Rule Mining</a></li>
<li><a href="https://78462f86-a-e2d7344e-s-sites.googlegroups.com/a/rdatamining.com/www/docs/RDataMining-slides-time-series-analysis.pdf?attachauth=ANoY7cphtFEj6IMGuupE5ygQn5flMH5-QPE4yNgJ9fYv3WqfY0qU8LWGgiECZKs6P63Rhx5Nml8lQXQnX7QH7OZm1hoi_Kl0m9sLOAC0tc4sQipWC8DprQVoYSDyw0EdeJfZWAQor0AyjMWeFHPY6nqxIGAaj4arrwZcnR1dYC7nQK4dTVQM80ARrN5Yzq9rNbGic30X-xKwNQxOXL4fO54ThpzmNB4wLKv5geo_hDqPkwtKBmNR7u_kGPOymJHGvxP3nr02aJsB&attredirects=0">Time Series Analysis</a></li>
<li><a href="https://78462f86-a-e2d7344e-s-sites.googlegroups.com/a/rdatamining.com/www/docs/RDataMining-slides-data-exploration-visualization.pdf?attachauth=ANoY7cpqnCTmCv1omsIoKmefAn8q6M_j4Hizv_1enJlu3nRPIxIhzjBlf-9B_sIxMxpUx-XN5cAw74GUr18Dn0EcaiIm9MVeCtqT-2dcPNo0dfhRJvnb5J8EHKBX_w7Y6mYgb7UAoIUbjdmVGR9VCIfJf6PGQqAlupywcb1yGbT4pv61bQzOzrU4-eICfgHmORdi8YgBqscyT2ThaKHPSeGXD0dd3g08pGN3bY70MKM02ZaqarewbII91KTNH1-zmELEcvatl_sMxmGgNnIDm6MaxEWQ1pIrTQ%3D%3D&attredirects=0">Data Exploration and Visualisation</a></li>
<li><a href="https://78462f86-a-e2d7344e-s-sites.googlegroups.com/a/rdatamining.com/www/docs/RDataMining-slides-regression-classification.pdf?attachauth=ANoY7cq0yqcj_65pafTfUqHazTYvp4E4r-5OB1kLv3swVKJhVydaJ0YU5yEPiOciQC0k_P1QzO6z1vD0r9E05KU8y7Mn6NTesQOOq_mmwlMqAe7D2mnqkHZBqFT6tk2hJ3g3fK40mvfyU5ggoGMxMYn9nVhihKwcIYJy9A8zlbFo4r9a35kpTDr6jJjAw5eQwSEMe-bvT5iyZuyMS7QS-tvlgHjJ40ZGhPro7GcWXfb7qqaPeTe9NyeU7MxAy2Z_lAzxn0vSnqe6&attredirects=0">Regression and Classification</a></li>
<li><a href="https://78462f86-a-e2d7344e-s-sites.googlegroups.com/a/rdatamining.com/www/docs/RDataMining-slides-text-mining.pdf?attachauth=ANoY7cquEwmhHFNHxiKNhv6C2wquNdaib8A_BeTRFaGFXZ2deivENdTK-GS7mSZjermC7b_-L6KtCWhfF1ZOzOF9XaLkIaw6InCEnjdO1fWUhJFujaGwwbcbExJKEVuMmwlBX_SDUFZYgjuTbIb2llgKRMQc3Dd241HNZHTvGVuPG26vHKN_jU_WoEj7uIilRJWFTDvNrZWGWrvImWr0aCNou56qAB-zmBG_cvRS4QOQroiEetLpR7k%3D&attredirects=0">Text Mining on Twitter Data</a></li>
</ul>
<div>
<h2>
Using R for Multivariate Analysis</h2>
<ul>
<li><a href="http://little-book-of-r-for-multivariate-analysis.readthedocs.io/en/latest/">Little Book of R for Multivariate Analysis!</a></li>
<li><a href="https://matloff.wordpress.com/2014/03/30/the-freqparcoord-package-for-multivariate-visualization/">THE FREQPARCOORD PACKAGE FOR MULTIVARIATE VISUALIZATION</a></li>
<li><a href="http://www.r-bloggers.com/use-of-freqparcoord-for-regression-diagnostics/">Use of freqparcoord for Regression Diagnostics</a></li>
</ul>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#time-series-analysis" id="user-content-time-series-analysis"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Time Series Analysis</h2>
<ul>
<li><a href="https://www.otexts.org/fpp"><strong>Time Series Forecasting (Online Book)</strong></a></li>
<li><a href="http://a-little-book-of-r-for-time-series.readthedocs.org/en/latest/src/timeseries.html"><strong>A Little Book of Time Series Analysis in R</strong></a></li>
<li><a href="http://www.statmethods.net/advstats/timeseries.html">Quick R: Time Series and Forecasting</a></li>
<li><a href="https://www.linkedin.com/pulse/component-time-series-data-jeffrey-strickland-ph-d-cmsp">Components of Time Series Data</a></li>
<li><a href="https://www.linkedin.com/pulse/unobserved-component-models-r-jeffrey-strickland-ph-d-cmsp">Unobserved Component Models using R</a></li>
<li><a href="http://webarchive.nationalarchives.gov.uk/20080726235635/http://statistics.gov.uk/iosmethodology/downloads/Annex_B_The_Holt-Winters_forecasting_method.pdf">The Holt-Winters Forecasting Method</a></li>
<li><a href="https://cran.r-project.org/web/views/TimeSeries.html"><strong>CRAN Task View: Time Series Analysis</strong></a></li>
</ul>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#bayesian-inference" id="user-content-bayesian-inference"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Bayesian Inference</h2>
<ul>
<li><a href="https://github.com/ujjwalkarn/awesome-R#bayesian">Packages for Bayesian Inference</a></li>
<li><a href="https://www.youtube.com/watch?v=fiWIK7ONX3U">Bayesian Inference in R: Video</a></li>
<li><a href="http://www.r-bloggers.com/r-and-bayesian-statistics/">R and Bayesian Statistics</a></li>
</ul>
<div>
<h2>
Machine Learning using R</h2>
<ul>
<li><a href="https://github.com/jhashanti/Machine-Learning-with-R">Machine Learning with R</a></li>
<li><a href="http://little-book-of-r-for-multivariate-analysis.readthedocs.org/en/latest/src/multivariateanalysis.html">Using R for Multivariate Analysis (Online Book)</a></li>
<li><a href="https://cran.r-project.org/web/views/MachineLearning.html">CRAN Task View: Machine Learning & Statistical Learning</a></li>
<li><a href="https://www.otexts.org/sfml">Machine Learning Using R (Online Book)</a></li>
<li><a href="http://rpubs.com/justmarkham/linear-regression-salary">Linear Regression and Regularization Code</a></li>
<li><a href="http://www.analyticsvidhya.com/blog/2015/09/full-cheatsheet-machine-learning-algorithms/">Cheatsheet</a></li>
<li><a href="http://www.analyticsvidhya.com/blog/2016/02/multinomial-ordinal-logistic-regression/"><strong>Multinomial and Ordinal Logistic Regression in R</strong></a></li>
</ul>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#neural-networks-in-r" id="user-content-neural-networks-in-r"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Neural Networks in R</h2>
<ul>
<li><a href="https://beckmw.wordpress.com/2013/11/14/visualizing-neural-networks-in-r-update/">Visualizing Neural Nets in R</a></li>
<li><a href="http://stackoverflow.com/questions/21788817/r-nnet-with-a-simple-example-of-2-classes-with-2-variables">nnet package</a></li>
<li><a href="http://www.r-bloggers.com/fitting-a-neural-network-in-r-neuralnet-package/">Fitting a neural network in R; neuralnet package</a></li>
<li><a href="http://gekkoquant.com/2012/05/26/neural-networks-with-r-simple-example/">Neural Networks with R – A Simple Example</a></li>
<li><a href="https://beckmw.wordpress.com/tag/neural-network/">NeuralNetTools 1.0.0 now on CRAN</a></li>
<li><a href="http://www.louisaslett.com/Courses/Data_Mining/ST4003-Lab5-Introduction_to_Neural_Networks.pdf">Introduction to Neural Networks in R</a></li>
<li><a href="https://bicorner.com/2015/05/13/neural-networks-using-r/">Step by Step Neural Networks using R</a></li>
<li><a href="http://www.parallelr.com/r-deep-neural-network-from-scratch/"><strong>R for Deep Learning</strong></a></li>
<li><a href="http://www.di.fc.ul.pt/~jpn/r/neuralnets/neuralnets.html">Neural Networks using package neuralnet</a>, <a href="https://journal.r-project.org/archive/2010-1/RJournal_2010-1_Guenther+Fritsch.pdf">Paper</a></li>
</ul>
<div>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#sentiment-analysis" id="user-content-sentiment-analysis"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Sentiment Analysis</h2>
<ul>
<li><a href="https://drive.google.com/open?id=0By_wg-rXnp_6U1JLNVA3cnAxZ3M">Different Approaches</a></li>
<li><a href="http://datascienceplus.com/sentiment-analysis-with-machine-learning-in-r/"><strong>Sentiment analysis with machine learning in R</strong></a></li>
<li><a href="http://andybromberg.com/sentiment-analysis/"><strong>First shot: Sentiment Analysis in R</strong></a></li>
<li><a href="https://github.com/trinker/qdap">qdap package</a>, <a href="http://stackoverflow.com/questions/22774913/estimating-document-polarity-using-rs-qdap-package-without-sentsplit">code</a></li>
<li><a href="https://github.com/trinker/sentimentr">sentimentr package</a></li>
<li><a href="https://github.com/mannau/tm.plugin.sentiment">tm.plugin.sentiment package</a></li>
<li><a href="http://stackoverflow.com/questions/15194436/is-there-any-other-package-other-than-sentiment-to-do-sentiment-analysis-in-r">Packages other than sentiment</a></li>
<li><a href="https://www.cs.uic.edu/~liub/FBS/sentiment-analysis.html">Sentiment Analysis and Opinion Mining</a></li>
<li><a href="http://www.inside-r.org/packages/cran/tm/docs/tm_term_score">tm_term_score</a></li>
<li><a href="http://comp.social.gatech.edu/papers/icwsm14.vader.hutto.pdf"><strong>vaderSentiment Paper</strong></a>, <a href="https://github.com/cjhutto/vaderSentiment"><strong>vaderSentiment code</strong></a></li>
</ul>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#imputation-in-r" id="user-content-imputation-in-r"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Imputation in R</h2>
<ul>
<li><a href="http://stackoverflow.com/questions/13114812/imputation-in-r"><strong>Imputation in R</strong></a></li>
<li><a href="http://stats.stackexchange.com/questions/49270/imputation-with-random-forests">Imputation with Random Forests</a></li>
<li><a href="http://www.unt.edu/rss/class/Jon/Benchmarks/MissingValueImputation_JDS_Nov2010.pdf">How to Identify and Impute Multiple Missing Values using R</a></li>
<li>MICE
</li>
<ul>
<li><a href="http://stackoverflow.com/questions/23974026/error-in-implementation-of-random-forest-in-mice-r-package">error in implementation of random forest in mice r package</a></li>
<li><a href="http://www.inside-r.org/packages/cran/mice/docs/mice.impute.rf">mice.impute.rf {mice}</a></li>
</ul>
</ul>
<div>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#nlp-and-text-mining-in-r" id="user-content-nlp-and-text-mining-in-r"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>NLP and Text Mining in R</h2>
<ul>
<li><a href="http://stackoverflow.com/questions/8161167/what-algorithm-i-need-to-find-n-grams"><strong>What algorithm I need to find n-grams?</strong></a></li>
<li><a href="http://www.r-bloggers.com/natural-language-processing-tutorial/">NLP R Tutorial</a></li>
<li><a href="https://cran.r-project.org/web/packages/tm/vignettes/tm.pdf">Introduction to the tm Package Text Mining in R</a></li>
<li><a href="http://stackoverflow.com/questions/18446408/adding-stopwords-in-r-tm">Adding stopwords in R tm</a></li>
<li><a href="http://www.r-bloggers.com/text-mining/">Text Mining</a></li>
<li><a href="http://www.omegahat.net/Rstem/stemming.pdf">Word Stemming in R</a></li>
<li><a href="http://web.letras.up.pt/bhsmaia/EDV/apresentacoes/Bradzil_Classif_withTM.pdf"><strong>Classification of Documents using Text Mining Package “tm”</strong></a></li>
<li><a href="http://slidegur.com/doc/1830649/text-mining">Text mining tools techniques and applications</a></li>
<li><a href="http://www3.cs.stonybrook.edu/~cse634/G8present.pdf">Text Mining: Overview,Applications and Issues </a></li>
<li><a href="http://www3.cs.stonybrook.edu/~cse634/presentations/TextMining.pdf"><strong>Text Mining pdf</strong></a></li>
<li><a href="http://www.stat.columbia.edu/~madigan/W2025/notes/IntroTextMining.pdf">Text Mining Another pdf</a></li>
<li><a href="http://studylib.net/doc/5800473/topic7-textmining">Good PPT</a></li>
<li><a href="http://www.nyu.edu/projects/politicsdatalab/localdata/workshops/twitter.pdf"><strong>Scraping Twitter and Web Data Using R</strong></a></li>
</ul>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#visualisation-in-r" id="user-content-visualisation-in-r"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Visualisation in R</h2>
<ul>
<li><a href="http://www.ling.upenn.edu/~joseff/avml2012/">ggplot2 tutorial</a></li>
<li><a href="https://github.com/rstudio/shiny-examples">SHINY EXAMPLES</a></li>
<li><a href="http://www.analyticsvidhya.com/blog/2015/07/guide-data-visualization-r/">Comprehensive Guide to Data Visualization in R</a></li>
<li><a href="http://www.r-bloggers.com/interactive-visualizations-with-r-a-minireview/">Interactive visualizations with R – a minireview</a></li>
<li><a href="http://www.computerworld.com/article/2497304/business-intelligence-beginner-s-guide-to-r-painless-data-visualization.html">Beginner's guide to R: Painless data visualization</a></li>
<li><a href="https://www.datacamp.com/courses/ggvis-data-visualization-r-tutorial">Data Visualization in R with ggvis</a></li>
<li><a href="http://www.r-statistics.com/tag/visualization/">Multiple Visualization Articles in R</a></li>
</ul>
<div>
<h2>
Statistics with R</h2>
<ul>
<li><a href="http://a-little-book-of-r-for-biomedical-statistics.readthedocs.org/en/latest/src/biomedicalstats.html">Using R for Biomedical Statistics (Online Book)</a></li>
<li><a href="http://www.r-tutor.com/elementary-statistics">Elementary Statistics with R</a></li>
<li><a href="https://www.datacamp.com/introduction-to-statistics">A Hands-on Introduction to Statistics with R</a></li>
<li><a href="http://www.statmethods.net/stATS/index.html">Quick R: Basic Statistics</a></li>
<li><a href="http://www.statmethods.net/stats/descriptives.html">Quick R: Descriptive Statistics</a></li>
<li><a href="https://www.edx.org/course/explore-statistics-r-kix-kiexplorx-0">Explore Statistics with R | edX</a></li>
</ul>
<div>
<h2>
Useful R Packages</h2>
<ul>
<li><a href="https://www.jstatsoft.org/article/view/v059i10"><strong>TIDY DATA HADLEY PAPER</strong></a>
<ul>
<li>Package ‘tidyr’: tidyr is an evolution of reshape2. It's design
specifically for data tidying (not general reshaping or aggregating) and
works well with dplyr data pipelines.</li>
</ul>
</li>
<li><a href="https://github.com/dgrtwo/broom">BROOM</a></li>
<li><a href="http://www.dataschool.io/tidying-messy-data-in-r/"><strong>plyr, stringr, reshape2 tutorial</strong></a> <a href="https://vimeo.com/33727555">Video</a>, <a href="https://github.com/justmarkham/tidy-data">CODE</a></li>
<li>dplyr
<ul>
<li><a href="https://github.com/ujjwalkarn/DataScienceR/tree/master/Intro%20to%20dplyr">Code Files in this Repo</a></li>
<li><a href="http://www.dataschool.io/dplyr-tutorial-for-faster-data-manipulation-in-r/">dplyr tutorial 1</a>, <a href="http://www.dataschool.io/dplyr-tutorial-part-2/">dplyr tutorial 2</a></li>
<li><a href="http://www.gettinggeneticsdone.com/2014/08/do-your-data-janitor-work-like-boss.html">Do your "data janitor work" like a boss with dplyr</a></li>
</ul>
</li>
<li>ggplot2
<ul>
<li><a href="http://www.ling.upenn.edu/~joseff/avml2012/">ggplot2 tutorial</a></li>
<li><a href="http://www.noamross.net/blog/2012/10/5/ggplot-introduction.html">A quick introduction to ggplot()</a></li>
<li><a href="http://www.cookbook-r.com/Graphs/index.html">R Graphics cookbook</a></li>
<li><a href="https://learnr.wordpress.com/2009/06/28/ggplot2-version-of-figures-in-lattice-multivariate-data-visualization-with-r-part-1/">ggplot2 Version of Figures in “Lattice: Multivariate Data Visualization with R” </a></li>
</ul>
</li>
<li><a href="http://www.r-statistics.com/2013/09/a-speed-test-comparison-of-plyr-data-table-and-dplyr/">A speed test comparison of plyr, data.table, and dplyr</a></li>
<li>data.table
<ul>
<li><a href="https://cran.r-project.org/web/packages/data.table/vignettes/datatable-intro.pdf">Introduction to the data.table package in R</a></li>
<li><a href="http://blog.yhat.com/posts/fast-summary-statistics-with-data-dot-table.html">Fast summary statistics in R with data.table</a></li>
</ul>
</li>
<li>Other Packages
<ul>
<li>Package 'e1071'</li>
<li>Package ‘AppliedPredictiveModeling’</li>
<li>Package ‘stringr’: stringr is a set of simple wrappers that make R's
string functions more consistent, simpler and easier to use.</li>
<li>Package ‘stringdist’: Implements an approximate string matching
version of R's native 'match' function. Can calculate various string
distances based on edits (damerau-levenshtein, hamming, levenshtein,
optimal sting alignment), qgrams or heuristic metrics</li>
<li>Package ‘FSelector’: This package provides functions for selecting attributes from a given dataset </li>
<li><a href="https://cran.r-project.org/web/packages/Ryacas/vignettes/Ryacas.pdf">Ryacas – an R interface to the yacas computer algebra system</a></li>
<li><a href="https://cran.r-project.org/web/packages/scatterplot3d/vignettes/s3d.pdf">Scatterplot3d – an R package for Visualizing Multivariate Data</a></li>
<li><a href="https://cran.r-project.org/web/packages/tm.plugin.webmining/vignettes/ShortIntro.pdf">tm.plugin.webmining intro</a></li>
<li><a href="https://cran.r-project.org/web/packages/diffEq/vignettes/ODEinR.pdf">Solving Differential Equations in R - ODE examples</a></li>
<li><a href="http://socserv.socsci.mcmaster.ca/jfox/Misc/sem/SEM-paper.pdf">Structural Equation Modeling With the sem Package in R</a></li>
<li><a href="http://www.inside-r.org/packages/cran/prettyGraphs/docs/prettyScree">prettyScree - prettyGraphs</a></li>
</ul>
</li>
</ul>
<h2>
<a aria-hidden="true" class="anchor" href="https://github.com/ujjwalkarn/DataScienceR#market-basket-analysis-in-r" id="user-content-market-basket-analysis-in-r"><svg aria-hidden="true" class="octicon octicon-link" height="16" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Market Basket Analysis in R</h2>
<ul>
<li><a href="http://www.salemmarafi.com/code/market-basket-analysis-with-r/">Market Basket Analysis with R</a></li>
<li><a href="http://dni-institute.in/blogs/market-basket-analysis-step-by-step-approach-using-r/">Step by Step explanation of Market Basket</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<br />
SPECIAL THANKS TO M. KARN https://github.com/ujjwalkarn/DataScienceR<br />
<br />Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-6705114561591732897.post-90578404662601233332016-06-01T16:26:00.004-04:002016-06-07T08:55:12.091-04:00About-R_PrincipalComponentsRegression<h3>
Principal Components Regression, Pt.1: The Standard Method</h3>
<div>
http://www.win-vector.com/blog/2016/05/pcr_part1_xonly/</div>
<div>
<br /></div>
<h3>
Principal Components Regression, Pt. 2: Y-Aware Methods</h3>
<div>
http://www.win-vector.com/blog/2016/05/pcr_part2_yaware/</div>
<div>
<br /></div>
<h3>
Principal Components Regression, Pt. 3: Picking the Number of Components</h3>
<div>
http://www.win-vector.com/blog/2016/05/pcr_part3_pickk/</div>
<div>
<br /></div>
<h3>
Principal Components Regression in R, an operational tutorial</h3>
<div>
http://blog.revolutionanalytics.com/2016/05/principal-components-tutorial.html</div>
<div>
<br /></div>
<h3>
Principal Components Regression in R: Part 2</h3>
<div>
http://blog.revolutionanalytics.com/2016/05/principal-components-regression-part-2.html</div>
<div>
<br /></div>
<h3>
Principal Components Regression in R: Part 3</h3>
<div>
http://blog.revolutionanalytics.com/2016/05/principal-components-regression-in-r-part-3.html</div>
<div>
<br /></div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-66122690144885702022016-05-31T14:49:00.003-04:002016-05-31T14:49:59.599-04:00About-BestPractices<div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;">Code readability is a universal subject in the world of computer programming. It's one of the first things we learn as developers. This article will detail the fifteen most important best practices when writing readable code.<br />
Diomidis Spinellis, author of <a class="external-link" href="http://www.informit.com/store/code-quality-the-open-source-perspective-9780321166074" rel="nofollow" style="color: #326ca6; text-decoration: none;">Code Quality: The Open Source Perspective</a>, lists the most important rules for writing sparkling code. Follow them, and your code will look professional, live long, grow smoothly, and earn your colleagues’ love (rather than swearing).</div><h3 id="Upgrade-BestPractices-BestPracticeList" style="background-color: none; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; margin: 30px 0px 0px; padding: 0px;">Best Practice List</h3><ol style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin: 10px 0px 0px;"><li><div style="background-color: transparent; padding: 0px;">Use Naming Conventions</div></li>
<li>Create Descriptive Names: Use long descriptive names, like complementSpanLength, to help yourself, now and in the future, as well as your colleagues to understand what the code does. The only exception to this rule concerns the few key variables used within a method's body, such as a loop index, a parameter, an intermediate result, or a return value.</li>
<li><div style="background-color: transparent; padding: 0px;">Use Commenting Conventions</div></li>
<li><div style="background-color: transparent; padding: 0px;">Commenting & Documentation: IDE's (Integrated Development Environment) have come a long way in the past few years.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Use Coding Conventions</div></li>
<li><div style="background-color: transparent; padding: 0px;">Consistent Indentation: I assume you already know that you should indent your code. However, it's also worth noting that it is a good idea to keep your indentation style consistent.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Avoid Obvious Comments: Commenting your code is fantastic; however, it can be overdone or just be plain redundant.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Code Grouping: More often than not, certain tasks require a few lines of code. It is a good idea to keep these tasks within separate blocks of code, with some spaces between them.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Consistent Naming Scheme: PHP itself is sometimes guilty of not following consistent naming schemes. First of all, the names should have word boundaries like camelCase (First letter of each word is capitalized, except the first word) or underscores (Underscores between words, mysql_real_escape_string).</div></li>
<li><div style="background-color: transparent; padding: 0px;">Be Consistent: Do similar things in similar ways. If you're developing a routine whose functionality resembles that of an existing routine, use a similar name, the same parameter order, and a comparable structure for the code body.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Don't Overdesign: Keep your design focused on today's needs. Your code can be general to accommodate future evolution, but only if that doesn't make it more complex. Don't create parameterized classes, factory methods, deep inheritance hierarchies, and arcane interfaces to solve problems that don't yet exist—you can't guess what tomorrow will bring.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Split Your Code into Short, Focused Units: Every method, function, or logical code block should fit on a reasonably-sized screen window (25–50 lines long). If it's longer, split it into shorter pieces. An exception can be made for simple repetitive code sequences.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Use Efficient Data Structures and Algorithms: Simple code is often more maintainable than equivalent code hand-tuned for efficiency. Fortunately, you can combine maintainability with efficiency by utilizing the data structures and algorithms provided by your programming framework. Use maps, sets, vectors, and the algorithms that work on them, and your code will be clearer, more scalable, faster, and memory-frugal.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Use Framework APIs and Third-Party Libraries: Learn what functionality is available through an API in your programming framework, and also what's commonly available through mature, widely adopted third-party libraries. Libraries supported by your system's package manager are often a good bet. Use that code, resisting the temptation to reinvent the wheel.</div></li>
<li><div style="background-color: transparent; padding: 0px;">DRY Principle: DRY stands for Don't Repeat Yourself. Also known as DIE: Duplication is Evil.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Avoid Deep Nesting: Too many levels of nesting can make code harder to read and follow.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Limit Line Length: Our eyes are more comfortable when reading tall and narrow columns of text.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Check for Errors and Respond to Them: Routines can return with an error indication, or they can raise an exception. Deal with it. Don't assume that a disk will never fill up, your configuration file will always be there, your application will run with the required permissions, memory-allocation requests will always succeed, or that a connection will never time out.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Include Unit Tests: The complexity of modern software makes it expensive to deploy a system and difficult to test it as a black box. A more productive approach is to accompany every small part of your code with tests that verify its correct function. This approach simplifies debugging by allowing you to catch errors early, close to their source. Unit testing is indispensable when you program with dynamically typed languages such as Python and JavaScript, because they'll only catch at run-time any errors that that a statically typed language such as Java, C#, or C++ would catch at compile time. Unit testing also allows you to refactor the code with confidence.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Keep Your Code Portable: Unless you have some compelling reason, avoid using functionality that's available only on a specific platform or framework. Don't assume that particular data types (such as integers, pointers, and time) are of a given width (for example, 32 bits), because this differs between various platforms. Store the program's messages separately from the code, and don't hard-code cultural conventions such as a decimal separator or date format.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Make Your Code Buildable: A single command should build your code into a form that's ready for distribution. The command should allow you to perform fast incremental builds and run the required tests. To achieve this goal, use a build automation tool like Make, Apache Maven, or Ant. Ideally, you should set up a continuous integration system that will check, build, and test your code every time you make a change.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Put Everything Under Version Control: All elements of your system—code, documentation, tool sources, build scripts, test data—should be under version control.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Avoid Security Pitfalls: Modern code rarely works in isolation. Therefore it will inevitably risk becoming the target of malicious attacks. They don't have to come from the Internet; the attack vector could be data fed into your application. Depending on your programming language and application domain, you might have to worry about buffer overflows, cross-site scripting, SQL injection, and similar problems.</div></li>
<li><div style="background-color: transparent; padding: 0px;">File and Folder Organization: Technically, you could write an entire application code within a single file. But that would prove to be a nightmare to read and maintain.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Consistent Temporary Names: Normally, the variables should be descriptive and contain one or more words. But, this doesn't necessarily apply to temporary variables. They can be as short as a single character.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Capitalize SQL Special Words: Database interaction is a big part of most web applications. If you are writing raw SQL queries, it is a good idea to keep them readable as well.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Separation of Code and Data: This is another principle that applies to almost all programming languages in all environments. In the case of web development, the "data" usually implies HTML output.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Alternate Syntax Inside Templates: You may choose not to use a fancy template engine, and instead go with plain inline PHP in your template files.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Object Oriented vs. Procedural: Object oriented programming can help you create well structured code. But that does not mean you need to abandon procedural programming completely. Actually creating a mix of both styles can be good.</div></li>
<li><div style="background-color: transparent; padding: 0px;">Read Open Source Code: Open Source projects are built with the input of many developers. These projects need to maintain a high level of code readability so that the team can work together as efficiently as possible.</div></li>
</ol>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-39170512045278802112016-05-25T10:52:00.003-04:002016-05-31T13:50:23.869-04:00About-VisualStudio2015-Extensions<h2 id="UpgradeVisualStudio-VS2015Update2" style="background-color: none; border-bottom-color: rgb(46, 61, 84); font-family: Arial, sans-serif; font-size: 20px; font-weight: normal; line-height: 1.5; margin: 0px; padding: 0px;">VS2015 Update 2</h2><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;">It is better to have the latest visual studio with its companion extension for web development</div><h3 id="UpgradeVisualStudio-VS2015Extensions" style="background-color: none; font-family: Arial, sans-serif; font-size: 16px; line-height: 1.5; margin: 30px 0px 0px; padding: 0px;">VS2015 Extensions</h3><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/f3b504c6-0095-42f1-a989-51d5fc2a8459" rel="nofollow" style="color: #326ca6; text-decoration: none;">Web Extension Pack</a> The easiest way to set up Visual Studio for the ultimate web development experience.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/ee6e6d8c-c837-41fb-886a-6b50ae2d06a2" rel="nofollow" style="color: #326ca6; text-decoration: none;">Web Essentials</a> Web Essentials is very well-named, it's essential, there is a whole host of features that Web Essential adds to Visual Studio, from Browser Link to its amazing addition to CSS intellisense and zen coding and more.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/e82e7862-f731-4183-a27a-3a44b261bfe5" rel="nofollow" style="color: #326ca6; text-decoration: none;">Bootstrap Snippet Pack</a> The same thing as jQuery snippet, but this time it's for Bootstrap, it makes your life a lot easier and you don't have to look for examples on the web anymore, just type "<bs-Something" and you're good to go.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/a921b98e-9430-4be2-bf53-1169e12bdb50" rel="nofollow" style="color: #326ca6; text-decoration: none;">CssCop</a> I'm not much of a CSS guru and I mostly rely on CssCop to point out my CSS mistakes, CssCop can check your Css based on set of rules and make sure you are following the best practices and avoid nasty mistakes.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/577b9c03-71fb-417b-bcbb-94b6d3d326b8" rel="nofollow" style="color: #326ca6; text-decoration: none;">jQuery Code Snippets</a> This one is pretty self explanatory, it extends the Visual Studio jQuery snippets, and you don't need to spend your time typing $.ajax and what comes after it, it makes your jQuery coding speed a lot faster.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://github.com/Microsoft/nodejstools/releases/tag/v1.1.1" rel="nofollow" style="color: #326ca6;">Node.js Tools for Visual Studio-NTVS</a> NTVS is a free, open source plugin that turns Visual Studio into a Node.js IDE. It is designed, developed, and supported by Microsoft and the community.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/6cf50a48-fc1e-4eaf-9e82-0b2a6705ca7d" rel="nofollow" style="color: #326ca6; text-decoration: none;">ASP.NET MVC Boilerplate</a> Are you sick and tired of adding must use packages and tools like elmah, glimpse, etc. to your project every time you want to start a project? Well, ASP.NET MVC Boilerplate addresses this issue, it is a template with all the packages and components that we use in every project, but it is not in default Visual Studio template.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/a16c2d07-b2e1-4a25-87d9-194f04e7a698" rel="nofollow" style="color: #326ca6; text-decoration: none;">SideWaffle Template Pack</a> Another amazing extension, it adds tons of templates to the Visual Studio template, from templates for creating jQuery plugin to Angularjs Project template, it also makes creating custom templates a whole lot easier.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/ede12aa8-0f80-4e6f-b15c-7a8b3499370e" rel="nofollow" style="color: #326ca6; text-decoration: none;">JSLint.NET</a> JsLint is a code quality and validation tool for JavaScript, but this particular extension is a wrapper for Douglas Crockford's JSLint that bring this amazing tool to .NET.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/288a2b0f-1357-47b4-8215-1134c36bdf30" rel="nofollow" style="color: #326ca6; text-decoration: none;">JavaScript Map Parser</a> Extension for Visual Studio that shows a map for JavaScript code in a separate panel.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/98fef791-eb65-4cdf-bf84-077b98c234cf" rel="nofollow" style="color: #326ca6; text-decoration: none;">Copy As HTML</a> Copy selected code in HTML format while preserving syntax highlighting, indentation, background colour and font. Options: Max Height, Title Block, Alternating Lines, Line Numbers, Wrap Lines, Un-indent, Background Colour, Class Names. Converts RTF, outputted by VS, into HTML.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/a56eddd3-d79b-48ac-8c8f-2db06ade77c3" rel="nofollow" style="color: #326ca6; text-decoration: none;">Image Optimizer</a> Uses industry standard tools to optimize any JPEG, PNG and Gifs - including animated Gifs. Can do both lossy and lossless optimization.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/5d01e3bd-6433-47f2-9c6d-a9da52d172cc" rel="nofollow" style="color: #326ca6; text-decoration: none;">Developer Assistant</a> Searching for code sample couldn't be any easier with this extension, you can see and use sample code right from your code as you are typing.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/f89b27c5-7d7b-4059-adde-7ccc709fa86e" rel="nofollow" style="color: #326ca6; text-decoration: none;">Ref12</a> Ref12 is a pretty simple but necessary extension, it gives you the ability to navigate to the actual source code of the .NET Framework rather than just meta data.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/ab588981-91a5-478c-8e65-74d0ff450862" rel="nofollow" style="color: #326ca6; text-decoration: none;">Code Cracker for C#</a> In the past, only big companies like JetBrain (Creator of Resharper) could build a code analysis feature and tooling for Visual Studio, because doing so was not an easy task and required a lot of work and money, but with release of Roslyn compiler and set of API that it provides for querying and working with compiler, it is easier to build a code analysis tool for C# and VB.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/68c1575b-e0bf-420d-a94b-1b0f4bcdcbcc" rel="nofollow" style="color: #326ca6; text-decoration: none;">Refactoring Essentials</a> Another code analyzer for C# and VB.NET is Refactoring Essential, it is available as both extension and Nuget package that you can use on project by project bases. <a class="external-link" href="https://www.nuget.org/packages/RefactoringEssentials/" rel="nofollow" style="color: #326ca6; text-decoration: none;">https://www.nuget.org/packages/RefactoringEssentials/</a><span style="color: black;"> Install-Package RefactoringEssentials</span></div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/3b64e04c-e8de-4b97-8358-06c73a97cc68" rel="nofollow" style="color: #326ca6; text-decoration: none;">ResXManager</a> Manage localization of all ResX-Based resources in one place. Shows all resources of a solution and let's you edit the strings and their localizations in a well-arranged data grid.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/a23de100-31a1-405c-b4b7-d6be40c3dfff" rel="nofollow" style="color: #326ca6;">Visual Studio Spell Checker</a> This extension spellchecks your comments, strings, and plain text, it's pretty non-intrusive and doesn't get in the way of your actual code and doesn't mix itself with error highlighting.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/d0d33361-18e2-46c0-8ff2-4adea1e34fef" rel="nofollow" style="color: #326ca6; text-decoration: none;">Productivity Power Tools</a> A lot of native Visual Studio capability that we see today was originally available as an addition in this extension and eventually got integrated in Visual Studio, but this extension still has a lot of great features.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/B08B0375-139E-41D7-AF9B-FAEE50F68392" rel="nofollow" style="color: #326ca6; text-decoration: none;">Snippet Designer</a> Typing repetitive stuff pretty much bores me to death, I often create snippets for these kind of codes, snippet designer helps you do it easily and painlessly.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/f8741f04-bae4-4900-81c7-7c9bfb9ed1fe" rel="nofollow" style="color: #326ca6; text-decoration: none;">Chutzpah Test Adapter for the Test Explorer</a> Chutzpah adapter for the Visual Studio Unit Test Explorer. Chutzpah is an open source JavaScript test runner which enables you to run JavaScript unit tests from the command line and from inside of Visual Studio.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/71a4e9bd-f660-448f-bd92-f5a65d39b7f0" rel="nofollow" style="color: #326ca6; text-decoration: none;">Chutzpah Test Runner Context Menu Extension</a> Chutzpah is an open source JavaScript test runner which helps you integrate JavaScript unit testing into your website. It enables you to run JavaScript unit tests from the command line and from inside of Visual Studio.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/76293c4d-8c16-4f4a-aee6-21f83a571496?SRC=VSIDE" rel="nofollow" style="color: #326ca6; text-decoration: none;">CodeMaid</a> CodeMaid is an open source Visual Studio extension to cleanup and simplify our C#, C++, F#, VB, PHP, PowerShell, R, JSON, XAML, XML, ASP, HTML, CSS, LESS, SCSS, JavaScript and TypeScript coding.</div><div style="background-color: none; color: #333333; font-family: Arial, sans-serif; font-size: 14px; line-height: 20px; margin-top: 10px; padding: 0px;"><a class="external-link" href="https://visualstudiogallery.msdn.microsoft.com/f4d9c2b5-d6d7-4543-a7a5-2d7ebabc2496" rel="nofollow" style="color: #326ca6; text-decoration: none;">VSColorOutput</a> Color output for build and debug windows.</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-16730430254654347022016-05-19T09:46:00.000-04:002016-05-31T14:15:44.643-04:00CSharp_BitCountAlgorithm<br />
<header class="entry-header" style="background-color: none; box-sizing: border-box; color: #333300; font-family: Imprima, sans-serif; font-size: 15px; line-height: 21.4286px;"><h1 class="page-header page-title entry-title" style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #2d2d2d; font-family: 'Pontano Sans', sans-serif !important; font-size: 36px; font-weight: 500; line-height: 1.1; margin: 40px 0px 20px; padding-bottom: 9px;"><strong style="box-sizing: border-box;"><a href="http://www.csharpstar.com/bitcount-algorithm-in-csharp/" rel="bookmark" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" title="Permalink to Bitcount algorithm in C#">Bitcount algorithm in C#</a></strong></h1></header><div class="entry-content" style="background-color: none; box-sizing: border-box; color: #333300; font-family: Imprima, sans-serif; font-size: 15px; line-height: 21.4286px;"><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">In this article, we will learn:</span></h3><blockquote style="border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 5px; box-sizing: border-box; font-size: 17.5px; margin: 0px 0px 20px; padding: 10px 20px;"><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;">Sparsh bitcount algorithm</li>
<li style="box-sizing: border-box;">Iterated bitcount algorithm</li>
<li style="box-sizing: border-box;">Precomputed bitcount algorithm</li>
</ul></blockquote><div style="box-sizing: border-box; margin-bottom: 10px;">Bit counting is useful when using compact data structures in memory with bits. In this article, we will discuss various ways of counting total no of bits.</div><div class="code-block code-block-2" style="box-sizing: border-box; margin: 8px 0px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Sparsh bitcount algorithm:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;">This is a simple and fast algorithm that walks through all the bits that are set to one. It is static. It does not rely on saving state.</div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-573dbf16b0c1c426811562" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 384px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">20</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">21</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">22</div><div class="crayon-num" data-line="crayon-573dbf16b0c1c426811562-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">23</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c1c426811562-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">24</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 688px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConsoleApplication</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Program</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">SparseBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">0</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">SparseBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">SparseBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">MaxValue</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">SparseBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">256</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">SparseBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">n</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">count</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">0</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">while</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">n</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">!=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">0</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">count</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">++</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">n</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">&=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">n</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">-</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">return</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">count</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-573dbf16b0c1c426811562-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c1c426811562-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Output:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;"><a href="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg" rel="attachment wp-att-484" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;"><img alt="Sparsh_bitcount" class="aligncenter size-full wp-image-484" height="122" sizes="(max-width: 687px) 100vw, 687px" src="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg" srcset="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg 687w, http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount-300x53.jpg 300w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;" width="687" /></a></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Iterated bitcount algorithm:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;">This bit count is slow,simple and reliable.</div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-573dbf16b0c28951139387" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 464px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">20</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">21</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">22</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">23</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">24</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">25</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">26</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-27" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">27</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c28951139387-28" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">28</div><div class="crayon-num" data-line="crayon-573dbf16b0c28951139387-29" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">29</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 688px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-573dbf16b0c28951139387-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConsoleApplication</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Program</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">IteratedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">0</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">IteratedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">IteratedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">MaxValue</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">IteratedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">256</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">IteratedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">n</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">test</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">n</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">count</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">0</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">while</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">test</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">!=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">0</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">test</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">&</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">==</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">count</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">++</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">test</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">>></span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">return</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">count</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-27" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c28951139387-28" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-573dbf16b0c28951139387-29" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Output:</span></h3><div class="code-block code-block-11" style="box-sizing: border-box; margin: 8px 0px;"></div><div style="box-sizing: border-box; margin-bottom: 10px;"><a href="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg" rel="attachment wp-att-484" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;"><img alt="Sparsh_bitcount" class="aligncenter size-full wp-image-484" height="122" sizes="(max-width: 687px) 100vw, 687px" src="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg" srcset="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg 687w, http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount-300x53.jpg 300w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;" width="687" /></a></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Precomputed bitcount algorithm:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;">This program demonstrates the use of a precomputed bitcount lookup table. The InitializeBitcounts method uses a logical method to precompute the bits in the table based on how the binary representation changes.</div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-573dbf16b0c2d846782894" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 832px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">20</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">21</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">22</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">23</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">24</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">25</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">26</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-27" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">27</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-28" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">28</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-29" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">29</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-30" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">30</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-31" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">31</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-32" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">32</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-33" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">33</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-34" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">34</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-35" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">35</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-36" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">36</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-37" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">37</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-38" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">38</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-39" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">39</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-40" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">40</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-41" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">41</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-42" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">42</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-43" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">43</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-44" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">44</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-45" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">45</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-46" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">46</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-47" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">47</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-48" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">48</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-49" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">49</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-50" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">50</div><div class="crayon-num" data-line="crayon-573dbf16b0c2d846782894-51" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">51</div><div class="crayon-num crayon-striped-num" data-line="crayon-573dbf16b0c2d846782894-52" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">52</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 739px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConsoleApplication</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Program</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">// Initialize the lookup table.</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">InitializeBitcounts</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">// Get the bitcounts for these values by lookups.</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">PrecomputedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">0</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">PrecomputedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">PrecomputedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">MaxValue</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">PrecomputedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">256</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">_bitcounts</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">// Lookup table</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">InitializeBitcounts</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">_bitcounts</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">65536</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">position1</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">-</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">position2</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">-</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-27" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-28" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">// Loop through all the elements and assign them.</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-29" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-30" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">for</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">65536</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">++</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">position1</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">++</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-31" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-32" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-33" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">// Adjust the positions we read from.</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-34" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-35" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">position1</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">==</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">position2</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-36" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-37" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">position1</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">0</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-38" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">position2</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-39" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-40" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">_bitcounts</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">_bitcounts</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">position1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">+</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-41" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-42" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-43" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-44" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">PrecomputedBitcount</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">value</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-45" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-46" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-47" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">// Count bits in each half of the 32-bit input number.</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-48" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">//</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-49" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">return</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">_bitcounts</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">value</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">&</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">65535</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">+</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">_bitcounts</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">value</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">>></span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">16</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">&</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">65535</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-50" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-573dbf16b0c2d846782894-51" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-573dbf16b0c2d846782894-52" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Output:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;"><a href="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg" rel="attachment wp-att-484" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;"><img alt="Sparsh_bitcount" class="aligncenter size-full wp-image-484" height="122" sizes="(max-width: 687px) 100vw, 687px" src="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg" srcset="http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount.jpg 687w, http://www.csharpstar.com/wp-content/uploads/2016/01/Sparsh_bitcount-300x53.jpg 300w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;" width="687" /></a></div></div><br />
SPECIAL THANKS TO <a href="http://www.csharpstar.com/" target="_blank">CSHARPSTAR </a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-62274607109011487232016-05-10T09:18:00.002-04:002016-06-07T08:46:40.339-04:00Microsoft-R_RopenAndRserver<h2>
Microsoft R</h2>
<h3>
R Tools for Visual Studio</h3>
Finally Microsoft has created a nice setup for Visual Studio 2015<br />
<a href="https://channel9.msdn.com/events/DataDriven/SQLServer2016/R-Tools-for-Visual-Studio">https://channel9.msdn.com/events/DataDriven/SQLServer2016/R-Tools-for-Visual-Studio</a><br />
<br />
<h3>
R Services in SQL Server</h3>
Finally Microsoft has created a nice layer for SQL Server 2016<br />
<a href="https://channel9.msdn.com/Events/DataDriven/SQLServer2016/R-Services?ocid=relatedsession">https://channel9.msdn.com/Events/DataDriven/SQLServer2016/R-Services?ocid=relatedsession</a><br />
<br />
TechNet <a href="https://msdn.microsoft.com/en-us/library/mt591993.aspx">https://msdn.microsoft.com/en-us/library/mt591993.aspx</a><br />
<br />
Cortana <a href="https://gallery.cortanaintelligence.com/Tutorial/Energy-Demand-Forecast-Template-with-SQL-Server-2016-R-Services-1">https://gallery.cortanaintelligence.com/Tutorial/Energy-Demand-Forecast-Template-with-SQL-Server-2016-R-Services-1</a><br />
<h4>
Special Thanks to Microsoft for porting R to windows</h4>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-27689551372303108162016-04-29T15:33:00.001-04:002016-06-07T08:47:25.755-04:00Microsoft-R_IntroductionToRopenAndRserver<div class="cell border-box-sizing text_cell rendered">
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h1 id="Introduction-to-MRO-and-MRS">
Introduction to MRO and MRS<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#Introduction-to-MRO-and-MRS"></a></h1>
Special thanks to Lixun Zhang <a href="https://github.com/lixzhang">https://github.com/lixzhang</a><br />
April 26, 2016<br />
Microsoft recently <a href="http://blogs.technet.com/b/machinelearning/archive/2016/01/12/making-r-the-enterprise-standard-for-cross-platform-analytics-both-on-premises-and-in-the-cloud.aspx">announced</a>
that it now offers Microsoft R Server (formerly Revolution R
Enterprise) free for developers and Microsoft R Open (formerly
Revolution R Open) free for everyone.<br />
The purpose of this write-up is to help data scientists who are
familiar with R better understand the commonalities and differences
among R, Microsoft R Open (MRO) and Microsoft R Server (MRS).<br />
A quick summary of the content can be found at my <a href="http://blog.revolutionanalytics.com/2016/04/data-scientist-perspective.html">Revolutions blog post</a>. The same summary can aslo be found at <a href="http://www.r-bloggers.com/a-data-scientists-perspective-on-microsoft-r">R bloggers</a>.</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="1-Setup">
1 Setup<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#1-Setup"></a></h2>
The links for downloading MRO and MRS can be found <a href="http://blog.revolutionanalytics.com/2016/01/microsoft-r-open.html">here</a>.<br />
You can also <a href="https://azure.microsoft.com/en-us/documentation/articles/machine-learning-data-science-provision-vm/">provision a Microsoft Data Science Virutal Machine</a>
(DSVM), which comes pre-installed with Microsoft R Server Developer
Edition. All tests below were completed on a Microsoft DSVM with 4
virtual processors (2.40 GHz) and 7 GB RAM.</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="2-Three-Perspectives">
2 Three Perspectives<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#2-Three-Perspectives"></a></h2>
We can compare R, MRO and MRS from three perspectives: functions, packages, and platforms.<br />
<h3 id="2.1-Functions">
2.1 Functions<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#2.1-Functions"></a></h3>
Since
MRO and MRS are based on R, you can continue doing everything in MRO
and MRS just like in R. For example, you can continue using your
favorate development environment like RStudio, installing packages from
CRAN, or fitting models with functions like lm() and glm(). As an
example, with the following command we fit a logistic regression model
with the glm() function, using either R, or MRO, or MRS.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [1]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="c1"># check the data</span>
<span class="kp">head</span><span class="p">(</span>mtcars<span class="p">)</span>
<span class="c1"># fit a model with glm(), this can be run on R, MRO, or MRS</span>
<span class="c1"># predict V engine vs straight engine with weight and displacement</span>
logistic1 <span class="o"><-</span> glm<span class="p">(</span>vs <span class="o">~</span> wt <span class="o">+</span> disp<span class="p">,</span> data <span class="o">=</span> mtcars<span class="p">,</span> family <span class="o">=</span> binomial<span class="p">)</span>
<span class="c1"># summary(logistic1)</span>
</pre>
</div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">
Out[1]:</div>
<div class="output_html rendered_html output_subarea output_execute_result">
<table>
<thead>
<tr><th></th><th scope="col">mpg</th><th scope="col">cyl</th><th scope="col">disp</th><th scope="col">hp</th><th scope="col">drat</th><th scope="col">wt</th><th scope="col">qsec</th><th scope="col">vs</th><th scope="col">am</th><th scope="col">gear</th><th scope="col">carb</th></tr>
</thead>
<tbody>
<tr><th scope="row">Mazda RX4</th><td>21</td><td>6</td><td>160</td><td>110</td><td>3.9</td><td>2.62</td><td>16.46</td><td>0</td><td>1</td><td>4</td><td>4</td></tr>
<tr><th scope="row">Mazda RX4 Wag</th><td>21</td><td>6</td><td>160</td><td>110</td><td>3.9</td><td>2.875</td><td>17.02</td><td>0</td><td>1</td><td>4</td><td>4</td></tr>
<tr><th scope="row">Datsun 710</th><td>22.8</td><td>4</td><td>108</td><td>93</td><td>3.85</td><td>2.32</td><td>18.61</td><td>1</td><td>1</td><td>4</td><td>1</td></tr>
<tr><th scope="row">Hornet 4 Drive</th><td>21.4</td><td>6</td><td>258</td><td>110</td><td>3.08</td><td>3.215</td><td>19.44</td><td>1</td><td>0</td><td>3</td><td>1</td></tr>
<tr><th scope="row">Hornet Sportabout</th><td>18.7</td><td>8</td><td>360</td><td>175</td><td>3.15</td><td>3.44</td><td>17.02</td><td>0</td><td>0</td><td>3</td><td>2</td></tr>
<tr><th scope="row">Valiant</th><td>18.1</td><td>6</td><td>225</td><td>105</td><td>2.76</td><td>3.46</td><td>20.22</td><td>1</td><td>0</td><td>3</td><td>1</td></tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
MRS has a high performance analysis (HPA) version of the glm()
function called rxGlm(). This function can be used only with MRS and not
R or MRO.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [2]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre>rxOptions<span class="p">(</span>reportProgress <span class="o">=</span> <span class="m">0</span><span class="p">)</span> <span class="c1"># don't report progress</span>
<span class="c1"># fit the same model with rxGlm(), this can be run on MRS only</span>
<span class="c1"># predict V engine vs straight engine with weight and displacement</span>
logistic2 <span class="o"><-</span> rxGlm<span class="p">(</span>vs <span class="o">~</span> wt <span class="o">+</span> disp<span class="p">,</span> data <span class="o">=</span> mtcars<span class="p">,</span> family <span class="o">=</span> binomial<span class="p">)</span>
<span class="c1"># summary(logistic2)</span>
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
As another example, MRS has an HPA version of the kmeans() function
called rxKmeans(). This function can be used only with MRS and not R or
MRO.<br />
Below we simulate data that can be analyzed by kmeans() and rxKmeans().</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [3]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="kn">library</span><span class="p">(</span><span class="s">"MASS"</span><span class="p">)</span>
<span class="kn">library</span><span class="p">(</span><span class="s">"ggplot2"</span><span class="p">)</span>
<span class="c1"># show images inline</span>
<span class="kp">options</span><span class="p">(</span>jupyter.plot_mimetypes <span class="o">=</span> <span class="s">'image/png'</span><span class="p">)</span>
<span class="c1"># change size of plot</span>
<span class="kp">options</span><span class="p">(</span>repr.plot.width <span class="o">=</span> <span class="m">5</span><span class="p">,</span> repr.plot.height <span class="o">=</span> <span class="m">4</span><span class="p">)</span>
<span class="c1"># make sure the results can be replicated</span>
<span class="kp">set.seed</span><span class="p">(</span><span class="m">112</span><span class="p">)</span>
<span class="c1"># function to simulate data </span>
simulCluster <span class="o"><-</span> <span class="kr">function</span><span class="p">(</span>nsamples<span class="p">,</span> <span class="kp">mean</span><span class="p">,</span> dimension<span class="p">,</span> group<span class="p">)</span>
<span class="p">{</span>
Sigma <span class="o"><-</span> <span class="kp">diag</span><span class="p">(</span><span class="m">1</span><span class="p">,</span> dimension<span class="p">,</span> dimension<span class="p">)</span>
x <span class="o"><-</span> mvrnorm<span class="p">(</span>n <span class="o">=</span> nsamples<span class="p">,</span> <span class="kp">rep</span><span class="p">(</span><span class="kp">mean</span><span class="p">,</span> dimension<span class="p">),</span> Sigma<span class="p">)</span>
z <span class="o"><-</span> <span class="kp">as.data.frame</span><span class="p">(</span>x<span class="p">)</span>
z<span class="o">$</span>group <span class="o">=</span> group
z
<span class="p">}</span>
<span class="c1"># simulate data with 2 clusters</span>
nsamples <span class="o"><-</span> <span class="m">1000</span>
group_a <span class="o"><-</span> simulCluster<span class="p">(</span>nsamples<span class="p">,</span> <span class="m">-1</span><span class="p">,</span> <span class="m">2</span><span class="p">,</span> <span class="s">"a"</span><span class="p">)</span>
group_b <span class="o"><-</span> simulCluster<span class="p">(</span>nsamples<span class="p">,</span> <span class="m">1</span><span class="p">,</span> <span class="m">2</span><span class="p">,</span> <span class="s">"b"</span><span class="p">)</span>
group_all <span class="o"><-</span> <span class="kp">rbind</span><span class="p">(</span>group_a<span class="p">,</span> group_b<span class="p">)</span>
nclusters <span class="o"><-</span> <span class="m">2</span>
<span class="c1"># plot data </span>
ggplot<span class="p">(</span>group_all<span class="p">,</span> aes<span class="p">(</span>x <span class="o">=</span> V1<span class="p">,</span> y <span class="o">=</span> V2<span class="p">))</span> <span class="o">+</span>
geom_point<span class="p">(</span>aes<span class="p">(</span>colour <span class="o">=</span> group<span class="p">))</span> <span class="o">+</span>
geom_point<span class="p">(</span>data <span class="o">=</span> <span class="kt">data.frame</span><span class="p">(</span>V1 <span class="o">=</span> <span class="kt">c</span><span class="p">(</span><span class="m">-1</span><span class="p">,</span> <span class="m">1</span><span class="p">),</span> V2 <span class="o">=</span> <span class="kt">c</span><span class="p">(</span><span class="m">-1</span><span class="p">,</span> <span class="m">1</span><span class="p">)),</span> size <span class="o">=</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span>
xlim<span class="p">(</span><span class="m">-5</span><span class="p">,</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span> ylim<span class="p">(</span><span class="m">-5</span><span class="p">,</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span>
geom_hline<span class="p">(</span>yintercept <span class="o">=</span> <span class="m">0</span><span class="p">)</span> <span class="o">+</span>
geom_vline<span class="p">(</span>xintercept <span class="o">=</span> <span class="m">0</span><span class="p">)</span> <span class="o">+</span>
ggtitle<span class="p">(</span><span class="s">"Simulated data in two overlapping groups"</span><span class="p">)</span>
<span class="c1"># assign data </span>
mydata <span class="o">=</span> group_all<span class="p">[,</span><span class="m">1</span><span class="o">:</span><span class="m">2</span><span class="p">]</span>
</pre>
</div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt">
</div>
<div class="output_png output_subarea ">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAHgCAMAAABOyeNrAAAAP1BMVEUAAAAAv8QzMzNNTU1oaGh8fHyMjIyampqnp6eysrK9vb3Hx8fQ0NDZ2dnh4eHp6enr6+vw8PDy8vL4dm3///92l2KZAAAACXBIWXMAABJ0AAASdAHeZh94AAAgAElEQVR4nO2diXbrqg6GnZPOw6577fd/1hsPgCbEEMhU/WvtXVtGgOArYOykw2wyddBw7QqYHlMGlqmLDCxTFxlYpi4ysExdZGCZusjAMnWRgWXqIgPL1EUGlqmLeoL19Xochqe337WcZEE0xe9rbsp8X7kW8ZKqlQ63LN39qWNgL8Our7kGrLhHGqyYr2zv0LsGVr/APobjQtTPxzD8y6rJBcDKze9sPS4wuerXAMfhZzv4GLKmGgProdSvAULbLkfr2em/9+PwdBrIPk4/PkIin2J+exqG5+/VNGyW7+eT5WvL6et5OL6jXoMW7ustsE6n/962WjjjSd8b/d/Dmvp1+fHvtEQ8vqLR1pt+h6fd9DT8wjoOw+/T8EIrtJyfQnZJ0DGp0BLQBwvxY2+iNXNUNdyCPuNTkuGUBMR+YfUD63l4g+VsLfi+9eLr+uODg3X0qzIHx+dmWfN6Ww9fQatDC/cNFlyLZ2TeUh83FLaChuOpPwfqDU2vG4HzCiSo4zC8LAe0eBf5GzsmFdovgRCBZc8cVQ21YMj4m9f+suoH1s/yS/XpfuH3FlyWXW/DcfvxxMB6H97n5f9n5zH/W3/l/z0vLfRvGD5PrXoMrQ4t3BdacC2+59+XYF6t72sfHBekTh33vmT9/jv/njr0B5TmTf/WkWO5Q/lGdTxB8jtLwRy3iv6jx7hCeoh75qhqqAVDxk+L14l4N7BeXB3XAj/bbeELHPOX49/99yjMf/5wnVfCBDEv+K2W36Uf35Yx7nR89JWGFu4LLfMMLu61QNafZej5GZ6Wzno9/bePXadjP/Ai05b5OiXCOg6Dm/pIhTY8j2/0GFdoD+hzoCF+bk30zeqBWpBkfE11Lf/3630Z5P0YMqCeFsA66d/qMwc4nHxPnUYJVwCxEF9omX05sExgPU3dy/DyuQwzS42f9l76Cb/0yPS19u77MjDAOuLMQ4X24fHliRyTCj05RmmIvyBzVA/YgiDjl2W68GPtFdQf7NPC9l3sUgmsj6Prof3SwDttRWCGOW0W5gstIH0ErM/TuPE0zKfO+lpo8ZdpOndwPLr/hDqyYHY6nwZyTCrkiuCFcmp5C4KMf9ay1xuk66gbWKFpfpd1Sx5YH6fh7e3zB4HFs5RbnftCC0gfAWseXpfJ7GX4fV0GiSRYbyf8vsIKnORFK7T3+fNAjnuAtf3ifa13SO/zldQNrOcB3M/ngvUUVij7pSPYXd0T09XRbuG+0ALSx8A6rWZO65nTv3XnITUVrsur59Ui1JFVaFvqb9MfPG46FYKMV/17Xe9FrqJuYIUbks9l7o+CtTTbl2u17coXSPy67S/9W/J42TrwI7Q6tHBfaJlDyTGwvk93/f9OJT2tvxJv+7YuWrwj08vwunUlrCP7pXEV2vDY1tXwGFdoX6qDEKHF/waAeqAWDBnj0K6gfgU/n25+T4H+vO1bS7ME1vPw8uvvpZffxQ9/s73d4/xbt2X+HZc8Ptbb6U+waIIW7gstcyhZAGsbAZ72y+tv+WkKe9vu6f1wREzfbpsI1hGNPrBCyw7L6eSXHuMKbZsLMERo2a2oHqgFQ8bbdsObG8Qur35g/Ty7Je0yz0fA+oa7f+vv5abv7V5r9puB6y/hluM7IAVYuC+0zKFkBtZe0r7l9LIPUfoG6eb3hOxvOHNY/Lq1ObgtTXhMKvQe7gN2AYuzwnqgFnwh5uF4tRvDnkPl18v62kx48sDBmr+f3COZ9fRj2VX9/lp+0f497UPH29Hf3XyyRzrAwn2BZZ4jtZhDSb/rr8CH2xHVHulsZQ/upivUEWYOij+dn/reP4SBx6RCX6fflZdvGGKweCusB2pBn/H8vT7Sud6Gw9Xm4L8lCErGuueXTWHcohdydd1SXR5YuWCtC6pl6+8jbskq5Oq6pbo8sHLBcguqZ8WSVcjVdUt1eWBlT4Vfy/r7+VO15BRydd1SXUwPJAPL1EUGlqmLDCxTFxlYpi4ysExd1AKsUZBo1NTfodxj6F7CldqpQaenZGApMrDqZWApMrDqZWApMrDqZWApMrDqZWApMrDqZWApMrDqZWApMrDqZWApMrDqZWApMrDqZWApMrDqZWApMrDqZWApMrDqlQ/WcRE4Dldup8EaexhY9SoAixyG89tpsMYeBla9DCxFBla9ssE60mMDq0EJBhZeYvn//lvUoVq3IXu9tl5lI9aRH882Yp1Rgo1YmwysxiUYWJsMrMYlGFg2FXYpwcBaOeKL91W302CNPQysepXtvK8/wfGm22mwxh4GVr3sWaEiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpYiA6teBpaiArAOh0NNCQaWpttpsMYe+WAdDitZBpaXgaUoG6zDJgMryMBSZGDVy/5cjKLsxtnBalRsu5yuKBuxFm1Lb6brrLH2vPIdiku4lxGrW/xtHeIesa68yl2hm1azHYpLMLDaOkQ9ol15lX0sA8urW/xtHS4D1pqRNpfhawaWom7xt3W4CFgHL60wtU62xnLqFn9bh9I11uFQDtbhkCCLXpPqpHFlYLWIv61D4V3hyTYoHSyXUAiWilCkiBYODTo9JQMrosMKVmG/F4KlT3qRIgrTG1jdHS4BVtEaK7FMjxVRKAOrt8PlwMq8KzSwEuoWf1uHQo9z1ljZJUQS23bDqm7xn+2Q2jNKOFffFWaXEOUqmoeB1SD+cx3Se0a6eoMVGZnUTAysBvGf6ZCzZ6RqKF0BzcXrpsg+loG1qFv8Zzo0AQv3b4KZuXhFbmAp6hb/mQ7ngnUYaAenmJmFUnWJdbI11qZu8Z/rcOYai4GVZKYArD2JXCe7K1zVLf6zHervCtfdqAKwDv59rDywXJrrtFODTk/pscGq9tj6na6xMDPw2m6fwXE6/6p3Tg2sazRYK4+939ld4UbDZiWMrWfZi3cDK0fd4m/rUAGWdCHQFQAKYB0OWWQZWDnqFn9bh3yPQxQscBEi5MFCVuQj52JgaeoWf1uHbA/PRh5YhyRYwhBmYGWoW/xtHbJf9PNoaGBBwLxxBiYhP8FmYCnqFn9bh7gH6XcdLJ9aAkuFSMrFwFLULf62DlEP1vHuNPIQOqTlYLHllDw5+lwMLEXd4m/rkA+Wo2NAZ1HXcMBLOETB0usUlYF1jQar84h2/BAux/L0l+SJLcWVgaXpdhqs0iPW8cMY0Ij44WMDy8vAWhTp90FZIo3C3rsKlk2FxbqdBmvsMahgQLO2RFfJMrAU3U6DFXkoK6ddNWBJN38GVp1up8FKPOLTk7czsJAHvKIPTAZWnW6nwQo84p0d7HSNRTwOslhuxBElMbAUdYu/rUMmWICjgY1XOWTx3BBM2GJgKeoWf1uHUrAOACxwIbaxrl2OONREYWBdo8FKPGSuQqcfCFjgmI4/CBZpTBPy3+0GlqJu8bd1iN4VSpyMGKwDHLDQ2ERsBKTIuYGVpW7xt3WIeUijEgNLICyQhfMBJFGuomAdhMGzKIgyhwadntKDgJXVMXIRMjNkjSWnEW4A88AKE/EczHmxPB5Yx5PgsT+5AbCEXo55TNOErZATgtBAbQd5yvNHM54mY2t34DOzZIlYHg6so/8P/NzULf5cB3H8kD2miZIVG47G9SP2I5u+OFjhcKb3jrxeB7zTysAix1rYeTKw6h3ywZomjSx84j5MoXOFTuaRXj+g8QkVGaKIgCUG9XBgrTqiH0654RTHn+twHlhsg8px5b54TUSKcrWBJZAXcpTqy9ZYiEkhqscGyy+x/lvUuk7lWnsgJ+EO1u4T8z/sH4sYVqPAFXYMtkjKiBcOgNWFp7onFYGFZsJbWrzn3xX6AQuOBnyI2WyRNRYuFxgFBKGdekXCPvBJMRZ2ju5hxDrKJ7nhFMff1gHdFcJeE6GJgwWzTHKlPGRMRiFx9ZBgHSNnueEUx9/WgW9QCGAhsoQ1Fs2T4yNxiFwPcLtLjUIo7xHBOuKjRwdrDB+xB1cZXrEBiz34GVlmi9Ee6cDx6ohPu8Wf78Du9JIeEJDYkOS3Gzw/UiqBK5ArrQQZz+KPmXKCyNGtg3V0t4LHGe/C3wJYwh5CsogDnvYEYjawDqKULLxVAovmozxmygkiQ7cOlqJu8ec6iLtTXr6P4kXIXKGPfwlsIY8IV8LzxDRYoicPO08GVr2DClboo2gRMlbk1eQoXzgPb5Jhpc6zBJCBtalb/LkOGligk2JFSJCsPwfCgbwJf6D3hCTXEeUqZajUWQs7TwbWGQ6pASsbLNzZ5LWZMWcA40lhKSMhMIJQnCsDq0X8+Q7qCisfLDKa0PexomlFb3bk6sGzk6qUE3aODKxODqHn8GNrmoShwV/0E9JGSVPuJnmiDmGrDg06PaXHB0u6K6S9qYMFBhaOSRSs5BOeQFaXsDWHBp2e0h8Ai3vg0QPZkDxYdH8UZKA8yckhTrwrbBq2gdXbQQILDBhxsOKKOYqbEKLskY6ibvG3dRDAQhRUgKWNS5E8Dax8dYu/rQO4ddz6nlIQQMsGK7qUSpDlSzKwFHWLv60D3OxCXPEXpdqBpY9ZWxSHkmWWgdUg/qYOdHte4oq8qhADCzvXg7VFweoA6nF+2AZWb4coWGLqHSz5IY68fV7M1QaWWIt4xQysBvE3dYiAFUntwJJo0DBzxoO4nQquUldeulw3A6tB/G0dPFfCxymYdrAUKiARcprU5vtIRr4wARpYq7rF39ZhDFx5sqJp42CJpMQxipM1YiBHgLqBtapb/Gc60CfTs7PmvG9aABbbWkgxhgoJRsydrbFuFSzGTzew1Gc7GlkiWPhRU3HYOQ4NOj2lBwKL0MIBAmBF+81772BN2aQUcOXRkcFSq2ZgNYi/yIFiFANr3LhKkLWmyR6xKCS5yclmmoGF1S3+EgfGURSsceL9dwg7BPvpQpYMFnvyc67YKxY922mz9dfjghVbY41C/0njRgysSXgD9FyycEVKwk7LwDrPQViTy3eFIwcL9TE4iYxYEbDUzSvBXQIr/dzQwGoQf5FD+l4v+gZprNsHShrlQTutA6s47CqHBp2e0vXB2nHIcUDkpO4K1TrFuBLAihLBnu1kcYXv/oq5MrBy43YDTYYDHpPOeNEPK04HmgoLNkATZJE8mwRR5tCg01O6Nlh+aZS1kQ7JOgMsPLZFu339fqwEGueBJf/pzLwgiqOGtv76i2CR/dE4ApHXZs4UyhOt+0YyN0qQGVh5ugJY0xS6eJEGVgU2lWAhZ2iSgyiOGtv669pgXWGNNcE+HluDVSgXBbZCkxxEcdTY1l9XB6vdXaGmtYM4WAmy+oM1ngsWT0D1Z8Hq5cDeFh3Be1ioB4UHzVuq7mCNFKxAE65iLGwpRUY7Nej0lB4WLDhv7l00cbJcUtbhFwALReFscqpY2JE0yXZq0OkpPSpYaKW/t//EyNrGNf+2A+zN5ceATxsLReFsYqJo2LFEqXZq0Okp/S2wlv9cisPO1TQJD/nwq8kgj4ZCUTiTkEQJO55Mb6cGnZ7SnwBrDFzhXpjcW3+y3JeCHNq9IkOpmUEFI0m0sGOpEu3UoNNTagHWlTVtfxuHW6dw5dT8swPIJznss2O067PWWMOifJy8UG0zkvg4dMOt6P5HrMhbDcJrNHt3oVMZrD1pgpfRYVWDFo6CXz1IIxGqf2E7IVt/3T1YAkAxO+7S/UwCy11VaVnSDFAVWLHFO7lKlListhO29de9gzXFwBJGshl1iwdL7tIkWAfCVRZZ6PYPDUsprg70gU9ZOxFbf905WFMcLP5+1ox6UwJrGkefpi9YAkYiV+5c9MhvJ2rrrwcBa9xPMorwfbMdULAQOEVc5ZAl3f/5+gnMuAT1XBlYVQ4QrO0gStcBDVTegtZYE+739mDFhqwILz4J+FnVTtTWX3cO1ki4ovNi6AjXh+zXHpJVBBbjqpIsUDkqIam93dAg/hwHOBEyskKH0W4FiQBYYxQsYaSpBYtlhSqHYhR8DawG8Rc5QLBwBy4TpDsE21d4YJM6vRismadSwJLfikZBoWtt2mm1yfp5Hp6+TlHMw/Dv+Hw6fx2G15+FkhWT7cr8Mjz//CWwRsQVnPbAJuh+2+cHtgMc0EZ36JLDEShvxEqCNY4Q42gSL2bsCNbvcf/1OOHzPLzu58dfDNbrbvs7YO1vKkzhE/QArGk/2hb3DizekZ47ChZXzVS4F6BxJdQH2jqC9T48z7/PGz5vp/O30/n8vBxCsJ5/N9sfAmsVBAtMe9ubDVO4dUQEAu0sHhhYGUNWkiv20a8MsMjCqyNYT8NpivvZ8PkJ508YrH+77a+BNdIVExqc4EJsGoWexOS0Bgvvr+dx1aOdIizAlVTkHF75C2DhDvEQLSeIIXzriLuSdzZaYwkclN8TIn64Lc2VgdUifkn+bg460F/1gxucvIcIFvITOh/dFbYFC1SbGHXlpYKqmwrBuZsKwyT5syy+Hgwsh4S8WwCaHe9o+a6LjlhS78M3SGXyKrkCFccBpJTLH1A+WPti3YMVFu/H4dMv69cF/vujgeWYwPtQrl9gsyOwQIcCb9TVClhjbDl0qH4fi4SdC1Y2gEB12w3hfNlaeFsO3t1GxMmWhuI+wcLDEd1nhClRAphNzlvsfsRSE5VjxbelsDEq6p2jwg3SzwBW2CCd346nQWqfCp932x8Aa99W2JvdTZUhhbivUABWsZKZs7BZ7USJcSRU+khHH44ylu17wmx84soNpzh+QWgfKpgP4MWqCW6B7j7rhRmkHjuBtWWbzN3XIrudQK65LptK7gq/l1nvVeXlUcEaJz4gjc7guCLo7Zfwa8BjBllZD5UpMBk+gJHcsIFXpodTyeJ9lTrPPS5YuyhZkyPL2eFMuNvwBxdG9LrvJvL6e84aC5K0lFDElfwXVgV4gl/Ph9AfT0Nq/fTwYFGy0O0iWYO5EwwWuWGUFLYbFEaySCoBy6VgNnsfq1X8msQha4TLe5jMMbeYUP8iLujndYbYhVoJb8ywwCQ7SGxgNYhfk7TKghcoZiC9QBZe/juUWn8pyEjmYVCFEIcCVk07GVhlyel0J10UuNqMjCzvhbjqCRaz+cpfD6z/KSqG4k7B4gsp4arE1RSW+az/gl140S8KSxFXwoNnRhLnCtoMrAbxcwlDUTyZqARYaLbM+jxXNlnjKCSehSGKcwVsBlaD+JkIHRJYk7y2gjMhJAv5hfxywcrGCuSKzBJY57dTykHux78LFht3JnxbOEo3hyg9yGXtTbxdEW4AMsFCX5SbJEuyzaM89wV53/x2QjKwkoqREi5Gl+0gubdRrsK5w67p4l3kyo9Y0aCBb7uGlfvxr4IVmdqki/G5UNxBBW/K+7zOAytnitzDzuCKkHh+w8r9+EfBioAiXlWX7zJYofPcRQ9W+fZowdsNzgCM8PrDgPX9NDx9bFeymcsNpzh+JHHoiVwtBgsslvxFB1bFtns2V+PMzTAFd7tTsL7X59vPNwyWX5/PCAxKFjg+4FfdRbDQpjsGS/kqyShLMljSPgL+ksjFAiHD+bVr2MuDtb7h/LV8vPp2wdrv3eZgh9cZWQiWCFk+HezjaQWr6jGhCBYP6bDsY2WANd7/XeFG089C1u2ChRy8MQLW3jdsHAvZucuMg8Z3hUiHMAwdDgdIkwxW24bNAOvUIO3BOpH1cnNgkUXV7uD5oMBIYAk6wOuUBQhWixccQuWZUT4UbhkvBNbaHg3Bet0/lf9veL45sPBHvnSwRkpOgiuZrACW9Pd2ROnpXN0FG746SsftGjYJ1t48FKztMzw1YP04z0+WxfEk6fgWvniNggX36PO4OjADBovykz+ARShisPVtJ2KrA2sQiMkEa/553Yn5fsaXjv4/fHxlsKQ1FjmhXIGLDCwwMsE1Vvh+rZA6l6sEWMHSt52wrQ4skZhMsKK6MbAm/OIxfd8BnUWGKwLHjiccaMKryQJYWY+fR2GLc4RG+Lp0Fl3XXWPlz4V0KrxpsMjYFKx4RMJGKYlM1pYycAXBcrsWAJAcsNDX0gob6viT0CgJFLBf9a5w4MRkgjU8f0a+rE0G679FwjeQmW5aGWARBVjqwHo6lSqzdc0Riy6NdNHnzFpaNk/tA9P2k39Khw9TmWstHwsex/iIJe+jhgtzbFQradgzwKqcCuef94Wtl69bAiuXKJEr2RwDy9GCX5uhH7JAYCXIQkzy7y/BH0nLACuSpqxhK8FallhnLN43tl4JW5cBa5JeNS7jSnxtKybMCF03nbPzPnoadMz2GA+HAwYICNqj9CUaltgqwSqQzN/G1uXB2tEgymZqYlsNKRfEVUuwlnoTGMQEwnY8bxtgvnOwTvq6AlieByKZEkoQSs2SJMHa8mkEFqo+ugBS0LRxaA5wZLtnsNYRi3ydjdttP4LjC4Elf0JC+KxODksiWSEbBBbZZIBgILF1Fqo9vhAHK2v9VMrVDYElr7EU5YaTjD8K1iqCxDwyssqYksECGEyDvxbwEsniK/ityjzlCNDgEGYwc827wnPAKqaqJViRNdYuTMRIwMp+a5SkRVwFspbDyb2a7K65M0aLZBsJV3g1P/rrNe10rsPlwYrsNVwKLPmucJfr3h2AGdgKwUIpEVfu06rbBQxW4EQiKzY0sVPIUzlX9wpWfOf9MmCNGluu57d+Rm83qOiUyBe2dD4CS3uGM/LXasYoWMFyVjud41DcxeUiYJVTNTcGC3cv1gQW6dEPUiD6NOGhSuDq4NdYwCZqYldp+rEKLGFEu9MRq0q54eTETztYFE3E+UhjJb4L73M8ILCwFeHCj8QBC67aEXzqWhwASNspXwbWqiqwau4HwXDDuUJg+c9LqwspSh2j0KcdBZOog3TRwKqLvw6scq74O34uwyksp/BfppCeCgJrZINdtcHtUi4DKzOcrPgTXE1hAYWM54AV/i4m2YVAYE0yWOBL5A98RuSGGGJE4GKjhkU2UY8NlrrjAG8MZ2Ldcaghi3O1ZQVf9AMu/BsB3eEsgKWRRcGCB+zlwHMbFtpEPThYmsLQghwQKxVkCVytGtwfAUbp0R8nRzd7I/+b0CNIwrkaR56O5tmjYeV+NLB2hwntPiQ/QqjANcmPhIZ9DEEU4i0rvImAPzB/iM2P1Jm9EmNgrcoNpzh+Jg/W6b/ZM8YpmXJmxQP8Myns+fViHHyxnoDIhyjUlRTZ1BIe9WzFMLACc40bVu7HPwyW+JEcYfjRZkWcAsGIU50W767U0M2T/NFV/eYPvZ21HwvkiBje0uK9BJb7AotzRb9XBn+kWeZKeJAspjoMbqpFKSWW6LY6vUwlXwSnMM/2DSv3IyLpVPDfAYuNUZMwf03gsV6EKzgHyukcWHsBBy4EhyuR3xUWk8XTdGhYuR8JV4isYljuCSyJpcgeVjZYkYQALOiGYYBcjftdYeyzFSyYQ2p7dEQjWEk7pR3kfqRcQbJ2WKIfHXsIsNybM3Gu4musgML2M0YgAYtxuNQHcbUFIUIYhyeDrIp2SjvUglX/gdU7ActvkGLUCBkqcftrV54NyX+gfhglToUEocKOTl11O6UdasEqIOaewMKfm5+lGTHnbZn1s8De0YMi5BAdsdi+J65gMKtgJYaz+nZKOiTBUtZYjwHWhJ/vQLJmSEv+p6X9x8ydox+AhLQxrvgr7bB+Uiohtiqurn9X+BBgBW6opeiD9AJWDq3IJ4AIWJGJjVmWnXe4jvPJpOCquLr+PtYjgAXBEYy5XAU38t0YE7wPyADLH+41YWCh+S8VcQ1WVwbrURbvFA5qLABrioClSgArsDCRgWxkX8yQoqaGqyuPWA+y3cDBSqGQAIUqFyy6X+9qQsiCBwI3jLaD/MfGi9up2KESrBLdNFh0HXUmV2eA5XYv/PIpmPnbyVvd2UzHp81m7VTqIPfjHwKLkNWaqxRZ/DIFC++UIpQoWNK0aWCp6hb/pnKCYjd554Pl5kR8vypxlQDLHRhYirrF71UMlujRAqx9TgwPxFcJXLE1loFVrG7xe+Wio1/MAwv4wrtCqQj/v7zZeWBrdzITGli6usUfxNHBO+9ZygQrFOYu0/lvwnepywEejOQg0FVbY6XVLX4gxhV8VqhPlcE9jysG1o4MzxW+g48nuYyAD3ZXmFK3+KF45+M7swyucsBCZQlgoX0GCSw+I54Vdh+HBp2e0t2ANdLXZhhocbL8YdaAhcAaw5ObCZC1wwOdNtNkYG26B7BofwtLLoUrqIx7wpEs3v2jG3jd07Ob3Bw4G1hOdwAWHUk4V8JRDllpDt0BWGGN8Osa4Dc9bEGgp9Rnhd3ToUGnp3RtsBwzcYfQoeylq7L9LfKCQ4ZH9KYx3APiZZV7NTkz+IJ2auvQoNNTagHWGVr7KiOJS4T6mJ5P+g6Eu5qLlQzWpoMgVtk/reuOWHs/qA4gDd90wAaVkopnQxgs+kEzqlMKB1ZW8AXt1NqhQaendPtggTUW6tqZGEadnLFiS7UIrK1OhVwZWJrq488CC7z4Drt5LtjLYluq54IlDlhTeNM5WwaWojPih72enX7zmVFvk8sCVtqIlXo1OUATB+sASsqXgaXonPh9Z5SQKAxP6LLMlbo5nwbL1xaCNYG7QgML6tpglTpEUXBXpW92GHly0VcFCwE6wtkvgFUctYGl6ZINFgdrki7lfd6Q50bBYovysGc6jp6y8qgNLE2XbLCAQnTFVL6vEPNg+1i4Es6078zXRG1gabpkg8HujGJSSFY0fQQsagmHexAFe+8GlqIu8U/ySjjFQhVZMQlgKUbROogAAAtNSURBVCX5INwDniljMW9gKeoRv+sqKteJKhBjI7IoWCmutiDco0NvLQi7uJ3qHBp0eko3ChboLCLaw2Or4UkQuyskp5QrBBa054Zd3E6VDg06PaW7A2ufYCLd21Z0g5StrnA1DCyg+wMLp+AdnqU8D+UdiH19jmqB11jpEBq0U6VDg05P6UbByligkD5No8K3t1LpImCN4NU+XAt0V5jDlYGlqUv8aqdM4BWVDFR2gZdaNK7YhykiXBGyeBAZXBlYmi7eYGJ3l4Clc6WBtVUAgAWmbW+xfaz7BCuNUCMNOzE6WG7O8yZ4rWHYDR0adHpKdwdWNhWplAf6EdQYWBP4FKOrhH866OpEP7GaS5aBpagu/gmvQMoe6TThCnz0JgEWqfAUsAw1c7sMBtaqq4FFukV2mOjyF/S6+7NyMlPKZ8QCV2GzKQcsqRLgos/RwFp0LbBot4h3hbxbEVjUgvNsBlas7jQCn6GtsebbBUvsuiyweEoJHgxWRAMsPpI1qJyfHu2u8GbBinQdNM/UAAmSLoAZcsz4M7+j++4G6MeqoQeVloGlqCp+2gUpsELvBkwKNaOsM+8KRch9DRJBpWVgKaqLn3RBFCxggA9QyrnyKGSnD39hAFcmuqk+K1zJ86OBpahH/IAefyoYEpDF7hnPBqugE3dFVvQGlqIu8U9hcBnB6sV1bh4ZiYSpbIbITJgdRFBsD8LAUtQtfsQT7tgmYKUwG6SX+YqDWGVgVahb/IAnlasYPTxlLOEkDoQDKawuiFUGVoW6xQ8HKtyvAhi4+7cDBTruzjMeSGl1QWyyNVa5usWf/EyFTNaEvb2ZfRKRpGA5D/gdwv0Q5M4qpQRod4XF6hb/GO8sGRG8kUk54lzh7THmNGDbyHNnVWoUdmeHBp2e0q2DtUjsL8YI6Pn8O0cKFr46EEThnAgLQmmahd3RoUGnp3QHYMn9RbkiZpZEo4uBE8CKDH4GVkq3D1akw2APB9PIu17gKDaRUoGH0CwTA0vX/YNFLTlg6Wn9mQKWUKsargwsTV0bTOrCMc1VFBYJFTaxVoGVuCssC7uvQ4NOT+lGwZrg/CaNBNQs9TggSngyE6fQXwxrLD8eub9XKLNVHLWBNc/Hk+CxP+kAFuixPLDkkcRDMibBggs0f3UgiUf3mihyPydqA2s++v/Az03N46d0xLcbsIPoB0lRwApkBfcB5LHZpU+qgsoZWF63D1Zs6cIgmibw0A/vIKA0/Nyf+m2tzTDAPMKAZWBlqGyNdUQ/nJrHzzpMkjD68KvikOToEeRd10xUsEbkVBm1gbXJgeWXWP8tal2nrD+xg/5szcQcCDDUGvsCU5zvgBMvpv1VeVYDE1ERWGgm7Ll4z7lzp2PMlBqxcv7kCc6Mr7H8XaFcTxuxvKrAIidXajDGlfhoB9gFjgT+IFgeHJqHXKWCj335KK7i0AgeTRlg+XkPL62uDhbsdUoWHoFGmixc5mABdgZa5qiSVfJB1RDFNRyaIiSrYMQ64qPrg+XEwZJ6X+QqTtZyMAhzskvI4Sr6aD2P4pIO7fiJqmCDFB+C0zPiD91zToOlwRKoEjfBcK0GYRNNyGCXgQWVv4/lbgWPM96FP/vPyjVoMNrT4Xyi2+5sxxWlwEUMkjVKloEFddVnhbB7zm4waYTiI5WccmS4rRLBog9/gmyNBfQ4YIU8x8jUN9GpDlZB4CoCFq15kN0VBj0aWBgjGSzIBEpJM4t8PxbNI1Wn8ih6OzTo9JRu4E/3NmwwwlV0JkSDFxvQvOAGqVBSZp3Ko+ju0KDTU7r+n+5t2WDak2Y8YOEhKzK1DXBira5TWw8D6+INxua+3UgHJAGs2IglOTQNwsDSdBsNhoaeyZ/FdrngcYQrA+sM3Q1YrGdndl0WuCjkhRkkMrDqdS9g8a7NBSuQJRURG6xWoe9uaBBECw8Dq2mDCd2vgcW3x5efbK8++LkkWANI3SCIJh4GVtMGS4NFHkVTsIgHGcy8CWcpvd1wRhBNPAyspg2WARZZpHOupPchwmAkTYkGVr3uBKz0GssnipMigUVHOJSfgVWvewEreVc4MjgUj4ko8nazgVWvuwELagUgOhXmFIEGLAAWzm7IW7KLJfTyMLD6NdiGQAysvCIYTwJX4fuxcmVged0hWDsM54GFnNwRvWBg1etxwEpyRaZCdoSvGljn6WHAQlzJgJHFOzkiWdka6zzdIVjyGguCFRm6Zp5WGubCwt7uCut1j2CJd4UAkdikWAiW7WOdo7sES3BgA5aBpTg06PSUHgQsusLSwcpaY40G1jl6DLAISqk1Vs5d4SIDq14PCVbyrjBTBla9HgqsxLaTgeVt/fUYYOWRZWB5W389CFhZZBlY3tZfNwtWal6THAysTIcGnZ7SrYJVvmIysPIdGnR6SjcKVs2KydZY2Q4NOj2lBwIrOXsaWN7WX48EVlkRGTKw6nWjYFWssZj/+XUysOp1q2CV3xVSb+5vYHlbf90sWGc5yDOpgeVt/WVgKTKw6tUCrNvTDta52Txm41xGjzli2RpLd2jQ6Sk9KFh2V6g6NOj0lB4VrCYeBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFBla9DCxFCbAafNbawNJ0Ow3W2EMHS/hQrIHlZWApUsGSvh/CwPIysBQZWPUysBQZWPUysBTZGqteBpYiuyusl4GlyPax6mVgKTKw6mVgKTKw6mVgKTKw6mVgKTKw6mVgKTKw6mVgKTKw6mVgKTKw6mVgKTKw6pUP1nEROA5XbqfBGnsYWPUqAIschvPbabDGHgZWvQwsRQZWvbLBOtJjA6tBCQYWXmL5//5b1KFatyH7I031Khuxjvx4thHrjBJsxNpkYDUu4U+DRedAA6tdCX8arE02FfYowcBaOeKL91W302CNPQysepXtvK8/59l23luVYGBpup0Ga+xhYNXLwFJkYNXLwFJkYNXLwFJkYNXLwFJkYNXLwFJkYNXLwFJkYNXLwFJkYNXLwFJkYNXLwFJkYNWr17ts/d/+u8D7hQ9RxJXewzSwHr0IA+vmSniMIgysmyvhMYowsG6uhMco4sHAMv1xGVimLjKwTF1kYJm6yMAydVF7sOJfd9SyBKm0bgW0zl8oon0Z/ftBVQewyGH7boe5dul0kHGfEPrHcIF+0GVg6QUYWJVqDpbydUcdiumS+QXACnlfgKsHAUv8uqPmcp3SZYkFCwDHXcq5yBILlHYp9RmxuvdK1ya7EFh9u/1Svx0x9dluuBhY/KRV5pcDi5+0LuLOwUp+3VG7EnCe9wlW3xhQrncO1qZL9MoRH90lWJ1jeLyp8Dj3Xj3QG+m77JPeMVyiH1T12Xlff4Lj5gUcXbt1K2HuWcAFYrhAEKrsWaGpiwwsUxcZWKYuMrBMXWRgmbrIwDJ1kYFl6iIDy9RFBpapiwwsot/haT96Gn6WH2/WRDWyVqN63niaf4bn5cfbYE1UI2s1qs/hff35Pnye/n8dDKwqWatRubnwafhdnt5+G1hVslZjelnnwm0mfDu1kDVRjazVmL7WuXCbCWcDq1LWalzrXLjOhOuZNVGNrNW4Xk9z4c/wsp8ZWFWyVuNa5sL34Ws/M7CqZK0m6DQXPvmGMbCqZK0m6HX4Gl7diYFVJWs1QV/D4GdCA6tO1mqSjoAmA6tK1mqmLjKwTF1kYJm6yMAydZGBZeoiA8vURQaWqYsMLFMXGVimLjKwTF1kYJm6yMAyddH/AU10b6dWeuCyAAAAAElFTkSuQmCC" />
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
Then we can use kmeans() in R/MRO/MRS or rxKmeans() in MRS for the analysis.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [4]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="c1"># cluster analysis with kmeans(), it works on R, MRO, or MRS</span>
fit_kmeans <span class="o"><-</span> kmeans<span class="p">(</span>mydata<span class="p">,</span> nclusters<span class="p">,</span> iter.max <span class="o">=</span> <span class="m">1000</span><span class="p">,</span> algorithm <span class="o">=</span> <span class="s">"Lloyd"</span><span class="p">)</span>
<span class="c1"># cluster analysis with rxKmeans(), it works on MRS only</span>
fit_rxKmeans <span class="o"><-</span> rxKmeans<span class="p">(</span> <span class="o">~</span> V1 <span class="o">+</span> V2<span class="p">,</span> data <span class="o">=</span> mydata<span class="p">,</span>
numClusters <span class="o">=</span> nclusters<span class="p">,</span> algorithm <span class="o">=</span> <span class="s">"lloyd"</span><span class="p">)</span>
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
The following code uses the XDF format data in rxKmeans() and
compares the cluster assignment between kmeans() and rxKmeans(). The
cluster assignments are the same between these two functions.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [5]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="c1"># save a dataset in XDF format</span>
dataXDF <span class="o">=</span> <span class="kp">tempfile</span><span class="p">(</span>fileext <span class="o">=</span> <span class="s">".xdf"</span><span class="p">)</span>
rxImport<span class="p">(</span>inData <span class="o">=</span> mydata<span class="p">,</span> outFile <span class="o">=</span> dataXDF<span class="p">,</span> overwrite <span class="o">=</span> <span class="kc">TRUE</span><span class="p">)</span>
<span class="c1"># rxKmeans</span>
fit_rxKmeans_2 <span class="o"><-</span> rxKmeans<span class="p">(</span><span class="o">~</span> V1 <span class="o">+</span> V2<span class="p">,</span> data <span class="o">=</span> dataXDF<span class="p">,</span>
numClusters <span class="o">=</span> nclusters<span class="p">,</span> algorithm <span class="o">=</span> <span class="s">"lloyd"</span><span class="p">,</span>
outFile <span class="o">=</span> dataXDF<span class="p">,</span> outColName <span class="o">=</span> <span class="s">"cluster"</span><span class="p">,</span>
overwrite <span class="o">=</span> <span class="kc">TRUE</span><span class="p">)</span>
<span class="c1"># convert to dataframe and keep one variable only</span>
cluster_rxKmeans <span class="o"><-</span> rxDataStep<span class="p">(</span>dataXDF<span class="p">,</span> varsToKeep <span class="o">=</span> <span class="s">"cluster"</span><span class="p">)</span>
<span class="c1"># append cluster assignment from kmeans and rxKmeans</span>
mydata_clusters <span class="o"><-</span> <span class="kp">cbind</span><span class="p">(</span>
group_all<span class="p">,</span>
cluster_kmeans <span class="o">=</span> <span class="kp">factor</span><span class="p">(</span>fit_kmeans<span class="o">$</span>cluster<span class="p">),</span>
cluster_rxKmeans <span class="o">=</span> <span class="kp">factor</span><span class="p">(</span>cluster_rxKmeans<span class="o">$</span>cluster<span class="p">))</span>
<span class="c1"># compare the cluster assignments between kmeans and rxKmeans</span>
<span class="kp">with</span><span class="p">(</span>mydata_clusters<span class="p">,</span> <span class="kp">table</span><span class="p">(</span>cluster_kmeans<span class="p">,</span> cluster_rxKmeans<span class="p">))</span>
<span class="c1"># get cluster centroids </span>
cluster_centroid_kmeans <span class="o"><-</span> fit_kmeans<span class="o">$</span>centers
cluster_centroid_rxKmeans <span class="o"><-</span> fit_rxKmeans_2<span class="o">$</span>centers
<span class="c1"># plot clusters from kmeans</span>
ggplot<span class="p">(</span>mydata_clusters<span class="p">,</span> aes<span class="p">(</span>x <span class="o">=</span> V1<span class="p">,</span> y <span class="o">=</span> V2<span class="p">))</span> <span class="o">+</span>
geom_point<span class="p">(</span>aes<span class="p">(</span>colour <span class="o">=</span> cluster_kmeans<span class="p">))</span> <span class="o">+</span>
geom_point<span class="p">(</span>data <span class="o">=</span> <span class="kp">as.data.frame</span><span class="p">(</span>cluster_centroid_kmeans<span class="p">),</span> size <span class="o">=</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span>
xlim<span class="p">(</span><span class="m">-5</span><span class="p">,</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span> ylim<span class="p">(</span><span class="m">-5</span><span class="p">,</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span>
geom_hline<span class="p">(</span>yintercept <span class="o">=</span> <span class="m">0</span><span class="p">)</span> <span class="o">+</span>
geom_vline<span class="p">(</span>xintercept <span class="o">=</span> <span class="m">0</span><span class="p">)</span> <span class="o">+</span>
ggtitle<span class="p">(</span><span class="s">"Clusters found by kmeans()"</span><span class="p">)</span> <span class="o">+</span>
theme<span class="p">(</span>legend.title<span class="o">=</span>element_blank<span class="p">())</span>
<span class="c1"># plot clusters from rxKmeans</span>
ggplot<span class="p">(</span>mydata_clusters<span class="p">,</span> aes<span class="p">(</span>x <span class="o">=</span> V1<span class="p">,</span> y <span class="o">=</span> V2<span class="p">))</span> <span class="o">+</span>
geom_point<span class="p">(</span>aes<span class="p">(</span>colour <span class="o">=</span> cluster_rxKmeans<span class="p">))</span> <span class="o">+</span>
geom_point<span class="p">(</span>data <span class="o">=</span> <span class="kp">as.data.frame</span><span class="p">(</span>cluster_centroid_rxKmeans<span class="p">),</span> size <span class="o">=</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span>
xlim<span class="p">(</span><span class="m">-5</span><span class="p">,</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span> ylim<span class="p">(</span><span class="m">-5</span><span class="p">,</span> <span class="m">5</span><span class="p">)</span> <span class="o">+</span>
geom_hline<span class="p">(</span>yintercept <span class="o">=</span> <span class="m">0</span><span class="p">)</span> <span class="o">+</span>
geom_vline<span class="p">(</span>xintercept <span class="o">=</span> <span class="m">0</span><span class="p">)</span> <span class="o">+</span>
ggtitle<span class="p">(</span><span class="s">"Clusters found by rxKmeans()"</span><span class="p">)</span> <span class="o">+</span>
theme<span class="p">(</span>legend.title<span class="o">=</span>element_blank<span class="p">())</span>
</pre>
</div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt">
</div>
<div class="output_subarea output_stream output_stdout output_text">
<pre>blocksPerRead must be 1 if predictions or residuals are be being written to the input data source.
</pre>
</div>
</div>
<div class="output_area">
<div class="prompt output_prompt">
Out[5]:</div>
<div class="output_text output_subarea output_execute_result">
<pre> cluster_rxKmeans
cluster_kmeans 1 2
1 991 0
2 0 1009</pre>
</div>
</div>
<div class="output_area">
<div class="prompt">
</div>
<div class="output_png output_subarea ">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAHgCAMAAABOyeNrAAAAP1BMVEUAAAAAv8QzMzNNTU1oaGh8fHyMjIyampqnp6eysrK9vb3Hx8fQ0NDZ2dnh4eHp6enr6+vw8PDy8vL4dm3///92l2KZAAAACXBIWXMAABJ0AAASdAHeZh94AAAgAElEQVR4nO2di3bjrA6FnT+9Tm/uid//WU/iqyQkGTAkTrr3WtPYGAFC3wDGTtt0EFRBza0bAD2mABZURQALqiKABVURwIKqCGBBVQSwoCoCWFAVASyoigAWVEX7B+vjpWmal8/+uDGb+/saXeDva9M8pbRgqdWuf+1iqj5fum50+j61d7C+j82g58uZHbuEqL5MpcXqBmD9HH/GH/eqnYP1fR6svs6fX8/N+b9wGbCa5jutETcA6+Xt8vPtpVyJ19bOwXpq/o1Hz81nMbASG3F9sD4H9r+b+50M9w3WZzP/n/1u3obYjfHrP77Py6Xj69flrBnSz0Nb8/w5ZPh9upjPebrRbsr6/Xo8X/ieC5uLfzs2T0NEP5+b4zsH6/3Yl/87LdPmgyHbz/Hpfcx2KePf+WP4r7E07DwSPZ2Pv0abuTbS0OexzKekKXtX2jdYL+K/rADra1x/fc5gfQwJb32Gl8vBkmcqYsz6SS4wsJ7n5Lf+6JWC9TaV/zaW+NG8k8Z1x8vyrWne+2xfr/3HP96w7kgrnmsjDf2Zynxv7naVtW+wjs0vOxdgPTUf3SVmT1Pqdz8QfI/T5vPFmOQhhfSrt/ff7vcMyo8A6/jV/b5c+DhnOdt+HilYxyHl+xz8ocTnOfaXbM/9bcE52+cFvePw8cQb9t5j8z7lnGojDX2f/ht8ztTenfYNlly2CLDI5eHwbQDx9zIFngcMrYglaz96dK/TFDuX+dmX0Fyy9LPY75GAdQn+MC2/jBmfSLlnln46UsbnVCpt2NNw3NdJaiMNfZluL76bu12+3zVYL+c1yccPyfnUTJrzkTys0KdxpPlZxrtwQPwdi1hMh5RhELoEfZkJzxf/jeA1BJ2pqKVhZ31/vj+PYGnOEJKPKd21J+0brCd/KvzpVyv96nhIbUKwSB5SCGFWHwXpGPIc3BX2n/24ssyEQ+VPJBsrioD17zgfes6wVt6d9t3wV7p4/wnvCrvPfnn8HtBCj+c87EICWGGch1vS85D1y9Zux4/gXkAUddF5XHt++/iRYAXOSIfuS/tuONlu+Dk+K2B1/V36cTo9kr1PGpMhD7sQMRWOh780zr+kiPNo9cGA/Tn/T3jqNLBow57I4k93BlNhdR2HRUs/UXxO4b4E91Ms3IfT16Z/ZPjdPMv/7Mo6f3i6OC7e5zLZqqen4R8Fq59Sv4ZHQp/NG5kJe5Pf/pYhBCts2KcKFqsYi/d6+hoe6fyelyXTI53n5uV33AMY7tDfhnvAS4S/+52i7yPZpSd5Rg0XzlPR27Dd8M3KJKH+128ufDQUrEtpH8dhzOmejvRpdp9tbAypqP+gDeufJoybGGx9Pzf037LdQNaG96WdgzVvYw5gXAIwbCS+LYf9Lf4T2/V86+aYkTyjxgt0g5SUSaEYNi/fKVjvyz5nXwTZZ+qz/V4mvRAs2rB/k0t8bCMN/ZkqeMMGaTX9Xm7Mm1fy2szX0/yc5at/CtKPVU/DcuTnbXqIMuGw5Bk1XSCPdEiZDIoP/ZHO9Hzot2mCcv+d/wsoYJGGXe4Kj69fn3JsIw3FI52/rX9p73XF63OYa7/wEPpP6ntaa5XXS7/Wf73bpTvAyhdZa5XXz+U29fd+V1gAK19PbDu/tPBqMgRpAlhQFQEsqIoAFlRFAAuqIoAFVVEJsFpFaqKrfVo0V6jjVhYFQm8LYPkCWJkCWL4AVqYAli+AlSmA5QtgZQpg+QJYmQJYvgBWpgCWL4CVKYDlC2BlCmD5AliZAli+AFamAJYvgJUpgOULYGUqHqzjReR4uVLP9dtbAKxMJYAlDpfzeq7f3gJgZQpg+QJYmYoG6yiPAVapOv44WHSJNf/476IKzdqN8IZtptJGrGN43GHE2lrH3x6xegGsGnUALIBVpY6/DRamwmp1AKxw8d6rnuu3twBYmUrbee8/yfGgeq7f3gJgZQrPCn0BrEwBLF8AK1MAyxfAyhTA8gWwMgWwfAGsTAEsXwArUwDLF8DKFMDyBbAyBbB8AaxMASxfACtTAMsXwMoUwPIFsDIFsHwBrEwBLF8AK1MAyxfAyhTA8gWwMgWwfAGsTAEsXwArUwDLF8DKFMDyBbAyBbB8AaxMASxfACtTAMsXwMoUwPIFsDIFsHwBrEwBLF8AK1MAyxfAyhTA8gWwMgWwfAGsTAEsXwArUwDLF8DKFMDyBbAyBbB8AaxMASxfKWAdDoesOgCWoXqu394iAazDoSdrn34ArJ1ZxIN1GLRTPwDWziwAVqbwt2J8xffPCFapigsWdRNhxBo1rLwD3WqNNRaWYJFeR4HQ2wJYg6xA3uiucJpX4y3S6wBYV7AwA3mjfSyAdVE9169mURasviRvKuPXAJaheq5fzaIoWIdZXm1+q7DG6h4CLCOQh0MGWIfDClnymtoqjyuAtdX1K1roXB0aJ7xGHYlguQRZdRSxKBB6WwDL1qEHKzXsiWD5c55VR6oBwNqTRSZYSWuslVW6WUeqANaOLDaBFXlXCLAc1XP9xhab1ljRVViZsd1Qz/XtFqs7RivW+XeF0VXYXJmFAKyNrm+2iNgx8lUdLGtgcksBWBtd32oRtWPkqkleAHXJ6yZrHwtgVXN9q0UZsHh015DpklfkAMtQPde3WmwG69DI8K4i0yn1+tJbhTXWjsHavMYKwFpHJgGsMYvRKtwV1nN9u8WGu8J+MyoFrMP8PlYcWFOeW/VVgdDbenSw8i2GsMs1FkcmZG6sI5qrW36vp0DobQEsQ2PYg7vCEYbpx3J14iR68Q6w1lTP9RtaTGBpF+arYvQawZJX/BoAlql6rt/OYmJD3yA9CJE0+nZDYKSWArAs1XP9ZhYzGnFgHdp1sIwUgGWrnutXtDjoa/RIsA4aWJqJlgSwDNVz/XoWIuorYJElfAiWunb3BjGAZaie61ezCMI+nVoPoefMCljBaoqNbGEpAMtQPdevZhGGfTxr2JlpSg7COkyu1lplCmBtdP1qFmbcm+WyY0sPgjrWuAJYluq5fj0LK+5Na6yPiCE/Bli9ANYoI+wNX6FrZnyL1AULU2GS6rl+e4vG54Kmm7nWyAJYhuq5XtvCWTmNygFLI8t7fgiwDNVzvbJFxMopAItb0Ev+uASw0lXP9boWMSsnucaSFgdVYXHhqxDl/Mi1KBB6WwBLAYtw1ATjVQxZSnEMJp4CsAzVc72uxTpYBwqWaRLDlQljAT9yLQqE3tZfBstYYy0xP0iw+GFgoLMVpMicAMtQPddrW8zx1jBpTbBaQcuSXSNLJgQIAixD9Vy/loUyKIVgkSuSH44YB2llwCJgHZThM82PNIsCobf1MGBFRcWoQ8BETzSwvK2teLCWmbgj6XHuPBRYx7Po8XyyC7C0IFsWQU4bmuHLFApcGj9jHeJSCOB8fqB3haFRnOdx2i9Yx/kH+RxUz/VoC3340C3CnJwlBk0j5kcLrOU4+DKFWh/5UMASx57nkQJYeRYJYGlZGSfkZPoyhc8VP+tamUFwxCpd/DDAUv16JLB6HdnHpFhH0l2PttgIVvBmzMTV9IvXVKQCrgZMFPSWIrUmh2ssBqXi2MOCNS+x/ruodJty1Hd/fM4hLzURBVxODj1Yh8WGSpZHC9WySjPljzqRM1labDfsR0lgsZlwX4v3hLvCeQigY0E4wgxpxhqLV0xTFQb1PfslQfP8EE6KludR2veIddRPYh1Jd72OhRJqFRobLFrmOlfeU8ZVPzSuHg2so3EW60i661UtLLAYWcoaSxaq4KOByGwPy/3nmh9KjQ8G1pEf/QGw2uUr9uTq9E8rSPDESuRckVx//JHOkR+S03quJ1ho/7FX6qAUWUPSvN0wDzBqNoUrUqxshhjPnAdNUX7EaL9gHadbwWPHd+H3AZYawLU6DnzaU4AZwDrokkVo457WLlmO96Apyo8I7RcsR/Vcj7bQmGjZ5ZU6lrGIp9Ovf1mSrZBcOU+QHLA8lwDWRtejLXyw5mtmHSEko5p1rvSlk1OstO7UlgOs3YO1XFx7bWYpYjpqBAbuJnxQjIZeG0yZetMB1h7ActdYaWDxWMvXZlqNLH1Qa0OwlCJsghyXANZG1xMsbK7SwOJohO9jKbkd8+BogiUsTm1VjOdRAlg1LObA8clT5gjJWF70Y1tSFj+RxJEirJvRUp67FgVCb+tPgKXcFcpYqhgsYJEhxqZEIcgkS6WtgueeRYHQ2/obYAUWnAqeyDSDFeyPUh5MsEyyNnEFsLa6Xs1CRJ6nKmA5sixdXrdQtc1zmlZTfx2sNQbWwfLGJaPQOQPAclXP9dIWItraBqaIeQRY9uqdF2lhZT4rLOk5wKppIaKt35JxVkqA1TKMwlxdG/kMPd9zgFXTQkKkciXeVDDBUjc5HbDMcno/wla0HmwAa6PrZS1MsJzsjUGN3PLM5WoAS22H0zSAtdH1shYGWG72RpvDZlt5d8lzHbxdLtXUa+0WzwFWXYslUiSifm79dzfE7JLK+wPdoJVDn5iKAVYV10tbEK6mmLqZ138pCCFCR8jQ0hq1mBZgdXsGSwamm5PNmHHrqLtCUhg5j8rfBmCFhGV5HmNRIPS2HhqsIDQVwXJ24H2ydLD88RRgbXQ90eJ0OtHTkJ8ksA7pYCVwNU+GBlhu6wDWRtfTLE4nTpYJVhxZiWB578+4VvRny4asaM/XBbDyLU4nQZYNlkbWYdkgIDkMsIynzjlgEbLMthXvqyGtph4ZLHONpQVviTM9WRuxeOZMsmRbVrkCWFtdT7IIwbLuChWwWITJiQ6WWGJL01W+1P1Uu9lrnkcIYG2wCLhyLJRYBtRMYDlrJ2MbKgWs2HtUz/M8iwKht7UDsEYaYiw4OGt3hW6rTK4UsPRLCnKxy3c+8yZzBbBiNI0zERZiSCo3Ktpw8KnQRixRLfk0vrCa40eaRYHQ27o5WPPKaN1CLqK2vUFK0/Woj2Dpby6UAatX6McaaQBrXTcBawjuLIcA67WZjQofPc8tkc3TIANY67oFWFM8p5i5YOVgkwsWs6ZJuh/pnvO0mro5WLdYY8mgOgTkgBUzxKlgiSwkSfcj3XOeVlO3B6vgXeGqrQLWCllZI1ai5O7aKJokfJGehzmk/iJY9Swoh/1oN91/WfET6YergCWfYC4XWGMcz7UsEX1VIPS2HhksOnOO67MpAgcRMyXcQ3JlsJgfU5qRzfTcyLTaVwVCb+uBwWJrfQIWf2FlmEbm2NBYXj4afmqquag/0v7awEawVjwHWMmub7Jwweq10KU84+OvzYzZPaxmtHLBYm2xqQo8B1jJrm+y4LsTC1fmsxwVmdFCiXiIVTpazA8ni+/5Olf3CdbNdVmWq6kncmVcu/ea86xGPgKUpskmizc4IsuUbzXl5nqEEct4q0F5jWaK3XTuxHy8tsZJuwUs4YfWBMVt5kFqX7G0mnoAsBSArHQBlh/zCLDakKsEsgLPtYuB1q67fcXTaur+wTpZYCkjWRc8hrPDHfstnWSw5GaH2iDd40Pe61stwEq3ONlghe9ndUNspnSLKxL9VUwCrlbJ4hWLmU3FZkqQ7UztK5lWUw8DVjueRNSx5NfjzrgpD5b/YrLCzJRhA1cAK9mCgjUc2HQNVyiJB+WtUM5NBbA0slr7gZ9sWMSTQaOvZFpN3T1YreBKzovyqY79NbHrgaWQ5dzshVnxdsNW16Ms6EQYkHUKrs5gLXF0Yt6YV7aBFYxD7ApzM7QFWFtdT7M4cbEkcrGduVLeIiWHEizjPauc7YalllYfMJlf7FqhvurTauqRwFLIOikapsc5xFOwSDwNsHQFYMW8P0q4Wtv0IDlK9lULsBIs+NB0MsDqr9gDRCJY6TvvpIrW4EptUdm+AlipFitDFp0J/QGiElh8f9TKJMSTANZG13MtnFXWnMCCTI05NSYTBllJXJlgXaWvCoTe1sOAdWK7V2TOm+8M5dBF4zpYHcK5qeHhNmBJWbgLfsK0da4A1lbXVc0IdTxRkrWkmQv5lq1eVGRWMGBoJWKlvhUd0wOR2agA1qqW8acTidMNn0xjp3x1f+JvK9tgDWUs4U9lyMKqnTGJBysaQCKAtSYx4PBU7fsTwq6lo9my2DLXT0u4C7CkkzV4Hg1WPIFEAGtNcipTUvlr7jwDtWBcGVpGrOJcyfexYnEBWNtdV6SDZe+NisthWXFg5WCTCFbs0glgbXddkw5WSBbNog5x1cCad/HXueo/4vuKFBttMygerP85emiwWoqNM2ZpYHUscwxZ6WBd6ojKOOWL95yYxZpMAlix0sYgZchi1/jXL+abyBiwYr54MWOSxJX+hzA1dhbDmvtYfx0saztBXYRNJwKsBbtyYEWrVR4uz1KTAVYx112pQ1ZLhy6WbxrE2iDLeOiCVU7G9/mZ1GSSGWBtdN1TMBfOm6MMm1OgIMuE5FXAarU3G9qWT34eWDl9BbDiFUx32lXnhSxJ1uXj2mAFiVPzAdbNwJJo6JdVrmQqMasPllpNG6CkcEUTAdZG10ONXKyBpRO1Clb4gvKmv2JvcCWzd204RilckUSAtdH1QDooQR4r55hdNz/N66z+NBasNporUixL1sAq0FerFvlgRVBzX2D5XBGiwrxssa/Zj8cCgPVvn5onKllaYjfXZzo+G8f3FVcmWOcuUcBqHhksY4fUXLaT3QmVS3E+hb3sGkvlatlSNf0mxgV7dx2svkMCsJqHG7EsUsKLxv0gI9Iyv5zNcd8A1vpD6MN0j+djxQsq17urYI0d8vBToTkEaVf99XvAFRsMSSQ3vN2wmmH2XIDWSxzfPVhfT83Tv+FKNHOxjqS7ziWRMMlIAMuwLwBWNFdtpyQHx3cO1lf/7vbzrsGageooF/FzoQ6WSK4FlraPwH9HZJ+kHO9njZUD1nPz1nWfx+ddgzVtlJNHyvR6GlmicH6pOFihU4fLPlYMWO1+7gozwBpo+rmQtWOwuMWcGAHW6qNDSVbhu0KmwzIKHQ4HAyZ1i+v+9rFGmn6OLzsESyyqRguLo9i50FOdZ4WjgkR63Tou2bvXBOv1MhWe9d087xCsedKjFgZHJbhiYJX6NsXUeiXtcDDvCtP7at3immD9NCNPH40E63iWdnzrb0LrINEdz4CXaOZKgWVQFMBWu69EWjZYEZLs/byOxHw980vH+Qc/vjlY2hqLnYVjV+wjarrG2sTVClhLSu2+4mnXBMvU3sA6LV+NGFHiXLHT2BEq/DUi9qvJdMG9glW4w9nSxI6cx+F1f2D97BssAc2SykchmkfSssrV8hDy5IN1UQxY7LfSKqt3/k1okadl2VP6iuvWYDXPH78pYP13kfJrOKE70DXBejrXp7N10xGLjUnro0/wWkzceHVig9vw2ZzkiJW/2Jrd4SUqI5b1vZ15g9Qa1ZJ695pgdT/vF7ZePncFlofNOlfRVJ0UCJvw2zvpZIlpjh/MnieAZeRJ7N2rgjWz9SrYuhZYJ+VV4zSwxAvxKVyFC/3m8iOZJA5UK6BhiJGlE7kWdg+9YGZa7V2eVlP6RDuwxZKuBNY0bjDJ4GtAzD/bzBtCG6xzDLPYujT9wAYZPYO2oA9F0quCVW/EGvR5E7Dm8HLxmPP7NgIEy25DmELWMBVmDVrcBXqB5JB5HWYOdGi7U7D6EevI06bd9iM5vhZYxhckxOt5U8ZUljyymuHjoHGRDRZ/YYHnjUImmatdgKWvsRzFOhLhugXWIIFA1wZkbWNqKsYHK1pDo9X0+XoIYQwyd3tXmEBVWbD0NdYkQYAAK21B5bwUT/dIR7CWP1NuUmSQZRA30yS5SuirrRbXBMvYa7geWOpd4aQ53EP86RiXDJaHHCloAmv6HbjO+GQPTcGp+P5ibl9ttLgmWPbO+7XActHiIwp7uyHAYxNYc8kzWG0IiqQoAawlZVtfbbK4JljpVBUHiwdX6EQW6eYXKRh927giYA1yRqrgqszf5oGlDGn3B1aWYh2Jcl2GV5cKAcMjEytZZCOTnVFJAUtPIOmD5wo7vEK9rxIEsPLAKrS8oiWqYCkPeFr7MaJNISOr09iZxMY20VcJAliZYBXian5xRgdL23do6fgTXjZSKVkqO5N2CJb9ZsSewfLXWPMqqx5XPIGBdTLAEk//goHL3VKl1kIHuRrb3rssbR2sc80BWE0UN/sDy91wYO8hdyK5AlcUrP5TB4uGv/OWYTFgzUdDosbctcDq634YsDzR8aMtDpZSUCOvuFxd/nUyh/+uadsuv7thySgLrdK7q2CNLdDWWA8O1ontPhTgKgQreE55kHNbsImgDUn+oCW5klsTdXoXYC1iQ0tn4pCPlgIWq3nI5uBhwtNStuQLowc6EXKwCHSFe3cDWPe4ePdFuLJpKCgNrFZ/Ju3f/PG3s1rzVWSVw1st3gVXDwyWwtXW12RWwAq+83ORipLySMcZdFrtm4Vz6ny4w7vCOGruC6wJpVWwio1ijV7DGGwx6vQf4V1hOllhnhq9GwGWUAI0dwWWylLVAWt5VhiSdRnKBBoH9a4wlSwlT3pfRVjkghXFzH2CRV9xz2YmytICqy+gbRUwTK4MeGLIyuirCItMsLwvJd4/WPMGaRImgottYF1qD6lwuLLeZF8BK6+vIiwywYrTXYElXkTuCE/hNy1SpTMaCdYCRkiTC1bEXJjZV+sWfxqsE3++o4IwRjmXK/aYSGoFrJAsfZQqyxXA2up6y4LIk4IoR5PUrxGoqWO/BpZBVjBHlpwIAdZm12UUZWo0V8Rs/p0Y8zXyMwGssS0+WGtOZ2EFsDa7HsRRpkaCtVixX7fimayBNbVETntsZbX+VYksrgDWVtcVsKw4R0AiuYohywWrPxArKnqgcHOYHgOShL/wZYqdgdXqscxXObCWmwe6pBJzYDDTsdGsHQnbF1iFtHOw5HdU85EaMJFatzCv0AcBykujvSRYMs/wCbAM1XN9UAZB1j1eFbAubVS5WgNrPABYhuq5PisdLHVTKtQWsNqFK+sdF+0UYMWqnuuzYtHxL8aCRYz97YbTsgsW9aqCWGMBLF/1XF+khbXTSPAUDdZS3uoGKfm+EB+LdD8O7K4QayxX9VwnUoLakVWOC9RUQCRYrQ2WfIzE38KfuArGLVMH3BU6quc6Uxj7VguxAdYpGixWmL8Ia1WwlBlxm+eVLAqE3tYdgdWyG3yVHBuAEZPIAYuB5ZUtvjcEsGbdB1gy3MrM6HE1K3mJ1Y9Y4QIvyDu18bIUB1gX3QVYy5igc0UivQJY6jaWPhXyvdHTAnbvRypXAMvSJtcnZNY3SJfjaI6kuiJghd/loG3sUrkCWDU0xDsiz5SLgyLOT+JUctVtfbvBKp+2cdqd+tu68Yg1xsO3IJlW1uxruw6X+Aus1uZO/7JSCUasXvcAFlljMQw6kdCu3RqOO190tFqbS2PBWsrpkt+xAliGNri+xDzqrpBz1H+Zgq2jV/ayyJZqCISudLBOyb8IGWAZ2uI6DXq8wWBEP7QRTWJFHwIFQES9mhz1nmGk54sAlqFNrs+RSEKR7nnzeHpcpT+25mDN7Q2tAZbQzcFKttBiuQRUvRLx8mlr5JDPCkkr5GbWqFthkm5RIPS2HgksNc7+l3B0NlSw6C0EbYgwvhkm6RYFQm/rjsGKeIIXL8skWLzzVoim1PW8tEWB0Nu6O7BICB1KUskyDQywZEoI1il+sQWwDFVyXQ9NFDv+1RQpYAVV8R2Pbmmm6UTxvsqyKBB6W/sFa46Ukhzzal8+TFQSrFWuWrptazlRuq/yLAqE3tZuwaKxCi+0PJxlINIU3BXKc8kVA4tdiPU8va8yLQqE3tb9gdVq8SxHkpDcIA0fVrbsBGCNukOwRA4l3gW1+mqyPmLxPY40z9P7KtOiQOht7RasiOWJFWCbA/JIx39evQYWax9vBrsrjOEKYFmq5LobkhCNGLK6ZQxxuVr7MkXLR1QNrBgnLM+vZFEg9LZ2DJYnNdqlwKIVKGCxFsgTmlTF84IWBUJv6z7BWkdoowRYykNmdsJvVWlCac9LWhQIva37A+sUNTYxOjZo/utfc3lLMyhaJz4/smulPC9tUSD0tm4Hluz31PexVumJ4qoNDgywRJtpEWHjANbtwAo6XreQ0aFB707WJpb69szKXn0MWGozTkYywNqqHNfDnle2GxT8aNS6IImXmgKWlXtaY+nND5zI4QpgWcpxfRWs9ciZYCklEFbiVl5TrobVPx+b/FD7lS6I7qtaFgVCb2uvYFmRC8CyqNAusF3LOLqaebZt2fhpcJW4bI/rq1oWBUJva69rrBAsEtsxMQINIXPyNNUsNSlbV9q4lMwVwLKU57rsfhusJYHd5adzxceseLBEGXr7Zz8crvRLAMtQFdcpPS2ZYebYSl4Mkox7xu1gpYSQ+5RgkV5HgkWB0NvaLVjT/26Ox5Ieu0m6+kbgKljOUj3Nc6sAgGWonuviVUznzj4XLJl7PprBEnVl+kF9ibdIryPFokDobd0LWME0IogwzsKcLlZh7kbUlusH8yXaIr2OFIsCobd1N2DJha9kQgLSzsmbyGpEdbl+LIUkWaTXkWBRIPS29g6WefceMLEcEoM5YZDyuxuM+88ZrPBlBtqeoG0+e/pVgGWonusXWaEKBhtGipZH0VSBAxZLbDnp9FhP2OJ5bYsCobe1f7AuUqOlEtLajFhsCbD41UYwyuZEWlWrJmz2vKZFgdDbuguw9GhJrkSyzCJY0lPCxfvJGv1agOXpHsAywkWYIElRe/NtcM3KSx5CB4WQ0vyWZnte16JA6G3dAVhh/Fi6kjMGLHe/QryarJXOC2MtKOZ5ZYsCobe1f7DUALbrXAU75iELDljLBqkEK6xGtKqY57UtCoTe1l7BCqMv88tkbSAhJPAcoQXfmZivLmss+dzS2o6/FSbpFgVCbyserONZ9Hg+qQEWCZfBlUzXuCI3iiJLaDLmklQ2IjdtnE4WwOoVDdZx/kE+B5V3XcJhb5EKi9DwtA0kAe8AAAexSURBVIx+MkdgciLD23h9fjU54LE1yAJYve4ALH+LlFvQm8QQNYespTzC4mn5MkVoFdqX8PyaFuUoUpS2xjqyj0nlXQ+ipYllCi1OXEGadZs35+stXLBablXC82taFEJIVx5Y8xLrv4tKt6nL/hM7yuUTy0ZSzT+Lw0pueGZZrygdmpUEFpsJqy7eY27b6VgRDhzqiOX/Dac5Izl011hqUzFi9coCS5zUc91XyJVNlpJkcsXAokt/XojZqFQ//ipY87zHl1a3B6sLYi0GkjHB5cq5nxzACuWR5SBn+5GY/1HAmnTkRzsAaz5SwFKCbwxQJlmXg0YbgxSM7VpT/LiuRTmKFCVskPJDcrrF9SUKmzprHSx9rAovinY12hikcGzUmurHVS3KUaQofh9ruhU8dnwXfvuflSvRWUGgBT6MBRn8JTFgolGTTbIA1qTbPiukcdjeWQEtuvScxvJIB8ueDDO4AliW8l0vC9ZSKClb44qTRQeyoDADrNYcnNK5AliW8l2vAdYMkAMWQ4Lll6UZvx8rKGStVel+1LcoEHpbe/jTvSU7S97jqWDxwUYZ0BbRDVKlqthWpftxBYsCobd16/exluBUAEueizRmYi3e6eI/v1W7tCgQelu3BquoRTBEjYlyQNLAskasVrOo7MeVLAqE3tYjgaVMfstLMAyNaK4AVq7uCKwgsF1wXRe9qpTFIRQCWJm6H7DCyMaCdTLshZ1aK/vdDas+KK3asUWB0Nu6G7CU6HtgBYv4/non8xPD8UhU25DcRfzYkUWB0Nt6ILDEg5YALGEhBrM5iZepvd3gC2D1eiSwxIOWkCvtsXX4Vg0rEmBl6m7AWl9jzZlO6npdWPA5M7CdBLAydT9grd4VtgEbnsWJKzQeMgGsTN0RWERD+M2pMKoOOmApD3rGLE3kkl2vY98WBUJv6y7BGgGwwIqsY15hWWv304n8fqxoAaxe9wjWxMJGsKjRfCivAKxMPRJYq1yJNRYx0+oAWFv0QGAxrnTAOp45OBSXscbK1z2CZayxKFjG0NUpebVxbkrDXWG27hIs/a5wBRZWRyRY2MfK1n2CpVkEAxbAWrEoEHpbDwOWXGH5YMWtsVqAla1HAUugtLbGYqt7LeuUBrAy9aBgFfuiA8DK1IOBtbLrBLBYWk09ClhxZAEsllZTDwNWFFkAi6XV1H7BWpvWVAuAlWBRIPS2dgvW+oIJYG20KBB6W3sFK2spjjVWkkWB0Nt6KLBWp0+AxdJq6rHASqsjRgArU3sFK2eNFRSQaKEJYGVqt2Bl3BVK87AAgMXSamq/YG2z0KdSgMXSagpg+QJYmSoB1h41grW5nEftn+p61BELa6x1iwKht/WwYOGucNWiQOhtPS5YZSwAVqYAli+AlSmA5QtgZQpg+QJYmQJYvgBWpgCWL4CVKYDlC2BlCmD5AliZAli+AFamAJYvgJUpgOULYGUKYPkCWJkCWL4AVqYAli+AlSmA5QtgZQpg+QJYmQJYvgBWpgCWL4CVKYDlC2BlCmD5AliZAli+AFamAJYvgJUpgOVrDawS37YGWIbquX57ixWwlK/F7tMPgLUzCx8s7TdE7NMPgLUzC4CVKYDlC2BlCmD5whorUwDLF+4KMwWwfGEfK1MAyxfAyhTA8gWwMgWwfAGsTAEsXwArUwDLF8DKFMDyBbAyBbB8AaxMASxfACtT8WAdLyLHy5V6rt/eAmBlKgEscbic13P99hYAK1MAyxfAylQ0WEd5DLBK1fHHwaJLrPnHfxdVaNZuhD/SlKm0EesYHncYsbbW8bdHrF4Aq0YdfxUsOQcCrMJ1/FWwBmEqrFYHwAoX773quX57C4CVqbSd9/6z67DzXrSOPw6WrXqu394CYGUKYPkCWJkCWL4AVqYAli+AlSmA5QtgZQpg+QJYmQJYvgBWpgCWL4CVKYDlC2BlCmD5AliZqvUi2zXe/kMd+6qDCWChjioCWKijigAW6qgigIU6qgjfQoGqCGBBVQSwoCoCWFAVASyoisqDZf+6o7J1aPXVq6F4BUodNSq5RjRUVQBLHFbwhZVbJ+ak5Pv1ortKNHQBrNUa7teL7pHAcn7dUZWK6hR/DbCWwq/C1d2Dpf66owqaQlJniUVrIMd1KrrSEovUV191RqwrhKRudz2GF1f8DxKoznbDFUMSnhQr/e694OXeLVirv+6oZB281HsFq7IXvNy7BWvQdUJy5Ed3ClZtLx5qKjx29VcO8ib6Thfv1b24UjRU1dl57z/JcYUqjlOf1anjMby4ih+68KwQqiKABVURwIKqCGBBVQSwoCoCWFAVASyoigAWVEUAC6oigBXqt3kaj56an8vHG3opWegyRc8DT91P83z5eGvQS8lClyn6aN77z/fm4/zztQFY6UKXKZrmwqfm9/Lo9gtgpQtdpumlnwuHmfDt3EnopWShyzR99nPhMBN2ACtH6DJV/VzYz4T9GXopWegyVa/nufCneRnPAFa60GWqLnPhe/M5ngGsdKHLdJ3nwqe5bwBWutBlul6bz+Z1OgFY6UKX6fpsmnkmBFgZQpcZOhKaAFa60GVQFQEsqIoAFlRFAAuqIoAFVRHAgqoIYEFVBLCgKgJYUBUBLKiKABZURQALqqL/A4GH+lL09QsTAAAAAElFTkSuQmCC" />
</div>
</div>
<div class="output_area">
<div class="prompt">
</div>
<div class="output_png output_subarea ">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAHgCAMAAABOyeNrAAAAP1BMVEUAAAAAv8QzMzNNTU1oaGh8fHyMjIyampqnp6eysrK9vb3Hx8fQ0NDZ2dnh4eHp6enr6+vw8PDy8vL4dm3///92l2KZAAAACXBIWXMAABJ0AAASdAHeZh94AAAgAElEQVR4nO2di3ajug6GyU56nbSlJ7z/s55wM5IsyRdsAqn+taYBY9mW9Y1tDGmbzmSqoObRDTA9pwwsUxUZWKYqMrBMVWRgmarIwDJVkYFlqiIDy1RFBpapigwsUxXtFKx/r03TvF6H40Zs4+9bdIG/b01zSWnBUqtcv2743jTXJEtB19euey1S0pbaJVjf52bUS38mBzYh5K9zabFaDdZLIa5+zj/Tj0Npj2B93werr/vn10tz/89aBqym+U5rxFqwXprzV1qNgl7f+5/vr0UK2057BOvSfE5HL/1/+kJgJTZiJVh3rsqMMdfxf8R3meFvO+0QrGvj/nd+N+9jpKbgDh/f9+XS+e2rP2vG9PvQ1rxcxwy/l97c5ekmuznr99v5fuHbFeaKfz83lzF21zsUHxisj/NQ/u+8THMHU4VvzbDae+8/BkPH1Wjcl/x5/xj/wyzNvZtc7sdfU07XBtD8l6mmS9JE/njtEKxX8p+TgPU1rb+uDqx/Y8L7kOG1P1jyzEVMWa/gAgLrxSW/D0dvEKz3ufz3qcR/zYe7OFR47seVn+Y8lffi1nNN8zEYf70NH5+4ud0ZNse1ATT/Z67poznWKmuHYJ2bX3ROwLo0/7o+Opc59Xv4L/89TZsvvTHIAwoZVm8fv93vHZQfAtZ9QfT72uNwz3K3vZ4hWOcx5fse5rHEFxflqcKvfph8bb7G8l4Gwmbjaw/kefy44OZ+DNh8DBiCNoDmf8z/Oa6O5WNoh2DRNQ0BC1weD99HEH/72DbNF1fEknUYJ7q3eYp1ZV6HEpo+yzBf/Z4BWH2Yx2n5dcp4WS5+TSVev8b5cBx5lrFyKvk61wWbexmPh5aANoDmv843Hd/NsZbvxwPr9b76+PcDcl6aWS4fyIMKvUwjzc8y3vkD4u9UxGI6pozDTR/eZSZcGnu+a0pp3t+aeUhrADpzBUtz7/q+frxMYHEuAr7dKHgI7RCsiz4V/gzrkmEdPKY2PlggDygEYMCPgnC0ePHuCofPYQRZZsKlxK957BpWTy/zmAbvOuYKAFifZ3eouYhqOoZ22No3uHj/8e8Ku+uwEP7waIHHLg+6kACWH9HxlvQ+ZP16a7cOgdUNM+krvM5P5d3nfd58//dDwfJcpG4eQDtsLdhu+Dm/MGB1w/34eT49g71P2PtjHnQhYiqcDn9hRH9BEffR6p8HbIemwqHy8Q6QAQs29wKWhLyLNhUW1HlcLQ9TwnUOdx/cK1m4j6fTJtJ380L/WzPr/PHp4rR4d2Wi9c0Q908I1oDI17iFcG3ewUzoqnhrPq/z4r0b8833iB3+8Jt7ZcFCzbHFewl9jY90fj/P7pHOS/P6O+0BjPfi7+M9YB/h72FV830Gu/Qgz6Txwn3SeR+3G75RmSCon8Pmwr8GgtWX9u88TXWXM3yaPWX76tMuEKV+i+GXAws2d3jGMG1toPW9a/7nst0AVowH0B7BctuYIxh9V49bhu/L4bCzfUG7nu8diLPLM2kZR9yOJCgThn/cpvyAYH0sO5pDEWBHaco2YPLpNkgHvYIhFH6A5n7Ojn6hLKD5P3O177ZBWkC//S148wZem/m6uOcsX8PzjmGsuowLj5/3+XHJHNUlz6T5AnikA8pE4f/HP9KZnw/9No1X7tswTd6vvAGw7ty/c2CB5vZ3hee3r+s4/AJvl+bbI52/os+097rW6jrOwF/2EPrJ9T2vtbbS67DWfzvW0t3AShRYa22ln/7m9fdgKywDK1EXtJ2/jezVZJPJycAyVZGBZaoiA8tURQaWqYoMLFMVlQCrZcQmqtqnRbNBHY+yKBB6WQaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrUwaWLgMrU/Fgnd1vJwC/qGBQPdcfb2FgZSoBLHK4nNdz/fEWBlamDCxdBlamosE602MDq1QdfxwsuMRyP/7rVaFZu5G9YZuptBHr7B93NmKtreNvj1iDDKwadRhYBlaVOv42WDYVVqvDwPIX74Pquf54CwMrU2k778MnOB5Vz/XHWxhYmbJnhboMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLoMrEwZWLpSwDqdTll1GFiC6rn+eIsEsE6ngax9+mFg7cwiHqzTqJ36YWDtzMLAypT9rRhd8f0zgVWq4oJFPUQ2Yk0aV96eHrXGmgpLsEivo0DoZRlYo6RAPuiucJ5X4y3S6zCwNrAQA/mgfSwDq1c91zezKAvWUJI2leFrBpageq5vZlEUrJOTVpveKltjdU8BlhDI0ykDrNMpQBa9xrZK48rAWuv6hhY8V6dGCa9QRyJYKkFSHUUsCoReloEl6zSAlRr2RLD0OU+qI9XAwNqTRSZYSWuswCpdrCNVBtaOLFaBFXlXaGApquf6gy1WrbGiq5Ay23ZDPdfXWwR3jALW+XeF0VXIXImFGFgrXV9tEbFjpKs6WNLApJZiYK10fa1F1I6RqiZ5AdQlr5ukfSwDq5rray3KgIWjG0KmS16RG1iC6rm+1mI1WKeGhjeITMfUq4tvla2xdgzW6jWWB1YYmQSwpixCq+yusJ7r6y1W3BUOm1EpYJ3c+1hxYM15HtVXBUIv69nByrcYw07XWBgZn7mpjmiuHvm9ngKhl2VgCZrC7t0VTjDMP5arMyfRi3cDK6R6rj/QYgaLu+CuktFrAote0WswsETVc/1xFjMb/AbpiQikwbcbPCO2FANLUj3XH2bh0IgD69SGwRJSDCxZ9Vzf0OLEr9EjwTpxYHEmXJKBJaie69tZkKgHwAJLeB8sdu2uDWIGlqB6rm9m4YV9PpUeQrvMDFjeagqNbH4pBpageq5vZuGHfTpr0JloCg78OkSuQq0SZWCtdH0zCzHuzXJZsYUHXh0hrgwsSfVc385CinvTCusjYIiPDaxBBtYkIewNXqFzZniLVAXLpsIk1XP98RaNzgVMF3OFyDKwBNVzvbaFsnKalAMWR5b2/NDAElTP9coWESsnDyxsAS/p45KBla56rte1iFk50TUWtTix8ovzX4Uo50euRYHQyzKwGLAAR403XsWQxRSHYMIpBpageq7XtQiDdYJgiSYxXIkwFvAj16JA6GX9ZbCENdYS8xMFCx96BjxbXgrNaWAJqud6bQsXbw6TVgSrJbQs2TmyaIKHoIElqJ7rW1kwg5IPFrhC+cGIYZACAxYA68QMn2l+pFkUCL2spwErKipCHQQmeMKBpW1txYO1zMQdSI9z56nAOt8Fj93JLsDigixZeDllaMYvUzBwcfxMdZBLPoDu/ATvCn2jOM/jtF+wzu4H+BxVz/VoC3744C38nJglBE1D5kcJrOXY+zIFWx/4YMAix5rnkTKw8iwSwOKyIk7AyfxlCp0rfNa1NAPhCFW6+CGAxfr1TGANOqOPWbGOpLsebbESLO/NmJmr+RevsUh5XI2YMOgtRXJN9tdYCErGsacFyy2x/utVuk05Gro/PueYF5qQAvqT0wDWabGBouXBQrms1Iz5o07gjJYW2w37URJYaCbc1+I94a7QDQFwLPBHmDFNWGPhimEqwyC/Z78kcJ6f/ElR8jxK+x6xzvxJrCPprtexYELNQiODBcsMc6U9ZQz6wXH1bGCdhbNYR9Jdr2ohgYXIYtZYtFAGHw5EZHta7j9DfjA1PhlYZ3z0B8Bql6/Yg6vzP64gwhMqEXMFcv3xRzpnfAhO67meYMH9xw7UASmShiS33eAGGDYbwxUoljaDjGfKg6YoP2K0X7DO863gucO78PsAiw1gqI4TnvYYYEawTrxoEdy4x7WLlqM9aIryI0L7BUtRPdejLTgmWnQ5UMcyFuF0+PUvSbQVlCvlCZICluaSgbXS9WgLHSx3TazDh2RSE+aKXzopxVLrjm25gbV7sJaLoddmliLmo4ZgoG7Ce8Vw6LXelMk33cDaA1jqGisNLBxr+tpMy5HFD2qtDxZThEyQ4pKBtdL1BAuZqzSwMBr++1hMbsXcO5ph8YtjWxXjeZQMrBoWLnB48qQ5fDKWF/3QlpTETyRxoAjpZrSU56pFgdDL+hNgMXeFNJYsBgtYYIiRKWEIEsliaavguWZRIPSy/gZYngWmAiciObC8/VHIgwiWSNYqrgysta5XsyCRx6kMWIokS5XXNVSt8xym1dRfByvEQBgsbVwSCnUZDCxV9VwvbUGizW1gkphHgCWv3nGRElbis8KSnhtYNS1ItPlbMsxKCbBahJGfq2sjn6Hne25g1bSgELFckTcVRLDYTU4FLLGcwQ+/Fa0Gm4G10vWyFiJYSvZGoIZueeZyNYLFtkNpmoG10vWyFgJYavaGm8OcLb27xLlO2i4Xa6q1do3nBlZdiyVSIKJ6bv53N8TsktL7A96gpUMfmYoNrCqul7YAXM0xVTOHfykIIIJHSNDSGraY1sDq9gwWDUznksWYYeuou0JQGDiPyt96YPmEZXkeY1Eg9LKeGiwvNBXBUnbgdbJ4sPTx1MBa6Xqixe12g6c+P0lgndLBSuDKTYYCWGrrDKyVrqdZ3G6YLBGsOLISwdLen1Gt4M8WDVnRnodlYOVb3G6ELBksjqzTskEAcghgCU+dc8ACZIltK95XY1pNPTNY4hqLC94SZ3gSGrFw5kyyaFuCXBlYa11PsvDBku4KGbBQhMEJDxZZYlPTIF/sfqrc7JDnETKwVlh4XCkWTCw9amawlLWTsA2VAlbsParmeZ5FgdDL2gFYEw0xFhic0F2h2iqRKwYs/hKDXOzyHc+8yVwZWDGax5kICzIklRsVZTjwVCgjlqgWfApfWM3xI82iQOhlPRwstzIKW9BF1Lo3SGE6H/UJLP7NhTJgDfL9CJFmYIX1ELDG4DopBEivzayU/+jZtYQ2j4PMwArrEWDN8ZxjpoKVg00uWMgaJvF+pHuO02rq4WA9Yo1Fg6oQkANWzBDHgkWygCTej3TPcVpNPR6sgneFQVsGrABZWSNWouju2iSYRHyhnvs5qP4iWPUsIIfDaDfff0nxI+mnTcCiTzCXC6gxiudcloi+KhB6Wc8MFpw5p/XZHIETiRkT7jG5MljIjzlNyCZ6LmQK9lWB0Mt6YrDQWh+AhV9YGacRFxsYy/6jwaeiml7DEffXBlaCFfDcwEp2fZWFCtaghS7mGR9+bWbKrmHl0MoFC7VFpsrz3MBKdn2VBd6dWLgSn+WwyEwWTMR9rNLRQn4oWXTPw1wdE6yHq1+Ws6k3cGVauw9yeYKRjwClabLJwg2OyDLnC6Y8XM8wYglvNTCv0cyxm8+VmE/XQpy0a8AifnBNYNxGHqT2FUqrqScAiwFISidg6TGPAKv1uUogy/Ocu+gpdF3tK5xWU8cH6yaBxYxknfcYTg537Ld0ksGimx1sg3iPT3mvb7UGVrrFTQbLfz+rG2Mzp0tcgegHMfG4CpKFKyYzG4vNnEDbmdpXNK2mngasdjqJqGPJz8cdcVMeLP3FZIaZOcMKrgysZAsI1ngg0zVegSSemLdCMTcVwOLIauUHfrRhEU8Ghb6iaTV1eLBawhWdF+lTHflrYtuBxZCl3Oz5We3thrWuR1nAidAj6+ZddWAtcVRi3ohX1oHljUPoCnLTtzWw1rqeZnHDQkngYuu4Yt4iBYcULOE9q5zthqWWlh8wkV/oWqG+GtJq6pnAYsi6MRqnRxfiOVggngJYvDywYt4fBVyFNj1AjpJ91RpYCRZ4aLoJYA1X5AEiEaz0nXdQRStwxbaobF8ZWKkWgSELzoT6AFEJLLw/KmUiwkkG1krXcy2UVZZLQEGGxpgakQmBrCSuRLA26asCoZf1NGDd0O4VmPPcnSEdumBcR6uTPzc1ONwCLCkLd8KPnxbmysBa6zorh1CHEylZS5q4kG/R6oVFJoABQisRK/at6JgeiMwGZWAFtYw/HUmcb/hoGjrFq/sbfltZBmssYwl/KkMSVq3DJB6saACBDKyQyICDU7nvTxC7Fo5my2JLXD8t4S7AEk/W6Hk0WPEEAhlYIdGpjEnFr7njDNACcSVoGbGKc0Xfx4rFxcBa7zojHix5b5Rc9suKAysHm0SwYpdOBtZ61znxYPlkwSzsEFcNLLeLH+Zq+IjvK1BstM2oeLD+p+ipwWohNsqYxYHVocwxZKWD1dcRlXHOF+85MIs1mWVgxYobg5ghC13DX79wN5ExYMV88cJhksQV/4cwOXYWw5r7WH8dLGk7gV2EzScErAW7cmBFq2UeLjuxyQZWMddVsUNWC4culG8exFovy3SoglVOwvf5kdhkkNnAWum6Jm8udJujCJubJy/LjOQmYLXcmw1tiyc/DaycvjKw4uVNd9xV5YUsSlb/sTVYXuLcfAPrYWBRNPjLLFc0FZjVB4utpvVQYriCiQbWStd9TVyEwOKJCoLlv6C86q/YC1zR7F3rj1EMVyDRwFrpuiceFC+PlHPKzpvf3DprOI0Fq43mChSLkjmwCvRV0CIfrAhqjgWWzhUgys+LFvuc/XRMAAh/+1Q8YcniEjtXn+i4M47vK6xMsO5dwoDVPDNYwg6puGwHuxMsl+R8DnvZNRbL1bKlKvoNjAv2bhisoUM8sJqnG7EkUvyLwv0gIlIy789c3FeAFX4IfZrv8XSscEHlejcI1tQhTz8VikMQd1Vfv3tcocEQRHLF2w3BDM5zAtogcnx4sL4uzeVzvBLNXKwj6a5jUSREMhLAEuwLgBXNVdsxyd7xwcH6Gt7dftk1WA6oDnIRPxfyYJHkWmBx+wj4d0QOSczxftZYOWC9NO9ddz2/7BqseaMcPFKG19PIIoXjS8XB8p069ftYMWC1+7krzABrpOmnJ2vHYGELlxgBVvDRISWr8F0h0mkZhU6nkwATu8V1vH2siaaf8+sOwSKLqslC4ih2LtRU51nhJC8RXpeOS/bulmC99VPhXd/Nyw7BcpMetBA4KsEVAqvUtynm1jNpp5N4V5jeV2GLLcH6aSae/jUUrPNd3PGjvwnNgwR3PD1eopkrBZZAkQdb7b4iadlgRYiy9/M2EfP1gi+d3Q98/HCwuDUWOvPHrthH1HCNtYqrAFhLSu2+wmlbgiVqb2Ddlq9GTChhrtBp7Ajl/xoR+dVkuOAOYOXvcLYwsQPncXgdD6yffYNFoFlS8SgE81BaglwtDyFvOli9YsBCv5WWWb3jb0KTPC3KntJXWI8Gq3n595sC1n+9mF/DaTqAtgTrcq+PZ+uhIxYak8Kjj/daTNx4dUOD2/jZ3OiIlb/Ycu7gEpkRS/rejtsglUa1pN7dEqzu56Nn6/W6K7A0bMJcRVN1YyBs/G/vpJNFpjl84DxPAEvIk9i7m4Ll2HojbG0F1o151TgNLPJCfApX/kK/6X8kk4SBagk0CDGwdALX/O6BF8RMwd7FaTXFT7QjWyhpI7DmcQOJBp8Dwv1sM28IZbDuMcxiq2/6CQ0yfAZuQe8LpFcFq96INer6ELBceLFwzPF9GwACZZchTCFrnAqzBi3sArwActC8CjMnOLQdFKxhxDrjtHm3/QyOtwJL+IIEeT1vzpjKkkZWM36cOC6ywcIvLOC8Ucgkc7ULsPg1lqJYRyJcl8AaRRDoWo+sdUzNxehgRWtsNJvurvsQxiBz2LvCBKrKgsWvsWYRAghYaQsq5aV4uEc6gbX8mXKRIoEsgThHE+Uqoa/WWmwJlrDXsB1Y7F3hLBfuMf5wjEsGS0MOFDSDNf8OXGV8kocm75R8fzG3r1ZabAmWvPO+FVgqWnhEQW83eHisAsuV7MBqfVAoRQlgLSnr+mqVxZZgpVNVHCwcXKIbWKSLX6RA9K3jCoA1ShmpvKs0f5sHFjOkHQ+sLMU6EuU6DS8vFgKERyZWtMiGJiujEgMWnwDSR88ZdnCFfF8lyMDKA6vQ8gqWyILFPOBp5ceIMoWIrI5jZxYa20hfJcjAygSrEFfuxRkeLG7foYXjj39ZSIVksezM2iFY8psRewZLX2O5VVY9rnACAusmgEWe/nkDl7qlCq2JTnQ1tr53UVoYrHvNHlhNFDf7A0vdcEDvIXckuQJXEKzhkwcLhr/TlmExYLmjMZFjbiuwhrqfBixNcPxoi4PFFNTQKypX/b+O5tDfNW3b5Xc3LBlpoVV6NwjW1AJujfXkYN3Q7kMBrnywvOeUJzq3eZsI3JCkD1qUK7o1Uad3DaxFaGjpRBzy0WLAQjWP2RQ8RHhayBZ9YfQEJ0IMFoCucO+uAOuIi3ddgCuZhoLiwGr5Z9L6zR9+O6sVX0VmOXzU4p1w9cRgMVytfU0mAJb3nZ9eLErMIx1l0Gm5bxa6VHe4w7vCOGqOBdaMUhCsYqNYw9cwBZuMOsOHf1eYTpafp0bvRoBFlADNocBiWao6YC3PCn2y+qGMoHFi7wpTyWLypPdVhEUuWFHMHBMs+Ip7NjNRlhJYQwFty4AhciXAE0NWRl9FWGSCpX0p8fhguQ3SJEwIF+vA6mv3qVC4kt5kD4CV11cRFplgxelQYJEXkTvAk/9Ni1TxjEaCtYDh06SCFTEXZvZV2OJPg3XDz3dYEKYo53KFHhNRBcDyyeJHqbJcGVhrXW9REHGSF+VokoY1AjRV7ENgCWR5c2TJidDAWu06jSJNjeYKmLnfieGugZ8JYE1t0cEKOZ2FlYG12nUvjjQ1EqzFCv26Fc0kBNbcEjrtoZVV+KsSWVwZWGtdZ8CS4hwBCeUqhiwVrOGArKjgAcPNaX4MCBL+wpcpdgZWy8cyX+XAWm4e4JKKzIHeTIdGs3YibF9gFdLOwaLfUc1HasSEKmwhXoEPApiXRgdRsGie8dPAElTP9VEZBEn3eFXA6tvIchUCazowsATVc90pHSx2U8rXGrDahSvpHRfu1MCKVT3XnWLR0S/GggWM9e2G27ILFvWqAlljGVi66rm+iAtrx5GgKRqspbzgBin4vhAei3g/Tuiu0NZYquq5DsQEtQOrHBWouYBIsFoZLPoYCb+FP3PljVuiTnZXqKie60h+7FsuxAJYt2iwUGH6IqxlwWJmxHWeV7IoEHpZBwKrRTf4LDkyABMmkQMWAksrm3xvyMByOgZYNNzMzKhx5ZS8xBpGLH+B5+Wd29gvxQ2sXocAaxkTeK5ApAOApW5j8VMh3hu9LWAPfqRyZWBJWuX6jEx4g3Q5juaIqisClv9dDtjGLpUrA6uGxnhH5JlzYVDI+Y2cUq66tW83SOXDNs67U39bDx6xpnjoFiBTYM0e2nXo40+wCs2d+mWmEhuxBh0BLLDGQhh0JKEN3RpOO19wtArNpbFgLeV0ye9YGViCVri+xDzqrhBzNHyZAq2jA3tZYEvVB4JXOli35F+EbGAJWuM6DHq8wWgEP7gRjWIFHwJ5QES9mhz1nmGk54sMLEGrXHeRSEIR7nnjeGpcpT+2xmC59vrWBhbRw8FKtuBiuQSUvRLx8mkr5KDPCkEr6GbWpEdhkm5RIPSyngksNs76l3B4Nliw4C0EbAgxfhgm6RYFQi/rwGBFPMGLl2TiLd5xK0hT6npe2qJA6GUdDiwQQoWSVLJEAwEsmuKDdYtfbBlYgiq5zocmih39aooYsLyq8I5HtzRTdKJ4X2VZFAi9rP2C5SLFJMe82pcPExQFK8hVC7dtJSdK91WeRYHQy9otWDBW/oUWh7MMRJy8u0J6TrlCYKELsZ6n91WmRYHQyzoeWC0Xz3IkEdENUv9hZYtODKxJBwSL5GDiXVDBV5P5EQvvcaR5nt5XmRYFQi9rt2BFLE+kAMscgEc6+vPqEFiofbgZ6K4whisDS1Il19WQ+GjEkNUtY4jKVejLFC0eUTmwYpyQPN/IokDoZe0YLE1stEuBBStgwEItoCcwqYrnBS0KhF7WMcEKI7RSBCzmITM6wbeqMKG05yUtCoRe1vHAukWNTYiOFXJ//cuVtzQDonXD8yO6Vsrz0hYFQi/rcWDRfk99HytITxRXrXcggEXaDIvwG2dgPQ4sr+N5CxodGPTuJm1isW/PBPbqY8Bim3ETkg2stcpx3e95ZruBwQ9GrfOScKkpYEm55zUW33zPiRyuDCxJOa4HwQpHTgSLKQGwErfymnM1qH53LPID7QNdEN1XtSwKhF7WXsGSIueBJVHBXUC7lnF0NW62bdH4KXCVuGyP66taFgVCL2uvaywfLBDbKTECDSJx8hTVLDUxW1fcuJTMlYElKc912v0yWEsCustP5wqPWfFgkTL49js/FK74SwaWoCquQ3paMMO42FJeBJKEe8b1YKWEEPuUYJFeR4JFgdDL2i1Y8/9ujMeSHrtJGnwjMAiWslRP81wqwMASVM918iqmcmefCxbN7Y4cWKSuTD+gL/EW6XWkWBQIvayjgOVNI4QI4czPqWLl525Ibbl+IF+iLdLrSLEoEHpZhwGLLnwpExSQ1iWvIqsh1eX6sRSSZJFeR4JFgdDL2jtY4t27x8RyCAxcwijmdzcI958OLP9lBtger206e/xVA0tQPdd7SaHyBhtECpeH0VyBAhZKbDHp8JhPWON5bYsCoZe1f7B6sdFiCWllRiS2CFj4akMYRXMirKplE1Z7XtOiQOhlHQIsPlqUK5JMsxCW+BR/8X6TRr/WwNJ0BLCEcAEmQFLU3nzrXZPygofQXiGgNL2l2Z7XtSgQelkHAMuPH0pncsaApe5XkFeTudJxYagFxTyvbFEg9LL2DxYbwDbMlbdj7rOggLVskFKw/GpIq4p5XtuiQOhl7cw13NQAAAgfSURBVBUsP/o0P03mBhJAAs7hW+CdCXd1WWPR55bSdvyjMEm3KBB6WfFgne+Cx+6kBlggXAJXNJ3jCtwokiy+yZSLUtmQ3LBxPFkG1qBosM7uB/gcVd51Coe8RUosfMPbMvrRHJ7JDQxv03X3arLHYyuQZWANOgBY+hYptoA3iT5qCllLeYDF2/JlCt/Kty/h+ZYW5ShilLbGOqOPWeVd96LFCWXyLW5YXpp0m+fyDRYqWC22KuH5lhaFEOKVB5ZbYv3Xq3Sbuuw/scNcvqFsIFX8szio5AZnpvWS0k1OSWChmbDq4j3mth2OFf7AwY5Y+t9wchnBobrGYptqI9agLLDIST3XdflcyWQxSSJXCCy49MeFiI1K9eOvguXmPby0ejxYnRdrMpBMCSpXyv3kCJYvjSwFOdmPxPzPAtasMz7aAVjuiAGLCb4wQIlk9QcNNwYxGMu1pvixrUU5ihglbJDiQ3C6xvUlCqs6KwwWP1b5F0m7Gm4MYjgWak31Y1OLchQxit/Hmm8Fzx3ehV//Z+VKdJYXaIIPYoEGf0n0mGjYZJEsA2vWY58Vwjis7yyPFl58TmF5xIMlT4YZXBlYkvJdLwvWUigom+MKkwUHMq8wAaxWHJzSuTKwJOW7XgMsB5ACFkIC5aelCb8fyysk1Kp0P+pbFAi9rD386d6SnUXv8Viw8GDDDGiL4AYpU1Vsq9L92MCiQOhlPfp9rCU4FcCi5yQNmUiLd7j4z2/VLi0KhF7Wo8EqauENUVMiHZA4sKQRq+UsKvuxkUWB0Mt6JrCYyW95CQahEc2VgZWrA4HlBbbzrvOCV5myMIREBlamjgOWH9lYsG6CPbFja0W/uyHoA9OqHVsUCL2sw4DFRF8Dy1vED9c7mh8YTkek2gbkLuLHjiwKhF7WE4FFHrR4YBELMpi5JFwm93aDLgNr0DOBRR60+Fxxj639t2pQkQZWpg4DVniN5TLd2PU6scBzpmc7y8DK1HHACt4Vth4bmsUNyzceMxlYmToQWEBj+MWpMKoOOGAxD3qmLE3kkp2vY98WBUIv65BgTQBIYEXW4VZY0tr9dgO/HytaBtagI4I1s7ASLGjkDukVAytTzwRWkCuyxgJmXB0G1ho9EViIKx6wDmf2DsllW2Pl64hgCWssCJYwdHVMXm6cm9PsrjBbhwSLvysMwILqiATL9rGydUywOAtvwDKwAhYFQi/racCiKywdrLg1VmtgZetZwCIohdZYaHXPZZ3TDKxMPSlYxb7oYGBl6snACuw6GVgoraaeBaw4sgwslFZTTwNWFFkGFkqrqf2CFZrWWAsDK8GiQOhl7Ras8ILJwFppUSD0svYKVtZS3NZYSRYFQi/rqcAKTp8GFkqrqecCK62OGBlYmdorWDlrLK+ARAtOBlamdgtWxl0hNfcLMLBQWk3tF6x1FvxUamChtJoysHQZWJkqAdYeNYG1upxn7Z/qetYRy9ZYYYsCoZf1tGDZXWHQokDoZT0vWGUsDKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6DKxMGVi6QmCV+La1gSWonuuPtwiAxXwtdp9+GFg7s9DB4n5DxD79MLB2ZmFgZcrA0mVgZcrA0mVrrEwZWLrsrjBTBpYu28fKlIGly8DKlIGly8DKlIGly8DKlIGly8DKlIGly8DKlIGly8DKlIGly8DKlIGly8DKVDxY517geLlSz/XHWxhYmUoAixwu5/Vcf7yFgZUpA0uXgZWpaLDO9NjAKlXHHwcLLrHcj/96VWjWbmR/pClTaSPW2T/ubMRaW8ffHrEGGVg16virYNE50MAqXMdfBWuUTYXV6jCw/MX7oHquP97CwMpU2s778Nl1tvNetI4/Dpaseq4/3sLAypSBpcvAypSBpcvAypSBpcvAypSBpcvAypSBpcvAypSBpcvAypSBpcvAypSBpcvAypSBpcvAylStF9m2ePvP6thXHUgGltVRRQaW1VFFBpbVUUUGltVRRfYtFFMVGVimKjKwTFVkYJmqyMAyVVF5sORfd1S2Dq6+ejUUr4Cpo0YlW0SDVQWwyGEFX1C5dWIOSj6uF90m0eBlYAVrOK4X3TOBpfy6oyoV1Sl+C7CWwjfh6vBgsb/uqILmkNRZYsEawHGdijZaYoH66qvOiLVBSOp213N4seF/EE91ths2DIl/Uqz0w3uByz0sWMFfd1SyDlzqUcGq7AUu97BgjdomJGd8dFCwanvxVFPhuau/cqA30QddvFf3YqNosKqz8z58guMKVZznPqtTx3N4sYkfvOxZoamKDCxTFRlYpioysExVZGCZqsjAMlWRgWWqIgPLVEUGlqmKDCxfv81lOro0P/3Hu/VSsqzLGL2MPHU/zUv/8d5YLyXLuozRv+Zj+Pxo/t1/vjUGVrqsyxjNc+Gl+e0f3X4ZWOmyLuP0OsyF40z4fu8k66VkWZdxug5z4TgTdgZWjqzLWA1z4TATDmfWS8myLmP1dp8Lf5rX6czASpd1Gat+LvxortOZgZUu6zJe97nw4vrGwEqXdRmvt+bavM0nBla6rMt4XZvGzYQGVoasywSdAU0GVrqsy0xVZGCZqsjAMlWRgWWqIgPLVEUGlqmKDCxTFRlYpioysExVZGCZqsjAMlWRgWWqov8DGgDzB0XNq0kAAAAASUVORK5CYII=" />
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
MRS has the HPA version of many other R functions. These MRS
functions usually start with "rx" and are included in the RevoScaleR
package. Figure 1 gives 3 three examples. More information on available
HPA functions can be found <a href="http://www.revolutionanalytics.com/revolution-r-enterprise-scaler">here</a><br />
<a href="https://cloud.githubusercontent.com/assets/9322661/13321864/9bef4f40-db9f-11e5-83cf-08e49fc81d4e.PNG"><img alt="Figure 1" src="https://cloud.githubusercontent.com/assets/9322661/13321864/9bef4f40-db9f-11e5-83cf-08e49fc81d4e.PNG" /></a> Figure 1</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h3 id="2.2-Packages">
2.2 Packages<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#2.2-Packages"></a></h3>
Data scientists who use R are familiar with the use of Packages. <a href="https://cloud.githubusercontent.com/assets/9322661/12992176/ddd25e30-d0e0-11e5-9f15-2c869c8caf3c.PNG">Figure 2</a>
compares R, MRO and MRS by checking the packages installed by default.
For example, MRO with MKL has two additional packages compared with base
R: RevoUtilsMath and checkpoint. While some of the additional packages
in MRS are available on CRAN, most of them (e.g., RevoScaleR) are not
and can be found only after installing MRS.<br />
<a href="https://cloud.githubusercontent.com/assets/9322661/12992176/ddd25e30-d0e0-11e5-9f15-2c869c8caf3c.PNG"><img alt="Figure 2" src="https://cloud.githubusercontent.com/assets/9322661/12992176/ddd25e30-d0e0-11e5-9f15-2c869c8caf3c.PNG" /></a> Figure 2</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h3 id="2.3-Platforms">
2.3 Platforms<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#2.3-Platforms"></a></h3>
<a href="https://cloud.githubusercontent.com/assets/9322661/12992513/e5fea8a0-d0e2-11e5-9893-06c929e7a1d0.PNG">Figure 3</a> from <a href="https://info.microsoft.com/rs/157-GQE-382/images/EN-WBNR-Slidedeck-Using-Microsoft-R-Server-for-Scalability.pdf">a webinar's slides</a>
compares R, MRO and MRS at the platform level. For example, the
functions in the ScaleR module are included in the RevoScaleR package in
<a href="https://cloud.githubusercontent.com/assets/9322661/12992176/ddd25e30-d0e0-11e5-9f15-2c869c8caf3c.PNG">Figure 2</a>.<br />
<a href="https://cloud.githubusercontent.com/assets/9322661/12992513/e5fea8a0-d0e2-11e5-9893-06c929e7a1d0.PNG"><img alt="Figure 3" src="https://cloud.githubusercontent.com/assets/9322661/12992513/e5fea8a0-d0e2-11e5-9893-06c929e7a1d0.PNG" /></a> Figure 3</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="3-Performance-Comparison">
3 Performance Comparison<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#3-Performance-Comparison"></a></h2>
MRS solves two problems associated with using R: capacity (handling the size of datasets and models) and speed. <a href="https://cloud.githubusercontent.com/assets/9322661/13857242/6af81d5c-ec4f-11e5-9aa2-b100d22c0c13.PNG">Figure 4</a>
compares R, MRO and MRS in these two areas. In terms of capacity, using
HPA in MRS increases the size of data that can be analyzed. In the
speed perspective, certain matrix related base-R functions can perform
better in MRO and MRS than base-R due to MKL. The HPA functions in MRS
perform better than their base-R counterparts for large datasets. We'll
look into these two areas in this section.<br />
<a href="https://cloud.githubusercontent.com/assets/9322661/13857242/6af81d5c-ec4f-11e5-9aa2-b100d22c0c13.PNG"><img alt="Figure 4" src="https://cloud.githubusercontent.com/assets/9322661/13857242/6af81d5c-ec4f-11e5-9aa2-b100d22c0c13.PNG" /></a> Figure 4</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h3 id="3.1-Capacity">
3.1 Capacity<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#3.1-Capacity"></a></h3>
Both
R and MRO can only process data in-memory. So if the data size is
larger than memory size, they cannot load the data successfully and thus
cannot process them. This also applies to base R functions under the
MRS environment. Even when the data size is less than memory they could
fail for more complicated analyses.<br />
The HPA functions in MRS, on the other hand, allows processing data
block by block. To do this it uses a data file format (.xdf) that is
extremely efficient for both reading and writing data. These functions
can still process in-memory data. But they allow the data to be
disk-based as well.<br />
For example, the following example shows that for a large dataset rxKmeans() runs successfully but kmeans() does not.<br />
We start by simulating data with 60,000,000 rows and 2 columns, which takes up 2.2 GB disk space.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [6]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="kn">library</span><span class="p">(</span><span class="s">"MASS"</span><span class="p">)</span>
<span class="c1"># make sure the results can be replicated</span>
<span class="kp">set.seed</span><span class="p">(</span><span class="m">0</span><span class="p">)</span>
<span class="c1"># simulate data and append</span>
nsamples <span class="o"><-</span> <span class="m">3</span><span class="o">*</span><span class="m">10</span><span class="o">^</span><span class="m">7</span> <span class="c1"># use this to generate a large dataset</span>
<span class="c1"># nsamples <- 10^3 # for testing purpose</span>
group_a <span class="o"><-</span> simulCluster<span class="p">(</span>nsamples<span class="p">,</span> <span class="m">-1</span><span class="p">,</span> <span class="m">2</span><span class="p">,</span> <span class="s">"a"</span><span class="p">)</span>
group_b <span class="o"><-</span> simulCluster<span class="p">(</span>nsamples<span class="p">,</span> <span class="m">1</span><span class="p">,</span> <span class="m">2</span><span class="p">,</span> <span class="s">"b"</span><span class="p">)</span>
group_all <span class="o"><-</span> <span class="kp">rbind</span><span class="p">(</span>group_a<span class="p">,</span> group_b<span class="p">)</span>
nclusters <span class="o"><-</span> <span class="m">2</span>
<span class="c1"># save data</span>
mydata <span class="o">=</span> group_all<span class="p">[,</span> <span class="m">1</span><span class="o">:</span><span class="m">2</span><span class="p">]</span>
dataCSV <span class="o">=</span> <span class="kp">tempfile</span><span class="p">(</span>fileext <span class="o">=</span> <span class="s">".csv"</span><span class="p">)</span>
dataXDF <span class="o">=</span> <span class="kp">tempfile</span><span class="p">(</span>fileext <span class="o">=</span> <span class="s">".xdf"</span><span class="p">)</span>
write.csv<span class="p">(</span>group_all<span class="p">,</span> dataCSV<span class="p">,</span> row.names <span class="o">=</span> <span class="kc">FALSE</span><span class="p">)</span>
rxImport<span class="p">(</span>inData <span class="o">=</span> dataCSV<span class="p">,</span> outFile <span class="o">=</span> dataXDF<span class="p">,</span> overwrite <span class="o">=</span> <span class="kc">TRUE</span><span class="p">)</span>
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
When the following code uses kmeans() to analyze the data, an error
message - “cannot allocate vector of size 915.5 Mb … Reached total
allocation of 7167Mb: see help(memory.size)” - was returned.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [7]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="c1"># cluster analysis with kmeans</span>
system_time_R <span class="o"><-</span>
<span class="kp">system.time</span><span class="p">(</span>
<span class="p">{</span>
fit <span class="o"><-</span> kmeans<span class="p">(</span>mydata<span class="p">,</span> nclusters<span class="p">,</span>
iter.max <span class="o">=</span> <span class="m">1000</span><span class="p">,</span>
algorithm <span class="o">=</span> <span class="s">"Lloyd"</span><span class="p">)</span>
<span class="p">})</span>
</pre>
</div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt">
</div>
<div class="output_subarea output_stream output_stderr output_text">
<pre>Warning message:
In unlist(X, recursive = FALSE, use.names = FALSE): Reached total allocation of 7167Mb: see help(memory.size)Warning message:
In unlist(X, recursive = FALSE, use.names = FALSE): Reached total allocation of 7167Mb: see help(memory.size)Warning message:
In unlist(X, recursive = FALSE, use.names = FALSE): Reached total allocation of 7167Mb: see help(memory.size)Warning message:
In unlist(X, recursive = FALSE, use.names = FALSE): Reached total allocation of 7167Mb: see help(memory.size)</pre>
</div>
</div>
<div class="output_area">
<div class="prompt">
</div>
<div class="output_subarea output_text output_error">
<pre>Error: cannot allocate vector of size 915.5 Mb
</pre>
</div>
</div>
<div class="output_area">
<div class="prompt">
</div>
<div class="output_subarea output_stream output_stdout output_text">
<pre>Timing stopped at: 257.39 6.12 319.03
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
The following code uses the rxKmeans() function and returned results after 4 minutes.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [8]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="c1"># cluster analysis with rxKmeans</span>
system_time_MRS <span class="o"><-</span>
<span class="kp">system.time</span><span class="p">(</span>
<span class="p">{</span>
clust <span class="o"><-</span> rxKmeans<span class="p">(</span> <span class="o">~</span> V1 <span class="o">+</span> V2<span class="p">,</span> data <span class="o">=</span> dataXDF<span class="p">,</span>
numClusters <span class="o">=</span> nclusters<span class="p">,</span>
algorithm <span class="o">=</span> <span class="s">"lloyd"</span><span class="p">,</span>
outFile <span class="o">=</span> dataXDF<span class="p">,</span>
outColName <span class="o">=</span> <span class="s">"cluster"</span><span class="p">,</span>
overwrite <span class="o">=</span> <span class="kc">TRUE</span><span class="p">)</span>
<span class="p">})</span>
</pre>
</div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt">
</div>
<div class="output_subarea output_stream output_stdout output_text">
<pre>blocksPerRead must be 1 if predictions or residuals are be being written to the input data source.
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h3 id="3.2-Speed">
3.2 Speed<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#3.2-Speed"></a></h3>
<h4 id="3.2.1-Base-R-Functions">
3.2.1 Base R Functions<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#3.2.1-Base-R-Functions"></a></h4>
With
the RevoUtilsMath package on multi-core computers, MRO performs better
than base R for many matrix related functions. For example, running the
following code from <a href="https://mran.revolutionanalytics.com/documents/rro/multithread">MRAN's Performance Benchmarks page</a> on R, MRO, and MRS shows that MRO and MRS performed better than R.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [9]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="kr">if</span><span class="p">(</span><span class="kn">require</span><span class="p">(</span><span class="s">"RevoUtilsMath"</span><span class="p">)){</span>
<span class="kp">print</span><span class="p">(</span><span class="kp">paste</span><span class="p">(</span><span class="s">"The number of threads is:"</span><span class="p">,</span> getMKLthreads<span class="p">()))</span>
<span class="c1"># setMKLthreads(4) # set 4 threads</span>
<span class="c1"># setMKLthreads(1) # set 1 thread</span>
<span class="p">}</span>
<span class="c1"># Initialization</span>
set.seed <span class="p">(</span><span class="m">1</span><span class="p">)</span>
m <span class="o"><-</span> <span class="m">10000</span>
n <span class="o"><-</span> <span class="m">5000</span>
A <span class="o"><-</span> <span class="kt">matrix</span> <span class="p">(</span>runif <span class="p">(</span>m<span class="o">*</span>n<span class="p">),</span>m<span class="p">,</span>n<span class="p">)</span>
<span class="c1"># Matrix multiply</span>
system.time <span class="p">(</span>B <span class="o"><-</span> <span class="kp">crossprod</span><span class="p">(</span>A<span class="p">))</span>
<span class="c1"># Cholesky Factorization</span>
system.time <span class="p">(</span>C <span class="o"><-</span> <span class="kp">chol</span><span class="p">(</span>B<span class="p">))</span>
<span class="c1"># Singular Value Decomposition</span>
m <span class="o"><-</span> <span class="m">10000</span>
n <span class="o"><-</span> <span class="m">2000</span>
A <span class="o"><-</span> <span class="kt">matrix</span> <span class="p">(</span>runif <span class="p">(</span>m<span class="o">*</span>n<span class="p">),</span>m<span class="p">,</span>n<span class="p">)</span>
system.time <span class="p">(</span>S <span class="o"><-</span> svd <span class="p">(</span>A<span class="p">,</span>nu<span class="o">=</span><span class="m">0</span><span class="p">,</span>nv<span class="o">=</span><span class="m">0</span><span class="p">))</span>
<span class="c1"># Principal Components Analysis</span>
m <span class="o"><-</span> <span class="m">10000</span>
n <span class="o"><-</span> <span class="m">2000</span>
A <span class="o"><-</span> <span class="kt">matrix</span> <span class="p">(</span>runif <span class="p">(</span>m<span class="o">*</span>n<span class="p">),</span>m<span class="p">,</span>n<span class="p">)</span>
system.time <span class="p">(</span>P <span class="o"><-</span> prcomp<span class="p">(</span>A<span class="p">))</span>
<span class="c1"># Linear Discriminant Analysis</span>
<span class="kn">library</span><span class="p">(</span><span class="s">'MASS'</span><span class="p">)</span>
g <span class="o"><-</span> <span class="m">5</span>
k <span class="o"><-</span> round <span class="p">(</span>m<span class="o">/</span><span class="m">2</span><span class="p">)</span>
A <span class="o"><-</span> <span class="kt">data.frame</span> <span class="p">(</span>A<span class="p">,</span> fac<span class="o">=</span>sample <span class="p">(</span><span class="kc">LETTERS</span><span class="p">[</span><span class="m">1</span><span class="o">:</span>g<span class="p">],</span>m<span class="p">,</span>replace<span class="o">=</span><span class="kc">TRUE</span><span class="p">))</span>
train <span class="o"><-</span> <span class="kp">sample</span><span class="p">(</span><span class="m">1</span><span class="o">:</span>m<span class="p">,</span> k<span class="p">)</span>
system.time <span class="p">(</span>L <span class="o"><-</span> lda<span class="p">(</span>fac <span class="o">~</span><span class="m">.</span><span class="p">,</span> data<span class="o">=</span>A<span class="p">,</span> prior<span class="o">=</span><span class="kp">rep</span><span class="p">(</span><span class="m">1</span><span class="p">,</span>g<span class="p">)</span><span class="o">/</span>g<span class="p">,</span> subset<span class="o">=</span>train<span class="p">))</span>
</pre>
</div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt">
</div>
<div class="output_subarea output_stream output_stdout output_text">
<pre>[1] "The number of threads is: 4"
</pre>
</div>
</div>
<div class="output_area">
<div class="prompt output_prompt">
Out[9]:</div>
<div class="output_text output_subarea output_execute_result">
<pre> user system elapsed
148.54 176.76 235.01 </pre>
</div>
</div>
<div class="output_area">
<div class="prompt output_prompt">
Out[9]:</div>
<div class="output_text output_subarea output_execute_result">
<pre> user system elapsed
7.98 0.56 4.40 </pre>
</div>
</div>
<div class="output_area">
<div class="prompt output_prompt">
Out[9]:</div>
<div class="output_text output_subarea output_execute_result">
<pre> user system elapsed
52.35 4.50 18.12 </pre>
</div>
</div>
<div class="output_area">
<div class="prompt output_prompt">
Out[9]:</div>
<div class="output_text output_subarea output_execute_result">
<pre> user system elapsed
114.34 10.45 37.82 </pre>
</div>
</div>
<div class="output_area">
<div class="prompt output_prompt">
Out[9]:</div>
<div class="output_text output_subarea output_execute_result">
<pre> user system elapsed
165.66 13.20 98.02 </pre>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<a href="https://cloud.githubusercontent.com/assets/9322661/12991031/59fc7e92-d0db-11e5-8618-935152f82d6a.PNG">Figure 5</a> summarizes the speed comparison on 4 platforms:<br />
<ul>
<li>Base R </li>
<li>MRO without MKL</li>
<li>MRO with MKL</li>
<li>MRS</li>
</ul>
From Figure 5 we can make several observations:<br />
<ul>
<li>There is little performance difference between R and MRO when MKL (the RevoUtilsMath package) is not installed. </li>
<li>MRO has significant better performance than R when MKL is installed. </li>
<li>The performance is similar between MRS and MRO when MKL is installed. </li>
</ul>
So the installation of MKL helped speed up the calculations related to matrix. MKL can be used for MRO but not for base R.<br />
<a href="https://cloud.githubusercontent.com/assets/9322661/12991031/59fc7e92-d0db-11e5-8618-935152f82d6a.PNG"><img alt="Figure 5" src="https://cloud.githubusercontent.com/assets/9322661/12991031/59fc7e92-d0db-11e5-8618-935152f82d6a.PNG" /></a> Figure 5</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
When the calculation does not involve matrix, however, MKL will not
help much for standard R functions. For example, the following code can
be run on the same four platforms as shown above.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [10]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="c1"># simulate data </span>
nsamples <span class="o"><-</span> <span class="m">10</span> <span class="o">^</span> <span class="m">7</span> <span class="c1"># this was used on different platforms</span>
<span class="c1"># nsamples <- 1000 # for testing purpose</span>
group_a <span class="o"><-</span> simulCluster<span class="p">(</span>nsamples<span class="p">,</span> <span class="m">-1</span><span class="p">,</span> <span class="m">2</span><span class="p">,</span> <span class="s">"a"</span><span class="p">)</span>
group_b <span class="o"><-</span> simulCluster<span class="p">(</span>nsamples<span class="p">,</span> <span class="m">1</span><span class="p">,</span> <span class="m">2</span><span class="p">,</span> <span class="s">"b"</span><span class="p">)</span>
group_all <span class="o"><-</span> <span class="kp">rbind</span><span class="p">(</span>group_a<span class="p">,</span> group_b<span class="p">)</span>
nclusters <span class="o"><-</span> <span class="m">2</span>
mydata <span class="o">=</span> group_all<span class="p">[,</span> <span class="m">1</span><span class="o">:</span><span class="m">2</span><span class="p">]</span>
<span class="c1"># K-Means Cluster Analysis</span>
system_time_r <span class="o"><-</span> <span class="kp">system.time</span><span class="p">(</span>fit <span class="o"><-</span> kmeans<span class="p">(</span>mydata<span class="p">,</span> nclusters<span class="p">,</span>
iter.max <span class="o">=</span> <span class="m">1000</span><span class="p">,</span>
algorithm <span class="o">=</span> <span class="s">"Lloyd"</span><span class="p">))</span>
</pre>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
Figure 6 compares the speed across the platforms for the kmeans()
function. It can be seen that the speed of running kmeans() is similar
between R, MRO, and MRS.<br />
<a href="https://cloud.githubusercontent.com/assets/9322661/12991942/a460485c-d0df-11e5-855a-5e2bc4db2103.PNG"><img alt="Figure 6" src="https://cloud.githubusercontent.com/assets/9322661/12991942/a460485c-d0df-11e5-855a-5e2bc4db2103.PNG" /></a> Figure 6</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h4 id="3.2.2-Base-R-vs-HPA-Functions">
3.2.2 Base R vs HPA Functions<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#3.2.2-Base-R-vs-HPA-Functions"></a></h4>
By
changing the sample size of the simulated data we can compare the speed
of using kmeans() and rxKmeans() for different data sizes. The code in
the following block compares the performance. The results show that the
HPA function rxKmeans() runs faster than kmeans() when the size of
datasets gets large and that their performance is similar for smaller
datasets.</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [11]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="c1"># to save timing results</span>
myresult <span class="o"><-</span> <span class="kt">data.frame</span><span class="p">(</span>nsamples <span class="o">=</span> <span class="kt">integer</span><span class="p">(),</span> time_r <span class="o">=</span> <span class="kt">double</span><span class="p">(),</span>
time_rre <span class="o">=</span> <span class="kt">double</span><span class="p">())</span>
<span class="c1"># list of sample sizes</span>
nsamples_list <span class="o"><-</span> <span class="kt">c</span><span class="p">(</span><span class="m">5</span> <span class="o">*</span> <span class="m">10</span> <span class="o">^</span> <span class="m">2</span><span class="p">,</span> <span class="m">10</span> <span class="o">^</span> <span class="m">3</span><span class="p">,</span> <span class="m">5</span> <span class="o">*</span> <span class="m">10</span> <span class="o">^</span> <span class="m">3</span><span class="p">,</span> <span class="m">10</span> <span class="o">^</span> <span class="m">4</span><span class="p">,</span> <span class="m">5</span> <span class="o">*</span> <span class="m">10</span> <span class="o">^</span> <span class="m">4</span><span class="p">,</span> <span class="m">10</span> <span class="o">^</span> <span class="m">5</span><span class="p">,</span>
<span class="m">5</span> <span class="o">*</span> <span class="m">10</span> <span class="o">^</span> <span class="m">5</span><span class="p">,</span> <span class="m">10</span> <span class="o">^</span> <span class="m">6</span><span class="p">,</span> <span class="m">5</span> <span class="o">*</span> <span class="m">10</span> <span class="o">^</span> <span class="m">6</span><span class="p">,</span> <span class="m">10</span> <span class="o">^</span> <span class="m">7</span><span class="p">)</span>
<span class="kr">for</span> <span class="p">(</span>nsamples <span class="kr">in</span> nsamples_list<span class="p">)</span>
<span class="p">{</span>
<span class="c1"># simulate data and append</span>
group_a <span class="o"><-</span> simulCluster<span class="p">(</span>nsamples<span class="p">,</span> <span class="m">-1</span><span class="p">,</span> <span class="m">2</span><span class="p">,</span> <span class="s">"a"</span><span class="p">)</span>
group_b <span class="o"><-</span> simulCluster<span class="p">(</span>nsamples<span class="p">,</span> <span class="m">1</span><span class="p">,</span> <span class="m">2</span><span class="p">,</span> <span class="s">"b"</span><span class="p">)</span>
group_all <span class="o"><-</span> <span class="kp">rbind</span><span class="p">(</span>group_a<span class="p">,</span> group_b<span class="p">)</span>
mydata <span class="o">=</span> group_all<span class="p">[,</span> <span class="m">1</span><span class="o">:</span><span class="m">2</span><span class="p">]</span>
nclusters <span class="o"><-</span> <span class="m">2</span>
<span class="c1"># kmeans with R</span>
system_time_r <span class="o"><-</span> <span class="kp">system.time</span><span class="p">(</span>fit <span class="o"><-</span> kmeans<span class="p">(</span>mydata<span class="p">,</span> nclusters<span class="p">,</span>
iter.max <span class="o">=</span> <span class="m">1000</span><span class="p">,</span>
algorithm <span class="o">=</span> <span class="s">"Lloyd"</span><span class="p">))</span>
<span class="c1"># kmeans with MRS</span>
system_time_rre <span class="o"><-</span> <span class="kp">system.time</span><span class="p">(</span>clust <span class="o"><-</span> rxKmeans<span class="p">(</span> <span class="o">~</span> V1 <span class="o">+</span> V2<span class="p">,</span> data <span class="o">=</span> mydata<span class="p">,</span>
numClusters <span class="o">=</span> nclusters<span class="p">,</span>
algorithm <span class="o">=</span> <span class="s">"lloyd"</span><span class="p">))</span>
<span class="c1"># combine</span>
newrow <span class="o"><-</span> <span class="kt">data.frame</span><span class="p">(</span>nsamples <span class="o">=</span> nsamples<span class="p">,</span>
time_r <span class="o">=</span> <span class="kp">as.numeric</span><span class="p">(</span>system_time_r<span class="p">[</span><span class="m">3</span><span class="p">]),</span>
time_rre <span class="o">=</span> <span class="kp">as.numeric</span><span class="p">(</span>system_time_rre<span class="p">[</span><span class="m">3</span><span class="p">]))</span>
myresult <span class="o"><-</span> <span class="kp">rbind</span><span class="p">(</span>myresult<span class="p">,</span> newrow<span class="p">)</span>
<span class="p">}</span>
myresult<span class="o">$</span>nsamples <span class="o"><-</span> <span class="m">2</span> <span class="o">*</span> myresult<span class="o">$</span>nsamples
mydata <span class="o"><-</span> myresult
mydata<span class="o">$</span>nsamples_log <span class="o"><-</span> <span class="kp">log10</span><span class="p">(</span>mydata<span class="o">$</span>nsamples<span class="p">)</span>
mydata
</pre>
</div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt output_prompt">
Out[11]:</div>
<div class="output_html rendered_html output_subarea output_execute_result">
<table>
<thead>
<tr><th></th><th scope="col">nsamples</th><th scope="col">time_r</th><th scope="col">time_rre</th><th scope="col">nsamples_log</th></tr>
</thead>
<tbody>
<tr><th scope="row">1</th><td>1000</td><td>0.01</td><td>0.02</td><td>3</td></tr>
<tr><th scope="row">2</th><td>2000</td><td>0</td><td>0.02</td><td>3.30103</td></tr>
<tr><th scope="row">3</th><td>10000</td><td>0</td><td>0.03</td><td>4</td></tr>
<tr><th scope="row">4</th><td>20000</td><td>0.01</td><td>0.07</td><td>4.30103</td></tr>
<tr><th scope="row">5</th><td>1e+05</td><td>0.07</td><td>0.06</td><td>5</td></tr>
<tr><th scope="row">6</th><td>2e+05</td><td>0.26</td><td>0.1</td><td>5.30103</td></tr>
<tr><th scope="row">7</th><td>1e+06</td><td>1.58</td><td>0.56</td><td>6</td></tr>
<tr><th scope="row">8</th><td>2e+06</td><td>2.11</td><td>1.13</td><td>6.30103</td></tr>
<tr><th scope="row">9</th><td>1e+07</td><td>15.14</td><td>6.07</td><td>7</td></tr>
<tr><th scope="row">10</th><td>2e+07</td><td>26.08</td><td>15.39</td><td>7.30103</td></tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing code_cell rendered">
<div class="input">
<div class="prompt input_prompt">
In [12]:</div>
<div class="inner_cell">
<div class="input_area">
<div class=" highlight hl-r">
<pre><span class="c1"># generate plot</span>
ggplot<span class="p">(</span>data <span class="o">=</span> mydata<span class="p">,</span> aes<span class="p">(</span>x <span class="o">=</span> nsamples_log<span class="p">))</span> <span class="o">+</span>
geom_point<span class="p">(</span>aes<span class="p">(</span>y <span class="o">=</span> time_r<span class="p">,</span> colour <span class="o">=</span> <span class="s">"kmeans"</span><span class="p">))</span> <span class="o">+</span>
geom_line<span class="p">(</span>aes<span class="p">(</span>y <span class="o">=</span> time_r<span class="p">,</span> colour <span class="o">=</span> <span class="s">"kmeans"</span><span class="p">))</span> <span class="o">+</span>
geom_point<span class="p">(</span>aes<span class="p">(</span>y <span class="o">=</span> time_rre<span class="p">,</span> colour <span class="o">=</span> <span class="s">"rxKmeans"</span><span class="p">))</span> <span class="o">+</span>
geom_line<span class="p">(</span>aes<span class="p">(</span>y <span class="o">=</span> time_rre<span class="p">,</span> colour <span class="o">=</span> <span class="s">"rxKmeans"</span><span class="p">))</span> <span class="o">+</span>
scale_x_continuous<span class="p">(</span>breaks <span class="o">=</span> <span class="kp">seq</span><span class="p">(</span><span class="m">2</span><span class="p">,</span> <span class="m">8</span><span class="p">,</span> by <span class="o">=</span> <span class="m">1</span><span class="p">))</span> <span class="o">+</span>
scale_colour_manual<span class="p">(</span><span class="s">"Function"</span><span class="p">,</span> values <span class="o">=</span> <span class="kt">c</span><span class="p">(</span>kmeans <span class="o">=</span> <span class="s">"red"</span><span class="p">,</span> rxKmeans <span class="o">=</span> <span class="s">"blue"</span><span class="p">))</span> <span class="o">+</span>
xlab<span class="p">(</span><span class="s">"log10(number of samples)"</span><span class="p">)</span> <span class="o">+</span>
ylab<span class="p">(</span><span class="s">"time in seconds"</span><span class="p">)</span> <span class="o">+</span>
ggtitle<span class="p">(</span><span class="s">"If data fits in memory, \nkmeans() and rxKmeans() are equally performant"</span><span class="p">)</span>
</pre>
</div>
</div>
</div>
</div>
<div class="output_wrapper">
<div class="output">
<div class="output_area">
<div class="prompt">
</div>
<div class="output_png output_subarea ">
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlgAAAHgCAMAAABOyeNrAAAAP1BMVEUAAAAAAP8zMzNNTU1oaGh8fHyMjIyampqnp6eysrK9vb3Hx8fQ0NDZ2dnh4eHp6enr6+vw8PDy8vL/AAD///8+BsMuAAAACXBIWXMAABJ0AAASdAHeZh94AAAd5ElEQVR4nO2dC7uyKBSFaexinS7j6P//rSN4QwUlZcPG1ppnTqVL2G3fD4jERAVBBBKxA4COKYAFkQhgQSQCWBCJABZEIoAFkQhgQSQCWBCJABZEIoAFkYgjWEIFVdyEOBv3DCpuliKag5Xd4pkWBfkVx/Q25/wqhLgY99hf92oOVrstHoBFK47pbc65EG/LHvtrbcd71QNRimPWO7Bse+yvTTsAVhRxzLpEQSgN254Xkd1bSPJz3c+9qtY02tIV0OzoC6q3vetRV3Z7jSqRf/JMnJ/61nuz4VE/PNS216Uu/Gnb+75ldbnvZndxFtduYFjMRog/pUTAytXLm9qSNfueAzTDlq6AGVgvMfOoP5fp1rva8LqpB8nOX3Ngbt771MoVNVUiz9vS/sSdOE+sxRWscRf2FuKvPomZ3HZXJ+yuBvaNR98yL6J5epYF1Cf7PHLUjdirKq7DkfWGp8Q4ax7OsmrZFL4vDcjzveJeVEXN/UdhWlTVp63jIjf9rtIAK1etQ1VkQiJS9Ls7aIrpATOwZiOtdp9sXYphZ7+h6/rqqlXhhbia9+bquJt8rJsy+fzaun66J0wErBad+pyph/fzfhlPJfRb5kV0kxfZ7U9vQvTjdbB0RoXiuJN5b1Omaqba7W/J4K/3hImA1T2/yMdH1g/A2u3alnkRzdOPsrQD7sm+EVjTBzECa75XO7B7cZVzHT/eEyYGlnx81EOZ/O+jgaFvmRfRbX6qEfd95HACaxbGGliyyfr1njAtsIqm93n1m7ox1st8wHTm/X0T2cjhAFamzdPO95q6QtVa/XpPmAhY1+bsPoZ24TkbmD/XwZoh5ADWTajvGt/yk+N8b97s7QbvbSlPkf96T5gIWA+R/TUzSrKReHQzD5X6lD/aMi+i88jphlyNqyttn+auZhvkw1tNYb2zZrphurfuf/NmuuGtF3POfr0nTASsqpnHvLdjrEav5iPbeMu8iLM+QZp9Rg4HsLop0HxxbztB2hXz7AZzgmN+g4jjGzeAVf0NX+k85Hcor6dsfN5nNWjStsyLaD0v9ZXOZ+xwAav65N33N6a9o690umIK0faEAAvyqUffE/5sfn/2jVOqHpG1vfLfzw61AJZ3dSMyqfyxaD2wAJZ3nfUJ/p8VwIJIBLAgEgEsiERmsLxOvzyvVXV9rvtcKu/35dpln3v0bXCbNP0y21mmJXBfF7Hv+K2iB+sjZ7s/mftXZy5gXTxx9XVwm7QZLNMSuA11xxA9WFf10Tu/rvmcKm/3XeQlxT70dXCbtBks0xK4DXXHEDlYzyY3b/cWZh2si/DUxnwf3CbtAMtL3TG0ANYnO6tv5xbWQ+kLr4S2lEpba3VpxwhnvUk3HzVa49XslOup2gtX1BUqal/PFX1wsv5JodWsmjpscdfpaR5Gtcuy5gvD6h115F05+joztZCsvyx2tsbM+NZNb3dyZW04LYCVNZcgLa2H0hdeaUuptLVWn+6Ct7t2gZL5qNEarzYMuZ6qudbuo75Klvsu/bCDPjhV/6jQRvqWfLjyQgdrVE5zrmcLw7o3kE/KbCruwZqvMTO9dePbZQjWpV1gtbQearwUq19Kpa21une9zHO4pNJylL7GqwtDrqeqUZAf3USzRFW2V8N+6uBU/XqhjfQtTdh/2QSs6Sq1+v/5wjChrjN7qn8543VmF23ZhmGNmeGtW94uu64wb/qb5fVQ46VY/VIq7c1cu+Hne7ioxXKUvsarC6MZot/E89X0h80/xWe/nzo4Vb9eaCN9y60J+28C1nSVmvx/tjCsu7omy6frzF59QeY1ZvO3vv52g8oG1kP9O1RdevNQdQ/6eqhqvhSrSWC/1kqjJNMqMB01WeNVaUnJarVbRH7rTkeo4CaFTrZkHRDTMda4HPn/bGFY16lfz9N1ZnoCTBfWz9+65e1yA0u0M3Pza9uEnub5Uiz5oK210vu1vnjzUcMc1eyQ1/BPOJeG82g/fXBTsPQtOgR6QJNy1JPpwrDujZyFvUwtuDm7CxVOshpaNrCyv9HltpZI50ux2od+rZXp3FmOGmdz9Ow16hvqzvI6jYo6uGl+5s8nZ31ajnoyXRjWPb0Ie5muYK1kNbRsYH3qHv1cmd6Avh5qvhRreCPNWitTb2M5qn06WvDePtG6QlV08zEoVHDZbJrSsCZs2hVOy2l2TRaGdaM22RUaylzsCqcPy1kNLhtYKlMv0xuYr4d6Gs9d89Q0PrYcpa/xqkZl1ePjZzd4r9pjX7MqyYLTC61mW9qrRdulaUV38LSc7vVoYVg7Uirk4N2wzqx9NK0xszXWs7fLD6xmrdT8DejrocZLsXqLttbqMXyi769+sxylr/Gq9Fpf4tz9g+z21Z9Zi2DB6YVWsy162BdxLdqDp+W0ZY0XhjWTBk81/jesM2sfTWvMTC2W8e2KSAscF8AqZONseB/aeih94ZVm0dZafbppxXx4g5aj9DVelV5rd/6GLbKxMS4gJQlOL7Sab2kmMq9D2Xnzz2RcztDWakukRTu9/pyUOQbLtMZs/mB5u2ftH2pILYBVh3o1vo9hPZS+8Eq3aGutTN+aWI7S13hpW2+qC6p75psGVp2wPFRwo0INW15XkbXBvM6mVWoaWMWoBRFyvlDc3tMyJ2AZ1pgZHsxvt139FlzkND+bIciL+HvebfIZnFvD8BhdXxVrABRA9O/sqkaeN+IrUzbKY3BOkAwLw9yPSVP07+wjR6YF03tkeAzOAZLJQA1g7VOQq3+3yl9wDpDMFoYBLAj6TgALIhHAgkgEsCASASyIRAALItEOsP6dybDJrBSMiQTJVQCLY90AizpxAGvNyVUAi2PdAIs6cQBrzclVAItj3QCLOnEAa83JVQCLY90AizpxAGvNyVUAi2PdAIs6cQBrzclVAItj3QCLOnEAa83JVQCLY90AizpxAGuksiynTq4CWBzrthjLckaWPxI8C2BxrNtsLMs5Wf5I8CyAxbFugBUnw0GM/IIEWNQZDmJkGCTGWNQZDmHkGCQ+FVJnOICRY5BTrABWgkaOQQIs6gwHMHIMEmBRZziAkWOQAIs6wwGMHIMEWNQZDmBkGOScK4CVnpFhkACLOsMhjAyDBFjUGQ5hZBgkwKLOcAgjwyB/BCwosMrYAXwjtFgc6zYbDQ3WIVuseBkOYuQXJMCiznAQI78gARZ1hoMY+QUJsKgzHMTIL0iARZ3hIEZ2QZq4AljpGdkFCbCoMxzGyC5IgEWd4TBGdkECLOoMhzGyCxJgUWc4jJFdkACLOsNhjNyCNHIFsNIzcgsSYFFnOJCRW5AAizrDgYzcggRY1BkOZOQWJMCiznAgI7MgzVwBrPSMzIIEWNQZDmVkFiTAos5wKCOzIAEWdYZDGZkFCbCoMxzKyCxIgEWd4VBGXkFauAJY6Rl5BQmwqDMczMgrSIBFneFgRl5BAizqDAcz8goSYFFnOJiRVZA2rgBWekZWQQIs6gyHM7IKEmBRZzickVWQAIs6w+GMrIIEWNQZDmdkFSTAos5wOCOnIK1cAaz0jJyCBFjUGQ5o5BQkwKLOcEAjpyABFnWGAxo5BQmwqDMc0MgoSDtXACs9I6MgARZ1hkMaGQUJsKgzHNLIKEiARZ3hkEZGQQIs6gyHNDIKEmBRZzikkU+QC1wBrPSMfIIEWGxOhQ8jnyABFptT4cPIJ0iAxeZU+DDyCRJgsTkVPoxsglziCmClZ2QTJMBicyq8GNkECbDYnAovRjZBAiw2p8KLkU2QAIvNqfBiZBMkwGJzKrwYuQS5yBXASs/IJUiAxeZU+DFyCfLIYGW19MdGoTMc2MglyAODlbV/sv6FUugMBzZyCRJgsTkVfoxcgjwwWEoAK45xmaujgfWPFFVIkK4ydgAb5QpWVqHFimI8eosFsCIZDw5WNv6jFDjDoY1Mgjw2WNnwF2AFNa5wlThYmfYAsIIaDw1WlrVT7ph5D248NFgWhc1wcCOPIAEWdYaDG3kECbCoMxzcyCNIgEWd4eBGFkGucQWw0jOyCBJgUWc4vJFFkACLOsPhjSyCBFjUGQ5vZBEkwKLOcHgjhyBXuQJY6Rk5BAmwqDMcwcghSIBFneEIRg5BAizqDEcwcggSYFFnOIKRQ5AAizrDEYwMglznCmClZ2QQJMCiznAMI4MgARZ1hmMYGQQJsKgzHMPIIEiARZ3hGMb4QTpwBbDSM8YP8mhgPbKqeonsvnZouAxHMcYP8mBgPYSoPpkQYo2scBmOYowf5MHAOotX/f/jLTKDXVe4DEcxxg/yYGDVDdZTnNXjssJlOIoxfpAHAysTn5t4y1HWyqHhMhzFGD1IF65SAuteD68y2WDlK4cGy3AcY/QgjwZWlYvsWTdca1wBLGLj4cByVbAMxzFGDxJgUWc4jjF6kIcCS+haOTRYhuMYYwfpxBXASs8YO8hjgSV1vXyq6nO5rh0aKsORjLGDPBxYV1E0e9bICpXhSMbYQR4OrLYLLNAVxjUeDqyLaLpCtFhxjYcDS13ZIGffPyuHhspwJGPkIN24SgmsqsjPQpzvxdqhgTIcywiwdgkTpBzrBlgBMhzLCLB2yfQldIYJ0sh1HxKsHDPv0es+JFiZeLgdGijDsYxxg3TkKiWwVluqTrsSx98IsHbJ/pXOqnYljr8xabBchzNyqZ97U/KNTBOkl7Wp0Ua7Esff+BNgKUMgsHDZTPy6PYDlePopmGpKNtQFsGLXXbly5QBW81T+FeJzFc1ahvZJc5aV43MT4vapRq49wgQpx7qpwFIzlDUzhXpy1cBqtmSF7tolgMWxbhtYp9Np6rSc1qHT0cG6FNVDru3Lxa169Y2V/JOLi7ywJdddu2T9EjrHl9ARjWawTqcZWbbTagbr0z47d5/8e8dZ7vs0K+A/VbV/8IXLZjjWbQbrdJqTZTut5q5w/KzSwDK5dml+/K270O+2cmiQDMczRqy7LI8IVlckPhXGMpalmawdYH3GyCx3hU5nf00Ai13dZblI1qRIy2kdTl4m/qriMgYrr0fpb+vg3ensrwldIbu67WB986mwf6quVrmPwWrG0ap5yubTDZMCtgmDd3Z1L4E1L9JyWrXzmmfiPh09vS/NdOijA0ufIJ0WsEk7phsgIimujHtOgSPZIUyQMqzb0l590WLFF8BiWHdpM6YN1rXpZM8YY0UyljbjnKuUwMq70Rs+FUYyHhSsTLzkwxvzWLGMBwULE6SR6y6txrTBuopbIecc5FTsosgzHNfIDywDVzaw/lvQbmactDBB+l45lDzDcY0Aa5fsE6SrKyrIMxzXGKvu0mpMHSxXUWc4shFg7RLA4lb3gcF6XOtPhJe1IRbAIjGWVqOJq5TAKs7qYmnRTGctiDjDsY0Aa5dM12Plcg7rD9MNUYzHBau7cgcTpDGMpd0IsLxkOLoRYO2StSvM8SV0BGNpNxq52gwW2T0bOhkG77g0OV7dJGCVZckBrKq6YyV0rLopwFJXOrMAy1GkGY5vjFF3d0WyT7DatRkmsIT8rxlPt9fgjR7FdPs3Alic6l4Ay8yVHazSLB0sfV2helFNHifbv5LBL28f+BLZHWAFN3oEa73FEpXOzBSgKWjfan7QowZVXTqzRhZlhhkYI9Tdr83xCZZtjDViqm2hxn1hv3PLIsP5IWfxqv9/vFfvkESYYQ7Gw4Bl/lQoLC1WD9OoBfMxxqrLeA43h1gQYYY5GI8D1kRmdjSwbF3jVzItpvjcxFuOslYOJcwwB2P4uodVqnOjhSv/YHWDL8NgfidYd9HeKWLtLpR0GWZhPD5Ys4GWNsQaAeVpuiEX2bNuuFbvbkqXYRbGY4NFLsxjsalbu18DwCLJMA8jwNolgMWm7iWwbFwBrPSMoevW71wEsCgyzMQIsHYJYHGpG2B1osowE2Pgukf38NsNVnyZ5rHwY+MR6l4Ey8pVSi0Wfmw8St3HBws/Nh6j7vHdbA8JlvPXQjQZZmMEWLs0pwg/Nh6j7kWw7FylBBZ+bDxC3ZP7uh8SLPwmdIS6AZYmkgzzMQKsXcIEKYe6p79wArB8Z5iRkQ9YC1x5AUvsRsGgSWnqjmvoCkPXTQvW6XRyAMvzonuAxaDu2W99eQVL/S7rKli+b+aArpBB3aRgtb8kPQGrvy9DpS0w9HkrB4AVv+75jxN6AOtk1n/DglV9DVg3zBLartmqsPk6VoC1wcgGrCWudrRYzd+2KdLHWbb1qrMF04sCWPHrpgXLPMbSPwn2rZfPWzkArOh1G36m1ytYxk+FI7DMf3o05l0gxlg7jMcBayLtvI8H7hawbF3jsgBW9LpXwFrkau8S+9HI3TLG6no/I2BfgYWfPAlZt+kH68OApbda2jNtLLXjVg5zB37yJGzdccAi1xws/ORJ2Lp/Biz8MkXQuk1c/RBYzU3YslrDNs8Z5mZkAtYyVymBZfrJk4an4Y+S5wxzMwKsXTIM3uc/eZJVAIvIaOTqmGAZf/IEYBEZfwosgyZg/SNFFdJPqVwznDYVmypYSn7/6bIzBqnb3GBpxpUGK6mbgpgEsGiMvwRWcTNcmgywaIy/BNbVdM07wCIxWrg6JlhC/M1tAIvE+FNgnU3DLsy8kxhXwVrjKiWwPg6/2qvkM8MMjQHqtnF1TLCqP6wrDFT3b4FlHLyb5DHDHI0Aa5ccB+8mecwwRyN93VaueuMqVymBdXW9DN5fhlkaAdYuGSi63nBHvyB1/xhYuClIoLrtXAEsPxnmaQRYu4R1hdHqXgdrnSuAlZ6Ruu4Frg4IFm68FqxugGWTrwwzNRLXvcTVAcH6Rp4yzNUIsHYJYEWq2wEsB65SAqvrAvUrZIzylGGuRtq6F7k6IFiZEBhjhaj718B6aFyt/WyhnwyzNQKsXbJ3havyk2G2RtK6l7k6JljO8pJhvsboYLlwBbDSMwKsXQJYMepe4Qpg7c4wYyPA2iWAFaNuF7CcuAJY6RkJ617jCmDtzTBnI8DaJYAVoW6AtSgPGeZspKt7lSuAtTPDrI2RwXLjCmClZwRYuwSwgte9zhXA2pdh3kaAtUsAK3jdAGtFuzPM20hVtwNXtdGRK4CVnhFg7RLACl03wFrT3gwzNxLV7cIVwNqTYe7GqGC5cgWw0jMCrF0CWGHrduIKYO3IMHsjwNolgBW2biewTieAtTnD7I0kdbty5UyWPxI8C2AFrdsFrNPpC7L8keBZACto3QDLQbsyzN9IUbd7TwiwtmU4AWM0sDDG2pHhBIwERTpyhU+FmzOcgjEWWKdvSgRY6RmjtVjflAiw0jP6L7J0MZ6+qhpgpWeMA9bpu6oBVnrGKGCdvqwaYKVn9F5kuW7sPgwCrE0ZTsMYAax+kgFgbcpwGsbwYA2TVwBrU4bTMPouslwzapOiAGtLhhMxhgZLn2z/bbCgr1Qu7z6FiSKY0GIFKrJcNo6/HPztFmtjhlMxhgVrY9UAKz1jULAmVzMArI35SMHot8hy0Ti9SgZgbcxHCsaAYM2uvgJYG/ORgjEcWPOr+gDWxnykYPRaZLlgNFwtCrA25iMFYyiwTFchA6yN+UjBGAgs49XtAGtjPlIw+iyytBrNqyYA1sZ8pGAMApZlNQ7A2piPFIxhWqydVQOs9Iwei+xW58yMtuWDAGtjPlIwBgDLuiwVYG3MRwpGerDsy50B1sZ8pGD0V2S/TnVsXFhGD7A25iMFIzVYS7dnAFgb85GCkRisxdt+AKyN+UjB6K3I4Y4NmnH5djIAa2M+UjCSgrVymyKAtTEfKRh9FandYqY3rt3+CmBtzEcKRkKwVm+rBrA25iMFI2WL5a1qgJWe0VOR+s3WWuP6fSAB1sZ8pGAkA8vh/qIAa2M+UjBSgeVy31qAtTEfKRj9FDm67ag0Ot0PGWBtzEcKRhqw3O6zDbA25iMFIwlYrr834Vo1wErP6KXI8Q24nX+GEGBtzEcKRgKw3H9vwtUIsNIz+gfrhAlSJ+3IRwpGH0VOfooCYDlpRz5SMO4vsizHDRbActOOfKRg3F1kWY7IOqHFctSOfKRg3FtkWY7I+upHvQDWxnykYPQL1ne/vQSwNuYjBeO+IstyBNaXv70EsDbmIwXjjiIbnmZcASw37chHCsaNRWrd35QrgOWmHflIwejsHJFk+hHV7397CWBtzEcKRldn1+OZofp3028vAayN+UjB6OicjNLn2vLbSwBrYz5SMH4Hlt+6ARZ14riDtdpebftRL4C1MR8pGFedw9jKwtXpdBpfKQOwnLQjHykYl50aTAtcnTb+qBfA2piPFIx257SJMhtPpxlZAMtJO/KRgtH+FaCbEWBt1Y58pGA0OC2jKVORpxPA2qod+UjBOHEufPSbFdnwhDHWRu3IRwpG3bk8UTUqUqNpyhXActOOfKRg7Jyr058jkvzcARJgUScuMlguc+pdj7cC1Vd1AyzqxMUEy+2LGuMofW/dAIs6cbGMsqlycn6BFcByVIjEhTPOp9IXijwN7RTAMgtgNdKuqrL/pJKx23PnCmC5KUTiQhnLsqZjMlTvnGujKGeuAJZNWa3h1exN2jI83+6aOOs52zxFZC5RcVWTNTa69nJRP7py1TdgZf0fpel7tJ0Fw3bHxFnP6+ZJ7cmB/dVUkxGTMrFrVo1OrvIHlu3ft2m7W+KsLcbmr+G6AzugTlN9X2Rc4w+BlZSmwRNjALDMGsD6R2qytz033cty0iqU32t6pK0qd9kP3FggZBP9GGs+LnaepTQcaatq76htxycMtFgmeQTL9hmunNPhmDjDkbaqdn/OnAtg7ZFPsBYmHzcmznVdVYDrsXgafxusNI2JBMlVAItj3T8G1trMexKnAmCFEb4r5Fg3wKJOHMBac3IVwOJYN8CiThzAWnNyFcDiWDfAok4cwFpzchXA4lg3wKJOHMBac3IVwOJY92+DNdf0Eq3fKDGNIEMLYHEsEmCNlUKGAVYYASyORQKssVLIMMAKI69gQVAngAWRCGBBJAJYEIkAFkQij2CNr4j3Vajn4vwH6b3EjCDI8PIH1mQNj6dCfVPgt7iK6G1TlBhYvMHK/BfoWzRgJc+V7zGW506BoEDfokEAYE3EHSyCIVZFMCBKnyuvYHkfxVYkLZZvVr0XCbDm8pkRomExf1YB1lxewSL63M0frANwxfxTYQIUACyzfg8sCggA1kw/OPPut0SSIj2XF0P4rhAiEcCCSASwIBIBLIhEAAsiEcCCSASwIBIBLIhEAAsiEVOwxEJcebPvdRHi+mo2PW87yxzpU5d8dvSulH57flvOUZQeWHmzrxBKb/n85fQdiDNYmSzY0btWevb6tqCDKDmwbu1Jf4hcvrjL59ljX5lbjQ4HPY7wvd8WcQbrU0N0+8iXded0fqptWfZqTuFVNlZvca2f5pk64nMVWd4dq/7W/19rx+csrkX76qLKK2TJhXK9s0tbZ1ed0BqseybOitrXVfSlG8tUh/TlDgeqg35QjMEqVJeUFd0zderyDpysx6cQzQlXpnwMVo2D+DvXf27dK1le09mdlesi2vFZX50GVq6e14A8mwDyeZm3tswG+67c/sD6WRE0c1zEGKxc1G3JRZ7Me/2suHRnewCn+XsXT/XsUtT9YzYG61b9SRz+mle1oy0vl8U/5La+QRmqG3q1uhmsXrLMs/iT7eNCmU0kQ7ntgTWS93BpYyTGYJ3rk1N9ZAPQPrOAdRVNV9R1SDpYqmcrtFdtecpx7Y5SGqobwMpE/7Hu87xfTGW+tYOGcocDP6q3/j0xBms0VqqG8z0Fy/5aPev/6Nu7rlUbck8LkHrWfdtZoXcZHWEsUy93OHDbR4H0xfRdO4OVkYJVd39nIWcMbvVQ/PlxB6s/EGDx0npXeO4/FRrBMkIw7gqHo6qmwHlXKPXoSyqsZV70rnB0IMDipfHgvX02AiuXH8pucqB87UdXzd+sHmgXFxME6iPAXR5bF/rX4dDKNHjPxKuGV7WKr5Uym4i7cvsDMcbiJXmajNMNVXfe382mYvhU2O1TH/XvJgiu4/LeI7CG6oaNzazBvXtiBEseNIpYltsfiE+FvNR0Z6MJ0r8xWOq7woscxXTzWP2+PKtPpnE8dBXXprxbe6zeT/XV6c1YJjIFhjrA2BVetIP6cocDMY/FXsL27Uge702sD6AEZt75So5wmkGVWW7fFVJoFSx8V8hZ7QjnY9vvdnUDhVbBwtUNrPU4d6Mts5yux6LQGli4HguCvApgQSQCWBCJABZEIoAFkQhgQSQCWBCJABZEov8Be+ahTc8yglkAAAAASUVORK5CYII=" />
</div>
</div>
</div>
</div>
</div>
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="4-Conclusion">
4 Conclusion<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#4-Conclusion"></a></h2>
<a href="https://cloud.githubusercontent.com/assets/9322661/13078756/d5fb2708-d48e-11e5-83ec-ed18c75bf5f8.PNG">Figure 7</a>
summarize scenarios where R, MRO, and MRS can be used depending on the
amount of data and the availability of MRS's HPA functions. Whenever R
can be used, MRO can be used with the additional benefit of multi-thread
computation for certain matrix related computations. MRS can be used
whenever R or MRO can be used and it allows the possibility of using HPA
functions that provide better performance in terms of both speed and
capacity.<br />
<a href="https://cloud.githubusercontent.com/assets/9322661/13078756/d5fb2708-d48e-11e5-83ec-ed18c75bf5f8.PNG"><img alt="Figure 7" src="https://cloud.githubusercontent.com/assets/9322661/13078756/d5fb2708-d48e-11e5-83ec-ed18c75bf5f8.PNG" /></a> Figure 7</div>
</div>
</div>
<br />
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<h2 id="5-Additional-Resources">
5 Additional Resources<a class="anchor-link" href="https://htmlpreview.github.io/?https://github.com/lixzhang/R-MRO-MRS/blob/master/Introduction_to_MRO_and_MRS.html#5-Additional-Resources"></a></h2>
This
write-up should have helped you understand how MRS and MRO relate to R.
Below are some additional resources you can refer to.<br />
<ul>
<li><a href="http://blogs.technet.com/b/machinelearning/archive/2016/01/12/making-r-the-enterprise-standard-for-cross-platform-analytics-both-on-premises-and-in-the-cloud.aspx">Microsoft Announcing MRO and MRS</a></li>
<li><a href="http://www.zdnet.com/article/microsoft-delivers-free-version-of-its-r-analytics-server-for-developers/">ZDNet Reporting on MRO and MRS</a></li>
<li><a href="https://www.datacamp.com/courses/big-data-revolution-r-enterprise-tutorial">DataCamp - Big Data Analysis with Revolution R Enterprise</a></li>
<li><a href="http://packages.revolutionanalytics.com/doc/8.0.0/win/">MRS Documentation</a></li>
<li><a href="http://www.revolutionanalytics.com/sites/default/files/revolution-analytics-sas-benchmark-whitepaper-mar2014.pdf">Revolution R Enterprise: Faster Than SAS</a></li>
</ul>
</div>
</div>
</div>
<br />
Special thanks to <a href="https://github.com/lixzhang">https://github.com/lixzhang</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-26422784484465397552016-04-28T09:30:00.000-04:002016-05-31T14:10:25.476-04:00About_CSharp-ThreadSafeCollections<br />
<br />
<header class="entry-header" style="background-color: none; box-sizing: border-box; color: #333300; font-family: Imprima, sans-serif; font-size: 15px; line-height: 21.4286px;"><h1 class="page-header page-title entry-title" style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #2d2d2d; font-family: 'Pontano Sans', sans-serif !important; font-size: 36px; font-weight: 500; line-height: 1.1; margin: 40px 0px 20px; padding-bottom: 9px;"><strong style="box-sizing: border-box;"><a href="http://www.csharpstar.com/thread-safe-collections-csharp/" rel="bookmark" style="background-color: transparent; box-sizing: border-box; color: #3399f3; outline: 0px;" title="Permalink to Thread-Safe collections in C#">Thread-Safe collections in C#</a></strong></h1></header><div class="entry-content" style="background-color: none; box-sizing: border-box; color: #333300; font-family: Imprima, sans-serif; font-size: 15px; line-height: 21.4286px;"><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">In this article, we will learn:</h3><blockquote style="border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 5px; box-sizing: border-box; font-size: 17.5px; margin: 0px 0px 20px; padding: 10px 20px;"><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">What is a Concurrent collection in C# ?</span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">BlockingCollection<T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">ConcurrentBag<T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">ConcurrentDictionary<TKey,T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">ConcurrentStack<T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">ConcurrentQueue<T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Summary</span></li>
</ul></blockquote><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">What is a Concurrent collection in C# ?</h3><div style="box-sizing: border-box; margin-bottom: 10px;">While working in a multithreaded environment, we need to make sure that we are not manipulating shared data at the same time without synchronizing access.</div><div style="box-sizing: border-box; margin-bottom: 10px;">The .NET Framework offers some collection classes to use in concurrent environments. Those are:<br style="box-sizing: border-box;" /><a href="http://www.csharpstar.com/wp-content/uploads/2016/02/Thread-Safe.jpg" rel="attachment wp-att-1234" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;"><img alt="Thread Safe collection" class="aligncenter size-full wp-image-1234" height="380" sizes="(max-width: 316px) 100vw, 316px" src="http://www.csharpstar.com/wp-content/uploads/2016/02/Thread-Safe.jpg" srcset="http://www.csharpstar.com/wp-content/uploads/2016/02/Thread-Safe.jpg 316w, http://www.csharpstar.com/wp-content/uploads/2016/02/Thread-Safe-249x300.jpg 249w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;" width="316" /></a></div><div style="box-sizing: border-box; margin-bottom: 10px;">These collections are thread-safe, that means they internally use synchronization to make sure that they can be accessed by multiple threads at the same time.</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">BlockingCollection<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;">This collection is mainly used for adding and removing data.</div><div style="box-sizing: border-box; margin-bottom: 10px;">Removing an item from the collection can be blocked until data becomes available.</div><div style="box-sizing: border-box; margin-bottom: 10px;">Adding data is fast, but you can set a maximum upper limit. If that limit is reached, adding an item blocks the calling thread until there is room.</div><div style="box-sizing: border-box; margin-bottom: 10px;">BlockingCollection is actually a wrapper around other collection types. If you don’t give it any specific instructions, it uses the ConcurrentQueue by default.</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">Working with BlockingCollection<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-572204e5aace7587096763" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 496px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-572204e5aace7587096763-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">20</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">21</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">22</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">23</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">24</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">25</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">26</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-27" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">27</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-28" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">28</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-29" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">29</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aace7587096763-30" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">30</div><div class="crayon-num" data-line="crayon-572204e5aace7587096763-31" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">31</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 712px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-572204e5aace7587096763-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Collections</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Concurrent</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Tasks</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line" id="crayon-572204e5aace7587096763-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionExample</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionProgram</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">BlockingCollection</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">string</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">col</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">BlockingCollection</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">string</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Task </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">read</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Task</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Run</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">while</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">true</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">col</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Take</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Task </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">write</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Task</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Run</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">while</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">true</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">string</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">s</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ReadLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">string</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">IsNullOrWhiteSpace</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">s</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">break</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">col</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Add</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">s</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-27" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-28" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">write</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Wait</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-29" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aace7587096763-30" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aace7587096763-31" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div style="box-sizing: border-box; margin-bottom: 10px;">The program terminates when the user doesn’t enter any data.</div><div style="box-sizing: border-box; margin-bottom: 10px;">Until that, every string entered is added by the write Task and removed by the read Task.<br style="box-sizing: border-box;" />You can use the CompleteAdding method to signal to the BlockingCollection that no more items will be added.</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">ConcurrentBag<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;">A ConcurrentBag is a bag of items. It enables duplicates and it has no particular order.The important methods in Concurrentbag are Add, TryTake, and TryPeek.</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">Working with ConcurrentBag<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-572204e5aacf3028707589" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 336px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf3028707589-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">20</div><div class="crayon-num" data-line="crayon-572204e5aacf3028707589-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">21</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 688px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-572204e5aacf3028707589-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Collections</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Concurrent</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Tasks</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line" id="crayon-572204e5aacf3028707589-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionExample</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionProgram</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentBag</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentBag</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Add</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">53</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Add</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">12</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">TryTake</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">out </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">TryPeek</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">out </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"There is a next item: {0}"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf3028707589-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aacf3028707589-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Output:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;">12<br style="box-sizing: border-box;" />There is a next item : 53</div><div style="box-sizing: border-box; margin-bottom: 10px;">Note, TryPeek method is not very useful in a multithreaded environment. It could be that another thread removes the item before you can access it</div><div style="box-sizing: border-box; margin-bottom: 10px;">ConcurrentBag also implements IEnumerable<t style="box-sizing: border-box;">, so you can iterate over it.<br style="box-sizing: border-box;" />This operation is made thread-safe by making a snapshot of the collection when you start iterating it, so items added to the collection after you started iterating it won’t be visible.</t></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">Enumerating a ConcurrentBag:</h3><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-572204e5aacf7701233675" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 416px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">20</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">21</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">22</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">23</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">24</div><div class="crayon-num" data-line="crayon-572204e5aacf7701233675-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">25</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacf7701233675-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">26</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 688px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-572204e5aacf7701233675-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Collections</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Concurrent</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Tasks</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionExample</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionProgram</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentBag</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentBag</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Task</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Run</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Add</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">53</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Thread</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Sleep</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1000</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Add</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">12</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Task</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Run</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">foreach</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-i" style="box-sizing: border-box; color: rgb(107, 218, 204) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">in</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">bag</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Wait</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aacf7701233675-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacf7701233675-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Output:</span></h3><div class="code-block code-block-11" style="box-sizing: border-box; margin: 8px 0px;"><ins class="adsbygoogle" data-ad-client="ca-pub-6247884371862797" data-ad-format="auto" data-ad-slot="7133347864" data-adsbygoogle-status="done" style="box-sizing: border-box; display: block; height: 60px;"><ins id="aswift_0_expand" style="background-color: transparent; border: none; box-sizing: border-box; display: inline-table; height: 60px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 718px;"><ins id="aswift_0_anchor" style="background-color: transparent; border: none; box-sizing: border-box; display: block; height: 60px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 718px;"><iframe allowfullscreen="true" allowtransparency="true" frameborder="0" height="60" hspace="0" id="aswift_0" marginheight="0" marginwidth="0" name="aswift_0" scrolling="no" style="box-sizing: border-box; left: 0px; max-width: 100%; position: absolute; top: 0px;" vspace="0" width="718"></iframe></ins></ins></ins></div><div style="box-sizing: border-box; margin-bottom: 10px;">This program will print 53 because the other value is added after iterating over the bag has started.</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">ConcurrentDictionary<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;">A ConcurrentDictionary stores key and value pairs in a thread-safe manner. You can use methods to add and remove items, and to update items in place if they exist.</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">Working with ConcurrentDictionary<Tkey,T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="code-block code-block-2" style="box-sizing: border-box; margin: 8px 0px;"><ins class="adsbygoogle" data-ad-client="ca-pub-6247884371862797" data-ad-format="auto" data-ad-slot="1193711469" data-adsbygoogle-status="done" style="box-sizing: border-box; display: block; height: 60px;"><ins id="aswift_1_expand" style="background-color: transparent; border: none; box-sizing: border-box; display: inline-table; height: 60px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 718px;"><ins id="aswift_1_anchor" style="background-color: transparent; border: none; box-sizing: border-box; display: block; height: 60px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 718px;"><iframe allowfullscreen="true" allowtransparency="true" frameborder="0" height="60" hspace="0" id="aswift_1" marginheight="0" marginwidth="0" name="aswift_1" scrolling="no" style="box-sizing: border-box; left: 0px; max-width: 100%; position: absolute; top: 0px;" vspace="0" width="718"></iframe></ins></ins></ins></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-572204e5aacfc108354703" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 416px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">20</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">21</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">22</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">23</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">24</div><div class="crayon-num" data-line="crayon-572204e5aacfc108354703-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">25</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aacfc108354703-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">26</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 688px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-572204e5aacfc108354703-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Collections</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Concurrent</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Tasks</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionExample</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionProgram</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">var</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">dict</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentDictionary</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">string</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">dict</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">TryAdd</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"k1"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">53</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"Added"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">dict</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">TryUpdate</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"k1"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">12</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">53</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"53 updated to 12"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">dict</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"k1"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">53</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-c" style="box-sizing: border-box; color: rgb(69, 139, 69) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">// Overwrite unconditionally</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">r1</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">dict</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">AddOrUpdate</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"k1"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">3</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">s</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e " style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i *</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">2</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">r2</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">dict</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">GetOrAdd</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"k2"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">3</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aacfc108354703-25" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aacfc108354703-26" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Output:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;">This program will print:<br style="box-sizing: border-box;" />Added<br style="box-sizing: border-box;" />53 updated to 12</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">ConcurrentStack<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;">A stack is a last in, first out (LIFO) collection.</div><div style="box-sizing: border-box; margin-bottom: 10px;">ConcurrentStack has two main methods: Push and TryPop.<br style="box-sizing: border-box;" />Push is used to add an item to the stack and TryPop is used to get an item off the stack.</div><div style="box-sizing: border-box; margin-bottom: 10px;">You can never be sure whether there are items on the stack because multiple threads might be accessing your collection at the same<br style="box-sizing: border-box;" />time.</div><div style="box-sizing: border-box; margin-bottom: 10px;">You can also add and remove multiple items at once by using PushRange and TryPopRange.</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">Working with ConcurrentStack<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-572204e5aad00814831686" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 384px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-572204e5aad00814831686-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">20</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">21</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">22</div><div class="crayon-num" data-line="crayon-572204e5aad00814831686-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">23</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad00814831686-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">24</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 688px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-572204e5aad00814831686-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Collections</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Concurrent</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Tasks</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionExample</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionProgram</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentStack</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">stack</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentStack</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">stack</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Push</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">53</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">stack</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">TryPop</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">out </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"Popped: {0}"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">stack</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">PushRange</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">1</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">2</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">3</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">values</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">[</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">2</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">]</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">stack</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">TryPopRange</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">values</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-20" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">foreach</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-i" style="box-sizing: border-box; color: rgb(107, 218, 204) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">in</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">values</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-21" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">i</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-22" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aad00814831686-23" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad00814831686-24" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Output:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;">Popped: 53<br style="box-sizing: border-box;" />3<br style="box-sizing: border-box;" />2</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">ConcurrentQueue<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;">A queue is a first in, first out (FIFO) collection.</div><div style="box-sizing: border-box; margin-bottom: 10px;">ConcurrentQueue has 2 main methods: Enqueue and TryDequeue.<br style="box-sizing: border-box;" />Enqueue and TryDequeue is used to add and remove items from the collection.</div><div style="box-sizing: border-box; margin-bottom: 10px;">It also has a TryPeek method and it implements IEnumerable by making a snapshot of the data.</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">Working with ConcurrentQueue<T> :</h3><div style="box-sizing: border-box; margin-bottom: 10px;"></div><div class="crayon-syntax crayon-theme-vs2012-black crayon-font-courier-new crayon-os-pc print-yes notranslate" data-settings=" minimize scroll-mouseover" id="crayon-572204e5aad04312049267" style="background: rgb(54, 50, 50) !important; border: 1px solid rgb(153, 153, 153) !important; box-sizing: border-box; direction: ltr !important; float: left; font-family: Monaco, MonacoRegular, 'Courier New', monospace; height: auto; line-height: 16px !important; margin: 15px 15px 15px 10px; overflow: hidden !important; padding: 0px; position: relative !important; text-shadow: none !important; width: 718px;"><div class="crayon-plain-wrap" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; height: auto !important; margin: 0px !important; padding: 0px !important;"><textarea class="crayon-plain print-no form-control" data-settings="dblclick" readonly="" style="background: rgb(238, 238, 238); border-radius: 0px; border: 0px; box-shadow: none; color: black; display: block; font-family: 'Courier New', monospace !important; font-size: 15px !important; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 304px; line-height: 16px !important; margin: 0px; opacity: 0; overflow: hidden; padding-left: 5px; padding-right: 5px; padding-top: 0px; position: absolute; resize: none; tab-size: 4; transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out; white-space: pre; width: 716px; word-wrap: normal; z-index: 0;" wrap="soft"></textarea></div><div class="crayon-main" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: 'Courier New', monospace !important; margin: 0px; overflow: hidden; padding: 0px; position: relative; width: 716px; z-index: 1;"><table class="crayon-table table" style="background: none !important; border-collapse: collapse !important; border-spacing: 0px !important; border: none !important; box-sizing: border-box; font-size: 12px; margin-bottom: 0px !important; margin-left: 0px; margin-right: 0px !important; margin-top: 0px !important; max-width: 100%; padding: 0px !important; table-layout: auto !important; width: auto !important;"><tbody style="box-sizing: border-box;">
<tr class="crayon-row" style="background: 0px 50%; border: none !important; box-sizing: border-box; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><td class="crayon-nums " data-settings="show" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; color: rgb(27, 162, 198) !important; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important;"><div class="crayon-nums-content" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-size: 15px !important; line-height: 16px !important; margin: 0px; padding: 0px; white-space: nowrap;"><div class="crayon-num" data-line="crayon-572204e5aad04312049267-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">1</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">2</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">3</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">4</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">5</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">6</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">7</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">8</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">9</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">10</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">11</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">12</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">13</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">14</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">15</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">16</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">17</div><div class="crayon-num crayon-striped-num" data-line="crayon-572204e5aad04312049267-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">18</div><div class="crayon-num" data-line="crayon-572204e5aad04312049267-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px; text-align: center;">19</div></div></td><td class="crayon-code" style="background: 0px 50%; border: 0px; box-sizing: border-box; line-height: 1.42857; margin: 0px !important; padding: 0px !important; vertical-align: top !important; width: 688px;"><div class="crayon-pre" style="background: none !important; border: none !important; box-sizing: border-box; color: rgb(255, 255, 255) !important; font-size: 15px !important; line-height: 16px !important; margin: 0px; overflow: visible; padding: 0px; tab-size: 4; white-space: pre;"><div class="crayon-line" id="crayon-572204e5aad04312049267-1" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-2" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Collections</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Concurrent</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-3" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Tasks</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-4" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">using </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">System</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Threading</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-5" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"> </div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-6" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">namespace</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionExample</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-7" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-8" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">class</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentCollectionProgram</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-9" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-10" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">public</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-m" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">static</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">void</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Main</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-11" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">{</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-12" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentQueue</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">queue</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">=</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-r" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">new</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">ConcurrentQueue</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"><</span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-o" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">></span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-13" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">queue</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Enqueue</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-cn" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">53</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-14" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-t" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">int</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-15" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-st" style="box-sizing: border-box; color: rgb(148, 204, 253) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">if</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">queue</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">TryDequeue</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">out </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-16" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">Console</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">.</span><span class="crayon-e" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">WriteLine</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">(</span><span class="crayon-s" style="box-sizing: border-box; color: rgb(183, 134, 134) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">"Dequeued: {0}"</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">,</span><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-v" style="box-sizing: border-box; color: rgb(227, 232, 234) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">result</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">)</span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">;</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-17" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line crayon-striped-line" id="crayon-572204e5aad04312049267-18" style="background-attachment: initial !important; background-clip: initial !important; background-image: initial !important; background-origin: initial !important; background-position: initial !important; background-repeat: initial !important; background-size: initial !important; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-h" style="box-sizing: border-box; color: rgb(0, 111, 224) !important; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;"> </span><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div><div class="crayon-line" id="crayon-572204e5aad04312049267-19" style="background: 0px 50%; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important; margin: 0px; padding: 0px 5px;"><span class="crayon-sy" style="box-sizing: border-box; font-family: inherit; font-size: inherit !important; font-weight: inherit !important; height: inherit; line-height: inherit !important;">}</span></div></div></td></tr>
</tbody></table></div></div><div style="box-sizing: border-box; margin-bottom: 10px;"></div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Output:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;">Dequeued: 53</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;">Summary:</h3><div style="box-sizing: border-box; margin-bottom: 10px;">In this article, we have discussed:</div><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">What is a Concurrent collections in C# ?</span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">BlockingCollection<T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">ConcurrentBag<T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">ConcurrentDictionary<TKey,T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">ConcurrentQueue<T></span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">ConcurrentStack<T></span></li>
</ul><div style="box-sizing: border-box; margin-bottom: 10px;">You may also like:</div><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/parallel-programming-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Parallel Programming in C#</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/threads-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Threads in C#</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/tasks-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Tasks in C#</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/csharp-parallel-linq/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">PLINQ in C#</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/canceling-tasks-in-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Cancelling Tasks in C#</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/call-method-asynchronously-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Call a method Asynchronously in C#</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/async-await-keyword-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">async and await keyword in C#</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/asynchronous-programming-csharp-async-and-await/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Asynchronous programming in C# using Async and Await keyword</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/split-work-among-processors-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Split Work Among Processors in C# using Parallel.For()</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/reader-writer-lock-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Use Reader-Writer Lock in C#</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/thread-synchronization-in-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Thread Synchronization</a></li>
<li style="box-sizing: border-box;"><a href="http://www.csharpstar.com/thread-safe-collections-csharp/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" target="_blank">Threadsafe Collection</a></li>
</ul><div style="box-sizing: border-box; margin-bottom: 10px;">Thanks for visiting !!</div><div style="box-sizing: border-box; margin-bottom: 10px;">© 2016, <a href="http://www.csharpstar.com/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;">admin</a>. All rights reserved.</div></div><br />
<br />
<br />
<br />
<br />
<br />
<br />
Special thanks to cSharpStar folks http://www.csharpstar.com/thread-safe-collections-csharp/Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-51241940615047372202016-04-18T11:14:00.002-04:002016-04-18T11:14:33.310-04:00About_JSON-WhyItIsInferiorToYAMLYAML it is not well know. Everyone like to hack its own data. XML hacking it is more painful that JSON hacking. In web people is used to hack and they love JSON. If you want real data structures used temporarely, use YAML. YAML is a super set of JSON, with native data structures immediatly translated into data.<br />
<br />
YAMLtoJSON<br />
https://www.npmjs.com/package/yaml-to-json<br />
<br />
http://yamltojson.com/<br />
<br />
YAMLconverter (JSON,XML,CSV)<br />
http://codebeautify.org/yaml-to-json-xml-csv<br />
<br />
JSONtoYAML<br />
http://jsontoyaml.com/<br />
<br />
http://www.json2yaml.com/<br />
<br />
JSON formatter (XML,CSV)<br />
http://jsonformatter.org/<br />
<br />
<br />
<br />
<br />Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-9071485147063980072016-04-14T09:44:00.000-04:002016-05-31T14:09:17.880-04:00About_SoftwareDesignGreat Article<br />
<br />
http://www.csharpstar.com/software-design-overview/<br />
<br />
<header class="entry-header" style="background-color: none; box-sizing: border-box; color: #333300; font-family: Imprima, sans-serif; font-size: 15px; line-height: 21.4286px;"><h1 class="page-header page-title entry-title" style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #2d2d2d; font-family: 'Pontano Sans', sans-serif !important; font-size: 36px; font-weight: 500; line-height: 1.1; margin: 40px 0px 20px; padding-bottom: 9px;"><strong style="box-sizing: border-box;"><a href="http://www.csharpstar.com/software-design-overview/" rel="bookmark" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;" title="Permalink to Software Design Overview">Software Design Overview</a></strong></h1></header><div class="entry-content" style="background-color: none; box-sizing: border-box; color: #333300; font-family: Imprima, sans-serif; font-size: 15px; line-height: 21.4286px;"><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">In this article, we will discuss:</span></h3><blockquote style="border-left-color: rgb(238, 238, 238); border-left-style: solid; border-left-width: 5px; box-sizing: border-box; font-size: 17.5px; margin: 0px 0px 20px; padding: 10px 20px;"><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Introduction to Software Design</span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Software Design Principles</span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Software Design Considerations</span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Software Design Process</span></li>
<li style="box-sizing: border-box;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Software Design Strategies and Methodologies</span></li>
</ul></blockquote><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-warning" style="box-sizing: border-box; color: #c09853;">In this article, we will understand what is software design in real IT world and why is it important ?</span></h4><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">What is Software Design?</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;"><a href="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design.jpg" rel="attachment wp-att-814" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;"><img alt="Software Design" class="aligncenter size-full wp-image-814" height="382" sizes="(max-width: 622px) 100vw, 622px" src="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design.jpg" srcset="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design-300x184.jpg 300w, http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design.jpg 622w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;" width="622" /></a></div><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">“Software design is the process of implementing software solutions to one or more set of problems. One of the important parts of software design is the software requirements analysis (SRA). It is a part of the software development process that lists specifications used in software engineering. ” ~Wiki</span></h4><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">“Software Design describes how software is decomposed and organized into components and the interfaces between those components. It also describes the component at a level of detail that enable their construction.” ~IEEE Definition</span></h4><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-warning" style="box-sizing: border-box; color: #c09853;">In my own words:</span></h4><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">“Software Design is the process of Analysing system requirements to enable building components and interfaces between those components.”</span></h4><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Software Design Principles:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;"><a href="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Principles.jpg" rel="attachment wp-att-816" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;"><img alt="Software Principles" class="aligncenter size-full wp-image-816" height="328" sizes="(max-width: 262px) 100vw, 262px" src="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Principles.jpg" srcset="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Principles-240x300.jpg 240w, http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Principles.jpg 262w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;" width="262" /></a></div><ol style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;"><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Abstraction</span></h4><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;">Process of Identifying the essential behavior, eliminating irrelevant details</li>
</ul></li>
<li style="box-sizing: border-box;"><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Coupling</span></h4><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;">Low coupling is recommended for good design</li>
<li style="box-sizing: border-box;">Advantages of loosely coupled system is changes in one module does not cause changes in other modules but in tightly coupled system, changes to one module causes changes in other modules.</li>
</ul></li>
<li style="box-sizing: border-box;"><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Modularity</span></h4><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;">System decomposed into a set of highly cohesive and loosely coupled modules</li>
</ul></li>
<li style="box-sizing: border-box;"><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Encapsulation</span></h4><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;">Abstraction is mainly achieved through information hiding.Objects encapsulate data and implementation details</li>
</ul></li>
<li style="box-sizing: border-box;"><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Cohesion</span></h4><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;">Modules with high cohesion is recommended because high cohesion is associated with characteristics such as robustness, reliability and reusability</li>
</ul></li>
<li style="box-sizing: border-box;"><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Sufficiency & Completeness</span></h4><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;">Ensuring the completeness and sufficiency of software with respect to given requirements</li>
</ul></li>
</ol><div style="box-sizing: border-box; margin-bottom: 10px;">Also we need to follow SOLID principles. You can read more on SOLID principles <strong style="box-sizing: border-box;"><a href="http://www.csharpstar.com/solid-design-principles-c/" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;">here</a></strong>.</div><div class="code-block code-block-11" style="box-sizing: border-box; margin: 8px 0px;"><ins class="adsbygoogle" data-ad-client="ca-pub-6247884371862797" data-ad-format="auto" data-ad-slot="7133347864" data-adsbygoogle-status="done" style="box-sizing: border-box; display: block; height: 60px;"><ins id="aswift_0_expand" style="background-color: transparent; border: none; box-sizing: border-box; display: inline-table; height: 60px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 718px;"><ins id="aswift_0_anchor" style="background-color: transparent; border: none; box-sizing: border-box; display: block; height: 60px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 718px;"><iframe allowfullscreen="true" allowtransparency="true" frameborder="0" height="60" hspace="0" id="aswift_0" marginheight="0" marginwidth="0" name="aswift_0" scrolling="no" style="box-sizing: border-box; left: 0px; max-width: 100%; position: absolute; top: 0px;" vspace="0" width="718"></iframe></ins></ins></ins></div><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Software Design Considerations:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;"><a href="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Considerations.jpg" rel="attachment wp-att-819" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;"><img alt="Software Design Considerations" class="aligncenter size-full wp-image-819" height="597" sizes="(max-width: 781px) 100vw, 781px" src="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Considerations.jpg" srcset="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Considerations-300x229.jpg 300w, http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Considerations-768x587.jpg 768w, http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Considerations.jpg 781w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;" width="781" /></a></div><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Software Design Process:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;"><a href="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Process.jpg" rel="attachment wp-att-823" style="background-color: transparent; box-sizing: border-box; color: #3399f3; text-decoration: none;"><img alt="Software Design Process" class="aligncenter size-full wp-image-823" height="474" sizes="(max-width: 548px) 100vw, 548px" src="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Process.jpg" srcset="http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Process-300x259.jpg 300w, http://www.csharpstar.com/wp-content/uploads/2016/01/Software_Design_Process.jpg 548w" style="border: 0px; box-sizing: border-box; display: block; height: auto; margin: 0px auto; max-width: 100%; vertical-align: middle;" width="548" /></a></div><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Architectural Design Decisions:</span></h4><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;">This is the stage between requirement specification and actual designs where we decide:<ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px;"><li style="box-sizing: border-box;">How to decompose the system into modules?</li>
<li style="box-sizing: border-box;">How the system will be distributed?</li>
<li style="box-sizing: border-box;">Which approach should be followed to define the system?</li>
<li style="box-sizing: border-box;">Which platform to be used?</li>
<li style="box-sizing: border-box;">WHat would be the communication topology etc..</li>
</ul></li>
</ul><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Logical and Physical Design Decisions:</span></h4><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;">In this stage the more detailed description for the component and sub component is provided</li>
<li style="box-sizing: border-box;">Logical design is more theoreetical and abstract than physical design</li>
</ul><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h3 style="box-sizing: border-box; color: #cc6600; font-family: 'Pontano Sans', sans-serif !important; font-size: 24px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 20px;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Software Design Strategies and Methodologies:</span></h3><div style="box-sizing: border-box; margin-bottom: 10px;">There are 2 major design methodologies.</div><div class="code-block code-block-2" style="box-sizing: border-box; margin: 8px 0px;"><ins class="adsbygoogle" data-ad-client="ca-pub-6247884371862797" data-ad-format="auto" data-ad-slot="1193711469" data-adsbygoogle-status="done" style="box-sizing: border-box; display: block; height: 60px;"><ins id="aswift_1_expand" style="background-color: transparent; border: none; box-sizing: border-box; display: inline-table; height: 60px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 718px;"><ins id="aswift_1_anchor" style="background-color: transparent; border: none; box-sizing: border-box; display: block; height: 60px; margin: 0px; padding: 0px; position: relative; visibility: visible; width: 718px;"><iframe allowfullscreen="true" allowtransparency="true" frameborder="0" height="60" hspace="0" id="aswift_1" marginheight="0" marginwidth="0" name="aswift_1" scrolling="no" style="box-sizing: border-box; left: 0px; max-width: 100%; position: absolute; top: 0px;" vspace="0" width="718"></iframe></ins></ins></ins></div><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;">Structured or functional decomposition</li>
<li style="box-sizing: border-box;">Object oriented approach</li>
</ul><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Structured Design Methodologies:</span></h4><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;">This is a systems approach to the analysis and <b style="box-sizing: border-box;">design</b> of information systems</li>
<li style="box-sizing: border-box;">There are multiple stages involved in it</li>
</ul><div style="box-sizing: border-box; margin-bottom: 10px;"><strong style="box-sizing: border-box;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Stage 1: Feasibility study</span></strong></div><div style="box-sizing: border-box; margin-bottom: 10px;">This is required to determine whether or not a given project is feasible.</div><div style="box-sizing: border-box; margin-bottom: 10px;">Technical – is the project technically possible?<br style="box-sizing: border-box;" />Financial – can the business afford to carry out the project?<br style="box-sizing: border-box;" />Organizational – will the new system be compatible with existing practices?<br style="box-sizing: border-box;" />Ethical – is the impact of the new system socially acceptable?</div><div style="box-sizing: border-box; margin-bottom: 10px;"><strong style="box-sizing: border-box;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Stage 2: Analysis on the Current environment</span></strong></div><div style="box-sizing: border-box; margin-bottom: 10px;">This is required to validate if the current environment can support the expected changes.</div><div style="box-sizing: border-box; margin-bottom: 10px;"><strong style="box-sizing: border-box;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Stage 3: Reuirement Specifications</span></strong></div><div style="box-sizing: border-box; margin-bottom: 10px;">In this stage, The requirement needs to be specified to build the new system</div><div style="box-sizing: border-box; margin-bottom: 10px;"><strong style="box-sizing: border-box;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Stage 4: Technical System Options</span></strong></div><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;">the hardware architectures</li>
<li style="box-sizing: border-box;">the software to use</li>
<li style="box-sizing: border-box;">the cost of the implementation</li>
<li style="box-sizing: border-box;">the staffing required</li>
<li style="box-sizing: border-box;">the physical limitations such as a space occupied by the system</li>
<li style="box-sizing: border-box;">the distribution including any networks which that may require</li>
<li style="box-sizing: border-box;">the overall format of the interface</li>
</ul><div style="box-sizing: border-box; margin-bottom: 10px;"><strong style="box-sizing: border-box;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Stage 5: Logical Design</span></strong></div><div style="box-sizing: border-box; margin-bottom: 10px;">The product of this stage is the logical design which is made up of:</div><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;">Data catalogue</li>
<li style="box-sizing: border-box;">Required logical data structure</li>
<li style="box-sizing: border-box;">Logical process model – includes dialogues and model for the update and inquiry processes</li>
<li style="box-sizing: border-box;">Design document at component and sub component level</li>
</ul><div style="box-sizing: border-box; margin-bottom: 10px;"><strong style="box-sizing: border-box;"><span class="text-success" style="box-sizing: border-box; color: #468847;">Stage 6: Physical Design</span></strong></div><div style="box-sizing: border-box; margin-bottom: 10px;">This is the final stage where all the logical specifications of the system are converted to descriptions of the system in terms of real hardware and software</div><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><h4 style="box-sizing: border-box; color: #065237; font-family: 'Pontano Sans', sans-serif !important; font-size: 18px; font-weight: 500; line-height: 1.1; margin-bottom: 10px; margin-top: 10px;"><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Object Oriented Design </span><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">Methodologies</span><span class="text-info" style="box-sizing: border-box; color: #3a87ad;">:</span></h4><div style="box-sizing: border-box; margin-bottom: 10px;">The five basic concepts of object-oriented design are the implementation level features that are built into the programming language.</div><div style="box-sizing: border-box; margin-bottom: 10px;">These features are often referred to by these common names:<br style="box-sizing: border-box;" /><strong style="box-sizing: border-box;"><span class="text-success" style="box-sizing: border-box; color: #468847;">1. Object/Class:</span></strong> A tight coupling or association of data structures with the methods or functions that act on the data. This is called a class, or object (an object is created based on a class). Each object serves a separate function. It is defined by its properties, what it is and what it can do. An object can be part of a class, which is a set of objects that are similar.<br style="box-sizing: border-box;" /><span class="text-success" style="box-sizing: border-box; color: #468847;"><strong style="box-sizing: border-box;">2. Information hiding:</strong> </span>The ability to protect some components of the object from external entities.<br style="box-sizing: border-box;" /><strong style="box-sizing: border-box;"><span class="text-success" style="box-sizing: border-box; color: #468847;">3. Inheritance: </span></strong>The ability for a class to extend or override functionality of another class. The subclass has a whole section that is derived (inherited) from the superclass and then it has its own set of functions and data.<br style="box-sizing: border-box;" /><span class="text-success" style="box-sizing: border-box; color: #468847;"><strong style="box-sizing: border-box;">4. Interface: </strong></span>The ability to defer the implementation of a method. The ability to define the functions or methods signatures without implementing them.<br style="box-sizing: border-box;" /><span class="text-success" style="box-sizing: border-box; color: #468847;">5. <strong style="box-sizing: border-box;">Polymorphism </strong></span>: The ability to replace an object with its subobjects. The ability of an object-variable to contain, not only that object, but also all of its subobjects.</div><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><div style="box-sizing: border-box; margin-bottom: 10px;">The input artifacts for object oriented designs are:</div><ul style="box-sizing: border-box; margin-bottom: 10px; margin-top: 0px;"><li style="box-sizing: border-box;">Conceptual model</li>
<li style="box-sizing: border-box;">Use case</li>
<li style="box-sizing: border-box;">System Sequence diagram</li>
<li style="box-sizing: border-box;">Relational data model etc..</li>
</ul><div style="box-sizing: border-box; margin-bottom: 10px;"><br />
</div><div style="box-sizing: border-box; margin-bottom: 10px;">We will look at each of the software design methodologies/strategies in detail in next articles</div></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-30134360885485371912016-04-05T10:11:00.002-04:002016-05-31T14:08:02.387-04:00DataScientistOrDataCurator<div class="tweet-this ng-scope" ng-controller="ArticleTweetQuoteController" ng-include="" src="template_src" style="background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-size: 21px; font-stretch: inherit; line-height: 21px; margin: 0px; padding: 0px; vertical-align: baseline;"><h6 class="ng-scope" style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; border: 0px; box-sizing: border-box; color: black; display: inline-block; font-family: 'Open Sans', sans-serif; font-size: 0.75em; font-stretch: normal; line-height: normal; margin: 0px; padding: 0.5em; text-transform: uppercase; vertical-align: baseline;">TWEET THIS</h6><ul class="ng-scope" style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; border-top-color: rgb(238, 238, 238); border-top-style: solid; border-width: 2px 0px 0px; box-sizing: border-box; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 0.9em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; list-style: none; margin: 0px; padding: 0px; vertical-align: baseline;"><li class="ng-binding ng-scope" ng-bind-html="tweet_quotes[$index]" ng-repeat="tweet in tweet_quotes track by $index" style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style: none; margin: 0px; padding: 0px; position: relative; vertical-align: baseline;"><span class="tweet_quote" style="border: 0px; box-sizing: border-box; color: black; font-family: 'Open Sans', sans-serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><a data-track="article-tweet-quote" href="https://twitter.com/intent/tweet?url=http%3A%2F%2Fonforb.es%2F21GZwf9&text=data%20scientists%20spend%20most%20of%20their%20time%20massaging%20rather%20than%20mining%20or%20modeling%20data" style="-webkit-tap-highlight-color: transparent; background-color: transparent; border: 0px; box-sizing: border-box; color: #333333; display: block; font-family: inherit; font-size: 0.75em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.125em; margin: 0px; padding: 0.7em 0px 0.7em 40px; position: relative; text-decoration: none; transition: background-color 0.2s ease-in-out; vertical-align: baseline;" target="_blank">data scientists found that they spend most of their time massaging rather than mining or modeling data.</a></span></li>
<li class="ng-binding ng-scope" ng-bind-html="tweet_quotes[$index]" ng-repeat="tweet in tweet_quotes track by $index" style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-width: 0px 0px 1px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; list-style: none; margin: 0px; padding: 0px; position: relative; vertical-align: baseline;"><span class="tweet_quote" style="border: 0px; box-sizing: border-box; color: black; font-family: 'Open Sans', sans-serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><a data-track="article-tweet-quote" href="https://twitter.com/intent/tweet?url=http%3A%2F%2Fonforb.es%2F21GZwf9&text=76%25%20of%20data%20scientists%20view%20data%20preparation%20as%20the%20least%20enjoyable%20part%20of%20their%20work" style="-webkit-tap-highlight-color: transparent; background-color: transparent; border: 0px; box-sizing: border-box; color: #333333; display: block; font-family: inherit; font-size: 0.75em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.125em; margin: 0px; padding: 0.7em 0px 0.7em 40px; position: relative; transition: background-color 0.2s ease-in-out; vertical-align: baseline;" target="_blank">76% of data scientists view data preparation as the least enjoyable part of their work</a></span></li>
</ul></div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">A new survey of <span class="tweet_quote" style="border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 3px 0px 0px; vertical-align: baseline;"><a href="https://twitter.com/intent/tweet?url=http%3A%2F%2Fonforb.es%2F21GZwf9&text=data%20scientists%20spend%20most%20of%20their%20time%20massaging%20rather%20than%20mining%20or%20modeling%20data" style="-webkit-tap-highlight-color: transparent; background-color: transparent; border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 0px 0px 0.3em; text-decoration: none; transition: background-color 0.2s ease-in-out; vertical-align: baseline;" target="_blank">data scientists found that they spend most of their time massaging rather than mining or modeling data.<span style="border: 0px; box-sizing: border-box; color: #55acee; display: inline-block; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 1em; line-height: inherit; margin: 0px; overflow: hidden; padding: 0px 0.25em; position: relative; vertical-align: baseline; width: 1.15em;"></span></a></span> Still, most are happy with having <a href="http://www.forbes.com/sites/gilpress/2012/09/27/data-scientists-the-definition-of-sexy/#fd2d94d5187a" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">the sexiest job of the 21<sup style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: 14.7px; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px;">st</sup>century</a>. The survey of about 80 data scientists was conducted for the second year in a row by CrowdFlower, provider of a “data enrichment” platform for data scientists. Here are the highlights:</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Data preparation</em></span><em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> accounts for about 80% of the work of data scientists</em></div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><img alt="Time" class=" size-large wp-image-4429" data-height="511" data-width="1200" src="http://blogs-images.forbes.com/gilpress/files/2016/03/Time-1200x511.jpg" style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">Data scientists spend 60% of their time on cleaning and organizing data. Collecting data sets comes second at 19% of their time, meaning data scientists spend around 80% of their time on preparing and managing data for analysis.</div><div class="tweet_line" style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><span class="tweet_quote" style="border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 3px 0px 0px; vertical-align: baseline;"><a href="https://twitter.com/intent/tweet?url=http%3A%2F%2Fonforb.es%2F21GZwf9&text=76%25%20of%20data%20scientists%20view%20data%20preparation%20as%20the%20least%20enjoyable%20part%20of%20their%20work" style="-webkit-tap-highlight-color: transparent; background-color: transparent; border: 0px; box-sizing: border-box; color: black; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px 0px 0px 0.3em; text-decoration: none; transition: background-color 0.2s ease-in-out; vertical-align: baseline;" target="_blank">76% of data scientists view data preparation as the least enjoyable part of their work<span style="border: 0px; box-sizing: border-box; color: #55acee; display: inline-block; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: 1em; line-height: inherit; margin: 0px; overflow: hidden; padding: 0px 0.25em; position: relative; vertical-align: baseline; width: 1.15em;"></span></a></span></div><div article-ad-inbody="inread" class="inread ng-isolate-scope inread-active" id="article-0-inread" style="background-color: none; border: 0px; box-sizing: border-box; clear: both; color: #444444; font-size: 21px; font-stretch: inherit; line-height: 21px; margin: 0px; padding: 0px; vertical-align: baseline;"></div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">57% of data scientists regard cleaning and organizing data as the least enjoyable part of their work and 19% say this about collecting data sets.</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><img alt="Least Enjoyable" class=" size-large wp-image-4435" data-height="511" data-width="1200" src="http://blogs-images.forbes.com/gilpress/files/2016/03/Least-Enjoyable4-1200x511.jpg" style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" /></div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">These findings are yet another confirmation of a very widely known and lamented fact of the data scientist’s work experience. In 2009, data scientist Mike Driscoll popularized the term “data munging,” describing the “painful process of cleaning, parsing, and proofing one’s data” as one of <a href="http://medriscoll.com/post/4740157098/the-three-sexy-skills-of-data-geeks" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_blank">the three sexy skills of data geeks</a>. In 2013, Josh Wills (then director of Data <a href="http://www.forbes.com/science/" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">Science</a>at Cloudera, now Director of Data Engineering at <span article-quote-card="" class="quotecard ng-isolate-scope" data-exchange="null" data-link="/companies/slack" data-name="Slack" data-naturalid="fred/company/102483" data-quotes-closing="0.0" data-quotes-now="0.0" data-ticker="null" data-type="organization" style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><a class="ng-binding" href="http://www.forbes.com/companies/slack" ng-href="http://www.forbes.com/companies/slack" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">Slack</a> </span>) told <em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Technology Review</em> “I’m a data janitor. That’s the sexiest job of the 21st century. It’s very flattering, but it’s also a little baffling.” And <a href="https://twitter.com/BigDataBorat" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">Big Data Borat</a> tweeted that “Data Science is 99% preparation, 1% misinterpretation.”</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">Given that the <a href="http://www.forbes.com/sites/gilpress/2015/10/03/these-are-the-skills-you-need-to-eventually-become-a-240000-unicorn-data-scientist/#aa9b9915701f" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">median annual <em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">base salary</em></a> in the U.S. of <a href="http://www.forbes.com/sites/gilpress/2015/04/30/the-supply-and-demand-of-data-scientists-what-the-surveys-say/#5daeaba5205e" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">the hard-to-find and much-in-demand data scientists</a> was $104,000 last year, a number of startups have focused on automating a solution to this essential but boring task. In his <a href="http://mattturck.com/2016/02/01/big-data-landscape/#more-917" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;">2016 Big Data Landscape</a>, Matt Turck lists a number of them in the “data transformation” box plus companies (such as CrowdFlower) that are addressing this need with crowdsourcing (both in the “infrastructure” section).</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><a href="http://www.forbes.com/investing/" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">Investing</a> in solutions to messy data will continue and IDC has predicted that through 2020,<a href="http://www.forbes.com/sites/gilpress/2015/12/15/6-predictions-for-big-data-analytics-and-cognitive-computing-in-2016/#7341f305409e" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">spending on self-service visual discovery and data preparation tools</a> will grow 2.5x faster than traditional IT-controlled tools for similar functionality. Following the same trend, Forrester predicted that in 2016, machine learning will begin to replace manual “data wrangling” (another endearing term like “data munging”) and data governance dirty work, and that vendors will market these solutions as a way to make data ingestion, preparation, and discovery quicker.</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">Indeed, 55% of the respondents to the CrowdFlower survey agreed with Forrester, predicting that over the next year <em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">machine learning will have (or will continue to have) a significant importance for their companies and their departments</em>.</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">Other findings:</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">35% of data scientists gave their job the highest mark possible</em>.</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Only 14% of data scientists felt they were being held back by their tools.</em></div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">What data scientists want most is more support and direction from their management or executive team (27%).</em></div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">Finally, CrowdFlower looked at nearly 4,000 data science job postings on <span article-quote-card="" class="quotecard ng-isolate-scope" data-exchange="NYSE" data-link="/companies/linkedin" data-name="LinkedIn" data-naturalid="fred/company/90846" data-quotes-closing="115.31" data-quotes-now="114.95" data-ticker="LNKD" data-type="organization" style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><a class="ng-binding" href="http://www.forbes.com/companies/linkedin" ng-href="http://www.forbes.com/companies/linkedin" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #003891; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">LinkedIn</a> <span class="card-preview ng-scope" ng-if="ticker" ng-mouseleave="hideQuotecard()" ng-mouseover="showQuotecard()" style="border: 0px; box-sizing: border-box; display: inline-block; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin: 0px; padding: 0px; position: relative; vertical-align: baseline;"><a class="preview negative" href="http://www.forbes.com/companies/linkedin" ng-href="http://www.forbes.com/companies/linkedin" style="-webkit-tap-highlight-color: transparent; background-color: #faeceb; border-radius: 4px; border: 1px solid rgb(246, 219, 217); box-sizing: border-box; color: #555555; font-family: 'Open Sans', sans-serif; font-size: 0.6em; font-stretch: normal; font-weight: 600; line-height: normal; margin: 0px; padding: 0px 3px; text-decoration: none; vertical-align: baseline;" target="_self">LNKD -0.31%</a></span></span>to find out what skills organizations wanted from their new hires. Last year they found that the skills most in demand were programming and coding. This year, they looked for more specific data science tools that are mentioned in job posting.</div><div article-ad-inbody="inread" class="inread ng-isolate-scope inread-active" id="article-0-inread" style="background-color: none; border: 0px; box-sizing: border-box; clear: both; color: #444444; font-size: 21px; font-stretch: inherit; line-height: 21px; margin: 0px; padding: 0px; vertical-align: baseline;"></div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 21px; font-stretch: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;">Here are the <span style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><em style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Top 10 in-demand skills for data scientists</em></span>:</div><div class="table-wrapper" style="background-color: none; border: 0px; box-sizing: border-box; color: #444444; font-size: 21px; font-stretch: inherit; line-height: 21px; margin: 10px 0px; overflow-x: auto; padding: 0px; vertical-align: baseline; width: 865.984px;"><table style="border-collapse: collapse; border-spacing: 0px; border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><tbody style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
<tr style="background: rgb(238, 238, 238); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118"><span style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Skills</span></td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244"><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; border: 0px; box-sizing: border-box; font-family: Georgia, 'Times New Roman', Times, serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin-bottom: 1em; padding: 0px; vertical-align: baseline;"><br />
</div><div style="-webkit-margin-after: 0px; -webkit-margin-before: 0px; -webkit-padding-start: 0px; border: 0px; box-sizing: border-box; font-family: Georgia, 'Times New Roman', Times, serif; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: 1.4em; margin-bottom: 1em; margin-top: 1em; padding: 0px; vertical-align: baseline;"><span style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: 700; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">% of jobs with skill</span></div></td></tr>
<tr style="background: rgb(221, 221, 221); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">SQL</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">56%</td></tr>
<tr style="background: rgb(238, 238, 238); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">Hadoop</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">49%</td></tr>
<tr style="background: rgb(221, 221, 221); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">Python</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">39%</td></tr>
<tr style="background: rgb(238, 238, 238); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">Java</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">36%</td></tr>
<tr style="background: rgb(221, 221, 221); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">R</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">32%</td></tr>
<tr style="background: rgb(238, 238, 238); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">Hive</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">31%</td></tr>
<tr style="background: rgb(221, 221, 221); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">Mapreduce</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">22%</td></tr>
<tr style="background: rgb(238, 238, 238); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">NoSQL</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">18%</td></tr>
<tr style="background: rgb(221, 221, 221); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118">Pig</td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">16%</td></tr>
<tr style="background: rgb(238, 238, 238); border-bottom-color: rgb(255, 255, 255); border-bottom-style: solid; border-width: 0px 0px 2px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="118"><span article-quote-card="" class="quotecard ng-isolate-scope" data-exchange="null" data-link="/companies/sas" data-name="SAS" data-naturalid="fred/company/13194" data-quotes-closing="0.0" data-quotes-now="0.0" data-ticker="null" data-type="organization" style="border: 0px; box-sizing: border-box; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><a class="ng-binding" href="http://www.forbes.com/companies/sas" ng-href="http://www.forbes.com/companies/sas" style="-webkit-tap-highlight-color: transparent; border: 0px; box-sizing: border-box; color: #0f2e60; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; text-decoration: none; vertical-align: baseline;" target="_self">SAS</a></span></td><td style="border-left-color: rgb(255, 255, 255); border-left-style: solid; border-width: 0px 0px 0px 1px; box-sizing: border-box; font-family: 'Open Sans', sans-serif; font-size: 0.8em; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 3px 5px; vertical-align: baseline;" width="244">16%</td></tr>
</tbody></table></div><br />
<br />
Thank you to Gil Press<br />
http://www.forbes.com/sites/gilpress/#3851863c7c39<br />
Who wrote:<br />
http://www.forbes.com/sites/gilpress/2016/03/23/data-preparation-most-time-consuming-least-enjoyable-data-science-task-survey-says/#2c8c65937f75<br />
His site:<br />
http://whatsthebigdata.com/Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-81093096005198734262016-04-04T16:11:00.002-04:002016-06-07T08:50:40.977-04:00DidYouKnowAboutR<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
R<br />
</h3>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="http://www.r-project.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The R Project for Statistical Computing / Software</a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://www.datacamp.com/courses" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Learn Data Science with R / Tutorials</a></div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#basic-r" id="user-content-basic-r" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Basic R</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;">R in a Nutshell <a href="http://amzn.to/1s54OBf" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">O'Reilly / Book <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">$41</code></a></li>
<li style="box-sizing: border-box;">Software Design: The Art of R Programming <a href="http://amzn.to/1mqzpWw" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">O'Reilly / Book <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">$23</code></a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#basic-statistics-with-r" id="user-content-basic-statistics-with-r" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Basic Statistics with R</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;">An Introduction to Statistical Learning <a href="http://www-bcf.usc.edu/~gareth/ISL/ISLR%20First%20Printing.pdf" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Book pdf</a> ^also a Machine Learning resource</li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#data-science-with-r" id="user-content-data-science-with-r" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Data Science with R</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;">Introduction to Data Science <a href="http://jsresearch.net/index.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Syracuse University / ebook</a></li>
<li style="box-sizing: border-box;">Learn R & Become a Data Analyst <a href="https://www.datacamp.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tutorial</a></li>
<li style="box-sizing: border-box;">Doing Data Science: Straight Talk from the Frontline <a href="http://amzn.to/1vAIscK" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">O'Reilly / Book <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">$25</code></a></li>
<li style="box-sizing: border-box;">Practical Data Science with R <a href="http://www.manning.com/zumel/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Manning Publications / Book <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">$49.99</code></a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#statistical-learning-with-r" id="user-content-statistical-learning-with-r" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Statistical Learning with R</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;">Statistical Learning <a href="https://class.stanford.edu/courses/HumanitiesScience/StatLearning/Winter2014/about" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Stanford / OpenEdX Course</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#forecasting-with-r" id="user-content-forecasting-with-r" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Forecasting with R</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;">Forecasting: Principles and Practice <em style="box-sizing: border-box;">(Regression, Time Series, Forecasting)</em> <a href="http://otexts.com/fpp/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Monash University / Book</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#visualization-with-r" id="user-content-visualization-with-r" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Visualization with R</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;">Viz and Elegant Graphics in R: ggplot2 <a href="http://amzn.to/1fZMXVd" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Springer / Book <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">$65</code></a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#machine-learning-with-r" id="user-content-machine-learning-with-r" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>Machine Learning with R</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;">Guide to Getting Started in Machine Learning <a href="http://abeautifulwww.com/2009/10/11/guide-to-getting-started-in-machine-learning/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tutorial</a></li>
<li style="box-sizing: border-box;">Machine Learning in R <a href="http://blog.revolutionanalytics.com/2009/09/machine-learning-in-r-in-a-nutshell.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tutorial</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#r-libraries" id="user-content-r-libraries" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>R Libraries</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;">Natural Language Toolkit <a href="http://cran.r-project.org/web/packages/openNLP/index.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">OpenNLP</a></li>
<li style="box-sizing: border-box;">Text Mining <a href="http://cran.r-project.org/web/packages/tm/index.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">tm</a></li>
<li style="box-sizing: border-box;">Basic Viz <a href="http://cran.r-project.org/web/packages/wordcloud/index.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">wordcloud</a></li>
<li style="box-sizing: border-box;">Network Modeling & Viz <a href="http://cran.r-project.org/web/packages/igraph/index.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">igraph</a></li>
<li style="box-sizing: border-box;">Basic Machine Learning <a href="http://cran.r-project.org/web/packages/e1071/index.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">e1071</a></li>
<li style="box-sizing: border-box;">Kernel Method <a href="http://cran.r-project.org/web/packages/kernlab/index.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">kernlab</a></li>
<li style="box-sizing: border-box;">Chinese Language Processing <a href="http://jliblog.com/app/rwordseg" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Rwordseg</a></li>
<li style="box-sizing: border-box;">Chinese Weibo Analysis <a href="http://jliblog.com/app/rweibo" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Rweibo</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#r-datasets" id="user-content-r-datasets" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>R Datasets</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;"><a href="http://vincentarelbundock.github.io/Rdatasets/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Rdatasets</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/datasciencemasters/go/blob/master/r-resources.md#r-blogs--media" id="user-content-r-blogs--media" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><svg aria-hidden="true" class="octicon octicon-link" height="16" role="img" version="1.1" viewbox="0 0 16 16" width="16"><path d="M4 9h1v1h-1c-1.5 0-3-1.69-3-3.5s1.55-3.5 3-3.5h4c1.45 0 3 1.69 3 3.5 0 1.41-0.91 2.72-2 3.25v-1.16c0.58-0.45 1-1.27 1-2.09 0-1.28-1.02-2.5-2-2.5H4c-0.98 0-2 1.22-2 2.5s1 2.5 2 2.5z m9-3h-1v1h1c1 0 2 1.22 2 2.5s-1.02 2.5-2 2.5H9c-0.98 0-2-1.22-2-2.5 0-0.83 0.42-1.64 1-2.09v-1.16c-1.09 0.53-2 1.84-2 3.25 0 1.81 1.55 3.5 3 3.5h4c1.45 0 3-1.69 3-3.5s-1.5-3.5-3-3.5z"></path></svg></a>R Blogs & Media</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 0px !important; margin-top: 0px; padding-left: 2em;">
<li style="box-sizing: border-box;"><a href="http://www.r-bloggers.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">R-bloggers</a> R news and tutorials contributed by (452) R bloggers ####R interactive visualizations</li>
<li style="box-sizing: border-box;"><a href="http://shiny.rstudio.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Shiny</a> Interactive web application framework for R</li>
</ul>
<div>
LINK https://github.com/datasciencemasters/go/blob/master/r-resources.md</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-28839489676473984152016-04-04T15:58:00.000-04:002016-05-31T14:05:34.292-04:00ReversingStringsUsingCSharp<h2 style="background-color: none; border: 0px; color: #444444; font-family: Monda, sans-serif; font-size: 26px; font-stretch: inherit; letter-spacing: -1px; line-height: 1.4; margin: 0px 0px 12px; padding: 0px; vertical-align: baseline;">Our Logic in CSharp (C#):</h2><pre style="background: none; border: 0px; color: #555555; font-family: monospace, consolas, sans-serif; font-size: 14px; font-stretch: inherit; line-height: 1.3em; margin-bottom: 20px; margin-top: 5px; overflow: auto; padding: 8px 10px; vertical-align: baseline;"><span style="border: 0px; color: blue; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">string</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> input = </span><span style="border: 0px; color: #a31515; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">"DS tech blog"</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">;
</span><span style="border: 0px; color: blue; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">string</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> result = </span><span style="border: 0px; color: blue; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">string</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">.Join(</span><span style="border: 0px; color: #a31515; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">" "</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">, input
</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> .Split(</span><span style="border: 0px; color: #a31515; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">' '</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">)
</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> .Select(x => </span><span style="border: 0px; color: blue; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">new</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> </span><span style="border: 0px; color: #2b91af; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">String</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">(x.Reverse().ToArray())));
</span><span style="border: 0px; color: #2b91af; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Console</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">.WriteLine(result);
</span></pre><h2 style="background-color: none; border: 0px; color: #444444; font-family: Monda, sans-serif; font-size: 26px; font-stretch: inherit; letter-spacing: -1px; line-height: 1.4; margin: 0px 0px 12px; padding: 0px; vertical-align: baseline;">Remember to include the below <span style="border: 0px; color: maroon; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">using</span> statements:</h2><div><pre style="background: none; border: 0px; color: #555555; font-family: monospace, consolas, sans-serif; font-size: 14px; font-stretch: inherit; line-height: 1.3em; margin-bottom: 20px; margin-top: 5px; overflow: auto; padding: 8px 10px; vertical-align: baseline;"><span style="border: 0px; color: blue; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">using</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> System;
</span><span style="border: 0px; color: blue; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">using</span><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"> System.Linq; </span></pre></div><pre style="background: none; border: 0px; color: #555555; font-family: monospace, consolas, sans-serif; font-size: 14px; font-stretch: inherit; line-height: 1.3em; margin-bottom: 20px; margin-top: 5px; overflow: auto; padding: 8px 10px; vertical-align: baseline;"><a href="http://i2.wp.com/dipendrashekhawat.com/wp-content/uploads/2016/03/How-to-reverse-each-word-in-a-string-using-c-Program.png?w=957" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="http://i2.wp.com/dipendrashekhawat.com/wp-content/uploads/2016/03/How-to-reverse-each-word-in-a-string-using-c-Program.png?w=957" height="210" width="320" /></a><span style="border: 0px; color: black; font-family: "consolas"; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">
<img alt="How-to-reverse-each-word-in-a-string-using-c#" class="size-full wp-image-889" src="http://i2.wp.com/dipendrashekhawat.com/wp-content/uploads/2016/03/How-to-reverse-each-word-in-a-string-using-c-Program.png?resize=957%2C630" data-recalc-dims="1" sizes="(max-width: 957px) 100vw, 957px" srcset="http://i2.wp.com/dipendrashekhawat.com/wp-content/uploads/2016/03/How-to-reverse-each-word-in-a-string-using-c-Program.png?resize=300%2C197 300w, http://i2.wp.com/dipendrashekhawat.com/wp-content/uploads/2016/03/How-to-reverse-each-word-in-a-string-using-c-Program.png?w=957 957w" style="border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; height: auto !important; line-height: inherit; margin: 0px; max-width: 100%; padding: 0px; vertical-align: baseline;" />
</span></pre><h2 style="background-color: none; border: 0px; color: #444444; font-family: Monda, sans-serif; font-size: 26px; font-stretch: inherit; letter-spacing: -1px; line-height: 1.4; margin: 0px 0px 12px; padding: 0px; vertical-align: baseline;">Explanation for the above code:</h2><div style="background-color: none; border: 0px; color: #555555; font-family: Helvetica, arial, sans-serif; font-size: 14px; font-stretch: inherit; line-height: 22px; margin-bottom: 20px; padding: 0px; vertical-align: baseline;">Split the input string using a single space as the separator.</div><ul style="background-color: none; border: 0px; color: #555555; font-family: Helvetica, arial, sans-serif; font-size: 14px; font-stretch: inherit; line-height: 22px; list-style: circle; margin: 0.5em 0px 1.571em 1.9em; padding: 0px; vertical-align: baseline;"><li style="border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><strong style="border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Split()</strong> method for returning a string array that contains each word of the input string.</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><strong style="border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Select</strong> method for constructing a new string array, by reversing each character in each word.</li>
<li style="border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; font-weight: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;"><strong style="border: 0px; font-family: inherit; font-size: inherit; font-stretch: inherit; font-style: inherit; font-variant: inherit; line-height: inherit; margin: 0px; padding: 0px; vertical-align: baseline;">Join</strong> method for converting the string array into a string.</li>
</ul>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-86714935021822763782015-11-23T10:51:00.001-05:002015-11-24T14:39:50.742-05:00MindExpandingBooks<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; padding-bottom: 0.3em;">
Mind Expanding Books <a href="https://github.com/sindresorhus/awesome" style="box-sizing: border-box; color: #4078c0; text-decoration: none;"><img alt="Awesome" data-canonical-src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" src="https://camo.githubusercontent.com/13c4e50d88df7178ae1882a203ed57b641674f94/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" /></a></h1>
<blockquote style="border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 4px; box-sizing: border-box; color: #777777; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin: 0px 0px 16px; padding: 0px 15px;">
<div style="box-sizing: border-box;">
<div style="text-align: justify;">
Original Source: <a href="http://www.quora.com/What-are-some-of-the-books-that-expand-your-mind" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Quora - What are some of the books that expand your mind</a>.</div>
</div>
</blockquote>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Table of Contents</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#startups-and-business" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Startups and Business</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#philosophy-and-psychology" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Philosophy and Psychology</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#history" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">History</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#science-and-medicine" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Evolution, Science and Medicine</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#logic-and-problem-solving" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Logic and Problem Solving</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#politics" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Politics</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#sexuality" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sexuality</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#education" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Education</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#writing" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Writing</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#theater-and-film" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Theater and Film</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#humor" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Humor</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#fiction" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Fiction</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#health" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Health</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books#design" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Design</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Books</h2>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
Startups and Business</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/18050143-zero-to-one" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Zero to One</a> by Peter Thiel, Blake Masters</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/41793.Hackers_Painters" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hackers and Painters</a> by Paul Graham</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7155145-linchpin" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Linchpin: Are You Indispensable</a> by Seth Godin</li>
<li style="box-sizing: border-box;"><a href="http://www.goodreads.com/book/show/242472.The_Black_Swan" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Black Swan: The Impact of the Highly Improbable</a> by Nassim Nicholas Taleb</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2612.The_Tipping_Point" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Tipping Point: How Little Things Can Make a Big Difference</a> by Malcolm Gladwell</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/9420697-the-compound-effect" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Compound Effect</a> by Darren Hardy</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/76865.Good_to_Great" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Good to Great: Why Some Companies Make the Leap And Others Don't</a> by Jim Collins</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/762542.The_Four_Steps_to_the_Epiphany" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Four Steps to the Epiphany</a> by Steve Blank</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/15801967-contagious" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Contagious: Why Things Catch On</a> by Jonah Berger</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/15751404-david-and-goliath" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">David and Goliath: Underdogs, Misfits, and the Art of Battling Giants</a> by Malcolm Gladwell</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/13588394-the-signal-and-the-noise" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Signal and the Noise: Why So Many Predictions Fail--but Some Don't</a> by Nate Silver</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/18176747-the-hard-thing-about-hard-things" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Hard Thing About Hard Things: Building a Business When There Are No Easy Answers</a> by Ben Horowitz</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/10639.The_Paradox_of_Choice" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Paradox of Choice: Why More Is Less</a> by Barry Shwartz</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/914211.Influencer" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Influencer: The New Science of Leading Change</a> by Joseph Grenny, Kerry Patterson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/37875.The_Art_of_the_Start" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Art of the Start: The Time-Tested, Battle-Hardened Guide for Anyone Starting Anything</a> by Guy Kawasaki</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/98233.Founders_at_Work" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Founders At Work: Stories Of Startups Early Days</a> by Jessica Livingston</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/10127019-the-lean-startup" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Lean Startup: How Constant Innovation Creates Radically Successful Businesses</a> by Eric Ries</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6732019-rework" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">ReWork: Change the Way You Work Forever</a> by David Heinemeier Hansson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/81948.The_E_Myth_Revisited" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The E-Myth Revisited: Why Most Small Businesses Don't Work and What to Do About It</a> by Michael E. Gerber</li>
<li style="box-sizing: border-box;"><a href="http://www.goodreads.com/book/show/6828896-delivering-happiness" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Delivering Happiness: A Path to Profits, Passion, and Purpose</a> by Tony Hsieh</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/211099.Losing_My_Virginity" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Losing My Virginity: How I Survived, Had Fun, and Made a Fortune Doing Business My Way</a> by Richard Branson</li>
<li style="box-sizing: border-box;"><a href="http://www.goodreads.com/book/show/68985.The_Power_of_Full_Engagement" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Power of Full Engagement: Managing Energy, Not Time, is the Key to High Performance and Personal Renewal</a> by Jim Loehr, Tony Schwartz</li>
<li style="box-sizing: border-box;"><a href="http://www.goodreads.com/book/show/6667514-the-checklist-manifesto" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Checklist Manifesto: How To Get Things Right</a> by Atul Gawande</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/12605157-the-100-startup" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The $100 Startup: Reinvent the Way You Make a Living, Do What You Love, and Create a New Future</a> by Chris Guillebeau</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/15815598-big-data" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data: A Revolution That Will Transform How We Live, Work, and Think</a> by Kenneth Cukier</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6342995-the-score-takes-care-of-itself" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Score Takes Care of Itself: My Philosophy of Leadership</a> by Bill Walsh, Steve Jamison, Craig Walsh</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/9203287-the-thank-you-economy" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Thank You Economy</a> by Gary Vaynerchuk</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2601510-crowdsourcing" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Crowdsourcing: Why the Power of the Crowd Is Driving the Future of Business</a> by Jeff Howe</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/8034188-where-good-ideas-come-from" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Where Good Ideas Come From</a> by Steven Johnson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/99919.The_Strategy_and_Tactics_of_Pricing" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Strategy and Tactics of Pricing : A Guide to Move More Profitable</a> by Thomas Nagle, John Hogan, Joseph Zale</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/95429.Leaving_Microsoft_to_Change_the_World" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Leaving Microsoft to Change the World: An Entrepreneur's Odyssey to Educate the World's Children</a> by John Wood</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1565533.The_22_Immutable_Laws_of_Branding" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The 22 Immutable Laws Of Branding</a> by Laura Ries and Al Ries</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/69571.Rich_Dad_Poor_Dad" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Rich Dad Poor Dad : What The Rich Teach Their Kids About Money That The Poor And Middle Class Don't</a> by Robert T. Kiyosaki</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/work/quotes/3364437-outliers-the-story-of-success" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Outliers: Story of Success by</a> Malcolm Gladwell</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/368593.The_4_Hour_Workweek" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The 4-Hour Work Week: Escape the 9-5, Live Anywhere and Join the New Rich by</a> Thomas Ferriss</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/96593.The_Success_Principles" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Get From Where You Are to Where You Want to Be : The 25 Principles of Success by</a>Jack Canfield, Janet Switzer</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1633.Getting_Things_Done" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Getting Things Done: The Art of Stress-Free Productivity</a> by David Allen</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6402364-superfreakonomics" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">SuperFreakonomics: Global Cooling, Patriotic Prostitutes, and Why Suicide Bombers Should Buy Life Insurance</a> by Steven D. Litt</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6553353-strategy-for-sustainability" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Strategy for Sustainability: A Business Manifesto</a> by Adam Werbach</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/8032112-the-big-short" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Big Short: Inside the Doomsday Machine</a> by Michael Lewis</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/603985.Who_Says_Elephants_Can_t_Dance_" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Who Says Elephants Can't Dance?: Leading a Great Enterprise through Dramatic Change</a> by Louis V Gerstner, Jr</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/95656.The_Ten_Faces_of_Innovation" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Ten Faces of Innovation</a> by Tom Kelley</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6687247-too-big-to-fail" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Too Big to Fail</a> by Andrew Ross Sorkin</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2615.The_Innovator_s_Dilemma" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Innovator's Dilemma</a> by clayton m. christensen</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/4052.The_PayPal_Wars" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Paypal Wars</a> by Eric M. Jackson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/22456.The_Origin_of_Wealth" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Origin of Wealth</a> by Eric D. Beinhocker</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/11223478-one-click" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">One Click: Jeff Bezos and the Rise of Amazon.com</a> by Richard Brandt</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7614793-cognitive-surplus" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Cognitive Surplus: Creativity and Generosity in a Connected Age</a> by Clay Shirky</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1081413.Super_Crunchers" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Super Crunchers: Why Thinking-By-Numbers is the New Way To Be Smart</a> by Ian Ayres by Ian Ayres</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7162410-the-curse-of-the-mogul" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Curse of the Mogul</a> by Jonathan A. Knee, Bruce C. Greenwald, Ava Seave</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
Philosophy And Psychology</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/10534.The_Art_of_War" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Art of War</a> by Sun Tzu</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1713426.Predictably_Irrational" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Predictably Irrational</a> by Dan Ariely</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/11468377-thinking-fast-and-slow" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Thinking, Fast and Slow</a> by Daniel Kahneman</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6516450-what-the-dog-saw-and-other-adventures" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What the Dog Saw: and other adventures</a> by Malcolm Gladwell</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/93409.The_Fine_Art_of_Small_Talk" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Fine Art of Small Talk: How To Start a Conversation, Keep It Going, Build Networking Skills -- and Leave a Positive Impression by Debra Fine</a></li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7015403-the-gifts-of-imperfection" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gifs of Immperfection</a> by Brene Brown</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/8520610-quiet" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Quiet: The Power of Introverts in a World That Can't Stop Talking</a> by Susan Cain</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6289283-born-to-run" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Born to Run: A Hidden Tribe, Superathletes, and the Greatest Race the World Has Never Seen</a> by Christopher McDougall</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7815744-the-upside-of-irrationality" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Upside of Irrationality: The Unexpected Benefits of Defying Logic</a> by Dan Ariely</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/300300.Why_Smart_People_Can_Be_So_Stupid" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Why Smart People Can Be So Stupid</a> by Robert J Sternberg</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/582533.Creative_Visualization" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Creative Visualization: Use the Power of Your Imagination to Create What You Want in Your Life</a>by Shakti Gawain</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/315425.In_Defense_of_Food" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">In Defense of Food: An Eater's Manifesto</a> by Michael Pollan</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6262510-rapt" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Rapt: Attention and the Focused Life: Winifred Gallagher</a> by Winifred Gallagher</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/147222.You_Just_Don_t_Understand" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">You Just Don't Understand: Women and Men in Conversation</a> by Deborah Tannen</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/4865.How_to_Win_Friends_and_Influence_People" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Win Friends and Influence People by Dale Carnegie</a></li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/17707599-moral-tribes" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Moral Tribes: Emotion, Reason, and the Gap Between Us and Them</a> by Joshua Greene</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/5040579-why-we-make-mistakes" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Why We Make Mistakes: How We Look Without Seeing, Forget Things in Seconds, and Are All Pretty Sure We Are Way Above Average</a> by Joseph T. Hallinan</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7090193-tattoos-on-the-heart" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tattoos on the Heart: The Power of Boundless Compassion</a> by Gregory Boyle</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/66354.Flow" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Flow: The Psychology of Optimal Experience</a> by Mihaly Csikszentmihalyi</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/17978489-the-future-of-the-mind" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Future of the Mind: The Scientific Quest to Understand, Enhance, and Empower the Mind</a> by Michio Kaku</li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Why Does the World Exist?: An Existential Detective Story</a> by Jim Holt</li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Alone Together: Why We Expect More from Technology and Less from Each Others</a> by Sherry Turkle</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/8694125-alone-together" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Supernormal: Science, Yoga, and the Evidence for Extraordinary Psychic Abilities</a> by Dean Radin</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/83321.Irrational_Man" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Irrational Man: A Study in Existential Philosophy</a> by William Barrett</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/12609433-the-power-of-habit" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Power of Habit: Why We Do What We Do In Life And Business</a> by Charles Duhigg</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/18224060-the-concise-48-laws-of-power" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Concise 48 Laws of Power</a> by Robert Greene</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/29506.Prisoner_s_Dilemma" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Prisoner's Dilemma</a> by William Poundstone</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/328734.The_Ethical_Brain" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Ethical Brain: The Science of Our Moral Dilemmas</a> by Michael S. Gazzaniga</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1581330.Snoop" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Snoop: What Your Stuff Says About You: Sam Gosling</a> by Sam Gosling</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/373969.The_Stuff_of_Thought" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Stuff of Thought: Language as a Window into Human Nature</a> by Steven Pinker</li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Blank Slate: The Modern Denial of Human Nature by</a> Steven Pinker</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/5752.The_Blank_Slate" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Influence: The Psychology of Persuasion</a> by Robert B. Cialdini</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/12263681-the-age-of-insight" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Age of Insight: The Quest to Understand the Unconscious in Art, Mind, and Brain, from Vienna 1900 to the Present</a> by Eric Kandel</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/99315.A_Whole_New_Mind" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A Whole New Mind: Why Right-Brainers Will Rule the Future by</a> by Daniel H. Pink</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/49176.Games_People_Play" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Games People Play: The Basic Handbook of Transactional Analysis</a> by Eric Berne.</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/112731.How_to_Win_Every_Argument" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Win Every Argument: The Use and Abuse of Logic</a> by Madsen Pirie</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/402843.Zen_Mind_Beginner_s_Mind" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Zen Mind, Beginner's Mind</a> by Shunryu Suzuki, David Chadwick</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/10483171-the-beginning-of-infinity" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Beginning of Infinity: Explanations That Transform the World</a> by David Deutsch</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/13035774-this-will-make-you-smarter" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">This Will Make You Smarter: New Scientific Concepts to Improve Your Thinking</a> by John Brockman</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/18378002-intuition-pumps-and-other-tools-for-thinking" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Intuition Pumps And Other Tools for Thinking</a> by Daniel C. Dennett</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/12838972-just-the-arguments" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Just the Arguments: 100 of the Most Important Arguments in Western Philosophy</a> by Michael Bruce, Steven Barbone</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/243685.A_History_of_Western_Philosophy" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The History of Western Philosophy</a> by Bertrand Russell</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/18528861-the-truth-about-everything" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Truth About Everything: An Irreverent History of Philosophy : With Illustrations</a> by Matthew Stewart</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/588147.Bulfinch_s_Mythology" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Bulfinch's Mythology</a>by Thomas Bulfinch</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/55981.Consilience" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Consilience: The Unity of Knowledge</a> by Edward O. Wilson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/757403.Every_Thing_Must_Go" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Every Thing Must Go: Metaphysics Naturalized</a> by James Ladyman, Don Ross, et al</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/13530973-antifragile" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Antifragile: Things That Gain from Disorder (Incerto)</a> by Nassim Nicholas Taleb</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/181239.Metamagical_Themas" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Metamagical Themas: Questing For The Essence Of Mind And Pattern</a> by Douglas Hofstadter</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/353435.Education_and_the_Significance_of_Life" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Education and the Significance of Life</a> by Krishnamurti</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/34459.Metaphors_We_Live_By" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Metaphors We Live By</a> by George Lakoff, Mark Johnson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/588138.The_Hero_With_a_Thousand_Faces" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Hero with a Thousand Faces</a> Joseph Campbell</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/106732.The_User_Illusion" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The User Illusion: Cutting Consciousness Down to Size</a> by Tor Norretranders</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1008488.Outsmarting_Iq" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Outsmarting IQ: The Emerging Science of Learnable Intelligence</a> by David Perkins</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6283340-spent" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Spent: Sex, Evolution, and Consumer Behavior</a> by Geoffrey Miller</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/12651.The_Social_Contract" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Social Contract</a> by Jean-Jacques Rousseau, Maurice Cranston</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/100247.Vagabonding" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Vagabonding: An Uncommon Guide to the Art of Long-Term World Travel</a> by Rolf Potts</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#history" id="user-content-history" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>History</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/143980.The_Rise_and_Fall_of_the_British_Empire" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Rise and Fall of the British Empire</a> by Lawrence James</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2714607-the-ascent-of-money" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Ascent of Money: A Financial History of the World</a> by Niall Ferguson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/29608.The_Codebreakers" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Codebreakers: The Comprehensive History of Secret Communication from Ancient Times to the Internet</a> by David Kahn</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7776209-the-rational-optimist" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Rational Optimist: How Prosperity Evolves (P.S.)</a> by Matt Ridley</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2606779-one-minute-to-midnight" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">One Minute to Midnight: Kennedy, Khrushchev, and Castro on the Brink of Nuclear War</a> by Michael Dobbs</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/173187.The_Nazi_Doctors" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Nazi Doctors: Medical Killing and the Psychology of Genocide</a> by Robert Jay Lifton</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/10475421-civilization" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Civilization: The West and the Rest: Niall Ferguson</a> by Niall Ferguson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/714380.The_Discoverers" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Discoverers</a> by Daniel J. Boorstin</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/58233.From_Dawn_to_Decadence" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">From Dawn to Decadence: 500 Years of Western Cultural Life 1500 to the Present by</a> Jacques Barzun</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/8201080-the-master-switch" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Master Switch: The Rise and Fall of Information Empires</a> by Tim Wu</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6617037-debt" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Debt - Updated and Expanded: The First 5,000 Years</a> by David Graeber</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/36086.The_Ghost_Map" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Ghost Map: The Story of London's Most Terrifying Epidemic--and How It Changed Science, Cities, and the Modern World</a> by Steven Johnson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1842.Guns_Germs_and_Steel" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Guns, Germs, And Steel : The Fates Of Human Societies</a> by Jared M. Diamond</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/9491855-why-the-west-rules-for-now" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Why the West Rules--for Now: The Patterns of History, and What They Reveal About the Future</a>by Ian Morrisage</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/10799.A_Farewell_to_Arms" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A Farewell to Alms : A Brief Economic History of the World: A Brief Economic History of the World</a>by Gregory Clark</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/8890989-churchill-s-secret-war" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Churchill's Secret War: The British Empire and the Ravaging of India during World War II</a> by Madhusree Mukerjee</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/13330422-the-revenge-of-geography" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Revenge of Geography: What the Map Tells Us About Coming Conflicts and the Battle Against Fate</a> by Robert D. Kaplan</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2096.God_Created_The_Integers" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">God Created The Integers: The Mathematical Breakthroughs that Changed History</a> by Stephen Hawking</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/%3C1911%20class=%22The_World_Is_Flat%22%3E%3C/1911" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The World Is Flat: A Brief History of the Twenty-first Century</a> by Thomas L. Friedman</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#science-and-medicine" id="user-content-science-and-medicine" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Science and Medicine</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/61539.The_Structure_of_Scientific_Revolutions" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Structure of Scientific Revolutions: 50th Anniversary Edition</a> by Thomas S. Kuhn</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/24113.G_del_Escher_Bach" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gödel, Escher, Bach: An Eternal Golden Braid</a> by Douglas R. Hofstadter</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/9778945-the-shallows" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Shallows: What the Internet is Doing to Our Brains</a> by Nicholas Carr</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/3869.A_Brief_History_of_Time" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A Brief History of Time</a> by Stephen Hawking</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/21.A_Short_History_of_Nearly_Everything" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A Short History of Nearly Everything</a> by Bill Bryson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/32145.Stiff" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Stiff: The Curious Lives of Human Cadavers</a> by Mary Roach</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/977262.Asimov_s_New_Guide_To_Science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Asimov's New Guide to Science</a> by Isaac Asimov</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/733691.The_Symbolic_Species" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Symbolic Species: The Co-evolution of Language and the Brain</a> by Terrence W. Deacon</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6033964-the-10-000-year-explosion" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The 10,000 Year Explosion: How Civilization Accelerated Human Evolution</a> by Gregory Cochran, Henry Harpending</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/254489.Origins_of_Genius" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Origins of Genius: Darwinian Perspectives on Creativity</a> by Dean Keith</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/319006.At_Home_in_the_Universe" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">At Home in the Universe: The Search for the Laws of Self-Organization and Complexity</a> by Stuart Kauffman</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/14721.The_Wealth_of_Networks" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Wealth of Networks: How Social Production Transforms Markets and Freedom</a> by Yochai Benkler</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/172645.Heaven_in_a_Chip" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Heaven in a Chip: Fuzzy Visions of Society and Science in the Digital Age</a> by Bart Kosko</li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Outer Limits of Reason: What Science, Mathematics, and Logic Cannot Tell Us</a> by Noson S. Yanofsky</li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Selfish Gene</a> by Richard Dawkins</li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Mind Wars: Brain Research and National Defense</a> by Jonathan D. Moreno</li>
<li style="box-sizing: border-box;"><a href="https://github.com/hackerkid/Mind-Expanding-Books/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Evolution for Everyone: How Darwin's Theory Can Change the Way We Think About Our Lives</a> by David Sloan Wilson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2068.Darwin_s_Dangerous_Idea" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Darwin's Dangerous Idea</a> Daniel C. Dennett</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6745893-the-new-executive-brain" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The New Executive Brain: Frontal Lobes in a Complex World</a> by Elkhonon Goldberg</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/11148989-catching-fire" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Catching Fire: How Cooking Made Us Human</a> by Richard Wrangham</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/270881.The_Quark_and_the_Jaguar" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Quark and the Jaguar: Adventures in the Simple and the Complex</a> by Murray Gell-Mann</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/164560.Figments_of_Reality" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Figments of Reality: The Evolution of the Curious Mind</a> by Ian Stewart, Jack Cohen</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7551498-how-to-find-a-habitable-planet" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Find a Habitable Planet</a> by James kasting</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1752295.Scientific_Genius" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Scientific Genius: A Psychology of Science</a> Dean Keith Simonton</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/61538.The_Extended_Phenotype" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Extended Phenotype: The Long Reach of the Gene</a> Richard Dawkins</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/88552.Rare_Earth" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Rare Earth: Why Complex Life is Uncommon in the Universe</a> Peter D. Ward, Donald Brownlee</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/648195.Mind_Children" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Mind Children: The Future of Robot and Human Intelligence</a> by Hans Moravec.</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/548914.The_Little_Schemer" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Little Schemer</a> by Daniel P. Friedman, Matthias Felleisen, Duane Bibby, Gerald J. Sussman</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/16080353-out-of-control" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Out of Control: The New Biology of Machines, Social Systems, and the Economic World</a> by Kevin Kelly</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#logic-and-problem-solving" id="user-content-logic-and-problem-solving" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Logic and Problem Solving</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/493576.What_Is_the_Name_of_This_Book_" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What Is the Name of This Book?: The Riddle of Dracula and Other Logical Puzzles</a> by Raymond M. Smullyan</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/192221.How_to_Solve_It" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Solve It: A New Aspect of Mathematical Method</a> by George Polya</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/55436.Labyrinths_of_Reason" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Labyrinths of Reason: Paradox, Puzzles, and the Frailty of Knowledge</a> by William Poundstone</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#politics" id="user-content-politics" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Politics</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/149206.Resource_Wars" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Resource Wars: The New Landscape of Global Conflict</a> by Michael Klare</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/493371.The_Bottom_Billion" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Bottom Billion: Why the Poorest Countries are Failing and What Can Be Done About It</a> by Paul Collier</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/698866.The_Myth_of_the_Rational_Voter" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Myth of the Rational Voter: Why Democracies Choose Bad Policies</a> by Bryan Caplan</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6452731-justice" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Justice: What's the Right Thing to Do?</a> by Michael J. Sandel</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6694937-game-change" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Game Change: Obama and the Clintons, McCain and Palin, and the Race of a Lifetime</a> by John Heilemann, Mark Halperin</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/11515298-currency-wars" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Currency Wars: The Making of the Next Global Crisis</a> by James Rickards</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/9742.The_Audacity_of_Hope" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Audacity of Hope: Thoughts on Reclaiming the American Dream</a> by Barack Obama</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/11324722-the-righteous-mind" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Righteous Mind: Why Good People are Divided by Politics and Religion</a> by Jonathan Haidt</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2064279.Economic_Facts_and_Fallacies" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Economic Facts and Fallacies</a> by Thomas Sowell</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#sexuality" id="user-content-sexuality" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Sexuality</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/7640261-sex-at-dawn" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sex at Dawn: The Prehistoric Origins of Modern</a> by Christopher Ryan, Cacilda Jetha</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/13569582-the-sex-myth" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Sex Myth</a> by Brooke Magnanti</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#education" id="user-content-education" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Education</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/857333.The_Art_of_Learning" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Art of Learning: An Inner Journey to Optimal Performance</a> by Josh Waitzkin</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/573009.How_Children_Fail" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How Children Fail</a> by John Holt</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6425208-wounded-by-school" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Wounded by School: Recapturing the Joy in Learning and Standing Up to Old School Culture</a> by Kirsten Olson, Sara Lawrence-Lightfoot, Parker J. Palmer</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/178734.Summerhill" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Summerhill School: A New View of Childhood</a> by A. S. Neill, Albert Lamb</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/703532.Mindstorms" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Mindstorms: Children, Computers, And Powerful Ideas</a> by Seymour A. Papert</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/409588.Curious_Minds" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Curious Minds: How a Child Becomes a Scientist</a> by John Brockman</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/79681.Teaching_as_a_Subversive_Activity" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Teaching as a Subversive Activity</a> by Neil Postman, Charles Weingartner</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#writing" id="user-content-writing" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Writing</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/12909101-hat-box" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hat Box: The Collected Lyrics of Stephen Sondheim</a> by Stephen Sondheim</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/120549.Clear_and_Simple_as_the_Truth" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Clear and Simple as the Truth</a> by Francis-Noël Thomas, Mark Turner</li>
<li style="box-sizing: border-box;"><a href="http://www.goodreads.com/book/show/20821371-the-sense-of-style" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Sense of Style: The Thinking Person's Guide to Writing in the 21st Century</a> by Steven Pinker</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#theater-and-film" id="user-content-theater-and-film" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Theater and Film</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/2141.In_the_Blink_of_an_Eye" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">In the Blink of an Eye: A Perspective on Film Editing</a> by Walter Murch</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/306940.Impro" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Impro: Improvisation and the Theatre</a> by Keith Johnstone</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/166207.A_Practical_Handbook_for_the_Actor" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A Practical Handbook for the Actor</a> by Melissa Bruder, Lee Michael Cohn, Madeleine Olnek, Nathaniel Pollack, Robert Previtio, Scott Zigler, David Mamet</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/611466.The_Actor_and_the_Target" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Actor and the Target</a> by Declan Donnellan</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/808735.How_to_Stop_Acting" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Stop Acting</a> by Harold Guskin</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/3493241-different-every-night" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Different Every Night: Putting the play on stage and keeping it fresh</a> by Mike Alfreds</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/254808.Notes_on_Directing" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Notes on Directing: 130 Lessons in Leadership from the Director's Chair</a> by Frank Hauser, Russell Reich</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#shakespeare" id="user-content-shakespeare" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Shakespeare</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1334872.Thinking_Shakespeare" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Thinking Shakespeare: A How-to Guide for Student Actors, Directors, and Anyone Else Who Wants to Feel More Comfortable With the Bard</a> by Barry Edelstein.</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/33179.Hamlet_in_Purgatory" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hamlet in Purgatory</a> by Stephen Greenblatt</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/625956.Hamlet_Revenge_" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hamlet and Revenge</a> by Eleanor Prosser</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/428615.Shakespeare_s_Metrical_Art" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Shakespeare's Metrical Art</a> George T. Wright</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#humor" id="user-content-humor" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Humor</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/9010.I_Hope_They_Serve_Beer_in_Hell" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">I Hope They Serve Beer In Hell by Tucker Max</a></li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#fiction" id="user-content-fiction" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Fiction</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/19063.The_Book_Thief" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Book Thief</a> by Markus Zusak</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/4473.A_Prayer_for_Owen_Meany" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A Prayer for Owen Meany</a> by John Irving</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/4667024-the-help" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Help</a> by Kathryn Stockett</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/10959.Sophie_s_World" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sophie's World: A Novel About the History of Philosophy</a> by Jostein Gaarder and Paulette Moller</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/18143977-all-the-light-we-cannot-see" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">All the Light We Cannot See</a> by Anthony Doerr</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/374233.If_on_a_Winter_s_Night_a_Traveler" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">If on a Winter's Night a Traveler</a> by Italo Calvino and William Weaver</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/113310.The_Eight" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Eight</a> by Katherine Neville</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/830.Snow_Crash" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Snow Crash</a> by Neal Stephenson</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/14935.Sense_and_Sensibility" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sense and Sensibility</a> by Jane Austen</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/5107.The_Catcher_in_the_Rye" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Catcher in the Rye</a> by J.D. Salinger</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/16631.Steppenwolf" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Steppenwolf: A Novel</a> by Hermann Hesse, Basil Creighton</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/16634.The_Glass_Bead_Game" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Glass Bead Game</a> by Hermann Hesse, Richard and Clara Winston</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/10031.The_Wall" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Wall: (Intimacy) and Other Stories</a> by Jean-Paul Sartre, Lloyd Alexander</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/4934.The_Brothers_Karamazov" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Brothers Karamazov</a> Fyodor Dostoevsky, Richard Pevear, Larissa Volokhonsky</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/1885.Pride_and_Prejudice" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Pride And Prejudice</a> by Jane Austen</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6969.Emma" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Emma</a> by Jane Austen</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/6185.Wuthering_Heights" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Wuthering Heights</a> by Emily Bronte</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/17728.The_House_of_Mirth" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The House of Mirth</a> by Edith Wharton</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/80689.The_Fifth_Sacred_Thing" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Fifth Sacred Thing</a> by Starhawk</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/460635.The_Bone_People" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Bone People</a> by Keri Hulme</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/62794.Confessions_of_a_Mask" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Confessions of a Mask</a> by Yukio Mishima</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/4703581-the-city-the-city" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The City & The City</a> by China Mieville</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/37813.Letters_from_the_Earth" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Letters From The Earth</a> by Mark Twain</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/320.One_Hundred_Years_of_Solitude" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">One Hundred Years of Solitude</a> byGabriel Garcia Marquez, Gregory Rabassa</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/332613.One_Flew_Over_the_Cuckoo_s_Nest" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">One Flew Over the Cuckoo's Nest</a> by Ken Kesey</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/76620.Watership_Down" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Watership Down: A Novel</a> by Richard Adams</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/51019.Cat_s_Eye" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Cat's Eye</a> by Margaret Atwood</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/31242.Bleak_House" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Bleak House</a> by Charles Dickens</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/256008.Lonesome_Dove" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Lonesome Dove</a> by Larry McMurtry</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/62022.The_Queen_s_Gambit" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Queen's Gambit</a> by Walter Tevis</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/656.War_and_Peace" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">War and Peace</a> by Leo Tolstoy</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#health" id="user-content-health" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Health</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/37124.8_Weeks_to_Optimum_Health" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">8 Weeks to Optimum Health</a> by Andrew Weil</li>
</ul>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#design" id="user-content-design" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Design</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/79766.A_Pattern_Language" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Pattern Language: Towns, Buildings, Construction</a> by Christopher Alexander, Sara Ishikawa, Murray Silverstein, Max Jacobson, Ingrid Fiksdahl-King and Shlomo Angel</li>
<li style="box-sizing: border-box;"><a href="https://www.goodreads.com/book/show/18197267-don-t-make-me-think-revisited" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Don't Make Me Think, Revisited: A Common Sense Approach to Web Usability</a> by Steve Krug</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/hackerkid/Mind-Expanding-Books#license" id="user-content-license" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>License</h2>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<div style="text-align: justify;">
<a href="http://creativecommons.org/publicdomain/zero/1.0/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;"><img alt="CC0" data-canonical-src="http://i.creativecommons.org/p/zero/1.0/88x31.png" src="https://camo.githubusercontent.com/c5160f944848828fa33126d9a697e9abe43ea98f/687474703a2f2f692e6372656174697665636f6d6d6f6e732e6f72672f702f7a65726f2f312e302f38387833312e706e67" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" /></a></div>
</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px;">
<div style="text-align: justify;">
To the extent possible under law, <a href="http://www.vishnuks.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Vishnu Ks</a> has waived all copyright and related or neighboring rights to this work.</div>
</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-29567879892917475182015-11-23T10:49:00.001-05:002015-11-23T10:49:00.757-05:00AwesomeGroovy<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; padding-bottom: 0.3em;">
Awesome Groovy <a href="https://github.com/sindresorhus/awesome" style="box-sizing: border-box; color: #4078c0; text-decoration: none;"><img alt="Awesome" data-canonical-src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" src="https://camo.githubusercontent.com/13c4e50d88df7178ae1882a203ed57b641674f94/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" /></a></h1>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Curated list of awesome groovy libraries, frameworks and resources. Inspired by many other awesome-* repositories. This awesome collection is also available on <a href="https://groovy.zeef.com/kunal.dabir" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy.ZEEF.com</a>.</div>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#awesome-groovy" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Awesome Groovy</a><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#build-tools-and-setup" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Build Tool and Setup</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#concurrency" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Concurrency</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#database" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Database</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy/blob/master/rich-applications" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Desktop App Framworks</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#http" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">HTTP</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#ide-and-editor-support" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">IDE and Editor Support</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#testing" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Testing</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#code-analysis" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Code analysis</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#web-frameworks" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Web Frameworks</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#transpilers" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Transpilers</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#static-web" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Static Web</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#language-utilities" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Language Utilities</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#file-system-utilities" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">File System Utilities</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#file-format-dsl" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">File Format DSL</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#scripting-tools" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Scripting Tools</a></li>
</ul>
</li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#resources" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Resources</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#contributing" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Contributing</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/awesome-groovy#credits" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Credits</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#build-tools-and-setup" id="user-content-build-tools-and-setup" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Build tools and Setup</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://www.gradle.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gradle</a> - A powerful build system for the JVM</li>
<li style="box-sizing: border-box;"><a href="http://sdkman.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">SDKMAN</a> - The Software Development Kit Manager (Previously known as GVM)</li>
<li style="box-sizing: border-box;"><a href="https://github.com/pledbrook/lazybones" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Lazybones</a> - A simple project creation tool that uses packaged project templates.</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#ide-and-editor-support" id="user-content-ide-and-editor-support" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>IDE and Editor Support</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://www.jetbrains.com/idea/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">IntelliJ IDEA</a> - The Most Intelligent IDE for the Java Platform</li>
<li style="box-sizing: border-box;"><a href="http://spring.io/tools/ggts" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy Grails Tool Suite</a> - Eclipse-based IDE optimized for developing, debugging and executing Groovy and Grails applications</li>
<li style="box-sizing: border-box;"><a href="http://groovyconsole.appspot.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy Web Console</a> - The online Groovy console</li>
<li style="box-sizing: border-box;"><a href="https://github.com/rundis/LightTable-Groovy" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">LightTable Plugin</a> - LightTable Support</li>
<li style="box-sizing: border-box;"><a href="https://gist.github.com/kdabir/2203530" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sublime Text 2</a> - Run groovy scripts from Sublime Text</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#web-frameworks" id="user-content-web-frameworks" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Web Frameworks</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/grails/grails" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Grails</a> - A powerful web application framework based on the Groovy language</li>
<li style="box-sizing: border-box;"><a href="https://github.com/gaelyk/gaelyk" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gaelyk</a> - A lightweight Groovy toolkit for Google App Engine Java</li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/glide" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Glide</a> - Create awesome apps on Google App Engine in a snap</li>
<li style="box-sizing: border-box;"><a href="https://github.com/ratpack/ratpack" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Ratpack</a> - A toolkit for JVM web applications</li>
<li style="box-sizing: border-box;"><a href="https://github.com/javaConductor/gserv" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">gServ</a> - A Groovy toolkit for creating SPAs and REST based micro-services without the need for a container (Tomcat, JBoss, etc.).</li>
<li style="box-sizing: border-box;"><a href="http://projects.spring.io/spring-boot" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Spring-Boot</a> - Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that can you can "just run"</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#database" id="user-content-database" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Database</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/poiati/gmongo" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gmongo</a> - A Groovy wrapper to the mongodb Java driver</li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/gstorm" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gstorm</a> - A simple ORM for simple databases and CSV files to be used in groovy scripts</li>
<li style="box-sizing: border-box;"><a href="https://github.com/EqualExperts/Tayra" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tayra</a> - Incremental backup tool for MongoDB</li>
<li style="box-sizing: border-box;"><a href="https://github.com/tlberglund/groovy-liquibase" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy-liquibase</a> - Yet Another Groovy DSL for Liquibase</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#rich-application" id="user-content-rich-application" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Rich Application</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://griffon.codehaus.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Griffon</a> - Griffon is an application framework for developing desktop applications in the JVM</li>
<li style="box-sizing: border-box;"><a href="http://groovyfx.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">GroovyFx</a> - GroovyFX provides a Groovy binding for JavaFX 2.0.</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#http" id="user-content-http" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>HTTP</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://groovy.codehaus.org/modules/http-builder/home.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Http-Builder</a> - HTTPBuilder is the easiest way to manipulate HTTP-based resources from the JVM</li>
<li style="box-sizing: border-box;"><a href="https://github.com/eginez/AsyncRestClient" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">AsyncRestClient</a> - Combine the power of RESTClient with RxGroovy for async http calls</li>
<li style="box-sizing: border-box;"><a href="https://github.com/jwagenleitner/groovy-wslite" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy-wslite</a> - Lightweight SOAP and REST webservice clients for Groovy</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#testing" id="user-content-testing" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Testing</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/spockframework/spock" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Spock</a> - The Enterprise-ready testing and specification framework.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/geb/geb" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Geb</a> - Very Groovy Browser Automation</li>
<li style="box-sizing: border-box;"><a href="http://freeside.co/betamax/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Betamax</a> - Betamax is a tool for mocking external HTTP resources such as web services and REST APIs in your tests.</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#concurrency" id="user-content-concurrency" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Concurrency</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://gpars.codehaus.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">GPars</a> - The GPars concurrency and parallelism framework for the JVM</li>
<li style="box-sizing: border-box;"><a href="https://github.com/ReactiveX/RxGroovy" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">RxGroovy</a> - RxJava bindings for Groovy</li>
<li style="box-sizing: border-box;"><a href="http://vertx.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Vertx</a> - Vert.x is a lightweight, high performance application platform for the JVM</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#code-analysis" id="user-content-code-analysis" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Code Analysis</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://codenarc.sourceforge.net/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">CodeNarc</a> - Static analysis tool for Groovy</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#transpilers" id="user-content-transpilers" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Transpilers</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/chiquitinxx/grooscript" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Grooscript</a> - Converts your Groovy code to Javascript</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#static-web" id="user-content-static-web" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Static Web</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/sysgears/grain" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Grain</a> - Static Web Site Building Framework For Groovy</li>
<li style="box-sizing: border-box;"><a href="https://github.com/kobo/gaiden" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gaiden</a> - Gaiden is a tool that makes it easy to create documentation with Markdown.</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#language-utilities" id="user-content-language-utilities" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Language Utilities</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/mperry/functionalgroovy" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Functionalgroovy</a> - Functional programming in Groovy</li>
<li style="box-sizing: border-box;"><a href="https://github.com/timyates/groovy-stream" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy-stream</a> - A collection of classes to give a fluent builder for Streams (Lazy Groovy Generators)</li>
<li style="box-sizing: border-box;"><a href="https://github.com/johnnywey/flipside" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Flipside</a> - Simple Groovy options library</li>
<li style="box-sizing: border-box;"><a href="https://github.com/timyates/groovy-common-extensions" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">groovy-common-extensions</a> - Lets you add things commonly useful to the Groovy language via the extension system</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#file-system-utilities" id="user-content-file-system-utilities" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>File System Utilities</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/ysb33r/groovy-vfs" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy-Vfs</a> - A DSL for Groovy on top of Apache VFS2</li>
<li style="box-sizing: border-box;"><a href="https://github.com/kdabir/directree" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Directree</a> - A Simple DSL to create Directory Tree with Text Files</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#file-format-dsl" id="user-content-file-format-dsl" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>File Format DSL</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/craigburke/document-builder" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">document-builder</a> - A document builder for Groovy for PDF or Word documents.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/MetadataRegistry/spreadsheet-builder" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">spreadsheet-builder</a> - Spreadsheet builder provides convenient way how to create MS Excel OfficeOpenXML Documents (XSLX)</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#scripting-tools" id="user-content-scripting-tools" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Scripting Tools</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/aestasit/sshoogr" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">sshoogr</a> - DSL library for working with remote servers through SSH.</li>
</ul>
<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin: 1em 0px 16px; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#resources" id="user-content-resources" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Resources</h1>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#official-resources" id="user-content-official-resources" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Official Resources</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://www.groovy-lang.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The official groovy home</a> - Groovy's new home</li>
<li style="box-sizing: border-box;"><a href="https://github.com/apache/incubator-groovy" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy's source</a> - Groovy's source code mirrored on Github</li>
<li style="box-sizing: border-box;"><a href="http://www.groovy-lang.org/mailing-lists.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy mailing lists</a> - Note the new mailing list</li>
<li style="box-sizing: border-box;"><a href="http://www.groovy-lang.org/documentation.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Official Documentation</a> - the definitive source of groovy documentation</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#try-groovy-in-browser" id="user-content-try-groovy-in-browser" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Try Groovy in Browser</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://groovyconsole.appspot.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy Web Console</a></li>
<li style="box-sizing: border-box;"><a href="https://groovy-playground.appspot.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy Playground</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#groovy-code-examples" id="user-content-groovy-code-examples" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Groovy Code Examples</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://mrhaki.blogspot.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MrHaKi's Goodness</a> - Look out for entries titled "Groovy Goodness" , "Grails Goodness", Gradle Goodness"</li>
<li style="box-sizing: border-box;"><a href="http://groovy-almanac.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy Almanac</a> - useful code snippets</li>
<li style="box-sizing: border-box;"><a href="http://pleac.sourceforge.net/pleac_groovy/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">PLEAC Groovy</a> - Groovy is one of the 3 languages out of 32, having completed 100% of PLEAC examples.</li>
<li style="box-sizing: border-box;"><a href="http://langref.org/groovy/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Langref Groovy</a> - Covers good number of problem solutions in groovy. Help contributing more solutions</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#staying-up-to-date" id="user-content-staying-up-to-date" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Staying up to date</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://groovycalamari.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy Calamari</a> - Weekly curated publication about the Groovy Ecosystem</li>
<li style="box-sizing: border-box;"><a href="http://glaforge.appspot.com/category/Groovy%20Weekly" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy Weekly</a> - Groovy weekly newsletter</li>
<li style="box-sizing: border-box;"><a href="http://groovyblogs.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy Blogs</a> - Interesting collections of Groovy blogs, ususally updated frequently</li>
<li style="box-sizing: border-box;"><a href="http://grydeske.net/news" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Grails Diary</a> - Particulary useful for Grails developers</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#interactive-learning" id="user-content-interactive-learning" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Interactive Learning</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://nadavc.com/groovykoans/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Groovy-Koans</a> - Collection of small exercises in the form of unit tests</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#blogs-of-core-committer" id="user-content-blogs-of-core-committer" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Blogs of core committer</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://glaforge.appspot.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Guillaume Laforge's blog</a></li>
<li style="box-sizing: border-box;"><a href="http://melix.github.io/blog/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Cédric Champeau's blog</a></li>
</ul>
<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin: 1em 0px 16px; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#contributing" id="user-content-contributing" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Contributing</h1>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Fork this repository, edit this file and send a pull request.</div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#using-awesomegroovy-script" id="user-content-using-awesomegroovy-script" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Using awesome.groovy script</h2>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
You can use the <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">awesome.groovy</code> script to search awesome projects on github and generate the entry prepoulated with project name, repo url and description in markdown format. All you need to do is place it under right group in the markdown list in <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">README.md</code>.</div>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#examples" id="user-content-examples" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Examples</h3>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
to find out repos where language is groovy and whose name contain gpars and</div>
<pre style="background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; line-height: 1.45; margin-bottom: 16px; overflow: auto; padding: 16px; word-wrap: normal;"><code style="background: transparent; border-radius: 3px; border: 0px; box-sizing: border-box; display: inline; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; line-height: inherit; margin: 0px; max-width: initial; overflow: initial; padding: 0px; word-break: normal; word-wrap: normal;">./awesome.groovy -l groovy gpars
</code></pre>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
to find out repos by user 'kdabir' and name contains glide</div>
<pre style="background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; line-height: 1.45; margin-bottom: 16px; overflow: auto; padding: 16px; word-wrap: normal;"><code style="background: transparent; border-radius: 3px; border: 0px; box-sizing: border-box; display: inline; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; line-height: inherit; margin: 0px; max-width: initial; overflow: initial; padding: 0px; word-break: normal; word-wrap: normal;">./awesome.groovy -u kdabir glide
</code></pre>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
to find out repos whose name contains glide</div>
<pre style="background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; line-height: 1.45; margin-bottom: 16px; overflow: auto; padding: 16px; word-wrap: normal;"><code style="background: transparent; border-radius: 3px; border: 0px; box-sizing: border-box; display: inline; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; line-height: inherit; margin: 0px; max-width: initial; overflow: initial; padding: 0px; word-break: normal; word-wrap: normal;">./awesome.groovy glide
</code></pre>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
If you are lazy to download the repo, an easy way is:</div>
<pre style="background-color: #f7f7f7; border-radius: 3px; box-sizing: border-box; color: #333333; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; font-stretch: normal; line-height: 1.45; margin-bottom: 16px; overflow: auto; padding: 16px; word-wrap: normal;"><code style="background: transparent; border-radius: 3px; border: 0px; box-sizing: border-box; display: inline; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; line-height: inherit; margin: 0px; max-width: initial; overflow: initial; padding: 0px; word-break: normal; word-wrap: normal;">groovy "https://git.io/awesome" -l groovy glide
</code></pre>
<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin: 1em 0px 16px; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/kdabir/awesome-groovy#credits" id="user-content-credits" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Credits</h1>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px;">
To all the awesome-* repos out there and their aggreators like <a href="https://github.com/erichs/awesome-awesome" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">this</a> and <a href="https://github.com/bayandin/awesome-awesomeness" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">this</a>.</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-81133676646101373962015-11-23T10:15:00.005-05:002015-11-23T10:15:44.009-05:00AwesomeIoT&Hybrid<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; padding-bottom: 0.3em;">
Awesome IoT & Hybrid <a href="https://github.com/sindresorhus/awesome" style="box-sizing: border-box; color: #4078c0; text-decoration: none;"><img alt="Awesome" data-canonical-src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" src="https://camo.githubusercontent.com/13c4e50d88df7178ae1882a203ed57b641674f94/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" /></a></h1>
<blockquote style="border-left-color: rgb(221, 221, 221); border-left-style: solid; border-left-width: 4px; box-sizing: border-box; color: #777777; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin: 0px 0px 16px; padding: 0px 15px;">
<div style="box-sizing: border-box;">
The missing awesome list - collection of awesome IoT and Hybrid Apps frameworks, tools, resources, videos and shiny things.</div>
</blockquote>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#iot" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">IoT</a><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#os" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">OS</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#frameworks-Tools" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Frameworks/Tools</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#resources-websites-projects" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Resources/websites/projects</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#resources-websites-projects" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Resources/websites/projects</a></li>
</ul>
</li>
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#hybrid-desktop" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hybrid Desktop</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#hybrid-mobile" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hybrid mobile</a><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#tools-plugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tools/Plugins</a></li>
</ul>
</li>
<li style="box-sizing: border-box;"><a href="https://github.com/weblancaster/awesome-IoT-hybrid#miscellaneous" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Miscellaneous</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#iot" id="user-content-iot" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>IoT</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://tessel.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tessel</a></li>
<li style="box-sizing: border-box;"><a href="http://www.arduino.cc/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Arduino</a></li>
<li style="box-sizing: border-box;"><a href="http://beagleboard.org/bone" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">BeagleBoard</a></li>
<li style="box-sizing: border-box;"><a href="http://www.developers.meethue.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hue</a></li>
<li style="box-sizing: border-box;"><a href="https://www.raspberrypi.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Raspberry Pi</a></li>
<li style="box-sizing: border-box;"><a href="https://www.kickstarter.com/projects/1598272670/chip-the-worlds-first-9-computer" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">C.H.I.P</a></li>
<li style="box-sizing: border-box;"><a href="https://www.kickstarter.com/projects/onion/onion-omega-invention-platform-for-the-internet-of/video_share" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Onion Omega</a></li>
<li style="box-sizing: border-box;"><a href="http://www.intel.com/content/www/us/en/do-it-yourself/galileo-maker-quark-board.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Intel Galileo</a></li>
<li style="box-sizing: border-box;"><a href="https://www.particle.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Particle</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#os" id="user-content-os" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>OS</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://www.riot-os.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Riot OS</a></li>
<li style="box-sizing: border-box;"><a href="https://node-os.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Node OS</a></li>
<li style="box-sizing: border-box;"><a href="http://www.contiki-os.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Contiki OS</a></li>
<li style="box-sizing: border-box;"><a href="http://raspbian.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Raspbian</a></li>
<li style="box-sizing: border-box;"><a href="https://developers.google.com/brillo/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Project Brillo</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#frameworks-tools" id="user-content-frameworks-tools" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Frameworks-Tools</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://cylonjs.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">CylonJS</a></li>
<li style="box-sizing: border-box;"><a href="http://nodered.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Node Red</a></li>
<li style="box-sizing: border-box;"><a href="http://iot.eclipse.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">IoT Eclipse</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#resources-websites-projects" id="user-content-resources-websites-projects" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Resources-websites-projects</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://hackaday.io/projects" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hackday</a></li>
<li style="box-sizing: border-box;"><a href="http://www.instructables.com/tag/type-id/category-technology/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Instructables - tech</a></li>
<li style="box-sizing: border-box;"><a href="http://www.hackster.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hackster</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#hybrid-desktop" id="user-content-hybrid-desktop" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Hybrid Desktop</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/nwjs/nw.js" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">nw.js</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/atom/electron" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Electron</a></li>
<li style="box-sizing: border-box;"><a href="https://bitbucket.org/chromiumembedded/cef" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Chromium Embedded Framework</a></li>
<li style="box-sizing: border-box;"><a href="http://appjs.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">AppJS</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/MacGapProject" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MAcGap</a></li>
<li style="box-sizing: border-box;"><a href="http://www.tidesdk.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">TideSDK</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#hybrid-mobile" id="user-content-hybrid-mobile" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Hybrid Mobile</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://facebook.github.io/react-native/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">React-Native</a></li>
<li style="box-sizing: border-box;"><a href="https://www.nativescript.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">NativeScript</a></li>
<li style="box-sizing: border-box;"><a href="http://phonegap.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">PhoneGap</a></li>
<li style="box-sizing: border-box;"><a href="http://coronalabs.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Corona</a></li>
<li style="box-sizing: border-box;"><a href="http://ionicframework.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Ionic</a></li>
<li style="box-sizing: border-box;"><a href="http://www.appcelerator.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Appcelerator</a></li>
<li style="box-sizing: border-box;"><a href="https://software.intel.com/en-us/html5/tools" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Intel XDK</a></li>
<li style="box-sizing: border-box;"><a href="https://trigger.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Trigger.io</a></li>
<li style="box-sizing: border-box;"><a href="https://crosswalk-project.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Crosswalk</a></li>
<li style="box-sizing: border-box;"><a href="http://www.telerik.com/platform" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Telerik Platform</a></li>
<li style="box-sizing: border-box;"><a href="https://www.meteor.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Meteor</a></li>
<li style="box-sizing: border-box;"><a href="https://tabrisjs.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tabris.js</a></li>
</ul>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#tools-plugins" id="user-content-tools-plugins" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Tools-Plugins</h4>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/petermetz/cordova-plugin-ibeacon" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Cordova / Phonegap iBeacon plugin</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#miscellaneous" id="user-content-miscellaneous" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Miscellaneous</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.mozilla.org/en-US/firefox/os/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Firefox OS</a></li>
<li style="box-sizing: border-box;"><a href="https://www.leapmotion.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Leap Motion</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#contributing" id="user-content-contributing" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Contributing</h2>
<ol style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;">Fork it!</li>
<li style="box-sizing: border-box;">Create your branch: <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">git checkout -b my-new-branch</code></li>
<li style="box-sizing: border-box;">Commit your changes: <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">git commit -am 'fix stuff'</code></li>
<li style="box-sizing: border-box;">Push to the branch: <code style="background-color: rgba(0, 0, 0, 0.0392157); border-radius: 3px; box-sizing: border-box; font-family: Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin: 0px; padding: 0.2em 0px;">git push origin my-new-branch</code></li>
<li style="box-sizing: border-box;">Submit a pull request</li>
</ol>
<div>
<span style="color: #333333; font-family: Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;"><span style="line-height: 25.6px;">REFERENCE https://github.com/weblancaster/awesome-IoT-hybrid</span></span></div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/weblancaster/awesome-IoT-hybrid#license" id="user-content-license" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>License</h2>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
The MIT License (MIT)</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Copyright (c) 2014 Michael Lancaster</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px;">
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-35316872229949717072015-11-23T10:14:00.002-05:002016-06-07T08:50:00.215-04:00AwesomeDataScience<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; padding-bottom: 0.3em;">
Awesome Data Science <a href="https://github.com/sindresorhus/awesome" style="box-sizing: border-box; color: #4078c0; text-decoration: none;"><img alt="Awesome" data-canonical-src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" src="https://camo.githubusercontent.com/13c4e50d88df7178ae1882a203ed57b641674f94/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" /></a></h1>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<em style="box-sizing: border-box;">An open source Data Science repository to learn and apply towards solving real world problems.</em></div>
<h3 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.5em; line-height: 1.43; margin-bottom: 16px; margin-top: 1em;">
Table of contents</h3>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#motivation" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Motivation</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#infographic" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Infographic</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#what-is-data-science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What is Data Science?</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#colleges" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Colleges</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#moocs" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MOOC's</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#data-sets" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Sets</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#bloggers" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Bloggers</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#facebook-accounts" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Facebook Accounts</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#twitter-accounts" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Twitter Accounts</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#youtube-videos--channels" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">YouTube Videos & Channels</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#toolboxes---environment" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Toolboxes - Environment</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#journals-publications-and-magazines" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Journals, Publications and Magazines</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#presentations" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Presentations</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience#other-awesome-lists" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Other Awesome Lists</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Motivation</h2>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<em style="box-sizing: border-box;">This part is for dummies who are new to Data Science</em></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This is a shortcut path to start studying <strong style="box-sizing: border-box;">Data Science</strong>. Just follow the steps to answer the questions, "What is Data Science and what should I study to learn Data Science?"</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
First of all, Data Science is one of the hottest topics on the Computer and Internet farmland nowadays. People have gathered data from applications and systems until today and now is the time to analyze them. The next steps are producing suggestions from the data and creating predictions about the future. <a href="http://www.quora.com/Data-Science/What-is-data-science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Here</a> you can find the biggest question for <strong style="box-sizing: border-box;">Data Science</strong> and hundreds of answers from experts. Our favorite data scientist is <a href="https://twitter.com/clarecorthell" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Clare Corthell</a>. She is an expert in data-related systems and a hacker, and has been working on a company as a data scientist. <a href="http://datasciencemasters.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Clare's blog</a>. This web site helps you to understand the exact way to study as a professional data scientist.</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Secondly, Our favorite programming language is <em style="box-sizing: border-box;">Python</em> nowadays for #DataScience. Python's -<a href="http://pandas.pydata.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Pandas</a> library has full functionality for collecting and analyzing data. We use <a href="https://store.continuum.io/cshop/anaconda/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Anaconda</a> to play with data and to create applications.</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This is the <a href="https://github.com/okulbilisim/awesome-datascience/blob/master/DataScience-Life-Cycle.md" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Guide</a> to begin a <strong style="box-sizing: border-box;">Data Science</strong> project.</div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Infographic</h2>
<table style="border-collapse: collapse; border-spacing: 0px; box-sizing: border-box; color: #333333; display: block; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; overflow: auto; width: 728px; word-break: keep-all;"><thead style="box-sizing: border-box;">
<tr style="background-color: white; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; box-sizing: border-box;"><th style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;">Preview</th><th style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;">Description</th></tr>
</thead><tbody style="box-sizing: border-box;">
<tr style="background-color: white; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; box-sizing: border-box;"><td style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;"><a href="http://i.imgur.com/AfFMkHe.jpg" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;"><img data-canonical-src="http://i.imgur.com/TvYhCHn.jpg" src="https://camo.githubusercontent.com/4f11e421d7692b7ed6ba54b0471126da636e2181/687474703a2f2f692e696d6775722e636f6d2f5476596843486e2e6a7067" style="border: 0px; box-sizing: content-box; max-width: 100%;" width="150" /></a></td><td style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;">A visual guide to Becoming a Data Scientist in 8 Steps by <a href="https://www.datacamp.com/" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;">DataCamp</a><a href="http://i.imgur.com/AfFMkHe.jpg" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;">(img)</a></td></tr>
<tr style="background-color: #f8f8f8; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; box-sizing: border-box;"><td style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;"><a href="http://i.imgur.com/FxsL3b8.png" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;"><img data-canonical-src="http://i.imgur.com/W2t2Roz.png" src="https://camo.githubusercontent.com/7205455ed53eb638270a59b46cd870bd1958a502/687474703a2f2f692e696d6775722e636f6d2f57327432526f7a2e706e67" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="150" /></a></td><td style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;">Mindmap on required skills (<a href="http://i.imgur.com/FxsL3b8.png" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;">img</a>)</td></tr>
<tr style="background-color: white; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; box-sizing: border-box;"><td style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;"><a href="http://nirvacana.com/thoughts/wp-content/uploads/2013/07/RoadToDataScientist1.png" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;"><img data-canonical-src="http://i.imgur.com/rb9ruaa.png" src="https://camo.githubusercontent.com/fc354eb355c4d06652e2a604baef80af8b8864f7/687474703a2f2f692e696d6775722e636f6d2f726239727561612e706e67" style="border: 0px; box-sizing: content-box; max-width: 100%;" width="150" /></a></td><td style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;">Swami Chandrasekaran made a <a href="http://nirvacana.com/thoughts/becoming-a-data-scientist/" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;">Curriculum via Metro map</a>.</td></tr>
<tr style="background-color: #f8f8f8; border-top-color: rgb(204, 204, 204); border-top-style: solid; border-top-width: 1px; box-sizing: border-box;"><td style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;"><a href="http://i.imgur.com/4ZBBvb0.png" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;"><img data-canonical-src="http://i.imgur.com/XBgKF2l.png" src="https://camo.githubusercontent.com/8a8ae1484a433f1508168eea010721c7edea8442/687474703a2f2f692e696d6775722e636f6d2f5842674b46326c2e706e67" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="150" /></a></td><td style="border: 1px solid rgb(221, 221, 221); box-sizing: border-box; padding: 6px 13px;">by <a href="https://twitter.com/kzawadz" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;">@kzawadz</a> via <a href="https://twitter.com/MktngDistillery/status/538671811991715840" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;">twitter</a>, <a href="http://www.marketingdistillery.com/2014/11/29/is-data-science-a-buzzword-modern-data-scientist-defined/" style="background-color: transparent; box-sizing: border-box; color: #4078c0; text-decoration: none;">MarketingDistillery.com</a></td></tr>
</tbody></table>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
What is Data Science?</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.oreilly.com/ideas/what-is-data-science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What is Data Science @ O'reilly</a></li>
<li style="box-sizing: border-box;"><a href="http://www.quora.com/Data-Science/What-is-data-science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What is Data Science @ Quora</a></li>
<li style="box-sizing: border-box;"><a href="http://hbr.org/2012/10/data-scientist-the-sexiest-job-of-the-21st-century/ar/1" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The sexiest job of 21st century</a></li>
<li style="box-sizing: border-box;"><a href="http://www.datascientists.net/what-is-data-science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What is data science</a></li>
<li style="box-sizing: border-box;"><a href="http://www.becomingadatascientist.com/2014/02/14/what-is-a-data-scientist/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What is a data scientist</a></li>
<li style="box-sizing: border-box;"><a href="http://en.wikipedia.org/wiki/Data_science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Wikipedia</a></li>
<li style="box-sizing: border-box;"><a href="http://www.forbes.com/sites/gilpress/2013/05/28/a-very-short-history-of-data-science/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">a very short history of #datascience</a></li>
<li style="box-sizing: border-box;"><a href="https://ischool.syr.edu/media/documents/2012/3/DataScienceBook1_1.pdf" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">An Introduction to Data Science, PDF</a>.</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
COLLEGES</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/ryanswanstrom/awesome-datascience-colleges" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A list of colleges and universities offering degrees in data science.</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/okulbilisim/awesome-datascience/blob/master/datascience.berkeley.edu" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Degree @ Berkeley</a></li>
<li style="box-sizing: border-box;"><a href="https://dsi.virginia.edu/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Degree @ UVA</a></li>
<li style="box-sizing: border-box;"><a href="http://datasciencedegree.wisconsin.edu/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Degree @ Wisconsin</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
MOOC's</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://datasense.withgoogle.com/course" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Google Making Sense of Data</a></li>
<li style="box-sizing: border-box;"><a href="https://www.coursera.org/course/datasci" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Coursera Introduction to Data Science</a></li>
<li style="box-sizing: border-box;"><a href="https://www.coursera.org/specialization/jhudatascience/1?utm_medium=listingPage" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science - 9 Steps Courses, A Specialization on Coursera</a></li>
<li style="box-sizing: border-box;"><a href="https://www.coursera.org/specialization/datamining" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Mining - 5 Steps Courses, A Specialization on Coursera</a></li>
<li style="box-sizing: border-box;"><a href="http://cs109.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">CS 109 Data Science</a></li>
<li style="box-sizing: border-box;"><a href="http://schoolofdata.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Schoolofdata</a></li>
<li style="box-sizing: border-box;"><a href="http://www.openintro.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">OpenIntro</a></li>
<li style="box-sizing: border-box;"><a href="http://datascience.sg/categories/MOOC/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data science MOOC</a></li>
<li style="box-sizing: border-box;"><a href="http://www.cs171.org/#!index.md" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">CS 171 Visualization</a></li>
<li style="box-sizing: border-box;"><a href="https://www.coursera.org/course/procmin" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Process Mining: Data science in Action</a></li>
<li style="box-sizing: border-box;"><a href="http://www.cs.ox.ac.uk/projects/DeepLearn/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Oxford Deep Learning</a></li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/playlist?list=PLE6Wd9FR--EfW8dtjAuPoTuPcqmOV53Fu" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Oxford Deep Learning - video</a></li>
<li style="box-sizing: border-box;"><a href="http://www.cs.ox.ac.uk/activities/machinelearning/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Oxford Machine Learning</a></li>
<li style="box-sizing: border-box;"><a href="http://www.cs.ubc.ca/~nando/540-2013/lectures.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">UBC Machine Learning - video</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/DataScienceSpecialization/courses" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Specialization</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Data Sets</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://academictorrents.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Academic Torrents</a></li>
<li style="box-sizing: border-box;"><a href="http://hadoopilluminated.com/hadoop_illuminated/Public_Bigdata_Sets.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">hadoopilluminated.com</a></li>
<li style="box-sizing: border-box;"><a href="http://catalog.data.gov/dataset" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">data.gov</a> - The home of the U.S. Government's open data</li>
<li style="box-sizing: border-box;"><a href="http://www.census.gov/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">United States Census Bureau</a></li>
<li style="box-sizing: border-box;"><a href="https://www.freebase.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">freebase.com</a></li>
<li style="box-sizing: border-box;"><a href="http://usgovxml.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">usgovxml.com</a></li>
<li style="box-sizing: border-box;"><a href="http://enigma.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">enigma.io</a> - Navigate the world of public data - Quickly search and analyze billions of public records published by governments, companies and organizations.</li>
<li style="box-sizing: border-box;"><a href="http://datahub.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">datahub.io</a></li>
<li style="box-sizing: border-box;"><a href="http://aws.amazon.com/datasets" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">aws.amazon.com/datasets</a></li>
<li style="box-sizing: border-box;"><a href="http://databib.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">databib.org</a></li>
<li style="box-sizing: border-box;"><a href="http://www.datacite.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">datacite.org</a></li>
<li style="box-sizing: border-box;"><a href="https://www.quandl.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">quandl.com</a> - Get the data you need in the form you want; instant download, API or direct to your app.</li>
<li style="box-sizing: border-box;"><a href="http://figshare.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">figshare.com</a></li>
<li style="box-sizing: border-box;"><a href="http://dev.maxmind.com/geoip/legacy/geolite/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">GeoLite Legacy Downloadable Databases</a></li>
<li style="box-sizing: border-box;"><a href="http://www.quora.com/Where-can-I-find-large-datasets-open-to-the-public" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Quora's Big Datasets Answer</a></li>
<li style="box-sizing: border-box;"><a href="http://hadoopilluminated.com/hadoop_illuminated/Public_Bigdata_Sets.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Public Big Data Sets</a></li>
<li style="box-sizing: border-box;"><a href="http://data.ohouston.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Houston Data Portal</a></li>
<li style="box-sizing: border-box;"><a href="https://www.kaggle.com/wiki/DataSources" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Kaggle Data Sources</a></li>
<li style="box-sizing: border-box;"><a href="http://www.1000genomes.org/data" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A Deep Catalog of Human Genetic Variation</a></li>
<li style="box-sizing: border-box;"><a href="https://www.freebase.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A community-curated database of well-known people, places, and things</a></li>
<li style="box-sizing: border-box;"><a href="http://www.google.com/publicdata/directory" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Google Public Data</a></li>
<li style="box-sizing: border-box;"><a href="http://data.worldbank.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">World Bank Data</a></li>
<li style="box-sizing: border-box;"><a href="http://nyctaxi.herokuapp.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">NYC Taxi data</a></li>
<li style="box-sizing: border-box;"><a href="http://www.opendataphilly.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Open Data Philly</a> Connecting people with data for Philadelphia</li>
<li style="box-sizing: border-box;"><a href="http://ahmetkurnaz.net/en/statistical-data-sources/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">A list of useful sources</a> A blog post includes many data set databases</li>
<li style="box-sizing: border-box;"><a href="http://grouplens.org/datasets/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">grouplens.org</a> Sample movie (with ratings), book and wiki datasets</li>
<li style="box-sizing: border-box;"><a href="http://archive.ics.uci.edu/ml/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">UC Irvine Machine Learning Repository</a> - contains data sets good for machine learning</li>
<li style="box-sizing: border-box;"><a href="https://bitly.com/bundles/hmason/1" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">research-quality data sets</a> by <a href="https://bitly.com/u/hmason/bundles" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hilary Mason</a></li>
<li style="box-sizing: border-box;"><a href="http://www.ncdc.noaa.gov/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">National Climatic Data Center - NOAA</a></li>
<li style="box-sizing: border-box;"><a href="http://www.climatedata.us/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">ClimateData.us</a> (related: <a href="http://toolkit.climate.gov/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">U.S. Climate Resilience Toolkit</a>)</li>
<li style="box-sizing: border-box;"><a href="http://www.reddit.com/r/datasets" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">r/datasets</a></li>
<li style="box-sizing: border-box;"><a href="http://maplight.org/data" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MapLight</a> - provides a variety of data free of charge for uses that are freely available to the general public. Click on a data set below to learn more</li>
<li style="box-sizing: border-box;"><a href="http://ghdx.healthdata.org/catalog" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">GHDx</a> - Institute for Health Metrics and Evaluation - a catalog of health and demographic datasets from around the world and including IHME results</li>
<li style="box-sizing: border-box;"><a href="http://research.stlouisfed.org/fred2/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">St. Louis Federal Reserve Economic Data - FRED</a></li>
<li style="box-sizing: border-box;"><a href="http://www.nyu.edu/projects/politicsdatalab/data_classic_sources.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Dept. of Politics @ New York University</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/datasciencemasters/data" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Open Data Sources</a></li>
<li style="box-sizing: border-box;"><a href="http://www.unicef.org/statistics/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">UNICEF Statistics and Monitoring</a></li>
<li style="box-sizing: border-box;"><a href="http://data.unicef.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">UNICEF Data</a></li>
<li style="box-sizing: border-box;"><a href="http://data.un.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">undata</a></li>
<li style="box-sizing: border-box;"><a href="http://sedac.ciesin.columbia.edu/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">NASA SocioEconomic Data and Applications Center - SEDAC</a></li>
<li style="box-sizing: border-box;"><a href="http://gdeltproject.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The GDELT Project</a></li>
<li style="box-sizing: border-box;"><a href="http://www.scb.se/en_/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sweden, Statistics</a></li>
<li style="box-sizing: border-box;"><a href="http://www.datasciencecentral.com/profiles/blogs/great-github-list-of-public-data-sets" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Github free data source list</a></li>
<li style="box-sizing: border-box;"><a href="http://data.stackexchange.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">StackExchange Data Explorer</a> - an open source tool for running arbitrary queries against public data from the Stack Exchange network.</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Bloggers</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://blog.wesmckinney.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Wes McKinney</a> - Wes McKinney Blog.</li>
<li style="box-sizing: border-box;"><a href="http://miningthesocialweb.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Matthew Russell</a> - Mining The Social Web.</li>
<li style="box-sizing: border-box;"><a href="http://www.gregreda.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Greg Reda</a> - Greg Reda Personal Blog</li>
<li style="box-sizing: border-box;"><a href="http://kldavenport.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Kevin Davenport</a> - Kevin Davenport Personal Blog</li>
<li style="box-sizing: border-box;"><a href="http://jvns.ca/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Julia Evans</a> - Recurse Center alumna</li>
<li style="box-sizing: border-box;"><a href="http://www.cse.unr.edu/~hkardes/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hakan Kardas</a> - Personal Web Page</li>
<li style="box-sizing: border-box;"><a href="http://seanjtaylor.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sean J. Taylor</a> - Personal Web Page</li>
<li style="box-sizing: border-box;"><a href="http://drewconway.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Drew Conway</a> - Personal Web Page</li>
<li style="box-sizing: border-box;"><a href="http://www.hilarymason.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hilary Mason</a> - Personal Web Page</li>
<li style="box-sizing: border-box;"><a href="http://complexdiagrams.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Noah Iliinsky</a> - Personal Blog</li>
<li style="box-sizing: border-box;"><a href="http://hairysun.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Matt Harrison</a> - Personal Blog</li>
<li style="box-sizing: border-box;"><a href="http://www.becomingadatascientist.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Renee</a> Documenting my path from "SQL Data Analyst pursuing an Engineering Master's Degree" to "Data Scientist"</li>
<li style="box-sizing: border-box;"><a href="http://allthingsds.wordpress.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Vamshi Ambati</a> - AllThings Data Sciene</li>
<li style="box-sizing: border-box;"><a href="http://www.mdmgeek.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Prash Chan</a> - Tech Blog on Master Data Management And Every Buzz Surrounding It</li>
<li style="box-sizing: border-box;"><a href="http://datasciencemasters.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Clare Corthell</a> - The Open Source Data Science Masters</li>
<li style="box-sizing: border-box;"><a href="http://cloudofdata.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Paul Miller</a> Based in the UK and working globally, Cloud of Data's consultancy services help clients understand the implications of taking data and more to the Cloud.</li>
<li style="box-sizing: border-box;"><a href="http://datasciencelondon.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science London</a> Data Science London is a non-profit organization dedicated to the free, open, dissemination of data science. We are the largest data science community in Europe. We are more than 3,190 data scientists and data geeks in our community.</li>
<li style="box-sizing: border-box;"><a href="http://datawrangling.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Datawrangling</a> by Peter Skomoroch. MACHINE LEARNING, DATA MINING, AND MORE</li>
<li style="box-sizing: border-box;"><a href="http://www.johnmyleswhite.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">John Myles White</a> Personal Blog</li>
<li style="box-sizing: border-box;"><a href="http://www.quora.com/Data-Science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Quora Data Science</a> - Data Science Questions and Answers from experts</li>
<li style="box-sizing: border-box;"><a href="http://openresearch.wordpress.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Siah</a> a PhD student at Berkeley</li>
<li style="box-sizing: border-box;"><a href="http://blog.starbridgepartners.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Report</a> MDS, Inc. Helps Build Careers in Data Science, Advanced Analytics, Big Data Architecture, and High Performance Software Engineering</li>
<li style="box-sizing: border-box;"><a href="http://www.louisdorard.com/blog/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Louis Dorard</a> a technology guy with a penchant for the web and for data, big and small</li>
<li style="box-sizing: border-box;"><a href="http://machinelearningmastery.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Machine Learning Mastery</a> about helping professional programmers to confidently apply machine learning algorithms to address complex problems.</li>
<li style="box-sizing: border-box;"><a href="http://www.danielforsyth.me/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Daniel Forsyth</a> - Personal Blog</li>
<li style="box-sizing: border-box;"><a href="http://www.datascienceweekly.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Weekly</a> - Weekly News Blog</li>
<li style="box-sizing: border-box;"><a href="http://blog.revolutionanalytics.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Revolution Analytics</a> - Data Science Blog</li>
<li style="box-sizing: border-box;"><a href="http://www.r-bloggers.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">R Bloggers</a> - R Bloggers</li>
<li style="box-sizing: border-box;"><a href="http://practicalquant.blogspot.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Practical Quant</a> Big data</li>
<li style="box-sizing: border-box;"><a href="http://www.mickaellegal.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Micheal Le Gal</a> a data enthusiast who gets hooked on solving intriguing problems and crafting beautiful stories and visualizations with data. Over the past 5 years, He haas applied statistics to solve problems in government, brain sciences, and most recently, retail.</li>
<li style="box-sizing: border-box;"><a href="http://datascopeanalytics.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Datascope Anayltics</a> data-driven consulting and design</li>
<li style="box-sizing: border-box;"><a href="http://yet-another-data-blog.blogspot.com.tr/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Yet Another Data Blog</a> Yet Another Data Blog</li>
<li style="box-sizing: border-box;"><a href="http://spenczar.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Spenczar</a> a data scientist at <em style="box-sizing: border-box;">Twitch</em>. I handle the whole data pipeline, from tracking to model-building to reporting.</li>
<li style="box-sizing: border-box;"><a href="http://www.kdnuggets.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">KD Nuggets</a> Data Mining, Analytics, Big Data, Data, Science not a blog a portal</li>
<li style="box-sizing: border-box;"><a href="http://www.metabrown.com/blog/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Meta Brown</a> - Personal Blog</li>
<li style="box-sizing: border-box;"><a href="http://www.datascientists.net/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Scientist</a> is building the data scientist culture.</li>
<li style="box-sizing: border-box;"><a href="http://whatsthebigdata.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">WhatSTheBigData</a> is some of, all of, or much more than the above and this blog explores its impact on information technology, the business world, government agencies, and our lives.</li>
<li style="box-sizing: border-box;"><a href="http://www.micfarris.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Mic Farris</a> Focusing on science, datascience, business, technology, and channeling inner geekness!</li>
<li style="box-sizing: border-box;"><a href="http://magnus-notitia.blogspot.com.tr/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tevfik Kosar</a> - Magnus Notitia</li>
<li style="box-sizing: border-box;"><a href="http://newdatascientist.blogspot.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">New Data Scientist</a> How a Social Scientist Jumps into the World of Big Data</li>
<li style="box-sizing: border-box;"><a href="http://harvarddatascience.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Harvard Data Science</a> - Thoughts on Statistical Computing and Visualization</li>
<li style="box-sizing: border-box;"><a href="http://101.datascience.community/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science 101</a> - Learning To Be A Data Scientist</li>
<li style="box-sizing: border-box;"><a href="http://www.chioka.in/kaggle-competition-solutions/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Kaggle Past Solutions</a></li>
<li style="box-sizing: border-box;"><a href="http://datascientistjourney.wordpress.com/category/data-science/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">DataScientistJourney</a></li>
<li style="box-sizing: border-box;"><a href="http://nyctaxi.herokuapp.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">NYC Taxi Visualization Blog</a></li>
<li style="box-sizing: border-box;"><a href="http://learninglover.com/blog/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Learning Lover</a></li>
<li style="box-sizing: border-box;"><a href="http://getprismatic.com/story/1406683266166?utm_medium=email" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Huge Trello List of Great Data Science Resources</a></li>
<li style="box-sizing: border-box;"><a href="http://www.dataists.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Dataists</a></li>
<li style="box-sizing: border-box;"><a href="http://www.data-mania.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data-Mania</a></li>
<li style="box-sizing: border-box;"><a href="http://data-magnum.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data-Magnum</a></li>
<li style="box-sizing: border-box;"><a href="https://www.mapr.com/blog" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Map Reduce Blog</a></li>
<li style="box-sizing: border-box;"><a href="http://fastml.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">FastML Blog</a></li>
<li style="box-sizing: border-box;"><a href="http://www.p-value.info/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">P-value</a> - Musings on data science, machine learning and stats.</li>
<li style="box-sizing: border-box;"><a href="http://datascopeanalytics.com/what-we-think/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">datascopeanalytics</a></li>
<li style="box-sizing: border-box;"><a href="http://tarrysingh.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Digital transformation</a></li>
<li style="box-sizing: border-box;"><a href="http://datascientistjourney.wordpress.com/category/data-science/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">datascientistjourney</a></li>
<li style="box-sizing: border-box;"><a href="http://www.data-mania.com/index.php/easyblog" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Mania Blog</a></li>
<li style="box-sizing: border-box;"><a href="http://filedrawer.wordpress.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The File Drawer</a> - Chris Said's science blog</li>
<li style="box-sizing: border-box;"><a href="http://www.emilio.ferrara.name/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Emilio Ferrara's web page</a></li>
<li style="box-sizing: border-box;"><a href="http://datanews.tumblr.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">DataNews</a></li>
<li style="box-sizing: border-box;"><a href="http://www.reddit.com/r/textdatamining/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Reddit TextMining</a></li>
<li style="box-sizing: border-box;"><a href="http://www.periscopic.com/#/news" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Periscopic</a></li>
<li style="box-sizing: border-box;"><a href="http://hilaryparker.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hilary Parker</a></li>
<li style="box-sizing: border-box;"><a href="http://datastori.es/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Stories</a></li>
<li style="box-sizing: border-box;"><a href="http://datasciencelab.wordpress.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Lab</a></li>
<li style="box-sizing: border-box;"><a href="http://www.kennybastani.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Meaning of</a></li>
<li style="box-sizing: border-box;"><a href="http://blog.smola.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Adventures in Data Land</a></li>
<li style="box-sizing: border-box;"><a href="http://blog.data-miners.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">DATA MINERS BLOG</a></li>
<li style="box-sizing: border-box;"><a href="http://blog.okcupid.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Dataclysm</a></li>
<li style="box-sizing: border-box;"><a href="http://flowingdata.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">FlowingData</a> - Visualization and Statistics</li>
<li style="box-sizing: border-box;"><a href="http://www.calculatedriskblog.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Calculated Risk</a></li>
<li style="box-sizing: border-box;"><a href="http://www.applieddatalabs.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Applied Data Labs</a> - content and news about data-driven business.</li>
<li style="box-sizing: border-box;"><a href="https://beta.oreilly.com/learning" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">O'reilly Learning Blog</a></li>
<li style="box-sizing: border-box;"><a href="http://blog.dominodatalab.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Dominodatalab</a></li>
<li style="box-sizing: border-box;"><a href="http://iamtrask.github.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">i am trask</a> - A Machine Learning Craftsmanship Blog</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Facebook Accounts</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/data" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/Bigdatascientist" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data Scientist</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/DataScience101" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science 101</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/DataScienceDay/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Day</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/nycdatascience" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Academy</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/pages/Data-science/431299473579193?ref=br_rs" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Facebook Data Science Page</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/pages/Data-Science-London/226174337471513" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science London</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/DataScienceTechnologyCorporation?ref=br_rs" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Technology and Corporation</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/1394010454157077/?ref=br_rs" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science - Closed Group</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/centerdatasciences?ref=br_rs" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Center for Data Science</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/bigdatahadoop/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big data hadoop NOSQL Hive Hbase</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/data.analytics/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Analytics, Data Mining, Predictive Modeling, Artificial Intelligence</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/434352233255448/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data Analytics using R</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/rhadoop/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data Analytics with R and Hadoop</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/bigdatalearnings/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data Learnings</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/bigdatastatistics/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data, Data Science, Data Mining & Statistics</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/BigDataExpert/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">BigData/Hadoop Expert</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/machinelearningforum/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Mining / Machine Learning / AI</a></li>
<li style="box-sizing: border-box;"><a href="https://www.facebook.com/groups/dataminingsocialnetworks/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Mining/Big Data - Social Network Ana</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Twitter Accounts</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://twitter.com/BigDataCombine" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data Combine</a> - Rapid-fire, live tryouts for data scientists seeking to monetize their models as trading strategies</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/BigDataGal" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data Mania</a> - Data Viz Wiz | Data Journalist | Growth Hacker | Author of Data Science for Dummies (2015)</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/analyticbridge" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data Science</a> - Big Data, Data Science, Predictive Modeling, Business Analytics, Hadoop, Decision and Operations Research.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/greenbacker" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Charlie Greenbacker</a> - Director of Data Science at @ExploreAltamira</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/Chris_Said" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Chris Said</a> - Data scientist at Twitter</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/clarecorthell" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Clare Corthell</a> - Dev, Design, Data Science @mattermark #hackerei</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/DadiCharles" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">DADI Charles-Abner</a> - #datascientist @Ekimetrics. , #machinelearning #dataviz #DynamicCharts #Hadoop #R #Python #NLP #Bitcoin #dataenthousiast</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/DataScienceCtrl" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Central</a> - Data Science Central is the industry's single resource for Big Data practitioners.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/ds_ldn" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science London</a> Data Science. Big Data. Data Hacks. Data Junkies. Data Startups. Open Data</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/BecomingDataSci" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Renee</a> - Documenting my path from SQL Data Analyst pursuing an Engineering Master's Degree to Data Scientist</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/TedOBrien93" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Report</a> - Mission is to help guide & advance careers in Data Science & Analytics</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/datasciencetips" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Tips</a> - Tips and Tricks for Data Scientists around the world! #datascience #bigdata</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/DataVisualizati" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Vizzard</a> - DataViz, Security, Military</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/DataScienceX" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">DataScienceX</a></li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/deeplearning4j" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">deeplearning4j</a> -</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/dpatil" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">DJ Patil</a> - White House Data Chief, VP @ RelateIQ.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/DominoDataLab" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Domino Data Lab</a></li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/drewconway" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Drew Conway</a> - Data nerd, hacker, student of conflict.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/jabawack" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Emilio Ferrara</a> - #Networks, #MachineLearning and #DataScience. I work on #Social Media. Postdoc at @IndianaUniv</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/erinbartolo" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Erin Bartolo</a> - Running with #BigData--enjoying a love/hate relationship with its hype. @iSchoolSU #DataScience Program Mgr.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/gjreda" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Greg Reda</a> Working @ <em style="box-sizing: border-box;">GrubHub</em> about data and pandas</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/kdnuggets" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gregory Piatetsky</a> - KDnuggets President, Analytics/Big Data/Data Mining/Data Science expert, KDD & SIGKDD co-founder, was Chief Scientist at 2 startups, part-time philosopher.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/kdnuggets" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Gregory Piatetsky</a> - KDnuggets President, Analytics/Big Data/Data Mining/Data Science expert, KDD & SIGKDD co-founder, was Chief Scientist at 2 startups, part-time philosopher.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/hakan_kardes" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hakan Kardas</a> - Data Scientist</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/hmason" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hilary Mason</a> - Data Scientist in Residence at @accel.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/hackingdata" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Jeff Hammerbacher</a> ReTweeting about data science</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/johnmyleswhite" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">John Myles White</a> Scientist at Facebook and Julia developer. Author of Machine Learning for Hackers and Bandit Algorithms for Website Optimization. Tweets reflect my views only.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/BDataScientist" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Juan Miguel Lavista</a> - Principal Data Scientist @ Microsoft Data Science Team</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/b0rk" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Julia Evans</a> - Hacker - Pandas - Data Analyze</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/kncukier" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Kenneth Cukier</a> - The Economist's Data Editor and co-author of Big Data (<a href="http://big-data-book.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">http://big-data-book.com</a>).</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/KevinLDavenport" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Kevin Davenport</a> - Organizer of <a href="http://sddatascience.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">http://sddatascience.com</a></li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/krees" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Kim Rees</a> - Interactive data visualization and tools. Data flaneur.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/KirkDBorne" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Kirk Borne</a> - DataScientist, PhD Astrophysicist, Top #BigData Influencer.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/LindaRegber" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Linda Regber</a> - Data story teller, visualizations.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/lmrei" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Luis Rei</a> - PhD Student. Programming, Mobile, Web. Artificial Intelligence, Intelligent Robotics Machine Learning, Data Mining, Natural Language Processing, Data Science.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/ML_toparticles" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Machine Learning</a> - Live Content Curated by top 1K Machine Learning Experts</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/Agent_Analytics" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Mark Stevenson</a> - Data Analytics Recruitment Specialist at Salt (@SaltJobs) | Analytics - Insight - Big Data - Datascience</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/__mharrison__" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Matt Harrison</a> - Opinions of full-stack Python guy, author, instructor, currently playing Data Scientist. Occasional fathering, husbanding, ult|goalt-imate, organic gardening.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/ptwobrussell" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Matthew Russell</a> - Mining the Social Web.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/mertnuhoglu" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Mert Nuhoğlu</a> Data Scientist at BizQualify, Developer</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/mrogati" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Monica Rogati</a> - Data @ Jawbone. Turned data into stories & products at LinkedIn. Text mining, applied machine learning, recommender systems. Ex-gamer, ex-machine coder; namer.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/noahi" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Noah Iliinsky</a> - Visualization & interaction designer. Practical cyclist. Author of vis books:<a href="http://www.oreillynet.com/pub/au/4419" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">http://www.oreillynet.com/pub/au/4419</a></li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/PaulMiller" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Paul Miller</a> - Cloud Computing/ Big Data/ Open Data Analyst & Consultant. Writer, Speaker & Moderator. Gigaom Research Analyst.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/peteskomoroch" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Peter Skomoroch</a> - Creating intelligent systems to automate tasks & improve decisions. Entrepreneur, ex Principal Data Scientist @LinkedIn. Machine Learning, ProductRei, Networks</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/MDMGeek" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Prash Chan</a> - Solution Architect @ IBM, Master Data Management, Data Quality & Data Governance Blogger. Data Science, Hadoop, Big Data & Cloud.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/q_datascience" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Quora Data Science</a> Quora's data science topic</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/Rbloggers" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">R-Bloggers</a> - Tweet blog posts from the R blogosphere, data science conferences and (!) open jobs for data scientists.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/randhindi" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Rand Hindi</a></li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/randal_olson" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Randy Olson</a> - Computer scientist researching artificial intelligence. Data tinkerer. Community leader for @DataIsBeautiful. #OpenScience advocate.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/EROLRecep" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Recep Erol</a> - Data Science geek @ UALR</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/ryanorban" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Ryan Orban</a> - Data scientist, genetic origamist, hardware aficionado</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/seanjtaylor" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sean J. Taylor</a> - Social Scientist. Hacker. Facebook Data Science Team. Keywords: Experiments, Causal Inference, Statistics, Machine Learning, Economics.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/silviakspiva" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Silvia K. Spiva</a> - #DataScience at Cisco</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/spenczar_n" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Spencer Nelson</a> - Data nerd</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/tozCSS" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Talha Oz</a> - Enjoys ABM, SNA, DM, ML, NLP, HI, Python, Java. Top percentile kaggler/data scientist</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/anskarl" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tasos Skarlatidis</a> - Complex Event Processing, Big Data, Artificial Intelligence and Machine Learning. Passionate about programming and open-source.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/Terry_Timko" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Terry Timko</a> - InfoGov; Bigdata; Data as a Service; Data Science; Open, Social & Business Data Convergence</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/TextMining_r" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">TextDataMiningReddit</a></li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/TonyBaer" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tony Baer</a> - IT analyst with Ovum covering Big Data & data management with some systems engineering thrown in.</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/tonyojeda3" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tony Ojeda</a> - Data Scientist | Author | Entrepreneur. Co-founder @DataCommunityDC. Founder @DistrictDataLab. #DataScience #BigData #DataDC</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/vambati" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Vamshi Ambati</a> - Data Science @ PayPal. #NLP, #machinelearning; PhD, Carnegie Mellon alumni (Blog: <a href="http://allthingsds.wordpress.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">http://allthingsds.wordpress.com</a> )</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/wesmckinn" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Wes McKinney</a> - Pandas (Python Data Analysis library).</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/WileyEd" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">WileyEd</a> - Senior Manager - @Seagate Big Data Analytics | @McKinsey Alum | #BigData + #Analytics Evangelist | #Hadoop, #Cloud, #Digital, & #R Enthusiast</li>
<li style="box-sizing: border-box;"><a href="https://twitter.com/datanews" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">WNYC Data News Team</a> - The data news crew at @WNYC. Practicing data-driven journalism, making it visual and showing our work. @SkymindIO's open-source deep learning for the JVM. Integrates with Hadoop, Spark. Distributed GPU/CPUs | <a href="http://nd4j.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">http://nd4j.org</a> | <a href="http://www.skymind.io/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">http://www.skymind.io</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Youtube Videos & Channels</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/watch?v=WXHM_i-fgGo" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What is machine learning?</a></li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/watch?v=n1ViNeWhC24" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Andrew Ng: Deep Learning, Self-Taught Learning and Unsupervised Feature Learning</a></li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/watch?v=czLI3oLDe8M" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Deep Learning: Intelligence from Big Data</a></li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/watch?v=1Wp3IIpssEc" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Interview with Google's AI and Deep Learning 'Godfather' Geoffrey Hinton</a></li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/watch?v=S75EdAcXHKk" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Introduction to Deep Learning with Python</a></li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/watch?v=elojMnjn4kk" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What is machine learning, and how does it work?</a></li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/channel/UCnVzApLJE2ljPZSeQylSEyg" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data School</a> - Data Science Education</li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/watch?v=Cu6A96TUy_o" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Neural Nets for Newbies by Melanie Warrick (May 2015)</a></li>
<li style="box-sizing: border-box;"><a href="https://www.youtube.com/watch?v=evNCyRL3DOU" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Google DeepMind co-founder Shane Legg - Machine Super Intelligence</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Toolboxes - Environment</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://hortonworks.com/products/hortonworks-sandbox/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Hortonworks Sandbox</a> is a personal, portable Hadoop environment that comes with a dozen interactive Hadoop tutorials.</li>
<li style="box-sizing: border-box;"><a href="http://www.r-project.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">R</a> is a free software environment for statistical computing and graphics.</li>
<li style="box-sizing: border-box;"><a href="https://www.rstudio.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">RStudio</a> IDE – powerful user interface for R. It’s free and open source, works onWindows, Mac, and Linux.</li>
<li style="box-sizing: border-box;"><a href="https://store.continuum.io/cshop/anaconda/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Python - Pandas - Anaconda</a> Completely free enterprise-ready Python distribution for large-scale data processing, predictive analytics, and scientific computing</li>
<li style="box-sizing: border-box;"><a href="http://scikit-learn.org/stable/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Scikit-Learn</a> Machine Learning in Python</li>
<li style="box-sizing: border-box;"><a href="https://www.coursera.org/course/datascitoolbox" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Toolbox</a> - Coursera Course</li>
<li style="box-sizing: border-box;"><a href="http://datasciencetoolbox.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Toolbox</a> - Blog</li>
<li style="box-sizing: border-box;"><a href="http://www.wolfram.com/data-science-platform/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Wolfram Data Science Platform</a> Take numerical, textual, image, GIS or other data and give it the Wolfram treatment, carrying out a full spectrum of data science analysis and visualization and automatically generating rich interactive reports—all powered by the revolutionary knowledge-based Wolfram Language.</li>
<li style="box-sizing: border-box;"><a href="https://senseplatform.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sense Data Science Development Paltform</a> A New Cloud Platform for Data Science and Big Data Analytics Collaborate on, scale, and deploy data analysis and advanced analytics projects radically faster. Use the most powerful tools — R, Python, JavaScript, Redshift, Hive, Impala, Hadoop, and more — supercharged and integrated in the cloud.</li>
<li style="box-sizing: border-box;"><a href="http://www.mortardata.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Mortardata</a> Solutions, code, and devops for high-scale data science.</li>
<li style="box-sizing: border-box;"><a href="https://variancecharts.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Variance</a> Build powerful data visualizations for the web without writing JavaScript</li>
<li style="box-sizing: border-box;"><a href="http://kitesdk.org/docs/current/index.html" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Kite Development Kit</a> The Kite Software Development Kit (Apache License, Version 2.0), or Kite for short, is a set of libraries, tools, examples, and documentation focused on making it easier to build systems on top of the Hadoop ecosystem.</li>
<li style="box-sizing: border-box;"><a href="http://www.dominoup.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Domino Data Labs</a> Run, scale, share, and deploy your models — without any infrastructure or setup.</li>
<li style="box-sizing: border-box;"><a href="https://flink.incubator.apache.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Apache Flink</a> A platform for efficient, distributed, general-purpose data processing.</li>
<li style="box-sizing: border-box;"><a href="http://hama.apache.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Apache Hama</a> Apache Hama is an Apache Top-Level open source project, allowing you to do advanced analytics beyond MapReduce.</li>
<li style="box-sizing: border-box;"><a href="http://www.cs.waikato.ac.nz/ml/weka/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Weka</a> Weka is a collection of machine learning algorithms for data mining tasks.</li>
<li style="box-sizing: border-box;"><a href="https://www.gnu.org/software/octave/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Octave</a> GNU Octave is a high-level interpreted language, primarily intended for numerical computations.(Free Matlab)</li>
<li style="box-sizing: border-box;"><a href="https://spark.apache.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Apache Spark</a> Lightning-fast cluster computing</li>
<li style="box-sizing: border-box;"><a href="http://caffe.berkeleyvision.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Caffe</a> Deep Learning Framework</li>
<li style="box-sizing: border-box;"><a href="http://torch.ch/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Torch</a> A SCIENTIFIC COMPUTING FRAMEWORK FOR LUAJIT</li>
<li style="box-sizing: border-box;"><a href="https://github.com/NervanaSystems/neon" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Nervana's python based Deep Learning Framework</a></li>
<li style="box-sizing: border-box;"><a href="http://airbnb.io/aerosolve/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Aerosolve</a> - A machine learning package built for humans.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/01org/idlf" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Intel framework</a> - Intel® Deep Learning Framework</li>
<li style="box-sizing: border-box;"><a href="https://datawrapper.de/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Datawrapper</a> – An open source data visualization platform helping everyone to create simple, correct and embeddable charts. Also at <a href="https://github.com/datawrapper/datawrapper" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">github.com</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Journals, Publications and Magazines</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://icml.cc/2015/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">ICML</a> - International Conference on Machine Learning</li>
<li style="box-sizing: border-box;"><a href="http://www.epjdatascience.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">epjdatascience</a></li>
<li style="box-sizing: border-box;"><a href="http://www.jds-online.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Journal of Data Science</a> - an international journal devoted to applications of statistical methods at large</li>
<li style="box-sizing: border-box;"><a href="http://www.journals.elsevier.com/big-data-research" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data Research</a></li>
<li style="box-sizing: border-box;"><a href="http://www.journalofbigdata.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Journal of Big Data</a></li>
<li style="box-sizing: border-box;"><a href="http://bds.sagepub.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Big Data & Society</a></li>
<li style="box-sizing: border-box;"><a href="https://www.jstage.jst.go.jp/browse/dsj" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science Journal</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Presentations</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://www.slideshare.net/ryanorban/how-to-become-a-data-scientist" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Become a Data Scientist</a></li>
<li style="box-sizing: border-box;"><a href="http://www.slideshare.net/NikoVuokko/introduction-to-data-science-25391618" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Introduction to Data Science</a></li>
<li style="box-sizing: border-box;"><a href="http://www.slideshare.net/pacoid/intro-to-data-science-for-enterprise-big-data" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Intro to Data Science for Enterprise Big Data</a></li>
<li style="box-sizing: border-box;"><a href="http://www.slideshare.net/dtunkelang/how-to-interview-a-data-scientist" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Interview a Data Scientist</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/jtleek/datasharing" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to Share Data with a Statistician</a></li>
<li style="box-sizing: border-box;"><a href="http://www.slideshare.net/katemats/the-science-of-a-great-career-in-data-science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">The Science of a Great Career in Data Science</a></li>
<li style="box-sizing: border-box;"><a href="http://www.slideshare.net/datasciencelondon/big-data-sorry-data-science-what-does-a-data-scientist-do" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">What Does a Data Scientist Do?</a></li>
<li style="box-sizing: border-box;"><a href="http://www.slideshare.net/medriscoll/driscoll-strata-buildingdatastartups25may2011clean" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Building Data Start-Ups: Fast, Big, and Focused</a></li>
<li style="box-sizing: border-box;"><a href="http://www.slideshare.net/0xdata/how-to-win-data-science-competitions-with-deep-learning" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">How to win data science competitions with Deep Learning</a></li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
Other Awesome Lists</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 0px !important; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;">Other amazingly awesome lists can be found in the <a href="https://github.com/bayandin/awesome-awesomeness" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">awesome-awesomeness</a> list.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/josephmisiti/awesome-machine-learning" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Awesome Machine Learning</a> A curated list of awesome Machine Learning frameworks, libraries and software.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/jnv/lists" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">lists</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/fasouto/awesome-dataviz" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">awesome-dataviz</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/vinta/awesome-python" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">awesome-python</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/donnemartin/data-science-ipython-notebooks" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science IPython Notebooks.</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/qinwf/awesome-R" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">awesome-r</a></li>
</ul>
<div>
<span style="color: #333333; font-family: "helvetica neue" , "helvetica" , "segoe ui" , "arial" , "freesans" , sans-serif , "apple color emoji" , "segoe ui emoji" , "segoe ui symbol";"><span style="line-height: 25.6px;">REFERENCE https://github.com/okulbilisim/awesome-datascience</span></span></div>
Unknownnoreply@blogger.com3tag:blogger.com,1999:blog-6705114561591732897.post-38877586529028252572015-11-23T10:08:00.000-05:002016-06-09T18:50:25.774-04:00AwesomeRBooks<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; padding-bottom: 0.3em;">
R Books <a href="https://github.com/sindresorhus/awesome" style="box-sizing: border-box; color: #4078c0; text-decoration: none;"><img alt="Awesome" data-canonical-src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" src="https://camo.githubusercontent.com/13c4e50d88df7178ae1882a203ed57b641674f94/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" /></a></h1>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
A curated list of books about different aspects and applications of <a href="https://www.r-project.org/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">R</a> programming language and an attempt to modernize <a href="https://github.com/RomanTsegelskyi/rbooks/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">R Books</a> in a more user friendly way. Inspired by <a href="https://github.com/RomanTsegelskyi/rbooks/blob/master" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">GoBooks</a>.</div>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/RomanTsegelskyi/rbooks#r-books" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">R Books</a><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/RomanTsegelskyi/rbooks#beginner-books" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Beginner Books</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/RomanTsegelskyi/rbooks#advanced-books" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Advanced Books</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/RomanTsegelskyi/rbooks#visualization" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Visualization</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/RomanTsegelskyi/rbooks#machine-learning" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Machine Learning</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/RomanTsegelskyi/rbooks#data-science" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Data Science</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/RomanTsegelskyi/rbooks#reports" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Reports</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/RomanTsegelskyi/rbooks#r-development" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">R Development</a></li>
</ul>
</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#beginner-books" id="user-content-beginner-books" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Beginner Books</h2>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#learning-r-amazon" id="user-content-learning-r-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Learning R <a href="https://github.com/RomanTsegelskyi/rbooks/blob/master/www.amazon.com/Learning-R-Richard-Cotton/dp/1449357105" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/eb85622be50d7728e3b279df1447e6f0630861d8/687474703a2f2f616b616d6169636f766572732e6f7265696c6c792e636f6d2f696d616765732f303633363932303032383335322f6361742e676966" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://akamaicovers.oreilly.com/images/0636920028352/cat.gif" src="https://camo.githubusercontent.com/eb85622be50d7728e3b279df1447e6f0630861d8/687474703a2f2f616b616d6169636f766572732e6f7265696c6c792e636f6d2f696d616765732f303633363932303032383335322f6361742e676966" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Learn how to perform data analysis with the R language and software environment, even if you have little or no programming experience. With the tutorials in this hands-on guide, you’ll learn how to use the essential R tools you need to know to analyze data, including data types and programming concepts.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#hands-on-programming-with-r-amazon" id="user-content-hands-on-programming-with-r-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Hands-On Programming with R <a href="http://www.amazon.com/Hands-On-Programming-Write-Functions-Simulations/dp/1449359019" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/6e1fcb8ab13110e9910cc0c7261c9ca62e501112/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f353148626f776b6137324c2e5f53583337395f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/51Hbowka72L._SX379_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/6e1fcb8ab13110e9910cc0c7261c9ca62e501112/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f353148626f776b6137324c2e5f53583337395f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Learn how to program by diving into the R language, and then use your newfound skills to solve practical data science problems. With this book, you' ll learn how to load data, assemble and disassemble data objects, navigate R's environment system, write your own functions, and use all of R's programming tools.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#the-r-book-amazon" id="user-content-the-r-book-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>The R Book <a href="http://www.amazon.com/The-Book-Michael-J-Crawley/dp/0470973927" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/c4e5f1d82c4662dd7d1c616c52eea052ac9b1f57/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f34314e4e4e546f7551624c2e5f53583337315f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/41NNNTouQbL._SX371_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/c4e5f1d82c4662dd7d1c616c52eea052ac9b1f57/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f34314e4e4e546f7551624c2e5f53583337315f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Very massive, hugely successful and popular text presenting an extensive and comprehensive guide for all R users. Covers wide variaty of R topics in great detail with very useful examples.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-for-everyone-advanced-analytics-and-graphics-amazon" id="user-content-r-for-everyone-advanced-analytics-and-graphics-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R for Everyone: Advanced Analytics and Graphics <a href="http://www.amazon.com/Everyone-Advanced-Analytics-Graphics-Addison-Wesley/dp/0321888030" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/56f98a12b5ad887026737da0000c129705af2150/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f35314a696234754e78334c2e5f53583339335f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/51Jib4uNx3L._SX393_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/56f98a12b5ad887026737da0000c129705af2150/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f35314a696234754e78334c2e5f53583339335f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Drawing on his unsurpassed experience teaching new users, professional data scientist Jared P. Lander has written the perfect tutorial for anyone new to statistical programming and modeling. Organized to make learning easy and intuitive, this guide focuses on the 20 percent of R functionality you’ll need to accomplish 80 percent of modern data tasks. Book's self-contained chapters start with the absolute basics, offering extensive hands-on practice and sample code. You’ll download and install R; navigate and use the R environment; master basic program control, data import, and manipulation; and walk through several essential tests. Then, building on this foundation, you’ll construct several complete models, both linear and nonlinear, and use some data mining techniques.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-cookbook-amazon" id="user-content-r-cookbook-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R Cookbook <a href="http://www.amazon.com/Cookbook-OReilly-Cookbooks-Paul-Teetor/dp/0596809158/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/0b988c8cf5831d1b849bdc871c453749fd5e2ca2/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f35315a575556324445794c2e5f53583337395f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/51ZWUV2DEyL._SX379_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/0b988c8cf5831d1b849bdc871c453749fd5e2ca2/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f35315a575556324445794c2e5f53583337395f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
With more than 200 practical recipes, this book helps you perform data analysis with R quickly and efficiently. The R language provides everything you need to do statistical work, but its structure can be difficult to master. This collection of concise, task-oriented recipes makes you productive with R immediately, with solutions ranging from basic tasks to input and output, general statistics, graphics, and linear regression.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#learn-r-in-a-day-amazon" id="user-content-learn-r-in-a-day-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Learn R in a Day <a href="http://www.amazon.com/Learn-R-Day-Steven-Murray-ebook/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/ed784f9e36a41d034e01259de325a4e533964015/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3431383455757359664a4c2e5f53583334355f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/4184UusYfJL._SX345_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/ed784f9e36a41d034e01259de325a4e533964015/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3431383455757359664a4c2e5f53583334355f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
'Learn R in a Day' provides the reader with key programming skills through an examples-oriented approach and is ideally suited for academics, scientists, mathematicians and engineers. The book assumes no prior knowledge of computer programming and progressively covers all the essential steps needed to become confident and proficient in using R within a day. Topics include how to input, manipulate, format, iterate (loop), query, perform basic statistics on, and plot data, via a step-by-step technique and demonstrations using in-built datasets which the reader is encouraged to replicate on their computer. Each chapter also includes exercises (with solutions) to practice key skills and empower the reader to build on the essentials gained during this introductory course.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-inferno-online-free" id="user-content-r-inferno-online-free" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R Inferno <a href="http://www.burns-stat.com/pages/Tutor/R_inferno.pdf" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Online]</a> <em style="box-sizing: border-box;">Free</em></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/a168ffae807dbf5250f665f0c6378a9361abd76e/687474703a2f2f7777772e6275726e732d737461742e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031322f31312f525f696e6665726e6f5f636f7665722e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://www.burns-stat.com/wp-content/uploads/2012/11/R_inferno_cover.jpg" src="https://camo.githubusercontent.com/a168ffae807dbf5250f665f0c6378a9361abd76e/687474703a2f2f7777772e6275726e732d737461742e636f6d2f77702d636f6e74656e742f75706c6f6164732f323031322f31312f525f696e6665726e6f5f636f7665722e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
"If you are using R and you think you’re in hell, this is a map for you."</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This is a great introduction to several aspects of R programming. Loading data into R, iterating over data with loops & logic statements, author even touches on creating packages. Nice and pretty thorough book on R.</div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#advanced-books" id="user-content-advanced-books" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Advanced Books</h2>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#advanced-r-online--amazon-free" id="user-content-advanced-r-online--amazon-free" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Advanced R <a href="http://adv-r.had.co.nz/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Online]</a> <a href="http://www.amazon.com/dp/1466586966/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a> <em style="box-sizing: border-box;">Free</em></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/bd7315fab6ca4b74ddd50bd1befcc788ed73d55f/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f34314c6234676d426f624c2e5f53593334345f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/41Lb4gmBobL._SY344_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/bd7315fab6ca4b74ddd50bd1befcc788ed73d55f/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f34314c6234676d426f624c2e5f53593334345f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Advanced R presents useful tools and techniques for attacking many types of R programming problems, helping you avoid mistakes and dead ends. With more than ten years of experience programming in R, the author illustrates the elegance, beauty, and flexibility at the heart of R.</div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#visualization" id="user-content-visualization" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Visualization</h2>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-data-visualization-cookbook-amazon" id="user-content-r-data-visualization-cookbook-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R Data Visualization Cookbook <a href="http://www.amazon.com/dp/1466586966/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/7047c15a5192600cc4a4f216b158e663f463e76f/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3431316630556f5942504c2e5f41413136305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/411f0UoYBPL._AA160_.jpg" src="https://camo.githubusercontent.com/7047c15a5192600cc4a4f216b158e663f463e76f/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3431316630556f5942504c2e5f41413136305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This book is packed with practical recipes, designed to provide you with all the guidance needed to get to grips with data visualization with R. It starts off with the basics of R plots and an introduction to heat maps and customizing them, before gradually taking you through creating interactive maps using the googleVis package, generating choropleth maps and contouring maps, bubble plots, and pie charts. You will then learn how to animate 2D and 3D plots in R. By the end of the book, you will be equipped with the key techniques to create impressive data visualizations with professional efficiency and precision.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-graphics-cookbook-amazon" id="user-content-r-graphics-cookbook-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R Graphics Cookbook <a href="http://www.amazon.com/R-Graphics-Cookbook-Winston-Chang/dp/1449316956" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/d70b0ad21a65d3cfbba3fc576d1c8b52264969e7/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3531676a676e6c3233564c2e5f41413136305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/51gjgnl23VL._AA160_.jpg" src="https://camo.githubusercontent.com/d70b0ad21a65d3cfbba3fc576d1c8b52264969e7/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3531676a676e6c3233564c2e5f41413136305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This practical guide provides more than 150 recipes to help you generate high-quality graphs quickly, without having to comb through all the details of R’s graphing systems. Each recipe tackles a specific problem with a solution you can apply to your own project, and includes a discussion of how and why the recipe works.</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Most of the recipes use the ggplot2 package, a powerful and flexible way to make graphs in R. If you have a basic understanding of the R language, you’re ready to get started.</div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#data-science" id="user-content-data-science" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Data Science</h2>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#mastering-data-science-with-r-packt" id="user-content-mastering-data-science-with-r-packt" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Mastering Data Science with R <a href="https://www.packtpub.com/big-data-and-business-intelligence/mastering-data-analysis-r" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Packt]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/c50ed26099568944b40c981b72084240ac29e106/68747470733a2f2f7777772e7061636b747075622e636f6d2f73697465732f64656661756c742f66696c65732f323032384f535f313938315f4d6173746572696e6725323044617461253230416e616c7973697325323077697468253230522e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="https://www.packtpub.com/sites/default/files/2028OS_1981_Mastering%20Data%20Analysis%20with%20R.jpg" src="https://camo.githubusercontent.com/c50ed26099568944b40c981b72084240ac29e106/68747470733a2f2f7777772e7061636b747075622e636f6d2f73697465732f64656661756c742f66696c65732f323032384f535f313938315f4d6173746572696e6725323044617461253230416e616c7973697325323077697468253230522e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This book will give you the guidance you need to build and develop your knowledge and expertise. Bridging the gap between theory and practice, this book will help you to understand and use data for a competitive advantage.</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Beginning with taking you through essential data mining and management tasks such as munging, fetching, cleaning, and restructuring, the book then explores different model designs and the core components of effective analysis. You will then discover how to optimize your use of machine learning algorithms for classification and recommendation systems beside the traditional and more recent statistical methods.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#practical-data-science-with-r-amazon" id="user-content-practical-data-science-with-r-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Practical Data Science with R <a href="http://www.amazon.com/Practical-Data-Science-Nina-Zumel/dp/1617291560" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/8afcb007a9c34b1576d5249b324792fd9e2b575e/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3531536b6c4876632532425a4c2e5f53583339375f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/51SklHvc%2BZL._SX397_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/8afcb007a9c34b1576d5249b324792fd9e2b575e/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3531536b6c4876632532425a4c2e5f53583339375f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Practical Data Science with R shows you how to apply the R programming language and useful statistical techniques to everyday business situations. Using examples from marketing, business intelligence, and decision support, it shows you how to design experiments (such as A/B tests), build predictive models, and present results to audiences of all levels.</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This book is accessible to readers without a background in data science. Some familiarity with basic statistics, R, or another scripting language is assumed.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-in-action-data-analysis-and-graphics-with-r-amazon" id="user-content-r-in-action-data-analysis-and-graphics-with-r-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R in Action: Data Analysis and Graphics with R <a href="http://www.amazon.com/gp/product/1617291382" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/92302f822305d15697e99ad74b65c107dd5e0a09/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3431635575614c6c32504c2e5f53583339365f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/41cUuaLl2PL._SX396_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/92302f822305d15697e99ad74b65c107dd5e0a09/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3431635575614c6c32504c2e5f53583339365f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
With more than 200 practical recipes, this book helps you perform data analysis with R quickly and efficiently. The R language provides everything you need to do statistical work, but its structure can be difficult to master. This collection of concise, task-oriented recipes makes you productive with R immediately, with solutions ranging from basic tasks to input and output, general statistics, graphics, and linear regression.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-programming-for-data-science-leanpub-free" id="user-content-r-programming-for-data-science-leanpub-free" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R Programming for Data Science <a href="https://leanpub.com/rprogramming" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Leanpub]</a> <em style="box-sizing: border-box;">Free</em></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/c3acf405cbb53587fd2096707befb3f96e53ad1b/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f7469746c6570616765732e6c65616e7075622e636f6d2f7270726f6772616d6d696e672f6c617267653f31343337333538393232" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="https://s3.amazonaws.com/titlepages.leanpub.com/rprogramming/large?1437358922" src="https://camo.githubusercontent.com/c3acf405cbb53587fd2096707befb3f96e53ad1b/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f7469746c6570616765732e6c65616e7075622e636f6d2f7270726f6772616d6d696e672f6c617267653f31343337333538393232" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
R in Action, Second Edition teaches you how to use the R language by presenting examples relevant to scientific, technical, and business developers. Focusing on practical solutions, the book offers a crash course in statistics, including elegant methods for dealing with messy and incomplete data. You'll also master R's extensive graphical capabilities for exploring and presenting data visually. And this expanded second edition includes new chapters on forecasting, data mining, and dynamic report writing.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#exploratory-data-analysis-with-r-leanpub-free" id="user-content-exploratory-data-analysis-with-r-leanpub-free" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Exploratory Data Analysis with R <a href="https://leanpub.com/exdata" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Leanpub]</a> <em style="box-sizing: border-box;">Free</em></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/6c87576a7b118da44f1f3778289f672cac2e1220/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f7469746c6570616765732e6c65616e7075622e636f6d2f6578646174612f6c617267653f31343337363832343530" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="https://s3.amazonaws.com/titlepages.leanpub.com/exdata/large?1437682450" src="https://camo.githubusercontent.com/6c87576a7b118da44f1f3778289f672cac2e1220/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f7469746c6570616765732e6c65616e7075622e636f6d2f6578646174612f6c617267653f31343337363832343530" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This book teaches you to use R to effectively visualize and explore complex datasets. Exploratory data analysis is a key part of the data science process because it allows you to sharpen your question and refine your modeling strategies. This book is based on the industry-leading Johns Hopkins Data Science Specialization, the most widely subscribed data science training program ever created.</div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#machine-learning" id="user-content-machine-learning" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Machine Learning</h2>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#machine-learning-with-r-amazon-oreilly" id="user-content-machine-learning-with-r-amazon-oreilly" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Machine Learning with R <a href="http://www.amazon.com/Machine-Learning-R-Brett-Lantz/dp/1782162143" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a> <a href="http://shop.oreilly.com/product/9781782162148.do" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[O'Reilly]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/fbb8b284a7a10aeb11841333740c05943e65e70a/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f353138504241596b253242784c2e5f53583430345f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/518PBAYk%2BxL._SX404_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/fbb8b284a7a10aeb11841333740c05943e65e70a/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f353138504241596b253242784c2e5f53583430345f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
"Machine Learning with R" is a practical tutorial that uses hands-on examples to step through real-world application of machine learning. Without shying away from the technical details, we will explore Machine Learning with R using clear and practical examples. Well-suited to machine learning beginners or those with experience. Explore R to find the answer to all of your questions.</div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#reports" id="user-content-reports" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Reports</h2>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#dynamic-documents-with-r-and-knitr-second-edition-amazon" id="user-content-dynamic-documents-with-r-and-knitr-second-edition-amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Dynamic Documents with R and knitr, Second Edition <a href="http://www.amazon.com/dp/1498716962/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/b337eed1679742f01d30c8583c343a49535bea45/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3531367a2d5325324255586a4c2e5f53583333315f424f312c3230342c3230332c3230305f2e6a7067" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://ecx.images-amazon.com/images/I/516z-S%2BUXjL._SX331_BO1,204,203,200_.jpg" src="https://camo.githubusercontent.com/b337eed1679742f01d30c8583c343a49535bea45/687474703a2f2f6563782e696d616765732d616d617a6f6e2e636f6d2f696d616765732f492f3531367a2d5325324255586a4c2e5f53583333315f424f312c3230342c3230332c3230305f2e6a7067" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Suitable for both beginners and advanced users, Dynamic Documents with R and knitr, Second Edition makes writing statistical reports easier by integrating computing directly with reporting. Reports range from homework, projects, exams, books, blogs, and web pages to virtually any documents related to statistical graphics, computing, and data analysis. The book covers basic applications for beginners while guiding power users in understanding the extensibility of the knitr package.</div>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#report-writing-for-data-science-in-r-leanpub-free" id="user-content-report-writing-for-data-science-in-r-leanpub-free" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>Report Writing for Data Science in R <a href="https://leanpub.com/reportwriting" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Leanpub]</a> <em style="box-sizing: border-box;">Free</em></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/eb163fd99a1836e9ef9dff3be4a86cfae2fd24d3/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f7469746c6570616765732e6c65616e7075622e636f6d2f7265706f727477726974696e672f6c617267653f31343430303330343735" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="https://s3.amazonaws.com/titlepages.leanpub.com/reportwriting/large?1440030475" src="https://camo.githubusercontent.com/eb163fd99a1836e9ef9dff3be4a86cfae2fd24d3/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f7469746c6570616765732e6c65616e7075622e636f6d2f7265706f727477726974696e672f6c617267653f31343430303330343735" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
This book teaches the fundamental concepts and tools behind reporting modern data analyses in a reproducible manner. As data analyses become increasingly complex, the need for clear and reproducible report writing is greater than ever. The material for this book was developed as part of the industry-leading Johns Hopkins Data Science Specialization.</div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-development" id="user-content-r-development" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R Development</h2>
<h4 style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.25em; line-height: 1.4; margin-bottom: 16px; margin-top: 1em;">
<a aria-hidden="true" class="anchor" href="https://github.com/RomanTsegelskyi/rbooks#r-packages-online--amazon" id="user-content-r-packages-online--amazon" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1.2; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="box-sizing: border-box; color: black; display: inline-block; font-family: "octicons"; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; vertical-align: middle; visibility: hidden;"></span></a>R Packages <a href="http://r-pkgs.had.co.nz/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Online]</a> <a href="http://www.amazon.com/dp/1491910593/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">[Amazon]</a></h4>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="https://camo.githubusercontent.com/b4d5f3a8f8d8b509b68b4d6903c2decab982abe9/687474703a2f2f722d706b67732e6861642e636f2e6e7a2f636f7665722e706e67" style="box-sizing: border-box; color: #4078c0; text-decoration: none;" target="_blank"><img data-canonical-src="http://r-pkgs.had.co.nz/cover.png" src="https://camo.githubusercontent.com/b4d5f3a8f8d8b509b68b4d6903c2decab982abe9/687474703a2f2f722d706b67732e6861642e636f2e6e7a2f636f7665722e706e67" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" width="200px" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Packages are the fundamental units of reproducible R code. They include reusable R functions, the documentation that describes how to use them, and sample data. In this section you’ll learn how to turn your code into packages that others can easily download and use. Writing a package can seem overwhelming at first. So start with the basics and improve it over time. It doesn’t matter if your first version isn’t perfect as long as the next version is better.</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
REFERENCE https://github.com/RomanTsegelskyi/rbooks</div>
Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-6705114561591732897.post-77411986907845587612015-11-23T10:04:00.005-05:002015-11-23T10:04:42.025-05:00AwesomeXamarin<h1 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 2.25em; line-height: 1.2; margin-bottom: 16px; margin-left: 0px; margin-right: 0px; margin-top: 0px !important; padding-bottom: 0.3em;">
awesome-xamarin <a href="https://github.com/sindresorhus/awesome" style="box-sizing: border-box; color: #4078c0; text-decoration: none;"><img alt="Awesome" data-canonical-src="https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg" src="https://camo.githubusercontent.com/13c4e50d88df7178ae1882a203ed57b641674f94/68747470733a2f2f63646e2e7261776769742e636f6d2f73696e647265736f726875732f617765736f6d652f643733303566333864323966656437386661383536353265336136336531353464643865383832392f6d656469612f62616467652e737667" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" /></a></h1>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
A hand-picked bookmark collection of subjectively modern/interesting libraries/tools for Xamarin Android/iOS/WP libraries.</div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Inspired by <a href="https://github.com/quozd/awesome-dotnet" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">awesome-dotnet</a></div>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#awesome-xamarin" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Awesome Xamarin</a><ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#general" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">General</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#async" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Async</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#cloud" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Cloud</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#database-caching" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Database/Caching</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#frameworks" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Framework</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#fody" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Fody</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#game-engine" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Game Engine</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#imaging" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Imaging</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#ioc" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">IOC</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#internationalization" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Internationalization</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#mvvm" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MVVM</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#network" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Network</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#security" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Security</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#serialization" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Serialization</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#tdd-bdd" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">TDD/BDD</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#tool" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Tools</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#wearable" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Wearable</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#xamarin-forms" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Xamarin.Forms</a></li>
<li style="box-sizing: border-box;"><a href="https://github.com/benoitjadinon/awesome-xamarin#xplat-apis" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">XPlat APIs</a></li>
</ul>
</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#general" id="user-content-general" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>General</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/AutoMapper/AutoMapper" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">AutoMapper</a> - A convention-based object-object mapper in .NET</li>
<li style="box-sizing: border-box;"><a href="https://github.com/MehdiK/Humanizer" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Humanizer</a> - Manipulation and displaying of strings, enums, dates, times, timespans, numbers and quantities</li>
<li style="box-sizing: border-box;"><a href="https://github.com/JeremySkinner/FluentValidation" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Fluent Validation</a> - Fluent interface and lambda expressions for building validation rules</li>
<li style="box-sizing: border-box;"><a href="https://github.com/michael-wolfenden/Polly" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Polly</a> - Exception handling policies such as Retry, Retry Forever, Wait and Retry or Circuit Breaker</li>
<li style="box-sizing: border-box;"><a href="https://github.com/nblumhardt/stateless" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Stateless</a> - State Machines</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#async" id="user-content-async" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Async</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/StephenCleary/AsyncEx" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">AsyncEx</a> - A helper library for async/await.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/paulcbetts/LinqToAwait" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">LinqToAwait</a> - A Task-based LINQ designed to work with async/await</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#cloud" id="user-content-cloud" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Cloud</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://developer.xamarin.com/guides/cross-platform/azure/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Azure</a> - Microsoft Azure</li>
<li style="box-sizing: border-box;"><a href="https://github.com/ziyasal/FireSharp" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">FireSharp</a> - Firebase REST API wrapper</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#databasecaching" id="user-content-databasecaching" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Database/Caching</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/akavache/Akavache" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Akavache</a> - An Asynchronous Key-Value Store for Native Applications</li>
<li style="box-sizing: border-box;"><a href="https://github.com/FransBouma/Massive" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Massive</a> - "wrapper" for your DB tables and uses System.Dynamic extensively</li>
<li style="box-sizing: border-box;"><a href="https://github.com/oysteinkrog/SQLite.Net-PCL" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">SQLite.Net-PCL</a> - SQLite 3 databases support, PCL, async</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#fody" id="user-content-fody" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Fody</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/Fody/Fody" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Fody</a> - Extensible tool for weaving .net assemblies</li>
<li style="box-sizing: border-box;"><a href="https://github.com/kswoll/ReactiveUI.Fody" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">ReactiveUI.Fody</a> - Generate RaisePropertyChange notifications for properties and ObservableAsPropertyHelper properties</li>
<li style="box-sizing: border-box;"><a href="https://bitbucket.org/robertvazan/autodependencyproperty.fody/overview" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">AutoDependencyProperty.Fody</a> - Automatically generates DependencyProperty boilerplate from simple C# properties</li>
<li style="box-sizing: border-box;"><a href="https://github.com/Fody/PropertyChanged/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">PropertyChanged.Fody</a> - Injects INotifyPropertyChanged code into properties at compile time</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#framework" id="user-content-framework" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Framework</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/sami1971/SimplyMobile" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">SimplyMobile</a> - Collection of abstracted mobile functionalities</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#game-engine" id="user-content-game-engine" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Game Engine</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/mono/CocosSharp" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">CocosSharp</a> - C# implementation of the Cocos2D and Cocos3D APIs</li>
<li style="box-sizing: border-box;"><a href="https://github.com/mono/MonoGame" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MonoGame</a> - Open source implementation of the Microsoft XNA 4.x Framework</li>
<li style="box-sizing: border-box;"><a href="https://github.com/SiliconStudio/paradox" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Paradox</a> - Paradox3D + Silicon Studio .NET</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#imaging" id="user-content-imaging" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Imaging</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/molinch/FFImageLoading" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Fast & Furious Image Loading</a> - Xamarin library to load images quickly & easily</li>
<li style="box-sizing: border-box;"><a href="https://github.com/praeclarum/NGraphics" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">NGraphics</a> - Cross platform library for rendering vector graphics</li>
<li style="box-sizing: border-box;"><a href="https://github.com/paulcbetts/splat" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Splat</a> - Cross platform image loading, colors and stuff</li>
<li style="box-sizing: border-box;"><a href="https://github.com/VictorGrunn/EZ-Compress-for-Xamarin" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">EZ-Compress</a> - A simple image stream compression plugin for Xamarin</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#ioc" id="user-content-ioc" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>IOC</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/autofac/Autofac" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Autofac</a> - An addictive .NET IoC container</li>
<li style="box-sizing: border-box;"><a href="https://github.com/ninject/ninject" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Ninject</a> - The ninja of .net dependency injectors</li>
<li style="box-sizing: border-box;"><a href="https://github.com/grumpydev/TinyIoC" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">TinyIoC</a> - Single-class easy IoC container</li>
<li style="box-sizing: border-box;"><a href="https://github.com/seesharper/LightInject" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">LightInject</a> - Light, simple and stunningly fast IoC container for .NET</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#internationalization" id="user-content-internationalization" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Internationalization</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/rdio/vernacular" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Vernacular</a> - Cross Platform Localisation, tools to convert standard strings formats</li>
<li style="box-sizing: border-box;"><a href="https://github.com/apcurium/resxible" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Resxible</a> - tool to generate automatically several platform-dependent resource files from a single RESX file.</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#mvvm" id="user-content-mvvm" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>MVVM</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;">Frameworks<ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/MvvmCross/MvvmCross" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MVVMCross</a> - Cross-platform mvvm mobile development framework<ul style="box-sizing: border-box; margin-bottom: 0px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/Cheesebaron/Cheesebaron.MvxPlugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Cheesebaron.MvxPlugins</a> - A collection of plugins</li>
<li style="box-sizing: border-box;"><a href="https://github.com/MobiliTips/MvxPlugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MvxAms</a> - MVVMCross Azure Mobile Services plugin</li>
<li style="box-sizing: border-box;"><a href="https://github.com/MobiliTips/MvxPlugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MvxForms</a> - MVVMCross plugin for using Xamarin.Forms</li>
<li style="box-sizing: border-box;"><a href="https://github.com/aritchie/acrmvvmcross" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">acrmvvmcross</a> - Barcode, Device Info, IO, Network, Settings, Signature, User Dialogs</li>
</ul>
</li>
<li style="box-sizing: border-box;"><a href="https://github.com/reactiveui/ReactiveUI" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">ReactiveUI</a> - Rx MVVM framework</li>
</ul>
</li>
<li style="box-sizing: border-box;"><a href="https://github.com/praeclarum/Bind" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Bind</a> - Bind gives you easy two-way data binding between properties of objects.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/Fody/PropertyChanged" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Fody/PropertyChanged</a> - Injects INotifyPropertyChanged code into properties at compile time</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#network" id="user-content-network" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Network</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/tmenier/Flurl" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Flurl</a> - Flurl is a modern, fluent, asynchronous, testable, portable, buzzword-laden URL builder and HTTP client library.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/paulcbetts/Fusillade" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Fusillade</a> - set of HttpMessageHandlers that make your mobile applications more efficient and responsive</li>
<li style="box-sizing: border-box;"><a href="https://github.com/paulcbetts/ModernHttpClient" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">ModernHttpClient</a> - Accelerates HTTP requests by using mobile-optimized libs (NSURLSession / OkHttp)</li>
<li style="box-sizing: border-box;"><a href="https://github.com/rdelrosario/xamarin-plugins/tree/master/PushNotification" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Push Notification</a> - Simple cross platform plugin to handle push notification events such as registering, unregistering and messages arrival on Android and iOS.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/has-taiar/Reachability.Net" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Reachability</a> - Online/offline connected check</li>
<li style="box-sizing: border-box;"><a href="https://github.com/paulcbetts/refit" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Refit</a> - The automatic type-safe REST library for Xamarin and .NET</li>
<li style="box-sizing: border-box;"><a href="https://github.com/canton7/RestEase" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">RestEase</a> - Refit on steroids, simpler auth, parsing...</li>
<li style="box-sizing: border-box;"><a href="https://github.com/rdavisau/sockets-for-pcl" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Sockets</a> - An abstraction over the socket helper classes of .NET and WinRT</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#security" id="user-content-security" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Security</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/AArnott/PCLCrypto" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">PCLCrypto</a> - Cryptography for portable class libraries (MD5,...)</li>
<li style="box-sizing: border-box;"><a href="https://github.com/onovotny/BouncyCastle-PCL" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">BoucyCastle.PCL</a> PCL Version of BouncyCastle (Cryptography) targetting .NET, SL, WP and WinRT</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#serialization" id="user-content-serialization" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Serialization</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/JamesNK/Newtonsoft.Json" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Newtonsoft.Json</a> - Popular high-performance JSON framework for .NET</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#tddbdd" id="user-content-tddbdd" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>TDD/BDD</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="http://www.fluentassertions.com/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">FluentAssertions</a> - TDD/BDD fluent asserts</li>
<li style="box-sizing: border-box;"><a href="https://github.com/nbehave/NBehave" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">NBehave</a> - framework for Behaviour-Driven Development</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#tools" id="user-content-tools" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Tools</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/Redth/PushSharp" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">PushSharp</a> - A server-side library for sending Push Notifications to iOS (iPhone/iPad APNS), Android (C2DM and GCM - Google Cloud Message), Windows Phone, Windows 8, Amazon, Blackberry, and (soon) FirefoxOS devices!</li>
<li style="box-sizing: border-box;"><a href="https://github.com/EgorBo/Xamarin.GradleBindings" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">GradleBindings</a> - Visual Studio extension, for referencing gradle libs in Android projects</li>
<li style="box-sizing: border-box;"><a href="https://github.com/apcurium/resxible" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Resxible</a> - tool to generate automatically several platform-dependent resource files from a single RESX file.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/EgorBo/Xamaridea" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Xamaridea</a> - Visual Studio extension, opens *.axml files in Android Studio</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#wearable" id="user-content-wearable" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Wearable</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/Clancey/WormHoleSharp" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">WormHoleSharp</a> - Communication between Watch and iDevice</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#xamarinforms" id="user-content-xamarinforms" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>Xamarin.Forms</h2>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/aritchie/acr-xamarin-forms" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Acr-xamarin-forms</a> - Camera/Gallery, Barcode Scanning, User Dialogs, Geo-Location, Network Utils, Device Info, Settings, E-Mail, Phone, SMS all for Xamarin.Forms</li>
<li style="box-sizing: border-box;"><a href="https://github.com/ufuf/AdvancedTimer" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">AdvancedTimer</a> - Timer object and its methods are implemented for extended support for timers.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/nativecode-dev/oss-xamarin" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Android AppCompat</a> - Provide Material Design themes now for Xamarin.Forms apps natively without hacks</li>
<li style="box-sizing: border-box;"><a href="https://github.com/jamesmontemagno/Xamarin.Plugins/tree/master/ImageCircle" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Circle Image Control</a> - Simple but elegant way of display circle images in your Xamarin.Forms projects</li>
<li style="box-sizing: border-box;"><a href="https://github.com/JarleySoft/Xamarin.Plugins/tree/master/Compass" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Compass</a> - Provides and simple way to access the compass on Windows Phone, iOS and Android from you Xamarin.Forms projects</li>
<li style="box-sizing: border-box;"><a href="https://github.com/aliozgur/Xamarin.Plugins/tree/master/DeviceOrientation" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Device Orientation</a> - Simple way to get device orientation or be notified of orientation changes in your Xamarin.Forms projects</li>
<li style="box-sizing: border-box;"><a href="https://github.com/chrfalch/NControl" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">NControl</a> - Xamarin.Forms control for NGraphics</li>
<li style="box-sizing: border-box;"><a href="https://github.com/MobiliTips/MvxPlugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">MvxForms</a> - MVVMCross plugin for using Xamarin.Forms</li>
<li style="box-sizing: border-box;"><a href="https://github.com/soltechinc/soltechxf" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">SolTech Xamarin Forms Toolkit</a> - set of helpful extensions to the Xamarin Forms framework</li>
<li style="box-sizing: border-box;"><a href="https://github.com/voxdev/Xamarin.Plugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Store Rating Plugin</a> - Rate app popup</li>
<li style="box-sizing: border-box;"><a href="https://github.com/paulpatarinski/Xamarin.Forms.Plugins/tree/master/SVG" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">SVG</a> - SVG file format support</li>
<li style="box-sizing: border-box;"><a href="https://github.com/EgorBo/Toasts.Forms.Plugin" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Toasts Plugin</a> - A simple way of showing some notifications inside your Xamarin.Forms application</li>
<li style="box-sizing: border-box;"><a href="https://github.com/twintechs/TwinTechsFormsLib" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">TwinTechsFormsLib</a> - FastCell, FastImage, FastGridCell</li>
<li style="box-sizing: border-box;"><a href="https://github.com/XLabs/Xamarin-Forms-Labs" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Xamarin-Forms-Labs</a> - Powerful and cross platform set of controls and helpers</li>
<li style="box-sizing: border-box;"><a href="https://github.com/jvlppm/xamarin-forms-xna" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">xamarin-forms-xna</a> - Monogame wrapper for Xamarin.Forms</li>
</ul>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#xplat-apis" id="user-content-xplat-apis" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>XPlat APIs</h2>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
Most of them support Android and iOS, some do Windows Phone 8</div>
<ul style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px; margin-top: 0px; padding: 0px 0px 0px 2em;">
<li style="box-sizing: border-box;"><a href="https://github.com/aritchie/barcodes" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">barcodes</a> - A cross platform barcode scanning and creating library built on top of ZXing.Net.Mobile.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/aritchie/biometrics" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">biometrics</a> - (Fingerprint Sensor) For Xamarin (iOS & Android)</li>
<li style="box-sizing: border-box;"><a href="https://github.com/TheAlmightyBob/Calendars" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Calendars</a> - Calendar API plugin for Xamarin and Windows Phone, Supports basic CRUD operations with calendars and events.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/rdelrosario/xamarin-plugins/tree/master/DeviceMotion" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Device Motion</a> - Simple cross platform plugin to read motion vectors value for device motion sensors such as: Accelerometer, Gyroscope, Magnetometer, Compass.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/chkn/HybridKit" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">HybridKit</a> - Simple C# – JavaScript bridge for building hybrid iOS and Android apps.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/aritchie/io" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">io</a> - Access system folders and files using a familiar api mobile-optimized libs (NSURLSession / OkHttp)</li>
<li style="box-sizing: border-box;"><a href="https://github.com/ghuntley/Lager" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Lager</a> - Cross-platform settings storage that uses Akavache as a storage backend</li>
<li style="box-sizing: border-box;"><a href="https://github.com/kphillpotts/Xamarin.Plugins/tree/master/Lamp" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Lamp</a> - Simple way of controlling the lamp/LED on the back of your phone from Xamarin and Xamarin.Forms projects</li>
<li style="box-sizing: border-box;"><a href="https://github.com/molinch/Xam.Plugins.ManageSleep" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">ManageSleep</a> - Manage auto sleep / auto lock in all platforms. This is useful when dealing with long running processes</li>
<li style="box-sizing: border-box;"><a href="https://github.com/cjlotz/Xamarin.Plugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Messaging</a> - The Messaging plugin makes it possible to make a phone call, send a sms or send an e-mail using the default messaging applications on the different mobile platforms.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/paulcbetts/ModernHttpClient" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">ModernHttpClient</a> - Accelerates HTTP requests by using</li>
<li style="box-sizing: border-box;"><a href="https://github.com/aritchie/notifications" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">notifications</a> - Notifications plugin for Xamarin and Windows</li>
<li style="box-sizing: border-box;"><a href="https://github.com/has-taiar/Reachability.Net" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Reachability</a> - Online/offline connected check</li>
<li style="box-sizing: border-box;"><a href="https://github.com/aritchie/settings" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Settings</a> - Cross platform settings plugin for Xamarin and Windows</li>
<li style="box-sizing: border-box;"><a href="https://github.com/ghuntley/telephony" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Telephony</a> - Email, sms, voice and video call functionality</li>
<li style="box-sizing: border-box;"><a href="https://github.com/aritchie/userdialogs" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">userdialogs</a> - Standard user dialogs from a shared/portable library.</li>
<li style="box-sizing: border-box;"><a href="https://github.com/mtrinder/Xamarin.Plugins/tree/master/Version" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Version</a> - Get app version from bundle</li>
<li style="box-sizing: border-box;"><a href="https://github.com/B1naryStudio/Xamarin.Badge" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Xamarin.Badge</a> - Simple cross platform plugin to work with application badge</li>
<li style="box-sizing: border-box;"><a href="https://github.com/B1naryStudio/Xamarin.LocalNotifications" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Xamarin.LocalNotifications</a> - Simple cross platform plugin to work with mobile local notifications</li>
<li style="box-sizing: border-box;"><a href="https://github.com/xamarin/Xamarin.Mobile" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Xamarin.Mobile</a> - Reading the user's address book and using the camera</li>
<li style="box-sizing: border-box;"><a href="https://github.com/domaven/xamarin-plugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">xamarin-plugins</a> - Device Motion, Geofencing, Push Notifications (Beta)</li>
<li style="box-sizing: border-box;"><a href="https://github.com/jamesmontemagno/Xamarin.Plugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Xamarin.Plugins</a> - Battery Status, Connectivity, Contacts, Device Information, Extended Maps, Geolocator, Media, Settings, Text To Speech, Vibrate, Circle Image for Xamarin.Forms</li>
<li style="box-sizing: border-box;"><a href="https://github.com/xamarin/plugins" style="box-sizing: border-box; color: #4078c0; text-decoration: none;">Plugins for Xamarin</a> - Here you will find a listing of cross platform Plugins for Xamarin that support Xamarin.iOS, Xamarin.Android, Xamarin.Forms, and Windows Platform from a single API.</li>
</ul>
<div>
<span style="color: #333333; font-family: Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;"><span style="line-height: 25.6px;">REFERENCE https://github.com/benoitjadinon/awesome-xamarin</span></span></div>
<h2 style="border-bottom-color: rgb(238, 238, 238); border-bottom-style: solid; border-bottom-width: 1px; box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 1.75em; line-height: 1.225; margin-bottom: 16px; margin-top: 1em; padding-bottom: 0.3em;">
<a aria-hidden="true" class="anchor" href="https://github.com/benoitjadinon/awesome-xamarin#license" id="user-content-license" style="box-sizing: border-box; color: #4078c0; display: inline-block; line-height: 1; margin-left: -18px; padding-right: 2px; text-decoration: none;"><span class="octicon octicon-link" style="-webkit-font-smoothing: antialiased; -webkit-user-select: none; box-sizing: border-box; color: black; display: inline-block; font-family: octicons; font-size: 16px; font-stretch: normal; font-weight: normal; line-height: 1; text-rendering: auto; vertical-align: middle; visibility: hidden;"></span></a>License</h2>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px; margin-bottom: 16px;">
<a href="http://creativecommons.org/publicdomain/zero/1.0/" style="box-sizing: border-box; color: #4078c0; text-decoration: none;"><img alt="CC0" data-canonical-src="http://i.creativecommons.org/p/zero/1.0/88x31.png" src="https://camo.githubusercontent.com/c5160f944848828fa33126d9a697e9abe43ea98f/687474703a2f2f692e6372656174697665636f6d6d6f6e732e6f72672f702f7a65726f2f312e302f38387833312e706e67" style="background-color: white; border: 0px; box-sizing: content-box; max-width: 100%;" /></a></div>
<div style="box-sizing: border-box; color: #333333; font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px; line-height: 25.6px;">
To the extent possible under law, Benoit Jadinon has waived all copyright and related or neighboring rights to this work.</div>
Unknownnoreply@blogger.com0