<?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 sohjsolwin on Medium]]></title>
        <description><![CDATA[Stories by sohjsolwin on Medium]]></description>
        <link>https://medium.com/@sohjsolwin?source=rss-ed093789d2f7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*xD1n8L8X95-xFBxi.</url>
            <title>Stories by sohjsolwin on Medium</title>
            <link>https://medium.com/@sohjsolwin?source=rss-ed093789d2f7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 02 Dec 2026 01:36:18 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sohjsolwin/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[What is a Development tool?]]></title>
            <link>https://medium.com/dealeron-dev/what-is-a-development-tool-83b588dd387c?source=rss-ed093789d2f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/83b588dd387c</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[csharp]]></category>
            <dc:creator><![CDATA[sohjsolwin]]></dc:creator>
            <pubDate>Fri, 05 Jul 2019 14:15:26 GMT</pubDate>
            <atom:updated>2019-07-19T13:01:01.182Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*NaLJNpW3qU_L3I9w" /><figcaption>Photo by <a href="https://unsplash.com/@pjswinburn?utm_source=medium&amp;utm_medium=referral">Philip Swinburn</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Every developer and engineer has a different set of tools they use. Working primarily in the .NET landscape, my tools frequently include Windows, Visual Studio, VS Code, Git, etc. Typically, the more green a developer is, the more rigid their definition of a “development tool” and the fewer items they’ll install when getting started. I’d like to introduce you to my process for getting a dev environment set up, tell you about some of the ways I use my “development tools” and possibly help expand your definition of “development tool” in the process.</p><h3>Gitting Started</h3><p>At a new job, or when getting a new computer, developers are often presented with needing to set up their “Dev Environment”. This can often be a tedious process, requiring numerous installs and a long, long wait time while everything gets configured. Starting with the blank slate of a newly installed and domain-attached can be daunting, especially for a new hire. Thoughts of “What do I install first?” and “Which items will make me productive the fastest?” often race into their minds while they desperately try not to look useless for the first several hours of their new job.</p><p>It can be stressful, but I’ll let you in on a little (slightly off topic) secret: <strong>No company expects you to be productive in the first few hours</strong>. You’re expected to learn and discover in that time frame. Asking questions, reading through the numerous documents and wikis you’ll be presented with, and generally being curious is your job for the first day and often for the first week.</p><p>In order to maximize that time that you’re spending getting up to speed, there are some tools you can use to aide in setting up your computer while you’re reading those docs and wandering around asking “what was the password for the WiFi again?”.</p><h3>Chocolatey</h3><p><a href="https://chocolatey.org/">Chocolatey</a> is by far the #1 development tool I use. Not in the quantity of time I spend using it, but in the quantity of time I <em>save</em> by using it. Combined with <a href="https://gist.github.com/">Github Gists</a>, you can have a very powerful combination that will save you an immense amount of time when setting up your new PC. You can browse and search through the full list of packages available here: <a href="https://chocolatey.org/packages">https://chocolatey.org/packages</a></p><p>Chocolatey is essentially a package manager, similar to Brew on Mac or APT on Debian/Ubuntu. It allows installing and updating a vast number of programs via the command line or an optional user interface. It’s simple to install and saves immense amounts of time when installing multiple programs at once, like when setting up a new computer. The typical set of packages I’ll install on a new computer is shown in <a href="https://gist.github.com/sohjsolwin/9e7f45ce150e7900f25be33b9ca08500">this gist</a>.</p><p>The -y parameter attached to the Chocolatey command tells it to accept the packages as it&#39;s installing, otherwise you would need to type in Y for each package in order for the installation to continue. Without that parameter, the unattended install we&#39;re trying to do becomes useless.</p><p>While Chocolatey is happily churning away downloading and installing these packages, you’re now free to spend your time reading up on that documentation or shadowing and asking questions from your fellow coworkers while your machine gets set up. The list of applications you install in this initial run of Chocolatey may not be every application you’ll need in your development career, but it should take you most of the way there and allow you to be active while everything is getting set up instead of stuck there banging your head on the keyboard while the progress bar ticks forward on it’s 12th minute of 37 seconds remaining.</p><h3>VS Code</h3><p>I can hear you now. “ <a href="https://code.visualstudio.com/">VS Code</a> is obviously a development tool.” you say, and you’re absolutely right. It <em>is</em> already a development tool, but it’s uses in development extend beyond just the IDE components it contains.</p><p>While my primary development is done through Visual Studio, I always have a window of VS Code open along side it. Code has quickly become my favorite text editor and has surpassed Notepad++ for day to day usage. One of the primary things I’ll do with it is text search. I’ll open up the root folder where I check out all my repositories to and use the powerful, and fast, text search feature of Code to search through all of my repo’s code at once. Often times I’m looking for usages of a table or package that might be shared across projects that I don’t frequently work in or that my team doesn’t maintain. Notepad++ used to be my goto for this, but the search feature when looking across multiple files in multiple directories just became so slow and cumbersome that it was unusable. Thankfully, Code doesn&#39;t seem to have that problem at all and is able to search through everything in around 30-45 seconds, whereas N++ would typically take upwards of 15 minutes.</p><p>Not only is Code good for searching through large amounts of text, but it’s good for editing it too.</p><p>While working through refactors, I’ll often need to update a large amount of items from a switch statement or a large block of if statements at once. This can be quite tiresome to do individually by hand, but thanks to the robust multi-cursor capability of Code, I can make these edits in bulk instead of one by one.</p><p>In the following example, we had several large switch statements operating off of Int values. There was also an Enum which contained these values but was unused in the switch statements for unknown (read: legacy) reasons. In a recent refactor, we had determined that the Enums would be better served by actual objects which contained all of the extra data we were constantly binding the Enum values to instead of keeping that explicitly related information spread across numerous locations.</p><blockquote><em>I’ve changed a few of the names for this example, but the same principle and pattern is there.</em></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*k7Xsix-L2IopyR2H.gif" /></figure><p>In the above gif, you can see me using the multi-cursor ability to simultaneously remove all of the syntax surrounding the case statements, which I then copied into a mapping spreadsheet (more on that in a second) to link the enum values to the names needed for the new object-based class.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*w-eeqcCEnQFn784v.gif" /></figure><p>Next, I cleaned up the artifacts from the mapping spreadsheet and began turning each of the previous case groups and return statements into if statements, using the name of the return value as part of the name for the list being evaluated in the if statement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/0*6pp9rmdSuD4ReFvj.gif" /></figure><p>I then wrap each of the groups of cases in a private static readonly array, using the same multi-cursors established based on the return lines. Once they&#39;re all wrapped, I cut out the if statement lines and group them together up top.</p><p>From here, all that’s left is to update the name of the variable in use on each of the new case group arrays to match the values in the if statements at the top which is quick to do manually. I haven&#39;t found a good way to do that using multi-line cursors yet, but if you have an idea I&#39;m interested to hear it.</p><p>Taking this approach to the refactor makes it much less error prone in regards to typos or list transposition, and removes a fair amount of the human factor and fatigue related to looking back and forth between to walls of text trying to match items up.</p><h3>Excel</h3><p>I mentioned a “mapping spreadsheet” earlier. For this, I’m using Excel. Since I knew I would have several of these large switch statements to convert, and that linking up an int to a name in a list is very tedious and error prone, I opted for creating a spreadsheet to help me out with this.</p><p>I set up a “table” in the spreadsheet with 2 columns, one for the int value and one for the name. I then configured another column with a VLOOKUP function to use that table to find and return the name based on the int specified in a fourth, input, column. I also added a CONCAT function to the formula as well to put the results in a format closer to what I needed.</p><p>The end result is a very useful tool for matching up a number of ints to their object-named values while removing the potential for a mis-type or bad copy/paste.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/676/0*oU1_HzkKVJRQxGsX.gif" /></figure><p>The last step is to copy both columns, since the formula column has the value you actually want, but the input column has the return statements in them, and paste back into your text editor over the top of the previous input.</p><p>I use Excel frequently when I need to do large lookups like that, or when I’m needing to work with or manipulate various amounts of data. The CONCAT and other similar functions are useful for building groups of switch or if statements, SQL scripts, and any other type of script or code block that has a number of separate values you need to combine in some way.</p><h3>Commit to Memory</h3><p>These were a couple of the tools I find myself using frequently alongside the more traditional “development tools” like Visual Studio or Git. I’ve found them immensely useful over the years and have saved myself considerable time by learning how the tools in my toolbox can be used and abused in interesting ways. Admittedly, the uses I described above are some of the tamer uses for tools, but still useful nonetheless. What are some tools that you use in non-standard or unintended ways. I’m interested to see, and learn, some new tools I can add to my list.</p><p><em>Originally published at </em><a href="https://dev.to/dealeron/what-is-a-development-tool-46g"><em>https://dev.to</em></a><em> on July 5, 2019.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=83b588dd387c" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dealeron-dev/what-is-a-development-tool-83b588dd387c">What is a Development tool?</a> was originally published in <a href="https://medium.com/dealeron-dev">DealerOn Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[No title]]></title>
            <link>https://medium.com/dealeron-dev/-7546d0a69e52?source=rss-ed093789d2f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/7546d0a69e52</guid>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[dotnet]]></category>
            <category><![CDATA[deep-dives]]></category>
            <category><![CDATA[csharp]]></category>
            <dc:creator><![CDATA[sohjsolwin]]></dc:creator>
            <pubDate>Fri, 08 Mar 2019 14:01:00 GMT</pubDate>
            <atom:updated>2019-03-08T19:51:59.826Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PKOE1kyM3ev-aGUD" /><figcaption>Photo by <a href="https://unsplash.com/@markusspiske?utm_source=medium&amp;utm_medium=referral">Markus Spiske</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>Sometimes, when we’re working with data, we need to be sensitive with regards to what we’re exposing when we serialize our objects. On a recent project, I was dealing with various types of Personally Identifiable Information, often abreviated as PII, and needed to find a consistent, and easy, way to mark fields as sensitive. I discussed the problem with my team and after a few rounds of spit-balling and bouncing ideas off each other, the CensoredContentAttribute was born.</p><blockquote><strong>Note:</strong> All the code discussed in this article can be found in this<strong> </strong><a href="https://gist.github.com/sohjsolwin/cbce1999dd76fd15f583c9420f531dd9"><strong>Gist</strong></a>. Eventually, I plan to set it up in a repo with some other useful classes and snippets, but for now, GitHub Gist is its home away from home.</blockquote><p>To start, let’s preview an example of how this attribute works in practice.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0624fb6d53609f704a8d0359086ae2be/href">https://medium.com/media/0624fb6d53609f704a8d0359086ae2be/href</a></iframe><p>The important bits are on line 9, [Redacted(ShowFirst:3, ShowLast:3)], and on line 13 new CensoredJsonSerializerSettings&lt;RedactedAttribute&gt;().</p><p>Adding the RedactedAttribute to the Name property of this LoggingExample class sets it up to be read in when we go to serialize this class later on in the ToSerializedString method. The ShowFirst and ShowLast properties of the RedactedAttribute provide us a way to specify how many characters at the start and end of the original value should be shown in the serialized output. Very handy when serializing things like Social Security Numbers, Email Addresses, Phone Numbers, or Usernames where some fields may have different amounts of data permissible to view and others need to be fully censored.</p><p>The CensoredJsonSerializerSettings&lt;T&gt; is a class derived from JsonSerializerSettings with constraints on the type of T, limiting it to children of the CensoredContentAttribute. This class helps to provide the necessary ContractResolver to the JsonSerializer so that your censored fields are handled properly.</p><p>Next, we move on to the core of the attribute, with the CensoredContentAttribute, CensoredContentContractResolver&lt;T&gt;, and the CensoredContentValueProvider. Here’s the code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b252dca2649f9109ce3b3eb4fb7fe95e/href">https://medium.com/media/b252dca2649f9109ce3b3eb4fb7fe95e/href</a></iframe><p>Lines 8–13 are the abstract CensoredContentAttribute, which defines a base class for us to attach most of our logic to, and more importantly, gives us a strong type to attach our <a href="https://docs.microsoft.com/en-us/dotnet/csharp/programming-guide/generics/constraints-on-type-parameters">generic type constraints</a> to. It’s a simple class with one read only property, Censor, and one method, TruncateData(string input). The Censor property is for defining what value will be used to censor the content. In our example attribute, RedactedAttribute, we use the value ***REDACTED***. Similarly, the TruncateData method does what it says on the tin, it’s for performing the actual truncation of your data.</p><p>Lines 15–28 (technically through 50, as the CensoredContentValueProvider is an internal class, but we’ll get to that in a moment) make up the core of the CensoredContentContractResolver&lt;T&gt; class. This class is what the Netwonsoft Json Serializer is going to use to determine if a member on the object being serialized should use the default value provider, or if it should use our custom CensorContentValueProvider. Overall, it’s pretty straight forward and ensures, through reflection, that the member we’re getting the value of has a child of the CensoredContentAttribute on it. We get a reference to that custom attribute and pass it into the constructor of the CensorContentValueProvider along with a reference to the standard MemberValueProvider.</p><p>Lines 30–49 make up the CensorContentValueProvider class, where the real magic happens. In here, we have a couple properties for holding references to the values passed in, namely the base IValueProvider and the concrete implementation of our attribute, wrapped in a CensoredContentAttribute shell. In the GetValue method (line 39), we first need to pull out the string value of the member being censored. It’s a standard call to the GetValue method of the IValueProvider interface, but we need to make sure to toss in some null check and null coalescing so we don’t error out if the member hasn’t been set. After that, we throw our targetString into the TruncateData method of our attribute class and return the result.</p><blockquote>The SetValue method isn’t particularly important in this case, since this is intended as a one way censoring attribute, but there are plenty of interesting things you could do there, including things like encryption when serializing to/from json. I’m interested to see what ideas you have. Let me know in the comments what you come up with.</blockquote><p>That covers the groundwork and the core of our censorship engine, so now lets dive in to a couple example attributes. Here’s the code:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/467e9d6b70ad2bac92f4fcfdcbc88b37/href">https://medium.com/media/467e9d6b70ad2bac92f4fcfdcbc88b37/href</a></iframe><p>Starting with the LargeDataAttribute, we have an example use case for the CensoredContentAttribute that doesn’t involve direct censorship for privacy reasons, but rather for log size reasons. In our case, we were trying to store a raw copy of the body from an HttpRequest during development for debugging and replay purposes, but for some requests which included file uploads, this was excessively large. Utilizing the LargeDataAttribute we were able to specify a threshold over which the data on the decorated member would be replaced with a message like “***Large Data Removed*** [Length: 1024]”. This greatly eased the burden on our logging tools, and provided an easy way to get a general feel for what was included without being excessively large.</p><p>The RedactedAttribute is by far our most used of the two attributes though. With it, we are able to flag members as Redacted and specify a varying amount of data that is okay to display in the logs when serialized. In the TruncateData method, we check to ensure that the combined length of the first and last characters to show do not exceed the length of the original input. If it does, we spit out the value of the Censored property only (***REDACTED*** in this case). Otherwise, we append the first X (where X is the value of ShowFirst) characters of the input to our output string, append the Censor value, then perform the same action for the number of characters specified by the ShowLast property. Finally, we run one final sanity check on the output and return the value, or the Censored value, if our planned output was somehow empty. This ensures that someone looking at the log does not know if the original input value was originally empty, or contained less characters than the supplied Censor string (that the reason the Censor string is padded with asterisk as well).</p><p>Packaging it all together, you end up with a pretty straight forward way to mark members of your classes as sensitive and perform some form of modification to the data before putting it through serialization. If you need to serialize the same object without the redaction, such as for writing to a DB, posting to an endpoint, or writing out to a file, you simply run it through the serializer without sending in the CensoredJsonSerializerSettings. Additionally, the &lt;T&gt; value of the CensoredJsonSerializerSettings allows you to use multiple children of the CensoredContentAttribute in a single class and optionally trigger specific censor attributes based on the value you send in as &lt;T&gt;. For example, we use the &lt;RedactedAttribute&gt; value for &lt;T&gt; when serializing for logs, and the &lt;LargeDataAttribute&gt; when serializing for the DB.</p><p>Custom attributes provide a world of options and capabilities that every developer tends to find their own unique way of using. The CensoredContentAttribute is just one of the custom attributes we utilize here at <a href="http://jobs.dealeron.com/">DealerOn</a> and I plan on covering more of our helpful snippets and libraries in the future. Thanks for checking this out, and I look forward to reading how you are utilizing custom attributes in you’re own projects.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7546d0a69e52" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dealeron-dev/-7546d0a69e52">🅲🅴🅽🆂🅾🆁🅴🅳</a> was originally published in <a href="https://medium.com/dealeron-dev">DealerOn Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[… And that brings us to today]]></title>
            <link>https://medium.com/dealeron-dev/and-that-brings-us-to-today-5d41a61313cb?source=rss-ed093789d2f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/5d41a61313cb</guid>
            <category><![CDATA[backstory]]></category>
            <category><![CDATA[startup]]></category>
            <dc:creator><![CDATA[sohjsolwin]]></dc:creator>
            <pubDate>Fri, 02 Nov 2018 13:01:01 GMT</pubDate>
            <atom:updated>2018-11-02T16:11:42.555Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W92cCNO0ie8HqI51UYwveQ.png" /><figcaption>DealerOn Lobby</figcaption></figure><p>If you were to look at the DNA of DealerOn under the microscope, you’d see base pairs of <strong>Opportunity</strong>, <strong>Ownership</strong>, <strong>Camaraderie</strong>, and <strong>Determination </strong>comprising the genes that are directly responsible for the success and rapid growth DealerOn has experienced over the last decade.</p><p>Rolling the clock back to around 2012-2013 and you’ll find a young <strong>Jon Rothbard</strong> and <strong>Tim Eisenhardt</strong> just getting started at what will turn out to be challenging, yet rewarding careers. Tim and Jon cast some of the longest shadows here at DealerOn and were largely influential in setting up the current culture and “family oriented” mentality that has become a staple of our everyday work life. When asked about the roles they played along the way, Jon simply replied <em>“What roles didn’t we play?”</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/429/1*0Gisa2M1JG9G1Fw0C9XJGg.png" /><figcaption>Tim Eisenhardt, Principal Solutions Architect</figcaption></figure><p>Tim will grow to be the <strong>Principal Solutions Architect </strong>of the Development Team, and Jon will skyrocket to the position of <strong>VP of Operations</strong>.</p><p>But in 2012, Jon is making his mark as a <strong>Junior Web Designer</strong>, and by coincidence of where the last open desk was, <strong>Front Desk Clerk</strong>. <br>Meanwhile, Tim, a recent casualty of the Government shutdown, is starting his position as a <strong>Junior Developer</strong>, with no clue what to do and a fresh heap of gratitude for being given a chance to prove himself, despite lacking any real development experience.</p><p>Shortly after starting, Tim is approached with the task of converting the entire Platform of DealerOn (responsible for serving up the websites and inventory for a large number of automotive dealerships) from a Flex-based system into a new Responsive-based one, something that very few web platforms, and no competitors, have accomplished at the time. Tim has no idea where to begin, but riding on the high of all the trust that is being placed in him, he rose to the occasion and saw the project through to completion in record time. This is Tim’s first taste of the level of ownership possible in projects at DealerOn.</p><blockquote>“A shared sense of ownership, to me, is the best driver of quality. Period.” — Tim</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*W7xfI8rBo3H8IKIBj-W7PQ.png" /><figcaption>Jon Rothbard, VP of Operations</figcaption></figure><p>Fast forward a few years and DealerOn has hit numerous growth milestones by taking on several new OEMs (original equipment manufacturers)and large dealership groups like AMSI as customers. Jon is now running no less than 4 different departments; DealerOn is in the middle of some department shuffling and division in order to better position itself to handle the rapid growth it’s experiencing, like the break out of Creative Operations from the Design group, and the formation of a QA team; and Tim is now Lead over the entire development team, which has exploded to nearly 3–4 times the size it was when he started.</p><blockquote>“Jon and I have lamented plenty of times over the years that this growth pattern is just unprecedented and unmetered, and to be able to account for that we’ve had to do some stuff that we would all agree were hacks, and bear the brunt of that technical debt as the time came. “ — Tim</blockquote><p>It’s a crazy, hectic time at DealerOn. Code’s flying left and right, features are going up, bugs are going down, and commits are at an all time high. Knowing the current pace isn’t sustainable indefinitely, Tim and Jon set forth a goal to keep quality up while keeping throughput high:</p><blockquote>“To ensure we are not only creating new, quality products, but also facilitating the quality of life improvements for our employees, as well as our clients.” — Jon</blockquote><blockquote>“Finding the communications channels and the strategic channels to make that live side by side with new features, and requests for customers, and stuff that’s coming from new contracts” — Tim</blockquote><p>And that brings us to today. I managed to track down these two titans of DealerOn and asked them a few questions about their time here, their thoughts on the company and it’s journey, and their goals and perspectives on teamwork, team growth, and the culture they’ve helped to foster.</p><blockquote><strong>Interviewer:</strong> <strong>To begin with, can you each state your name, title, and how long you’ve been here.</strong></blockquote><blockquote><strong>Jon:</strong> My name is Jon Rothbard, I have been here for 6 years, and my title is currently VP of operations.</blockquote><blockquote><strong>Tim:</strong> Tim Eisenhardt, I’ve been here for 5 years, Principal Solutions Architect</blockquote><blockquote><strong>I: And what were your titles when you started?</strong></blockquote><blockquote><strong>J:</strong> Junior Web Designer</blockquote><blockquote><strong>T:</strong> Junior Developer.</blockquote><blockquote><strong>I: Okay, first question. What does DealerOn mean to you?</strong></blockquote><blockquote><strong>J:</strong> What does it mean now, or what did it mean then?</blockquote><blockquote><strong>I: Your call.</strong></blockquote><blockquote><strong>T:</strong> What does it mean to me professionally or personally.</blockquote><blockquote><strong>I: Again, it’s your answer.</strong></blockquote><blockquote><strong>J:</strong> Right, I think my answer is a combination of both, for the fact that DealerOn is a collective family built on a culture that has brewed into what its turned into <br> today; of a technology company that is cutting edge…</blockquote><blockquote><strong>T:</strong> And to me it’s opportunity. Right, because we have the desire to be family-cultured, and to be results oriented, we don’t treat any idea as a bad idea until we’ve vetted it and gone through it, and we don’t treat any candidate as though they’re a bad candidate until we’ve seen what they have to offer.</blockquote><blockquote>When I joined, I’d just been laid off because of the impending government shutdown. I found the job because the job posting said all levels, which was my keyword search on the job boards. And they kind of saw that I had potential, despite having no on-paper experience in the field, and gave me a shot.</blockquote><blockquote>And that inspired me to work hard. And they also encouraged me when I had ideas that I wanted to flesh out, or wanted to try and do new things, to see where those lead, despite the fact that the growth was insane and there was always too much work to do anyway. And I think that that’s persisted over the 5 years.</blockquote><p>On the topic of DealerOn’s milestones, and which ones stood out the most, Tim and Jon were in agreement that bringing on a new OEM is a significant milestone each and every time. The continued growth of departments, and formation of new departments, the Training department being the most recent, are also significant milestones that speak to the growth of the company as a whole, and not just the development-related departments. In addition, formalizing our product catalog with the newly formed Product department has been substantially beneficial. A product catalog helps spread the use of more ubiquitous language across all levels of the company and minimize communication barriers between the technical and non-technical staff.</p><blockquote>“[B]y force of sheer will … it’s evolved at each of these kind of checkpoints.<br> …<br>We’ve had to find procedural and programmatic and technical solutions to the problem of scale and rapid growth.” — Tim</blockquote><p>Tim reflected on the formation of the Product department and recalled what it was like in the early days, stating that <strong>“… (Chief Creative Officer, Michael)</strong> <strong>DeVito <em>WAS </em>the product department, and Jon and I made sure whatever came out of his face was implemented.”</strong> Management and Leadership from within the Development team are additional key milestones for the group, allowing the large pool of technical expertise contained within the team to be cultured into <em>“leadership roles and be[ing] a part of the decision making process.”</em></p><blockquote>“The fact that people go out of their way to mentor each other, go out of their way to help each other when, you know, the shit hits the fan” — Tim</blockquote><p>When asked about any sacrifices made along the way, Tim and Jon replied in unison: <strong>Time</strong>. Getting to the place they’re at professionally in their careers, and collectively as a company required immense sacrifices of time over the years. Stepping back from their professional passions and stepping into the necessary roles to “steer the ship”, as it were, was a necessity. Sometimes things don’t go to plan, and you have to step back, assess, and react. Tim recalled an instance just over a year ago:</p><blockquote>We had concrete positions filled in QA and DevOps, full time, where we’d finally gotten head count and done a lot of interviewing and get those people in. And fast forward a couple of months, they were both open head count again which meant that those roles fell to us and so we couldn’t focus on architecting solutions for the future, we had to get back in there and solve some more day to day problems, just to make sure that stuff kept running smoothly.</blockquote><p>It all comes back to ownership, being able to accept a problem, identify a solution, and owning that implementation. DealerOn is <em>“being able to kind of be the master of your own destiny. … It’s opportunity to make a name for yourself, to work on what you want to work on, to make sure that things are done the way that you feel is best.”</em></p><p>One quote that I felt described that mentality the best came towards the end of our interview:</p><blockquote>“Everybody buying in, understanding that you may have a disagreement, you may have a flawed assumption …, but if you’re all on the same page about what the objective is, and that you all have group ownership over reaching that objective, you’re going to have a high quality product at the end of it.” — Tim</blockquote><p>The forward momentum isn’t over yet though. One of Jon’s goals for the development team is more self-sufficient teams, allowing for Tim and himself to move farther out of the day to day details of the work and focus more on big picture strategy and long term goals of the company. Giving teams the bandwidth and resources they need to accomplish the individual team’s goals enhances the overall department and company trajectories by improving autonomy and reducing inter-departmental and cross-team abrasion that too many layers of process can cause.</p><p>As a final note, I asked Tim and Jon to address future readers directly:</p><blockquote><strong>T:</strong> I think the key word is opportunity. I think you’d be hard pressed to find somebody that’s been here for a considerable amount of time, that they couldn’t point to at least one chance where there was a meeting where it didn’t matter that they were brand new to the company or whatever it was, and their voice was heard and really felt equal.</blockquote><blockquote>Because we try to make that the feeling from the top down. We don’t care if you’re here 90 days, we don’t care if you’ve had 20 years of experience, or no years of experience, <strong>being able to solve problems, make suggestions, and be a part of the solution is the most important thing</strong>.</blockquote><blockquote><strong>J:</strong> Yeah, being a part of the solution is a good way of saying it. People do have a voice, but it’s also you can make your own destiny. You can start like me and Tim have, … we [the company] have grown a lot, but you still have the opportunity to do the same thing. <br>If you want to work your way up the ranks, or if you want to create a new department: Often someone may mention that they have ideas that we should spin up a new department, for Training or for QA or such and so on and so forth. <strong>[Anyone] could do that if they have the drive and motivation to want it and build it. </strong><br>…<br>We have a developer that wanted to switch from Development to Product, so there’s plenty of opportunities regardless of what track. And if you want to start as one, you can always hop over to another.</blockquote><blockquote><strong>T:</strong> Yeah, there’s no shortage of people on the Development team that started in Customer Support positions; there’s no shortage of people on the Graphic Design team that started in support positions; and there’s people, we were just in a meeting, basically an executive level meeting, talking about customer retention and <strong>everybody in the room started as a junior employee in one team or another</strong>.</blockquote><p>As a final shout out to the folks at DealerOn that have made this journey possible, Jon had this to say:</p><blockquote>“This goes without saying: we could not have done this without the support of the initial hard working, dedicated execs at DealerOn. Shout out to the b<strong>rothers</strong> [CEO/Co-Founder, Ali A. and Co-Founder Amir A.], [Chief Operating Officer] Amir S., [Chief Creative Officer, Michael] DeVito and [VP of Customer Experience, Mike] Somerville who’ve been along for the ride with us and made the company what it is today. (Sorry if I left anyone out)” — Jon</blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5d41a61313cb" width="1" height="1" alt=""><hr><p><a href="https://medium.com/dealeron-dev/and-that-brings-us-to-today-5d41a61313cb">… And that brings us to today</a> was originally published in <a href="https://medium.com/dealeron-dev">DealerOn Dev</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Golang and the Mirror-Quickstart]]></title>
            <link>https://medium.com/@sohjsolwin/golang-and-the-mirror-quickstart-4dd5f573c585?source=rss-ed093789d2f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/4dd5f573c585</guid>
            <category><![CDATA[go]]></category>
            <category><![CDATA[golang]]></category>
            <category><![CDATA[debugging]]></category>
            <dc:creator><![CDATA[sohjsolwin]]></dc:creator>
            <pubDate>Thu, 27 Sep 2018 18:23:24 GMT</pubDate>
            <atom:updated>2018-09-27T18:23:24.076Z</atom:updated>
            <content:encoded><![CDATA[<p>I’ve been struggling to get the <a href="https://github.com/googleglass/mirror-quickstart-go">Mirror-Quickstart-Go</a> up and running. A few months back I was able to get it running on an appengine instance without any trouble at all. Recently though, I decided to blow away the test code I had on my appengine and start over. Unfortunately setting up the quickstart was not as easy this time. After following the usual steps of setting up a project, creating the client IDs and configuring the project with the proper information, I deployed it and became stuck in an authorization redirect loop. The only error I received in the Log viewer was:</p><pre>Get Token: datastore: no such entity</pre><p>After double and triple and quadruple checking that I had all the right IDs everywhere, I figured out a way to be able to debug the project and start tracking down the issue. There are only a handful of URLs that the quickstart is configured to handle. Anything else and it will just return a 404 error, as it should. I decided to use this to my advantage by modifying the main.go file to change all of the sections that performed HTTP redirects to redirect to pages such as “/useridempty”.</p><pre><strong>if</strong> userId <strong>==</strong> &quot;&quot; {<br>  //http.Redirect(w, r, &quot;/auth&quot;, http.StatusFound)<br>  http.Redirect(w, r, &quot;/useridempty&quot;, http.StatusFound)<br><strong>  return</strong> <strong>nil<br></strong>}</pre><p>This allowed me to track it down to line 84: t := authTransport(c, userId) authTransport was returning nil. Continuing this into the util.go file, the line that was causing trouble was line 94, specifically the datastore.Get(c, key, tok) portion. Turns out, that the token needed to authenticate wasn’t being stored in the database, to the error (and subsequently the redirect) being caused by this was accurate.</p><p>I went back to the oauth2callback method, since I knew that was getting called at least, and visually stepped through the code cross referencing what was happening with what the code should be doing. This lead me to the storeCredential method. The storeCredential method (used on line 78 in the auth.go and declared on line 83 in util.go. The storeCredential method returns an error, but that error was not being checked. I modified the usage of storeCredential in the auth.go file to return the error like so:</p><pre>if err = storeCredential(c, userId, tok); err != nil {<br>  return fmt.Errorf(&quot;Unable to store credential: %s&quot;, err)<br>}</pre><p>This resulted in the following error: Unable to store credential: datastore: unsupported struct field type: map[string]string</p><p>After some digging around, I found that storing map objects in the datastore is no longer supported. I’m not sure exactly when it became unsupported, but the fact of the matter remains that it just plain won’t work any more. The Token object from the oauth2 library contained an “Extras” field of type map[string]string and since it was a Token object that was being stored in the datastore, that’s why it’s failing. The token never got saved, so of course it wasn’t there when it tried to read it out, but with the way the demo was calling the storeCredential method, the error was being dropped and passing by silently.</p><p>In order to fix the error, I created a simple “SimpleToken” struct that contained the same signature as the Token object, just without the “Extras” field. I also set up a couple of short methods to turn a oauth.Token into a SimpleToken and vice versa. In the util.go file, I changed the storeCredential method to take in a *SimpleToken instead of a *oauth.Token and the authTransport method to convert the oauth.Token object into a SimpleToken object before passing it to the datastore.Get method. In the auth.go file, the only thing that had to change was in the oauth2callbackHandler method. The method was updated to convert the oauth.Token object into a SimpleToken object before the call to storeCredential.</p><p>Once these changes were completed and the project redeployed to AppEngine, everything loaded up properly and began working. It was a very annoying issue and troublesome to track down, but once the root problem was found, the fix was surprisingly simple. Once I get around to cleaning up the code a bit I’ll fork the project and make a pull request so that anyone else pulling down the Go quickstart won’t have these same issues. I’d hope that the oauth or datastore library would be updated to properly work around the change to the datastore that now prevents storing map types.</p><p><em>Originally published October 26, 2013 at </em><a href="http://blog.sohjsolwin.com/2013/10/helpouts-meetups-and-mirror-qucikstart.html"><em>blog.sohjsolwin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4dd5f573c585" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My mind is a train yard]]></title>
            <link>https://medium.com/@sohjsolwin/my-mind-is-a-train-yard-95d369e2643c?source=rss-ed093789d2f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/95d369e2643c</guid>
            <category><![CDATA[adhd]]></category>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[coping]]></category>
            <dc:creator><![CDATA[sohjsolwin]]></dc:creator>
            <pubDate>Thu, 27 Sep 2018 18:07:06 GMT</pubDate>
            <atom:updated>2018-09-27T18:07:06.785Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>I</strong> s̵u̵f̵f̵e̵r̵ ̵f̵r̵o̵m̵ <strong>have ADHD</strong>.</p><p>Attention Deficit Hyperactivity Disorder. I was diagnosed with it at an early age and while it was fairly difficult in childhood, as an adult I’ve largely learned to deal with it and developed coping mechanisms to help with the more difficult aspects. I thought I had it mostly under control and that it no longer was influencing my life in any major way. I would laugh with my friends about it when I would get hyperactive and jumping back and forth between topics. It had become a joke. It’s easier to ignore that way. I was wrong.</p><p>I read an article recently about people who have ADHD and things to remember/tips for living with them. I learned that many of the things I do, ways I act, and my general mannerisms are a result of, or influenced by, the ADHD. After learning more about ADHD in comparison to ADD (Attention Deficit Disorder), I learned that in 2013, ADD was reclassified to be an under-diagnosed aspect of ADHD. There are apparently three kinds of ADHD: The first involves inattentiveness. The inability to pay attention, being easily distracted, “Oh! Shiny!”, etc. The second involves hyperactivity and impulsiveness. Fidgeting, the inability to sit still, the inability to sit or stay quiet when you should, constantly interrupting people, etc. The third, and the one I have, is combined. As the name implies, it is a combination of all of the above: inattentiveness, hyperactivity, and impulsiveness.</p><p>As a child, ADHD was largely believe to be related to sugar. The more sugar a child has, the more the ADHD will “act up”. As a result, I was not allowed to have sugar, except on special occasions, and even then, only at home or when able to be supervised by an adult. I remember these delicious red sugar coated apples that we would have in the school cafeteria for lunch. My mom had already spoken with the school faculty (this was back when parents actually knew their kid’s teachers and faculty) and they knew me and my ADHD. They also knew that I was not supposed to have any sugar if possible. Every day I would ask them if those colorful sugar coated apples had sugar in them, and every day I would be told they did, after which the lunch lady would apologize and get this sad look on her face. She didn’t like preventing me from having those candy coated apples as much as I didn’t like not being able to have them.</p><p>I knew it was all in my best interest though, so I didn’t fight it too much. The one part I didn’t care for was occasionally having to drink a small cup of black coffee before going to school on the nights that I had had some ice cream or other highly sugary sweets before bed. I guess it was believed that the black coffee would absorb or cancel out the sugar. I’m not sure. Either way, caffeine doesn’t seem to affect me overall the same way it does most people. It doesn’t really make me hyper or awake or anything. I guess it somewhat makes me a little more capable of focusing, but only at certain thresholds. Anything beyond some uncertain amount and it begins to have the opposite effect and makes me more easily distracted.</p><p>Moving back to the symptoms and such, I can’t sit still. I’m always moving. Always doing something. Even when I appear to be physically motionless. Right now, I’m rolling an 8 pound barbell around with my foot that I have at my desk from when I used to go to the gym every day. I’m listening to music with one earphone in from my tablet, typing this email on one monitor, debugging in another, and listening to a conversation with the other ear. Oh, and I’m also reading this and rephrasing as I’m writing it in my head. I wish I could focus. If I make an effort and try to stop moving, all of that attention and activity moves inward. I start to feel the air on my skin, the differences in temperature between my fingers and my forearm. The texture of the keys beneath my fingers and the palm rest beneath my hands. I feel what I can only assume is my bodies natural effort to keep balance and stay upright causing me to sway imperceptibly from side to side. I feel the air passing through my nostrils. And if I’m laying down, I will be able to feel, see, and even hear my heart beat in my neck, behind my ears, in my stomach, and sometimes my legs. There’s always an intense amount of input and things I’m noticing and things I’m thinking about. Fidgeting and keeping in motion help to mask and distract from all of those observations. It helps me focus.</p><p>I can’t look at someone when they’re talking to me. I have to soften my focus so they become a blur if it’s someone that needs you to look at them while they’re talking, like a boss, or I have to stare out of focus at a wall, or desk, or something else in the area that’s relatively bland in order to listen to what’s actually being said. If I’m looking at you while you’re talking, there’s a very slim chance that I’m actually able to focus on what you’re saying. It had better be pretty damn interesting in order to hold a controlling share of my focus. If I’m looking at someone while they’re talking, I’m hearing what they’re saying, but my focus quickly shifts to the shapes their mouth is making, the individual sounds of the words, that twitchy thing their eye is doing. I’m replaying the sentence they just said over in my head, I’m thinking about my response, I’m thinking about their response to my response, I’m thinking about my response to their response to my response, I’m thinking about what I’m going to have for dinner, I’m deciding if I’m hungry, I’m starting to feel the clothes on my skin, I’m starting to hear background conversations and white noise. It’s difficult. Thankfully, most of the people I interact with in any significant fashion don’t question when I zone out while they’re talking and start staring at the wall or the table. They know I’m listening and that, whatever they’re talking to me about or whatever problem they need me to help with, I’m already thinking about and working on a solution or whatever the next step is. Not everything about ADHD is bad.</p><p>ADHD causes me to be extremely easily distracted, which makes it difficult to start on new projects, or get started back on them once I get stopped. It makes it difficult to not interrupt people’s conversations because I’ve gone off on several other thought processes since they’ve started talking and just remembered/realized something incredibly important and relevant (or not) to the conversation and forgot that they were talking. It makes it difficult to feel normal in social situations because I’m constantly thinking, constantly analyzing, and constantly questioning. I never know what’s “normal”, I don’t know what I should be doing with my hands, or I become acutely aware of the way I’m walking or standing or breathing. I hear and listen to all of the sounds and conversations around me. There’s things in every direction that all attract my attention. It’s difficult.</p><p>Emotions compound the problems. Emotions already are prone to cause excitement, outbursts, distraction, and difficulty thinking. With ADHD, emotions become difficult. Emotions that are already overpowering and all consuming, like when losing a friend or a loved one, become even more overpowering. It’s difficult to think, it’s difficult to focus, it fills your entire mind and it’s incredibly hard to even remember your name, let alone what you’re supposed to be doing or where you’re going or that you’re even driving a vehicle right now.</p><p>Somewhat of an exception that proves the rule, the inattentiveness of ADHD is often paired with an inhumane ability to focus when things are actually able to grab your focus. Once you are able to break through that inattentive barrier and home in on something, everything else ceases to exist. Where you are, what you were doing, your need to eat, sleep, or blink go right out the window. The task you’re doing right now is the only thing that matters. I believe this is the same thing that the overpowering emotions tie into. They cause such a focus on that emotion that everything else doesn’t just get turned to white noise or zoned out, it actually ceases to exist within your mind. It’s kind of scary. I consider this one of the borderline perks of ADHD though. Being able to so intently focus on things sometimes allows you to get some really intense work done in amazingly small time frames. I feel this is something that has helped me as a software developer.</p><p>There are some other aspects I would consider perks too. I think fast, amazingly fast sometimes. I can visualize really well. Many times when I’m debugging a program, I don’t need to run it to find the problem because it’s already executing in my mind. I’m stepping through each line of code and tracking down what variables would hold what value where, determining if that evaluation is going to result in the correct type, figuring out if that value will be null, and identifying the bugs in order to fix them quickly. Because I’m always running multiple trains of thought around in my head, it makes it incredibly easy to jump from one task to another quickly and to keep multiple complex concepts in my head at once. The downside is that simple concepts don’t pique enough interest to be thought about for long. I typically get through my work and solve the problems I’m tasked with solving much faster than my peers. My work usually works with less issues and if issues do occur I’m able to track down, debug, and correct them quickly. The downside is that it often appears as though I’m slacking off, not doing anything, or messing with some toy at my desk. No, my desk is not organized in any way that someone who’s graduated kindergarten would consider organized. Yes, I do have numerous toys and things I dismantle, augment, and tinker with at my desk (nerf guns, and old phone, and a remote controlled robot top the list currently). Yes, this works for me. When I’m turned away from my computer screen, tinkering on something with my hands, I’m focused on the problem I was just trying to solve. I’m doing something that requires my physical focus so that I can target my mental focus better. I need to fidget, I need to tinker, and I need to walk while I talk. Physical activity helps me to stabilize that train yard running through my head so that the proper locomotives get to their destinations at the proper times.</p><p>Another side effect of ADHD is that I confuse people. Often. Ok, constantly. In my mind, conversations never end. Even after we walk away from each other, that conversation is still playing in my head. Over and over on repeat. I’m analyzing what I said, I’m looking up information that I couldn’t think of during the conversation because I was too distracted, and I’m formulating what I’m going to say next in the conversation. It may be weeks between when we last spoke and now, but if I pass you in the hallway I will undoubtedly be reminded of the prior conversation and pick up exactly where we left off with the piece of information I was missing previously. It usually takes people a few seconds to figure out what the hell I’m talking about, and I guess in my mind since the conversation never really ended, it doesn’t make sense why they’re not also still thinking about the same thing. This happens all the time. So much so that those same people that I interact with regularly have come to expect this and kindly wait the first few seconds of each conversation for me to mention something in my explanation that gives them context. It’s one of my quirks.</p><p>To back up briefly, I’m sure some of you are questioning medication. There’s plenty of drugs designed to help with ADHD and focus, so why not take some, right? Well, I did. I took it for about a year, if I’m remembering the time frame correctly. I hated it. When you take the medicine, you don’t forget. You don’t forget how fast you think, you don’t forget how quickly you solve problems, and you don’t forget everything you are capable of noticing. With the medicine, you still remember, but you can’t run at that speed anymore. Your body still wants to. Your mind still wants to. But you are no longer capable of doing so. It feels like being trapped within your own body. You can see out from your eyes, but now everything feels so sluggish. Thinking and solving problems seems to take so long when single threaded. Moving your arms and legs feel heavy and clumsy. You can still see everything you once did, but it takes so much effort to notice them and think about them that it’s exhausting, so you just focus on whatever the task in front of you is. It’s uncomfortable. It’s painful. And it feels like you’re suffocating. You used to be swimming in so much information that it was unbelievably bright, but now you can barely see beyond your face. It feels so dark and cold. You feel like you’re just shambling along in whatever direction you’re pointed at instead of sprinting forward, finding new paths, and thinking for yourself. I hated it, but it was supposed to make me normal. It was supposed to fix my ADHD, to let me focus and not be such a trouble maker. Not stand up in my seat during class. Not interrupt the teachers when they were wrong. Not talk out of turn. Not be me…</p><p>So I stopped taking it, and I learned to cope. Things like emotions and people were the most difficult so I coped with them in different ways. Emotions it seemed easiest to try and distance myself from them a bit. I’m often perceived as cold or emotionless, but I spark up when you’re talking about something interesting or something that is able to grab my attention. Things like feeling happy or sad were difficult to manage because of that whole laser focus thing. When I feel sad, I often feel myself slipping towards depression. I focus in on the sad thoughts and start piling on all of the other sad things that lead to those sad thoughts and it escalates quickly and often without me noticing it. I’ve become better at noticing when that’s happening though and am able to distract myself enough now to begin focusing on something else so it doesn’t get too far. I’m grateful for being able to do that. I feel I have many of my friends and my hormonal imbalance fueled teenage depression to thank for that. Looking back, my teenage depression got dark and deep. I didn’t realize it at the time, but it was bad. I’m surprised my friends stuck with me through it and I’m very much grateful to them for it. I owe them more than I could ever repay.</p><p>Being able to distract myself away from sad thoughts helps sometimes, but it also causes me to lean towards being more logical when thinking about things that should be happy or enjoyable. For example, I don’t care about food. Food is a necessity, not something I enjoy. I honestly do not have an opinion about where I go to eat. I’ll fake an opinion sometimes because caring about what food you eat is the normal thing to do, but in the end it all goes towards keeping me running for another day, just to repeat the process, so what does it matter if I have a hamburger or a taco for lunch. My opinions on movies and many other things are similarly muted. Things aren’t “good” or “bad”, they’re just okay. I like many movies, but I don’t really have a favorite. I can say things like movie X was better than movie Y if I’m tasked with a direct comparison, and have seen them in relative close relation to each other, but neither is clearly the best. There will always be things that balance them out, mute them. Sometimes I’d like to care. I’d really like to be able to say that yes, movie Z was my absolute favorite, but I can’t. I overthink them too much and end the end, they all become a series of various scenes, some better than the others, but as a whole it’s just collectively “okay”. Not having an opinion is difficult.</p><p>Coping with people is a little more difficult. I still don’t much care for social situations, but I enjoy being outside, so it’s a bit of give and take. I typically ignore everyone I possibly can when outside so that I can focus a little better on what I’m doing. I’ll often not see people’s faces even when I’m talking to them. Waiters and cashiers, I’m sorry, but I likely would not recognize you if you came up to me 5 minutes later and said hello. I never saw your face. I saw the wall, I saw my plate, I saw my wallet and the things I was purchasing, but I never saw you. When people are talking and I have to pay attention, I can’t look at them or I’ll become too easily distracted. Instead I’ll stare out into space or at a wall, or put that “hmm” thinking face on so that you know I’m thinking about whatever you’re saying and still listening. It’s not polite, and it’s not ideal, but it’s how I’ve managed to retain any information someone has told me. Often, if after someone says something to me and I don’t hear them, I’ll replay the sounds they made in my head to figure out what words went along with those sounds. It sounds weird, but if you’ve ever done it, you know what I’m talking about.</p><p>ADHD causes me to not be able to enjoy many things because I can’t focus on them. It causes me to look like I don’t care or that I’m not paying attention when I’m actually trying extremely hard to listen and not start counting the hairs sticking out of your nose or the tiles in the floor. I makes it difficult to form opinions on things due to the coping mechanisms that I’ve developed. It makes me overly self critical, it makes me question my sanity sometimes, it makes me wonder if these multiple trains of thoughts are possibly being driven by other conductors. It makes me think too much about how awkward I feel in public. It makes me forget to do things that I really wanted to do. It leaves me surrounded with half finished projects that make me sad to see not completed. It makes communicating with people difficult sometimes because they see me as weird, or scatter brained, or unprofessional. But…</p><p>There are upsides too. I do think extremely fast. I solve problems often before others are capable of comprehending the question. I can find distant relations between two topics or concepts. I can work on things simultaneously without too much degradation on either task. I’m great at understanding how things work. I’m fairly intelligent and always wanting to know more how and why. I can be extremely productive, when the right mood hits. And I think I’m a fairly interesting guy because of it all.</p><p>ADHD isn’t the easiest thing to deal with, but it’s not the hardest either. There are several positives that allow you do do things “normal” people can’t. Many things seem to come easier to you because you’re doing amazing things that you didn’t even realize were amazing. There are definitely downsides, but they’re much easier to manage and maintain. Exercise, physical activities, and the occasional logic puzzle or an enigma toy puzzle are good things to help give you focal points so you can get the thoughts you need to formed. some things of ADHD you can control with tremendous effort. Some things can’t be controlled no matter how badly you want to. Sometimes it’s a struggle and affects you in ways you never realized. I didn’t realize how much of my mannerisms and personality was due to ADHD, and I’m actually a little surprised at it. Learning how much it’s affected my life sort of hit home, and it kind of hurt. It’s not something to be ashamed of or try to hide though. It’s mine and I will live with it. All the best characters have some downsides that bring them back to humanity. ADHD is my super power. It comes with some drawbacks admittedly, but if the choice is between some being a single thread thinking, shackled imagination, point blank focusing zombie or an overclocked, multi threaded thinker with an intensified imagination and mental focus going in every direction a star’s light travels, well, I only have one thing to say…</p><p>Where’s my cape?</p><p><em>Originally published August 28, 2015 at </em><a href="http://blog.sohjsolwin.com/2015/08/my-mind-is-train-yard.html"><em>blog.sohjsolwin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95d369e2643c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Don’t “Attach to Process” from a second Visual Studio window]]></title>
            <link>https://medium.com/@sohjsolwin/dont-attach-to-process-from-a-second-visual-studio-window-dd021fb60c8b?source=rss-ed093789d2f7------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd021fb60c8b</guid>
            <category><![CDATA[visual-studio]]></category>
            <category><![CDATA[microsoft]]></category>
            <dc:creator><![CDATA[sohjsolwin]]></dc:creator>
            <pubDate>Thu, 27 Sep 2018 17:59:44 GMT</pubDate>
            <atom:updated>2018-09-27T17:59:44.375Z</atom:updated>
            <content:encoded><![CDATA[<p>Just don’t.</p><p>I just spent the last few hours debugging an extremely irritating issue with Visual Studio and attempting to attach to my local IIS.</p><p><strong><em>**Edit 9/27/2018**</em></strong> <br>I have since discovered that my findings below were not accurate and were pure happenstance. I’m still not sure what the root issue was, but at least I haven’t had it occur again since.</p><p>First, some context: I use Visual Studio as two windows to make the most use out of two monitors. I have the main VS window, the one with the menu bar and all the buttons, open full screen on the left monitor with a few code tabs in it. On the right/primary monitor, I have a code tab pool window, that I pulled out from the main VS window, set full screen with the solution explorer and a few other tool windows anchored to the side.</p><p>Back to the story. Late yesterday afternoon, while debugging some things on a site running on my local IIS, I noticed that my Visual Studio seemed to lock up when I went to attach to the W3WP.exe process. It’s happened once or twice before, so I force closed VS and tried it again. It worked the next time, so I continued my work and ignored the anomaly for the time being. towards the end of the day, it happened twice more in a row, and since it was already past time to head home for the day, I decided to leave it overnight and see if it was just a slowness issue. If so, I could debug it in the morning and find a way around it.</p><p>Next morning, my VS is still attempting to connect to IIS. I didn’t really expect it to succeed over night, but I expected at least some sort of window complaining that the IIS process was no longer available or something. I killed VS one more time and attempted it again. Same thing, dead locked. I pulled open the Task Manager and ran the “Analyze Wait Chain” option from the context menu and it said that my devenv.exe was currently stuck waiting on Network I/O. So I decided to disable my network adapter and try it again. That way, any network request would fail and it would hopefully attach right away. I’m not sure why it would be attempting any network requests while attaching to a process, but it seemed like something to try.</p><p>I opened the Network and Sharing Center from the little notification pool, went to the adapter settings, disabled it, and then left that screen open while I went to the other Visual Studio window to attempt attaching again,, selecting the process to attach to, acknowledging I selected the right one, OK, OK, OK, just let me attach. This time, it worked without a problem. Queue the confused frustration. I killed the debugging, re-enabled the adapter, went back to Visual Studio, and attempted to attach again. Nope. Frozen again. I repeated this at least half a dozen more times, same result every time.</p><p>Did you spot the problem? I’ll give you a hint: New windows typically open on the primary monitor.</p><p>As part of my testing, I fell victim to the red herring of the Wait Chain Analysis. I believed Windows when it said the network IO is what was causing Visual Studio to hang. And my testing seemed to back that up. Disabling the adapter allowed it to connect, re-enabling it caused it to lock up again. I had no idea what caused that to happen, or even how or why they would be related, but all my testing seemed to validate that theory.</p><p>I started gathering some logs and decided to close out my secondary Visual Studio window so I could keep track of everything I had open better. This time, every test succeeded, network adapter or not. I noticed two things that ultimately helped me figure it out: the “are you sure” dialog never came open when the attach attempt failed, and the secondary window would reload in order to add in the debugging tool frames into the window.</p><p>Using these two observations, I had a crazy thought: What if the secondary window reload is loading over the dialog? If seemed insane that that would happen, or that that could even still be an issue in modern applications, so I tested. I left the network adapter enabled and attempted to attach while the main VS window was active. Success. Next, I resized the secondary VS window to be very small and tried it again. No “are you sure” dialog, and the lockup still happened. Somehow, the secondary window must be causing the issue.</p><p>I next tested several combinations of opening windows, minimizing, closing, attaching, detaching, rebooting, updating, etc, etc. In the end, it seems that a secondary Visual Studio window does not play nice with dialogs. Every time I initiates the attach from the main VS window, it would connected without a problem. No matter what I did when attempting to initiate an attach from a secondary VS window, it would always lock up.</p><p>I have no idea why this is a thing, why Visual Studio can’t properly handle two windows being open, or why dialogs still break things in such interesting and imaginative ways.</p><p>It’s frustrating. It’s confusing. It shouldn’t have happened. In the future, if you ever need to attach to a process from Visual Studio, save yourself this headache and double check that you have the main VS window active.</p><p><em>Originally published March 29, 2017 at </em><a href="http://blog.sohjsolwin.com/2017/03/dont-attach-to-process-from-second.html"><em>blog.sohjsolwin.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd021fb60c8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>