David Walsh Blog

  • By

    Script & Style Show: Episode 1: Marc Grabanski

    On this second episode of the Script and Style show, Todd and I welcome Marc Grabanski of Frontend Masters.  After commiserating over home automation madness, we asked Marc about how he got started in the web industry, his first jobs, his entrance in to the...

  • By
    How to Create a Twitter Bot with Node.js

    Twitter bots have been in the news over the past few years due to election meddling, not only in the United States but stretching across the globe.  There are, however, good and logical reasons for creating Twitter bots.  In order to see how easy it was...

  • By
    Script & Style Show: Episode 0: “Origins”

    Today was an incredibly important and proud day for me:  Todd Gardner of TrackJS and I debuted the Script and Style Show on YouTube.   This live show will serve as an awesome opportunity to discuss the current landscape of web development and will allow...

  • By
    Find Empty Files and Directories from Command Line

    If you are anything like me, you like to keep your projects as tight as possible.  By "tight" I mean no lingering, useless files or directories, because bloat is an incredible annoyance and distraction.  And we don't want distractions, do we? There's a really easy way to...

  • By
    Enhanced Email Validation with mailboxlayer

    Validation is an important part of managing any data you receive, especially when it comes to web forms.  If you really want to be secure with the data, you use HTML5 validation rules, JavaScript validation, and then the most importantly layer, the server-side layer.  Even...

  • By
    O’Reilly Fluent Conference – San Jose – Discount and Giveaway!

    O'Reilly's amazing Fluent Conference is coming back to San Jose, CA this June 11th-14th.  Fluent is a special conference for web developers looking to harden their skills, learn about what's coming in the web world, and to hear from industry leading developers from Mozilla...

  • By
    Using Storybook with Nuxt

    Nuxt.js has been a lot of fun to use in production web apps and side projects. It's simple, fast, and seems very in line with web standards when it comes to creating components, importing plugins, etc. Equally as exciting has been the rise of...

  • By
    Better Node.js Console Dumps with console-probe

    Writing JavaScript in the Node.js environment has always felt a bit more difficult; probably because browser developer tools have become incredibly powerful, interactive, and visually appealing.  Using console.log on the client side isn't the best of experiences and obviously isn't interactive. Though not interactive, I've found that

  • By
    How to Recover Bitcoin Gold

    Every fork of Bitcoin brings uncertainty.  Uncertainty of value change, long term commitment of the fork, and how value may fluctuate over time.  For us Bitcoin owners, one of the big challenges if figuring out how to claim and recover the forked coin.  Remember that when...

  • By
    How to Create and Manage CRON Jobs

    Interval or scheduled task execution is used all over computer science, the most obvious use case being transaction batching.  For web developers like myself, the most obvious use case is executing CRON jobs for this blog, including polling for scheduled blog post publishing and a variety...

Popular Features

  • By
    How to Create a RetroPie on Raspberry Pi – Graphical Guide

    Today we get to play amazing games on our super powered game consoles, PCs, VR headsets, and even mobile devices.  While I enjoy playing new games these days, I do long for the retro gaming systems I had when I was a kid: the original Nintendo...

  • By
    Conquering Impostor Syndrome

    Two years ago I documented my struggles with Imposter Syndrome and the response was immense.  I received messages of support and commiseration from new web developers, veteran engineers, and even persons of all experience levels in other professions.  I've even caught myself reading the post...

  • By
    Being a Dev Dad

    I get asked loads of questions every day but I'm always surprised that they're rarely questions about code or even tech -- many of the questions I get are more about non-dev stuff like what my office is like, what software I use, and oftentimes...

  • By
    JavaScript Promise API

    While synchronous code is easier to follow and debug, async is generally better for performance and flexibility. Why "hold up the show" when you can trigger numerous requests at once and then handle them when each is ready?  Promises are becoming a big part of the JavaScript world...

  • By
    7 Essential JavaScript Functions

    I remember the early days of JavaScript where you needed a simple function for just about everything because the browser vendors implemented features differently, and not just edge features, basic features, like addEventListener and attachEvent.  Times have changed but there are still a few functions each developer should...

  • By
    I’m an Impostor

    This is the hardest thing I've ever had to write, much less admit to myself.  I've written resignation letters from jobs I've loved, I've ended relationships, I've failed at a host of tasks, and let myself down in my life.  All of those feelings were very...

  • By
    fetch API

    One of the worst kept secrets about AJAX on the web is that the underlying API for it, XMLHttpRequest, wasn't really made for what we've been using it for.  We've done well to create elegant APIs around XHR but we know we can do better.  Our effort to...