dash dash force Misadventures in software engineering

Adding a key:value pair to a list of Javascript objects

A very specific problem with a very convenient solution. My current big project at work is making a prototype webpage in both React.js and Vue.js for the purpose of choosing a long term library for our company UIs. In doing so I had a situation where I needed to add a particular key:value pair to a list of objects (I may reveal my Python side a... Read more

Shoshin 1: body.json() is async

Shoshin (初心). Originates from Zen Buddhism meaning “beginner’s mind.” It refers to having an attitude of openness, eagerness, and lack of preconceptions when studying a subject, even when studying at an advanced level, just as a beginner would. This is going to become a reoccurring series. Those times when my previous expectations and exper... Read more

Changing VSCode's highlighting behavior

You know you’re in deep with a particular editor when you start trying to modify what the double click does. A small thing in VSCode that has always irked me a little bit has been how double clicking a variable like i_am_an_underscored_variable or iAmACamelCasedVariable immediately highlights the whole variable, but if you double click on i-am-... Read more

React Basics: State vs Props

I recently bombed a really easy interview question around React and it has bothered me ever since. The question was simply: “Can you explain to me the difference between State and Props in React?” I had some very surface deep understanding of what was going on with state, enough to scrape together something resembling working code in the past, ... Read more

Five things I use a lot in Visual Studio Code Part 1

I’m a bit of a fanboy of Visual Studio Code. My coworkers are probably sick of me talking about it. The fact is I’m a fanboy of anything that just works and VSCode fits that description well. It’s lightweight, fast, customizable, extendable, and does all the text editing, debugging, and source control management that I as a developer need to do ... Read more