Programming Throwdown

177: Vector Databases


Listen Later

Intro topic:  Buying a Car

News/Links:

  • Cognitive Load is what Matters
    • https://github.com/zakirullin/cognitive-load
  • Diffusion models are Real-Time Game Engines
    • https://gamengen.github.io/
  • Your Company Needs Junior Devs
    • https://softwaredoug.com/blog/2024/09/07/your-team-needs-juniors
  • Seamless Streaming / Fish Speech / LLaMA Omni
    • Seamless: https://huggingface.co/facebook/seamless-streaming
    • Fish: https://github.com/fishaudio/fish-speech 
    • LLaMA Omni: https://github.com/ictnlp/LLaMA-Omni 

Book of the Show

  • Patrick: 
    • Thought Emporium Youtube
      • https://youtu.be/8X1_HEJk2Hw?si=T8EaHul-QMahyUvQ
  • Jason: 
    • Novel Minds
      • https://www.novelminds.ai/


Patreon Plug https://www.patreon.com/programmingthrowdown?ty=h


Tool of the Show

  • Patrick: 
    • Escape Simulator
      • https://pinestudio.com/games/escape-simulator/
  • Jason: 
    • Cursor IDE
      • https://www.cursor.com/

Topic: Vector Databases (~54 min)

  • How computers represent data traditionally
    • ASCII values
    • RGB values
  • How traditional compression works
    • Huffman encoding (tree structure)
    • Lossy example: Fourier Transform & store coefficients
  • How embeddings are computed
    • Pairwise (contrastive) methods
    • Forward models (self-supervised)
  • Similarity metrics
  • Approximate Nearest Neighbors (ANN)
  • Sub-Linear ANN
    • Clustering
    • Space Partitioning (e.g. K-D Trees)
  • What a vector database does
    • Perform nearest-neighbors with many different similarity metrics
    • Store the vectors and the data structures to support sub-linear ANN
    • Handle updates, deletes, rebalancing/reclustering, backups/restores
  • Examples
    • pgvector: a vector-database plugin for postgres
    • Weaviate, Pinecone 
    • Milvus

★ Support this podcast on Patreon ★
...more
View all episodesView all episodes
Download on the App Store

Programming ThrowdownBy Patrick Wheeler and Jason Gauci

  • 4.5
  • 4.5
  • 4.5
  • 4.5
  • 4.5

4.5

550 ratings


More shows like Programming Throwdown

View all
Hanselminutes with Scott Hanselman by Scott Hanselman

Hanselminutes with Scott Hanselman

377 Listeners

Software Engineering Radio - the podcast for professional software developers by se-radio@computer.org

Software Engineering Radio - the podcast for professional software developers

272 Listeners

.NET Rocks! by Carl Franklin and Richard Campbell

.NET Rocks!

244 Listeners

The Changelog: Software Development, Open Source by Changelog Media

The Changelog: Software Development, Open Source

283 Listeners

Talk Python To Me by Michael Kennedy

Talk Python To Me

593 Listeners

Software Engineering Daily by Software Engineering Daily

Software Engineering Daily

624 Listeners

Soft Skills Engineering by Jamison Dance and Dave Smith

Soft Skills Engineering

269 Listeners

Super Data Science: ML & AI Podcast with Jon Krohn by Jon Krohn

Super Data Science: ML & AI Podcast with Jon Krohn

298 Listeners

Python Bytes by Michael Kennedy and Brian Okken

Python Bytes

213 Listeners

Data Engineering Podcast by Tobias Macey

Data Engineering Podcast

142 Listeners

Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

Syntax - Tasty Web Development Treats

982 Listeners

CoRecursive: Coding Stories by Adam Gordon Bell - Software Developer

CoRecursive: Coding Stories

189 Listeners

Practical AI by Practical AI LLC

Practical AI

189 Listeners

The Stack Overflow Podcast by The Stack Overflow Podcast

The Stack Overflow Podcast

63 Listeners

The Real Python Podcast by Real Python

The Real Python Podcast

140 Listeners