Tag Archives: javascript

Object.assign is pretty rad!

4

It’s come up twice in the last couple of weeks, so I thought it might be a good time for a blog post! Object.assign? Ever passed around an Object and needed to modify a key? But you don’t want that modified object running around and causing other problems? There’s a cool useful web technology for […]

Simple HTTP requests in Node (no packages)

0

This was surprisingly difficult to find, so I’m writing a wee blog post about it! I was working on a project recently (more on that soon!) and didn’t want to have any dependencies because $REASONS. And I needed to make some AJAX requests. Most of the time in Node, it seems that require(‘request’) or another […]

Checking out Create React App: Create React Apps without* Configuration!

1

I’ve recently used the create-react-app package a couple of times and I’m into it! The create-react-app package is an officially supported way to create an app with “a modern build setup with no configuration.” No configuration? Not really … from the user’s perspective, sure, but the configuration is just behind the scenes. Why? Ever thought […]

node-pr-discussion

Your REPL can teach you something

1

I’m so, so excited because a wee change I advocated for has landed in Node. As in, if you download/upgrade your Node install to the stable version, you will see this change. It all started when I saw a friend (shoutout to Mudit, he writes smart things and is awesome) mention the .help option for […]

Firefox extension (jpm) tutorial

9

Earlier this week, I wrote my first Firefox extension, a port of the “Millennials to Snake People” Chrome extension, which you might’ve read about in the Huffington Post, or The Verge, or quite a few other outlets. It simply takes the word “millennials” and re-writes it to “snake people.” It also rewrites quite a few […]

JavaScript Generators in 3 Minutes or Less

0

JavaScript generators are possibly one of the most poorly understood portions of the incoming ES6 JavaScript specification, at least they are for me. In this post, you’ll learn about generators (as they are in JavaScript) from a really quick “what the heck are these” level, with some links at the end if you want more. […]

ForwardJS Logo

Lessons from Forward2 + talk slides

2

Yesterday, I spoke at Forward2 aka ForwardJS, a JavaScript conference in San Francisco. Most of the attendees were local, again affirming my fondness for speaking at regional confs. The organizers made a fantastic line-up (99% of why I accepted an invite to speak there), and I learned a few things that I’ll share here. This […]

What jQuery can teach you about monads

2

As I was laying in a hammock, pondering code, I had a strange thought/realization: jQuery leverages a monadic interface. I’m writing this as a blog post so all my smart functional friends can disagree if I’m completely off base here, but let’s lay this out. Monads can be great for adding safety to your code, […]