~/talk

Developing internal tools for multi-lingual teams

Talkat rstudio::conf(2022) · 2022-07-25..07-28· [python]
slides:none on file

Internal packages at Bumble use concrete patterns to avoid doubling work: implement identical generics using R S3 generics and Python functools.singledispatch so APIs match; unify failures by creating error classes with rlang::abort in R and custom exceptions in Python and chain with parent/raise from; build cross‑language wrappers via reticulate (import, source_python, delay_load) and rpy2 (STAP, object conversion), accepting extra environment and conversion quirks but yielding consistent behavior across R and Python.

AI-written summary · about

  1. 0:00Start
  2. 2:13What strategies can we use to make developing tools simultaneously with Python and R easier?
  3. 2:33Building identical generic functions
  4. 2:48summary()
  5. 5:42Identical error handling with classes
  6. 8:49What about error chaining?
  7. 9:59Creating your own internal wrappers
  8. 11:04Importing Python modules into R
  9. 12:57Importing R libraries into Python
  10. 13:48Accessing functions from the R environment
  11. 14:33Defining a temporary package structure
  12. 15:17Two environments
~/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.