Uploads from Xah Lee

Watch and track your favorite playlist.

Curated by: Xah Lee (847 videos)


Currently Playing: Xah Talk Show Ep795. emacs lisp. add width height to html image thumbnails. part 2

Video Summary (Generated by AI, Edited by Human.) In this technical coding session, Xah Lee demonstrates how he updates his massive collection of approximately 10,000 HTML files to include width and height attributes for image thumbnails. This process is intended to prevent cumulative layout shift (CLS), improving webpage stability and performance (0:00-1:55). Key highlights from the session include: • Coding Process: Xah works on updating his icon-linkify Emacs Lisp command (7:12). • He shows several emacs wrappers for commands that get image dimensions across different operating systems—specifically comparing macOS (sips command), Linux (file utility), Windows (PowerShell), and ImageMagick (20:18-28:00). • emacs bug: He tells the story of emacs bug when calculating image sizes natively for certain formats like PNGs (23:36) and discusses the potential for using Python or Go to handle these calculations more reliably (27:15). • Automation: To process his thousands of files, he experiments with keyboard macros in Emacs (43:07) but ultimately concludes that a custom Emacs Lisp script is necessary to automate the bulk update efficiently (56:17). • Rants and Tangents: Throughout the session, he critiques the bloat of modern software tools like ImageMagick (21:28) and takes time to explain computer architecture, specifically the speed differences between L1 cache, RAM, and flash storage/spinning disks (57:27-1:01:36). Notes at http://xahlee.info/talk_show/xah_talk_show_ep795.html If browser says security error, that is because it auto changes URL from HTTP to HTTPS. It's a way to censor 22 million old websites. Remove the S in HTTPS. Or use brave browser or safari.


Tracks in this Playlist

✅ Progress Tracking

Automatically track which videos you have watched. Your completion status is updated at a glance, preventing you from re-watching episodes by mistake.

⏯️ Resume Playback

Never lose your spot. Our custom player remembers your exact video and timestamp, allowing you to dive right back in seamlessly.

📱 Cross-Device Sync

Sync your playlist states, watched progress, and premium preferences across your desktop, laptop, tablet, and mobile phone automatically.

Start Organizing Your YouTube Playlists

Simply paste any YouTube playlist URL or channel link in the application search bar to immediately generate a custom, sorted, and progress-tracked workspace. No registration required to start.

Explore Playlist Guides & How-Tos