atlas news
    
David Walsh
25  mars     21h50
Get Started in AI and NFTs with the Limewire API (Sponsored)
David Walsh    AI media creation has expanded to incredible video art and a host of other important improvements, and LimeWire is leading the way in creating an awesome interface for the average user to become an AI artist. Limewire has just released its Developer API, a method for engineers like us to create...
18  mars     13h00
I’m So Old: Web Edition
David Walsh    Time can be a funny thing. I still remember discovering HTML, CSS, and JavaScript coding. I still remember my first college programming course. I still remember my first day at my first coding job, then my first day at my second coding job, and then my first day at Mozilla. I still remember my...
06  février     10h33
Detect Caps Lock with JavaScript
David Walsh    Anyone is capable of having their caps lock key on at any given time without realizing so. Users can easily spot unwanted caps lock when typing in most inputs, but when using a password input, the problem isn’t so obvious. That leads to the user’s password being incorrect, which is an annoyance....
05  février     11h28
How to Override width and height HTML attributes with CSS
David Walsh    One of the HTML elements that frequently comes into collision with CSS is the img element. As we learned in Request Metrics’ Fixing Cumulative Layout Shift Problems on DavidWalshBlog article, providing image dimensions within the image tag will help to improve your website’s score. But in a world...
24  janvier     11h56
Fixing Cumulative Layout Shift Problems on DavidWalshBlog
Todd Gardner    Over thousand developers visit DavidWalshBlog every month from around the world to learn JavaScript tricks and fix problems in their code. Unfortunately, some of them have a slow experience on the site. David tracks the performance of his Core Web Vitals and overall performance with Request...
17  janvier     12h06
Date.now()
David Walsh    Ask any software engineer and they’ll tell you that coding date logic can be a nightmare. Developers need to consider timezones, weird date defaults, and platform specific date formats. The easiest way to work with dates is to reduce the date to the most simple format possible usually a timestamp...
16  janvier     11h48
Extract a Number from a String with JavaScript
David Walsh    User input from HTML form fields is generally provided to JavaScript as a string. We’ve lived with that fact for decades but sometimes developers need to extract numbers from that string. There are multiple ways to get those numbers but let’s rely on regular expressions to extract those numbers To...
15  janvier     11h08
Thoughts on Streaming Services: 2024 Edition
David Walsh    Streaming services have revolutionized content delivery, sending linear media companies into a panic as they watch traditional cable services decay. Cutting the cord is a common practice these days, but the streaming landscape isn’t perfect. We’re a decade into streaming so I wanted to share my...
18  décembre     11h55
AutoGrow Textareas with CSS
David Walsh    As the demands of the web change and developers experiment with different user experiences, the need for more native language improvements expands. Our presentation layer, CSS, has done incredibly well in improving capabilities, even if sometimes too slow. The need for native support for...
28  novembre     00h35
How to Play Grand Poo World 3
David Walsh    The underground world of creating and streaming Super Mario World based ROM hacks continues to gain popularity. This popularity is a tribute to the creativity of gamers and the quality of the original year old video game’s mechanics. Over the past decade, incredible ROM hacks like Grand Poo...
28  octobre     18h54
How to Get the Current Branch Name with git
David Walsh    Most developers spoil themselves with fun command line utilities to make their work easier and more efficient. One such command line helper allows developers to always show the git branch in the command line. How can you get the current branch With this handy snippet: git branch show current It...
23  octobre     11h33
AutoSave with VSCode
David Walsh    Visual Studio Code has taken the crown of most used text editor, at least in JavaScript spheres. VSCode is fast, feature filled, and supports thousands of plugins to boost productivity. Developers can also tweak hundreds of settings to enrich functionality. One such feature is the autoSave feature....
02  octobre     13h37
How to Detect Failed Requests via Web Extensions
David Walsh    One of the best things that ever happened to t he user experience of the web has been web extensions. Browsers are powerful but extensions bring a new level of functionality. Whether it’s crypto wallets, media players, or other popular plugins, web extensions have become essential to every day...
22  septembre     00h35
Welcome to the New LimeWire: AI Media Generation (Sponsored)
David Walsh    LimeWire was a staple of my youth. LimeWire was software that allowed users to share any type of file during the revolutionary days of file sharing. Fast forward to today and LimeWire is back, again as revolutionary software, but this time in the field of AI content publishing. From creating images...
12  septembre     10h54
Unveiling 15 Essential Tools & Resources for Web Designers and Agencies in 2023 (Sponsored)
David Walsh    You’ve visited countless websites, and now you’re designing your own. Stop and think for a minute about what you’ve liked and didn’t like about some of those you visited. Was it the front page, the layout in general, or the functionalities that either met with your satisfaction or turned you off ...
07  septembre     02h06
Sum an Array of Numbers with JavaScript
David Walsh    It’s rare that I’m disappointed by the JavaScript language not having a function that I need. One such case was summing an array of numbers I was expecting Math.sum or a likewise, baked in API. Fear not summing an array of numbers is easy using Array.prototype.reduce const numbers ,,,...
14  août     10h08
JavaScript waitFor Polling
David Walsh    As more of the JavaScript developers write becomes asynchronous, it’s only natural to need to wait for conditions to be met. This is especially true in a world with asynchronous testing of conditions which don’t provide an explicit await. I’ve written about waitForever, waitForTime, and JavaScript...
11  août     17h01
queryLocalFonts
David Walsh    One of the larger downloads when requesting a webpage are custom fonts. There are many great techniques for lazy loading fonts to improve performance for those on poor connections. By getting insight into what fonts the user has available, we can avoid loading custom fonts. That’s where...
07  août     10h42
Use XHR fetch Breakpoints
David Walsh    Web debugging tools are so incredibly excellent these days. I remember the days where they didn’t exist and debugging was a total nightmare, even for the simplest of problems. A while back I introduced many of you to Logpoints, a way to output console.log messages without needing to change the...
17  juillet     10h51
URL.canParse
David Walsh    Parsing of URLs on the client side has been a common practice for two decades. The early days included using illegible regular expressions but the JavaScript specification eventually evolved into a new URL method of parsing URLs. While URL is incredibly useful when a valid URL is provided, an...