Hi, I’m Stephen 👋

Some quick git (and zsh) workflow optimizations

Originally posted on Medium.

I use git a ton in work and my personal life, and have come up with a couple of aliases that have made using it so much more pleasant and fast. First, I’ve renamed git to g. You have no idea how much typing that’s saved me (I also don’t know).

alias g="git"

Aliases

git allows you to alias commands. In the spirit of renaming commands to one character, here are my favorite aliases:

Read more >

I’m against AIs writing blog posts

Originally posted on Medium.

Why do we need AI to write blog posts? There’s been a trend of these AI tools to write things for you:

Imagine you have something to say to people. So you come up with some representation of that thing you want to say; maybe bullet points, maybe a rant, maybe even some markdown stuck in a GitHub repository. Why can’t you just publish that?

Read more >

Frontend developers: stop moving things that I’m about to click on

Originally posted on Medium.

Please. It’s an insult to my brain. Like, you put the button in one place, and then you’re like “nah, let’s move it somewhere else.” Here are some examples that have annoyed me the most lately:

Lyft Bike Scan Button

This one sucks as I’m often opening the Lyft app just to ride bikes. So I immediately hit the bike button and I’m trying to hit the “Scan” button as quickly as possible. But no! Depending on how fast my internet is at the current moment, that banner will appear and push the Scan button up, which means I end up hitting the banner instead 😟; this is often a really frustrating start to my daily commute.

Read more >

Big Rocks

Originally posted on LinkedIn as a meme.

i’ve been thinking about the big rocks every day

for those who don’t know: https://lnkd.in/gZGfgBE9

just the other day, i was at whole foods. and i tried to fit the items into my cute tote bag haphazardly. they didn’t fit!!

but then, i put the straus whole fat milk first. and then the yogurt. and then i put the cheese, and the cute lil snax. i fit everything! the bag was kinda heavy though.

Read more >

Attachment Styles at Work

Originally posted on LinkedIn as a meme.

my friends are all attachment styles this and attachment styles that when it comes to dating. however, has anyone had the brilliant idea of applying attachment styles to working at a tech company? I didn’t think so! now you might be thinking, “hey Stephen isn’t this a bad idea?” and yes, it is. but just like we should all hope to be secure partners in our relationships, we should also possibly strive to be secure capitalistic partners at work.

Read more >

Adopting the OpenAPI schema to generate Plaid’s SDKs

Originally posted on the Plaid Engineering Blog while I was part of Plaid’s Developer Experience Team.

The developer experience team focuses on building tools and features that make it as easy as possible for developers to explore our APIs and integrate with Plaid. This year, our team adopted an OpenAPI schema (OAS) as a specification for our API. We launched this schema in beta earlier this year.

Our team is responsible for maintaining three sources of truth for our API that allow developers to build and test their integrations:

Read more >

Writing ES6 Everywhere

Originally posted on the Mobile Developers of Berkeley blog

This article is going to be a quick intro to the basics of writing modern JavaScript all the time, rather than being dependent on what environment is supported by a given browser.

Intro

First, what is ES6?  ECMAScript 6 is the sixth standardized version of JavaScript, which is ultimately a specification of language features.  ES6 added a ton of really great features that drastically improved the ability to construct larger-scale programs with JavaScript (like constants and block scoping!).  It’s important to note, as ES6 is only a specification, it’s ultimately up to the browsers to provide an implementation for these new features: often, certain browsers lag behind on implementing all these features (i.e. IE).

Read more >

A Quick Dive Into Python’s Slots

Originally posted on Medium.

For my first Medium article, we’re going to go into a quick and easy way to speed up your Python code (and pass those pesky HackerRank tests where you’re just a bit short on time!), as well as some of the technical implementation details for the curious.

__slots__ is an attribute you can add to a Python class when defining it. You define slots with the possible attributes that an instance of an object can possess. Here’s how you use __slots__:

Read more >