Uploads from Xah Lee

Watch and track your favorite playlist.

Curated by: Xah Lee (847 videos)


Currently Playing: Xah Ep749 Wolfram Language, Advent of Code 2025, Day 8

Video Summary (Generated by AI, Edited by Human.) • The video, titled "Xah Ep749 Wolfram Language, Advent of Code 2025, Day 8," focuses on the speaker's attempt to solve an Advent of Code 2025 problem, specifically Day 8, using Wolfram Language. • Here's a breakdown of the key topics: • intro (0:02-1:51): greets audience and intro topic, showing his keyboard setup (Ultimate Hacking Keyboard, trackball, Logitech) and mentioning my reviews. Side note: frustration with Windows' auto-snap-window feature. • Advent of Code Website Criticism (2:01-2:28): dislike for the Advent of Code website's design, its fixed layout design. The need for horizontal scrolling. • Emacs and Word Wrap Tip (2:32-4:41): He switches to Emacs to read the problem description, demonstrating how to use the word wrap feature (4:31-4:41) for better readability, offering a tip for Emacs users. • Problem Description and Initial Confusion (4:47-13:19): The speaker begins reading the lengthy and, in his opinion, "incomprehensible" and "irrelevant" story behind the Advent of Code problem. The problem involves "junction boxes" in 3D space, which need to be connected by "strings of lights" based on their "straight line distance." He initially struggles to understand the rules of connection and circuit formation. • Combinatorial Analysis of Points (13:53-20:00): The speaker delves into the mathematical aspect of the problem, discussing how many possible pairings of points (junction boxes) exist. He calculates that for 20 points, there are 190 possible distances to measure, which he considers "not too bad" for brute force. He then estimates that for his personal input of 1,000 points, there would be approximately 500,000 pairings (20:10-20:30). • Audience Interaction and Digression (20:30-22:10): He greets viewers and briefly digresses into a discussion about the origins of some audience members (Scandinavia and India). • Continued Problem Interpretation (22:10-48:19): The speaker continues to grapple with the problem's mechanics, particularly the concept of "circuits" and how connections affect them. • Problem Analysis and Plan (48:20-56:00): The speaker finally articulates a clear understanding of the problem's two main parts: • Finding the top 1,000 shortest distances among all points. • Connecting these points based on these distances, forming "disjoint graphs" (or circuits as the problem defines them), and then multiplying the sizes of the three largest circuits. He considers the problem "not easy" and plans to solve it the next day. • Wolfram Language and Graph Theory (56:00-1:01:28): He briefly explores Wolfram Language's capabilities for graph theory, suggesting that built-in functions might simplify the solution. He then focuses on the distance formula for 3D coordinates and considers the feasibility of processing 500,000 distance calculations and sorting them, also musing on browser limitations when dealing with large arrays. Notes at http://xahlee.info/talk_show/xah_talk_show_ep749.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