~/lightning

Lightning Talk: Filling the Bucket: Reading Code, C++ Code Interviews & Exams

Lightningat CppCon 2023 · on Monday, 2023-10-02· [career-development]
slides:none on file

C++ exam-style code reads a recursive CanFill(big, vector<small>, idx) that returns pair<bool, fill-instructions> and assumes the small buckets are sorted decreasingly; a case shows the last bucket > target so it fails, and a call-count question yields four recursive calls. The implementation contains an off-by-one bug in the loop/count logic, and an AI (ChatGPT) is used to explain and answer the questions — it gives useful explanations but makes at least one wrong flip and misses a value-detail.

AI-written summary · about

~/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.