<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Joseph Nielsen on Medium]]></title>
        <description><![CDATA[Stories by Joseph Nielsen on Medium]]></description>
        <link>https://medium.com/@CodingJoe?source=rss-9ce9b737fec8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*HmUcnl9e97Wq9FHFdWHdSw.jpeg</url>
            <title>Stories by Joseph Nielsen on Medium</title>
            <link>https://medium.com/@CodingJoe?source=rss-9ce9b737fec8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 22:17:12 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@CodingJoe/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Get Started with DeepRacer in 2020]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@CodingJoe/get-started-with-deepracer-in-2020-8595750a6f8c?source=rss-9ce9b737fec8------2"><img src="https://cdn-images-1.medium.com/max/600/1*Hymh63Uq3uvBw-UFN0RKjQ.png" width="600"></a></p><p class="medium-feed-snippet">This May free tier AWS DeepRacer users can train for free. Now is the best time to get into AI and Reinforcement Learning. We&#x2019;re talking&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@CodingJoe/get-started-with-deepracer-in-2020-8595750a6f8c?source=rss-9ce9b737fec8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@CodingJoe/get-started-with-deepracer-in-2020-8595750a6f8c?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/8595750a6f8c</guid>
            <category><![CDATA[aws-summit]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[self-driving-cars]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Wed, 13 May 2020 22:25:04 GMT</pubDate>
            <atom:updated>2020-05-13T22:25:04.361Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[How many votes did each person get on Super Tuesday?]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/@CodingJoe/how-many-votes-did-each-person-get-on-super-tuesday-2070cd2a110?source=rss-9ce9b737fec8------2"><img src="https://cdn-images-1.medium.com/max/1329/1*Atve7ZHEGjEKLOKOlfv6lQ.png" width="1329"></a></p><p class="medium-feed-snippet">Here it is, the simple numbers on what really happened on Super Tuesday. For my fellow data nerds. (Some numbers may have been updated&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/@CodingJoe/how-many-votes-did-each-person-get-on-super-tuesday-2070cd2a110?source=rss-9ce9b737fec8------2">Continue reading on Medium »</a></p></div>]]></description>
            <link>https://medium.com/@CodingJoe/how-many-votes-did-each-person-get-on-super-tuesday-2070cd2a110?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/2070cd2a110</guid>
            <category><![CDATA[democrats]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[united-states]]></category>
            <category><![CDATA[trump]]></category>
            <category><![CDATA[election-2020]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Thu, 05 Mar 2020 16:14:19 GMT</pubDate>
            <atom:updated>2020-03-05T16:14:19.653Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[AWS DeepRacer — There’s a race track in my office]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/hackernoon/aws-deepracer-theres-a-race-track-in-my-office-c433ea15f63c?source=rss-9ce9b737fec8------2"><img src="https://cdn-images-1.medium.com/max/2600/1*IDcEpajawdOgwVm9lwk5XQ.jpeg" width="5248"></a></p><p class="medium-feed-snippet">This is a story about all things DeepRacer and Reinforcement Learning.</p><p class="medium-feed-link"><a href="https://medium.com/hackernoon/aws-deepracer-theres-a-race-track-in-my-office-c433ea15f63c?source=rss-9ce9b737fec8------2">Continue reading on HackerNoon.com »</a></p></div>]]></description>
            <link>https://medium.com/hackernoon/aws-deepracer-theres-a-race-track-in-my-office-c433ea15f63c?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c433ea15f63c</guid>
            <category><![CDATA[reinforcement-learning]]></category>
            <category><![CDATA[deepracer]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Tue, 02 Jul 2019 15:19:00 GMT</pubDate>
            <atom:updated>2019-07-03T15:33:01.435Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[The USB cable that I used to know]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/hackernoon/the-usb-cable-that-i-used-to-know-e9fc444025d0?source=rss-9ce9b737fec8------2"><img src="https://cdn-images-1.medium.com/max/2600/1*1vpbvLcNxYCNTID_PLoa2w.jpeg" width="3352"></a></p><p class="medium-feed-snippet">We all end up with the same question: why do bad things happen to good phone chargers. This is my problem: one old cable used to work and&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/hackernoon/the-usb-cable-that-i-used-to-know-e9fc444025d0?source=rss-9ce9b737fec8------2">Continue reading on HackerNoon.com »</a></p></div>]]></description>
            <link>https://medium.com/hackernoon/the-usb-cable-that-i-used-to-know-e9fc444025d0?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/e9fc444025d0</guid>
            <category><![CDATA[cell-phones]]></category>
            <category><![CDATA[science]]></category>
            <category><![CDATA[electronics]]></category>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[diy]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Mon, 16 Jan 2017 07:43:53 GMT</pubDate>
            <atom:updated>2019-09-20T13:09:51.885Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Agile: 3 signs that you may be drinking Unicorn blood]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/hackernoon/agile-3-signs-that-you-may-be-drinking-unicorn-blood-81ca6c56a5eb?source=rss-9ce9b737fec8------2"><img src="https://cdn-images-1.medium.com/max/600/1*NmvHLjPLw5UUDg_5bHmvIQ.jpeg" width="600"></a></p><p class="medium-feed-snippet">I recently came off one of my most enjoyable Agile projects. No really, I enjoyed going to work and doing Agile. I had been saved. My life&#x2026;</p><p class="medium-feed-link"><a href="https://medium.com/hackernoon/agile-3-signs-that-you-may-be-drinking-unicorn-blood-81ca6c56a5eb?source=rss-9ce9b737fec8------2">Continue reading on HackerNoon.com »</a></p></div>]]></description>
            <link>https://medium.com/hackernoon/agile-3-signs-that-you-may-be-drinking-unicorn-blood-81ca6c56a5eb?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/81ca6c56a5eb</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[project-management]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[agile]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Wed, 19 Oct 2016 12:31:02 GMT</pubDate>
            <atom:updated>2019-04-29T06:53:31.955Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[You see what happened this weekend? CodeCampNYC!]]></title>
            <link>https://medium.com/hackernoon/you-see-what-happened-this-weekend-free-training-833b4ef2e684?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/833b4ef2e684</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[react]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[javascript]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Mon, 10 Oct 2016 14:10:34 GMT</pubDate>
            <atom:updated>2019-04-29T07:10:43.432Z</atom:updated>
            <content:encoded><![CDATA[<p>I was at <a href="http://codecampnyc.org/">CodeCampNYC</a> 2016 at the Microsoft Store in Times Square. I now know ways to hack the NES or hack the HoloLens by Microsoft. I have better React-Fu and AspNet-Core-Do /* yeah, that pun’s a stretch*/.</p><p>(It wasn’t free free, it was $10 to register plus the train ride… so virtually free… don’t fact check me bro. ;)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/512/0*fuZ9QIJU-3GA5_rv.jpg" /><figcaption>Attending CodeCamps could lead you on a path to programming something like <a href="http://www.usnews.com/photos/2016/05/17/photos-donald-trump-video-game-villain">this</a></figcaption></figure><blockquote>Just because the CodeCamp was at Microsoft’s office doesn’t mean that it was only Microsoft technologies. I wore my “AWS Lambda / I survived the zombie apocalypse” T-Shirt without any incidents with building security.</blockquote><p>At CodeCampNYC, topics are suggested by volunteer guest speakers and attendees vote on which topics they are most interested in. <strong>On the day of the event, you can attend 5 out of </strong><a href="http://codecampnyc.org/schedule/"><strong>65 unique 75 minute workshops</strong></a><strong>.</strong> This is not a sponsored demo “training” event: <strong>these workshops range from React front-end development to advanced cloud architecture to NES development</strong>. The speakers are not provided with monetary compensation, only guaranteed entry to Valhalla.</p><p>Every year Captain Picard (aka <a href="https://twitter.com/@sbohlen">Steve Bohlen</a> ) and <a href="https://twitter.com/boulosdib">other</a> wonderful volunteers organize this <strong>virtually free annual all-day training event in all things software engineer</strong>. Virtually free means that for $10 you get free water, coffee, soda, donuts and pizza. (and whatever goodies the sponsors will have at their tables.)</p><p>Plus, <em>and this is very important</em>, <strong>at the end of the day is a raffle for free prizes</strong>.<strong> Yes, I said free. Oh yeah!</strong> The prizes go from a reaping ceremony for the Hunger Games (aka free books) all the way to a free trip to Nirvana (aka Free <strong>Xbox One S with Gears of War 4</strong>).</p><p><strong>These Code Camps happen all around the world.</strong> <a href="http://codecampnyc.org/">CodeCampNYC</a> is an invaluable training resource. <a href="http://phillydotnet.org/">Philly’s is even bigger than New York’s</a>. <a href="https://www.bostoncodecamp.com/">Boston has one</a>. There’s also SQL Saturday events for the data-minded. <a href="https://hackernoon.com/tagged/google">Google</a> it. Buy a ticket. Hop on a plane, train or automobile and have fun <a href="https://hackernoon.com/tagged/learning">learning</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rcjbDezdEGzsd4c4NnK01Q.jpeg" /><figcaption>Me headed on the train to CodeCampNYC. Now if only they had a workshop on how to do selfies.</figcaption></figure><h3>I attended these five awesome workshops!</h3><h4>NES Development using NESpectre by <a href="https://twitter.com/@batslyadams">Andy Reitano</a></h4><p>He integrated development between a Node.js website that used socket.io to communicate with the RAM on a NES in real-time. I got to play Contra while the other participants in the room would choose on their phones which weapon I would have.</p><p>In Track &amp; Field long jump we all tapped our phones to simulate button presses on the controller which resulted in our player jumping clean off the screen and entering again from the left side of the screen. That’s actually hilarious.</p><p>I always try to do a random class unrelated to my work. This was my choice. I lucked out. Thanks Andy! <a href="https://www.instagram.com/p/BLTaKpLBKjN/">Embedded picture 1</a> and <a href="https://www.instagram.com/p/BLTf2BpBM2x">embedded picture 2</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLTaKpLBKjN/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14487415_1104751436268675_909223703022141440_n.jpg%253Fig_cache_key%253DMTM1NjU0Mjk5MzM4MDk3Njg0NQ%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/4672cc975526e23e13ea06c00f1990a1/href">https://medium.com/media/4672cc975526e23e13ea06c00f1990a1/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLTf2BpBM2x/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fe15%252F14474379_624360321067161_7774940800709820416_n.jpg%253Fig_cache_key%253DMTM1NjU2Nzk2NDgyNDE2MTcxMw%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="612" height="612" frameborder="0" scrolling="no"><a href="https://medium.com/media/ec8bc4d7a861fb56b2f00a41046e76f9/href">https://medium.com/media/ec8bc4d7a861fb56b2f00a41046e76f9/href</a></iframe><h4>Crash Course in React by <a href="https://twitter.com/@eddiezane">Eddie Zaneski</a></h4><p>One piece of valuable advice from Eddie, if you’re trying to learn React you’ll probably overload and confuse yourself if you try and find the perfect example code on how to implement everything. He said you’re better off looking at the FB articles, especially their article on how to think in React.</p><p>Eddie walked through three simple starter examples of doing React. I’ve got the first two jsbin links saved in my Instagram comments.</p><p><a href="https://www.instagram.com/p/BLTjl7BhnpY">Embedded picture 1</a> and <a href="https://www.instagram.com/p/BLTupHDh79q">embedded picture 2</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLTjl7BhnpY/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14583527_1788201398115714_3390416573230481408_n.jpg%253Fig_cache_key%253DMTM1NjU4NDQ1MDM5MzUzNzExMg%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/d59891b7a27977dbdf31d6b4d397089e/href">https://medium.com/media/d59891b7a27977dbdf31d6b4d397089e/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLTupHDh79q/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14592186_623389707841587_4459370629681905664_n.jpg%253Fig_cache_key%253DMTM1NjYzMzA0Nzk4MjEyOTAwMg%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/c2d98704df41763f05289523e0c8f466/href">https://medium.com/media/c2d98704df41763f05289523e0c8f466/href</a></iframe><h4>A diary of pain points encountered by a consultant who made the switch from .NET 4.5 to ASPNET Core: by <a href="https://twitter.com/@softcraftsman">John Brown</a></h4><p>This was really practical advice, nothing ooh and ahh or complex. Which is what you should look for after you’ve just ate two slices of pizza and a leftover donut from breakfast.</p><p>I’ve included some of his pointers in the comments. He started with an empty MVC ASPNET Core website in Visual Studio 15 Preview 2. He said that was easier than navigating through the bloat-code that comes with the template.</p><p><a href="https://www.instagram.com/p/BLT0phUh2yy">Embedded picture 1</a> and <a href="https://www.instagram.com/p/BLT2vsih2ya">embedded picture 2</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLT0phUh2yy/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14547756_334390373575536_1728954456692752384_n.jpg%253Fig_cache_key%253DMTM1NjY1OTQ2NDQ2MzY3NDU0Ng%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/e3859a605ab90062ff586c99c124c535/href">https://medium.com/media/e3859a605ab90062ff586c99c124c535/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLT2vsih2ya/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14374318_526949204165615_3269465707150049280_n.jpg%253Fig_cache_key%253DMTM1NjY2ODY4NDkxOTU5ODIzNA%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/f86843e4d7b35bb30f9e09004ccfc9f2/href">https://medium.com/media/f86843e4d7b35bb30f9e09004ccfc9f2/href</a></iframe><h4>First time presenter <a href="https://twitter.com/@leebrandt">Lee Brandt </a>talks about doing OpenID connect in ASP.NET Core</h4><p>I’ve done some OAuth2 and SAML integration and federation projects, so I wanted to stay updated on other new stuff that’s out there for easy IDP and Auth integration. Great job to Lee on first time presenting.</p><p>He reiterated a couple of times in the workshop that “OpenID Connect” (OIDC) is not the same as “OpenID”. OIDC has a standardized list of basic claims and a certification process. Successful OIDC authentication also returns an endpoint for retrieving the user’s list of identity claims.</p><p><a href="https://www.instagram.com/p/BLT_YYjB0F0">Embedded picture 1</a> and <a href="https://www.instagram.com/p/BLUBPO_BUKV">embedded picture 2</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLT_YYjB0F0/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14607083_1782919535283744_5949124935887618048_n.jpg%253Fig_cache_key%253DMTM1NjcwNjY2NTMyMzc3NDMyNA%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/8fb533be3b09d4c97b588ca24bb5dd85/href">https://medium.com/media/8fb533be3b09d4c97b588ca24bb5dd85/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLUBPO_BUKV/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14597243_1841961206020206_1014304192497451008_n.jpg%253Fig_cache_key%253DMTM1NjcxNDgzMjY3MzcxODkzMw%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/4a6e6b2b354d7461ff02cfb43f4e9702/href">https://medium.com/media/4a6e6b2b354d7461ff02cfb43f4e9702/href</a></iframe><h4><a href="https://twitter.com/@robzelt">Rob Zelt</a> presents a Hello World course on the Microsoft Hololens using C# and Unity</h4><p>This was fun. The pictures say it all. (I know what you’re thinking, why do I always count from 1 instead of 0?)</p><p><a href="https://www.instagram.com/p/BLUJVo7hk0f">Embedded picture 1</a> and <a href="https://www.instagram.com/p/BLUKjlrB_Ae">embedded picture 2</a> and <a href="https://www.instagram.com/p/BLUPBByBMUv">embedded video 3</a></p><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLUJVo7hk0f/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14533736_1277973232253253_1662346437419073536_n.jpg%253Fig_cache_key%253DMTM1Njc1MDQ1NzIyMTMwMzU4Mw%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/3140a094502aec86bed2d756bb4b0c3a/href">https://medium.com/media/3140a094502aec86bed2d756bb4b0c3a/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLUKjlrB_Ae/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fs640x640%252Fsh0.08%252Fe35%252F14597265_1773662609517882_707474155527733248_n.jpg%253Fig_cache_key%253DMTM1Njc1NTgxMzg0MjU0NjcxOA%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="640" height="640" frameborder="0" scrolling="no"><a href="https://medium.com/media/268100c5b1b4bffafc6e4ed9a8bbc653/href">https://medium.com/media/268100c5b1b4bffafc6e4ed9a8bbc653/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?type=text%2Fhtml&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;schema=instagram&amp;url=https%3A//www.instagram.com/p/BLUPBByBMUv/&amp;image=https%3A//i.embed.ly/1/image%3Furl%3Dhttps%253A%252F%252Fscontent.cdninstagram.com%252Ft51.2885-15%252Fe15%252F14592102_1238075039567913_7675038783368069120_n.jpg%253Fig_cache_key%253DMTM1Njc3NTQyOTA3NTQyMDQ2Mw%25253D%25253D.2%26key%3D4fce0568f2ce49e8b54624ef71a8a5bd" width="612" height="612" frameborder="0" scrolling="no"><a href="https://medium.com/media/8eb0d08f93ef6d3eb26cb19b243c47a7/href">https://medium.com/media/8eb0d08f93ef6d3eb26cb19b243c47a7/href</a></iframe><p>There was also a sponsor led workshop during lunchtime but I skipped that to socialize and to catch up with a former client coworker. Overall, <a href="http://codecampnyc.org/">CodeCampNYC</a> was very much worth the ten dollars and train ride from New Jersey. :)</p><p><strong>Find a Code Camp or SQL Saturday event happening near you. Such investment. Much fun. Very learn.</strong></p><h3>If you enjoyed this story then please press the heart to recommend.</h3><h4>— like the CodeCampNYC presenters, your praise is what I live for. ;)</h4><p>If you like my dry humor then <strong>follow me</strong>, if you like everything programming related then <strong>follow the publication</strong>.</p><p>Me on <a href="https://instagram.com/codingjoe">Instagram</a> and <a href="https://twitter.com/@codingjoe">Twitter</a></p><figure><a href="http://bit.ly/HackernoonFB"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hqOaABQ7XGPT-OYNgiUBg.png" /></a></figure><figure><a href="https://goo.gl/k7XYbx"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vgw1jkA6hgnvwzTsfMlnpg.png" /></a></figure><figure><a href="https://goo.gl/4ofytp"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKBpq1ruUi0FVK2UM_I4tQ.png" /></a></figure><blockquote><a href="http://bit.ly/Hackernoon">Hacker Noon</a> is how hackers start their afternoons. We’re a part of the <a href="http://bit.ly/atAMIatAMI">@AMI</a> family. We are now <a href="http://bit.ly/hackernoonsubmission">accepting submissions</a> and happy to <a href="/service/mailto:partners@amipublications.com">discuss advertising &amp; sponsorship</a> opportunities.</blockquote><blockquote>If you enjoyed this story, we recommend reading our <a href="http://bit.ly/hackernoonlatestt">latest tech stories</a> and <a href="https://hackernoon.com/trending">trending tech stories</a>. Until next time, don’t take the realities of the world for granted!</blockquote><figure><a href="https://goo.gl/Ahtev1"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35tCjoPcvq6LbB3I6Wegqw.jpeg" /></a></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fupscri.be%2Fdde502%3Fas_embed%3Dtrue&amp;dntp=1&amp;url=https%3A%2F%2Fupscri.be%2Fhackernoon%2F&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=upscri" width="800" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href">https://medium.com/media/3c851dac986ab6dbb2d1aaa91205a8eb/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=833b4ef2e684" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/you-see-what-happened-this-weekend-free-training-833b4ef2e684">You see what happened this weekend? CodeCampNYC!</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to pick a fight on the subway and not die]]></title>
            <link>https://medium.com/bullshit-ist/how-to-pick-a-fight-on-the-subway-9aa58f56264b?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/9aa58f56264b</guid>
            <category><![CDATA[fatherhood]]></category>
            <category><![CDATA[new-york-city]]></category>
            <category><![CDATA[new-york]]></category>
            <category><![CDATA[short-story]]></category>
            <category><![CDATA[true-story]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Fri, 07 Oct 2016 18:32:31 GMT</pubDate>
            <atom:updated>2016-10-08T20:22:30.458Z</atom:updated>
            <content:encoded><![CDATA[<p>(This is a true short story that I wrote back in July of 2013 but never shared beyond Facebook friends. Warning: contains the F word, but I’m only quoting another person so it doesn’t count. ;) )</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/547/1*MT3nyLlYJFlkU6hwOkh3Yw.jpeg" /><figcaption><a href="http://www.worldstarhiphop.com/videos/video.php?v=wshhsAeFyL37b0PNrL1c">photo shared from this post on worldstarhiphop.com</a> (this is not me)</figcaption></figure><p>I wasn’t expecting to take my two boys and baby girl to see fireworks at Coney Island tonight, but I tend to gravitate towards choices when they’re unexpected.</p><p>It all started with the usual chore, get a nine year old and six year old boy to put on their shoes — harder than you think — and make sure my “make the baby stop crying” kit is stocked up: bottles of water, formula, diapers, wipes.</p><p>After just missing a Coney Island bound F train — if only my boys had found their shoes faster — we eventually board the next F train. The usual drill. I scream at my two boys, “Go! Go! Go!” like some SWAT team mission given the order to save the president, while I get my fat ass stroller on to the train without causing too much of a bump to my baby girl.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*88g7suGt7WEloZmoTZFl-g.jpeg" /><figcaption>Good old F train in Brooklyn, though this could be Queens so just pretend it’s Brooklyn</figcaption></figure><p>We get parked in the middle of the train- that’s where the air conditioning is best.</p><p>Down at the other end of the train car there’s an older man with his what looks like 15 and 12 year old sons. I notice them because I recognize the beginning of a familiar conversation. “Where’s that “ (insert bag or something) and then the realization, “You left it…” The train has an unspoken motto similar to Vegas, what gets left on the train disappears forever- or something like that.</p><p>Except the berating of the 12 year old that lost the item soon escalates. This 40 something well sized stocky father yells at this kid, “I can’t believe you left the bag, how many times. I’m so angry right now I could punch you. If he [the 15 year old] wasn’t with us I’d kick you off this train and leave you there. I would punch you if there wasn’t other people around. When we get home, I swear I’m going to punch you!” Then a moment of silence. Then he screams, “THIS FUCKING KID!” Repeat a couple of times like a Gerard Butler screaming “This is Sparta!”</p><p>My two boys look at each other, getting fearful from the screaming angry man, not sure what to do. I wait a couple of minutes, though I’m clearly already disturbed by the clear intention of violence towards a kid. So after the next “THIS FUCKING KID” I scream back out, “I HEARD IT.”</p><p>Yep, this is something I do.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/240/1*FQDZSANYHFHfTHa_LHeCmQ.jpeg" /><figcaption>Me in 2013. I still had some fat that would’ve cushioned any beatings.</figcaption></figure><p><em>Before I say what happens next, let me make my intentions clear since they’re not as holy and heroic as I may be naturally leading you to believe. First, </em>I am very passionate about defending the innocent- violence towards kids is wrong. I grew up with violence and screaming in my house, and I don’t like to see it happen under any circumstances.</p><p><em>But just as much as I have a Superman complex, I also have a story-telling complex.</em> I collect in my brain anything weird or interesting. I desire it like a fish does water — and really, like a human does water because we’d die without it. So anyhow, there is some Superman in this story but I am also getting my story fix in this confrontation.</p><p>So as soon as I yell back, I HEARD IT. I get the immediate response back from the man, “You talking to me?! I’m having a conversation with my son.”</p><p>I say the obvious, “you’re yelling, you’re scaring my kids.”</p><p>He responds, “I’m a nice guy. But if you didn’t have your kids with you right now, I’d jump on you right now.” I believed him, but I know how this works.</p><p>No doubt if this man, who is more angry than Hulk realizing Sonic Drive-In just messed up his order for the third time, no doubt if this man “jumped” on me I’d probably get the crap beat out of me. I’m a big guy at six foot two, but I have no fighting history to back up that girth. But this is how these situations play out.</p><p>Before I spoke up I’ve already created my contingency plan, I concealed a small stick to use as a shiv if the person attacked — I’m not stupid, I watch prison movies. Advice for life: if someone attacks you, poke them. Like on Facebook, poking scares people off.</p><p>But 99% of the time no violence will happen if you carry out this course: don’t egg the person on; don’t answer their questions; say only facts in a way that repeats what they just said. Also don’t show any fear or emotion; don’t break eye contact. (Also, this 99% of the time only applies to sober people.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/570/1*T0l3RfgSDpS__I4YClvBLg.jpeg" /><figcaption>It also helps to be over six foot. I took this Dexter episode to remind me of how others view me. Hall is 5&#39;10&quot; and Lithgow is 6&#39;4&quot;.</figcaption></figure><p>So I carry on this apathy staring contest with this angry man, feeding him terse factual answers related to him scaring my kids while he tells me so many times that he’s having a private family discussion. He says, “I pay to use this train.” I say, “I pay too.” He tells me his kid lost three brand new shorts he just bought. I tell him my kids have lost money and it’s really pissed me off too. He says, “I’ll stop yelling if you give me the money to cover for the shorts he lost.”</p><p>This is really in my mind where I say, “dammit, he got me there.” Unless they were really cheap shorts, I don’t think the twenty seven dollars in my pocket will cover them. While staring back without emotion I contemplate the response, ‘I only have twenty seven dollars. Is that enough to make sure you don’t hit the kid.’ But then I’m pretty sure that would be the part of the story telling where I’d be like, “and that’s how I lost these front teeth.”</p><p>I know this guy has a right to be angry, the other week my six year old took twenty dollars out of my wife’s wallet and put it into a massage chair at the Laundromat. Anyhow, understanding aside it’s not acceptable to shout at the top of your lungs “FUCKING KID” or “I would punch you if” on a train. I don’t care if you just paid five dollars in trip fare and however much on shorts for a wasted trip. As I learned from growing up in the South, if you can’t pretend to be a good parent in public then you ain’t a good parent at all.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/480/1*Y4d38QqNUWaoc1FPnw89tw.jpeg" /><figcaption>My kids in 2013. Another line from the angry man: “you have too many kids!” Which is true in NYC, 3 is too many.</figcaption></figure><p>So. He’s still fuming. I keep staring. He’s staring. He tells me again that out of respect for my kids, he’s not going to beat me up right then. His 15 year old son steps in and points out he’s making my baby cry. She wasn’t crying but I’m pretty sure she would be there if I looked at her or showed any concern. After a couple of more prompts from his 15 year old son he finally sits back down. He continues to complain about “this kid” but he stops yelling out threats of child violence and eff-bombs.</p><p>There were about ten other passengers on the train watching this unfold. (I’ll probably get on YouTube.) At the next stop, the buff teenager on my left gets off the train and mouths “good luck” with a smirk as he steps off. Another older couple gets on the train, totally oblivious to the angry conversation that just took place.</p><p>Then the guy’s stop is coming up. Before it’s time to get off he gets back up to tell me in a calmed down version of his angry voice. “I’m a nice guy,” he begins. Clearly. “You don’t get in other people’s business on the train. If it wasn’t for your kids, I would’ve jumped on you. You might not get lucky with someone else. You don’t get in other people’s business.”</p><p>Back to staring, trying to convey with my face “I don’t give a shit and I know you can’t do shit unless you want to get arrested.” But I throw in a “thank you” for his useless advice. As the door opens, he reiterates “I’m a nice guy” along with a “have a good day.” I throw back a, “have a good one.”</p><p>So. Yep.</p><p>First my six year old boy asks me the obvious question, “Why was he so angry?” I tell him he was mad like how when he took the twenty dollars from Mom. Except I try to explain, the kid was just forgetful and whatever… the man was talking about punching kids and that’s wrong. I reiterate this a couple of times so everyone around me listening knows, <em>“I’m a nice guy.”</em></p><blockquote><strong>The typical conversation with my kids. </strong><br>Me: Should you ever punch a kid? <br>My nine year old: (very serious) No. <br>My six year old: but what happens if you punch a kid?</blockquote><p>And then back to our regularly scheduled unexpected adventure. We go get off at the New York Aquarium stop instead of going all the way to Coney Island. You can see Coney Island from the platform. I drag the stroller, clunkity-clunkity up to the higher platform. No fireworks. Go back down more steps. Clunkity-clunkity down the stairs and then clunkity-clunkity back up the stairs with my fat ass stroller on to the other side. Still no fireworks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/800/1*bZFyLJnhOFfG_gm9YqCPeg.jpeg" /><figcaption>FYI: Coney Island fireworks are lame compared to Macy’s and where I live now in New Jersey</figcaption></figure><p>I mix a bottle. Feed the baby. Like a boss.</p><p>I think, might as well get back on the train and go back home. Of course I decide this just as an F train stops in front of us and opens its doors. “Bravo team! Go! Go! Go!” We get back on the train, my nine year old hesitating because he didn’t see his younger brother run to the other door and get on the train and run behind me.</p><p>Getting on and off the train is a regularly traumatic event. It’s not designed for spacey kids.</p><p>On the way back to our station of origin, I try to explain the importance of soliciting the unexpected to my nine year old. I tell him how I knew that guy wasn’t going to fight back. I gave him no reason to escalate. I tell him that I had no problem letting that man yell at me if it meant he would have less anger for his son.</p><p>I tell him this is how I get stories, how I get inspiration for movies and bedtime tales. I tell him that if he solicits the unexpected, he’ll find no problem coming up with Minecraft machinema. So I ask, “What should we do next? I overheard that man say they lost their bag at Smith 9th street.”</p><p>My nine year old wants to go home, of course.</p><p>So I say, “We’re gathering a story. This is what we have so far.” I then tell him the story I’ve told you thus far. I end with, what happens next? We go home? That’s not a complete story. How unexpected would it be if we went and found the backpack? It’s normal for stuff to disappear on the subway system when left, but what if it hadn’t already vanished? What if we could find some way to return it? How unexpected would that be?</p><p>So we skip our stop and travel an extra five stops to the last known sighting of the angry man’s bag. We get off the train. I ask a cop on duty if he’s heard anything. He hasn’t. We clunkity-clunk it down and up the stairs to the other side of the platform. After checking the second trash bin for any discarded bags, we then resign to the fact that some things do happen as expected.</p><p>What you leave on the subway stays in the nether world of the subway and is sacrificed to appease Mayor Bloomberg’s alter ego or something like that.</p><p>I then tell my nine year old, “well, that’s a boring end to the story, <em>so let’s just make something u</em>p.”</p><p>So as we head back towards the benches on the subway that’s when we notice a bag underneath the benches. My six year old runs to pick it up but just then someone yells “STOP” from across the platform. All four of us, including my baby girl, look across at the commanding voice on the other side of the platform.</p><p>No sooner had we turned around do we see an army of ninjas zipline across the platform. I leap into the air and drop kick a couple. One bounces off the five story platform down towards the street letting out a replica Wilhelm scream, the other hits the third rail sending sparks into the air as his skeleton is illuminated. My nine year old starts throwing out lightning fast punches and kicks. A homeless man starts playing “Everyone was Kung Fu fighting” on a boombox. My six year old breaks out some nunchucks. My nine year old asks, “Where did you get those, they’re illegal?”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*muYG_nd2Mc69h3SuzmbhFA.png" /><figcaption>You know, just like the “Peaches” song. Who wouldn’t put a ninja attack in a music video?</figcaption></figure><p>My six year old responds, “I was hiding them the whole time, ha ha.” Then even my baby girl stands up in her stroller and pulls out a sword and starts swinging.</p><p>We fight and slash, the ninjas start gaining ground. One of them then leaps for the bag. My nine year old pulls out a lightning fire arrow and a lightning bow. He fires and the ninja vanishes into air as he is struck by the arrow. Soon the ninjas accept defeat and jump on the north bound G train in shameful escape towards Queens. (Queens is not as overpriced as Brooklyn, which by nature makes it more shameful.)</p><p>An F train coming back our way approaches. We quickly grab the bag and get back on to the train. My nine year old rummages through the bag and finds an address for the projects off Neptune Ave where the angry man was last seen.</p><p>There may still be some good left to do in the day. And since this part is fiction, I’ll just add that my baby girl is perfectly well behaved and changes her own diaper while we wait for the stop.</p><p>The Neptune Ave stop is announced, the doors open, and we quickly sprint clunkity-clunkity down the stairs. But then I remember my wife just installed a special button on the stroller that expands out skis, so we just slide down the rest of the stairs on the stroller.</p><p>Nearly out of breath, we run up twenty-five flights of stairs up the city building — because the elevators were still turned off for some bullshit city safety reason. We then knock on the angry man’s door ready to receive our good karma from doing the unexpected.</p><p>He opens the door, no surprise in his face. “Didn’t I tell you not to get involved in other people’s business? I see you have my bag even after I sent my sons with their army of ninjas, the ‘fucking kids’, to retrieve it. I am the grandmaster ninja and now you must fight me… And I’m a nice guy.”</p><p><strong>Postscript</strong>: So that’s the end of the story; though this story has stuck with me in life long afterwards. Every parent gets upset at their kids, though in times like this I now ask myself, do I look like that “I would punch you if” guy to other people? Am I doing a good job of keeping my shit together and setting a good example for my kids? Anyhow…</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*bq-zYCHgtdZGUrq_SQpdCA.jpeg" /><figcaption>Thanks 80’s cartoons for making me think every story has to have a moral</figcaption></figure><h3>If you enjoyed this story then please press the heart to recommend.</h3><h4>If you like technical stuff and dry witted humor then follow me.</h4><h4>If you like stories like this then follow the publication.</h4><p>This is me on <a href="https://twitter.com/@codingjoe">Twitter</a> and <a href="https://instagram.com/codingjoe">Instagram</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9aa58f56264b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/bullshit-ist/how-to-pick-a-fight-on-the-subway-9aa58f56264b">How to pick a fight on the subway and not die</a> was originally published in <a href="https://medium.com/bullshit-ist">Bullshit.IST</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Epic high five, we just beat an enterprise algorithm]]></title>
            <link>https://medium.com/hackernoon/epic-high-five-we-just-beat-an-enterprise-algorithm-1520d818fa98?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/1520d818fa98</guid>
            <category><![CDATA[algorithms]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Tue, 04 Oct 2016 18:28:19 GMT</pubDate>
            <atom:updated>2017-07-14T10:51:15.061Z</atom:updated>
            <content:encoded><![CDATA[<p>If you’ve never contemplated an algorithm for predicting lottery numbers or the fantasy football league then this will be boring. But if you are a secret data science nerd, then please join me in an epic high five!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*0eNkWhMcS_GW0xNVK--u8Q.gif" /><figcaption>We reduced cluster analysis time to 66% of an enterprise product</figcaption></figure><blockquote>We just completed coding a cluster analysis tool for data: the competition took 90 minutes, we finished in under an hour.</blockquote><h4>The problem space is typically O(n³) and is like your classical travelling salesman problem</h4><p>Our <a href="http://slalom.com/">Slalom</a> client had a data and cost problem.</p><h4>The data problem</h4><p>Take name, address and other personal information to consolidate information across various sources. I’m writing this in a hurry so I won’t reveal any client-specific details or actual implementation- that belongs to the client now- but<strong> a similar problem space might be genealogy.</strong></p><p>Then given: you have death records, marriage records, birth records, census records from different sources across different times and different spellings. You don’t want to duplicate data. You don’t want to lose data. So you need to form a cluster. <strong>A cluster is how you identify that 1890 census Jimmy Joehosaphat @ 10 Band St is the same as 1880 census James Johosaphat @ 10 Bond Street.</strong></p><p>I’m sure you can think of how to do this for one person, but <strong>how do you scale this problem to millions without killing your server?</strong></p><h4>The cost problem</h4><p>Cost was a concern to the client. <strong>They were spending six digits a year on enterprise licensing.</strong> Naturally, I imagine they would use the money they save to buy a water fountain connected to a never-ending supply of Monster energy drinks.</p><h4>The tools</h4><p><strong>Microsoft SQL Server 2012 and SSIS.</strong> Sometimes you gotta work with what you got. ;)</p><h4>The solution</h4><p>We used SQL Server Master Data Management (MDM) similarity functions and SSIS to find similarities among all the records.</p><blockquote>Luke has a father. <br>Luke has a sister. <br>Vader’s son is Luke. <br>Leah’s father is Vader.<br>Leah’s brother’s name is Luke.<br>Chewbacca is a Wookie</blockquote><p>We stored those similarities in a table.</p><p>We then ran a stored procedure to consolidate all associative and transitive associations down to a single parent.</p><blockquote>The Luke Skywalker cluster: Luke, Leah, Vader<br>The Wookie cluster: Chewbacca</blockquote><p>We did it. We came, we saw, we kicked its ass!</p><h3>Enter the Slalom solution team</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/599/1*mBev7bHiSe_E5fvcp191vg.jpeg" /><figcaption>The Ghostbusters were represented by Slalom’s Data Management (MDM) and Application Development teams</figcaption></figure><h4>Data management (MDM) team</h4><p>Our superstars <a href="https://www.linkedin.com/in/vaibhav-sathe-77754712">Vaibhav Sathe</a> and <a href="https://www.linkedin.com/in/soumenpchakraborty">Soumen Chakraborty</a> — personality wise they would be Winston (Ernie Hudson) and Ray (Dan Aykroyd) — these two spent several weeks of building out the rules and fuzzy analysis for comparing the data and identifying possible cluster relationships. I worked with Soumen briefly, so I’m type casting the Aykroyd fit, but Vaibhav and I worked together at another client on a similar problem. He’s usually quiet and collected but I could picture him screaming, “I love this town!” after defeating a giant marshmallow man.</p><p>Our data management practice area lead, <a href="https://www.linkedin.com/in/teddywei">Teddy Wei</a>, is a force to be reckoned with. His left-field wit is equally matched by his commitment to team and the client. He cares. Personality wise, he’s definitely the Venkman (Bill Murray).</p><p>Also to help out at the level of MS SQL Server Guru was <a href="https://www.linkedin.com/in/kevin-feit-8379928">Kevin Feit</a>. I’m saving the last Ghostbuster for myself, so I’ll have to give Kevin the miscast of Rick Moranis… Sorry Kevin, I’m writing the article. ;) Intellectually though he is an Egon, he <em>knows</em> MSSQL server and T-SQL like Neo knows Kung Fu.</p><h4>Application Development team (we’re too good for acronyms)</h4><p>Any by we, I mean me. I helped out on this project for a little over a week’s worth of time. My job, and the part I’m particularly proud of, was writing a stored procedure to connect all the related clusters to a single parent using set-based operations.</p><p><em>Did you imagine a SQL Server cursor?</em> No,<strong> </strong>I did it with set based operations<strong>. </strong>Gosh! ;)</p><p>In our final tests, my set based operation took 13% of the time of a cursor based approach. I am the Egon (Harold Ramis). Plus my hair fro’s up like Egon’s when I go too long without a haircut.</p><h4>The scoreboard, race for speed</h4><p>The most exciting part of this project for me came back in June when Vaibhav (Winston) reached out to me. They were coming into trouble with performance on their final clustering stored procedure, the one that looks at all the relations between data points and creates one parent for each cluster.</p><p>They were using one approach that was taking <em>six hours</em> to run. <strong>The client needed a solution that completed in under <em>two hours</em></strong>. And this was only a small sample of test data. If we couldn’t beat two hours to do end to end analysis, then the project would be a failure.</p><blockquote>If six hours seems excessive here’s the problem space math.</blockquote><p><strong>You have a table with 40,000 relationships.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/504/1*dNjaeXLbZBUQnjF4CXb6Yg.gif" /><figcaption>You’re trying to figure out which piece of spaghetti is touching which piece of spaghetti and which pieces those pieces are also touching. Ahh, recursion.</figcaption></figure><p>All many-to-many associative relationships. <br>(A==B, B==A, B==C)</p><p><em>Only a single level of a relationship is spelled out. </em>You have to figure out the transitive relationships on your own. <br>(if A==B and B==C then A==C)</p><blockquote>Doing this the hard way, you have to first look at record 1 and see who is related to record 1. Then those records that are related to record 1, you need to see if those records have any other records related and mark them as related to 1. Then keep going until you can’t go anymore. Then go to record 2.</blockquote><p><strong>Without the help of any indexes, SQL Server will have to perform 40,000! reads.</strong> I couldn’t find a calculator to do a factorial that large.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/629/1*3WVIfmTIJWVobrZ1Uv3Dxw.png" /></figure><p>It’s a recursive problem. This is why 40,000 relationships was taking six hours.</p><blockquote>40,000! = forever</blockquote><p><strong>Then the algorithm was optimized to make the best use of indexes.</strong> What does that give you now? Your’re now doing factorials on a smaller level. If the average depth of a cluster is 6 nodes then turn that into 6!, which turns into 6*5*4*3*2*1, which equals 720. So if you end up with 1,700 final clusters that then gives you this optimal number.</p><blockquote>6! * 1,700 = 1,224,000 records to read</blockquote><p>So your best scenario, is that SQL Server will not have to look at more than 1.2 million rows for this small sample size.</p><blockquote>With index optimization we got the time down to 15 minutes</blockquote><p>However this sample was 3% the size of what production would face. The solution still wouldn’t survive scaling out.</p><p>I converted the algorithm to a set based operation.</p><blockquote>With set based operations we got the time down to 2 minutes</blockquote><p>This was awesome! <strong>When we went to production, this stored procedure was able to analyze 1.19 million relationships and return the unique identified clusters for each relationship tree in under ten minutes.</strong></p><blockquote>Final result: For half a million records, it took 40 minutes to identify all relationships and 10 minutes to consolidate and identify all clusters.</blockquote><p>It’s like looking at all college students and figuring out who has slept with who so you can figure out which students now have herpes. Okay, maybe that was a bit of a prudish metaphor — but same type of problem space. ;)</p><h4>Wishes and lessons learned</h4><p>If I had more time I would’ve loved to re-write the fuzzy analysis steps. See if I could invent a way to index records in SQL for Levenshtein and Jaro-Winkler scores. I got close to this using ElasticSearch on another project. <strong>Overall, I would like to try to get as close as I could to O(n)log(n).</strong></p><p>I also re-learned that <strong>when you start to work with millions in SQL Server the query execution planner doesn’t care for indexes with composite columns</strong>. It may think a table scan is better than trying to exactly line up two indexes, especially if the columns are not unique. When working with millions, index one column and include the rest.</p><p><strong>Unit tests saved a lot of time and headache in this work.</strong> Each time I found a new bug in the stored procedure I was writing, I would write a new unit test for it. The unit test wasn’t complex or anything, just a single T-SQL file. It would empty out production records into a temp table. Insert test seed data into the relationship table. Then run the clustering stored procedure and use IF EXISTS (SELECT…) and RAISERROR statements to report if any expectations failed. At the end, it would delete the test seed data and put the production records back into the table.</p><p>An architect’s work is never done. That’s why the Pharaohs used to bury them with their works. To shut them up.</p><p><strong>This Android game (Osmos) was my inspiration for how I imagined solving the problem.</strong></p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Fmc88ti3WbfY%3Fstart%3D21%26feature%3Doembed%26start%3D21&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dmc88ti3WbfY&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Fmc88ti3WbfY%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/4eb56ec53d0be46254fa042e6046314f/href">https://medium.com/media/4eb56ec53d0be46254fa042e6046314f/href</a></iframe><h3><strong>If you liked this article then show some love and click the heart on the left to recommend.</strong></h3><h4>Follow me on Medium for enthusiastic dry-witted uber-nerd content.</h4><p>I am also on <a href="https://twitter.com/@codingjoe">Twitter</a> and <a href="https://instagram.com/codingjoe">Instagram</a></p><figure><a href="http://bit.ly/HackernoonFB"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0hqOaABQ7XGPT-OYNgiUBg.png" /></a></figure><figure><a href="https://goo.gl/k7XYbx"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vgw1jkA6hgnvwzTsfMlnpg.png" /></a></figure><figure><a href="https://goo.gl/4ofytp"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gKBpq1ruUi0FVK2UM_I4tQ.png" /></a></figure><blockquote><a href="http://bit.ly/Hackernoon">Hacker Noon</a> is how hackers start their afternoons. We’re a part of the <a href="http://bit.ly/atAMIatAMI">@AMI</a> family. We are now <a href="http://bit.ly/hackernoonsubmission">accepting submissions</a> and happy to <a href="/service/mailto:partners@amipublications.com">discuss advertising &amp; sponsorship</a> opportunities.</blockquote><blockquote>If you enjoyed this story, we recommend reading our <a href="http://bit.ly/hackernoonlatestt">latest tech stories</a> and <a href="https://hackernoon.com/trending">trending tech stories</a>. Until next time, don’t take the realities of the world for granted!</blockquote><figure><a href="https://goo.gl/Ahtev1"><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*35tCjoPcvq6LbB3I6Wegqw.jpeg" /></a></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1520d818fa98" width="1" height="1" alt=""><hr><p><a href="https://medium.com/hackernoon/epic-high-five-we-just-beat-an-enterprise-algorithm-1520d818fa98">Epic high five, we just beat an enterprise algorithm</a> was originally published in <a href="https://medium.com/hackernoon">HackerNoon.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[5 ways to make your desk job less painful]]></title>
            <description><![CDATA[<div class="medium-feed-item"><p class="medium-feed-image"><a href="https://medium.com/hackernoon/5-ways-to-make-your-desk-job-less-painful-3d57a1fe4053?source=rss-9ce9b737fec8------2"><img src="https://cdn-images-1.medium.com/max/1126/1*cuzjYBiQp9yNam5VwtzdhA.png" width="1126"></a></p><p class="medium-feed-snippet">If your job is a pain in the ass then I might not be able to help. But if your job is a pain in the neck then please continue.</p><p class="medium-feed-link"><a href="https://medium.com/hackernoon/5-ways-to-make-your-desk-job-less-painful-3d57a1fe4053?source=rss-9ce9b737fec8------2">Continue reading on HackerNoon.com »</a></p></div>]]></description>
            <link>https://medium.com/hackernoon/5-ways-to-make-your-desk-job-less-painful-3d57a1fe4053?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3d57a1fe4053</guid>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[health]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[tech]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Fri, 16 Sep 2016 21:39:37 GMT</pubDate>
            <atom:updated>2017-07-13T22:55:07.648Z</atom:updated>
        </item>
        <item>
            <title><![CDATA[Build a robust MEAN website in under an hour for less than $1/day]]></title>
            <link>https://medium.com/@CodingJoe/build-a-robust-mean-website-in-under-an-hour-for-less-than-1-day-part-1-fcabb74a0ae1?source=rss-9ce9b737fec8------2</link>
            <guid isPermaLink="false">https://medium.com/p/fcabb74a0ae1</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[hackathons]]></category>
            <dc:creator><![CDATA[Joseph Nielsen]]></dc:creator>
            <pubDate>Wed, 14 Sep 2016 16:09:24 GMT</pubDate>
            <atom:updated>2016-10-17T14:57:23.515Z</atom:updated>
            <content:encoded><![CDATA[<p>If you need to get a robust website up in under an hour- like for a hackathon or a proof of concept- then this tutorial is for you.</p><h4>Hackathon ready website template. No coder skills are required, only an Amazon Web Services (AWS) account.</h4><blockquote>The price of $1/day isn’t an average — with AWS you actually pay pennies per hour. This means you can chuck it out the virtual window and not pay anything more when your hackathon is done, or if you should so choose, you can take this website on to more glorious aspirations without having to rewrite everything.</blockquote><h4>Backstory</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1001/1*B12hdPA-ZHHS3v3sFSKHHw.png" /></figure><p>About a month ago at 3AM I was sitting in the New York AWS Pop-up Loft. Normally the AWS Pop-up Loft is an open workspace and “genius bar” open to developers in need of AWS help. Friendly AWS Solution Architects are on-demand to assist curious minds along with free freeze pops, candy and cereal.</p><p>At three in the morning the Loft was strewn with aisles of rectangular folding tables and hundreds of caffeine-zonked coders competing in the 2016 Angelhack Manhattan Hackathon. I was hoping to win my team the AWS sponsor prize of a free Kindle Fire for each team member. (I love free stuff.)</p><p>Though at three in the morning, I was having problems figuring out why my bower scripts weren’t working on Elastic Beanstalk.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/398/1*_nGUhsRr2wvw3Wo-UrLQCQ.png" /><figcaption>My commit messages, reading from bottom to top, slowly evolve from hope to despair.</figcaption></figure><p>Bower is an npm-maven-nuget open-source-repository for front-end libraries. Without bower scripts having been run, I was getting blank web pages because the angular libraries hadn’t loaded.</p><p>In the end I listened to the words of the cartoon villain Yosemite Sam, “If you can’t beat them, join them.” Or in this case, if I can’t get bower to install my client side dependencies like angular then I’ll check them in and figure it out another day.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/859/1*IEjkwLHA2rGVtGQ5-J6_rw.png" /></figure><p>I gave up and checked in my “bower_components” folder along with my grunt produced minified javascript files. I then moved on to more important things. I enjoyed using ElasticBeanstalk. Up until the deadline I was able to deploy our application in less than five minutes, each time with a simple command of “eb deploy”.</p><p>That afternoon we presented our application and won the AWS sponsor prize (a Kindle Fire HD 6 for each team member) as well as the hackathon grand prize (entrance to Angelhack’s hackcelerator program and a one year CloudAcademy subscription.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/500/1*p7jb4mvLS3XUTt_AggNcQQ.jpeg" /><figcaption>I realize not everyone will win a hackathon from using AWS Elasticbeanstalk, but it’s a definite possibility.</figcaption></figure><h4>The other side of the looking glass</h4><p>If you still have doubts on why you may want to invest in a robust scaffold site for a proof of concept instead of keeping it super simple, <a href="https://techcrunch.com/video/sensay/519621940/">check out this video of my co-worker losing all faith in humanity at the 2016 TechCrunch Disrupt Hackathon in Brooklyn.</a> As they present their single page anonymous app, other hackathon participants open up their app during the presentation and start overflowing the chat window with swear words.</p><h3>The Walkthrough</h3><p>Today is “another day.” Here is a walk-through start-to-finish for any hacker who would like to use a robust Node.js scaffold like the Yeoman <strong>MEANJS</strong> template and benefit from AWS’s easy deployment service <strong>ElasticBeanstalk</strong>.</p><blockquote><a href="https://github.com/joezen777/meanjs-elasticbeanstalk">Click here to see the finished repository with my elasticbeanstalk scripts</a></blockquote><p>If you don’t want separate configuration files for each environment or you have minified JavaScript files generated by Grunt and libraries pulled down by Bower — <a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/GettingStarted.html?icmpid=docs_elasticbeanstalk_console">if you just have a simple Node application then any AWS walk through will work like this one.</a></p><p>But if you want to build something you can <em>scale</em>, that already comes with a <em>login model</em>, <em>resource permissions</em>, <em>Facebook integration</em>, a <em>live chat</em> sample and code built with design <em>best practices</em> in mind, then check this out.</p><h3>Prerequisites</h3><p>In my walkthrough I’ll be using a clean Windows 10 virtual machine with nothing installed. <strong>The only thing you’ll need is an AWS account.</strong></p><p><em>If you’d prefer to skip the step-by-step screenshots</em>, I’ve included links below to the required software and the console commands needed for each script library.</p><p><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-git-f4459fe23e7c#.he80waban"><strong>Click here to go straight to the start of the step-by-step instructions</strong></a></p><h4>I’ll be demonstrating installs of the following software:</h4><ul><li><a href="https://git-scm.com/downloads">Git Bash</a></li><li><a href="https://www.python.org/downloads/release/python-352/">Python 3.5.2</a></li><li><a href="http://rubyinstaller.org/downloads/">Ruby 2.3.1 (x64)</a></li><li><a href="https://www.mongodb.com/download-center?jmp=nav#community">MongoDB 3.2.8</a></li><li><a href="https://nodejs.org/en/">Node.js</a></li><li><a href="https://s3.amazonaws.com/aws-cli/AWSCLI64.msi">AWS-CLI Tools</a></li></ul><h4>I’ll be demonstrating the following template and script libraries:</h4><ul><li>Yeoman meanjs (0.4.2)</li></ul><pre>npm install -g yo</pre><ul><li>Grunt</li></ul><pre>npm install -g grunt-cli</pre><ul><li>Bower</li></ul><pre>npm install -g bower</pre><ul><li>MeanJS generator</li></ul><pre>npm install -g generator-meanjs</pre><ul><li>MEAN.JS Scaffold (also installs angular and express)</li></ul><pre>yo meanjs</pre><ul><li>Python pip installer</li></ul><pre>python -m pip install --upgrade pip</pre><ul><li>AWS EB Client Tools</li></ul><pre>pip install awsebcli</pre><ul><li>Ruby Gems &amp; sass</li></ul><pre>pip install gem<br>gem install sass<br>gem install bundler</pre><h4>I’ll be using the following AWS services</h4><ul><li>ElasticBeanstalk: Run and Manage Web Apps</li><li>Route 53 (optional): Scalable DNS and Domain Name Registration</li><li>EC2: Virtual Servers in the Cloud</li><li>Identity &amp; Access Management: Manage User Access and Encryption Keys</li><li>Certificate Manager: Provision, Manage, and Deploy SSL/TLS Certificates</li><li>VPC: Isolated Cloud Resources</li></ul><h3>Local Machine Setup</h3><p><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-git-f4459fe23e7c#.he80waban">Click here for step-by-step instructions for setting up your local machine</a></p><ol><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-git-f4459fe23e7c#.he80waban">Install Git with Bash</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-python-4c34139a56da#.bek75ahtv">Install Python 3.5.2</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-node-js-8bf2517b3a4d#.dl8bqap54">Install Node 6.3.0</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-mongodb-as-a-windows-service-848d7aa32f64#.c58t43x7k">Install MongoDb 3.2.8</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-mongodb-as-a-windows-service-848d7aa32f64#.c58t43x7k">Configure MongoDb as a Windows Service</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-ruby-gems-and-sass-2f33d0509945#.lmbio48tb">Install Ruby, Gems and Sass</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-aws-cli-tools-f45af3bd6ae5#.cck7pbsyt">Install AWS Client Tools and AWS Elastic Beanstalk client tools</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-install-npm-libraries-48d818eb6e8e#.dgjd17bi8">Install NPM libraries</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-setup-your-mean-js-website-26101bed7646#.ezr2k93xk">Setup your template MEAN.JS application</a></li><li><a href="https://medium.com/@CodingJoe/preparing-your-windows-box-for-aws-and-a-mean-node-website-git-init-109cb444ad24#.9bzwx3lcr">Initialize your Git Repository</a></li><li>See local website run</li><li>One more step so I can say it’s a 12 step program</li></ol><h3>Amazon Web Services Setup</h3><ol><li><a href="https://medium.com/@CodingJoe/setting-up-your-mean-node-js-website-in-aws-elasticbeanstalk-iam-configuration-a9104e9e0617#.hirhfx10g">Configure your IAM roles</a></li><li><a href="https://medium.com/@CodingJoe/setting-up-your-mean-node-js-website-in-aws-elasticbeanstalk-setup-your-vpc-356cc4b880fe#.12uf1nx1a">Configure a VPC with a public and private subnet</a></li><li><a href="https://medium.com/@CodingJoe/setting-up-your-mean-node-js-3f6a90dd0ab1#.a0h587goe">Expose your public subnet using an Internet Gateway</a></li><li>Allow internet access from your private subnet using a NAT Gateway</li><li>Launch an EC2 instance in your private subnet for MongoDB</li><li>Register your Domain Name (optional)</li><li>Create an SSL certificate for your website (optional)</li><li>Setup your application in ElasticBeanstalk</li><li>Create an environment in your new ElasticBeanstalk application</li><li><a href="https://github.com/joezen777/meanjs-elasticbeanstalk/tree/master/thedude/.ebextensions">Troubleshoot an ElasticBeanstalk deployment and add ebextensions</a></li><li>Deploy a change using the EB client tools</li><li>See internet website run</li></ol><p>I hope this has helped. If you’re doing a hackathon, the last thing you want to be doing is figuring out deployment issues. You want to spend as little time as possible on the scaffold and as much time as possible on the actual features you’re trying to prototype.</p><p>I’ll be working on transferring all my walk-through instructions this week out to Medium. Please stay tuned.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fcabb74a0ae1" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>