~/talk

Generating fractals … with SQL queries!!!

Talkat !!Con West 2019 · on Monday, 2019-03-25· [databases]
links:none on file
slides:none on file

Claim: Postgres SQL alone generates real fractals — Sierpinski, Mandelbrot, Julia, Hilbert and dragon — as text art. It uses generate_series and cross join to build grids, bitwise AND and CASE to mark Sierpinski, recursive CTE to iterate escape-time formulas (a thousand iterations for Mandelbrot), and string_agg to join rows. A 13-line query produces Sierpinski and a 50-line SQL query builds Hilbert via L-systems with replace; the queries run and produce the fractal outputs.

AI-written summary · about

  1. 0:00Introduction to SQL
  2. 1:48Generating a Sierpinski Triangle
  3. 3:51Mandelbrot Set with Recursion
  4. 6:04Escape Time Fractals
  5. 6:53Generating L-System Fractals
  6. 10:49Final Examples and Conclusion
~/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.