Python Reference for JavaScript Developers

"a python that has keys of a keyboard on it and hands typing on the keys, anime" DALL-E I've known python for quite some time, but rarely use it. As clients are moving more and more into using OpenAI, some are preferring to leverage python over Java or JavaScript. As a seasoned JavaScript developer, I... Continue Reading →

Advent of Code 2022 is here!

The awesome Advent of Code is back for 2022! You can follow along on my github repo or follow on Twitter or Mastodon. Check out my finished Advent of Code solutions here. You can plug in your own puzzle inputs and find your own answers too! This year, I'll be doing my puzzles in React... Continue Reading →

April Fools with these terrible NPM packages

NPM, hosted at npmjs.com, is a repository for storing open-source libraries, frameworks, and packages that anyone can publish to, and anyone can download from. This has great packages in it like ReactJS, Okta, DataDog, Material, Luxon, and many, many more. However, there's also garbage in here. There are some really terrible NPM packages out there... Continue Reading →

Keeping React component’s state top of mind

I'm impatient I've done this too many times: // api call to get the contact Luke Skywalker // process a little data return ( <Card> <Card.Title>{person.name}</Card.Title> </Card> ) just to get a lovely Can't read property 'name' of undefined error. Yuck. I fire up the dev console... Network tab, is the API returning data? ✅.... Continue Reading →

Style up your console.logs

This is nothing new, but something I only recently started doing. Ya know those console.logs you're using in your JavaScript code? Did you know you can style them in the dev toolbar? YA! In both your browser console and nodejs! Styling the browser console It's really that simple! Throw a %c in your console.log message,... Continue Reading →

Advent of Code, Day 25

The last and final day of Advent of Code is here! What a great ride! I'll share my thoughts of this experience in a subsequent post soon. Day 25: Combo Breaker Part I Working with a security key card, and some sniffing on what's going on between the key card and to door, I have... Continue Reading →

Up ↑