<?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 Jocelyn Keung on Medium]]></title>
        <description><![CDATA[Stories by Jocelyn Keung on Medium]]></description>
        <link>https://medium.com/@jkeung?source=rss-d5e0a2265cd5------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*e98SuiCpxqPKKjssu2G3ew.jpeg</url>
            <title>Stories by Jocelyn Keung on Medium</title>
            <link>https://medium.com/@jkeung?source=rss-d5e0a2265cd5------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 12:55:54 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jkeung/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[You might be excluding your most innovative voices]]></title>
            <link>https://medium.com/building-honor/you-might-be-excluding-your-most-innovative-voices-a6ef8fc18bd8?source=rss-d5e0a2265cd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6ef8fc18bd8</guid>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[engineering-mangement]]></category>
            <dc:creator><![CDATA[Jocelyn Keung]]></dc:creator>
            <pubDate>Tue, 18 Jun 2024 17:58:48 GMT</pubDate>
            <atom:updated>2024-06-18T17:58:48.732Z</atom:updated>
            <content:encoded><![CDATA[<h3>You might be excluding your most innovative voices: why engineers are critical in product discovery</h3><p>My team’s mission for the last year has been to reimagine one of <a href="https://www.honorcare.com/">Honor’s</a> core pillars — matching the right caregivers with our clients, which will lead to the best outcomes. We took five consecutive swings at the problem, each uncovering new insights and inching us closer to our goal. Through a mix of rapid prototyping and fully productionized features, we’ve appreciably changed the trajectory of our client and business outcomes for the better.</p><p>Our year of building, discarding, iterating, and falling in love with the problem has culminated in a new operations tool that one of our long-tenured engineering leaders has designated “one of the most innovative products we’ve built over Honor’s 10-year existence.” I’m proud of what we’ve delivered (even the products we scrapped!). Yet, the most significant outcome has been developing our cross-functional team’s muscle around product discovery and delivery that we can apply to any future challenge.</p><p>The secret sauce? The determinant was inviting engineers into the early phases of discovery and ideation.</p><p>A common practice in software development is having the product manager and designer liaise with customers and stakeholders. While the engineers work on project A, the product manager and designer scope out project B. At some point, the product manager drafts a requirements document and socializes it with a designated engineer (tech lead). If we’re lucky, the requirements document isn’t already opinionated about a specific solution. The tech lead and product manager clarify and negotiate requirements, the tech lead drafts a solution, and the team participates in a project kickoff that includes requirements, the solution, and mocks. Cue grooming, plan it poker, etc.</p><p>Sound familiar? I’ve been an engineer on teams that implemented that process. I even perpetuated that method when I first stepped into management. The metrics by which engineering was held accountable (namely velocity, which is expected to increase over time) led to this implicit pressure to maximize the raw output of every engineer. In other words, let’s optimize the “hands on keyboard” time for engineers by minimizing the “disruption” that is product discovery time.</p><p>While this approach isn’t necessarily incorrect, it risks underutilizing your engineers’ abilities and is likely leading to inferior products that take longer to build. Instead, I suggest:</p><ul><li>Avoid committing to solutions in a silo</li><li>Engineers should observe and interact with customers</li><li>The desired outcome and any constraints need to be clear</li></ul><p><strong>Avoid committing to solutions in a silo</strong></p><p>Engineers have an indispensable perspective because they understand how much it costs to build something, how features work, and what is possible. Without having engineers in the room alongside product and design, I’ve seen low-cost, high-return investments overlooked. The opposite is also true — engineers are pitched complex solutions that lead to sticker shock at the estimate, which wastes more time because then we backtrack to come up with solutions together.</p><p>When possible, resist the urge to have part of the team work ahead of the rest. I’ve found that the time saved by the engineers that are not included is an illusion. At best, you pay the cost later to catch them up. At worst, the excluded engineers have an even better idea, and you’ve wasted additional time getting attached to the original idea.</p><p><strong>Engineers should observe and interact with customers</strong></p><p>Ensuring the team has regular visibility into the customer’s experience with the product is non-negotiable, especially when you are building and testing a new concept. Within our team, our designer and product manager met daily with at least one customer to observe them using the product. The daily cadence was important because we were shipping updates multiple times a week in response to what we were learning in our shadowing sessions, but I’d expect a weekly or bi-weekly cadence to be appropriate for other teams. Depending on the project phase, engineers either join the call and engage with customers directly or watch the recording after the fact.</p><p>Face time with customers has been hugely motivating for the engineering team as well as our customers. We’ve been able to develop deep trust with them due to our short feedback-to-delivery cycles and make them feel heard. It’s a lot easier to be successful when your customers want to help you succeed.</p><p>It’s important to note that while customer feedback is gold, what they ask for may not be the best solution or address the underlying problem. Being able to observe and probe in real-time allows the team to discover the true problems to solve far better than a requirements document.</p><p><strong>The desired outcome and any constraints need to be clear</strong></p><blockquote><em>“The main thing is to keep the main thing the main thing” <br> <br>— Stephen Covey</em></blockquote><p>The last puzzle piece is aligning the team on a specific outcome to achieve. In our case, we had a two-part mission: 1) build a new product that moved a specific metric down while keeping control metrics stable in two test markets, and 2) scale the product to the entire platform by Q3 2024.</p><p>These guidelines were freeing in their own way; we had the green light to give our test markets our full attention and had clear success indicators with the metrics. We identified the right customers and stakeholders to partner with who were on board with trying something unproven. This allowed us to ship code rapidly in the first phase to learn and test our hypotheses without slowing down for typical engineering tenets like automated tests and clean code. We were strictly in experimental mode and prepared to throw everything away once we knew what worked. We started from scratch again in January, equipped with rich customer and product insights.</p><p>As a manager, one of my most important responsibilities is ensuring the team understands business goals and where our team falls in the big picture. This context allows the team to make strategic tradeoffs that affect which solution we ultimately implement. Everyone knows we want to deliver business value as quickly as possible, but knowledge about what product offerings the company wants to double down on in the future can sway where optimize for speed and where we build for longevity.</p><p>I’ll end with this quote from Marty Cagan, a product thought leader who advocates for <a href="https://www.svpg.com/the-most-important-thing/">engineering-led organizations</a>.</p><blockquote><strong>I’m not suggesting that you put your engineers on a pedestal. They are ordinary people like the rest of us. But I am suggesting that you treat them like the first-class members of the product teams they need to be.</strong></blockquote><p>Will you invite us in?</p><p><em>Jocelyn Keung is a senior engineering manager at Honor, a healthtech startup working to improve in-home care. Are you interested in changing the aging experience with us? Browse open positions on our </em><a href="https://www.honorcare.com/honor-careers/"><em>job board</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6ef8fc18bd8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/building-honor/you-might-be-excluding-your-most-innovative-voices-a6ef8fc18bd8">You might be excluding your most innovative voices</a> was originally published in <a href="https://medium.com/building-honor">Building Honor</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A homegrown (free) PagerDuty/Google Sheets/Slack integration]]></title>
            <link>https://medium.com/@jkeung/a-homegrown-free-pagerduty-google-sheets-slack-integration-c93b9cc6f52d?source=rss-d5e0a2265cd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/c93b9cc6f52d</guid>
            <category><![CDATA[pagerduty]]></category>
            <category><![CDATA[on-call]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[google-apps-script]]></category>
            <category><![CDATA[slack-tips-and-tricks]]></category>
            <dc:creator><![CDATA[Jocelyn Keung]]></dc:creator>
            <pubDate>Fri, 18 Feb 2022 20:11:20 GMT</pubDate>
            <atom:updated>2022-02-18T20:11:20.549Z</atom:updated>
            <content:encoded><![CDATA[<p>One example of automating dynamic Slack messages in the context of communicating PagerDuty on-call rotations.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DBC-0uWfuD4n1FAslCoFNA.jpeg" /><figcaption>Honor product team with some of our clients</figcaption></figure><p>Our engineering team at <a href="https://www.joinhonor.com/">Honor</a> serves in weeklong on-call rotations, and we wanted to help streamline the weekly handoff between engineers. We use PagerDuty to manage the on-call scheduling, send incident-related notifications, and track the status of incidents, but our team relies heavily on Slack for real-time communication and collaboration.</p><p>At Honor, we build software that enables and improves in-home care for the elderly and other vulnerable populations. Having a strong on-call support process is critical to serving our client base well.</p><p><strong>I was curious if I could create a notification that satisfies the following:</strong></p><ul><li>Viewable by all within a private team Slack channel (in this case, our full engineering team)</li><li>Includes real-time data from PagerDuty on both our current on-call team and upcoming roster</li><li>Configurable in terms of the content, timing, and cadence</li><li>Free</li><li>Built only using reputable and well-maintained tools and services (e.g. not trying to be hacky with web scraping)</li><li>Not requiring subscriptions to new services</li></ul><p><em>Spoiler alert: Yes. A guide is below.</em></p><p><strong>What about the PagerDuty Slack app?</strong></p><p>PagerDuty supports a fairly robust <a href="https://support.pagerduty.com/docs/slack-integration-guide">Slack integration</a> that we utilize but does not provide a good way to see both the current and upcoming on-call teams in Slack. The /pd oncall PagerDuty Slack app command indicates only the <em>current</em> on-call engineers within a <em>private</em> message to the invoker and thus does not help us achieve our goal.</p><p><strong>What about other free or paid services?</strong></p><p>I found a managed service, <a href="https://tellspin.app/">TellSpin</a>, that seemed promising but pricey at $250 USD per month for our initial use case. That’s a lot to see a few engineers’ names pop up in Slack each week, but perhaps worth future consideration if we desire a more robust integration.</p><p>A <a href="https://medium.com/in-the-weeds/round-robin-rotating-responsibilities-responsibly-f4a9b44e174c">free and creative solution</a> to a similar problem by a Greenhouse engineer had a lot of good nuggets, but I wanted to avoid the manual step of adding people to the rotation within Slack. I wanted to have a single source of truth, PagerDuty, for managing the on-call rotation in order to keep the notifications accurate.</p><p><a href="https://zapier.com/apps/google-sheets/integrations/pagerduty">Zapier</a>, <a href="https://pipedream.com/apps/pagerduty/integrations/google-sheets">pipedream</a>, and <a href="https://automate.io/integration/google-sheets/pagerduty">automate.io</a> were other options for a Google Sheets and PagerDuty integration on a tiered pricing model. Zapier’s and pipedream’s integration exist today while automate.io’s integration is forthcoming. Since they only handle pulling data into Google Sheets and PagerDuty already has a robust API, I decided to try a homegrown solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/767/1*OItRgne_8HKO5xgXLrsZYQ.png" /><figcaption>Screenshot from automate.io as of Feb 17, 2022</figcaption></figure><p><strong>A hypothetical solution</strong></p><p>I planned to use PagerDuty’s API to pull on-call data into Google Sheets, and then find a way to dynamically pull data from the sheet into Slack using reminders or a Slack app. Our organization already uses Google Workspaces, so this felt like a relatively simple solution.</p><p><strong>Getting started with the PagerDuty API</strong></p><p>PagerDuty provides support for developers via <a href="https://developer.pagerduty.com/docs/ZG9jOjQ2NDA2-introduction">REST and Events API’s</a> in addition to supporting webhook integrations. Their documentation was clear and the first step was to generate an API key within PagerDuty.</p><p>I initially created a personal API key under my user profile settings but ended up needing to create a global API key under my organization’s account in order to pull the appropriate data. If your organization has advanced permissions enabled, your personal account might have limited data access which will carry over to API requests using your personal token. [<a href="https://support.pagerduty.com/docs/advanced-permissions">More info</a>]</p><p>My only complaint about the <a href="https://developer.pagerduty.com/docs/ZG9jOjQ2NDA2-introduction">developer portal</a> was that I couldn’t easily locate the list of <a href="https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2Mw-list-all-of-the-on-calls">specific endpoint definitions</a> on that page. Maybe just a me problem but I’ve linked it here to make your life easier ¯\_(ツ)_/¯.</p><p>Organization-wide API keys can be created under Integrations &gt; API Access Keys. Note that you can specify read-only access to the API key.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/783/1*8jE7KxRHmcod9j7cTTPP2Q.png" /></figure><p><strong>Invoking an API using Google Sheets</strong></p><p>Create or open a Google Sheet that will house the dynamic data that will appear in Slack. Name the relevant tab Data (or anything else as long as you remember to update the code). In cell A1 enter the column header List, and in cell B1 enter the column header Pull From. Under the Extensions tab, select Apps Script which will open a new tab at script.google.com and link the script to the Sheet.</p><p>In the code editor view, paste the following:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e050da78817a2fd8d9a50619f037bb76/href">https://medium.com/media/e050da78817a2fd8d9a50619f037bb76/href</a></iframe><p>At the top of the file, replace the placeholder text in the Config object with your API key.</p><p>Save the file using the save icon or a keyboard shortcut. This was my first time using Google Apps Script and I was impressed with the code editor. Keyboard shortcuts for commenting code and formatting are supported. You can easily test the code by selecting the main function in the dropdown next to Debug and hitting Run. A console will open indicating any errors or signaling a successful run. You can add Logger.log() and pass variables to assist with debugging. There is also a tab on the left side menu item, Executions, to view historical run attempts and results.</p><p>To make the Slack automation simpler, I decided to output a pre-formatted string with lists of current and upcoming on-call engineers. The script should output a single row with two values each time it is run. The second value is static and indicates to our Slack automation that the row has not been consumed yet.</p><p>Shoutout to <a href="https://medium.com/u/1073eada9481">Nehal Shah</a> for a base <a href="https://github.com/nehalium/google-apps-pagerduty-script">script</a> that I pulled some code from.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/528/1*ETeBziGnhHc3WQ0QNLwAsQ.png" /><figcaption>Sample output to the Sheet</figcaption></figure><p><strong>Summary of the code</strong></p><ul><li>main() is our core function that actually makes the API calls and pushes the data to the Sheet</li><li>We have four teams that each have one on-call engineer each week, which corresponds to four different schedules in PagerDuty. Schedule ID is a param for the on-call endpoint and I have these hardcoded for now. If these end up changing often, we could utilize another endpoint to search for schedules and pull the IDs dynamically, but I didn’t feel like over-engineering this right now</li><li>First, pull the on-call team at the current moment. I scheduled the trigger to run before the on-call shift change occurs in PagerDuty, so this should safely be the most recent on-call team</li><li>Second, pull the on-call team for tomorrow (on our scheduling, this is safely the on-call team that will begin their shift later today)</li><li>The PagerDuty API returns a lot of data, so we map it to just the engineers’ names and concatenate the lists into a nice human-friendly text string</li><li>We then push the text string to the specified Google Sheet. Since we linked to Apps Scripts from the Sheet directly, there is a formal link that we can reference via SpreadsheetApp.getActiveSpreadsheet()</li><li>There are some util functions for specific formatting related to the PagerDuty <a href="https://developer.pagerduty.com/api-reference/b3A6Mjc0ODE2Mw-list-all-of-the-on-calls">API spec</a></li></ul><p><strong>Create a trigger for the Apps Script</strong></p><p>Now that we can access the on-call data via the PagerDuty API and insert it into our Sheet, we want to schedule this service call on a recurring basis. Our on-call handoffs occur weekly on Monday mornings, so I want my script to run an hour or two before this occurs and the Slack notification is generated. I want to keep it close to the handoff window to minimize the risk of a last-minute shift change getting missed (assuming engineers should coordinate necessary changes more than a few hours to their shift commencing).</p><p>Within Apps Scripts navigate to the Triggers tab on the left and create a new trigger.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/708/1*wRLkvKQZ6H9vsgucVIeOeg.png" /></figure><p><strong>Enabling Google Sheets for Workflow Builder</strong></p><p>Within Slack, search for the Google Sheets for Workflow Builder <a href="https://slack.com/app-pages/google-sheets">app</a> and add it. <a href="https://slack.com/help/articles/360035692513-Guide-to-Workflow-Builder">Workflow Builder</a> is a no-code automation tool within Slack that can execute different steps based on configured triggers. The Google Sheets integration enables reading, writing, and deleting of Sheets data from Slack.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/318/1*GB2Md-Wm4HiYfAJJIdujLw.png" /></figure><p><strong>Building a Slack Workflow</strong></p><p>From the main Slack workspace menu dropdown, navigate to Tools &gt; Workflow Builder and create a new Workflow. Specify the trigger for the workflow. In this case, I want a recurring workflow that occurs at a specific time on the same day every week, which is when the on-call handoff occurs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/518/1*vw6jkQWf-IwNuqW78PC4zw.png" /></figure><p>Next, add another step to the workflow and locate the Select a spreadsheet row action.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/1*GuZOy4kzhUtFVXHpA4Zk0g.png" /></figure><p>Specify the name of the Sheet, the specific tab (mine is named Data), and the column to match on. In this case, we want to match on the first row where Pull From has a value of 1. When the data is inserted, we default the value to 1 and when it is read into Slack we will update the value to 0. This enables us to pull the latest data (assuming previous weeks ran successfully end-to-end).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/522/1*WKI5YIe7khp4pYGE1ErHIA.png" /></figure><p>Add another step to the workflow and select the action Send a message.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/778/1*_HPr8INaAgL1-s8JGxwR0Q.png" /></figure><p>Specify the channel that the message will be sent to and the message text. Since our Apps Script generates a pre-formatted message, we will just display the value as is from our data Sheet. My main data column is called List and I’ll select it via the Insert a variable option.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*YtA6pHqjpqDiiE7qPptB3A.png" /></figure><p>Lastly, add a new step to the workflow that will update a spreadsheet row. This is where we will update the Pull From value to 0 so that we don’t pull the same row the following week. Another option is to delete the row and simplify the workflow. Specify the appropriate column names and values and save this last step of the workflow.</p><p>Publish the workflow to enable it. The Publish button is visible once you click on the workflow name.</p><p>We did it, fam. I ran a test to a private DM and now I’m sitting back hoping that my automated blast on Monday next week is accurate and useful to the team. If you want to see this for yourself, <a href="https://www.joinhonor.com/careers">we’re hiring</a> :).</p><p>This was my first foray into dynamic Slack automation using an external data source, and I can see a lot of other use cases that I hope to try out over time.</p><p>Thanks for reading!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c93b9cc6f52d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Connecting to public Wi-Fi when the connection portal refuses to load]]></title>
            <link>https://medium.com/@jkeung/connecting-to-public-wi-fi-when-the-connection-portal-refuses-to-load-da900ddb4336?source=rss-d5e0a2265cd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/da900ddb4336</guid>
            <category><![CDATA[tutorial]]></category>
            <category><![CDATA[wifi]]></category>
            <category><![CDATA[tips]]></category>
            <dc:creator><![CDATA[Jocelyn Keung]]></dc:creator>
            <pubDate>Fri, 08 Feb 2019 03:45:39 GMT</pubDate>
            <atom:updated>2019-02-08T03:46:03.520Z</atom:updated>
            <content:encoded><![CDATA[<h4>aka how to live your life as a coffee shop nomad</h4><p>You know when you try to connect to public Wi-Fi and you have to agree to terms &amp; conditions or perform another action prior to connecting? Generally you’ll receive a popup dialog or be routed to a confirmation page when you try and navigate to a site in your browser. What happens when the popup fails to load?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*jBp4uoxpBzwZTl1_" /><figcaption>Photo by <a href="https://unsplash.com/@nate_dumlao?utm_source=medium&amp;utm_medium=referral">Nathan Dumlao</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I don’t typically drink a lot of coffee, but I’ve been having a lot of meetings with potential business partners and coffee shops are a convenient neutral meeting location. Today was particularly crazy; I split my work day between three different locations, which meant three different Wi-Fi connections.</p><p>As an IT consultant, I carry two different laptops with me and I have both a PC and a Macbook. They’re both company-issued machines, which might be one of the reasons I’ve had so many issues connecting to public Wi-Fi. In any case, I’ve encountered problems on both laptops and today I finally found a solution that worked for both platforms.</p><h4>Mac OS</h4><p>Open System Preferences (CMD + SPACE) and click on Network preferences. In the bottom right of the preferences pane, you should see a button with the text “Advanced…”. If you click this, you should see a list of Wi-Fi networks that you’ve previously connected to (assuming you have the ‘Remember networks this computer has joined’ checkbox selected). You should be on the Wi-Fi tab.</p><p>Click on the network you are trying to join and it should be highlighted. Switch tabs to TCP/IP and you should see a label for IPv4 Address. An example value is 192.168.137.34</p><p>Enter this IP address in a browser (including the dots), and it should navigate you to the confirmation dialog or screen that you need to join the network!</p><h4>Windows</h4><p>In the Windows taskbar, click on the network icon to view the list of available Wi-Fi networks to join. Click once on the network you want to join (after entering any necessary credentials), and you should see a ‘Properties’ link. Click ‘Properties’ and you should see a field called IPv4 Address. Enter the IP address into a browser and it should navigate you to the appropriate confirmation dialog to join the network.</p><p>(caveat) I only tested this on Windows 10, not sure if the interface is different for other versions. I imagine the process is similar to locate the IP address.</p><p><strong>An aside on Internet Explorer</strong></p><p>I tried to navigate to a site before performing the above steps in both Google Chrome and Windows Edge, and both would not let me proceed due to lack of expected security certificates. I was curious if Internet Explorer would have less stringent security constraints; sure enough, I was able to click through to the security warning and load the screen to join the network.</p><h4>Still having trouble?</h4><p>You can try some of the suggested tips here: <a href="https://zapier.com/blog/open-wifi-login-page/">https://zapier.com/blog/open-wifi-login-page/</a> (one of the first results when googling for public Wi-Fi connection issues). Or just quit and hotspot from your mobile device, which I’ve done many times when in a rush.</p><h4>A note on public Wi-Fi security</h4><p>Once I successfully connect, the first thing I do is set up a VPN for an extra layer of security. My company uses Cisco AnyConnect Secure Mobility Client. I haven’t looked into other options, but pick one that works for you, especially if you’re doing anything potentially sensitive.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da900ddb4336" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Integrating Google Maps API w/ Angular 7+]]></title>
            <link>https://medium.com/@jkeung/integrating-google-maps-api-w-angular-7-e7672396ce2d?source=rss-d5e0a2265cd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/e7672396ce2d</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[angular]]></category>
            <category><![CDATA[google-maps-api]]></category>
            <category><![CDATA[google-maps]]></category>
            <dc:creator><![CDATA[Jocelyn Keung]]></dc:creator>
            <pubDate>Thu, 07 Feb 2019 17:53:35 GMT</pubDate>
            <atom:updated>2020-07-22T13:16:30.422Z</atom:updated>
            <content:encoded><![CDATA[<h4>A bare-bones implementation</h4><p>This tutorial is based on a <a href="https://medium.com/@balramchavan/integrating-google-maps-in-angular-5-ca5f68009f29">good article</a> by Balram Chavan, with some additional details!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qYUvh-EtES8dtgKiBRiLsA.png" /></figure><h4>Step 1: Request an API key from Google</h4><p>Detailed steps at <a href="https://developers.google.com/maps/documentation/javascript/get-api-key">https://developers.google.com/maps/documentation/javascript/get-api-key</a>. Note that you’ll need to enter payment information, but there are plenty of ways to use the API for free! For this tutorial, I won’t get into the specifics of authentication and API key restrictions.</p><h4>Step 2: Create a new Angular project</h4><p>If you have the <a href="https://cli.angular.io/">Angular CLI</a> and the <a href="https://angular.io/guide/quickstart">pre-requisites</a> for developing Angular apps installed, simply run</p><pre>ng new ng-gmaps</pre><p>in a command prompt to create a new project. In this case, my project will be called ng-gmaps. The Angular CLI is a very powerful tool that can streamline updates between Angular versions, create new projects, and easily add components and services to your project (among many other functions).</p><h4>Step 3: Install Google Maps types for typescript support</h4><p>In your project directory, run</p><pre>npm install --save @types/googlemaps</pre><p>This package imports the TypeScript type definitions for the Google Maps Javascript API and allows for strong types and intellisense in your IDE (if supported).</p><h4>Step 4: Link to the Google Maps JavaScript file</h4><p>Open the index.html file and add in the following script tag within the &lt;body&gt;&lt;/body&gt; section. Replace API-KEY with the API key you procured in step 1. I added it below the &lt;app-root&gt;&lt;/app-root&gt; tag, not sure if the order matters.</p><pre>&lt;script src=&quot;http://maps.googleapis.com/maps/api/js?key=API-KEY&quot;&gt;&lt;/script&gt;</pre><h4>Step 5: Add the HTML element to house the map</h4><p>For simplicity, you can add this to your AppComponent, but this will also work in sub components. In app.component.html, add</p><pre>&lt;div #map style=&quot;width:100%;height:400px&quot;&gt;&lt;/div&gt;</pre><h4>Step 6: Import the Google Map types into component</h4><p>In the component file where you placed the map placeholder element (in this case, app.component.ts), we need to import the Google Map TypeScript definitions. At the top of app.component.ts, I’ll add</p><pre>import {} from &#39;googlemaps&#39;;</pre><p>At this point, if you run your application using</p><pre>ng serve</pre><p>you’ll probably see an error like</p><pre>@types/googlemaps/index.d.ts is not a module</pre><p>Oh no! Red squigglies! Don’t fret, just create a file called index.d.ts directly within your src directory and add the following line</p><pre>declare module &#39;googlemaps&#39;;</pre><p>If you’re still seeing the error, try restarting the application using ng serve.</p><h4>Step 7: Initialize the map</h4><p>Still working within the component file, let’s initialize the map within the OnInit lifecycle hook. Add two variables within your component</p><pre>@ViewChild(&#39;map&#39;) mapElement: any;<br>map: google.maps.Map;</pre><p>Note that the variable name in the ViewChild annotation needs to match whatever # variable declaration you put in your HTML (in this example, we called it ‘map’). You will also need to import ViewChild</p><pre>import { ViewChild } from &#39;@angular/core&#39;;</pre><p>ViewChild creates a reference to the HTML element containing the map. Make sure your component implements the OnInit interface and add the following method</p><pre>ngOnInit(): void {<br>   const mapProperties = {<br>        center: new google.maps.LatLng(35.2271, -80.8431),<br>        zoom: 15,<br>        mapTypeId: google.maps.MapTypeId.ROADMAP<br>   };<br>   this.map = new google.maps.Map(this.mapElement.nativeElement,    mapProperties);<br>}</pre><p>This map will center on Charlotte, NC, and should come with some built-in zoom and navigation controls.</p><h4>Step 8: Run the application</h4><p>Start the application! Run command</p><pre>ng serve</pre><p>Do you see a map? I hope this was helpful!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e7672396ce2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google I/O 2018: What’s new in Angular]]></title>
            <link>https://medium.com/@jkeung/google-i-o-2018-whats-new-in-angular-611cc21befcf?source=rss-d5e0a2265cd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/611cc21befcf</guid>
            <category><![CDATA[google-io-2018]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[angular]]></category>
            <dc:creator><![CDATA[Jocelyn Keung]]></dc:creator>
            <pubDate>Thu, 17 May 2018 02:35:09 GMT</pubDate>
            <atom:updated>2018-05-17T02:35:09.374Z</atom:updated>
            <content:encoded><![CDATA[<h4>Streamlined updates, smaller bundles, faster app loads, v6.0.0</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/288/1*_kMsSSxx8ETmsGKFqqlY3w.png" /></figure><p>With the recent <a href="https://blog.angular.io/version-6-of-angular-now-available-cc56b0efa7a4">release of Angular v6</a> in early May, the Angular team had many promising updates to share at Google’s recent I/O conference. Keep reading for a summary or <a href="https://www.youtube.com/watch?v=jnp_ny4SOQE">watch the session</a>.</p><p><strong>The Angular community is growing rapidly</strong></p><p>Although the Angular team is unable to provide a metric for the number of Angular applications, documentation traffic over a 30-day period has surpassed 1.25 million active users this year. A few high-profile users were given a shout out:</p><ul><li><a href="https://www.grubhub.com/">Grubhub</a>, a food delivery app with a user-centric interface</li><li><a href="https://sg.allianzgi.com/en/financial-advisor/our-firm-and-products">Allianz Fund Universe</a>, a banking app</li><li><a href="https://www.forbes.com/#c9ab9802254c">Forbes</a>, an engaging media platform and collaborator on the <a href="https://universal.angular.io/">Angular Universal</a> project</li></ul><p>and, of course, <strong>Google</strong>, which has over 600 apps and projects that utilize Angular. Of note, these apps are used to validate any Angular changes internally.</p><p>One driving force behind the wide adoption of Angular is the robust, global network of meet ups and conferences. Looking for a community near you? Visit <a href="http://angular.meetup.com/"><strong>angular.meetup.com</strong></a></p><p>The team took a moment to acknowledge two successful events at the intersection of Angular and increasing diversity in tech: <a href="http://ng-atl.org/"><strong>ngATL</strong></a> and <a href="http://ng-girls.org/"><strong>ngGirls</strong></a>.</p><p><strong>Angular partnerships and tooling</strong></p><p>Angular is closely integrated with <a href="https://webpack.js.org/">webpack</a> (module bundler), <a href="http://reactivex.io/rxjs/">RxJS</a> (reactive programming), <a href="https://stackblitz.com/">StackBlitz</a> (web IDE), and <a href="https://www.nativescript.org/">NativeScript</a> (build apps using JavaScript and TypeScript but render to Android and iOS) and maintains partnerships with each of these teams. One cool feature of StackBlitz is that it handles npm dependencies and can quickly start Angular applications that utilize the Angular CLI.</p><p>The team gave a brief overview of some of the popular tools and mentioned a few updates:</p><ul><li>Router</li><li>HTTP Client</li><li>Forms</li><li>Animations</li><li>Karma/Jasmine (improve unit and end-to-end testing)</li><li>Internationalization (utilize the i18n attribute to easily generate an industry-standard translation file)</li><li>Language service (help the IDE pull in component properties and catch errors in template code)</li><li>Angular Universal (improve server-side rendering, which can improve perceived load performance due to hidden bootstrapping)</li><li>Material Design &amp; Component Dev Kit (many companies create their own component libraries, CDK can help streamline library development)</li><li>Angular CLI (automate and accelerate development)</li></ul><p><strong>Schematics</strong></p><p>Angular Schematics allow execution of any code, such as when you run the <strong>ng generate</strong> command to add a component via the Angular CLI. In addition to adding new code (template, component files, test spec file), schematics modify existing code (updates the module to include the new component).</p><p><strong>Angular CLI commands</strong></p><ul><li><strong>ng serve</strong> starts a live development server that refreshes as you write new code</li><li><strong>ng build</strong> consolidates the app to make it distributable and reusable</li><li><strong>ng generate</strong> create components, routes, pipes, and services</li><li><strong>ng new</strong> create a app complete with best-practices and tests</li></ul><p>New features:</p><ul><li>Can create an ng generate command to query back end server, examine the API, and create a local service</li><li><strong>ng update</strong> <strong>&lt;package name&gt;</strong> via schematics, updates the package and all of its dependencies to the appropriate versions</li><li><strong>ng add &lt;package name&gt;</strong> download and install package from npm</li><li><strong>ng generate library</strong> creates a library</li></ul><p><strong>Angular Elements</strong></p><p>Version 6 comes with the first version of <a href="https://angular.io/guide/elements"><strong>Angular Elements</strong></a>, which allows components to be packaged as a <a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements">custom element</a> and bootstrapped in the browser. The custom element is framework agnostic and extends HTML by defining a tag that has content created and controlled by JavaScript.</p><p><strong>Ivy: A new render process</strong></p><p>The second half of the session, led by <a href="https://twitter.com/karaforthewin?lang=en">Kara Erickson</a>, focused on a rewrite of the render process called Ivy. The render mechanism translates template code into what is visible in the browser.</p><p>Ivy is an ambitious, but highly beneficial, effort. The main goals are:</p><ul><li><strong>minimize bundle sizes</strong> (which will minimize cost)</li><li><strong>increase start up speed</strong></li><li><strong>simplify apps</strong></li><li><strong>full backwards compatibility</strong></li></ul><p>Baseline testing of Ivy has yielded a size reduction of 93% and a load time reduction of 45% for a simple Hello World application.</p><p>Sound enticing? Unfortunately, Ivy is still in early development stages. However, an <strong>opt-in preview</strong> is promised “in the coming months”.</p><p><strong>Technical summary of the current render process</strong></p><p>The current render pipeline has four steps: template code is parsed into optimized JavaScript code, which is then passed into the Angular Interpreter at run time. The Interpreter determines what operations to run to generate the DOM and the DOM is generated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-OK_ut7qQhzS4zh4B14HoA.png" /><figcaption>Current render pipeline (v4-v6)</figcaption></figure><p>The main pitfall of the current process is that the Angular Interpreter relies on a lot of conditional logic, which means the code cannot by optimized well by tree shaking tools.</p><p><strong>What is tree shaking?</strong></p><p><a href="https://webpack.js.org/guides/tree-shaking/">Tree shaking</a> is a build optimization step to remove unused code. Most tools rely on static analysis, which means that code is analyzed without running the code and thus, the efficacy is limited. Tree shakers are conservative in order to preserve app functionality; unused code that is wrapped within a conditional statement will usually not be removed by tree shaking tools.</p><p><strong>A new render strategy</strong></p><p>Ivy reduces the number of steps in the render pipeline. Rather than parsing template code and then passing the code to the interpreter, DOM instructions are generated directly from the template code. This process greatly reduces the number of conditionals, which makes the tree shaking process more efficient at reducing bundle size. This strategy has been applied to many Angular features, such as structural directives, lifecycle hooks, pipes, listeners, and dependency injection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*irl8H8t5ghWg9TU8qQ8v6Q.png" /><figcaption>Ivy render pipeline</figcaption></figure><p>In addition, Ivy improves the <strong>code splitting</strong> process. Code splitting is the practice of splitting application code into chucks to allow <strong>lazy loading</strong> (i.e. only load what you need to, when you need to).</p><blockquote>“Tree shaking tools will remove code that you’re not using anywhere in your application. Code splitting tools will remove code that you’re not using right now, in this route.”</blockquote><p><strong>Streamlined development</strong></p><p>Ivy strives to improve rebuild speed during development by allowing components to be compiled independently of other components. By adopting the principle of <strong>locality</strong>, in which components are compiled using its own classes and annotations, Ivy achieves <strong>incrementality</strong> — “build time is proportional to the size of the change, not the size of the application.”</p><p>The new render process is front-heavy and aims to do most of the processing at compile time rather than at run time. DOM instructions generated during the first step of the render process are greatly simplified, which also results in less clutter when debugging apps.</p><p><strong>Conclusion</strong></p><p>From these updates, it is clear that the team is focused on improving the update process and bettering the developer experience. Although Ivy is not publicly available yet, there are plenty of new features in v6 to consume. Read about how to upgrade to v6 <a href="https://blog.angular.io/version-6-of-angular-now-available-cc56b0efa7a4">here</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=611cc21befcf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Google I/O 2017: Google Play Console Updates]]></title>
            <link>https://medium.com/@jkeung/google-i-o-2017-google-play-console-updates-59b014d819c?source=rss-d5e0a2265cd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/59b014d819c</guid>
            <category><![CDATA[google-play]]></category>
            <category><![CDATA[google-io-2017]]></category>
            <category><![CDATA[android]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Jocelyn Keung]]></dc:creator>
            <pubDate>Wed, 16 May 2018 20:21:34 GMT</pubDate>
            <atom:updated>2018-05-16T20:21:34.020Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/620/1*bKPiGsM8LTG1QIX1NS9SYw.png" /></figure><p>Since its inception in 2012, Google’s <a href="https://play.google.com/apps/publish/signup/">Play Console</a> has been augmented from a developer’s vehicle for publishing Android apps to a robust tool relevant to every phase of the app development process. Google’s recent rebranding of the Google Play Console, formerly known as the Google Play Developer Console, affirms Google’s intentionality in designing a product for its wide user base that includes product managers, test engineers, marketers, and developers.</p><p>As the number of Android consumers continues to grow, having surpassed the benchmark of 2 billion monthly active devices, Google is pressuring developers to improve the stability, usability, and design of apps; at the 2017 <a href="https://events.google.com/io/">Google I/O conference</a>, it was mentioned that performance data will dictate app promotion within the Play Store. Aside from this external impetus, app creators should intrinsically be motivated to optimize dependability, speed, and customer perception as metrics like these are correlated with business growth.</p><p>To this end, Google has updated the Google Play Console with features that facilitate the creation of apps that are high-quality and well-received by end users. Statistics, release management, user feedback, and various reports have received significant updates.</p><h3>Statistics</h3><p>The console provides more data and the interface allows for easier comparison of multiple metrics. Users can now filter by custom date ranges and view hourly statistics, which can advise marketing strategies and release scheduling.</p><h3>Android vitals</h3><p>App managers are now given a larger volume of aggregated, anonymized data on render time, battery usage, and stability issues. With this information, developers can <a href="https://developer.android.com/topic/performance/vitals/index.html">mitigate crashes, improve battery consumption, and reduce lag time</a>. In addition, the ANRs (App Not Responding) &amp; crashes page has been updated to display larger crash coverage.</p><h3>Release management</h3><p>The pre-launch report allows app creators to gain insights alpha and beta test results and address issues without impacting app ratings. Apps are rigorously tested for stability against physical devices, which have been updated to include the <a href="https://madeby.google.com/phone/">Google Pixel</a> and the latest operating system, <a href="https://developer.android.com/preview/index.html">Android O Preview</a>.</p><p>Console users can utilize the release dashboard to track a release in real time and halt the release if anything is amiss. One use case would be monitoring the crash rate of the current release in comparison to a previous release. Other useful metrics include install/uninstall events and ratings and reviews specific to the latest release.</p><p>Users can now let Google handle app signing, which reduces the burden on developers of maintaining security of an app’s unique key. If users opt in to Google Play <a href="https://support.google.com/googleplay/android-developer/answer/7384423?hl=en">app signing</a>, which is currently irreversible, they can also add in app optimization (beta). Some apps have seen significant performance boosts in speed and battery usage due to size reductions or screen density optimizations; Google can analyze APKs and trim out unnecessary content, such as multiple versions of drawables, that are not utilized by a device.</p><p><a href="https://developer.android.com/topic/instant-apps/index.html">Android instant apps</a>, which were launched last year, now follow a similar release management flow to full apps.</p><p>The <a href="https://support.google.com/googleplay/android-developer/answer/7353455?hl=en">device catalog</a> has been restructured and provides detailed device specifications for thousands of devices. Users can filter and search based on device features such as memory size, system on chip, or manufacturer. App managers can see how their app performs on each device. Users that want to restrict an app to specific devices — one reason might be to temporarily avoid a stability issue until it can be patched — now have more granular options besides minimum SDK version.</p><h3>User feedback</h3><p>In the new console, users can now view histories of interactions with reviewers and previous versions of app reviews if they have been updated. Thus, app managers can see the impact of engaging reviewers on customer perception.</p><p>Feedback is analyzed for keywords and trends, which can reveal specific issues such as lag or data integrity. <a href="https://support.google.com/googleplay/android-developer/answer/138230?hl=en">Reviews analysis</a> now supports more languages, including Japanese and Spanish, which can help developers understand and connect with international customers.</p><p>Reviews can also be flagged for manual inspection if a developer believes it violates the <a href="https://play.google.com/about/comment-posting-policy.html?visit_id=1-636353131231507660-3926973047&amp;rd=1">posting policies</a>.</p><h3>User acquisition</h3><p>Console users can compare an app to similar apps in the same category using peer benchmarks. Relevant metrics include countries of app installs and other end user demographics; <a href="https://developer.android.com/distribute/best-practices/grow/user-aquisition.html">understanding channels that bring loyal users</a> can inform growth and marketing strategies.</p><h3>Financial reports</h3><p>The new <a href="https://support.google.com/googleplay/android-developer/answer/7391949?hl=en">subscriptions dashboard</a> provides insight into revenue, number of subscribers, new activations, cancellations, and top-performing subscriptions. Three reports (acquisition, retention, and churn) provide granular data such as the exact days that consumers opt out of subscriptions.</p><p>Sources:</p><p><a href="https://android-developers.googleblog.com/2017/05/whats-new-in-google-play-at-io-2017.html">https://android-developers.googleblog.com/2017/05/whats-new-in-google-play-at-io-2017.html</a></p><p><a href="https://techcrunch.com/2017/05/17/googles-play-console-now-gives-developers-more-data-about-their-apps-before-and-after-launch/">https://techcrunch.com/2017/05/17/googles-play-console-now-gives-developers-more-data-about-their-apps-before-and-after-launch/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=59b014d819c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Pilot]]></title>
            <link>https://medium.com/@jkeung/pilot-b3a4beca2fb1?source=rss-d5e0a2265cd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/b3a4beca2fb1</guid>
            <category><![CDATA[ted]]></category>
            <category><![CDATA[procrastination]]></category>
            <category><![CDATA[writing]]></category>
            <category><![CDATA[adam-grant]]></category>
            <dc:creator><![CDATA[Jocelyn Keung]]></dc:creator>
            <pubDate>Tue, 08 May 2018 19:43:27 GMT</pubDate>
            <atom:updated>2018-05-09T14:51:01.890Z</atom:updated>
            <content:encoded><![CDATA[<h4>How I overcame perfectionist paralysis and finally published</h4><p>I have been drafting this post for years. Informally — a haphazard Google Doc of topic ideas, scattered notes on meaningful experiences and anecdotes, and a mental database of titles for the initial post (how did I do? I decided ‘Hello World’ was too cliché).</p><p>Writing is often my preferred form of communication; I love the leeway to pause and tease out the precise wording that articulates my thoughts. This process, though creative and gratifying, can also be painstakingly slow.</p><p>I intermittently flirted with the idea of blogging, but various reasons deterred me from committing. When I decided to become a software developer I set a long-term goal of building my own portfolio website and blog. Aside from desiring to learn the latest web frameworks and create a tasteful design, I became overwhelmed by concerns such as browser and device compatibility, the time commitment of generating creative content, and security vulnerabilities (Ok Google — can you keep my blog secure?).</p><p>My desire to present a polished product was immobilizing. Each time I sat down to make progress on my website, I was stumbling through one rabbit hole only to fall into another. It was an <a href="https://hackernoon.com/how-it-feels-to-learn-javascript-in-2016-d3a717dd577f#.vfkgmbpg1">endless cycle</a> of trying to learn a new tool or language and getting stuck in the prerequisites.</p><p>I was also weary of blogging without a purpose. I enjoy bridging the gap between technical documents and the layman reader, but felt that my lack of expertise precluded me from teaching technical content with authority. Yet in my struggles to learn various technologies, I realized there are huge disparities between experienced developers and their ability to communicate with new ones. More on this in another post.</p><p>I recently listened to a <a href="http://www.npr.org/programs/ted-radio-hour/490624293/slowing-down">podcast</a> (ok, part of a podcast) that prompted me to finally publish my first post. Two segments, featuring Wharton professor <a href="http://www.adamgrant.net/">Adam Grant</a> and <a href="http://waitbutwhy.com/wait-but-who"><em>Wait But Why</em></a> blogger Tim Urban, were particularly prominent.</p><p>Adam is a self-described “<a href="https://blogs.scientificamerican.com/observations/are-you-a-pre-crastinator/">precrastinator</a>,” meaning that his disposition is to complete his undertakings well in advance of their deadlines. He cited an example of finishing his thesis four months early, which clearly indicated to me that Adam and I operate dissimilarly. My college roommate can attest that I crammed in a week’s worth of research and writing each night/morning before my weekly meeting with my thesis advisor.</p><p>Yet despite Adam’s anticipatory tendencies, he suggests that procrastination (to an extent) can boost creativity. I have frequently heard the idiom, “the early bird catches the worm,” which I interpret as a nudge to complete tasks immediately for the greatest chance of success.</p><p>Adam proposes this may not be the best approach; intentionally leaving tasks incomplete can lead to better, more creative ideas because they remain in our working memory. “Precrastinators” typically choose their first, most generic ideas while extreme procrastinators often pursue simple ideas due to time constraints. Instead, Adam advocates moderate, intentional procrastination.</p><p>Consider three hungry birds. The first bird wants the security of finding food immediately, so she hunts early and chooses the first worm she locates. Sure, she gets a worm, but it isn’t the <em>best </em>worm. The second bird also begins her hunt early, but she is unhurried. She skips over five different critters until a fat, juicy worm catches her eye. Meanwhile, the third bird rests in his comfortable nest until the pangs of hunger become unbearable. He scrambles to find food in the now-sparse land; eventually he finds a sun-dried worm to consume.</p><p>Not to say that procrastinating always leads to sun-dried results. Tim considers himself a “chronic, troubled procrastinator” and seems to be doing quite alright for himself. Aside from his <a href="https://www.ted.com/talks/tim_urban_inside_the_mind_of_a_master_procrastinator#t-112670">charming elucidation</a> of procrastination on a global stage, Tim co-authors a popular blog (if <a href="http://waitbutwhy.com/2015/05/elon-musk-the-worlds-raddest-man.html">Elon Musk</a> reads it, does that make it popular? Yes. Yes, it does). I won’t pretend to be a regular reader of <em>Wait But Why</em>, but Tim’s thoughts and writing that I have been exposed to resonate well with me.</p><p>I appreciate Tim’s sharp humor as well as his candidness. He openly admits to spending sixty to eighty hours on each post and having latent periods of up to ten weeks. Tim believes quality takes time, and as a fellow slow writer I am inclined to agree.</p><p>Adam and Tim encouraged me to be okay with writing at my own pace and to relish the drafting process. Part of my reluctance in starting a blog was the perceived pressure of generating content regularly and quickly. Well, the pressure has been released. In the words of Tim, you can expect new posts “every sometimes.”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b3a4beca2fb1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Not exactly rocket science]]></title>
            <link>https://medium.com/@jkeung/not-exactly-rocket-science-1535e9e8816a?source=rss-d5e0a2265cd5------2</link>
            <guid isPermaLink="false">https://medium.com/p/1535e9e8816a</guid>
            <category><![CDATA[technical-writing]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[documentation]]></category>
            <dc:creator><![CDATA[Jocelyn Keung]]></dc:creator>
            <pubDate>Tue, 08 May 2018 19:38:58 GMT</pubDate>
            <atom:updated>2018-05-09T15:03:58.696Z</atom:updated>
            <content:encoded><![CDATA[<h4>The perils of technical jargon</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/425/1*iBumGvYsH0Xq2exBU1dd7w.jpeg" /></figure><p>The year I enrolled at the University of North Carolina, the school implemented a mandatory English course for first-years. I was not thrilled; my priority was to complete technical prerequisites for my double major in Statistics and Environmental Science. I consoled myself with the silver lining: <a href="http://writing.unc.edu/courses/105i">different versions</a> of the course existed, and there was one purposed for scientist hopefuls.</p><p>That English class ended up being one of my favorite courses at UNC. I loved my professor, Sarah, for her approachability and knowledge. Although Sarah’s background was in English Literature, she was an excellent teacher of technical writing.</p><p>The most notable takeaway from the course was the importance of understandability, especially in scientific or technical writing composed for wider audiences. Sarah introduced us to the work of <a href="http://edyong.flavors.me/#i-contain-multitudes">Ed Yong</a>, a popular science writer and blogger from whom the title of this post was derived.</p><p>One of Ed’s <a href="http://blogs.discovermagazine.com/notrocketscience/2010/11/24/on-jargon-and-why-it-matters-in-science-writing/">pieces</a> on the use of jargon in science writing was particularly memorable. He challenges the use of <a href="https://www.merriam-webster.com/dictionary/jargon">jargon</a>, or “words or expressions used by a profession or group that are difficult for others to understand”*, because it reduces legibility. Ed’s reasoning is worth quoting in full:</p><blockquote><em>“Writers should always remember that the more technical you get, the more restrictive you get, even if people are writing for a scientific audience.</em></blockquote><blockquote><em>…</em></blockquote><blockquote><em>Of course, people have every right to write for whomever they wish. I just feel it’s a shame that so much material could be opened up to a much broader audience with just a few tweaks to word choice and sentence construction. This is the approach that I favour, and the one I try to achieve here. I write about the shapes of living things but not the morphology of organisms. I don’t delineate my cognitive processes for maximal accessibility, but I try to speak my thoughts as clearly as possible. I rarely elucidate, often explain.</em></blockquote><blockquote><em>…</em></blockquote><blockquote><em>The bottom line is that </em><strong><em>you educate people by explaining complex ideas in a simple way, not by explaining simple ideas in a complex way</em></strong><em> (or, for that matter, elucidating elementary conceptions in an abstruse fashion).”</em></blockquote><p>Ed describes the issue using playful, witty wordplay, but this topic can have serious consequences. My personal frustration with this issue has surfaced through the process of learning software development.</p><p>Many software developers are lousy writers, and this is one consequence of the attitude I had towards my first-year writing course. Even though I enjoy writing, I was grumpy about the mandatory course and its displacement of “more relevant” science and mathematics classes. To what greater extent have other developers shied away from English and writing-intensive courses that cultivate important composition skills?</p><p>Further, even if developers are competent writers, the majority of developers do not view writing as a priority — especially when it comes to code documentation. The following excerpt from consultant and technical writer Adam Bertram of <a href="https://www.pluralsight.com/">Pluralsight</a> sums up my understanding of the prevailing attitudes regarding documentation. As a disclaimer, Adam is encouraging developers to view documentation with fresh eyes, but here is the beginning of his <a href="https://www.pluralsight.com/blog/software-development/documentation-for-developers">article</a>:</p><blockquote><em>“Let’s be honest: Documentation sucks. Most of the time it feels like </em><strong><em>a necessary evil that prevents us from doing good work</em></strong><em>. It’s like we’re being forced to spend time writing when we could be coding up that new feature, fixing bugs or putting out ops fires.”</em></blockquote><p>Perhaps this sentiment sounds harsh, but many programmers hold this mindset; unfortunately, the quality of documentation often reflects this.<br>One of the reasons developers avoid or carelessly assemble documentation is the belief that it will not be read. Based on this premise, developers conclude that it is a waste of time. This bold assumption leads to outdated SharePoint pages with glaring copy-and-paste errors and missing sections that can impede development. Yet, as bothersome as it can be to work with poor documentation composed by reluctant writers, my greatest grievances have been due to developers who volunteer to publish content.</p><p>Some programmers take it upon themselves to contribute to forums such as <a href="http://stackoverflow.com/">Stack Overflow</a>, blog about technologies, or even create tutorials and guides for other developers to follow. These contributions play an important role in furthering knowledge and supplementing incomplete documentation, but <strong>high-quality tutorials that are accessible to junior developers are difficult to find</strong>.</p><p>The issue is, at its heart, jargon. Authors assume knowledge, make obscure references, and gloss over key details or emit them completely. The result? Frantic Googling of error messages and alternative tutorials until one meets and surpasses the I-have-so-many-tabs-open-the-icons-are-invisible anxiety level. Furrowed brows, general agitation, and strings of profanity. Worse still — giving up on the task completely.</p><p>I wonder how many projects have died during setup and configuration. Speaking as a fairly new developer, this is the part of software development that I dread the most. A few months ago, I installed <a href="http://brew.sh/">Homebrew</a>, a convenience utility that manages installation, updates, and removal of other tools and computer programs. For example, one can update all previous installations completed through Homebrew with the simple command “brew update”. The installation of Homebrew itself was supposed to be just as effortless — a single line copy-and-paste command — and it probably would have been if my computer had been pre-configured.</p><p>In my case, I was being prompted to “add /usr/local/sbin to the path”. Changing the path environment variable is a relatively simple task, yet I struggled dearly. Some guides listed commands to type into the terminal, but provided inadequate descriptions; I was hesitant to blindly type in commands without understanding the changes I was executing. Other tutorials would give step-by-step instructions that skipped over important actions, which then prompted me to research how to undo the changes that were completed before I became stuck. Eventually, I pieced together several tutorials to update the path variable successfully.</p><p>Are writers intentionally leaving gaps in their tutorials? Surely some are, whether it is due to avoiding the burden of meticulous writing or expecting readers to have prerequisite knowledge. For the record, I find this acceptable; as Ed suggested, “people have every right to write for whomever they wish.”</p><p>However, I would also wager that <strong>many developers are simply desensitized to jargon. They aren’t intentionally restricting their audiences, but they aren’t intentionally including them either.</strong></p><p>The removal of jargon in teaching software development can effectively increase both the number of new developers and the number of projects that come to fruition. A simple change, such as linking to existing tutorials for prerequisites or briefly defining terms, can have far-reaching effects — it’s not rocket science.</p><p>*https://en.oxforddictionaries.com/definition/jargon</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1535e9e8816a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>