~/talk

A functional Scala stack for 2020

Talkat f(by) 2020 · on Saturday, 2020-01-25· [scala]
slides:none on file

A small backend is built: a POST /like API that inserts a language and a like into Postgres in one transaction, using doobie ConnectionIO for composable SQL descriptions and an upsert with conflict on languages_name_key to avoid duplicates. The endpoint is declared as a value with tapir -> http4s routes, interpreted to run via a Transactor and monix/IO, and the same endpoint generates Swagger/OpenAPI UI that is served; the live demo returns 200 and shows DB rows added as expected.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Who am I
  3. 3:38Writing sequel by hand
  4. 6:42Inserting a given language
  5. 9:10Defining the endpoint
  6. 11:38HTTP for a server
  7. 17:38HDFS
  8. 19:38Handling errors
  9. 21:18Swagger documentation
  10. 23:08Swagger out
  11. 24:48Testing
  12. 26:28Summary
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.