<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
    <title>JPtacek.com | Musings on code and who knows what 3ls3</title>
    <link href="https://www.jptacek.com/feed/" rel="self"/>
    <link href="https://www.jptacek.com"/>
    <updated>2019-06-04T11:26:17.822Z</updated>
    <id>https://www.jptacek.com/</id>
    <author>
        <name>John Ptacek</name>
        <email>jptacek@gmail.com</email>
    </author>

    
    <entry>
        <title>That Conference 2018 - Functional JavaScript</title>
        <link href="https://www.jptacek.com/2018/08/ThatConference2018/"/>
        <updated>2018-08-08T05:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2018-08-08,/2018/08/ThatConference2018/</id>
        <content type="html"><![CDATA[<p>I am a huge fan of life long learning and community, and <a href="https://www.thatconference.com">That Conference</a> allows me to indulge in it each year.</p>
<p>I have also been lucky enough to speak each year at the event (though I had to bail one year
for work commitments).</p>
<p>This year, my <a href="https://www.thatconference.com/sessions/session/12739">session</a> was Functional Programminng in JavaScript. During the talk I take a loop through the aspects of Functional 
Programming available in the land of JavaScript.</p>
<p><img src="https://www.jptacek.com/2018/08/ThatConference2018/thatConf2018.jpg" alt="John Ptacek speaking at ThatConference 2018"></p>
<p>Thanks to all who attended and provided feedback.</p>
<p>For those interested, here is the <a href="https://docs.google.com/presentation/d/1o-TNzP79PPlkpq5wiDL58dOQ4coRnOGUg7E10jIsgyI/edit#slide=id.p">presentation</a>.</p>
<p>The source code can be found on my GitHub account at <a href="https://github.com/jptacek/functional-javascript-that-conf">https://github.com/jptacek/functional-javascript-that-conf</a>.</p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2018/08/ThatConference2018/]]></foo1>
            </entry>
    
    <entry>
        <title>An Introduction to Artificial Intelligence and Machine Learning</title>
        <link href="https://www.jptacek.com/2018/03/Intro-To-Artificial-Intelligence/"/>
        <updated>2018-03-31T05:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2018-03-31,/2018/03/Intro-To-Artificial-Intelligence/</id>
        <content type="html"><![CDATA[<p>Artificial Intelligence (AI) is becoming more of an important part in the solutions we craft for clients in many different industries. The term AI itself is very broad, so let’s break down some applicable concepts.</p>
<h2 id="consuming-artificial-intelligence-services">Consuming - Artificial Intelligence Services</h2>
<p>We can already take advantage of Artificial Intelligence (AI) by utilizing AI algorithms created by Microsoft and Google within applications we develop. This enables developers to bring AI smarts into an application without having to have a deep understanding of all the nuances of AI – enabling far more widespread adoption and implementation.</p>
<h3 id="libraries-available">Libraries Available</h3>
<p>These are examples of the libraries available to developers today:</p>
<h4 id="vision">Vision</h4>
<p>We can use AI libraries to process images for applications we develop. These libraries enable us to identify objects as well as caption content from the images (for example, an image contains a dog in a park). We can also use sentiment analysis to determine the mood of an individual in a photo.</p>
<p>One of our clients asked us to use facial recognition to determine if people look nervous or angry when in a shop. And another client asked us to develop a facial recognition solution to identify customers rather than manually looking through archived security cameras.</p>
<p>A great example of an application using vision AI services is Google’s real-world emoji hunt app you can use via a web browser on your phone. Check out <a href="https://emojiscavengerhunt.withgoogle.com/">https://emojiscavengerhunt.withgoogle.com/</a>. This application uses the web browser and JavaScript to do real-time image recognition that has you hunting emojis from the virtual world in the real world..</p>
<h4 id="speech">Speech</h4>
<p>Speech-based AI platforms can take real-time speech and translate it into text, like voicemail does on most phones. You can also uniquely identify people by their voice or develop for-voice interfaces in application.</p>
<p>We are in the process of creating a hackathon with a client to develop a chatbot. The chatbot would enable users to interact with it via typing to change a password in a help desk function. This is an example of where we can develop a speech-based AI model, but consume it using text via interaction with a chatbot or voice via interaction with a digital assistant.</p>
<p>We have also used Google Chrome’s built in speech recognition to develop a voice-activated product search for a client, as well as helping clients to develop Alexa Skills or Google Home Actions.</p>
<h4 id="knowledge">Knowledge</h4>
<p>This allows us to take an existing knowledge base and enable it to be consumed by developers as endpoints.</p>
<p>An example of this was highlighted during a recent trip to the Microsoft Technology Center. They have a function which allows an internal documentation site to be searched and indexed, and then allows you to interact with it via question and answer interactions. Once created, this could then be used to provide a Q&amp;A chatbot for an organization. For example, you could chat with a HR chatbot and ask it when benefit forms are due and get a response rather than trying to search a HR website. This provides users quick access to information. More information on QnA Maker is available at <a href="https://azure.microsoft.com/en-us/services/cognitive-services/qna-maker/">https://azure.microsoft.com/en-us/services/cognitive-services/qna-maker/</a>.</p>
<h4 id="language">Language</h4>
<p>Language AI platforms enable developers to better understand natural human language. Think of typing a normal question into a search engine and having it parse the sentence to derive an answer. Language AI platforms also enable us to do sentiment analysis on documents, as well as translation services between various spoken languages (ex. English text to Spanish).</p>
<p>An example of this could be using AI to translate the content of a website for users in real-time to another language. This isn’t new, but the translation capabilities have used AI internally to become MUCH better tools.</p>
<p>You can use language-based AI to ascertain the sentiment of content people are producing. If you are in customer service, you can have an application that’s reading tweets about your organization, identifies an unhappy post, and notifies your team to respond appropriately. Tools like this exist in the marketplace today, but we can develop custom solutions if we need to.</p>
<h2 id="creating-machine-learning">Creating - Machine Learning</h2>
<p>Another way to utilize AI is via Machine Learning. Machine Learning allows us to take lots of input data and make the data predictive. This is a more involved implementation than already created platform services from Microsoft and Google, but it allows us to provide solutions applicable to an organization&#39;s problem domain. There are many ways to solve these problems using machine learning by training models. We highlight four of them below with examples.</p>
<p>The most popular machine learning tool by far is <a href="https://www.tensorflow.org/">TensorFlow</a>, an open source tool created by Google. To use tools likes TensorFlow, the first step is to train a model, which is usually done with languages like Python and R. These models then can be consumed in an application locally on a device or by wrapping the output in an API Endpoint. Microsoft also has a machine learning platform called Microsoft Cognitive Toolkit (CNTK).</p>
<p>You will hear terms like <a href="https://jupyter.org/">Jupyter Notebooks</a> and Azure Machine Learning workbench. These tools enable teams and organization to share learning from data and model creation.</p>
<h3 id="types-of-machine-learning">Types of Machine Learning</h3>
<h4 id="supervised-learning">Supervised Learning</h4>
<p>With supervised learning, you have input variables and output variables. You can think of this as an almost glorified math function. Given input data x, y and z (also called features) you get an output value of (y = f(x,y,z)) called a label. It is called supervised learning because we know the correct answer (the output value y or label), and we can “watch” the model as it is training itself until it gets to a proper error tolerance.</p>
<p>A real-world example of this is email spam. If you are Google, you get billions of emails a day, and you know which one users have identified as spam. You can then use the feature (the email) to identify which future emails are likely to be spam.</p>
<p>Another example would be the value of a house, based on a set of feature data called predictors. Predictors could be square feet, number of bedrooms, number of floors, etc. From these, you could develop a model to predict housing values based on historical data from a trained model.</p>
<p>A final example would be to take operating conditions of a machine and see if it is in a failure condition and turn it off.</p>
<h4 id="unsupervised-learning">Unsupervised Learning</h4>
<p>With unsupervised learning, you have input variables (or features), but not corresponding output variables (or labels). In this case, we don’t know what the correct answer is. We are using this method to understand the structure of our data or the distribution of data. The unsupervised description comes from the fact that there is no correct answer and we cannot “watch” the model as it trains. Algorithms are left to find patterns in the data for us.</p>
<p>A real-world example of unsupervised learning could be buying habits. You can identify people coming to your site that buy product A, are also likely to buy product B, and recommend it to them. Common examples of this include suggested purchases in Amazon and suggested shows in Netflix and Hulu.</p>
<h4 id="semi-supervised-learning">Semi-Supervised Learning</h4>
<p>This training method is a combination of supervised and unsupervised learning. Some of your data is partially labeled and the remainder is not. This often tends to be found in the real world, where you do not have the luxury of having all of your data labeled.</p>
<p>An example of this is <a href="https://photos.google.com/">Google Photos</a>, it can identify person A is someone who appears in our photos a lot. You can then identify that person A is your significant other, and future photos are automatically tagged as person A.</p>
<h4 id="reinforcement-learning">Reinforcement Learning</h4>
<p>This training method is quite different than the rest. In this case, you train the model to observe the environment, and then act. If the action is successful, the system gets a reward. As time goes on, it develops a strategy (called a policy) to maximize reward.</p>
<p>A recent example of this is <a href="https://deepmind.com/research/alphago/">Google Deepmind’s Alpha Go</a>. Google used supervised learning to <a href="https://www.theverge.com/2017/5/30/15712300/alphago-ai-humanity-google-artificial-intelligence-ke-jie">famously beat</a> the world&#39;s best Go Player, Lee Se-dol, in May of 2016. Google then went back to the drawing board, and instead of using supervised learning to train the AI, it used reinforcement learning. The system was trained on the rules of Go, and it played against itself <a href="https://www.theverge.com/2017/10/18/16495548/deepmind-ai-go-alphago-zero-self-taught">many, many times</a> to create a policy it used against opponents. The end result was a remarkably stronger program than the one that beat the world&#39;s best Go Player.</p>
<p>Google has a nice <a href="https://www.youtube.com/watch?v=V1eYniJ0Rnk&amp;vl=en">video</a> of this happening over time with a game of Breakout.</p>
<h2 id="conclusion">Conclusion</h2>
<p>Artificial Intelligence is an important emerging technology for enterprises. Taking advantage of existing AI platforms to infuse applications with smarts is a quick step to getting started. As organizations mature, machine learning can help organizations find value in the data they have to learn and predict.</p>
<h2 id="ai-vocabulary">AI Vocabulary</h2>
<ul>
<li>Attribute - a data type in a machine learning problem. For example, square footage.</li>
<li>Feature - an attribute (data type) AND its value. For example, square footage = 1950.</li>
<li>Classification - a subset of supervised learning problems where the output is a category. For example, spam or not spam for an email.</li>
<li>Regression - a subset of supervised learning problems where the output is a value. For example, the estimated price of a house.</li>
<li>Clustering - a subset of unsupervised learning problems where you want to discover groupings of the data. An example could be website visitor history that shows people are generally professional coders during the week, but hobby coders on the weekend.
*Association - a subset of unsupervised learning problems where you want to discover associations in the data. For example, Amazon knows that people who buy thing X (Captain America) are likely to buy thing Y (Black Panther).</li>
<li>Policy - the strategy a machine learning system develops from a reinforcement learning program.</li>
</ul>
<h2 id="supervised-learning-algorithms">Supervised Learning Algorithms</h2>
<ul>
<li>k-Nearest Neighbor</li>
<li>Linear Regression - Regression problems</li>
<li>Logistic Regression</li>
<li>Support Vector Machines (SVMs) - Classification problems</li>
<li>Decision Trees and Random Forest - Classification problems</li>
<li>Neural Networks</li>
</ul>
<p>This blog post originally appeared
at <a href="https://www.skylinetechnologies.com/Blog/Skyline-Blog/May_2018/artificial-intelligence-machine-learning-intro">Skyline Technologies</a></p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2018/03/Intro-To-Artificial-Intelligence/]]></foo1>
            </entry>
    
    <entry>
        <title>National Pi Day 2018</title>
        <link href="https://www.jptacek.com/2018/03/National-Pi-Day/"/>
        <updated>2018-03-14T05:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2018-03-14,/2018/03/National-Pi-Day/</id>
        <content type="html"><![CDATA[<p>In honor of <a href="https://en.wikipedia.org/wiki/Pi_Day">National Pi Day</a> in the US, we are going to revisit an <a href="https://jptacek.com/2013/03/have_your_pi/">old blog post</a> where we compared the performance of C# to C++.</p>
<p>This is a really simple comparison, but we can still learn a few things!</p>
<p>We are going to use a VERY slowly converging series to calculate π to 15 decimal points, which takes close to 100 million iterations to accomplish. The formula is the <a href="https://en.wikipedia.org/wiki/Leibniz_formula_for_%CF%80">Leibniz Formula</a> and can be represented as a mathematical series as such:</p>
<p><img src="https://www.jptacek.com/2018/03/National-Pi-Day/piLeibniz.png" alt="Leibniz series for computing Pi"></p>
<p>Microsoft has been hard at work, rewriting their .NET platform from the version that has powered enterprises over the last 15 years, to a more platform agnostic, open source version called <a href="https://www.microsoft.com/net/">.NET Core</a>.</p>
<p>We thought it would be interesting to compare .NET Core calculations to the previous .NET Classic calculation that was written in C#. We also decided to compare the very popular <a href="https://nodejs.org/en/">Node.js</a> runtime, which drives a lot of web development, both with <a href="https://www.npmjs.com/">NPM</a> for client development and on the server.</p>
<p>There were 10 iterations of each code run on Windows 10. You can find the code on Skyline’s <a href="https://github.com/SkylineTechnologies/">Github</a> account at <a href="https://github.com/SkylineTechnologies/pi-day-leibniz">pi-day-leibniz</a>.</p>
<p><img src="https://www.jptacek.com/2018/03/National-Pi-Day/piDayLang.png" alt="win10 dot net node classic"></p>
<p>As we can see, the performance of .NET Core is pretty impressive on Windows! Three times as fast than .NET Classic and 7 times faster than Node.js. This passes the smell test too. We expect a more modern rewrite of .NET to perform better. Node.js is also an interpreted language, so it will not be as fast as compiled code.</p>
<p>We then compared the performance of .NET Core and Node.js across operating systems on the same machine, in this case, <a href="https://www.ubuntu.com/">Ubuntu</a> 17.10 and Windows 10. Since both code bases are multi-platform, we can see how they compare across OSes.</p>
<p><img src="https://www.jptacek.com/2018/03/National-Pi-Day/piDayCompareOS.png" alt="ubuntu dotnet node"></p>
<p>Node.js performs slightly better on Ubuntu than it does on Windows. Given that Node.js uses Google’s Chrome JavaScript engine, we would expect similar performances across platforms.</p>
<p>Dotnet Core in this instance though is about three times slower on Linux than it is on Windows. This makes sense since Microsoft is the creator of Windows 10 and will have tons of expertise on optimizing application for the operating system.</p>
<h2 id="two-takeaways-from-this-pi-day-exercise">Two takeaways from this Pi Day exercise</h2>
<ol>
<li><p>.NET core performance is very impressive. The release of Node.js brought Async processing to the forefront to enable performant API calls. The rest of vendors have been playing catch up, and Microsoft’s catch up with .NET Core is very fast. This is also backed up by much more thorough benchmarks from TechEmpower.</p>
</li>
<li><p>Second, the development landscape is vastly different in the five years since we did a Pi day look at C# and C++ performance in 2013.</p>
</li>
</ol>
<p>Microsoft’s C# classic is not the company’s future direction. They are 100% in on the new .NET Core platform and enabling developers to build things on Windows, Mac or Linux. This is a remarkable turnaround for a company that once called Linux a <a href="https://www.theregister.co.uk/2001/06/02/ballmer_linux_is_a_cancer/">cancer</a>.</p>
<p>Throw in the fact that .NET Core is an Open Source technology, as is Node.js. Microsoft has even Open Source .NET classic. We can see that in the five years since we last looked at performance that Open Source technology has become the standard for developers, with implementations on the developer’s platform of choice. That is outstanding progress for developers.</p>
<p>Happy Pi day! Go and write some code!</p>
<p>This blog post originally appeared
at <a href="https://www.skylinetechnologies.com/Blog/Skyline-Blog/March_2018/pi-day-compare-dotnet-core-classic-node-javascript">Skyline Technologies</a></p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2018/03/National-Pi-Day/]]></foo1>
            </entry>
    
    <entry>
        <title>NewDug Nov 2018 - React Native is the future of mobile</title>
        <link href="https://www.jptacek.com/2017/11/ReactNativeNewDug/"/>
        <updated>2017-11-08T06:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2017-11-08,/2017/11/ReactNativeNewDug/</id>
        <content type="html"><![CDATA[<p>Great night for a presentation to the <a href="http://newdug.org/">NewDug</a> user group about 
<a href="https://facebook.github.io/react-native/">React Native</a>. The title
of my talk was <a href="https://www.eventbrite.com/e/react-native-is-the-future-of-mobile-and-the-future-is-now-john-ptacek-tickets-37036925441?aff=esli#">React Native is the future of mobile, and the future is now! </a>, so there was lots of good converstation!</p>
<p>Thanks to all of those who attended.</p>
<p>For those interested, here is a copy of the  <a href="https://docs.google.com/presentation/d/1rGOy1_GwRRcNVT-RkdiWb7Ra82Hoeno0vType5_NdnM/edit?usp=sharing">presentation</a>.</p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2017/11/ReactNativeNewDug/]]></foo1>
            </entry>
    
    <entry>
        <title>TechHub 2017 - Innovation, AI and the Economy</title>
        <link href="https://www.jptacek.com/2017/09/TechHub2017/"/>
        <updated>2017-09-28T05:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2017-09-28,/2017/09/TechHub2017/</id>
        <content type="html"><![CDATA[<p>I was honored to be chosen to speak at the <a href="https://www.technologyhubconference.com/">2017 Technology Hub conference</a> in
Appleton, Wi.</p>
<p>My <a href="https://www.technologyhubconference.com/timetable/event/innovation-ai-economy/">session</a> was on Innovation, Artificial Intelligence, and the Economy. It was a pretty
different talk for a tech conference, which led to great discussion.</p>
<p><img src="https://www.jptacek.com/2017/09/TechHub2017/JenJohnTechHub.jpg" alt="Jen and John AI conf"></p>
<p>Thanks to all of those who attended.</p>
<p>For those interested, here is a copy of the  <a href="https://docs.google.com/presentation/d/1OTdsbi7ecvIzZQ4rz__uaJkAssMtapWxDPP3Rbp9HAI/edit?usp=sharing">presentation</a>.</p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2017/09/TechHub2017/]]></foo1>
            </entry>
    
    <entry>
        <title>That Conference 2017 - Intro to Docker</title>
        <link href="https://www.jptacek.com/2017/08/ThatConference2017/"/>
        <updated>2017-08-11T05:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2017-08-11,/2017/08/ThatConference2017/</id>
        <content type="html"><![CDATA[<p>I rave a lot about <a href="https://www.thatconference.com">That Conference</a>, so you can
tell I am pretty enthusiastic for the event. If that doesn&#39;t convince you, this
picture should!</p>
<p><img src="https://www.jptacek.com/2017/08/ThatConference2017/thatConf.png" alt="ThatConference 2017"></p>
<p>This year, my <a href="https://www.thatconference.com/Sessions/Session/11585">session</a> was An introduction to <a href="https://www.docker.com">Docker</a>, a
very popular virtualization technology that I find .NET developers are
somewhat unaware of.</p>
<p>It was a fun talk and really great questions and crowd participation.</p>
<p>For those interested, here is the <a href="https://docs.google.com/presentation/d/1Ss3MitzdYtEPDD14NHhIJtWAV_TYCJhK_NKFHkhklLQ/edit#slide=id.p">presentation</a>.</p>
<p>The source code can be found on my GitHub repo at
<a href="https://github.com/jptacek/dockerPi">https://github.com/jptacek/dockerPi</a>.</p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2017/08/ThatConference2017/]]></foo1>
            </entry>
    
    <entry>
        <title>NEWDUG 2017 CodeCamp - Introduction to Docker</title>
        <link href="https://www.jptacek.com/2017/03/NewDug2017/"/>
        <updated>2017-03-25T05:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2017-03-25,/2017/03/NewDug2017/</id>
        <content type="html"><![CDATA[<p>Thanks to everyone who came out to my talk about Docker at the 2017
<a href="http://newcodecamp.com">NEW Codecamp</a>.</p>
<p>The slides for the presentation are available at <a href="https://docs.google.com/presentation/d/1Ip-ybRmXez8bldnk07ug0T2y5Dlbdql20Mf14UCJDeQ/edit?usp=sharing">slides.google.com</a>.</p>
<p>The source code can be found on my GitHub repo at
<a href="https://github.com/jptacek/dockerPi">https://github.com/jptacek/dockerPi</a>.</p>
<p>It is great to see so many engaged folks in our NorthEast Wisconsin Developer
community that came out today!</p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2017/03/NewDug2017/]]></foo1>
            </entry>
    
    <entry>
        <title>Innovation, Artificial Intelligence and the Economy</title>
        <link href="https://www.jptacek.com/2017/01/Innovation-AI-Economy/"/>
        <updated>2017-01-12T06:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2017-01-12,/2017/01/Innovation-AI-Economy/</id>
        <content type="html"><![CDATA[<p>May you live in interesting times is an old curse. Well, we certainly are living in interesting times! Over the last 5-10 years, we have seen enormous growth in computing power driven by cloud infrastructure and mobile phones. This has resulted in tremendous economies of scale; driving down the cost of consuming and utilizing computational resources. As a result, the goals of Artificial Intelligence become realized at a much greater pace than the vast majority of people have anticipated, and it will bring changes.</p>
<p>I have <a href="https://jptacek.com/2016/05/DeathOfMooresLawAndTheGameOfGo/">written</a> in the past about Google’s DeepMind and the Game of Go. It was long thought that a computer being able to beat a champion Go players was at most a decade or two away. However, this happened <a href="http://www.theverge.com/2016/3/15/11213518/alphago-deepmind-go-match-5-result">last summer</a> with Google’s DeepMind platform.</p>
<p>Google built on the success of DeepMind and utilized it with their language translation service, <a href="https://translate.google.com">Google Translate</a>. This has resulted in order of magnitude increases in the ability to translate between languages. Google <a href="http://www.nytimes.com/2016/12/14/magazine/the-great-ai-awakening.html?_r=0">stated</a> that the night they turned on Deep Mind for their translation platform, they saw a greater increase in fluency than they had in the previous 10 years of improving the platform. In fact, Google now <a href="https://www.newscientist.com/article/2114748-google-translate-ai-invents-its-own-language-to-translate-with/">believes</a> their DeepMind platform has created its own, intermediary language that it uses to translate between different languages, independent of programmers telling it to. It did it on its own. This is crazy Sci-Fi stuff!</p>
<p>So what happens when Sci-Fi becomes part of the real world? Disruption, always lots of disruption. If you look at the economic impact of the Information Revolution, it is amazing. In the 1970s General Motors employed 800,000 workers around <a href="http://www.mlive.com/business/index.ssf/2008/09/a_brief_history_of_general_mot.html">the world</a>. Today, they are still the largest car manufacturer, but employ 250,000 people, a fraction of the number in the 70s. Also, their market cap has reduced greatly and they are no longer the largest company in the globe. Manufacturing companies across the world share similar stories.</p>
<p>Part of the reason for this change is automation. Technology has invaded manufacturing facilities and has reduced the number of humans involved in creating physical objects. This trend is only continuing. <a href="http://www.foxconn.com/">Foxconn</a>, which manufactures iPhone for <a href="https://www.apple.com/">Apple</a> and is the one of the largest electronic manufactures in the world is hard at work on factory automation. <a href="http://www.bbc.com/news/technology-36376966">Recently</a>, in a Foxconn facility in <a href="https://en.wikipedia.org/wiki/Kunshan">Kunshan</a>, they reduced the workforce at their plant from 110,000 to 50,000 people, 60,000 workers. In fact, Foxconn is <a href="http://www.digitimes.com/news/a20161229PD206.html">working</a> on automating their entire assembly line, resulting in numerous workers losing their jobs.</p>
<p>So, we can see the impact of large investment in automation and technology driving down manufacturing costs and reducing headcount. In the recent United States election, one of the big tenets of President-elect Trump’s campaign was to bring back manufacturing jobs and repeal or modify trade deals like the North American Free Trade Agreement (NAFTA) and Trans-Pacific Partnership (TPP). The issue though, those jobs have in many instances disappeared, not because of trade deals, but because of automation. Manufacturing jobs <a href="http://www.economist.com/blogs/buttonwood/2017/01/economics-and-finance">peaked </a>in 1979 at 19.5 million and currently sit around 12.3 million. Apple is currently <a href="http://appleinsider.com/articles/16/11/17/report-claims-apple-iphone-assemblers-tasked-to-develop-us-manufacturing-plans">rumored</a> to be exploring manufacturing iPhones in the US with a partner like Foxconn. If those jobs though are automated, employing very few people than traditional manufacturing, have we done anything more than make ourselves feel good?</p>
<p>If we look at our current economy and take a company like Google, which battles back and forth with Apple for the largest market cap in the world, employs 60,000 people, an order of magnitude less than GM did when it was the world’s biggest company in the 70s. Further, consider a company like <a href="https://www.whatsapp.com">Whats App</a>, which FaceBook bought for 22 billion dollars <a href="https://www.bloomberg.com/news/articles/2014-10-28/facebook-s-22-billion-whatsapp-deal-buys-10-million-in-sales">several years ago</a>. At that time, Whats App was a 55 person company. The idea of a company being worth 22 billion dollars and employing 55 people was a ludicrous proposition only two decades ago.</p>
<p>Okay, the economy is changing, manufacturing jobs are disappearing and being replaced by technology and automation. Where does Artificial Intelligence fit into this? Well, how technology replaced jobs held by blue collar workers, Artificial Intelligence has the ability to do the same to White Collar/Knowledge worker jobs.</p>
<p>If one looks at the finance industry and the massive recession that hit in the late 2000s, a lot of that was driven by computers. How so you ask!??! Many of the large trading houses have automated programs that are responsible for trading based on market conditions. The complexity involved in the housing market of the late 00s was too much for people to understand or trade. Wall Street firms hired exceedingly smart folks in Physics and Mathematics and had them develop automated trading programs. These people, called quants, created programs that in many cases replaced traders on the floor. They moved quicker, don’t let emotion get in the way and their decisions were made on data. They also created complex financial models, for example derivatives, that helped drive the Great Recession of the 00s.</p>
<p>With the quickly realized gains in AI, the cost of implementing the technology will be reduced, and the way AI disrupted Wall Street firms is going to be heading into more and more industries. It is possible, that computer programmers of the future will be replaced by AI jobs. If AI apps can build a better Go To Market program for a product brand, will organizations continue to employ numerous brand manager employees when a computer is better able to execute? Will the knowledge worker of today, who creates the program, be replaced by the AI program of tomorrow, with the role of the (much fewer) knowledge worker being setting the conditions for the AI program. It is quite possible.</p>
<p>What does our world economy look like if what happens to manufacturing jobs happens to white collar jobs? To be honest, it looks pretty scary. Obviously, just as the Information revolution created new opportunities and new job types, these will emerge in an AI world. However, the world’s largest business employed 800K people and 30 years later, the world’s largest company employs 60K workers, it is quite possible there will be a lot fewer jobs.</p>
<p>College has always been a path for the American dream and a way to get into White Collar jobs. What happens though if there just aren’t jobs for the college educated? Folks like Elon Musk have started thinking about it… One of the ideas being floated around is that we have a <a href="http://fortune.com/2016/11/06/elon-musk-universal-basic-income/">universal income</a> for each citizen. Finland just rolled out a<a href="https://www.theguardian.com/world/2017/jan/03/finland-trials-basic-income-for-unemployed"> two year basic income tria</a>l for unemployed citizens. Switzerland also recently had a ballot initiative for a <a href="https://qz.com/699739/why-switzerlands-universal-basic-income-referendum-matters-even-though-failed/">universal income</a>, that failed by a large margin, but it has started a conversation. The income could be created by different taxation policies for large companies generating lots of wealth, without employing lots of people. Countries, especially here in the US, are a far from having this conversation. However, as the demand for good paying jobs increases, and the economy, through automation creates less demand, there are societal problems that are going to need to be addressed.</p>
<p>In the states we have just left an election cycle where President-elect Trump very successfully campaigned to bring manufacturing jobs back to the US. In England, they recently voted for to leave the European Union, with one of the tenets of the Brexit campaign to bring back jobs to England. When we talk about bringing back manufacturing jobs that have not moved overseas, but disappeared, we all have a long journey in front of us. When the technological innovation that has reduced manufacturing jobs begins to happen to knowledge workers…. well, may you live in interesting times!</p>
<p>Would love to hear your thoughts or ideas to address this changing world. Hop on the comments below.</p>
<p>Links</p>
<ol>
<li><p>The Death of Moore’s Law - <a href="https://jptacek.com/2016/05/DeathOfMooresLawAndTheGameOfGo/">https://jptacek.com/2016/05/DeathOfMooresLawAndTheGameOfGo/</a></p>
</li>
<li><p>Google&#39;s AlphaGo AI beats Lee Se-dol again to win Go series 4-1 - <a href="http://www.theverge.com/2016/3/15/11213518/alphago-deepmind-go-match-5-result">http://www.theverge.com/2016/3/15/11213518/alphago-deepmind-go-match-5-result</a></p>
</li>
<li><p>The Great A.I. Awakening - <a href="http://www.nytimes.com/2016/12/14/magazine/the-great-ai-awakening.html?_r=0">http://www.nytimes.com/2016/12/14/magazine/the-great-ai-awakening.html?_r=0</a></p>
</li>
<li><p>Google Translate AI invents its own language to translate with - <a href="https://www.newscientist.com/article/2114748-google-translate-ai-invents-its-own-language-to-translate-with/">https://www.newscientist.com/article/2114748-google-translate-ai-invents-its-own-language-to-translate-with/</a></p>
</li>
<li><p>A brief history of General Motors Corp - <a href="http://www.mlive.com/business/index.ssf/2008/09/a_brief_history_of_general_mot.html">http://www.mlive.com/business/index.ssf/2008/09/a_brief_history_of_general_mot.html</a></p>
</li>
<li><p>Foxconn replaces &#39;60,000 factory workers with robots&#39; - <a href="http://www.bbc.com/news/technology-36376966">http://www.bbc.com/news/technology-36376966</a></p>
</li>
<li><p>Foxconn boosting automated production in China - <a href="http://www.digitimes.com/news/a20161229PD206.html">http://www.digitimes.com/news/a20161229PD206.html</a></p>
</li>
<li><p>The manufacturing jobs delusion - <a href="http://www.economist.com/blogs/buttonwood/2017/01/economics-and-finance">http://www.economist.com/blogs/buttonwood/2017/01/economics-and-finance</a></p>
</li>
<li><p>Apple exploring the possibility of moving iPhone manufacturing to United States - <a href="http://appleinsider.com/articles/16/11/17/report-claims-apple-iphone-assemblers-tasked-to-develop-us-manufacturing-plans">http://appleinsider.com/articles/16/11/17/report-claims-apple-iphone-assemblers-tasked-to-develop-us-manufacturing-plans</a></p>
</li>
<li><p>Facebook $22 Billion WhatsApp Deal Buys $10 Million in Sales - <a href="https://www.bloomberg.com/news/articles/2014-10-28/facebook-s-22-billion-whatsapp-deal-buys-10-million-in-sales">https://www.bloomberg.com/news/articles/2014-10-28/facebook-s-22-billion-whatsapp-deal-buys-10-million-in-sales</a></p>
</li>
<li><p>Elon Musk Thinks Automation Will Lead to a Universal Basic Income - <a href="http://fortune.com/2016/11/06/elon-musk-universal-basic-income/">http://fortune.com/2016/11/06/elon-musk-universal-basic-income/</a></p>
</li>
<li><p>Finland trials basic income for unemployed -  <a href="https://www.theguardian.com/world/2017/jan/03/finland-trials-basic-income-for-unemployed">https://www.theguardian.com/world/2017/jan/03/finland-trials-basic-income-for-unemployed</a></p>
</li>
<li><p>Why Switzerland’s Universal Basic Income referendum matters, even though it failed - <a href="https://qz.com/699739/why-switzerlands-universal-basic-income-referendum-matters-even-though-failed/">https://qz.com/699739/why-switzerlands-universal-basic-income-referendum-matters-even-though-failed/</a></p>
</li>
</ol>
<p>This post originally appeared at <a href="https://www.skylinetechnologies.com/Blog/Skyline-Blog/January_2017/Innovation_Artificial_Intelligence_and_the_Econom">Skyline Technologies</a></p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2017/01/Innovation-AI-Economy/]]></foo1>
            </entry>
    
    <entry>
        <title>Online Security Best Practices</title>
        <link href="https://www.jptacek.com/2017/01/OnlineSecurityBestPractices/"/>
        <updated>2017-01-05T06:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2017-01-05,/2017/01/OnlineSecurityBestPractices/</id>
        <content type="html"><![CDATA[<p>With the news full of journalist, politicians, celebrities and other people having their email and phone accounts hacked, it is a constant reminder that we should be vigilant about protecting ourselves online.</p>
<p>While no one can ensure you are 100% safe from online hacking, we have a bunch of steps for you to keep yourself secure in an increasingly hostile digital world.</p>
<p><strong>Different Passwords</strong> - First and foremost, use a different password for sites you visit. When 116 million <a href="https://www.linkedin.com/">LinkedIn</a> was hacked in 2012, those users’ email address and passwords eventually ended up <a href="https://motherboard.vice.com/read/another-day-another-hack-117-million-linkedin-emails-and-password">online in 2016</a>. Users who use the same password on LinkedIn as their Gmail account quickly found themselves vulnerable.</p>
<p><strong>Password Pattern</strong> - I try and use a pattern for all the sites I visit that makes each sites password, pretty unique. What does this mean? I will use a base password that has both numbers and special characters, for example, Justin20!^Bieber. I will then append a set of characters for the website I am visiting. For example, the first two letters of the domain or the first two vowels of the site. So my password for Google, taking the first two vowels from google.com of oo, would be Justin20!^Bieberoo. You can develop your own password pattern, and then use it where applicable. Don’t be like me though and tell people your pattern!</p>
<p><strong>Change Your Password</strong> - If a site gets hacked and no one tells you until three years later, that is bad. You can decrease the chances of hackers changing. Every year as you kick off your New Year’s resolutions, include changing your password for sites that are important; such as mail, phone accounts and banking.</p>
<p><strong>Password Manager</strong> - There is a lot mental energy expended remembering all of these passwords, even with a pattern. A password manager is a highly recommended approach to dealing with the deluge of passwords we are confronted with.</p>
<p>In general, password managers have plugins that can be used in browser that automatically fill in username and passwords at websites. On mobile platforms, you are prompted via the app to provide a username and password.</p>
<p>Password managers will also generate unique passwords for sites that are highly randomized such as, 7?@W^(+56KsYu8. This level of complexity is hard for hackers to try and crack.</p>
<p>Popular passwords manager include <a href="https://www.lastpass.com/">LastPass </a>and <a href="https://1password.com/">1Password</a>. LastPass recently allowed their free version to connect. Highly recommended.</p>
<p><strong>Update software</strong> - It doesn’t matter how complex or strong your passwords are if you are running software that has security flaws that hackers can readily take advantage of. PCs running a 5 year old version of Adobe Flash are going to be open to hackers looking for information.</p>
<p>To alleviate this run modern versions of software. This includes latest versions of Windows 10 (upgrade from Windows XP people!) and MacOs. Make sure you are using an evergreen browser, such as <a href="https://www.google.com/chrome/">Chrome</a>, <a href="http://www.opera.com/">Opera</a>, <a href="https://www.mozilla.org/en-US/firefox/products/">FireFox</a> or <a href="https://www.microsoft.com/en-us/windows/microsoft-edge">Microsoft’s Edge</a> browser. If you are using outdated software, be sure to upgrade.</p>
<p>Is this a real issue? In 2016 hackers used zero day vulnerabilities in <a href="http://securityaffairs.co/wordpress/47197/hacking/cve-2016-4117-adobe-flash-zero.html">Flash</a>, <a href="http://arstechnica.com/security/2016/11/windows-zero-day-exploited-by-same-group-behind-dnc-hack/">Windows</a>, <a href="http://www.infoworld.com/article/3119120/security/mysql-zero-day-exploit-puts-some-servers-at-risk-of-hacking.html">MySQL</a>, <a href="https://techcrunch.com/2016/08/25/apple-zero-days-hacking/">iOS </a>(your Apple iPhone’s operating system) and more. Quickly upgrading your software once vendors have resolved the issue is paramount to protecting yourself.</p>
<p><strong>Two Factor Authentication</strong> - An excellent way to improve your online security is use Two Factor Authentication. Two Factor authentication essentially involves two things; a thing you know (such as a password) and a thing you have (such as a phone). Software vendors like Google, MIcrosoft and Apple support two factor authentication, which essentially requires you to provide a password when you log on, and then a number generated by an authentication application on your mobile phone (or another device like a RSA token generator). You can also setup applications to say that a device is trusted (like a home PC), which requires a token to be entered once a month or so.</p>
<p>In these scenarios, even if a hacker has a password to your email, they are required to enter in a token that is running on your mobile phone. In this scenario, if a hacker knows your password and has your phone, you are already in a bit of trouble :)</p>
<p>How serious is this? During the 2016 US Thanksgiving weekend, Google was <a href="http://www.techtimes.com/articles/187079/20161126/google-warning-users-of-government-backed-hackers-attacking-their-accounts.htm">warning prominent journalists that their accounts</a> were under phishing attacks. Their recommendation, two factor authentication. At a minimum, keep email addresses associated with banking accounts, health and brokerage accounts secure with this approach!</p>
<p><strong>Be Wary of Public WiFi</strong> - Public WiFi can be problematic for security conscientious folks. If you are sitting at a coffee shop and doing online banking, it is possible that others on the network could be reading packets on the network and reading confidential information. To bypass this, you can use VPNs when connecting to encrypt traffic or use SSL as identified below.</p>
<p><strong>HTTPS Everywhere</strong> - In examples where you are concenred about Public WiFi, or even your work or home network, you can do your best to ensure you are running HTTPS, which is the encrypted version of web page traffic. If you click on an article at <a href="http://www.nytimes.com">http://www.nytimes.com</a>, people can read the content of the page. If you read an article at <a href="https://www.nytimes.com">https://www.nytimes.com</a>, it becomes much more difficult for people to read the content of the page.</p>
<p>Why is this important, especially for public pages that everyone can read? Two reasons, first, if you are reading information at sites that can provide information about you, for example, <a href="http://www.webmd.com">WebMd</a> articles, you may not want people to know the contents of what you are reading (obviously, in most cases, the not encrypted URL will provide an idea of the content).</p>
<p>Second, for public pages that are not encrypted, the pages can be changed and updated to try and get information about you. For example, if someone intercepts an HTML page from google.com, they could inject a snippet of HTML that asks you to enter your email address and password to google. At that point, game over.</p>
<p>So, if you think clicking around the Internet and changing the link to HTTP sounds like a huge pain, you are 100% correct. Thankfully, most major browser vendors have plugins that will do this automatically. I recommend people use HTTPS Everywhere from the Free Software Foundation. They have plugins for <a href="https://chrome.google.com/webstore/detail/https-everywhere/gcbommkclmclpchllfjekcdonpmejbdp?hl=en">Chrome</a>, <a href="https://www.eff.org/files/https-everywhere-latest.xpi">FireFox</a>, <a href="https://addons.opera.com/en/extensions/details/https-everywhere/">Opera</a>, etc.</p>
<p>If you want to read more about why encrypting the Internet is important, read <a href="https://www.eff.org/https-everywhere/faq">this</a>. It is becoming more and more important, so much so that Google is giving higher rankings to secure pages over non encrypted pages.</p>
<p>Protecting yourself on the Internet is becoming more and more important to our connected digital lives. Hopefully the above tips provided you some ideas you can use to increase your security in the online world.</p>
<p>This post originally appeared at <a href="https://www.skylinetechnologies.com/Blog/Skyline-Blog/January_2017/Keeping_Yourself_Secure">Skyline Technologies</a></p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2017/01/OnlineSecurityBestPractices/]]></foo1>
            </entry>
    
    <entry>
        <title>October New AITP Meeting - Mile of Music</title>
        <link href="https://www.jptacek.com/2016/10/NewAitp/"/>
        <updated>2016-10-13T05:00:00.000Z</updated>
        <id>tag:www.jptacek.com,2016-10-13,/2016/10/NewAitp/</id>
        <content type="html"><![CDATA[<p>Thanks to everyone who came out to my presentation at the October 2016
<a href="http://www.newaitp.org/">New AITP</a> meeting. It was a funnight. I always love
talking about <a href="https://mileofmusic.com/">Mile of Music</a> and how the team
at Skyline created the Festival app.</p>
<p><blockquote class="twitter-tweet" data-lang="en"><p lang="en" dir="ltr"><a href="https://twitter.com/jptacek">@jptacek</a> is wearing a sport coat tonight at the AITP meeting tonight while showing off the Mile of Music app!!! <a href="https://t.co/eUedirhuKt">pic.twitter.com/eUedirhuKt</a></p>&mdash; Mark Lezotte (@marklezotte) <a href="https://twitter.com/marklezotte/status/786348349603667969">October 12, 2016</a></blockquote></p>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

<p><img src="https://www.jptacek.com/2016/10/NewAitp/newAitpTalk.jpg" alt="Turnout pic"></p>
<p>My slide deck is online at <a href="https://newaitp1016.jptacek.com/">newaitp1016.jptacek.com/</a>
and the Git repo for the slide deck is at
<a href="https://github.com/jptacek/NewAITP1016">https://github.com/jptacek/NewAITP1016</a>.</p>
<p>Thanks again to everyone who came out and engaged in starting a conversation!</p>
]]></content>
        <foo1><![CDATA[https://www.jptacek.com/2016/10/NewAitp/]]></foo1>
            </entry>
    
</feed>