We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Debugging Your Code with Data Visualization

00:00

Formal Metadata

Title
Debugging Your Code with Data Visualization
Title of Series
Number of Parts
132
Author
License
CC Attribution - NonCommercial - ShareAlike 3.0 Unported:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal and non-commercial purpose as long as the work is attributed to the author in the manner specified by the author or licensor and the work or content is shared also in adapted form only under the conditions of this
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
Let's face it. Sometimes our code just isn't working how we expect it to work. When this happens, we fall back to our trusty tools to help us debug: pdb, the logging module, or even simple print statements. But sometimes that just isn't enough, we still can't figure out why our code is broken. We need something more. There are a number of fantastic libraries in python for creating data visualizations. These libraries are commonly used for analyzing and visualizing large sets of data, but don't see as much usage when it comes to helping us write and debug our code. What if we could combine the two? What if we could leverage data visualization tools to understand what our program is doing? Sometimes, by seeing a visual representation of what our code is doing, it becomes much easier to understand why our code is not working. We don't need to create publication quality graphs and charts, we just need to generate quick, one-off visualizations to understand what our code is doing. What we want is the "data visualization" equivalent to print() statements. To help illustrate this point, I will walk through some of the hardest bugs I've had to track down while working on projects such as the AWS CLI and boto3, the AWS SDK for Python. For each bug, I'll show you how I was able to leverage data visualization techniques to troubleshoot and fix these bugs. Come learn how to debug more efficiently by leveraging data visualization.
Interactive televisionMachine codeWeb browserDatabaseControl flowServer (computing)EmailLetterpress printingStatement (computer science)Reverse engineeringArrow of timeLattice (order)Module (mathematics)Statement (computer science)Inheritance (object-oriented programming)DatabaseMultiplication signWeb 2.0Medical imagingDependent and independent variablesComputer programmingCodeEmailSlide rulePoint (geometry)Visualization (computer graphics)Universal product codeProgrammer (hardware)ResultantWeb browserSoftware bugDiagramComputer fileObject (grammar)Server (computing)Student's t-testComputer scienceObservational studyLoginMathematicsLetterpress printingReal numberModule (mathematics)Projective planeAreaArrow of timeReverse engineeringCASE <Informatik>SequenceDebuggerLink (knot theory)Variable (mathematics)Service (economics)Sequence diagramSoftware frameworkEndliche ModelltheorieSource codeTesselationForm (programming)Directory serviceLoop (music)Software development kitTracing (software)RootFunctional (mathematics)State of matterMessage passingLibrary (computing)VolumenvisualisierungWordSoftware developerString (computer science)Social classField (computer science)Connected spaceError messageLipschitz-StetigkeitDirection (geometry)Computational complexity theoryComputer wormFlagGradientEntire functionSet (mathematics)Cross-correlationAuthorizationRepository (publishing)PlanningUtility softwareRandom matrixMachine codeProduct (business)Integrated development environmentMereologyDataflowControl flowDiagram
Dependent and independent variablesSequence diagramMessage passingEmailServer (computing)WritingString (computer science)Proxy serverBlock (periodic table)Sample (statistics)Scripting languageClient (computing)StatisticsSource codeDiagramObject (grammar)Network socketInternet service providerState of matterComputer fileData bufferRead-only memoryRange (statistics)Point (geometry)Instance (computer science)Range (statistics)WindowSoftwareLine (geometry)Connected spaceBitAssociative propertyGraph (mathematics)Computer fileOrder (biology)Expected valueLetterpress printingState of matterMereologyDifferent (Kate Ryan album)MiniDiscSemiconductor memoryDiagramSystem callSemaphore lineMessage passingSequenceDevice driverObject (grammar)Slide ruleSequence diagramNetwork socketBuffer solutionVisualization (computer graphics)Source codeSoftware bug2 (number)Analytic continuationGreatest elementShape (magazine)PlotterMultiplication signWritingCASE <Informatik>Parallel portRadical (chemistry)Streaming mediaScripting languageData storage deviceSingle-precision floating-point formatVideoconferencingStatement (computer science)MultiplicationThread (computing)Remote procedure callCodeEntire functionRevision controlServer (computing)Client (computing)Zoom lensWiMAXVolumenvisualisierungDataflowEmailSocial classVideo game consoleMathematical analysisSheaf (mathematics)Video gameLogicMaxima and minimaRight angleDependent and independent variablesUniform resource locatorSoftware developerAlgorithmÜberlastkontrolleoutputBlock (periodic table)Computer animation
Menu (computing)Event horizonCore dumpChainSemaphore lineWindowNumbering schemeSequenceSequelMereologySimulationDiagramPersonal digital assistantBefehlsprozessorPattern languageFunction (mathematics)Thread (computing)String (computer science)CountingEmailQueue (abstract data type)BlogParsingLine (geometry)Message passingTask (computing)Medical imagingComputer-generated imageryFile formatLine (geometry)Module (mathematics)Graph coloringMereologyQueue (abstract data type)Point (geometry)RectangleMedical imagingEvent horizonMultiplication signType theoryThread (computing)CodeNumberParsingClique-widthTimestampStatement (computer science)WindowGroup actionComputer fileRight angleState of matterDiagramCASE <Informatik>Buffer solutionTerm (mathematics)ResultantLoginAlgorithmVisualization (computer graphics)Computer wormGraph (mathematics)Electric generatorPlotterState diagramZoom lensTask (computing)Order (biology)Unit testingLimit (category theory)Square numberData modelSequenceRotationFunctional (mathematics)Dot productLatent heatBefehlsprozessorThumbnailPrimitive (album)Source codeChainDifferent (Kate Ryan album)Endliche ModelltheorieRange (statistics)CircleLevel (video gaming)Shape (magazine)Semiconductor memorySlide ruleDampingQuicksortRevision controlPulse (signal processing)Row (database)Software testingHeegaard splittingMessage passingINTEGRALMultiplicationLinearizationLibrary (computing)BitPattern languageComputer cluster2 (number)TupleComputer animation
Machine codeStatement (computer science)Graph (mathematics)Message passingDiagramServer (computing)Object (grammar)Library (computing)Web applicationMessage passingUniversal product codeSoftware testingClient (computing)Electric generatorBlogQuicksortVector graphicsSequence diagramCodeShape (magazine)Time seriesPlotter1 (number)Visualization (computer graphics)Integrated development environmentArithmetic meanBitFigurate numberMultiplication signSoftware bugVector spaceOverhead (computing)Tracing (software)Level (video gaming)DataflowRepresentation (politics)Type theoryDifferent (Kate Ryan album)State of matterVirtual machineWeb 2.0Module (mathematics)MereologyTraffic reportingGraph (mathematics)Right angleZoom lensProduct (business)Event horizonMedical imagingSound effectRepository (publishing)Computer animation
Transcript: English(auto-generated)