~/talk

Building Web-based Analysis & Simulation Platforms

Talkat PyData London 2017 · 2017-05-05..05-07· [react, python]
slides:none on file

Live code shows a working pipeline: a Numpy Monte Carlo integrator (used to approximate π, ~10 million samples ~10s) is wrapped as a Python script, exposed over a Flask JSON API, dispatched to a background worker via Celery + Redis job queue, and surfaced in a React single-page app that polls task status; optional Bokeh visualization renders points. Source code and exact build commands are provided so the stack can be reproduced end to end.

AI-written summary · about

  1. 0:00Welcome!
  2. 2:29Getting the source code from Dropbox
  3. 12:00Algorithm for calculating Pi Digits
  4. 17:40Generalising the problem and serving from HTTP
  5. 21:30Packaging to the backend code
  6. 30:38Testing first version
  7. 32:40Exposing the algorithm to a flask server
  8. 38:48Testing the server with httpie
  9. 42:14Concurrent requests
  10. 44:02How celery and Redis solve that problem
  11. 46:00Installing the last required packages
  12. 49:15Running Redis
  13. 49:35Writing the worker code
  14. 53:35Running the celery worker
  15. 57:09Exposing tasks management in the backend code
  16. 1:00:30Pause, letting people catchup
  17. 1:08:40About doing talks at PyData
  18. 1:10:40Opinions on JavaScript and React build chain
  19. 1:13:45Explaining what is in the Dropbox frontend folder and tooling choice
  20. 1:21:30Writing React code
  21. 1:26:42Running the frontend, implementing the main component
  22. 1:39:33Finishing the HTML form
  23. 1:40:25Wiring the frontend to the backend
  24. 1:47:43Results from the frontend application
~/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.