~/talk

Breaking Away from the Empire: Avoiding the Evil Clutches of If-Then Statements

Talkat PyCon US 2023 · 2023-04-19..04-27· [databases]
name:Jason Koo
links:none on file
slides:none on file

A concrete claim: replace nested if‑then routing code with a graph model and query it. The demo loads 2000+ planets via CSV into neo4j + Cypher, uses a shortest path query (with avoid‑node filters), returns JSON, and feeds a Streamlit + matplotlib navigator that finds routes (Tatooine appears only when certain systems are blocked), so the built app actually works and simplifies many‑to‑many logic and ranking compared to brittle SQL and nested conditionals.

AI-written summary · about

  1. 0:00Star Wars navigation challenge
  2. 1:27Star Wars galaxy data
  3. 8:46Many-to-many with graphs
  4. 13:41Graphs simplify complex data
  5. 20:02From if-then to graph paths
  6. 24:23Shortest paths with Cypher
  7. 31:33When to use graph databases
  8. 35:23Importing data into Neo4j
  9. 40:00Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.