David Walsh Blog

  • By

    Find and Change Default App for File Type from Command Line

    There are few things more frustrating to any computer user than files opening in an unwanted application.  Sure you can use the Open menu item in the desired application but we all just want to double-click a file and see it open in the application we expect. ...

  • By
    Real-time Geolocation & Reverse IP Lookup with ipapi

    There's an incredible amount you can do when you know where your web visitor is located.  You can target advertising to the user, you can load maps of nearby search queries, you can localize website verbiage, you can customize content for their region, etc.  I...

  • By
    Change System Volume from Command Line on Mac OS

    Oftentimes the awesome GUI applications we love are simply gloss over a command line functionality.  While I do love a visual app, it's always good to know how to do things from command line, if only for the sake of automation.  I've covered loads of

  • By
    Script & Style Show: Episode 25: AR, VR, and Mozilla Reality with Chris Van Wiemeersch

    On this episode:  Todd notices what David's been watching on YouTube while logged in as the Script & Style user and David has no defense but loads of embarrassment.  David hurriedly transitions to welcoming guest Chris Van Wiemeersh from Mozilla's Reality team.  Chris enlightens the guys...

  • By
    How to Get and Set CSS Variable Values with JavaScript

    CSS variables are a very welcome addition to the language, despite them being incredibly basic.  Sure we could use SASS or stylus but languages should never count on developers relying on frameworks and toolkits to accomplish what we know we need.  And just like every other...

  • By
    Script & Style Show: Episode 24: Meme Sites, Developing for Fun, and Podcasts with Lemon!

    On this episode: Todd asks David what he wants to be for Halloween and quickly regrets it, while Todd reveals his somewhat controversial costume.  David and Todd then welcome Lemon, an amazing web developer that creates silly but hilarious web games, hosts The FPl.us...

  • By
    Script & Style Show: Episode 23: Blogging, CodePenning, and Podcasting with Chris Coyier

    In this episode:  David kicks off by recounting a heroic (and tiring) sprint across the O'Hare airport to make his flight home from Toronto.  CSS-Tricks scribe Chris Coyier joins Todd and David to discuss CSS-Tricks, CodePen, podcasting, and numerous walks down memory lane.  This episode provides...

  • By
    Team Management with monday.com

    Experimenting with monday.com was an eye-opening experience; I always knew that team management was difficult but it always seemed like you'd need half a dozen pieces of software to bring it all together; think HR, team management, task management, CRM, billing...organization of all of...

  • By
    How to Get Green Blood in PUBG

    My current video game obsession is Player Unknown's Battleground, also referred to as PUBG.  It's an online multiplayer game which drops yourself and 99 others into a single, large map and you battle it out until the last man is standing.  It's frustrating, heart-attack inducing, exciting...it's...

  • By
    Script & Style Show: Episode 22: JavaScript, Mentoring, and Blockchain with Kyle Simpson

    In this episode:  David and Todd discuss the best holiday every:  National Cheeseburger Day.  After the salivation ended, David and Todd welcome Kyle Simpson, aka getify, to the show.  Kyle's a well known JavaScript super hero so we jumped on a variety of topics:  the JavaScript...

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...