Pinchflat

Stop debugging Rust with print statements

Raw Attributes

Source: Let's Get Rusty
  • subtitle_filepaths:
  • source_id: 56
  • original_url: https://www.youtube.com/watch?v=r9DAvRvHWwI
  • last_error:
  • media_filepath: /downloads/chris/tubes/Let's Get Rusty_[UCSp-OaMpsO8K0KkOqyBl7_w]/Season 2026/s2026e102299_Stop debugging Rust with print statements.mp4
  • playlist_index: 1
  • description: 👉Join the Rust Live Accelerator waitlist: https://letsgetrusty.com/join/wv-r9DAvRvHWwI Adding println! can make a Rust concurrency bug seem to disappear. We use an async ticket counter to show how stdout locking changes timing and hides a lost-update race. Then we switch to tracing with a non-blocking writer, use Shuttle to find and replay a failing schedule, and fix the counter with fetch_add. Chapters 0:00 A race condition that println! can hide 2:26 How stdout locking changes task timing 3:10 Logging with a non-blocking tracing writer 3:58 Finding and replaying failing schedules with Shuttle
  • prevent_download: false
  • id: 4216784
  • prevent_culling: false
  • uploaded_at: 2026-10-22T15:00:39Z
  • predicted_media_filepath: /downloads/chris/tubes/Let's Get Rusty_[UCSp-OaMpsO8K0KkOqyBl7_w]/Season 2026/s2026e102200_Stop debugging Rust with print statements.mp4
  • updated_at: 2026-10-23T00:19:52Z
  • culled_at:
  • nfo_filepath: /downloads/chris/tubes/Let's Get Rusty_[UCSp-OaMpsO8K0KkOqyBl7_w]/Season 2026/s2026e102299_Stop debugging Rust with print statements.nfo
  • short_form_content: false
  • media_size_bytes: 14441702
  • inserted_at: 2026-10-23T00:19:33Z
  • upload_date_index: 99
  • title: Stop debugging Rust with print statements
  • metadata_filepath: /downloads/chris/tubes/Let's Get Rusty_[UCSp-OaMpsO8K0KkOqyBl7_w]/Season 2026/s2026e102299_Stop debugging Rust with print statements.info.json
  • livestream: false
  • thumbnail_filepath: /downloads/chris/tubes/Let's Get Rusty_[UCSp-OaMpsO8K0KkOqyBl7_w]/Season 2026/s2026e102299_Stop debugging Rust with print statements-thumb.jpg
  • uuid: 671675ab-381d-4f95-9706-98c2bf672027
  • duration_seconds: 361
  • matching_search_term:
  • media_downloaded_at: 2026-10-23T00:19:48Z
  • media_redownloaded_at:
  • media_id: r9DAvRvHWwI
Worker
State
Scheduled At
Pinchflat.Downloading.MediaDownloadWorker completed