<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Patrick Hyatt</title>
    <description>The latest articles on DEV Community by Patrick Hyatt (@pathyatt).</description>
    <link>https://dev.to/pathyatt</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F147521%2F086b54c3-9014-49ad-acbf-a4b7c01502d5.jpeg</url>
      <title>DEV Community: Patrick Hyatt</title>
      <link>https://dev.to/pathyatt</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/pathyatt"/>
    <language>en</language>
    <item>
      <title>Greater than fiction</title>
      <dc:creator>Patrick Hyatt</dc:creator>
      <pubDate>Sun, 07 Apr 2024 03:13:59 +0000</pubDate>
      <link>https://dev.to/pathyatt/greater-than-fiction-2glm</link>
      <guid>https://dev.to/pathyatt/greater-than-fiction-2glm</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for the &lt;a href="https://dev.to/devteam/join-us-for-the-cloudflare-ai-challenge-3000-in-prizes-5f99"&gt;Cloudflare AI Challenge&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What I Built
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://cat-nerd.pages.dev/" rel="noopener noreferrer"&gt;cat-nerd&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;I built an application which given a set of animals, and fictional universes, generates an image.&lt;/p&gt;

&lt;p&gt;The functionality is simple, but is split between a Page for the front-end, and a Worker for the AI generated content. &lt;/p&gt;

&lt;h2&gt;
  
  
  Demo
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcmtnmlmsmwdmu1kvjfbg.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fcmtnmlmsmwdmu1kvjfbg.png" alt="Initial selection of an animal" width="304" height="289"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feszq8ecu93hybh3sx8br.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Feszq8ecu93hybh3sx8br.png" alt="Selection of a fictional universe" width="322" height="256"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Upon submitting....&lt;br&gt;
The famed, Dune hamster, Sallakis, destroyer of lettuce&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjzilq61dh1y0d5r29ikl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fjzilq61dh1y0d5r29ikl.png" alt="An AI generated image of a hamster, in a Dune style" width="678" height="906"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  My Code
&lt;/h2&gt;

 

&lt;p&gt;&lt;a href="https://github.com/patHyatt/cat-nerd" rel="noopener noreferrer"&gt;Front-end&lt;/a&gt;&lt;br&gt;
&lt;a href="https://github.com/patHyatt/pico" rel="noopener noreferrer"&gt;Worker&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The main heart of this is the Worker, which is a fancy API wrapping the AI functionality. &lt;code&gt;POST&lt;/code&gt; the following two &lt;a href="https://developer.mozilla.org/en-US/docs/Web/API/FormData" rel="noopener noreferrer"&gt;FormData&lt;/a&gt; parameters to the Worker&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;code&gt;animal&lt;/code&gt;, the animal you wish to put in a universe, &lt;code&gt;cat&lt;/code&gt; lets say&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;universe&lt;/code&gt;, the fictional body of work's universe name, &lt;code&gt;star trek&lt;/code&gt; for example&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The Worker's response will respond with a PNG image that AI thought was a good fit for your combination.&lt;/p&gt;

&lt;p&gt;Give it a try yourself&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt; curl &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s2"&gt;"animal=rat&amp;amp;universe=dc comics"&lt;/span&gt; https://pico.patrickhyatt.workers.dev &lt;span class="nt"&gt;--output&lt;/span&gt; C:&lt;span class="se"&gt;\t&lt;/span&gt;est.png
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Meet Rex Ratham, DC's newest villain&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ky2glfhuc6g9812acml.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F5ky2glfhuc6g9812acml.png" alt="Rex Ratham fictional rat character of DC Comic universe" width="616" height="612"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Journey
&lt;/h2&gt;

&lt;p&gt;I had a few hours after a long day and the announcement of this challenge has stuck in my head for a few days, so I decided to dive in head first, no look, and no 360.&lt;/p&gt;

&lt;p&gt;My initial thought was just to create a Worker that took in a Star Trek character, and generated a cat image in that character's style.&lt;/p&gt;

&lt;p&gt;However after seeing how limiting that was, it seemed better to take in some input and be a tad more dynamic, thus fictional universes. At that point, why limit it to cats? &lt;/p&gt;

&lt;p&gt;This all required a front end which a Worker is not. So, a Page was also created to handle the display/input to the worker, thus yielding the two repositories listed. &lt;/p&gt;

&lt;p&gt;Future thoughts&lt;br&gt;
I believe I could make a single Page with a Function to accomplish the same behaviors in a single repository, but while the wheels were spinning, I did not want to clog the air intake (or basically slow myself down).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Multiple Models and/or Triple Task Types&lt;/strong&gt;&lt;br&gt;
I had big hopes to incorporate multiple models and/or 3+ task types, but with limited time comes snap decisions. &lt;/p&gt;

&lt;p&gt;Edits: Add link to site... Add more details on how Worker serves as AI frontman&lt;/p&gt;

</description>
      <category>cloudflarechallenge</category>
      <category>devchallenge</category>
      <category>ai</category>
      <category>angular</category>
    </item>
    <item>
      <title>Crypto API in 256 characters</title>
      <dc:creator>Patrick Hyatt</dc:creator>
      <pubDate>Thu, 21 Mar 2024 01:46:41 +0000</pubDate>
      <link>https://dev.to/pathyatt/crypto-not-yourcoin-api-58ep</link>
      <guid>https://dev.to/pathyatt/crypto-not-yourcoin-api-58ep</guid>
      <description>&lt;p&gt;&lt;em&gt;This is a submission for DEV Challenge v24.03.20, One Byte Explainer: Browser API or Feature.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  Explainer
&lt;/h2&gt;

&lt;p&gt;The &lt;code&gt;crypto&lt;/code&gt; API covers cryptographic functionality.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;crypto.subtle&lt;/code&gt; to hash, sign, en/decrypt, verify, and manage cryptographic keys. &lt;br&gt;
&lt;code&gt;crypto.randomUuid()&lt;/code&gt; generate v4 UUID.&lt;br&gt;
&lt;code&gt;crypto.getRandomValues(array)&lt;/code&gt; fills &lt;code&gt;array&lt;/code&gt; with random numbers&lt;/p&gt;

&lt;h2&gt;
  
  
  Additional Context
&lt;/h2&gt;

&lt;p&gt;256 characters goes &lt;strong&gt;QUICK&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr48g1zzsjjtigpypo1cn.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fr48g1zzsjjtigpypo1cn.png" alt="Cryptography word cloud from https://pixabay.com/" width="640" height="452"&gt;&lt;/a&gt;&lt;/p&gt;

</description>
      <category>frontendchallenge</category>
      <category>devchallenge</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>where have you been</title>
      <dc:creator>Patrick Hyatt</dc:creator>
      <pubDate>Sat, 11 May 2019 03:09:00 +0000</pubDate>
      <link>https://dev.to/pathyatt/where-have-you-been-3iej</link>
      <guid>https://dev.to/pathyatt/where-have-you-been-3iej</guid>
      <description>&lt;h2&gt;
  
  
  Oh, hey there
&lt;/h2&gt;

&lt;p&gt;Hi again, my names Patrick, I used to write more about things here, but it's been a while.&lt;br&gt;&lt;br&gt;
This thing called life threw some twists our way, it's been joyous, painful, and life changing.&lt;/p&gt;

&lt;p&gt;This post is an attempt to recount my happenings, and lay it out there for those wondering. It may be a bit rambling, but it's hard to recount over a year in some detail without rambling. &lt;/p&gt;

&lt;h2&gt;
  
  
  Left coast to right coast
&lt;/h2&gt;

&lt;p&gt;First up, a big move.&lt;/p&gt;

&lt;p&gt;On August 3, 2017 &lt;a href="https://dev.to%20post_url%202016-09-17-belize-y-guatemala%20"&gt;my wife&lt;/a&gt; and I packed up our apartment, caged our 2 animals, and moved from always sunny San Diego, to North Carolina.&lt;br&gt;&lt;br&gt;
Neither she nor me expected to move here, yet this was the destination.&lt;/p&gt;

&lt;p&gt;The home, packed in a PODS like box, and sent off to NC without a destination address was setup to stay stored until we identified the landing spot.&lt;/p&gt;

&lt;p&gt;This lead to...&lt;/p&gt;

&lt;h2&gt;
  
  
  A new gig
&lt;/h2&gt;

&lt;p&gt;Pretty much after landing (not really, maybe 2 weeks after, but it sounded cool), I ended up switching jobs. I left a position where I worked at over 9 years that was at a established company for a start up with some old coworkers. &lt;/p&gt;

&lt;p&gt;We're shaking up the scene, why not shake up the workplace right?&lt;/p&gt;

&lt;h2&gt;
  
  
  La casita
&lt;/h2&gt;

&lt;p&gt;Oh and we bought a home.&lt;/p&gt;

&lt;p&gt;Another non-expected thing. Living in San Diego, we knew we could never own a home, costs were way too high.&lt;br&gt;&lt;br&gt;
Staying for a month in an &lt;a href="https://www.airbnb.com/c/patrickh531" rel="noopener noreferrer"&gt;airbnb&lt;/a&gt;, we got pretty familiar with our   city's market, and realized renting was pretty much the same monthly as a mortgage.&lt;/p&gt;

&lt;p&gt;Considering it's a college town, most rentals were multi unit, and we're old, so we were not down with that noise. &lt;br&gt;
GET OFF MY LAWN.&lt;/p&gt;

&lt;p&gt;We hit the market hard, and fast. And after less than a month, we got place. &lt;a href="https://twitter.com/search?q=%23lifechanging" rel="noopener noreferrer"&gt;#lifechanging&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Closing at the end of September was a rush, and scary. Really scary moving down payment money around, and seeing it disappear from the bank account.&lt;/p&gt;

&lt;h2&gt;
  
  
  Loss
&lt;/h2&gt;

&lt;p&gt;After close to a month in our new place, unboxed with our measly furniture and clothing, Thanksgiving was had, we got news that my mother in law was diagnosed with pancreatic cancer. &lt;/p&gt;

&lt;p&gt;Cancer is no picnic or great thing. Pancreatic cancer is like the picnic where birds poop on everything and it rains while ants bite you. It is very deadly.&lt;/p&gt;

&lt;p&gt;Life takes a real downturn here. One &lt;em&gt;good&lt;/em&gt; thing is we're closer to our folks now. Flights are ~2 hours in the same timezone, vs ~7 with 3 hour differences. &lt;/p&gt;

&lt;p&gt;The months of November 2017 until March 2018, my wife and I were fortunate (aka able to fund) and had enough job flexibility to help out our mom and pops. Most of the times, one of us would fly out for a week or so, while the other stayed at the house and took care of the animals. &lt;/p&gt;

&lt;p&gt;We both still worked full time and from a professional point of view, nothing changed. &lt;/p&gt;

&lt;p&gt;Internally, this was a wreck.&lt;/p&gt;

&lt;p&gt;A darklight (opposite of highlight?) for me in particular was handling the housework for my in laws, cooking, cleaning, meal prep, groceries which made it hard to sit down for more than an hour before something came up, then around 11pm start working on feature work for the super fast moving startup.&lt;/p&gt;

&lt;p&gt;I'd stay up until 3-4am, trying get features out, or bugs fixed, then sleep until 8am, and repeat the next day.&lt;/p&gt;

&lt;p&gt;I am grateful I was able to help, comfort, and mostly &lt;em&gt;BE&lt;/em&gt; there for my in laws when they needed it. I come to tears still thinking of that time, and as I type this.&lt;/p&gt;

&lt;p&gt;But in the end, the cancer won, and in mid-March we lost an strong, stable, rock in our lives. &lt;/p&gt;

&lt;p&gt;I still don't know how we managed, but we did somehow. &lt;/p&gt;

&lt;p&gt;With her death, we continued the back and forth travel arrangement, to help out, to comfort, to just be there, and it was 100% worth all the money, time, stress spent doing it. &lt;/p&gt;

&lt;h2&gt;
  
  
  Life
&lt;/h2&gt;

&lt;p&gt;In February 2018, while we were hopping back and forth between Florida and NC, we got pregnant. I still think this is amazing considering the stress and grief we were dealing with, but life finds a way.&lt;/p&gt;

&lt;p&gt;Somehow my in-laws, with my mother in law getting weaker by the day, made the trip up to NC during the first week of March to visit for my wife's birthday. During their short trip here, we were able to share the first audible heartbeat of our son with my mom. I'll remember her reaction forever.&lt;/p&gt;

&lt;p&gt;In October 2018, our son was born. &lt;a href="https://twitter.com/search?q=%23life" rel="noopener noreferrer"&gt;#life&lt;/a&gt;&lt;br&gt;&lt;br&gt;
Needless to say, our life has changed drastically with the new addition.&lt;/p&gt;

&lt;p&gt;Sleep - Nope.&lt;br&gt;&lt;br&gt;
Normal meal times - Naw&lt;br&gt;&lt;br&gt;
Worry - Absolutely&lt;br&gt;&lt;br&gt;
Stress - Aww yeah&lt;br&gt;&lt;br&gt;
Cuteness - You betcha&lt;br&gt;&lt;br&gt;
Endless time to blog/game - What is that?&lt;br&gt;&lt;br&gt;
Have watched X series or Y movie - It's on the list&lt;/p&gt;

&lt;h2&gt;
  
  
  Since
&lt;/h2&gt;

&lt;p&gt;How things pan out is funky. The startup I was at collapsed around the time my son was born, so workloads dropped to a non-existent level, coupled with 2 weeks paternity leave, 2 weeks vacation use, and getting laid off. I had a lot of time in the initial days with our boy home. It was HIGHLY beneficial. I cannot fathom how the hell the house or schedule would have looked without that time to figure out the new lay of the land.&lt;/p&gt;

&lt;p&gt;We're still figuring out how this growing boy's life changes fit into ours, but it's gotten better. &lt;/p&gt;

&lt;p&gt;I started in January at another startup, again with some old co-workers from the 9 year position, and it's been great so far.&lt;/p&gt;

&lt;p&gt;I've been mostly active on &lt;a href="https://twitter.com/PatrickHyatt" rel="noopener noreferrer"&gt;Twitter&lt;/a&gt; for better or worse, but have neglected this amazing empty blog.&lt;/p&gt;

&lt;p&gt;No more I say. NO MORE.&lt;/p&gt;

&lt;p&gt;I hope to bring &lt;del&gt;sexy&lt;/del&gt; something back.&lt;/p&gt;

&lt;p&gt;Thanks again,&lt;br&gt;&lt;br&gt;
Patrick&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Life costs</title>
      <dc:creator>Patrick Hyatt</dc:creator>
      <pubDate>Sun, 05 Feb 2017 23:30:00 +0000</pubDate>
      <link>https://dev.to/pathyatt/life-costs-31nm</link>
      <guid>https://dev.to/pathyatt/life-costs-31nm</guid>
      <description>&lt;h2&gt;
  
  
  Nothing in life is free
&lt;/h2&gt;

&lt;p&gt;You’ve heard that saying before. Usually by some older person, about some topic that may have seemed irrelevant, but all I can say is it is true. The damn saying is true.&lt;/p&gt;

&lt;p&gt;As I age, now 35 years old at the time of this writing, I apply and say this saying in my head all the time. I wrote it off as unwarranted “wisdom” in my youth. Or as I started understanding politics, I wrote it off as political BS. But the saying and its application applies to everything in your life.&lt;/p&gt;

&lt;p&gt;Another way I phrase it to myself, or unfortunate others I yap with is:&lt;br&gt;&lt;br&gt;
&lt;strong&gt;At what cost&lt;/strong&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  How does it apply?
&lt;/h2&gt;

&lt;p&gt;Let me provide some examples of how it this applies to areas that seemingly it does not.&lt;/p&gt;

&lt;h3&gt;
  
  
  Gaming
&lt;/h3&gt;

&lt;p&gt;I’m a gamer, my wife would say I’m addicted, and I easily get pulled into playing video games for hours on end. I have gamed most of my life, Commodore 64 to now yo, but what am I paying here?&lt;/p&gt;

&lt;p&gt;Time.&lt;/p&gt;

&lt;p&gt;The time here is time I could spend with my wife, I could spend on this blog, I could spend fixing that clogged sink I always bitch about. Like a lot of great things, time is limited.&lt;/p&gt;

&lt;h3&gt;
  
  
  Love
&lt;/h3&gt;

&lt;p&gt;From a monetary POV, love is free. No argument here. But it still costs time, usually lots of it. It costs attention, focus, caring and a whole sleuth of other emotions. But it also costs cold hard cash also, maybe not a lot, but some.&lt;/p&gt;

&lt;p&gt;You’re likely going to visit the new love interest, since you do not live together at the start right?&lt;br&gt;&lt;br&gt;
Transportation costs.&lt;/p&gt;

&lt;p&gt;What are you guys going to do together?&lt;br&gt;&lt;br&gt;
Entertainment costs.&lt;/p&gt;

&lt;p&gt;You’ve got to eat, and even if it is home cooked you’re increasing the amount +1.&lt;br&gt;&lt;br&gt;
Food costs.&lt;/p&gt;

&lt;p&gt;So while romantics say love is free, it is not. It costs something, usually multiple somethings.&lt;/p&gt;

&lt;h3&gt;
  
  
  Work
&lt;/h3&gt;

&lt;p&gt;Taking that high paying job in that other state, WOOT. Forgoing the obvious costs of moving your stuff, transportation of yourself, what else is there?&lt;/p&gt;

&lt;p&gt;You’re likely moving away from someplace that you have established relationships (friends, family, coworkers). Those relationships will suffer, degrade or at least change. You’re no longer next door to Mr. Glenn, so there is no more yapping while taking care of the yard. Mom is no longer home all day to hear you complain about how professor Joe Bob marked you down on the quiz.&lt;/p&gt;

&lt;h3&gt;
  
  
  Work
&lt;/h3&gt;

&lt;p&gt;Time &amp;amp; effort at the office and in the home is time and effort not spent elsewhere. Working from home exacerbates this. While you’re thinking of the best way to approach that API integration, you’re not thinking about Geordi’s (the family cat) flea medications, or listening to what your loved one is really saying. You hear it all, but to listen to it is different, and is blocked by the work churning.&lt;/p&gt;

&lt;p&gt;Not to count the time, effort, stress, and monetary costs of commuting.&lt;/p&gt;

&lt;h3&gt;
  
  
  Politics
&lt;/h3&gt;

&lt;p&gt;This is a fairly obvious one. My political beliefs aside, legislation for or against something has positives for some, and negatives for others. That balance is important and very much missed it seems. Senate just passed bill &lt;em&gt;X&lt;/em&gt; that reduces taxes on those in the &lt;em&gt;Y&lt;/em&gt; brackets. Ask yourself At what cost? Money from those taxes were used somewhere, now it is gone. Something is getting cut, right?&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do?
&lt;/h2&gt;

&lt;p&gt;This entry is more for me to rant on something that pops up for me more and more. It is a plea for you, the reader, to put some more rational thought behind the decisions you make. We make so many decisions in a day, and more often than not they’re the go-to decisions, the standards. But try asking yourself, “at what cost” for some of the larger decisions you make.&lt;/p&gt;

&lt;p&gt;Recently, a close friend’s father died fairly suddenly. There were some issues between them and they were not too close. But talking with him about it, the first thing he said was he wished was that he saw his father just once more before he died.&lt;/p&gt;

&lt;p&gt;This is a worst case scenario, I admit, with someone permanently disappearing from your life. But as I pointed out above, some of the seemingly simplest decisions or approaches we take &lt;strong&gt;COULD&lt;/strong&gt; cost us elsewhere.&lt;/p&gt;

&lt;p&gt;Remember,&lt;br&gt;&lt;br&gt;
&lt;strong&gt;At what cost&lt;/strong&gt;&lt;/p&gt;

</description>
    </item>
    <item>
      <title>I made the web better today, you can too.</title>
      <dc:creator>Patrick Hyatt</dc:creator>
      <pubDate>Sat, 11 Jun 2016 07:11:27 +0000</pubDate>
      <link>https://dev.to/pathyatt/i-made-the-web-better-today-you-can-too-17hf</link>
      <guid>https://dev.to/pathyatt/i-made-the-web-better-today-you-can-too-17hf</guid>
      <description>&lt;p&gt;A long while ago, say 5 years back, on the way home from a work trip from Bellevue, WA I purchased a book before getting on my flight. Thanks to the company’s (now under a different name) liberal education policy regarding technical books, it was on them.&lt;/p&gt;

&lt;p&gt;The book I purchased, after some internet sleuthing on “good books for developers” or a similar keyword setup, was this guy:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.amazon.com/gp/product/0321965515/ref=as_li_tl?ie=UTF8&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=0321965515&amp;amp;linkCode=as2&amp;amp;tag=papa00-20&amp;amp;linkId=d1e6c449884cd6257cb3f746d39a3f07" rel="noopener noreferrer"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This book goes over good design, and it has been long enough that I can’t recall other good bits about it (sorry Steve!). But on the flight from Bellevue back to D.C. I devoured this book. For a technical-ish book, this was the fastest read for me to this day. One section in the book stands out immensely and had from that point on, always stood out for me, which was “Accessibility and you” (3rd edition, 2nd edition it was “Accessibility, Cascading Style Sheets, and You”) where the author details various practices or attributes to use to help make web pages you’re working on accessible to those with some kind of disability.&lt;/p&gt;

&lt;p&gt;To quasi-quote from a 5 year old memory bank, “Accessibility is not the law now, but it will be” was another line that stuck out, because it is true. If you know a tornado of work is coming, why wouldn’t you get ahead of it?&lt;/p&gt;

&lt;p&gt;To brag a bit here, I went to Google I/O this year, on my own dime, thanks company? and went to a session on accessibility. Some of the statistics were amazing, 1 in 5 folks (US based) using the internet have some type of disability, for those that like statistics, thats 20% yall. I reckon that if you work for a company, some subset of your user base has a disability and would love the option of navigating your elephant ear recipe site using a screen reader, or without squinting.&lt;/p&gt;

&lt;p&gt;So, reigning in this mind dump of typing. How, Pat, did you make the internet better?&lt;/p&gt;

&lt;p&gt;At Google I/O one thing kept popping up that the company is pushing, is Accelerated Mobile Pages, AMP for short, which is a technology that enforces really strict web design guidelines and adds in a few custom HTML elements, that the underlying code optimized for delivery. For those with Android based phones, if you visit your News and Weather application, those little lightning bolts with AMP next to them indicates web pages that are using AMP. In fact, newer pages on this blog are using it, it is fast.&lt;/p&gt;

&lt;p&gt;One of my more recent posts, &lt;a href="///2016/03/01/i-just-paid-70-for-pjs.html"&gt;I just paid 70 for pjs&lt;/a&gt; , has an Instagram image, which AMP requires a special element for, &lt;code&gt;&amp;lt;amp-instagram&amp;gt;&lt;/code&gt;. I got on a accessibility kick one night, trying to make this very site more if not most accessible using &lt;a href="http://khan.github.io/tota11y/" rel="noopener noreferrer"&gt;tota11y&lt;/a&gt;. The constant error coming up, &lt;code&gt;img&lt;/code&gt; tag does not have an &lt;code&gt;alt&lt;/code&gt; attribute. Easy peasy right? Just add an &lt;code&gt;alt&lt;/code&gt; attribute on the &lt;code&gt;&amp;lt;amp-instagram&amp;gt;&lt;/code&gt; element and we move on.&lt;/p&gt;

&lt;p&gt;Nope. Damn. AMP validation kicks off that the alt tag is not allowed. (Non-Pro but documented tip: For an AMP enabled page add #development=1 on the URL, and view the console for errors)&lt;/p&gt;

&lt;p&gt;Oh damn.&lt;/p&gt;

&lt;p&gt;Enter &lt;a href="https://github.com/ampproject/amphtml/pull/3520" rel="noopener noreferrer"&gt;PR of the century*&lt;/a&gt; Open source allows you to fix stuff, and possibly get it in the final project, no matter how big or small the project is. I did say this was one of Google’s flagship products right? Like incredibly pushed at Google I/O?&lt;em&gt;*for me at least&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;So I was able to identify a missing problem, that affected up to 20% of US internet users, with one of the largest tech companies in the world. Hows that feel?&lt;/p&gt;



&lt;p&gt;Indeed…&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Be Humble</title>
      <dc:creator>Patrick Hyatt</dc:creator>
      <pubDate>Wed, 30 Mar 2016 06:16:00 +0000</pubDate>
      <link>https://dev.to/pathyatt/be-humble-29mk</link>
      <guid>https://dev.to/pathyatt/be-humble-29mk</guid>
      <description>&lt;p&gt;Using the poorly referenced dictionary patrickhyatt.com&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;Humble (adjective) :&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;To keep oneself below the their own egos growth.&lt;/li&gt;
&lt;li&gt;To not be a dick, to not belittle&lt;/li&gt;
&lt;/ol&gt;
&lt;/blockquote&gt;

&lt;p&gt;Programming, or programming in the business realm at least, has a tendency to generate highly skilled individuals, that master an area of knowledge.&lt;/p&gt;

&lt;p&gt;Lets take a look at two completely made up examples: Sally, the quality assurance engineer, that sits in the back and has been around for a few years. She &lt;em&gt;owns&lt;/em&gt; the application that processes credit cards and refunds. She knows she owns it. There is honestly nobody left in the company that has any knowledge of the product, but her.&lt;/p&gt;

&lt;p&gt;Jorge, the quiet developer, that barely speaks louder than the whisper of a feather that falls. Jorge is &lt;em&gt;the&lt;/em&gt; guy to to go to with SQL issues. He previously worked at Oracle and knows all kinds of performance tweaks and shortcuts.&lt;/p&gt;

&lt;p&gt;Approach both with a question in their area of ownership/expertise.&lt;/p&gt;

&lt;p&gt;How do they respond?&lt;/p&gt;

&lt;p&gt;Sally&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Oh, hey, yeah that exception with the credit card submission, that does look like a problem. I can’t believe we missed that! Send me a copy of the exception and I’ll see if I can reproduce it so we can isolate the issue and get out a fix.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Jorge&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;“Interesting. Definitely not me, that is too amateur of a bug. I think that was Alex’s, but he left the company.”&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h3&gt;
  
  
  Q1. Who would you rather work with?
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Q2. Which response fosters better learning?
&lt;/h3&gt;

&lt;h3&gt;
  
  
  Q3. Which person has interest in the ultimate goal?
&lt;/h3&gt;

&lt;p&gt;The field really does not matter, but in the field we work being historically more introverted/shy people, this stuff is poison. It will slowly kill off any interaction between important knowledge bases. Who wants to talk to Jorge, if every time something goes wrong he will very likely push you onto a non-available ex-employee, that helps none.&lt;/p&gt;

&lt;p&gt;Personally, I try to help everyone that gets the urge to ask me. Especially if it is an area of code that I wrote or modified heavily. If I touched it, I immediately assume I introduced the issue. Assume it is in fact my bug/issue that a fellow developer or QA member is reporting. And as a result of owning that, it’s my responsibility to help get it addressed.&lt;/p&gt;

&lt;p&gt;This can obviously be huge interrupt to my own tasks. I mean Bernie Sanders HUUUUUUGE (just in time for election season..). However, I strongly believe that most success comes from working with each other and getting through issues as a team/company. I do not know who to attribute my approach to really. Maybe it’s I am the &lt;a href="http://blog.codinghorror.com/why-im-the-best-programmer-in-the-world/" rel="noopener noreferrer"&gt;best programmer in the world&lt;/a&gt;, or maybe it’s because &lt;a href="http://www.hanselman.com/blog/ImAPhonyAreYou.aspx" rel="noopener noreferrer"&gt;I’m a phony&lt;/a&gt;. You can make that decision.&lt;/p&gt;

&lt;p&gt;This sounds so corporate team builder-ish, but it is not even close. Forget the trust drop, or sinking a hole-in-one, or building the highest paper tower. These things emulate work, but everyone understands that after exercise is over, you all go back to your holes and never work with the group again.&lt;/p&gt;

&lt;p&gt;Take a slice of humble pie, choke it down. It may seemingly suck, but it sucks as an individual, and rarely are you an individual when it comes to success.&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
