~/talk

Magnolify all the Things

Talkat Typelevel Summit 2020 · on Thursday, 2020-03-12· [data-engineering]
links:none on file
slides:none on file

Magnolify is a Magnolia-based library that auto-derives type class instances used in large Scala data pipelines: Magnolia-derived Arbitrary for ScalaCheck (tested with Discipline), Cats instances like Eq and Semigroup, and converters to Avro/BigQuery/Datastore/Protobuf. Concrete fixes include shrinking the generator size per recursion to avoid stack overflows in recursive ADTs, injecting field index to disambiguate booleans, and replacing a Magnolia-derived Seed with one built from a Long to stop constant-seed failures. Avro schemas are stored as schema as string for Java 1.8 compatibility.

AI-written summary · about

  1. 0:00Start
  2. 1:14Agenda
  3. 1:47Type classes
  4. 2:40Type dass derivation
  5. 3:54Magnolify Show derivation
  6. 4:50Combine - parameters of a case class
  7. 6:09Dispatch - subtypes of a sealed trait
  8. 9:30Magnolify Arbitrary derivation
  9. 10:22Arbitrary properties
  10. 11:35ERROR
  11. 12:01Generation size
  12. 12:39FAILED
  13. 13:37Recursive fallback
  14. 14:05Injecting fallback
  15. 14:36Cats Eq
  16. 15:28Cats Semigroup
  17. 16:36Testing with Discipline
  18. 17:28Arbitrary function
  19. 20:04Cogen properties
  20. 22:15One more bug
  21. 23:17Pseudo ramdom seed
  22. 24:13Fixing Seed
  23. 32:53Other Converters
  24. 33:55Magnolia vs shapeless
  25. 35:20Benchmark
  26. 36:19Other Fun Bits
  27. 38:19Related work
~/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.