<?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 Kent Brewster on Medium]]></title>
        <description><![CDATA[Stories by Kent Brewster on Medium]]></description>
        <link>https://medium.com/@kentbrew?source=rss-5c09c6dff308------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Eqjc25pqPPvZiYiw.jpg</url>
            <title>Stories by Kent Brewster on Medium</title>
            <link>https://medium.com/@kentbrew?source=rss-5c09c6dff308------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 13:56:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kentbrew/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[Testing Links from Medium on Twitter’s Mobile Browser]]></title>
            <link>https://medium.com/@kentbrew/testing-links-from-medium-on-twitters-mobile-browser-3639ba7efb01?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/3639ba7efb01</guid>
            <category><![CDATA[testing]]></category>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Sun, 29 Jul 2018 14:17:37 GMT</pubDate>
            <atom:updated>2018-07-29T15:00:02.027Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s see if what <a href="https://twitter.com/DavidCayJ/status/1023391177561833473">David Cay Johnston</a> reports is reproducible. If it is, the link under his name won’t work on Twitter’s mobile browser.</p><p>Here’s a link to one of the <a href="https://medium.com/@wsiegelman/alleged-russian-agent-maria-butina-and-the-gop-operative-linked-to-the-nra-rnc-robert-mercer-and-10be1e656577">Medium stories</a> in the article.</p><p>Here’s a link to an article on <a href="https://fivethirtyeight.com/features/is-trump-facing-any-political-fallout-for-the-family-separation-crisis/">fivethirtyeight.com</a>, which is outside Medium and Twitter both.</p><p>Here’s a link — to Google, boring, no need to click — in <a href="https://www.google.com/"><strong>boldfaced text</strong></a>. Let’s see if that shows better on mobile? (Nope. Underline is still tiny and hard to spot.)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3639ba7efb01" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hello there!]]></title>
            <link>https://medium.com/@kentbrew/hello-there-4b64c8cf4df0?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/4b64c8cf4df0</guid>
            <category><![CDATA[spam]]></category>
            <category><![CDATA[linkedin]]></category>
            <category><![CDATA[sad]]></category>
            <category><![CDATA[recruiting]]></category>
            <category><![CDATA[creepy]]></category>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Fri, 27 Jul 2018 18:50:41 GMT</pubDate>
            <atom:updated>2018-07-27T19:46:33.308Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>All content of this post except this note was written by people trying to recruit me via blind contact requests on LinkedIn. Some of it is creepy, some of it is sad, and some of it reads like Taylor Swift lyrics.</blockquote><p>Hello there!</p><p>Hope all is well.<br>Hope this finds you well.<br>Hope you are doing well today! <br>Hope you are well.<br>Hope you’re doing well.<br>Hope your day is going awesome!<br>Hopefully we have your attention now.<br>How are you?</p><p>I am reaching out to you.<br>I came across your profile and was impressed by your background. <br>I had a moment to review your background and I was very impressed with your front end development and engineering experience.<br>I had the opportunity to review your Linkedin profile and was very impressed with your background and experience.<br>I hope this email finds you well.<br>I hope you’re having a great day! <br>I hope your Tuesday is going well!<br>I hope your day is going well! <br>I just wanted to reach out and talk to you.<br>I know you are busy …just take a look.<br>I know you probably get 467 InMails from recruiters since you are soooo popular, but hear (read) me out. <br>I located a brief profile of yours on-line.<br>I look forward to hear from you soon.<br>I look forward to hearing from you!<br>I reached out to you a few days ago.<br>I read your profile and summary.<br>I realize my teammates have reached out to you in the past.<br>I saw a post online about you.<br>I think you could be a great fit for our team.<br>I tried to connect with you a few weeks ago.<br>I wanted to reach out one more time.<br>I wanted to reach out to you and see if you would be interested in having a conversation with respect to the fact that you may not be actively looking. <br>I wanted to send you a quick note.<br>I wanted to touch base and see if you were potentially keeping your eyes and ears open to a new opportunity? <br>I wanted to touch base to see if you are keeping your options open and to let you know about some opportunities. <br>I was hoping that you could assist me.<br>I would be glad to discuss with you available opportunities. <br>I would love to connect with you just in case things change in the future!<br>I would love to set up some time to speak!</p><p>Let me know if you are open to a quick conversation.<br>Looks like you have great passion and experience.</p><p>If you are not interested and happen know someone else who might be a good fit for the role, please feel free to forward this email to anyone that you think, might be interested.<br>I’m a recruiter here at LinkedIn and came across your profile and wanted to reach out.<br>I’m excited to hear from you. <br>I’m reaching out to you.<br>I’m sorry to reach out like this.</p><p>Alternatively any referrals are appreciated.<br>Apologies for the direct approach.<br>Are you able to relocate?<br>Are you currently keeping your options open?</p><p>Not sure if you saw my previous messages, but I thought you had a great background, and regardless if you’re interested or not in that position, I did want to get in touch with you and see if you’d be interested in a short and informal chat.<br>Now I know that this doesn’t give you much to go on yet, but that’s why I want to talk to you!</p><p>You have a very impressive background. <br>You have clearly built a successful career, and I am interested in learning more about your current role and project interests. <br>Your background is clearly very impressive. <br>Your experience and skill sets appears to be a good fit for this position. <br>Your experience warranted a follow up.</p><p>If nothing else I can give you some rich insider content over the phone this week that you can hold onto. <br>If you are interested and would like to see the position description please email me back and I will gladly send you the description. <br>If you are interested please let me know and I can share more details etc.</p><p>Want to hear more?<br>Would love to have a conversation.<br>Would you be open to talking about your work, career path, and interests? <br>Would you like to have a brief conversation? <br>Would you like to set up a conversation?</p><p>Please accept or decline this message so I will stop bothering you.<br>Please circle back and I will shoot you the details. <br>Please let me know a good day/time and number I can reach you for an informal conversation.<br>Please respond back with a good time and number to reach you at. I look forward to your response! Talk soon!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4b64c8cf4df0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things that Cost Less than Securing Trump Tower for a Year]]></title>
            <link>https://medium.com/@kentbrew/things-that-cost-less-than-securing-trump-tower-for-a-year-f1521d48016?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1521d48016</guid>
            <category><![CDATA[2016-election]]></category>
            <category><![CDATA[donald-trump]]></category>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Sat, 18 Feb 2017 16:43:46 GMT</pubDate>
            <atom:updated>2017-02-18T16:43:46.269Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>Police officials estimate that <a href="http://www.businessinsider.com/cost-of-protecting-trump-secret-service-2017-2">it would cost New York $500,000 a day, or $183 million a year</a>, to guard Trump Tower, where first lady Melania Trump and son Barron live.</blockquote><p>Here are some yearly budgets for things funded by taxpayers that cost less than $183m/year:</p><p><a href="http://www.nasaa-arts.org/Research/Grant-Making/NEAFactSheetNH0114.pdf">The National Endowment for the Arts</a> ($146m)</p><p><a href="https://www.quora.com/What-portion-of-PBS-funding-comes-from-the-federal-government">Public Broadcasting System</a> ($71m)</p><p><a href="https://www.nationalservice.gov/newsroom/marketing/fact-sheets/senior-corps">Foster Grandparents Program</a> ($110m)</p><p><a href="https://www.nationalservice.gov/newsroom/marketing/fact-sheets/senior-corps">Senior Companionship Program</a> ($47m)</p><p><a href="https://twitter.com/ColMorrisDavis/status/832949604656234497">Treating Coal Miners with Black Lung in West Virginia</a> ($900k)</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1521d48016" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Seven Stages of Stan 
(with apologies to Elisabeth Kubler-Ross)]]></title>
            <link>https://medium.com/@kentbrew/the-seven-stages-of-stan-with-apologies-to-elisabeth-kubler-ross-9fa186ffd582?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/9fa186ffd582</guid>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Sat, 26 Dec 2015 16:33:26 GMT</pubDate>
            <atom:updated>2015-12-26T16:37:04.638Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/972/1*t_elWcF97GRaN_F-YI_XNA.jpeg" /><figcaption>via <a href="http://imgur.com/QdnhWW0">Imgur and Vickie, who posted it on Facebook and got a bunch of likes from nerds she does not know</a></figcaption></figure><p>Everybody in the software industry carries around an internal voice named Stan.* When faced with a request to change our code, even a little tiny bit, Stan speaks up. Stan sounds something like this:</p><p><strong>Stage One: Shock or Disbelief</strong></p><p>“Wait … what? What the f#ck?”</p><p><strong>Stage Two: Denial</strong></p><p>“No! Not possible! No f#cking way!”</p><p><strong>Stage Three: Anger</strong></p><p>“F#ck you!”</p><p><strong>Stage Four: Bargaining</strong></p><p>“Okay … look, we cannot ship that, but if you gave me four weeks and another [expensive thing] on [aweseome service], and maybe six more heads in [hard-to-hire department], and absolutely no more wiggling around on the design, we might be able to ship this other thing you don’t really want.”</p><p><strong>Stage Five: Guilt</strong></p><p>“Sh#t, man … if we’d been planning ahead and not shipping the prototype all along, we might have actually been able to do this at this stage.”</p><p><strong>Stage Six: Depression</strong></p><p>“Okay, whatever. Sh#t. I need a drink.”</p><p><strong>Stage Seven: Acceptance and Hope</strong></p><p>“You know what? This is looking pretty doable; I gave it to an intern and she was all over it. We get this out the door and we’ll have a pretty good case for rewriting everything in [awesome language du jour], the way we should’ve done in the first place. Next time this sort of thing comes up, get me in on it earlier and I won’t be such a pain in the #ss.”</p><ul><li>I do not now nor have I ever actually worked with or met or even heard of a software engineer named Stan. I named the little voice “Stan” because Stanley is my <a href="https://en.wikipedia.org/wiki/Francis_Edgar_Stanley">middle name</a>, for obscure family reasons. If your name is Stan and you’re a software engineer and your co-workers are waving this at you, please know that it’s not about you. If your name is Steve, however…. :)</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9fa186ffd582" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Things to Watch For in Jurassic World]]></title>
            <link>https://medium.com/@kentbrew/things-to-watch-for-in-jurassic-world-6f3cdc66cd07?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f3cdc66cd07</guid>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Mon, 12 Jan 2015 06:06:18 GMT</pubDate>
            <atom:updated>2015-01-14T00:12:26.845Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/486/1*i310-OQZ-weSiL_IMnPitQ.jpeg" /></figure><p><em>See Our Heroes?</em> They are really, really good at climbing and running, and can fall from great heights without being injured. They know the names of all the dinosaurs, plus cool nicknames like Compy and Trike and T-Rex.</p><p><em>See the Rest of the Cast?</em> They run in a straight line away from the Tyrannosaur and Velociraptor, and get eaten a lot.</p><p><em>See the Bald Guy?</em> He’s funny-looking, isn’t he? He gets torn in half and eaten by the Tyrannosaur.</p><p><em>See the Black Guy?</em> He gets eaten before the Bald Guy, to prove the situation is serious.</p><p><em>See the World’s Smartest Idiot?</em> He’s going to try to smuggle a dinosaur off the island and die horribly, screaming in the mud.</p><p><em>See the Cute Kids and/or Blonde Heroine?</em> Relax, they’re going to be fine. During the Adventure, however, they will display an extraordinary level of dinosaur-related knowledge and grace under fire, forget all of that and scream like crazy at the exact wrong time, and get the Black Guy or the Bald Guy killed.</p><p><em>See the Mysterious Island?</em> It’s Kaua’i, specifically the Kanapali coast, and while you’re vacationing out there you can ride the helicopter right into the Jurassic Valley if you’ve got the dough.</p><p><em>Hear the French Horns?</em> Look sharp; the Majestic Brachiosaurs can’t be far away. (That’s the sound they make when they fart.)</p><p><em>See the Big Pile of Dinosaur Poop?</em> Somebody’s going to have to stick their arm into it up to the shoulder.</p><p><em>See the Velociraptors?</em> They’re going to slink through the tall grass, run past in blurred silhouette when Our Heroes think they’re safe, bark and hoot complex messages to each other, operate door handles (unless they are car door handles), skid around on slick surfaces, and jump just high enough straight up into the camera to never actually catch one of Our Heroes.</p><p><em>See the Glass Window?</em> It may slooowly crack or quickly shatter, but it will never cut anybody who falls through it.</p><p><em>See the Plexiglas Window?</em> It’s unbreakable, even by a Tyrannosaur.</p><p><em>See the Tyrannosaur?</em> He can’t see Our Heroes as long as they hold perfectly still, and his sense of smell apparently doesn’t work either. He’s going to stare through the Plexiglas Window at Our Heroes, clench his Baleful Pupil, snort and fog up the Plexiglas Window, push the Vehicle off the Cliff and into the Tree, and eventually prove that he’s really a Good Guy, by saving Our Heroes from the other dinosaurs.</p><p><em>See the Vehicle containing Our Heroes?</em> A very large dinosaur is going to kick the living crap out of it, and it’s going to wind up dangling, either From a Tree or Off a Cliff, with Our Heroes inside. There will follow an extended action scene in which Our Heroes will climb brilliantly, fall from great heights without injury, and never actually be in a speck of danger. (Unless, of course, one of them is the Black Guy or the Bald Guy.)</p><p><em>See Jeff Goldblum</em> <em>or</em> <em>Sam Neill?</em> Me neither.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*U3zqy3aojLdIORELFMOAyQ.png" /></figure><p><a href="http://xkcd.com/1452/">http://xkcd.com/1452/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f3cdc66cd07" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What to Do when your Toolbar Extension Button Disappears from Firefox]]></title>
            <link>https://medium.com/@kentbrew/what-to-do-when-your-toolbar-extension-button-disappears-from-firefox-b1059fc216ba?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1059fc216ba</guid>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Wed, 17 Dec 2014 19:32:22 GMT</pubDate>
            <atom:updated>2014-12-17T19:32:22.519Z</atom:updated>
            <content:encoded><![CDATA[<p>Let’s say you’ve created a popular Firefox extension that has a toolbar button, like <a href="https://about.pinterest.com/browser-button">this pretty red one</a>:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/308/0*QWv5GwyzadYnKDA2." /></figure><p>All is copacetic for a while, and then you start hearing from users who say things like:</p><h3>“Haaalp! My button disappeared and I can’t get it back!”</h3><p>Your users are not crazy, even though you yourself will never, ever be able to replicate the experience. And you haven’t done anything wrong; you are up against Mozilla’s kitchen-sink approach to user interface design.</p><p>When your button disappears, chances are pretty good that someone has:</p><ul><li>disabled your extension</li><li>right-clicked your button and chosen Remove from Toolbar</li><li>gone into Customize and chosen Restore Defaults</li></ul><p>All of these actions hide your toolbar button. To get it back, you must:</p><p>Go into Tools: Add-Ons and be sure that the extension has not been disabled. If it has, click Enable and see if that solves the problem. If so, congratulations, you’re done!</p><p>Still here? Click the mysterious burger-shaped menu in the upper right corner of Firefox, go to the bottom of the resulting pop-up window, and click Customize. From there you may or may not be able to see your extension’s button. If you see it, drag it back up into your toolbar and you’re done.</p><p>If you don’t see it, you will need to mouse over the Additional Tools and Features window and <em>scroll down</em>. Since you installed the extension last, it’s at the bottom of this list.</p><h4>Wait … what? “Scroll down?”</h4><p>If your window is below a certain threshold in width, Firefox will resize itself to 750px when you click the Mystery Burger. You’ll see two columns of Additional Tools and Features, with your button at the bottom of the stack, somewhere below the fold. Scroll to find it!</p><p><strong>Bonus:</strong> it’s even more confusing if you’re using a system that doesn’t have scrollbars; there will simply be no visible evidence that your button is available at all:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RQt98oo3skPTM8X_." /></figure><p>Mouse over the space containing those Additional Tools and Features, click your heels together three times, say “there’s no place like home!” and scroll:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ooxf0mLYDUcXgd19." /></figure><p><strong>Super awesome bonus: </strong>if you have removed the extension button from your toolbar <em>and</em> disabled the extension it in Tools: Add-Ons, it is gone from both the toolbar <em>and</em> Additional Tools and Features. That’s why you want to check that it’s not disabled first.</p><h4>But I removed the extension and reinstalled it!</h4><p>Sorry, no. Firefox remembers that you had the extension before—seems like a privacy hole, right?—and conveniently puts it right back where you “customized” it before: hidden in the bowels of Additional Tools and Features.</p><p>Other things that don’t work for the same reason include: updating Firefox, completely deleting and reinstalling Firefox, or even trying another machine you are connected to via Firefox Sync.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1059fc216ba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What’s the Last Thing You Remember]]></title>
            <link>https://medium.com/@kentbrew/whats-the-last-thing-you-remember-4bea4f009bee?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/4bea4f009bee</guid>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Mon, 16 Jun 2014 16:20:52 GMT</pubDate>
            <atom:updated>2014-06-20T04:58:10.934Z</atom:updated>
            <content:encoded><![CDATA[<h4>My father died in 1991. This is the last joke he ever told me.</h4><p>Once upon a time in Silicon Valley in the early seventies, there’s an engineer. Single male, mid-thirties, works at Lockheed, makes missile guidance systems. Nice guy, but he’s undersocialized, and, truth to tell, a little bit lonely.</p><p>So one day he goes to the pet shop. Explains the situation in detail to the pet-shop guy—nice guy, mid-thirties, lonely engineer—and they look through the store.</p><p>A dog’s not gonna work; they’re too big and they take a lot of time, and the engineer’s in the office twelve hours a day and an apartment is no place for a dog.</p><p>Cat’s not gonna work either; he’s allergic, and besides, he hates cats.</p><p>So he looks at snakes and fish and guinea pigs, and they’re just not that interesting. They’re cages and tanks, basically furniture, and if he wants to stare at the furniture he’ll turn on the TV.</p><p>But then! Way back in the back of the shop he spots: parrots. Two of them, big beautiful blue and green and yellow. And they look exactly the same, only one of them is $50 and the other one is $500.</p><p>The engineer is intrigued. “So … what’s the difference?”</p><p>“Actually not much,” says the pet-shop guy. “They’re the same species, and they both talk. But the $50 parrot, he’s got a lisp.”</p><p>“A lisp?”</p><p>“Yeah, a lisp. What he needs is to have his beak filed, and there’s only one really good traveling beak-filer on the West Coast, and he came through last week and won’t be back until July.”</p><p>Engineer looks at the bird and thinks <em>How hard can this possibly be? I’m an engineer; I’ll do it myself and save $450.</em></p><p>“I know what you’re thinking,” says the pet-shop guy. “I’m an engineer! I’ll do it myself and save $450. But here’s the thing: if you take off too much, even one tiny stroke, he’ll clam up and never say another word for the rest of his life.”</p><p>Course, now the engineer’s committed. “I got this. Gimme the $50 parrot.”</p><p>Couple days later, the engineer’s back at the pet shop. “All right, all right. Gimme the other one.”</p><p>The pet-shop guy says “Aha! I knew it! You took off too much, didn’t you? Didn’t you!”</p><p>“Nah … I crushed his head in the vice.”</p><p><em>I shared this story with a great crowd of friends at 20x2 on March 8th, 2014. If you can possibly make it to a 20x2, do so. Info here: </em><a href="http://www.20x2.org/"><em>http://www.20x2.org/</em></a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4bea4f009bee" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Headgear]]></title>
            <link>https://medium.com/@kentbrew/headgear-b0b9679dd1dd?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/b0b9679dd1dd</guid>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Thu, 05 Jun 2014 05:57:08 GMT</pubDate>
            <atom:updated>2014-06-05T06:00:01.007Z</atom:updated>
            <content:encoded><![CDATA[<h4>Eating—especially swallowing—may be problematic for the first week or two, and learning to sleep sitting up can be quite difficult.</h4><p>Your attitude adjustment apparatus has three main components: occipital clamp, dental anchors, and nasal/laryngial probes. Once or twice a week you will visit your therapist, who will help maintain your level of discomfort within acceptable range.</p><p>While your headgear should automatically induce corrective reactions to unacceptable behavior—ranging from sneezing to moderate “ice cream” headache all the way up to sudden bouts of projectile vomiting—it also comes with a pair of remote controls, one for your parents and one for your vice principal, in case on-the-spot adjustment is necessary.</p><p>You’ll want to take special care with your battery pack. It powers your network connection, sensors, and reporting channels, and maintains appropriate electrode tension against your uvula and soft palate.</p><p>Your spare battery should remain in its charging cradle at all times; be sure to carry it and its AC adapter with you when you leave the house. Should your battery discharge fully or be removed, mechanical backups will activate progressively stronger measures until it is changed. This will also happen if any part of your headgear is exposed to water, so be very careful in the shower.</p><p>Your headgear also features a networked camera and microphone, which may be accessed by anyone who holds one of the remote controls. You’ll feel a warning if either the camera or the microphone is blocked or otherwise disabled; as above, progressively stronger measures will be applied until the signal clears. Don’t worry about darkness; the camera will automatically switch to night vision mode.</p><p>Eating—especially swallowing—may be problematic for the first week or two, and learning to sleep sitting up can be quite difficult.</p><p>Avoid foods that are crunchy, sticky, or chewy. Any shift in dental anchors will lead to sabotage warnings, which are painful and instantly relayed to your therapy overseers. Foods that requires vigorous flossing afterwards may also trigger sabotage warnings.</p><p>Avoid hot, cold, or carbonated liquids. Sudden changes in oral conductivity or temperature may trigger sabotage warnings.</p><p>Never smoke or consume caffeine or alcohol. This behavior will trigger immediate, severe correction.</p><p>Ask your parents about other forbidden food or drink; meat, chocolate, sugar, and carbonation are often high on this list.</p><p>All of your telephone and internet usage will be monitored. Do not text during class, or visit disallowed Web sites at any time.</p><p>Facial recognition software will ensure that you’re only talking to people on your approved list. See your parents for this list.</p><p>Your location is monitored at all times via global positioning satellite; be careful to remain within your geofenced area. Should GPS fail you will receive a series of warnings; be especially careful about tunnels, parking garages, and elevators until you understand how well your coverage works.</p><p>Driving while wearing headgear is prohibited, for the safety of those around you.</p><p>Most patients complete their course of treatment in six to eighteen months. For best results, watch as much television as possible, concentrate on breathing shallowly and deliberately, and keep any stray thoughts to yourself.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b0b9679dd1dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[True OAuth Confessions]]></title>
            <link>https://medium.com/@kentbrew/true-oauth-confessions-19edce8c5398?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/19edce8c5398</guid>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Tue, 29 Apr 2014 22:44:05 GMT</pubDate>
            <atom:updated>2014-04-29T22:44:05.168Z</atom:updated>
            <content:encoded><![CDATA[<h4>or: Why My Hand-Rolled Calls All Blew Chunks</h4><p><em>Like sunspots, the topic of gently guiding people through the intricacies of OAuth comes up every few years. Here’s a redo of a blog post from my Yahoo/Netflix days, which was mildly popular for a time after being linked from Facebook’s developer pages:</em></p><p>When I <a href="http://kentbrewster.com/oauth-baby-steps/">first encountered OAuth</a> I bounced off <a href="http://oauth.net/core/1.0/">the spec</a> and a couple of <a href="http://oauth.googlecode.com/svn/code/javascript/oauth.js">libraries</a>, which seem to be documented in a language created specifically to make guys like me give up in disgust.</p><p>Backup plan: I cracked into a couple of URL returns with Firebug, thought I understood what was going on, and plunged blindly in. (Famous last words: “It’s just a string, right? How hard could it possibly be?”)</p><p>My real mistake: not just blindly trusting the libraries to do the right thing. Seriously. Unless you’ve got the same thing wrong with you that I have with me and you absolutely cannot stand the idea of using something you don’t fully understand, stop here and just go plug in a library.</p><p>So. Here begins my top ten list of horrible mistakes made while trying to reverse-engineer OAuth:</p><p><strong>My Timestamp was Stale</strong><br>Unless it’s only a few minutes old, the URL somebody else generated isn’t going to work. And forget about trying to copy and paste the one they show in the docs. If you’re working in JavaScript, your client’s clock needs to be within ten minutes of your API’s clock. We had a special wide-open endpoint set up just for this at Netflix.</p><p><strong>The Parameters in my Signature Base String were Out of Alphabetical Order</strong><br>Note to self: oauth_signature_method comes <em>before</em> oauth_timestamp, and <em>after</em> oauth_nonce. Parameters like foo and baz and qux might show up before or afterwards. Or during, depending on how psychotic the API you’re trying to hit turns out to be.</p><p><strong>I Forgot a Question-Mark between my Request and my OAuth Payload</strong><br>Here’s where you do <em>not</em> want an ampersand. You’ll go blind trying to spot it.</p><p><strong>I Didn’t URL-Encode my Signature</strong><br>Just because it came back in base-64 from my HMAC-SHA1 function didn’t make it safe to fire off; there are plus-signs and equals-signs and other unsavory characters in many base-64 strings, and they all needed to be encoded.</p><p><strong>I Didn’t URL-Encode All Illegal Characters</strong><br>Right, see, I was initially doing this with JavaScript, and uriEncodeComponent turns out not to fix exclamation points, asterisks, single-quotes, or parentheses.</p><p><strong>I URL-Encoded the Ampersands Separating my Method, URL, and Request Parameters</strong><br>The server needs those raw ampersands, so it can tell where to split the string you sent.</p><p><strong>I Didn’t Append an Ampersand to my Consumer Secret to Make my Signature Key</strong><br>Another picky ampersand-related detail: when signing a request without a token secret I <em>still</em> needed to add an ampersand to the end of my consumer secret.</p><p><strong>I Used the Same Nonce, Over and Over and Over Again</strong><br>Turns out there is a special circle of Error 401 Hell reserved for people who re-use their nonces; this makes sense, if you think about the sort of replay attacks the spec is designed to prevent. Naturally you would need to <em>read</em> the spec before thinking about this.</p><p><strong>I Generated a Random Nonce, but (you guessed it) Failed to URL-Encode It</strong><br>No need to be fancy with this; just pick a random 16-digit number. Don’t (for instance) use every possible printable character.</p><p><strong>And, Finally: I URL-Encoded my Signature Key</strong><br>Yeah, I really did do this. It took days to unscrew. Not recommended.</p><p>Anyone else have something to confess? Let’s hear it; it will be good for your soul, and will help our fellow pilgrims not to fall down the same holes we did.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19edce8c5398" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Recasting Gendered Pronouns]]></title>
            <link>https://medium.com/i-m-h-o/recasting-gendered-pronouns-8a5e63ddaea9?source=rss-5c09c6dff308------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a5e63ddaea9</guid>
            <dc:creator><![CDATA[Kent Brewster]]></dc:creator>
            <pubDate>Tue, 03 Dec 2013 17:26:48 GMT</pubDate>
            <atom:updated>2013-12-03T17:26:48.140Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/950/1*v_s7PAof1-VNjz6Wg-sFTA.png" /><figcaption>@yclept8 / flickr</figcaption></figure><h4>A necessary thing that can be done without breaking English.</h4><p>Background: if you have not already read <a href="http://www.joyent.com/blog/the-power-of-a-pronoun">The Power of a Pronoun</a>, please go do so.</p><p>The short version: in a <a href="https://github.com/joyent/libuv/pull/1015">piece of publicly-available technical documentation</a>, engineer <a href="https://twitter.com/izs">Isaac Schlueter</a> changed several instances of “he” to “they,” removing gender from the sentence but doing so in a way that hurts my soul.*</p><p>Core committer Ben Noordhuis, who is <a href="https://gist.github.com/creationix/5fb9e94fd8d80268c047">not-repeat-not a misogynistic bastard</a> but has been cast in the unfortunate role of villain in this story, reverted the change. Not because of sexism or correct English, but because of a point of Parliamentary procedure: while Isaac had technical permission to make changes to the product, he did so without review. Shortly afterwards the other core committer approved the change and asked people to cool down for a bit ... but then the Internet stepped in and the crap hit the fan, culminating with Joyent&#39;s post, linked above.</p><p>Meanwhile, back in the topic at hand, here’s the original language:</p><blockquote>Only free when there was no error. On error, we touch up write_queue_size right before making the callback. The reason we don&#39;t do that right away is that a write_queue_size &gt; 0 is our only way to signal to the user that he should stop writing - which he should if we got an error.</blockquote><p>So we&#39;re clear: I agree that this poor mangled thing should be fixed, but for reasons of clarity first.** It&#39;s an example of laziness—or unfamiliarity with English—on the part of the original author and needs to be melted down and recast.</p><p>Here&#39;s one of many ways to tighten it up and eliminate the gendered pronoun:</p><blockquote>If an error occurs, wait until we&#39;re ready to make the callback instead of freeing memory now. The user needs to see an error signifying that writing should stop, because write_queue_size exceeds zero.</blockquote><p>Three steps towards clarity:</p><ol><li>Go after passive-voice and other filtering mechanisms. In this case I searched out and destroyed all forms of the verb &quot;to be.&quot;</li><li>If you absolutely must write from the first person or frame the concept in we-versus-they language, minimize it. Here I removed all but one occurrence of “we” and “our,” and sneakily combined the only one left with the only remaining passive-voice construction.</li><li>Watch out for colloquialisms, which often hide flabby language. In this case I replaced “touch up” and “got,” which are both ambiguous to non-native English speakers and can inject even more filtration.</li></ol><p>—</p><p>* <em>I&#39;m not the only one; millions of people who came of age in the US before 1980 and almost everybody who didn’t hail from the US are trained to never, ever use plural pronouns for singular subjects. We feel actual physical pain—sometimes in the heart, sometimes in the eye, sometimes in the back of our writing hand—when we see them in print.</em></p><p><em>** I agree with everything that’s been said about how gendered pronouns in non-literary prose are evil and sexist and must be destroyed. They wouldn’t be necessary if we weren’t so damn lazy.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a5e63ddaea9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/i-m-h-o/recasting-gendered-pronouns-8a5e63ddaea9">Recasting Gendered Pronouns</a> was originally published in <a href="https://medium.com/i-m-h-o">I. M. H. O.</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>