Stephen Charles Weiss

Stephen Charles Weiss @stephencweiss

About: Engineer | Lover of dogs, books, and learning | Dos XX can be most interesting man in the world, I'm happy being the luckiest. | I write about what I learn @ code-comments.com

Location:
Chicago, IL
Joined:
Aug 28, 2018

Stephen Charles Weiss
articles - 86 total

AWS IAM In 30 Seconds

Preamble: I am exploring different areas of AWS and am finding the jargon overwhelming. To help myse...

Learn More 5 0May 30 '20

Configuring The AWS CLI

Prerequisites Before we can configure the AWS CLI, we need to gather a few pieces of infor...

Learn More 5 0May 30 '20

Memoization: A Primer

Preamble I’ve been spending more time with them lately as a way to remind myself of some o...

Learn More 13 0Mar 13 '20

Global Themes, Variants, And Modes With Styled-Components

If I were to list my strengths, web design wouldn’t top the list. None the less, I like learning abou...

Learn More 1 0Apr 10 '20

Another Angle To Understand Global State With React: Next.js

Recently, I was playing around with Next.js (simply referred to as Next from here on) to see how a fr...

Learn More 11 0Mar 21 '20

Git Commit Archeology: Digging In With Grep And Pickaxe

In his talk “A Branch In Time” (which I wrote about previously), Tekin Süleyman discussed how an engi...

Learn More 5 0Mar 13 '20

Building an XKCD Daily Digest

I love Randall Munroe’s XKCD, but going to his site every day is potentially problematic because it’s...

Learn More 21 5Jan 26 '20

Node Version Management... Automatically

NVM, the Node Version Manager, is an invaluable tool when working on multiple node projects. Instead...

Learn More 6 0Feb 26 '20

Locate Files Quickly On Your Computer

I was looking to find all instances of Postgres the other day in order to check the version. A web se...

Learn More 6 0Jan 26 '20

Marty Cagan on Rewrites, Headroom, And 20%-Time

In 2007, Marty Cagan wrote a blog called “Engineering Wants to Rewrite!”. It’s a good example of how...

Learn More 4 0Feb 11 '20

GraphQL Fragments: Reuse and Variables

After thinking more about Lee Byron’s talk and some of the uses for fragments1, I still had some ques...

Learn More 21 1Jan 16 '20

Fixing My Embargo: Setting up a Cron Job

I wrote previously about setting up a simple embargo on my Gatsby site in the past. Even when I first...

Learn More 4 0Feb 19 '20

Updating A Homebrew Cask

I recently started using FSNotes, an open source notes manager for MacOS and iOS. It’s been amazing...

Learn More 6 0Jan 23 '20

Collaboration, Local Development, (Secret) Environment Variables, and NPM

At Remine, we have a shared UI library, repaint. Recently, I had the opportunity to upgrade our icon...

Learn More 9 0Jan 7 '20

Shell Scripts: How To Run Them

I am constantly striving to improve my understanding and comfort interacting with my terminal. I reme...

Learn More 9 0Dec 16 '19

Postgres Tuples Only

If you’re just learning how to use Postgres from the terminal (as I am), sometimes you click the wron...

Learn More 13 2Nov 26 '19

Converting Synchronous Code to Asynchronous

I often find myself looking up patterns for converting synchronous code into async variants in Javasc...

Learn More 24 0Dec 19 '19

Polymorphic Presentations With Styled-Components

Let’s say we’re building a simple web form with a twist: we want the submit to only appear if all of...

Learn More 7 1Jan 16 '20

NPM - Cannot read property "match" of undefined

When trying to run an npm command, you can’t install the packages, you may get the error: stephen...

Learn More 16 6Dec 17 '19

UseReducer With Typescript

When does it make sense to use a reducer vs a simple state value with React’s Hooks? There’s no hard-...

Learn More 48 5Nov 2 '19

Typescript’s Omit: Pick’s Mirror

I’ve written in the past about the benefits of Pick in writing better interfaces with Typescript. To...

Learn More 6 1Dec 17 '19

Gatsby & A (Simple) Publishing Embargo

Imagine you have a website, like this one, that aims to publish regularly. You’re not a big publicati...

Learn More 10 0Nov 13 '19

Named Anchors & Markdown

When writing longer files in Markdown, I find it useful to create links within the document to help r...

Learn More 27 4Dec 8 '19

Gitlab Description Templates

We use templates to help write descriptive tickets or MRs on various projects at work.1 Then I starte...

Learn More 12 1Nov 10 '19

Supporting Submit On Enter

When asking users for their input, it’s often a pleasant user experience to allow them to submit the...

Learn More 8 0Oct 14 '19

Swapping Array Elements In Place, Destructuring, and Automatic Semicolon Insertion

About a year ago, I learned about bitwise operators and using them to swap elements of a list in plac...

Learn More 7 0Oct 9 '19

Masking Inputs And More Ref Fun

In learning about Auto-Complete In HTML Forms, I discovered that the type of an <input> makes c...

Learn More 7 0Oct 15 '19

Validating Social Security Numbers

I continue to be enamored with the power of regular expressions — a feeling that only grows the more...

Learn More 9 2Oct 3 '19

Auto-Complete In HTML Forms

Starting around 2015, browsers started treating the attribute autocomplete on <input> fields di...

Learn More 10 2Oct 30 '19

Web-Safe Fonts and Font Fallbacks

Today, I had a colleague mention that the font we are using is “web-safe” in response to why it was s...

Learn More 11 0Oct 10 '19