Shai Berger

2 videos · 2 events · 2020–2024 · 54 min of video

Talks

0:29:41

Careful what you search for!

DjangoCon Europe 2024 · July 10, 2024

Regular expressions are theoretically safe to execute in linear time when they describe regular languages, because a finite-state machine can process each input character with bounded work. In practice, most regex engines use backtracking and support features such as assertions, backreferences, and conditionals that complicate…

0:25:01

The Design and Development of Choices in Django 3.0

DjangoCon Europe 2020 · October 15, 2020

Django’s choices feature traditionally required keeping database values, display labels, and optional constants in separate pieces of code. Django 3.0 introduced choices classes, an enum-like API that combines these elements, supports translated labels, and provides integer and text variants. Shai Berger traces the feature from…

Spoken at