Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Ep720 Wolfram Language, Advent of Code 2025, Day 1

Автор: Xah Lee

Загружено: 2025-12-08

Просмотров: 275

Описание:

Video Summary (Generated by AI, Edited by Human.)

This video, "Ep720 Wolfram Language, Advent of Code 2025, Day 1," features Xah Lee attempting to solve Day 1 of the Advent of Code 2025 puzzle using Wolfram Language (0:09).

Key points of the video include:

Introduction to Wolfram Language: Xah Lee introduces the Wolfram Language as a highly advanced programming language and mentions his extensive tutorials and resources for it (1:34-2:08). He also touches upon using Emacs with Wolfram Mode for coding (2:15-2:27).

Advent of Code Problem Description: The puzzle involves a safe with a dial numbered 0-99. The dial starts at 50, and a sequence of left (L) or right (R) rotations is provided. The challenge is to find the "password," which is the number of times the dial points to zero after any rotation in the sequence (3:08-14:16). A significant portion of the video is spent clarifying the ambiguous phrasing of the problem statement, particularly the term "left pointing at zero" (14:46-19:21).

Problem-Solving Approach:

The numbers 0-99 are arranged in a circle, meaning modular arithmetic (modulo 100) is crucial for calculations (5:53-13:04).

Left rotations are treated as subtraction, and right rotations as addition (9:33-13:04).

The video also discusses extracting the direction (L/R) and the rotation distance from the input strings (37:51-49:23).

Coding in Wolfram Language: Xah Lee demonstrates how to implement the solution using Wolfram Language's features, including StringStartQ for checking the rotation direction and ToExpression for converting the rotation distance from a string to a number (43:08-49:23). He then attempts to use the FoldList function to track the dial's position after each rotation (53:48-53:52, 1:11:27-1:11:31).

Notes at
http://xahlee.info/talk_show/xah_talk...
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.

Ep720 Wolfram Language, Advent of Code 2025, Day 1

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Xah Talk Show Ep721 Wolfram Language, Advent of Code 2025, Day 1, Problem 2

Xah Talk Show Ep721 Wolfram Language, Advent of Code 2025, Day 1, Problem 2

Day 09 - Advent of Code 2025

Day 09 - Advent of Code 2025

advent of code 2025 — day 8

advent of code 2025 — day 8 "playground"

🤷 AI обучен на говнокоде! Разработчиков компиляторов, протоколов и СУБД не хватает, а LLM не может

🤷 AI обучен на говнокоде! Разработчиков компиляторов, протоколов и СУБД не хватает, а LLM не может

ESP32: распознавание речи нейросетью (TensorFlow Lite)

ESP32: распознавание речи нейросетью (TensorFlow Lite)

Мужик украл карася, Муму и Герасим, Участковый Сюткин, У губ твоих конфетный вкус - КВН ДАЛС

Мужик украл карася, Муму и Герасим, Участковый Сюткин, У губ твоих конфетный вкус - КВН ДАЛС

I can prove I’ve solved this Sudoku without revealing it

I can prove I’ve solved this Sudoku without revealing it

«Вот теперь я задумался об эмиграции»: зачем Кремль заблокировал Roblox и как реагируют россияне

«Вот теперь я задумался об эмиграции»: зачем Кремль заблокировал Roblox и как реагируют россияне

ИИ зачем теперь делать музыку? [уЗилок]

ИИ зачем теперь делать музыку? [уЗилок]

Почему я продолжаю говорить по-РУССКИ в УКРАИНЕ? (Особенно в Харькове)

Почему я продолжаю говорить по-РУССКИ в УКРАИНЕ? (Особенно в Харькове)

WHY PASCAL LOST — AND C++ TOOK OVER THE WORLD

WHY PASCAL LOST — AND C++ TOOK OVER THE WORLD

I Built a Commodore 64 Laptop That Never Existed (PI + EMULATION) - The Portable 64 Concept Design

I Built a Commodore 64 Laptop That Never Existed (PI + EMULATION) - The Portable 64 Concept Design

Лучший ПК на Windows – это iMac | Старый моноблок Apple vs мини-ПК на N100

Лучший ПК на Windows – это iMac | Старый моноблок Apple vs мини-ПК на N100

11-летняя девочка поражает своей игрой!  Алиса Генриетта Юнкер - Будущая Звезда Мировых Шахмат!

11-летняя девочка поражает своей игрой! Алиса Генриетта Юнкер - Будущая Звезда Мировых Шахмат!

Япония ПРОТИВ иностранцев? Новые законы и рост цен

Япония ПРОТИВ иностранцев? Новые законы и рост цен

Building the PERFECT Linux PC with Linus Torvalds

Building the PERFECT Linux PC with Linus Torvalds

Телефонные мошенники сами всё рассказали!

Телефонные мошенники сами всё рассказали!

i think this is what AI should look like

i think this is what AI should look like

This is not a Framework Laptop

This is not a Framework Laptop

Куда исчезает пространство, если уменьшить его до Планковской длины?

Куда исчезает пространство, если уменьшить его до Планковской длины?

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]