<?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 Daryl Koopersmith on Medium]]></title>
        <description><![CDATA[Stories by Daryl Koopersmith on Medium]]></description>
        <link>https://medium.com/@koop?source=rss-e3c4b8ef596f------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*x2AquKslNRv4cHdS.jpeg</url>
            <title>Stories by Daryl Koopersmith on Medium</title>
            <link>https://medium.com/@koop?source=rss-e3c4b8ef596f------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Wed, 18 Nov 2026 02:03:51 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@koop/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[Use a .dev domain? Not anymore.]]></title>
            <link>https://medium.engineering/use-a-dev-domain-not-anymore-95219778e6fd?source=rss-e3c4b8ef596f------2</link>
            <guid isPermaLink="false">https://medium.com/p/95219778e6fd</guid>
            <category><![CDATA[google]]></category>
            <category><![CDATA[internet]]></category>
            <category><![CDATA[dns]]></category>
            <category><![CDATA[tech]]></category>
            <category><![CDATA[medium]]></category>
            <dc:creator><![CDATA[Daryl Koopersmith]]></dc:creator>
            <pubDate>Tue, 28 Nov 2017 20:32:29 GMT</pubDate>
            <atom:updated>2017-11-28T20:32:29.164Z</atom:updated>
            <content:encoded><![CDATA[<h4>For years, programmers used .dev domains for testing their code. Those days are over.</h4><p>In the course of my work I sometimes test features on unreleased, upcoming versions of browsers. Earlier this week I opened up the upcoming version of Chrome only to find that the Medium’s development environment — the system we use to build Medium every day — wouldn’t load. Instead, all I saw was this error:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*4DSECg-wSgDdqkL_7upLwg@2x.png" /></figure><p>Our development environment worked in the stable version of Chrome, so there had to be something different about this new version. After some sleuthing, I figured out what had changed.</p><p>Our development domain name, <em>standard.dev</em>, wouldn’t work in the new version of Chrome unless we accessed it through a secure connection or changed the name. As I read more about the issue I learned that it’s not just Chrome, and we’re not the only ones who face this problem.</p><p><strong>Every programmer who tests their website using a domain that ends in .dev will be affected.</strong> In every<em> </em>major browser. Within weeks, thousands of development websites will stop loading, reduced to frowny page icons.</p><p>This is the story of that change. The story of how the internet grows and bends and brushes up against its past from time to time, sending off sparks. It begins in 1969.</p><blockquote>A long time ago, in a network, far far away, a great adventure took place!</blockquote><blockquote>Out of the chaos of new ideas for communication, the experiments, the tentative designs, and crucible of testing, there emerged a cornucopia of networks. Beginning with the ARPANET, an endless stream of networks evolved, and ultimately were interlinked to become the Internet.”</blockquote><blockquote><em>RFC 2468, Part 1</em></blockquote><p>Before the internet, before domain names, and before I was born, there was the ARPANET — the little network that could. What started as a network that bridged four research centers in the western United States became the foundations of the internet we know today.</p><p>The ARPANET connected computers called <em>hosts</em> together using giant, wired routers called <em>Interface Message Processors (IMPs)</em>. These routers served as the nodes of the network, and allowed the research centers to communicate with one another.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/700/1*zRlG6u-jtB161cvJ-fh2bg@2x.png" /><figcaption>That massive tower on the right was a “small computer.” Figures from <a href="http://bitsavers.trailing-edge.com/pdf/bbn/imp/BBN1822_Jan1976.pdf">BBN 1822</a>, “Specifications for the Interconnection of a Host and an IMP.”</figcaption></figure><p>To send a message to another host on the network you needed to know its address, the unique number of the host and IMP. An address was like a telephone number: meaningless and impossible to remember. So researchers solved the problem the same way our phones do — they created an address book. This address book was called a <em>hosts file.</em></p><p>By 1973, the ARPANET had grown tenfold, spanning the United States and adding IMPs across the Atlantic in Norway and London. Host files were becoming unweildly. Programmer and composer L. Peter Deutsch <a href="https://tools.ietf.org/html/rfc606">wrote</a>,</p><blockquote>“It seems about time to put an end to the absurd situation where each site on the network must maintain a different, generally out-of-date, host list for the use of its own operating system or user programs.”</blockquote><p>Instead, ARPANET researchers decided to give each host an official name and distribute one master hosts file, HOSTS.TXT, maintained by the researchers at the Network Information Center (<a href="https://en.wikipedia.org/wiki/InterNIC">NIC</a>). This change was critical because it changed the purpose of the hosts file. Instead of acting like your cell phone’s list of contacts, it acted as a public phone book.</p><p>As the network grew, even HOSTS.TXT became unwieldy. In the mid-1980s, researchers created a new, decentralized system for managing and organizing host names at scale. They called this the <em>Domain Name System</em> (DNS), and it introduced two key concepts: hierarchy and resolution.</p><p>The first major concept of DNS introduced was a new, hierarchical style of domain names. Instead of navigating to an address like <em>NYT-COOKING</em>, you’d navigate to <em>cooking.nytimes.com</em>. This would allow related websites to be grouped together. In our New York Times example, their main site is <a href="https://nytimes.com/"><em>www.nytimes.com</em></a><em>, </em>their cooking app is <a href="https://cooking.nytimes.com/"><em>cooking.nytimes.com</em></a>, and their Medium publication is <a href="https://open.nytimes.com/"><em>open.nytimes.com</em></a>. With the DNS hierarchy, it’s clear that all of these websites are related.</p><p>But what about the “.com” part? That’s a top-level domain (TLD). DNS was created with only a handful of top-level domains, served to classify sites by purpose. Names like .gov, .edu, and .org are fairly straightforward. And .com, the most ubiquitous TLD of them all? .com stands for “commercial.” The process to create a new TLD was exceptionally strict, and would remain that way for almost thirty years.</p><p>Creating TLDs also served another purpose — they facilitated the migration from ARPANET addresses to proper domain names. Every host name on the ARPANET was given a temporary domain name with the <em>.arpa</em> TLD. Domains like <em>NYT-COOKING</em> automatically became <em>nyt-cooking.arpa </em>when accessed using DNS, so the entirety of the ARPANET was still accessible when DNS was first implemented.</p><p>The second major concept of DNS introduced was domain name resolution. Instead of relying on a hosts file on your own computer, your computer would ask a domain name server to resolve a name into an address on the network. That way, the address was (almost) always up to date.</p><p>But the hosts file persisted. It remained your own personal list of addresses, used to augment the DNS results. Programmers could add an entry to the hosts file if they wanted to override the domain name server, which became especially useful for testing network-related code.</p><p>The introduction of domain name servers also introduced a problem. What if you were writing code (or later, building a website) that wasn’t connected to the network yet? How could you test it? Programmers introduced the concept of a loopback address to solve this problem. With a loopback, a host could send traffic to an address and receive that same traffic as if it had come from another machine. This allowed them to test their code without connecting to any name servers.</p><p>When IPs were introduced, the loopback address was named <em>localhost </em>and added to every computer’s host file. It remains the de facto address for testing websites to this day.</p><p>When Medium was created, we used <em>localhost </em>for the address of our development server. It was simple, ubiquitous, and easy to set up. But as Medium grew from a basic website into a network, our needs changed.</p><p>By 2015, our use of <em>localhost </em>was causing issues. When we added a way for users to log in to Medium through Facebook, Facebook wouldn’t allow us to test the feature with <em>localhost</em> as a URL. At the same time, we decided to allow publications to write on Medium using their own domain name instead of <em>medium.com</em>. Splitting our platform across multiple domains was not a small amount of engineering work. This included adding multiple fake domains into our development environment to test our new code and mimic the real world.</p><p>We decided to use our hosts file (and later, a fake domain name server called <em>dnsmasq</em>) to create fake custom domains and transform <em>localhost </em>into <em>standard.dev</em>.</p><p>We’re not the only ones to rename <em>localhost</em>. Over the years web services became increasingly complex, requiring programmers to simultaneously run multiple interconnected services to test their code.</p><p><em>localhost</em> began to lose its significance. Each service runs on a different port, written as a number at the end of the domain name. Your website might run on <em>localhost:3000</em>, your interactive tests at <em>localhost:4002</em>, your events service on <em>localhost:5000</em>, etc. At some point the ports become meaningless numbers. So, like phone numbers and IP addresses, we give our services names.</p><p>These names don’t point to real websites, but that’s why we have a hosts file. We add our new names to the hosts file and override the domain name server for testing. (This isn’t the only way to solve this problem — there are many solutions at varying degrees of scale, but we’ll save them another story.)</p><p>A handful of engineers chose <em>standard.dev </em>because <em>.dev </em>was a common suffix, and our engineering configurations already supported it. Mostly, the engineer who proposed the name enjoyed the pun on “standard deviation.”</p><p>Mission accomplished. 🇺🇸</p><p>Almost three years later, a commit to Chromium (the open source project behind Chrome) would throw sand in the gears of our development environment. If we didn’t fix the issue before it spread, our development website would stop loading in major browsers and potentially disrupt engineering across the organization. Frowny page icon, indeed.</p><p>What changed? Chromium forced all domains with the <em>.dev </em>TLD to only respond to secure connections. Let’s break this down. What is a secure connection, and why would a browser force a website to be secure?</p><p>Security wasn’t baked into the original blueprints of the internet. In 1994, HTTPS was created as a secure, encrypted alternative to HTTP, the default, unencrypted communication standard. (The ‘S’ stands for <em>secure</em>.) At first, HTTPS was primarily used for financial transactions. As the internet wove through the fabric of society the stakes became higher, and privacy became increasingly important to the public. By early 2017, <a href="https://www.eff.org/deeplinks/2017/02/were-halfway-encrypting-entire-web">over half</a> of traffic in both Firefox and Chrome was encrypted.</p><p>HTTPS evolved since 1994, continually playing a cat-and-mouse game against security vulnerabilities. In 2009, security researcher Moxie Marlinspike introduced a technique called SSL-stripping, which silently downgrades a HTTPS connection into an insecure HTTP connection. To counter this attack, browsers introduced HSTS (HTTPS Strict Transport Security), a way for a website to declare that communications should always be secure and use HTTPS.</p><p>But HSTS came with a chicken-and-egg problem. How will the browser know that all communications should be secure if it hasn’t communicated with the website before? The browser’s first request to the website might be unencrypted, at which point the website will reply that the browser should encrypt everything. By that point, it might be too late.</p><p>Browsers added a solution for this too. The Chromium team maintains <a href="https://hstspreload.org/">a list</a> of websites that should <em>always</em> have HSTS enabled, and they bake that list into the browser. That way the browser knows all communication with the website should be secure <em>before</em> the first request occurs. They call this the <strong>HSTS preload list</strong>.</p><p>Every major browser includes an HSTS preload list based on the list maintained by the Chromium team. When a change is committed to the Chromium list, it slowly trickles out to Chrome, Firefox, Opera, Safari, IE 11, and Edge.</p><p>How familiar. Chromium’s HSTS preload list is HOSTS.TXT all over again — except this time instead of host names and network addresses, the list is full of domain names and security instructions. The list is also subject to many of the same issues as the original HOSTS.TXT. It takes time to distribute the list to each browser, and time for the browser updates to trickle down to us, the users. We’re also starting to see the effects of scale. Today, this list is a cumbersome 41,000 lines long. (Medium is on the list, by the way.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Q_5KEVVW8wtteGhDe_q6Fg.png" /></figure><p><strong>This brings us back to the Chromium commit.</strong> The commit behind all this ruckus was a simple change: engineers added one new line to the list. That line forces secure communications for the entire <em>.dev</em> TLD. Encryption just became mandatory for every website that ends in <em>.dev.</em></p><p>It makes sense to force secure connections for a website and all its subdomains, but why force connections for a whole TLD? How can anyone even enforce that? And of all the domains, why the<em> .dev </em>TLD?</p><blockquote>“Someone had to keep track of all the protocols, the identifiers, networks and addresses and ultimately the names of all the things in the networked universe. And someone had to keep track of all the information that erupted with volcanic force from the intensity of the debates and discussions and endless invention that has continued unabated for 30 years. That someone was Jonathan B. Postel, our Internet Assigned Numbers Authority.”</blockquote><blockquote><em>RFC 2468, Part 2</em></blockquote><p>After the DNS was introduced in 1985, the responsibility of managing hosts and addresses didn’t disappear, it shifted. Each top-level domain was managed by a “registry” who decided how its domains would be allocated and registered. But who managed the TLDs? That fell to IANA — the Internet Assigned Numbers Authority. (If there’s anything to take from internet history, it’s that all early technical organizations use abbreviations that unfurl into dry, literal names. There’s a kind of humor in it. Given the internet’s roots in academia and government, I can’t say I’m surprised.)</p><p>IANA was first established in 1988. The name sounds grandiose, but this authority was the province of just two people — Jon Postel and Joyce K. Reynolds. Postel was a key figure in the creation of the internet: he was the editor of the Request for Comments (RFC) series that documented and specified the internet since its inception in 1969 and the co-author of the foundational RFCs that described the DNS. Postel had been informally handling the names and numbers since the early days of the ARPANET, so at first IANA was practically an honorary title.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qKYppwKYM_BRRXqLiT3bGQ.jpeg" /><figcaption>Jon Postel and a map of TLDs in 1994, courtesy <a href="https://en.wikipedia.org/wiki/Jon_Postel">Wikipedia</a>.</figcaption></figure><p>As the internet grew, the duties of IANA became increasingly critical. After a botched initial attempt to privatize domain name allocation in 1994, the management of domain names and their addresses was handed off to a new, nonprofit organization in December 1998. This organization was aptly named ICANN, the Internet Corporation for Assigned Names and Numbers.</p><p>Sadly, Postel did not live to see IANA integrated into ICANN. He died in October 1998 of complications from heart surgery, and Reynolds continued their work as a part of ICANN.</p><p>Vint Cerf, a fellow internet pioneer, memorialized Postel in <a href="https://tools.ietf.org/rfc/rfc2468.txt">RFC 2468</a>, entitled “I REMEMBER IANA.”</p><blockquote>“Jon, our beloved IANA, is gone. He has left a monumental legacy for all Internauts to contemplate. Steadfast service for decades, moving when others seemed paralyzed, always finding the right course in a complex minefield of technical and sometimes political obstacles.”</blockquote><blockquote><em>RFC 2468, Part 3</em></blockquote><p>One of the principal disputes surrounding DNS was the management of TLDs. Adding country-code domains like <em>.fr</em> or <em>.uk</em> was straightforward, but how do you decide what to do with other domains? These domains, known as generic TLDs (gTLDs), were trickier. In 1998, the US Dept of Commerce wrote a <a href="https://www.icann.org/resources/unthemed-pages/white-paper-2012-02-25-en">white paper</a> advising the new organization on this problem:</p><blockquote>“The challenge of deciding policy for the addition of new domains will be formidable.</blockquote><blockquote>At least in the short run, a prudent concern for the stability of the system suggests that expansion of gTLDs proceed at a deliberate and controlled pace to allow for evaluation of the impact of the new gTLDs and well-reasoned evolution of the domain space.”</blockquote><p>In the short run, this remained the case. But in 2011, that all changed. The ICANN board of directors voted to lift almost all restrictions on TLDs, paving the way for almost any word to be registered as a TLD.</p><p>You might be familiar with all the new and fancy domain names going around: things like <a href="https://medium.engineering/">medium.engineering</a>, pizza.cool, and cool.pizza. These are the byproduct of this change. Each gTLD is operated by a registry, who decides how their domain names are allocated and managed. The decision to lift restrictions on TLDs resulted in an explosion of registries and a TLD gold rush. (Unlike the California gold rush, this one came with a $185,000 application fee — not to mention requiring the technical knowhow and funding necessary to run a registry in the first place.)</p><p>The <em>.dev</em> TLD is just one of over one thousand top-level domains added to the internet since 2013.</p><p>A week ago, I didn’t even know <em>.dev</em> was a real gTLD. Historically it’s just been the realm of programmers who need a fake domain for testing. The domain never really existed, we just told our computers to pretend it does.</p><p>But the <em>.dev</em> gTLD does exist. And guess who owns it?</p><p>That’s right.</p><p>It’s Google.</p><p>Suddenly, it all makes sense. Who can decide to make an entire TLD secure? The registry that manages that TLD, of course. And that’s what Google chose to do with <em>.dev</em>.</p><p>Why does Google own the <em>.dev</em> domain? Luckily, we can ask them for ourselves — those $185,000 applications for gTLDs are made public, and <a href="https://gtldresult.icann.org/application-result/applicationstatus/applicationdetails/1339">Google’s</a> is a work of art.</p><blockquote><strong>“18(a). Describe the mission/purpose of your proposed gTLD.</strong></blockquote><blockquote>The proposed gTLD will provide Google with direct association to the term “dev,” which is an abbreviation of the word, “development.” The mission of this gTLD, .dev, is to provide a dedicated domain space in which Google can enact second-level domains specific to its projects in development.”</blockquote><p>Translation: Google wants to use <em>.dev</em> for themselves.</p><blockquote><strong>“18(b). How do you expect that your proposed gTLD will benefit registrants, Internet users, and others?</strong></blockquote><blockquote>Given its intended use by Google, the .dev gTLD will best add value to the gTLD space by remaining completely closed for the sole use of Google.”</blockquote><p>Translation: The best use of <em>.dev</em> is for it to belong to Google and no one else.</p><blockquote><strong>“18(c). What operating rules will you adopt to eliminate or minimize social costs?</strong></blockquote><blockquote>Members of the public will not be able to register domain names in this new gTLD.”</blockquote><p>Well, that’s one way to minimize social costs.</p><p>Snarkiness aside, Google has a reasonable explanation for securing .<em>dev. </em>They have a consistent track record of pushing for security across the internet, especially for their own data. This pushing often takes the form of acquiring infrastructure, securing it, and encouraging others to follow their lead. Securing <em>.dev </em>is simply an extension of that agenda.</p><p>In the late 2000’s, Google released their own <a href="https://googleblog.blogspot.no/2008/09/fresh-take-on-browser.html">web browser</a> (Chrome), <a href="https://googleblog.blogspot.com/2008/09/first-android-powered-phone.html">operating system</a> (Android), and public <a href="https://developers.google.com/speed/public-dns/docs/intro?csw=1">domain name server</a>. Within years, each would grow into the dominant player in its field. Coupled with infrastructure investments in the <a href="http://www.datacenterknowledge.com/archives/2013/07/19/google-data-center-spending-continues-to-soar-1-6-billion-in-3-months">billions</a>, Google began to steer the direction of the internet at large.</p><p>By the time the first gTLD applications were submitted in 2012, Google had locked down a massive portion of the world’s internet infrastructure in every arena. But they were missing a piece. Despite owning the browser and the DNS, Google didn’t own the registry, because until then it wasn’t<em> possible</em> to own a registry.</p><p>Operating a registry would allow Google to secure another segment of critical internet infrastructure. A system is only as secure as its weakest link, so Google aims to control and secure as many links as it can. When ICANN changed the rules, Google was ready.</p><p>When applications opened for gTLDs in 2012, Google didn’t just apply for <em>.dev</em>. They applied for <a href="https://icannwiki.org/Google">101 gTLDs</a>, including <em>.google</em>, <em>.play</em>, and <em>.app</em>. However, Google wasn’t the only company to apply for many of these gTLDs. For some applications, it took years for applicants to negotiate who would end up with the rights to the name. Google’s application for <em>.dev</em> was pending for over a year. Finally, in December 2014, their application for <em>.dev </em>was granted.</p><p>In 2015, Chromium <a href="https://chromium.googlesource.com/chromium/src/net/+/8431fef96540af7d973bba2ff6ea4d3c3e85e51f">added</a> the entire <em>.google </em>TLD to the HSTS preload list with little fanfare. It was the first and only TLD entry in the list for two years, until <em>.dev </em>was <a href="https://chromium.googlesource.com/chromium/src/net/+/7ad1c6b98d17bc442525089ec8997cd81a280546">added</a> in September and shortly <a href="https://chromium.googlesource.com/chromium/src/net/+log/0c3d738658023c6b94c4361979299ee0912cbd78/http/transport_security_state_static.json">followed by</a> <em>.foo</em>,<em> .page</em>,<em> .app</em>, and<em> .chrome</em> — all Google-owned gTLDs.</p><p>The source code includes classic encouragement for others to follow their lead: “At the moment, this only includes Google-owned gTLDs, but other gTLDs are welcome to preload if they are interested.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yrsEulYC2iGpOrNdHv_JDg.png" /></figure><p>As far as I can tell, there’s no easy way around this change. Chrome’s <a href="/service/chrome://net-internals#hsts">HSTS admin panel</a> helpfully warns, “you cannot delete preloaded entries,” and I’m inclined to believe them. The HSTS preload list ensures all communication with a website is encrypted. If you could remove a website from the list, then you could send an unencrypted request to that website. This would compromise the purpose of the list and be a major security risk.</p><p>If you’re using a <em>.dev </em>domain, there’s some urgency around fixing this issue. Commits take <a href="https://www.chromium.org/blink/when-will-a-fix-ship-in-chrome-stable-or-canary">around ten weeks</a> to land in Chrome’s stable branch and the <em>.dev</em> change was committed to Chromium on September 15th… ten weeks ago. The commit in question has been in the beta channel for over a month. This change will land in Chrome soon and other browsers shortly thereafter.</p><p>To solve the problem in the short term you have one of two options. You can either enable HTTPS in your development environment or change your development domain. These options may vary in difficulty depending on your circumstances.</p><h4>Enabling HTTPS</h4><p>Enabling HTTPS is easier when you’re dealing with a real website with a domain that you own. In that case, you can get a certificate that says “yes, I am the owner of this website and it is secure.” Unfortunately, development websites are fake, so you need to manage your own security. This involves creating what’s called a “self-signed certificate” for your development website.</p><p>Like a small child, your operating system believes in “stranger danger” and doesn’t trust self-signed certificates. This is because anyone could make one. So once you create your certificate, you also need to teach every computer that accesses the development environment to trust that certificate. (You trust yourself, right?) Otherwise your browser will yell that your development environment is unsafe and insecure and hates puppies. This can be a painful process if you don’t have a process for installing code on development machines.</p><p>In Medium’s case, when I discovered this issue we already had a working self-signed SSL certificate and a good process for managing development machines. I wrote a <a href="https://gist.github.com/koop/84254d5214495e6fc49db3284c9b7772">snippet of code</a> to automatically trust our certificate on macOS and updated our development environment to enable HTTPS by default.</p><p>While this is a reasonable short-term solution, developing on a public, active TLD doesn’t seem like the best idea in the long-term. This solution is more of a stopgap — it’s a good idea to change your domain too.</p><h4>Changing your development domain</h4><p>The other option is to change your <em>.dev</em> domain and never look back. But what domain could we migrate to? With the gTLD gold rush, is anything safe?</p><p>As it happens, there are two contenders: <em>.localhost</em> and <em>.test</em>. In 1999 <a href="https://tools.ietf.org/html/rfc2606">RFC 2606</a> reserved these, along with <em>.example </em>and <em>.invalid </em>for just this purpose. After the gTLD boom, <a href="https://tools.ietf.org/html/rfc6761">RFC 6761</a> reaffirmed and clarified their usage in 2013.</p><p>There are two key differences in usage — software is encouraged to recognize <em>.localhost</em> domains as “special” and alter its behavior accordingly. However, software should treat <em>.test</em> as it would any other domain.</p><p>Keep in mind that these are guidelines, so the only way to know whether your new domain will work properly is to test it on your code, along with all the services integrated with your code.</p><p>Changing your domain might be as easy as changing a line or two in your configuration file, or as difficult as changing thousands of lines of code across your codebase. You’ll also need to make sure your computer knows how to handle <em>.localhost</em> and <em>.test</em> domains. Our favorite host file is still relevant and up for the job (and the <em>dnsmasq </em>tool is an excellent solution for this as well).</p><p>Those of us using <em>.dev</em> may feel wronged, but ultimately we were squatting on a domain that was not our own, and was not protected for our use. Now we’re paying the cost. But that’s not to say we’re at fault either.</p><p>It’s easy to place the blame on programmers. Why didn’t we just use the reserved domains in the first place? The answer is that we didn’t know — and it’s okay not to know. For all our efforts to educate ourselves, there will always be more to learn. The internet contains far more than any person can know. That’s what we built it for, after all.</p><p>It’s also easy to place the blame on Google. Who are they to lock down a frequently-used fixture in the software community? It may have been a little tone-deaf for Google to acquire <em>.dev</em> for internal use, but then again, if Google hadn’t enabled HSTS for the whole TLD most programmers would be none the wiser. And they weren’t the only applicant for the <em>.dev </em>TLD either. This is just another step down a predictable path.</p><p>The last player in this drama is ICANN, the organization that enabled this change. Lifting restrictions on gTLDs is akin to opening Pandora’s box — once you loosen constraints on a software system, it’s difficult to reverse course. ICANN could’ve written stricter rules for new gTLDs, but rules are tricky to get right. We’ve known this was a thorny issue since before ICANN existed. Conflict and a few broken eggs were inevitable.</p><p>There’s a line in <em>I REMEMBER IANA</em> that sticks with me. “He leaves a legacy of edited documents that tell our collective Internet story, including not only the technical but also the poetic and whimsical as well.” The days of the ARPANET seem simultaneously quaint and grandiose — a handful of people laying the foundation for a network that would go on to be used by <a href="https://en.wikipedia.org/wiki/Global_Internet_usage">half the world</a> and considered <a href="https://en.wikipedia.org/wiki/Right_to_Internet_access#2016:_UN_Resolution">a human right</a>. Their work and the problems that come with it persist to this day.</p><p>The evolution of the internet has been a messy, incremental affair, and there’s no reason for that to change now. In the meantime, some of us have domain names to change.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=95219778e6fd" width="1" height="1" alt=""><hr><p><a href="https://medium.engineering/use-a-dev-domain-not-anymore-95219778e6fd">Use a .dev domain? Not anymore.</a> was originally published in <a href="https://medium.engineering/">Medium Engineering</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Snow]]></title>
            <link>https://medium.com/series/snow-2c9c052e9250?source=rss-e3c4b8ef596f------2</link>
            <guid isPermaLink="false">https://medium.com/p/2c9c052e9250</guid>
            <dc:creator><![CDATA[Daryl Koopersmith]]></dc:creator>
            <pubDate>Fri, 27 Jan 2017 01:18:36 GMT</pubDate>
            <atom:updated>2017-03-02T04:06:01.504Z</atom:updated>
            <content:encoded><![CDATA[<h3>Snow ☃️</h3><p><em>Chapter 1</em></p><h3>Smiling faces</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KzhxH3C4wtkOy002WqsPow.jpeg" /></figure><p>For the past few winters, my friends and I have rented a cabin in South Lake Tahoe and spend our weekends in whatever snow we can find.</p><p>This year, I started bringing my camera up on the slopes.</p><p>Turns out I’m not the only person who loves the snow. It has a way of bringing out the joy in people.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/642/1*Vk9Zm1ljvpTi0YvyP8NEew.png" /></figure><p>One of the benefits of going to the same mountains over and over is that you start to learn the mountain’s topography.</p><p>Sometimes the terrain is barren.</p><p>Other times the terrain is buried.</p><p>You learn the ins and outs of each trail, where to find elusive <em>stashes of pow</em>.</p><p>So we’ve been hiking more this year. Earning our runs.</p><p>Turns out hiking is goddamn hard. Why, you ask?</p><ol><li>You’re in ridiculously stiff boots.</li></ol><p>2. You’re hauling gear up the mountain.</p><p>3. The snow comes up to your knees.</p><p>4. You’re doing all of this at 10,o00 ft.</p><p>And that’s on a good day without the wind and cold beating you down.</p><p>Sometimes you need to rest and hide from the wind.</p><p>But it’s worth it.</p><p><em>Chapter 2</em></p><h3>12 feet of snow</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8_vLcyLv5aH94G8AhWTCdg.jpeg" /></figure><p>Early in January, a storm dumped over twelve feet of snow over the Sierras. The resorts spend the week digging out, in preparation for MLK weekend.</p><p>We drive up on Thursday night.</p><p>We head to Kirkwood on Friday, and <a href="https://medium.com/u/d9214dcf5932">Jimmy</a> and I catch a few runs on <em>The Wall</em>.</p><p>The terrain is mostly tracked out by noon, and Jimmy’s boots are killing him. He ducks into the ski shop and takes the plunge — in an hour, he’s the proud owner of a new pair of ski boots.</p><p>His new ski boots are black, of course.</p><p>Every piece of ski gear Jimmy owns is black. He doesn’t buy black gear on purpose, it just… happens.</p><p>He’s impossible to find on the mountain. Sometimes we call him Snow Batman.</p><p><strong>The next day,</strong> we head to Heavenly. Rumor has it they’re going to open <em>Sky Express</em> for the first time all week.</p><p>It’s closed.</p><p>Instead, we hike uphill from the top of <em>Canyon </em>to the top of <em>Sky</em>.</p><p>Riding the other way takes about one minute. Hiking up takes thirty.</p><p>Somewhere along the way, Jimmy has a realization…</p><blockquote>“Maybe I should’ve bought the boots with a walking mode.”</blockquote><p>We make it to the top and coast along, trying to stay above the tracks. Before we drop in, we spend a few minutes skating and crawling through knee deep powder.</p><p>It pays off.</p><p>We found powder. Cold, fluffy powder. No tracks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5D_uHwxH3B9ZM-7ubaTLZg.jpeg" /></figure><p>We whipped over rolling hills, floating past snow-covered trees. By the time we reached the bottom, we were laughing, sweating, and hungry as hell. We certainly earned our lunch.</p><p>Would we do that hike again? Well… maybe not that exact hike. But the day still had more in store.</p><p><em>Chapter 3</em></p><h3>The hike</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rRmxbjcdBR2qpsWirfTelw.jpeg" /></figure><p>Later that day, we were at the base of the mountain when Jimmy got a text.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*wcKUQHPKm2tCkjjQhJizfw.png" /></figure><p>Sky<em> </em>was finally open! We rushed up the mountain as fast as the three lifts could carry us — there was a hike that I’d taken a month prior that I wanted to try again.</p><p>Last time, Jimmy rode past the starting point and missed the hike. Twice.</p><p></p><p>When I finally found him down at the lodge, he said</p><blockquote>“I was sure I knew where it was.”</blockquote><p>(He did not know where it was.)</p><p>So this time, I’d be damned if Jimmy was going to miss the entrance again.</p><p>—</p><p><em>Will Jimmy make the hike? Tune in next time to find out.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2c9c052e9250" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Making Slack work for you]]></title>
            <link>https://medium.com/@koop/making-slack-work-for-you-878c5c81be4e?source=rss-e3c4b8ef596f------2</link>
            <guid isPermaLink="false">https://medium.com/p/878c5c81be4e</guid>
            <category><![CDATA[slack]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[inside-medium]]></category>
            <dc:creator><![CDATA[Daryl Koopersmith]]></dc:creator>
            <pubDate>Tue, 28 Jul 2015 19:10:17 GMT</pubDate>
            <atom:updated>2015-07-28T19:11:14.119Z</atom:updated>
            <cc:license>http://creativecommons.org/licenses/by/4.0/</cc:license>
            <content:encoded><![CDATA[<p>Slack is a wonderful tool, but when it’s not configured correctly, it can become a distraction. Let’s fix that.</p><ol><li><a href="#2f0f">Use the quick switcher</a></li><li><a href="#9191">Star conversations for fast access</a></li><li><a href="#4d51">Customize your notifications</a></li><li><a href="#4ff8">Get rid of sidebar clutter</a></li><li><a href="#56f7">Edit your last message in a snap</a></li><li><a href="#385a">Only notify people who are online</a></li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*p-BjQ8N44E5TMkwTuMrnjQ@2x.png" /></figure><h4>1. Use the quick switcher</h4><p><em>Press ⌘T or ⌘K to jump to any conversation</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DXxW9_rN6ojJ9sRs0eTeQQ.png" /></figure><p>Do you want to talk to <em>anyone</em> on Slack? Press ⌘K or ⌘T to jump to any conversation, channel, or group on Slack. No more digging through sidebars!</p><h4>2. Star conversations for fast access</h4><p><em>Hover over the channel name and click the star</em></p><p>Once you’ve joined more than a few channels, it becomes tricky to pick out the conversations you care about from the rest. Starring channels, groups, and users will restore a little bit of your sanity.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/913/1*FQPAghsMWaD20JB5Uf1pCQ.png" /></figure><p>In any conversation, hover over the channel or user name and click the star. It will then appear in the <em>Starred</em> section at the top of your sidebar.</p><h4>3. Customize your notifications</h4><p><em>Channel notification preferences…</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/650/1*Gk_jopOj5HT80PfeSf8H3A.png" /></figure><p>Click the down arrow next to your team name and select your <em>Channel notification preferences</em>.</p><p>You can override your default notifications on a per-channel basis.</p><ol><li><strong>For important, quiet channels</strong>, you may want to see every message posted in the channel. Select “activity of any kind” under desktop notifications.</li><li><strong>To lurk in a channel</strong>, there are two checkboxes to choose from. You can suppress @channel notifications, or mute the channel entirely. I prefer to mute @channel notifications, so that I still receive alerts when I’m mentioned by name.</li></ol><p><em>P.S.</em> — Slack sets sane notification preferences by default, but if you want to change your global notification preferences, select the team dropdown and navigate to <em>Preferences → Notifications.</em></p><h4>4. Get rid of sidebar clutter</h4><p><em>Preferences → Advanced Options → Channel List</em></p><p>Is your Slack sidebar an overwhelming jumble of channels you have a passing interest in and names of everyone you’ve ever spoken to? That sounds confusing. There’s a better way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*s1jdBdL9lYZCUen7EyJudQ.png" /></figure><p>Click the down arrow next to your team name and open your <em>Preferences</em>. Once you’ve opened your preferences, select the <em>Advanced Options </em>tab<em>.</em></p><p>In the center of the screen, you’ll see a dropdown titled <em>Channel List</em>. This dropdown allows you to control when channels and conversations appear in the Slack sidebar. Here are the options (paraphrased a bit):</p><ol><li><strong>Show everything. </strong><em>“Show all channels, DMs and private groups you have open (default)”</em></li><li><strong>Only show unread messages. </strong><em>“Hide any channels, DMs or groups which have no unread activity”</em></li><li><strong>Show starred conversations and unread messages.</strong> <em>“Hide any channels, etc., which have no unread activity, unless they are starred”</em></li></ol><p>I chose the third option. It allows me to easily access the channels and conversations I use most frequently. When combined with <a href="#9191">starred channels</a> and <a href="#4d51">channel notification preferences</a>, this makes for a great way to lurk in channels without becoming distracted.</p><h4>5. Edit your last message in a snap</h4><p><em>Hit ↑ to edit your last message</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/359/1*KzTeErTJh1NhHpQB8JhSbA@2x.png" /></figure><p>Did you make a typo? Hit <em>↑ </em>to edit your last message. Correct your typo, then hit enter to make the world right again.</p><p>Did you just accidentally paste your password into Slack? Hurry up and delete it (and then go change your password). Hit ↑ to edit your last message, select everything with ⌘A, delete it, and hit enter. If you’re fast enough, maybe no one will call you out on your pasting blunder. (But you should still change your password.)</p><h4>6. Only notify people who are online</h4><p><em>Using @here mentions everyone in the channel who is online</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/415/1*LPF6GdLLVq0CZpOu68FVSw@2x.png" /></figure><p>When you send a message with <em>@channel</em>, <em>@group</em>, or <em>@everyone</em>, notifications are dispatched far and wide. Desktops make that satisfying <em>pop-pop</em> sound, phones buzz in pockets, and another scrap is tossed onto everyone’s personal email mountain.</p><p>Sometimes those notifications are necessary. Other times you just want to get the attention of whoever is using Slack <em>right now </em>without plastering your message on every internet-capable device that we collectively own. And for that, you can use <em>@here</em> to message them and avoid nudging everyone else.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/243/1*p-BjQ8N44E5TMkwTuMrnjQ@2x.png" /></figure><p><em>This guide was originally published on Hatch, our internal version of Medium, on July 24, 2015. To learn more about Hatch, read </em><a href="https://medium.com/inside/hatching-inside-medium-5ae60292d655"><em>Hatching Inside Medium</em></a><em>. Thanks to my colleagues Kelly and Zach for putting up with my Slacksplaining and encouraging me to write this post.</em></p><p><em>Do you have any favorite Slack tips? Share them in the responses!</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=878c5c81be4e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>